r3ui-lib 1.2.30 → 1.2.32

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/dist/login.umd.js CHANGED
@@ -1,10 +1,10 @@
1
- (function(v,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(v=typeof globalThis<"u"?globalThis:v||self,o(v.R3uiLibLogin={},v.Vue))})(this,(function(v,o){"use strict";const be=(e,t)=>{const r=e.__vccOpts||e;for(const[s,n]of t)r[s]=n;return r},Wr={class:"custom-dropdown"},Er={style:{"border-bottom":"2px solid #000"}},Rr={class:"dropdown-list-wrapper"},Ar={key:0,class:"custom-dropdown-menu"},Lr=["onMousedown"],Fr=be({__name:"DefaultDropDown",props:{links:{type:Array,required:!0},title:{type:String,default:"Actions"},type:{type:String,default:"actions",validator:function(e){return["actions","profile"].includes(e)}}},setup(e){const t=e,r=o.ref(!1),s=d=>{d&&(d.preventDefault(),d.stopPropagation()),r.value=!r.value},n=d=>{if(typeof d!="function"){s();return}d(),s()},a=d=>{d&&(d.preventDefault(),d.stopPropagation()),setTimeout(()=>{r.value=!1},100)},i=o.computed(()=>t.type==="profile");return(d,f)=>(o.openBlock(),o.createElementBlock("div",Wr,[i.value?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2",onClick:s,onBlur:a},[f[0]||(f[0]=o.createElementVNode("div",{class:"circl"},null,-1)),o.createTextVNode(" "+o.toDisplayString(e.title),1)],32)):(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"link-dark",type:"button",onClick:s,onBlur:a},[o.createElementVNode("span",Er,o.toDisplayString(e.title),1),f[1]||(f[1]=o.createElementVNode("i",{class:"bi bi-chevron-up dropdown-edit",style:{"font-size":"12px","padding-inline-start":"5px"}},null,-1))],32)),o.createElementVNode("div",Rr,[r.value?(o.openBlock(),o.createElementBlock("ul",Ar,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.links,(m,O)=>(o.openBlock(),o.createElementBlock("li",{key:O},[m.hidden?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["dropdown-item",{disabled:m?.disabled}]),style:{cursor:"pointer"},onMousedown:o.withModifiers(F=>n(m?.action),["prevent"])},o.toDisplayString(m?.title),43,Lr))]))),128))])):o.createCommentVNode("",!0)])]))}},[["__scopeId","data-v-81ded822"]]),Ir="data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAAA7CAYAAADYdw5tAAAQ9UlEQVR4nO1dzW7bSLb+DinJns69uOzF4CodIKMM0EkHdxFl0YAjqhFmN7s4TxD5CaJ+AstPEPsJojxBO08QGonkAFlYvRh42hlMGDQa7eAuWsHt221bYp1ZsKSQxSJFWf6Lmh+ghSiqeETVV3XOd04VCTk+KTiOYw0Gg3VmZsMwnr58+dI9b5v+aKDzNiDH8VCr1VaJqMXMHhG1Op3O0/O26Y+CnDSfMGq1WoOIHgOwmNkTQtx79eqVd952zTty0nzicBynMhgMngOoyEPrxWJxzXXd/nnaNc/ISTMHkMT5DkAVAJjZA/Cg2+32ztey+YRx3gbkmB2u63rFYvEegB4AEFGFiHbq9XrrnE2bS+QzzRxBzjg7AKzQ4fVOp/Ptedk0j8hJM2f45ptvloUQ34WPMfNm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e%3c/defs%3e%3c/svg%3e",Vr=["src","alt"],Qe=be(o.defineComponent({__name:"Logo",props:{src:{default:Ir},alt:{default:"Logo"},width:{default:154},height:{default:50},className:{default:"logo"},style:{default:()=>({})},brandText:{default:void 0},textSize:{default:12},textColor:{default:"#000"},textWeight:{default:"normal"},showText:{type:Boolean,default:!0}},setup(e){const t=e,r=o.computed(()=>t.src?.startsWith("~/")?t.src.replace("~/","/"):t.src),s=o.computed(()=>{const d="r3ui-logo";return t.className?`${d} ${t.className}`:d}),n=o.computed(()=>({width:typeof t.width=="number"?`${t.width}px`:t.width,height:typeof t.height=="number"?`${t.height}px`:t.height,...t.style})),a=o.computed(()=>"r3ui-logo-container"),i=o.computed(()=>({fontSize:typeof t.textSize=="number"?`${t.textSize}px`:t.textSize,color:t.textColor,fontWeight:t.textWeight}));return(d,f)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["r3ui-logo-container",a.value])},[o.createElementVNode("img",{src:r.value,alt:d.alt,class:o.normalizeClass(s.value),style:o.normalizeStyle(n.value)},null,14,Vr),d.brandText&&d.brandText.trim()&&d.showText?(o.openBlock(),o.createElementBlock("span",{key:0,class:"r3ui-logo-text",style:o.normalizeStyle(i.value)},o.toDisplayString(d.brandText),5)):o.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-57bc5457"]]),Ur={class:"navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header"},Hr={class:"row align-items-center"},Gr={class:"col-auto pe-0"},jr={class:"col-auto ps-0 text-wrap mx-3 r3ui-header-label"},zr={class:"row"},Br={class:"col-auto d-flex align-items-center"},Zr={key:1,class:"text-muted"},qr={class:"col-auto"},vt=be(o.defineComponent({__name:"Header",props:{isAuthenticated:{type:Boolean,default:!1},user:{type:Object,default:null},brandText:{type:String,required:!0},loginText:{type:String,default:"Authorization"},rawDropdownLinks:{type:Array,default:()=>[]}},emits:["navigate","logout"],setup(e,{emit:t}){const r=e,s=t,n=o.computed(()=>r.rawDropdownLinks.map(a=>a.name==="logout"?{...a,action:()=>s("logout")}:a.name.includes("http")?{...a,action:()=>s("navigate",a.name,{external:!0})}:{...a,action:()=>s("navigate",`/${a.name}`)}));return(a,i)=>(o.openBlock(),o.createElementBlock("div",Ur,[o.createElementVNode("div",{class:o.normalizeClass([r.isAuthenticated?"container-fluid":"container"])},[o.createElementVNode("a",{href:"/",onClick:i[0]||(i[0]=o.withModifiers(()=>s("navigate","/"),["prevent"])),class:"text-decoration-none r3ui-header-link"},[o.createElementVNode("div",Hr,[o.createElementVNode("div",Gr,[o.renderSlot(a.$slots,"logo",{},()=>[o.createVNode(Qe,{class:"r3ui-header-logo",brandText:r.brandText},null,8,["brandText"])],!0)]),o.createElementVNode("div",jr,o.toDisplayString(r.brandText),1)])]),o.createElementVNode("div",zr,[o.createElementVNode("div",Br,[r.isAuthenticated?(o.openBlock(),o.createBlock(Fr,{key:0,type:"profile",title:r.user?.name||"",links:n.value},null,8,["title","links"])):o.createCommentVNode("",!0),r.isAuthenticated?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Zr,o.toDisplayString(r.loginText),1))]),o.createElementVNode("div",qr,[o.renderSlot(a.$slots,"language-selector",{},void 0,!0)])])],2)]))}}),[["__scopeId","data-v-a63a7e7f"]]);//! moment.js
1
+ (function(N,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(N=typeof globalThis<"u"?globalThis:N||self,o(N.R3uiLibLogin={},N.Vue))})(this,(function(N,o){"use strict";const be=(e,t)=>{const r=e.__vccOpts||e;for(const[s,n]of t)r[s]=n;return r},Fr={class:"custom-dropdown"},Vr={style:{"border-bottom":"2px solid #000"}},Ur={class:"dropdown-list-wrapper"},Hr={key:0,class:"custom-dropdown-menu"},Gr=["disabled","onClick","onKeydown"],jr=be({__name:"DefaultDropDown",props:{links:{type:Array,required:!0},title:{type:String,default:"Actions"},type:{type:String,default:"actions",validator:function(e){return["actions","profile"].includes(e)}}},setup(e){const t=e,r=o.ref(!1),s=u=>{u&&(u.preventDefault(),u.stopPropagation()),r.value=!r.value},n=u=>{if(typeof u!="function"){s();return}u(),s()},a=u=>{u&&(u.preventDefault(),u.stopPropagation()),setTimeout(()=>{r.value=!1},100)},i=o.computed(()=>t.type==="profile");return(u,h)=>(o.openBlock(),o.createElementBlock("div",Fr,[i.value?(o.openBlock(),o.createElementBlock("a",{key:0,href:"#",class:"cursor-pointer nav-link dropdown-toggle d-flex align-items-center border rounded p-2",onClick:s,onBlur:a},[h[1]||(h[1]=o.createElementVNode("div",{class:"circl"},null,-1)),o.createTextVNode(" "+o.toDisplayString(e.title),1)],32)):(o.openBlock(),o.createElementBlock("a",{key:1,href:"#",class:"link-dark",type:"button",onClick:s,onBlur:a},[o.createElementVNode("span",Vr,o.toDisplayString(e.title),1),h[2]||(h[2]=o.createElementVNode("i",{class:"bi bi-chevron-up dropdown-edit",style:{"font-size":"12px","padding-inline-start":"5px"}},null,-1))],32)),o.createElementVNode("div",Ur,[r.value?(o.openBlock(),o.createElementBlock("ul",Hr,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.links,(m,O)=>(o.openBlock(),o.createElementBlock("li",{key:O},[m.hidden?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:o.normalizeClass(["dropdown-item",{disabled:m?.disabled}]),disabled:!!m?.disabled,onMousedown:h[0]||(h[0]=o.withModifiers(()=>{},["prevent"])),onClick:x=>n(m?.action),onKeydown:[o.withKeys(o.withModifiers(x=>n(m?.action),["prevent"]),["enter"]),o.withKeys(o.withModifiers(x=>n(m?.action),["prevent"]),["space"])]},o.toDisplayString(m?.title),43,Gr))]))),128))])):o.createCommentVNode("",!0)])]))}},[["__scopeId","data-v-93106856"]]),zr="data:image/svg+xml,%3csvg%20width='222'%20height='72'%20viewBox='0%200%20222%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='222'%20height='72'%20fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern%20id='pattern0'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_3427_23538'%20transform='matrix(0.00490002%200%200%200.0151084%200%20-0.00125339)'/%3e%3c/pattern%3e%3cimage%20id='image0_3427_23538'%20width='205'%20height='59'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAM0AAAA7CAYAAADYdw5tAAAQ9UlEQVR4nO1dzW7bSLb+DinJns69uOzF4CodIKMM0EkHdxFl0YAjqhFmN7s4TxD5CaJ+AstPEPsJojxBO08QGonkAFlYvRh42hlMGDQa7eAuWsHt221bYp1ZsKSQxSJFWf6Lmh+ghSiqeETVV3XOd04VCTk+KTiOYw0Gg3VmZsMwnr58+dI9b5v+aKDzNiDH8VCr1VaJqMXMHhG1Op3O0/O26Y+CnDSfMGq1WoOIHgOwmNkTQtx79eqVd952zTty0nzicBynMhgMngOoyEPrxWJxzXXd/nnaNc/ISTMHkMT5DkAVAJjZA/Cg2+32ztey+YRx3gbkmB2u63rFYvEegB4AEFGFiHbq9XrrnE2bS+QzzRxBzjg7AKzQ4fVOp/Ptedk0j8hJM2f45ptvloUQ34WPMfNmqVRayeOck0Huns0ZXrx4sQkgQg4iWpYxT44TQE6a+cSm5phj2/bjM7dkDpGTZj5RSTjerNfrzplaMofISTNncBynAiCRGMy8eobmzCVy0swRQonO1NO+/vrr6pkYNKfISTMnsG27KeXmJNdsjFKpdOsMTJpbFM7bgBzHh+M41uHh4UPDMJrIQJYRhBB5fdoMyEnziWFpaalCRPcNw1geDAZVwzCsyd+KYH17e3vrVIz7gyBPbl5gOI5jDYfDqu/7t4ioSkQOpphRFPSZeb3b7a6dpI1/ROSkuSCo1WpVZr4ryVFFQI5pZxEVfQA9IcTmwsLC07wi4GSQk+YcUa/XHWa+D6CB2QkCAB4z95jZBdDL3bDTQU6ac4AkyypS8ikZMCYIEXmlUmkrn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eq4kiguMk5AzuT9CiNS1Md1ud81xnKdSCBjtQKNivAl4hkTsscHMMemdmVdt277r+/6KYRiWEOJYal0i/HhuZJqdZejmvsc/KPVdh5yYER4v0Notr8Gk+yA40iUL7eQilzwT9+jLn9NjuiE/gxEKBTimjCbZ4fKbL5YhRHjxWep36eZ+G0Cb33xxH+w7QSxFwQxpUA8sPDD18NvvE3fOmbt9z2q12nikLJVKH85qf2Pbtp8juTbNJaI1IcQT0zS/nbRQLsfFxtyR5qwh1cdHzPy9ugeBRB9Ar1gsPhgMBr8AABHdm2b/tRwXC/mT0GaEdA0rcr1/W850nzPzfxGRF3YHbdsGgNETlnPSfKLISTM7lsNFo5Ikk+KmSZt55LjAyJ/uPAPknmkWEVmTSnnCyiIAMMdL7nN8GshJczJILCUaQVXXWN1SKMcng5w0M0DKx6Pqg2bSwjf5bBq1bH7mkqIc54OcNLNjlOyziOh5eG80x3EsmeCMlbBPuyQhx8VBLjnPCCk57yBeNqMWlY4hF6ZN/SSCHBcDmg1qckwDz/P6V69ePQTwN+WjpCJRr1QqPfA87+D0rctxGshJcwL48ccfX129evUDgCUAiymnuqVS6V7+FOZPG7l7doIYVQfgYx1cX75cIcRm/kjA+cC/AdgTzC0pucD7AAAAAElFTkSuQmCC'/%3e%3c/defs%3e%3c/svg%3e",Br=["src","alt"],Qe=be(o.defineComponent({__name:"Logo",props:{src:{default:zr},alt:{default:"Logo"},width:{default:154},height:{default:50},className:{default:"logo"},style:{default:()=>({})},brandText:{default:void 0},textSize:{default:12},textColor:{default:"#000"},textWeight:{default:"normal"},showText:{type:Boolean,default:!0}},setup(e){const t=e,r=o.computed(()=>t.src?.startsWith("~/")?t.src.replace("~/","/"):t.src),s=o.computed(()=>{const u="r3ui-logo";return t.className?`${u} ${t.className}`:u}),n=o.computed(()=>({width:typeof t.width=="number"?`${t.width}px`:t.width,height:typeof t.height=="number"?`${t.height}px`:t.height,...t.style})),a=o.computed(()=>"r3ui-logo-container"),i=o.computed(()=>({fontSize:typeof t.textSize=="number"?`${t.textSize}px`:t.textSize,color:t.textColor,fontWeight:t.textWeight}));return(u,h)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["r3ui-logo-container",a.value])},[o.createElementVNode("img",{src:r.value,alt:u.alt,class:o.normalizeClass(s.value),style:o.normalizeStyle(n.value)},null,14,Br),u.brandText&&u.brandText.trim()&&u.showText?(o.openBlock(),o.createElementBlock("span",{key:0,class:"r3ui-logo-text",style:o.normalizeStyle(i.value)},o.toDisplayString(u.brandText),5)):o.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-57bc5457"]]),Zr={class:"navbar navbar-expand-md navbar-light bg-white border-bottom hide-to-print r3ui-header"},qr={class:"row align-items-center"},Qr={class:"col-auto pe-0"},Jr={class:"col-auto ps-0 text-wrap mx-3 r3ui-header-label"},Kr={class:"row"},$r={class:"col-auto d-flex align-items-center"},Xr={key:1,class:"text-muted"},es={class:"col-auto"},Wt=be(o.defineComponent({__name:"Header",props:{isAuthenticated:{type:Boolean,default:!1},user:{type:Object,default:null},brandText:{type:String,required:!0},loginText:{type:String,default:"Authorization"},rawDropdownLinks:{type:Array,default:()=>[]}},emits:["navigate","logout"],setup(e,{emit:t}){const r=e,s=t,n=o.computed(()=>r.rawDropdownLinks.map(a=>a.name==="logout"?{...a,action:()=>s("logout")}:a.name.includes("http")?{...a,action:()=>s("navigate",a.name,{external:!0})}:{...a,action:()=>s("navigate",`/${a.name}`)}));return(a,i)=>(o.openBlock(),o.createElementBlock("div",Zr,[o.createElementVNode("div",{class:o.normalizeClass([r.isAuthenticated?"container-fluid":"container"])},[o.createElementVNode("a",{href:"/",onClick:i[0]||(i[0]=o.withModifiers(()=>s("navigate","/"),["prevent"])),class:"text-decoration-none r3ui-header-link"},[o.createElementVNode("div",qr,[o.createElementVNode("div",Qr,[o.renderSlot(a.$slots,"logo",{},()=>[o.createVNode(Qe,{class:"r3ui-header-logo",brandText:r.brandText},null,8,["brandText"])],!0)]),o.createElementVNode("div",Jr,o.toDisplayString(r.brandText),1)])]),o.createElementVNode("div",Kr,[o.createElementVNode("div",$r,[r.isAuthenticated?(o.openBlock(),o.createBlock(jr,{key:0,type:"profile",title:r.user?.name||"",links:n.value},null,8,["title","links"])):o.createCommentVNode("",!0),r.isAuthenticated?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",Xr,o.toDisplayString(r.loginText),1))]),o.createElementVNode("div",es,[o.renderSlot(a.$slots,"language-selector",{},void 0,!0)])])],2)]))}}),[["__scopeId","data-v-a63a7e7f"]]);//! 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 Nt;function u(){return Nt.apply(null,arguments)}function Qr(e){Nt=e}function E(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function re(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Je(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(w(e,t))return!1;return!0}function x(e){return e===void 0}function j(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ye(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Pt(e,t){var r=[],s,n=e.length;for(s=0;s<n;++s)r.push(t(e[s],s));return r}function $(e,t){for(var r in t)w(t,r)&&(e[r]=t[r]);return w(t,"toString")&&(e.toString=t.toString),w(t,"valueOf")&&(e.valueOf=t.valueOf),e}function V(e,t,r,s){return nr(e,t,r,s,!0).utc()}function Jr(){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 y(e){return e._pf==null&&(e._pf=Jr()),e._pf}var Ke;Array.prototype.some?Ke=Array.prototype.some:Ke=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Xe(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=y(e),r=Ke.call(t.parsedDateParts,function(n){return n!=null}),s=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&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function Te(e){var t=V(NaN);return e!=null?$(y(t),e):y(t).userInvalidated=!0,t}var Ct=u.momentProperties=[],$e=!1;function et(e,t){var r,s,n,a=Ct.length;if(x(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),x(t._i)||(e._i=t._i),x(t._f)||(e._f=t._f),x(t._l)||(e._l=t._l),x(t._strict)||(e._strict=t._strict),x(t._tzm)||(e._tzm=t._tzm),x(t._isUTC)||(e._isUTC=t._isUTC),x(t._offset)||(e._offset=t._offset),x(t._pf)||(e._pf=y(t)),x(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)s=Ct[r],n=t[s],x(n)||(e[s]=n);return e}function _e(e){et(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),$e===!1&&($e=!0,u.updateOffset(this),$e=!1)}function R(e){return e instanceof _e||e!=null&&e._isAMomentObject!=null}function Wt(e){u.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function P(e,t){var r=!0;return $(function(){if(u.deprecationHandler!=null&&u.deprecationHandler(null,e),r){var s=[],n,a,i,d=arguments.length;for(a=0;a<d;a++){if(n="",typeof arguments[a]=="object"){n+=`
7
- [`+a+"] ";for(i in arguments[0])w(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];s.push(n)}Wt(e+`
6
+ var At;function d(){return At.apply(null,arguments)}function ts(e){At=e}function E(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function re(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Je(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(w(e,t))return!1;return!0}function v(e){return e===void 0}function j(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ye(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Et(e,t){var r=[],s,n=e.length;for(s=0;s<n;++s)r.push(t(e[s],s));return r}function X(e,t){for(var r in t)w(t,r)&&(e[r]=t[r]);return w(t,"toString")&&(e.toString=t.toString),w(t,"valueOf")&&(e.valueOf=t.valueOf),e}function V(e,t,r,s){return lr(e,t,r,s,!0).utc()}function rs(){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 y(e){return e._pf==null&&(e._pf=rs()),e._pf}var Ke;Array.prototype.some?Ke=Array.prototype.some:Ke=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function $e(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=y(e),r=Ke.call(t.parsedDateParts,function(n){return n!=null}),s=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&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function Te(e){var t=V(NaN);return e!=null?X(y(t),e):y(t).userInvalidated=!0,t}var Rt=d.momentProperties=[],Xe=!1;function et(e,t){var r,s,n,a=Rt.length;if(v(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),v(t._i)||(e._i=t._i),v(t._f)||(e._f=t._f),v(t._l)||(e._l=t._l),v(t._strict)||(e._strict=t._strict),v(t._tzm)||(e._tzm=t._tzm),v(t._isUTC)||(e._isUTC=t._isUTC),v(t._offset)||(e._offset=t._offset),v(t._pf)||(e._pf=y(t)),v(t._locale)||(e._locale=t._locale),a>0)for(r=0;r<a;r++)s=Rt[r],n=t[s],v(n)||(e[s]=n);return e}function _e(e){et(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Xe===!1&&(Xe=!0,d.updateOffset(this),Xe=!1)}function R(e){return e instanceof _e||e!=null&&e._isAMomentObject!=null}function Lt(e){d.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function P(e,t){var r=!0;return X(function(){if(d.deprecationHandler!=null&&d.deprecationHandler(null,e),r){var s=[],n,a,i,u=arguments.length;for(a=0;a<u;a++){if(n="",typeof arguments[a]=="object"){n+=`
7
+ [`+a+"] ";for(i in arguments[0])w(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];s.push(n)}Lt(e+`
8
8
  Arguments: `+Array.prototype.slice.call(s).join("")+`
9
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Et={};function Rt(e,t){u.deprecationHandler!=null&&u.deprecationHandler(e,t),Et[e]||(Wt(t),Et[e]=!0)}u.suppressDeprecationWarnings=!1,u.deprecationHandler=null;function U(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Kr(e){var t,r;for(r in e)w(e,r)&&(t=e[r],U(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 tt(e,t){var r=$({},e),s;for(s in t)w(t,s)&&(re(e[s])&&re(t[s])?(r[s]={},$(r[s],e[s]),$(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)w(e,s)&&!w(t,s)&&re(e[s])&&(r[s]=$({},r[s]));return r}function rt(e){e!=null&&this.set(e)}var st;Object.keys?st=Object.keys:st=function(e){var t,r=[];for(t in e)w(e,t)&&r.push(t);return r};var Xr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function $r(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return U(s)?s.call(t,r):s}function H(e,t,r){var s=""+Math.abs(e),n=t-s.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+s}var nt=/(\[[^\[]*\])|(\\)?([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,xe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,at={},ie={};function h(e,t,r,s){var n=s;typeof s=="string"&&(n=function(){return this[s]()}),e&&(ie[e]=n),t&&(ie[t[0]]=function(){return H(n.apply(this,arguments),t[1],t[2])}),r&&(ie[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function es(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ts(e){var t=e.match(nt),r,s;for(r=0,s=t.length;r<s;r++)ie[t[r]]?t[r]=ie[t[r]]:t[r]=es(t[r]);return function(n){var a="",i;for(i=0;i<s;i++)a+=U(t[i])?t[i].call(n,e):t[i];return a}}function ve(e,t){return e.isValid()?(t=At(t,e.localeData()),at[t]=at[t]||ts(t),at[t](e)):e.localeData().invalidDate()}function At(e,t){var r=5;function s(n){return t.longDateFormat(n)||n}for(xe.lastIndex=0;r>=0&&xe.test(e);)e=e.replace(xe,s),xe.lastIndex=0,r-=1;return e}var rs={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 ss(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(nt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var ns="Invalid date";function as(){return this._invalidDate}var is="%d",os=/\d{1,2}/;function ls(e){return this._ordinal.replace("%d",e)}var ds={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 us(e,t,r,s){var n=this._relativeTime[r];return U(n)?n(e,t,r,s):n.replace(/%d/i,e)}function cs(e,t){var r=this._relativeTime[e>0?"future":"past"];return U(r)?r(t):r.replace(/%s/i,t)}var Lt={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 C(e){return typeof e=="string"?Lt[e]||Lt[e.toLowerCase()]:void 0}function it(e){var t={},r,s;for(s in e)w(e,s)&&(r=C(s),r&&(t[r]=e[s]));return t}var hs={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 fs(e){var t=[],r;for(r in e)w(e,r)&&t.push({unit:r,priority:hs[r]});return t.sort(function(s,n){return s.priority-n.priority}),t}var Ft=/\d/,N=/\d\d/,It=/\d{3}/,ot=/\d{4}/,Ne=/[+-]?\d{6}/,S=/\d\d?/,Vt=/\d\d\d\d?/,Ut=/\d\d\d\d\d\d?/,Pe=/\d{1,3}/,lt=/\d{1,4}/,Ce=/[+-]?\d{1,6}/,oe=/\d+/,We=/[+-]?\d+/,ms=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,ys=/[+-]?\d+(\.\d{1,3})?/,ge=/[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,le=/^[1-9]\d?/,dt=/^([1-9]\d|\d)/,Re;Re={};function c(e,t,r){Re[e]=U(t)?t:function(s,n){return s&&r?r:t}}function _s(e,t){return w(Re,e)?Re[e](t._strict,t._locale):new RegExp(gs(e))}function gs(e){return z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,n,a){return r||s||n||a}))}function z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function W(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=W(t)),r}var ut={};function k(e,t){var r,s=t,n;for(typeof e=="string"&&(e=[e]),j(t)&&(s=function(a,i){i[t]=_(a)}),n=e.length,r=0;r<n;r++)ut[e[r]]=s}function we(e,t){k(e,function(r,s,n,a){n._w=n._w||{},t(r,n._w,n,a)})}function ws(e,t,r){t!=null&&w(ut,e)&&ut[e](t,r._a,r,e)}function Ae(e){return e%4===0&&e%100!==0||e%400===0}var T=0,B=1,G=2,b=3,A=4,Z=5,se=6,ps=7,ks=8;h("Y",0,0,function(){var e=this.year();return e<=9999?H(e,4):"+"+e}),h(0,["YY",2],0,function(){return this.year()%100}),h(0,["YYYY",4],0,"year"),h(0,["YYYYY",5],0,"year"),h(0,["YYYYYY",6,!0],0,"year"),c("Y",We),c("YY",S,N),c("YYYY",lt,ot),c("YYYYY",Ce,Ne),c("YYYYYY",Ce,Ne),k(["YYYYY","YYYYYY"],T),k("YYYY",function(e,t){t[T]=e.length===2?u.parseTwoDigitYear(e):_(e)}),k("YY",function(e,t){t[T]=u.parseTwoDigitYear(e)}),k("Y",function(e,t){t[T]=parseInt(e,10)});function pe(e){return Ae(e)?366:365}u.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var Ht=de("FullYear",!0);function Ss(){return Ae(this.year())}function de(e,t){return function(r){return r!=null?(Gt(this,e,r),u.updateOffset(this,t),this):ke(this,e)}}function ke(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Gt(e,t,r){var s,n,a,i,d;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(n?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(n?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(n?s.setUTCHours(r):s.setHours(r));case"Date":return void(n?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}a=r,i=e.month(),d=e.date(),d=d===29&&i===1&&!Ae(a)?28:d,n?s.setUTCFullYear(a,i,d):s.setFullYear(a,i,d)}}function Ms(e){return e=C(e),U(this[e])?this[e]():this}function Ds(e,t){if(typeof e=="object"){e=it(e);var r=fs(e),s,n=r.length;for(s=0;s<n;s++)this[r[s].unit](e[r[s].unit])}else if(e=C(e),U(this[e]))return this[e](t);return this}function Ys(e,t){return(e%t+t)%t}var Y;Array.prototype.indexOf?Y=Array.prototype.indexOf:Y=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ct(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Ys(t,12);return e+=(t-r)/12,r===1?Ae(e)?29:28:31-r%7%2}h("M",["MM",2],"Mo",function(){return this.month()+1}),h("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),h("MMMM",0,0,function(e){return this.localeData().months(this,e)}),c("M",S,le),c("MM",S,N),c("MMM",function(e,t){return t.monthsShortRegex(e)}),c("MMMM",function(e,t){return t.monthsRegex(e)}),k(["M","MM"],function(e,t){t[B]=_(e)-1}),k(["MMM","MMMM"],function(e,t,r,s){var n=r._locale.monthsParse(e,s,r._strict);n!=null?t[B]=n:y(r).invalidMonth=e});var Os="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),jt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),zt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,bs=ge,Ts=ge;function xs(e,t){return e?E(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||zt).test(t)?"format":"standalone"][e.month()]:E(this._months)?this._months:this._months.standalone}function vs(e,t){return e?E(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[zt.test(t)?"format":"standalone"][e.month()]:E(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ns(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)a=V([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null):(n=Y.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:(n=Y.call(this._longMonthsParse,i),n!==-1?n:null)):(n=Y.call(this._longMonthsParse,i),n!==-1?n:(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null))}function Ps(e,t,r){var s,n,a;if(this._monthsParseExact)return Ns.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=V([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function Bt(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!j(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ct(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function Zt(e){return e!=null?(Bt(this,e),u.updateOffset(this,!0),this):ke(this,"Month")}function Cs(){return ct(this.year(),this.month())}function Ws(e){return this._monthsParseExact?(w(this,"_monthsRegex")||qt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=bs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Es(e){return this._monthsParseExact?(w(this,"_monthsRegex")||qt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Ts),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function qt(){function e(f,m){return m.length-f.length}var t=[],r=[],s=[],n,a,i,d;for(n=0;n<12;n++)a=V([2e3,n]),i=z(this.monthsShort(a,"")),d=z(this.months(a,"")),t.push(i),r.push(d),s.push(d),s.push(i);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Rs(e,t,r,s,n,a,i){var d;return e<100&&e>=0?(d=new Date(e+400,t,r,s,n,a,i),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,r,s,n,a,i),d}function Se(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 Le(e,t,r){var s=7+t-r,n=(7+Se(e,0,s).getUTCDay()-t)%7;return-n+s-1}function Qt(e,t,r,s,n){var a=(7+r-s)%7,i=Le(e,s,n),d=1+7*(t-1)+a+i,f,m;return d<=0?(f=e-1,m=pe(f)+d):d>pe(e)?(f=e+1,m=d-pe(e)):(f=e,m=d),{year:f,dayOfYear:m}}function Me(e,t,r){var s=Le(e.year(),t,r),n=Math.floor((e.dayOfYear()-s-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+q(i,t,r)):n>q(e.year(),t,r)?(a=n-q(e.year(),t,r),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function q(e,t,r){var s=Le(e,t,r),n=Le(e+1,t,r);return(pe(e)-s+n)/7}h("w",["ww",2],"wo","week"),h("W",["WW",2],"Wo","isoWeek"),c("w",S,le),c("ww",S,N),c("W",S,le),c("WW",S,N),we(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function As(e){return Me(e,this._week.dow,this._week.doy).week}var Ls={dow:0,doy:6};function Fs(){return this._week.dow}function Is(){return this._week.doy}function Vs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Us(e){var t=Me(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}h("d",0,"do","day"),h("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),h("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),h("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),h("e",0,0,"weekday"),h("E",0,0,"isoWeekday"),c("d",S),c("e",S),c("E",S),c("dd",function(e,t){return t.weekdaysMinRegex(e)}),c("ddd",function(e,t){return t.weekdaysShortRegex(e)}),c("dddd",function(e,t){return t.weekdaysRegex(e)}),we(["dd","ddd","dddd"],function(e,t,r,s){var n=r._locale.weekdaysParse(e,s,r._strict);n!=null?t.d=n:y(r).invalidWeekday=e}),we(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function Hs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Gs(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ht(e,t){return e.slice(t,7).concat(e.slice(0,t))}var js="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),zs="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bs=ge,Zs=ge,qs=ge;function Qs(e,t){var r=E(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ht(r,this._week.dow):e?r[e.day()]:r}function Js(e){return e===!0?ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ks(e){return e===!0?ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Xs(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=V([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1||(n=Y.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=Y.call(this._minWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function $s(e,t,r){var s,n,a;if(this._weekdaysParseExact)return Xs.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=V([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function en(e){if(!this.isValid())return e!=null?this:NaN;var t=ke(this,"Day");return e!=null?(e=Hs(e,this.localeData()),this.add(e-t,"d")):t}function tn(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 rn(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Gs(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function sn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=Bs),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function nn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Zs),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function an(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qs),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ft(){function e(O,F){return F.length-O.length}var t=[],r=[],s=[],n=[],a,i,d,f,m;for(a=0;a<7;a++)i=V([2e3,1]).day(a),d=z(this.weekdaysMin(i,"")),f=z(this.weekdaysShort(i,"")),m=z(this.weekdays(i,"")),t.push(d),r.push(f),s.push(m),n.push(d),n.push(f),n.push(m);t.sort(e),r.sort(e),s.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function mt(){return this.hours()%12||12}function on(){return this.hours()||24}h("H",["HH",2],0,"hour"),h("h",["hh",2],0,mt),h("k",["kk",2],0,on),h("hmm",0,0,function(){return""+mt.apply(this)+H(this.minutes(),2)}),h("hmmss",0,0,function(){return""+mt.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),h("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),h("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)});function Kt(e,t){h(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Kt("a",!0),Kt("A",!1);function Xt(e,t){return t._meridiemParse}c("a",Xt),c("A",Xt),c("H",S,dt),c("h",S,le),c("k",S,le),c("HH",S,N),c("hh",S,N),c("kk",S,N),c("hmm",Vt),c("hmmss",Ut),c("Hmm",Vt),c("Hmmss",Ut),k(["H","HH"],b),k(["k","kk"],function(e,t,r){var s=_(e);t[b]=s===24?0:s}),k(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),k(["h","hh"],function(e,t,r){t[b]=_(e),y(r).bigHour=!0}),k("hmm",function(e,t,r){var s=e.length-2;t[b]=_(e.substr(0,s)),t[A]=_(e.substr(s)),y(r).bigHour=!0}),k("hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[b]=_(e.substr(0,s)),t[A]=_(e.substr(s,2)),t[Z]=_(e.substr(n)),y(r).bigHour=!0}),k("Hmm",function(e,t,r){var s=e.length-2;t[b]=_(e.substr(0,s)),t[A]=_(e.substr(s))}),k("Hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[b]=_(e.substr(0,s)),t[A]=_(e.substr(s,2)),t[Z]=_(e.substr(n))});function ln(e){return(e+"").toLowerCase().charAt(0)==="p"}var dn=/[ap]\.?m?\.?/i,un=de("Hours",!0);function cn(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var $t={calendar:Xr,longDateFormat:rs,invalidDate:ns,ordinal:is,dayOfMonthOrdinalParse:os,relativeTime:ds,months:Os,monthsShort:jt,week:Ls,weekdays:js,weekdaysMin:zs,weekdaysShort:Jt,meridiemParse:dn},D={},De={},Ye;function hn(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function er(e){return e&&e.toLowerCase().replace("_","-")}function fn(e){for(var t=0,r,s,n,a;t<e.length;){for(a=er(e[t]).split("-"),r=a.length,s=er(e[t+1]),s=s?s.split("-"):null;r>0;){if(n=Fe(a.slice(0,r).join("-")),n)return n;if(s&&s.length>=r&&hn(a,s)>=r-1)break;r--}t++}return Ye}function mn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Fe(e){var t=null,r;if(D[e]===void 0&&typeof module<"u"&&module&&module.exports&&mn(e))try{t=Ye._abbr,r=require,r("./locale/"+e),ee(t)}catch{D[e]=null}return D[e]}function ee(e,t){var r;return e&&(x(t)?r=Q(e):r=yt(e,t),r?Ye=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ye._abbr}function yt(e,t){if(t!==null){var r,s=$t;if(t.abbr=e,D[e]!=null)Rt("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."),s=D[e]._config;else if(t.parentLocale!=null)if(D[t.parentLocale]!=null)s=D[t.parentLocale]._config;else if(r=Fe(t.parentLocale),r!=null)s=r._config;else return De[t.parentLocale]||(De[t.parentLocale]=[]),De[t.parentLocale].push({name:e,config:t}),null;return D[e]=new rt(tt(s,t)),De[e]&&De[e].forEach(function(n){yt(n.name,n.config)}),ee(e),D[e]}else return delete D[e],null}function yn(e,t){if(t!=null){var r,s,n=$t;D[e]!=null&&D[e].parentLocale!=null?D[e].set(tt(D[e]._config,t)):(s=Fe(e),s!=null&&(n=s._config),t=tt(n,t),s==null&&(t.abbr=e),r=new rt(t),r.parentLocale=D[e],D[e]=r),ee(e)}else D[e]!=null&&(D[e].parentLocale!=null?(D[e]=D[e].parentLocale,e===ee()&&ee(e)):D[e]!=null&&delete D[e]);return D[e]}function Q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!E(e)){if(t=Fe(e),t)return t;e=[e]}return fn(e)}function _n(){return st(D)}function _t(e){var t,r=e._a;return r&&y(e).overflow===-2&&(t=r[B]<0||r[B]>11?B:r[G]<1||r[G]>ct(r[T],r[B])?G:r[b]<0||r[b]>24||r[b]===24&&(r[A]!==0||r[Z]!==0||r[se]!==0)?b:r[A]<0||r[A]>59?A:r[Z]<0||r[Z]>59?Z:r[se]<0||r[se]>999?se:-1,y(e)._overflowDayOfYear&&(t<T||t>G)&&(t=G),y(e)._overflowWeeks&&t===-1&&(t=ps),y(e)._overflowWeekday&&t===-1&&(t=ks),y(e).overflow=t),e}var gn=/^\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)?)?$/,wn=/^\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)?)?$/,pn=/Z|[+-]\d\d(?::?\d\d)?/,Ie=[["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]],gt=[["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/]],kn=/^\/?Date\((-?\d+)/i,Sn=/^(?:(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}))$/,Mn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function tr(e){var t,r,s=e._i,n=gn.exec(s)||wn.exec(s),a,i,d,f,m=Ie.length,O=gt.length;if(n){for(y(e).iso=!0,t=0,r=m;t<r;t++)if(Ie[t][1].exec(n[1])){i=Ie[t][0],a=Ie[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,r=O;t<r;t++)if(gt[t][1].exec(n[3])){d=(n[2]||" ")+gt[t][0];break}if(d==null){e._isValid=!1;return}}if(!a&&d!=null){e._isValid=!1;return}if(n[4])if(pn.exec(n[4]))f="Z";else{e._isValid=!1;return}e._f=i+(d||"")+(f||""),pt(e)}else e._isValid=!1}function Dn(e,t,r,s,n,a){var i=[Yn(e),jt.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function Yn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function On(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function bn(e,t,r){if(e){var s=Jt.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(s!==n)return y(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Tn(e,t,r){if(e)return Mn[e];if(t)return 0;var s=parseInt(r,10),n=s%100,a=(s-n)/100;return a*60+n}function rr(e){var t=Sn.exec(On(e._i)),r;if(t){if(r=Dn(t[4],t[3],t[2],t[5],t[6],t[7]),!bn(t[1],r,e))return;e._a=r,e._tzm=Tn(t[8],t[9],t[10]),e._d=Se.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function xn(e){var t=kn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(tr(e),e._isValid===!1)delete e._isValid;else return;if(rr(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:u.createFromInputFallback(e)}u.createFromInputFallback=P("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 ue(e,t,r){return e??t??r}function vn(e){var t=new Date(u.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wt(e){var t,r,s=[],n,a,i;if(!e._d){for(n=vn(e),e._w&&e._a[G]==null&&e._a[B]==null&&Nn(e),e._dayOfYear!=null&&(i=ue(e._a[T],n[T]),(e._dayOfYear>pe(i)||e._dayOfYear===0)&&(y(e)._overflowDayOfYear=!0),r=Se(i,0,e._dayOfYear),e._a[B]=r.getUTCMonth(),e._a[G]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=n[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[b]===24&&e._a[A]===0&&e._a[Z]===0&&e._a[se]===0&&(e._nextDay=!0,e._a[b]=0),e._d=(e._useUTC?Se:Rs).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[b]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(y(e).weekdayMismatch=!0)}}function Nn(e){var t,r,s,n,a,i,d,f,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,r=ue(t.GG,e._a[T],Me(M(),1,4).year),s=ue(t.W,1),n=ue(t.E,1),(n<1||n>7)&&(f=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,m=Me(M(),a,i),r=ue(t.gg,e._a[T],m.year),s=ue(t.w,m.week),t.d!=null?(n=t.d,(n<0||n>6)&&(f=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(f=!0)):n=a),s<1||s>q(r,a,i)?y(e)._overflowWeeks=!0:f!=null?y(e)._overflowWeekday=!0:(d=Qt(r,s,n,a,i),e._a[T]=d.year,e._dayOfYear=d.dayOfYear)}u.ISO_8601=function(){},u.RFC_2822=function(){};function pt(e){if(e._f===u.ISO_8601){tr(e);return}if(e._f===u.RFC_2822){rr(e);return}e._a=[],y(e).empty=!0;var t=""+e._i,r,s,n,a,i,d=t.length,f=0,m,O;for(n=At(e._f,e._locale).match(nt)||[],O=n.length,r=0;r<O;r++)a=n[r],s=(t.match(_s(a,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&y(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),f+=s.length),ie[a]?(s?y(e).empty=!1:y(e).unusedTokens.push(a),ws(a,s,e)):e._strict&&!s&&y(e).unusedTokens.push(a);y(e).charsLeftOver=d-f,t.length>0&&y(e).unusedInput.push(t),e._a[b]<=12&&y(e).bigHour===!0&&e._a[b]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[b]=Pn(e._locale,e._a[b],e._meridiem),m=y(e).era,m!==null&&(e._a[T]=e._locale.erasConvertYear(m,e._a[T])),wt(e),_t(e)}function Pn(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Cn(e){var t,r,s,n,a,i,d=!1,f=e._f.length;if(f===0){y(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<f;n++)a=0,i=!1,t=et({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],pt(t),Xe(t)&&(i=!0),a+=y(t).charsLeftOver,a+=y(t).unusedTokens.length*10,y(t).score=a,d?a<s&&(s=a,r=t):(s==null||a<s||i)&&(s=a,r=t,i&&(d=!0));$(e,r||t)}function Wn(e){if(!e._d){var t=it(e._i),r=t.day===void 0?t.date:t.day;e._a=Pt([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),wt(e)}}function En(e){var t=new _e(_t(sr(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function sr(e){var t=e._i,r=e._f;return e._locale=e._locale||Q(e._l),t===null||r===void 0&&t===""?Te({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),R(t)?new _e(_t(t)):(ye(t)?e._d=t:E(r)?Cn(e):r?pt(e):Rn(e),Xe(e)||(e._d=null),e))}function Rn(e){var t=e._i;x(t)?e._d=new Date(u.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?xn(e):E(t)?(e._a=Pt(t.slice(0),function(r){return parseInt(r,10)}),wt(e)):re(t)?Wn(e):j(t)?e._d=new Date(t):u.createFromInputFallback(e)}function nr(e,t,r,s,n){var a={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(re(e)&&Je(e)||E(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=r,a._i=e,a._f=t,a._strict=s,En(a)}function M(e,t,r,s){return nr(e,t,r,s,!1)}var An=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Te()}),Ln=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Te()});function ar(e,t){var r,s;if(t.length===1&&E(t[0])&&(t=t[0]),!t.length)return M();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function Fn(){var e=[].slice.call(arguments,0);return ar("isBefore",e)}function In(){var e=[].slice.call(arguments,0);return ar("isAfter",e)}var Vn=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Un(e){var t,r=!1,s,n=Oe.length;for(t in e)if(w(e,t)&&!(Y.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<n;++s)if(e[Oe[s]]){if(r)return!1;parseFloat(e[Oe[s]])!==_(e[Oe[s]])&&(r=!0)}return!0}function Hn(){return this._isValid}function Gn(){return L(NaN)}function Ve(e){var t=it(e),r=t.year||0,s=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,d=t.hour||0,f=t.minute||0,m=t.second||0,O=t.millisecond||0;this._isValid=Un(t),this._milliseconds=+O+m*1e3+f*6e4+d*1e3*60*60,this._days=+i+a*7,this._months=+n+s*3+r*12,this._data={},this._locale=Q(),this._bubble()}function Ue(e){return e instanceof Ve}function kt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function jn(e,t,r){var s=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<s;i++)_(e[i])!==_(t[i])&&a++;return a+n}function ir(e,t){h(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+H(~~(r/60),2)+t+H(~~r%60,2)})}ir("Z",":"),ir("ZZ",""),c("Z",Ee),c("ZZ",Ee),k(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=St(Ee,e)});var zn=/([\+\-]|\d\d)/gi;function St(e,t){var r=(t||"").match(e),s,n,a;return r===null?null:(s=r[r.length-1]||[],n=(s+"").match(zn)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function Mt(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(R(e)||ye(e)?e.valueOf():M(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),u.updateOffset(r,!1),r):M(e).local()}function Dt(e){return-Math.round(e._d.getTimezoneOffset())}u.updateOffset=function(){};function Bn(e,t,r){var s=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=St(Ee,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(n=Dt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?ur(this,L(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,u.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Dt(this)}function Zn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function qn(e){return this.utcOffset(0,e)}function Qn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Dt(this),"m")),this}function Jn(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=St(ms,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Kn(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Xn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $n(){if(!x(this._isDSTShifted))return this._isDSTShifted;var e={},t;return et(e,this),e=sr(e),e._a?(t=e._isUTC?V(e._a):M(e._a),this._isDSTShifted=this.isValid()&&jn(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ea(){return this.isValid()?!this._isUTC:!1}function ta(){return this.isValid()?this._isUTC:!1}function or(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ra=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,sa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function L(e,t){var r=e,s=null,n,a,i;return Ue(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:j(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=ra.exec(e))?(n=s[1]==="-"?-1:1,r={y:0,d:_(s[G])*n,h:_(s[b])*n,m:_(s[A])*n,s:_(s[Z])*n,ms:_(kt(s[se]*1e3))*n}):(s=sa.exec(e))?(n=s[1]==="-"?-1:1,r={y:ne(s[2],n),M:ne(s[3],n),w:ne(s[4],n),d:ne(s[5],n),h:ne(s[6],n),m:ne(s[7],n),s:ne(s[8],n)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=na(M(r.from),M(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),a=new Ve(r),Ue(e)&&w(e,"_locale")&&(a._locale=e._locale),Ue(e)&&w(e,"_isValid")&&(a._isValid=e._isValid),a}L.fn=Ve.prototype,L.invalid=Gn;function ne(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function lr(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 na(e,t){var r;return e.isValid()&&t.isValid()?(t=Mt(t,e),e.isBefore(t)?r=lr(e,t):(r=lr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function dr(e,t){return function(r,s){var n,a;return s!==null&&!isNaN(+s)&&(Rt(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."),a=r,r=s,s=a),n=L(r,s),ur(this,n,e),this}}function ur(e,t,r,s){var n=t._milliseconds,a=kt(t._days),i=kt(t._months);e.isValid()&&(s=s??!0,i&&Bt(e,ke(e,"Month")+i*r),a&&Gt(e,"Date",ke(e,"Date")+a*r),n&&e._d.setTime(e._d.valueOf()+n*r),s&&u.updateOffset(e,a||i))}var aa=dr(1,"add"),ia=dr(-1,"subtract");function cr(e){return typeof e=="string"||e instanceof String}function oa(e){return R(e)||ye(e)||cr(e)||j(e)||da(e)||la(e)||e===null||e===void 0}function la(e){var t=re(e)&&!Je(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,i=s.length;for(n=0;n<i;n+=1)a=s[n],r=r||w(e,a);return t&&r}function da(e){var t=E(e),r=!1;return t&&(r=e.filter(function(s){return!j(s)&&cr(e)}).length===0),t&&r}function ua(e){var t=re(e)&&!Je(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<s.length;n+=1)a=s[n],r=r||w(e,a);return t&&r}function ca(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 ha(e,t){arguments.length===1&&(arguments[0]?oa(arguments[0])?(e=arguments[0],t=void 0):ua(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||M(),s=Mt(r,this).startOf("day"),n=u.calendarFormat(this,s)||"sameElse",a=t&&(U(t[n])?t[n].call(this,r):t[n]);return this.format(a||this.localeData().calendar(n,this,M(r)))}function fa(){return new _e(this)}function ma(e,t){var r=R(e)?e:M(e);return this.isValid()&&r.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function ya(e,t){var r=R(e)?e:M(e);return this.isValid()&&r.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function _a(e,t,r,s){var n=R(e)?e:M(e),a=R(t)?t:M(t);return this.isValid()&&n.isValid()&&a.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(n,r):!this.isBefore(n,r))&&(s[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function ga(e,t){var r=R(e)?e:M(e),s;return this.isValid()&&r.isValid()?(t=C(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function wa(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function pa(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ka(e,t,r){var s,n,a;if(!this.isValid())return NaN;if(s=Mt(e,this),!s.isValid())return NaN;switch(n=(s.utcOffset()-this.utcOffset())*6e4,t=C(t),t){case"year":a=He(this,s)/12;break;case"month":a=He(this,s);break;case"quarter":a=He(this,s)/3;break;case"second":a=(this-s)/1e3;break;case"minute":a=(this-s)/6e4;break;case"hour":a=(this-s)/36e5;break;case"day":a=(this-s-n)/864e5;break;case"week":a=(this-s-n)/6048e5;break;default:a=this-s}return r?a:W(a)}function He(e,t){if(e.date()<t.date())return-He(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),n,a;return t-s<0?(n=e.clone().add(r-1,"months"),a=(t-s)/(s-n)):(n=e.clone().add(r+1,"months"),a=(t-s)/(n-s)),-(r+a)||0}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Sa(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ma(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?ve(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):U(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ve(r,"Z")):ve(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Da(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+s+n+a)}function Ya(e){e||(e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var t=ve(this,e);return this.localeData().postformat(t)}function Oa(e,t){return this.isValid()&&(R(e)&&e.isValid()||M(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ba(e){return this.from(M(),e)}function Ta(e,t){return this.isValid()&&(R(e)&&e.isValid()||M(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function xa(e){return this.to(M(),e)}function hr(e){var t;return e===void 0?this._locale._abbr:(t=Q(e),t!=null&&(this._locale=t),this)}var fr=P("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 mr(){return this._locale}var Ge=1e3,ce=60*Ge,je=60*ce,yr=(365*400+97)*24*je;function he(e,t){return(e%t+t)%t}function _r(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-yr:new Date(e,t,r).valueOf()}function gr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-yr:Date.UTC(e,t,r)}function va(e){var t,r;if(e=C(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?gr:_r,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-=he(t+(this._isUTC?0:this.utcOffset()*ce),je);break;case"minute":t=this._d.valueOf(),t-=he(t,ce);break;case"second":t=this._d.valueOf(),t-=he(t,Ge);break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Na(e){var t,r;if(e=C(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?gr:_r,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+=je-he(t+(this._isUTC?0:this.utcOffset()*ce),je)-1;break;case"minute":t=this._d.valueOf(),t+=ce-he(t,ce)-1;break;case"second":t=this._d.valueOf(),t+=Ge-he(t,Ge)-1;break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Pa(){return this._d.valueOf()-(this._offset||0)*6e4}function Ca(){return Math.floor(this.valueOf()/1e3)}function Wa(){return new Date(this.valueOf())}function Ea(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ra(){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 Aa(){return this.isValid()?this.toISOString():null}function La(){return Xe(this)}function Fa(){return $({},y(this))}function Ia(){return y(this).overflow}function Va(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}h("N",0,0,"eraAbbr"),h("NN",0,0,"eraAbbr"),h("NNN",0,0,"eraAbbr"),h("NNNN",0,0,"eraName"),h("NNNNN",0,0,"eraNarrow"),h("y",["y",1],"yo","eraYear"),h("y",["yy",2],0,"eraYear"),h("y",["yyy",3],0,"eraYear"),h("y",["yyyy",4],0,"eraYear"),c("N",Yt),c("NN",Yt),c("NNN",Yt),c("NNNN",Ka),c("NNNNN",Xa),k(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var n=r._locale.erasParse(e,s,r._strict);n?y(r).era=n:y(r).invalidEra=e}),c("y",oe),c("yy",oe),c("yyy",oe),c("yyyy",oe),c("yo",$a),k(["y","yy","yyy","yyyy"],T),k(["yo"],function(e,t,r,s){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[T]=r._locale.eraYearOrdinalParse(e,n):t[T]=parseInt(e,10)});function Ua(e,t){var r,s,n,a=this._eras||Q("en")._eras;for(r=0,s=a.length;r<s;++r){switch(typeof a[r].since){case"string":n=u(a[r].since).startOf("day"),a[r].since=n.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":n=u(a[r].until).startOf("day").valueOf(),a[r].until=n.valueOf();break}}return a}function Ha(e,t,r){var s,n,a=this.eras(),i,d,f;for(e=e.toUpperCase(),s=0,n=a.length;s<n;++s)if(i=a[s].name.toUpperCase(),d=a[s].abbr.toUpperCase(),f=a[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(d===e)return a[s];break;case"NNNN":if(i===e)return a[s];break;case"NNNNN":if(f===e)return a[s];break}else if([i,d,f].indexOf(e)>=0)return a[s]}function Ga(e,t){var r=e.since<=e.until?1:-1;return t===void 0?u(e.since).year():u(e.since).year()+(t-e.offset)*r}function ja(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function za(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function Ba(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function Za(){var e,t,r,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=n[e].since<=n[e].until?1:-1,s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return(this.year()-u(n[e].since).year())*r+n[e].offset;return this.year()}function qa(e){return w(this,"_erasNameRegex")||Ot.call(this),e?this._erasNameRegex:this._erasRegex}function Qa(e){return w(this,"_erasAbbrRegex")||Ot.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ja(e){return w(this,"_erasNarrowRegex")||Ot.call(this),e?this._erasNarrowRegex:this._erasRegex}function Yt(e,t){return t.erasAbbrRegex(e)}function Ka(e,t){return t.erasNameRegex(e)}function Xa(e,t){return t.erasNarrowRegex(e)}function $a(e,t){return t._eraYearOrdinalRegex||oe}function Ot(){var e=[],t=[],r=[],s=[],n,a,i,d,f,m=this.eras();for(n=0,a=m.length;n<a;++n)i=z(m[n].name),d=z(m[n].abbr),f=z(m[n].narrow),t.push(i),e.push(d),r.push(f),s.push(i),s.push(d),s.push(f);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}h(0,["gg",2],0,function(){return this.weekYear()%100}),h(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ze(e,t){h(0,[e,e.length],0,t)}ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),c("G",We),c("g",We),c("GG",S,N),c("gg",S,N),c("GGGG",lt,ot),c("gggg",lt,ot),c("GGGGG",Ce,Ne),c("ggggg",Ce,Ne),we(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)}),we(["gg","GG"],function(e,t,r,s){t[s]=u.parseTwoDigitYear(e)});function ei(e){return wr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ti(e){return wr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function ri(){return q(this.year(),1,4)}function si(){return q(this.isoWeekYear(),1,4)}function ni(){var e=this.localeData()._week;return q(this.year(),e.dow,e.doy)}function ai(){var e=this.localeData()._week;return q(this.weekYear(),e.dow,e.doy)}function wr(e,t,r,s,n){var a;return e==null?Me(this,s,n).year:(a=q(e,s,n),t>a&&(t=a),ii.call(this,e,t,r,s,n))}function ii(e,t,r,s,n){var a=Qt(e,t,r,s,n),i=Se(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}h("Q",0,"Qo","quarter"),c("Q",Ft),k("Q",function(e,t){t[B]=(_(e)-1)*3});function oi(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}h("D",["DD",2],"Do","date"),c("D",S,le),c("DD",S,N),c("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),k(["D","DD"],G),k("Do",function(e,t){t[G]=_(e.match(S)[0])});var pr=de("Date",!0);h("DDD",["DDDD",3],"DDDo","dayOfYear"),c("DDD",Pe),c("DDDD",It),k(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function li(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}h("m",["mm",2],0,"minute"),c("m",S,dt),c("mm",S,N),k(["m","mm"],A);var di=de("Minutes",!1);h("s",["ss",2],0,"second"),c("s",S,dt),c("ss",S,N),k(["s","ss"],Z);var ui=de("Seconds",!1);h("S",0,0,function(){return~~(this.millisecond()/100)}),h(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),h(0,["SSS",3],0,"millisecond"),h(0,["SSSS",4],0,function(){return this.millisecond()*10}),h(0,["SSSSS",5],0,function(){return this.millisecond()*100}),h(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),h(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),h(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),h(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),c("S",Pe,Ft),c("SS",Pe,N),c("SSS",Pe,It);var te,kr;for(te="SSSS";te.length<=9;te+="S")c(te,oe);function ci(e,t){t[se]=_(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")k(te,ci);kr=de("Milliseconds",!1),h("z",0,0,"zoneAbbr"),h("zz",0,0,"zoneName");function hi(){return this._isUTC?"UTC":""}function fi(){return this._isUTC?"Coordinated Universal Time":""}var l=_e.prototype;l.add=aa,l.calendar=ha,l.clone=fa,l.diff=ka,l.endOf=Na,l.format=Ya,l.from=Oa,l.fromNow=ba,l.to=Ta,l.toNow=xa,l.get=Ms,l.invalidAt=Ia,l.isAfter=ma,l.isBefore=ya,l.isBetween=_a,l.isSame=ga,l.isSameOrAfter=wa,l.isSameOrBefore=pa,l.isValid=La,l.lang=fr,l.locale=hr,l.localeData=mr,l.max=Ln,l.min=An,l.parsingFlags=Fa,l.set=Ds,l.startOf=va,l.subtract=ia,l.toArray=Ea,l.toObject=Ra,l.toDate=Wa,l.toISOString=Ma,l.inspect=Da,typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),l.toJSON=Aa,l.toString=Sa,l.unix=Ca,l.valueOf=Pa,l.creationData=Va,l.eraName=ja,l.eraNarrow=za,l.eraAbbr=Ba,l.eraYear=Za,l.year=Ht,l.isLeapYear=Ss,l.weekYear=ei,l.isoWeekYear=ti,l.quarter=l.quarters=oi,l.month=Zt,l.daysInMonth=Cs,l.week=l.weeks=Vs,l.isoWeek=l.isoWeeks=Us,l.weeksInYear=ni,l.weeksInWeekYear=ai,l.isoWeeksInYear=ri,l.isoWeeksInISOWeekYear=si,l.date=pr,l.day=l.days=en,l.weekday=tn,l.isoWeekday=rn,l.dayOfYear=li,l.hour=l.hours=un,l.minute=l.minutes=di,l.second=l.seconds=ui,l.millisecond=l.milliseconds=kr,l.utcOffset=Bn,l.utc=qn,l.local=Qn,l.parseZone=Jn,l.hasAlignedHourOffset=Kn,l.isDST=Xn,l.isLocal=ea,l.isUtcOffset=ta,l.isUtc=or,l.isUTC=or,l.zoneAbbr=hi,l.zoneName=fi,l.dates=P("dates accessor is deprecated. Use date instead.",pr),l.months=P("months accessor is deprecated. Use month instead",Zt),l.years=P("years accessor is deprecated. Use year instead",Ht),l.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Zn),l.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",$n);function mi(e){return M(e*1e3)}function yi(){return M.apply(null,arguments).parseZone()}function Sr(e){return e}var p=rt.prototype;p.calendar=$r,p.longDateFormat=ss,p.invalidDate=as,p.ordinal=ls,p.preparse=Sr,p.postformat=Sr,p.relativeTime=us,p.pastFuture=cs,p.set=Kr,p.eras=Ua,p.erasParse=Ha,p.erasConvertYear=Ga,p.erasAbbrRegex=Qa,p.erasNameRegex=qa,p.erasNarrowRegex=Ja,p.months=xs,p.monthsShort=vs,p.monthsParse=Ps,p.monthsRegex=Es,p.monthsShortRegex=Ws,p.week=As,p.firstDayOfYear=Is,p.firstDayOfWeek=Fs,p.weekdays=Qs,p.weekdaysMin=Ks,p.weekdaysShort=Js,p.weekdaysParse=$s,p.weekdaysRegex=sn,p.weekdaysShortRegex=nn,p.weekdaysMinRegex=an,p.isPM=ln,p.meridiem=cn;function Be(e,t,r,s){var n=Q(),a=V().set(s,t);return n[r](a,e)}function Mr(e,t,r){if(j(e)&&(t=e,e=void 0),e=e||"",t!=null)return Be(e,t,r,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Be(e,s,r,"month");return n}function bt(e,t,r,s){typeof e=="boolean"?(j(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,j(t)&&(r=t,t=void 0),t=t||"");var n=Q(),a=e?n._week.dow:0,i,d=[];if(r!=null)return Be(t,(r+a)%7,s,"day");for(i=0;i<7;i++)d[i]=Be(t,(i+a)%7,s,"day");return d}function _i(e,t){return Mr(e,t,"months")}function gi(e,t){return Mr(e,t,"monthsShort")}function wi(e,t,r){return bt(e,t,r,"weekdays")}function pi(e,t,r){return bt(e,t,r,"weekdaysShort")}function ki(e,t,r){return bt(e,t,r,"weekdaysMin")}ee("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=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),u.lang=P("moment.lang is deprecated. Use moment.locale instead.",ee),u.langData=P("moment.langData is deprecated. Use moment.localeData instead.",Q);var J=Math.abs;function Si(){var e=this._data;return this._milliseconds=J(this._milliseconds),this._days=J(this._days),this._months=J(this._months),e.milliseconds=J(e.milliseconds),e.seconds=J(e.seconds),e.minutes=J(e.minutes),e.hours=J(e.hours),e.months=J(e.months),e.years=J(e.years),this}function Dr(e,t,r,s){var n=L(t,r);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function Mi(e,t){return Dr(this,e,t,1)}function Di(e,t){return Dr(this,e,t,-1)}function Yr(e){return e<0?Math.floor(e):Math.ceil(e)}function Yi(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,n,a,i,d,f;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Yr(Tt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,n=W(e/1e3),s.seconds=n%60,a=W(n/60),s.minutes=a%60,i=W(a/60),s.hours=i%24,t+=W(i/24),f=W(Or(t)),r+=f,t-=Yr(Tt(f)),d=W(r/12),r%=12,s.days=t,s.months=r,s.years=d,this}function Or(e){return e*4800/146097}function Tt(e){return e*146097/4800}function Oi(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=C(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Or(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Tt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function K(e){return function(){return this.as(e)}}var br=K("ms"),bi=K("s"),Ti=K("m"),xi=K("h"),vi=K("d"),Ni=K("w"),Pi=K("M"),Ci=K("Q"),Wi=K("y"),Ei=br;function Ri(){return L(this)}function Ai(e){return e=C(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Li=ae("milliseconds"),Fi=ae("seconds"),Ii=ae("minutes"),Vi=ae("hours"),Ui=ae("days"),Hi=ae("months"),Gi=ae("years");function ji(){return W(this.days()/7)}var X=Math.round,fe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function zi(e,t,r,s,n){return n.relativeTime(t||1,!!r,e,s)}function Bi(e,t,r,s){var n=L(e).abs(),a=X(n.as("s")),i=X(n.as("m")),d=X(n.as("h")),f=X(n.as("d")),m=X(n.as("M")),O=X(n.as("w")),F=X(n.as("y")),I=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||i<=1&&["m"]||i<r.m&&["mm",i]||d<=1&&["h"]||d<r.h&&["hh",d]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(I=I||O<=1&&["w"]||O<r.w&&["ww",O]),I=I||m<=1&&["M"]||m<r.M&&["MM",m]||F<=1&&["y"]||["yy",F],I[2]=t,I[3]=+e>0,I[4]=s,zi.apply(null,I)}function Zi(e){return e===void 0?X:typeof e=="function"?(X=e,!0):!1}function qi(e,t){return fe[e]===void 0?!1:t===void 0?fe[e]:(fe[e]=t,e==="s"&&(fe.ss=t-1),!0)}function Qi(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=fe,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},fe,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),n=this.localeData(),a=Bi(this,!r,s,n),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var xt=Math.abs;function me(e){return(e>0)-(e<0)||+e}function Ze(){if(!this.isValid())return this.localeData().invalidDate();var e=xt(this._milliseconds)/1e3,t=xt(this._days),r=xt(this._months),s,n,a,i,d=this.asSeconds(),f,m,O,F;return d?(s=W(e/60),n=W(s/60),e%=60,s%=60,a=W(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",f=d<0?"-":"",m=me(this._months)!==me(d)?"-":"",O=me(this._days)!==me(d)?"-":"",F=me(this._milliseconds)!==me(d)?"-":"",f+"P"+(a?m+a+"Y":"")+(r?m+r+"M":"")+(t?O+t+"D":"")+(n||s||e?"T":"")+(n?F+n+"H":"")+(s?F+s+"M":"")+(e?F+i+"S":"")):"P0D"}var g=Ve.prototype;g.isValid=Hn,g.abs=Si,g.add=Mi,g.subtract=Di,g.as=Oi,g.asMilliseconds=br,g.asSeconds=bi,g.asMinutes=Ti,g.asHours=xi,g.asDays=vi,g.asWeeks=Ni,g.asMonths=Pi,g.asQuarters=Ci,g.asYears=Wi,g.valueOf=Ei,g._bubble=Yi,g.clone=Ri,g.get=Ai,g.milliseconds=Li,g.seconds=Fi,g.minutes=Ii,g.hours=Vi,g.days=Ui,g.weeks=ji,g.months=Hi,g.years=Gi,g.humanize=Qi,g.toISOString=Ze,g.toString=Ze,g.toJSON=Ze,g.locale=hr,g.localeData=mr,g.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),g.lang=fr,h("X",0,0,"unix"),h("x",0,0,"valueOf"),c("x",We),c("X",ys),k("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),k("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
10
- u.version="2.30.1",Qr(M),u.fn=l,u.min=Fn,u.max=In,u.now=Vn,u.utc=V,u.unix=mi,u.months=_i,u.isDate=ye,u.locale=ee,u.invalid=Te,u.duration=L,u.isMoment=R,u.weekdays=wi,u.parseZone=yi,u.localeData=Q,u.isDuration=Ue,u.monthsShort=gi,u.weekdaysMin=ki,u.defineLocale=yt,u.updateLocale=yn,u.locales=_n,u.weekdaysShort=pi,u.normalizeUnits=C,u.relativeTimeRounding=Zi,u.relativeTimeThreshold=qi,u.calendarFormat=ca,u.prototype=l,u.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"};const Ji={class:"d-flex align-items-center justify-content-center bg-white shadow-sm py-3"},Tr=o.defineComponent({__name:"Footer",props:{copyrightText:{type:String,required:!0}},setup(e){const t=e;return(r,s)=>(o.openBlock(),o.createElementBlock("footer",Ji,o.toDisplayString(t.copyrightText)+" "+o.toDisplayString(o.unref(u)().year()),1))}}),Ki=o.defineComponent({__name:"LoginLayoutFrame",props:{loginText:{},brandText:{},copyrightText:{},mainClass:{default:"my-5"}},setup(e){const t=e;if(typeof t.loginText!="string")throw new Error("LoginLayoutFrame: loginText обязателен");if(!t.brandText.trim())throw new Error("LoginLayoutFrame: brandText обязателен");if(!t.copyrightText.trim())throw new Error("LoginLayoutFrame: copyrightText обязателен");return(r,s)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(vt,{"is-authenticated":!1,"login-text":r.loginText,"raw-dropdown-links":[],"brand-text":r.brandText},{logo:o.withCtx(()=>[o.createVNode(Qe)]),"language-selector":o.withCtx(()=>[o.renderSlot(r.$slots,"language-selector")]),_:3},8,["login-text","brand-text"]),o.createElementVNode("main",{class:o.normalizeClass(r.mainClass),style:{"min-height":"80vh"}},[o.renderSlot(r.$slots,"default")],2),o.createVNode(Tr,{"copyright-text":r.copyrightText},null,8,["copyright-text"])],64))}}),Xi={__name:"Spinner",props:{isSmall:{type:Boolean,default:!1}},setup(e){return(t,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["spinner-border",{"spinner-border-sm":e.isSmall}]),role:"status"},null,2))}},$i={class:"container","data-test":"SsoLoginPending"},eo={class:"row justify-content-center"},to={class:"col-md-8"},ro={class:"card"},so={class:"card-header"},no={class:"card-body"},ao={class:"login-spinner text-center",role:"status","aria-live":"polite"},io={class:"visually-hidden","data-test":"SsoLoginPending-status"},xr=be(o.defineComponent({__name:"SsoLoginPending",props:{title:{},statusText:{}},setup(e){const t=e;if(!t.title.trim())throw new Error("SsoLoginPending: title обязателен");if(!t.statusText.trim())throw new Error("SsoLoginPending: statusText обязателен");return(r,s)=>(o.openBlock(),o.createElementBlock("div",$i,[o.createElementVNode("div",eo,[o.createElementVNode("div",to,[o.createElementVNode("div",ro,[o.createElementVNode("div",so,o.toDisplayString(r.title),1),o.createElementVNode("div",no,[o.createElementVNode("div",ao,[o.createVNode(Xi),o.createElementVNode("span",io,o.toDisplayString(r.statusText),1)])])])])])]))}}),[["__scopeId","data-v-6eb41b83"]]),vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";function Nr(){const e=globalThis.crypto;if(!e)throw new Error("Web Crypto API is not available.");if(!e.getRandomValues)throw new Error("Web Crypto getRandomValues is not available.");if(!e.subtle?.digest)throw new Error("Web Crypto subtle digest is not available.");return e}function Pr(e){const t=Nr(),r=new Uint8Array(e);t.getRandomValues(r);let s="";return r.forEach(n=>{s+=vr[n%vr.length]}),s}function oo(e){const t=new Uint8Array(e);let r="";return t.forEach(s=>{r+=String.fromCharCode(s)}),btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}function lo(e=64){if(!Number.isInteger(e)||e<43||e>128)throw new Error("PKCE code_verifier length must be between 43 and 128.");return Pr(e)}async function uo(e){const t=Nr(),s=new TextEncoder().encode(e),n=await t.subtle.digest("SHA-256",s);return oo(n)}async function co(e=64){const t=lo(e),r=await uo(t);return{codeVerifier:t,codeChallenge:r}}function ho(e=32){if(!Number.isInteger(e)||e<16||e>128)throw new Error("OAuth state length must be between 16 and 128.");return Pr(e)}const fo="Web Crypto API недоступен. Используйте HTTPS или обновите браузер.";let qe=!1;async function Cr(e){if(!e||typeof e.setLoading!="function")throw new Error("signInWithSSO: deps.setLoading обязателен");if(typeof e.getPublicConfig!="function")throw new Error("signInWithSSO: deps.getPublicConfig обязателен");if(typeof e.useCookie!="function")throw new Error("signInWithSSO: deps.useCookie обязателен");if(typeof e.showError!="function")throw new Error("signInWithSSO: deps.showError обязателен");if(typeof window>"u"||qe)return;qe=!0,e.setLoading(!0);const t=e.generatePkcePair??co,r=e.generateState??ho,s=e.redirectTo??(a=>{window.location.href=a}),n=e.isSecure??(()=>window.location.protocol==="https:");try{const{authApiUrl:a,ssoClientId:i,origin:d}=e.getPublicConfig();if(!a||!i)throw new Error("Не настроены CLIENT_ID или NUXT_AUTH_API_URL");let f,m,O;try{({codeVerifier:f,codeChallenge:m}=await t()),O=r()}catch{qe=!1,e.setLoading(!1),e.showError({statusCode:500,statusMessage:fo});return}const I={maxAge:300,sameSite:"lax",secure:n(),path:"/"};e.useCookie("pkce_verifier",I).value=f,e.useCookie("pkce_state",I).value=O;const yo=`${d}/api/auth/callback`,_o=`${a}/oauth/authorize?`+new URLSearchParams({client_id:i,redirect_uri:yo,response_type:"code",scope:"*",code_challenge:m,code_challenge_method:"S256",state:O});s(_o)}catch{qe=!1,e.setLoading(!1)}}const mo=o.defineComponent({__name:"SsoLoginScreen",props:{title:{},statusText:{},getPublicConfig:{type:Function},useCookie:{type:Function},showError:{type:Function}},setup(e){const t=e;if(!t.title.trim())throw new Error("SsoLoginScreen: title обязателен");if(!t.statusText.trim())throw new Error("SsoLoginScreen: statusText обязателен");if(typeof t.getPublicConfig!="function")throw new Error("SsoLoginScreen: getPublicConfig обязателен");if(typeof t.useCookie!="function")throw new Error("SsoLoginScreen: useCookie обязателен");if(typeof t.showError!="function")throw new Error("SsoLoginScreen: showError обязателен");return Cr({setLoading:()=>{},getPublicConfig:t.getPublicConfig,useCookie:t.useCookie,showError:t.showError}),(r,s)=>(o.openBlock(),o.createBlock(xr,{title:r.title,"status-text":r.statusText},null,8,["title","status-text"]))}});v.Footer=Tr,v.Header=vt,v.LoginLayoutFrame=Ki,v.Logo=Qe,v.SsoLoginPending=xr,v.SsoLoginScreen=mo,v.signInWithSSO=Cr,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})}));
9
+ `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var It={};function Ft(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),It[e]||(Lt(t),It[e]=!0)}d.suppressDeprecationWarnings=!1,d.deprecationHandler=null;function U(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function ss(e){var t,r;for(r in e)w(e,r)&&(t=e[r],U(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 tt(e,t){var r=X({},e),s;for(s in t)w(t,s)&&(re(e[s])&&re(t[s])?(r[s]={},X(r[s],e[s]),X(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)w(e,s)&&!w(t,s)&&re(e[s])&&(r[s]=X({},r[s]));return r}function rt(e){e!=null&&this.set(e)}var st;Object.keys?st=Object.keys:st=function(e){var t,r=[];for(t in e)w(e,t)&&r.push(t);return r};var ns={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function as(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return U(s)?s.call(t,r):s}function H(e,t,r){var s=""+Math.abs(e),n=t-s.length,a=e>=0;return(a?r?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+s}var nt=/(\[[^\[]*\])|(\\)?([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,xe=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,at={},ie={};function f(e,t,r,s){var n=s;typeof s=="string"&&(n=function(){return this[s]()}),e&&(ie[e]=n),t&&(ie[t[0]]=function(){return H(n.apply(this,arguments),t[1],t[2])}),r&&(ie[r]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function is(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function os(e){var t=e.match(nt),r,s;for(r=0,s=t.length;r<s;r++)ie[t[r]]?t[r]=ie[t[r]]:t[r]=is(t[r]);return function(n){var a="",i;for(i=0;i<s;i++)a+=U(t[i])?t[i].call(n,e):t[i];return a}}function ve(e,t){return e.isValid()?(t=Vt(t,e.localeData()),at[t]=at[t]||os(t),at[t](e)):e.localeData().invalidDate()}function Vt(e,t){var r=5;function s(n){return t.longDateFormat(n)||n}for(xe.lastIndex=0;r>=0&&xe.test(e);)e=e.replace(xe,s),xe.lastIndex=0,r-=1;return e}var ls={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 us(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(nt).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var ds="Invalid date";function cs(){return this._invalidDate}var hs="%d",fs=/\d{1,2}/;function ms(e){return this._ordinal.replace("%d",e)}var ys={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 _s(e,t,r,s){var n=this._relativeTime[r];return U(n)?n(e,t,r,s):n.replace(/%d/i,e)}function gs(e,t){var r=this._relativeTime[e>0?"future":"past"];return U(r)?r(t):r.replace(/%s/i,t)}var Ut={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 W(e){return typeof e=="string"?Ut[e]||Ut[e.toLowerCase()]:void 0}function it(e){var t={},r,s;for(s in e)w(e,s)&&(r=W(s),r&&(t[r]=e[s]));return t}var ws={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 ps(e){var t=[],r;for(r in e)w(e,r)&&t.push({unit:r,priority:ws[r]});return t.sort(function(s,n){return s.priority-n.priority}),t}var Ht=/\d/,C=/\d\d/,Gt=/\d{3}/,ot=/\d{4}/,Ne=/[+-]?\d{6}/,S=/\d\d?/,jt=/\d\d\d\d?/,zt=/\d\d\d\d\d\d?/,Ce=/\d{1,3}/,lt=/\d{1,4}/,Pe=/[+-]?\d{1,6}/,oe=/\d+/,We=/[+-]?\d+/,ks=/Z|[+-]\d\d:?\d\d/gi,Ae=/Z|[+-]\d\d(?::?\d\d)?/gi,Ss=/[+-]?\d+(\.\d{1,3})?/,ge=/[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,le=/^[1-9]\d?/,ut=/^([1-9]\d|\d)/,Ee;Ee={};function c(e,t,r){Ee[e]=U(t)?t:function(s,n){return s&&r?r:t}}function Ms(e,t){return w(Ee,e)?Ee[e](t._strict,t._locale):new RegExp(Ds(e))}function Ds(e){return z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,n,a){return r||s||n||a}))}function z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function A(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=A(t)),r}var dt={};function k(e,t){var r,s=t,n;for(typeof e=="string"&&(e=[e]),j(t)&&(s=function(a,i){i[t]=_(a)}),n=e.length,r=0;r<n;r++)dt[e[r]]=s}function we(e,t){k(e,function(r,s,n,a){n._w=n._w||{},t(r,n._w,n,a)})}function Ys(e,t,r){t!=null&&w(dt,e)&&dt[e](t,r._a,r,e)}function Re(e){return e%4===0&&e%100!==0||e%400===0}var T=0,B=1,G=2,b=3,L=4,Z=5,se=6,Os=7,bs=8;f("Y",0,0,function(){var e=this.year();return e<=9999?H(e,4):"+"+e}),f(0,["YY",2],0,function(){return this.year()%100}),f(0,["YYYY",4],0,"year"),f(0,["YYYYY",5],0,"year"),f(0,["YYYYYY",6,!0],0,"year"),c("Y",We),c("YY",S,C),c("YYYY",lt,ot),c("YYYYY",Pe,Ne),c("YYYYYY",Pe,Ne),k(["YYYYY","YYYYYY"],T),k("YYYY",function(e,t){t[T]=e.length===2?d.parseTwoDigitYear(e):_(e)}),k("YY",function(e,t){t[T]=d.parseTwoDigitYear(e)}),k("Y",function(e,t){t[T]=parseInt(e,10)});function pe(e){return Re(e)?366:365}d.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var Bt=ue("FullYear",!0);function Ts(){return Re(this.year())}function ue(e,t){return function(r){return r!=null?(Zt(this,e,r),d.updateOffset(this,t),this):ke(this,e)}}function ke(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Zt(e,t,r){var s,n,a,i,u;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,n=e._isUTC,t){case"Milliseconds":return void(n?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(n?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(n?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(n?s.setUTCHours(r):s.setHours(r));case"Date":return void(n?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}a=r,i=e.month(),u=e.date(),u=u===29&&i===1&&!Re(a)?28:u,n?s.setUTCFullYear(a,i,u):s.setFullYear(a,i,u)}}function xs(e){return e=W(e),U(this[e])?this[e]():this}function vs(e,t){if(typeof e=="object"){e=it(e);var r=ps(e),s,n=r.length;for(s=0;s<n;s++)this[r[s].unit](e[r[s].unit])}else if(e=W(e),U(this[e]))return this[e](t);return this}function Ns(e,t){return(e%t+t)%t}var Y;Array.prototype.indexOf?Y=Array.prototype.indexOf:Y=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ct(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Ns(t,12);return e+=(t-r)/12,r===1?Re(e)?29:28:31-r%7%2}f("M",["MM",2],"Mo",function(){return this.month()+1}),f("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),f("MMMM",0,0,function(e){return this.localeData().months(this,e)}),c("M",S,le),c("MM",S,C),c("MMM",function(e,t){return t.monthsShortRegex(e)}),c("MMMM",function(e,t){return t.monthsRegex(e)}),k(["M","MM"],function(e,t){t[B]=_(e)-1}),k(["MMM","MMMM"],function(e,t,r,s){var n=r._locale.monthsParse(e,s,r._strict);n!=null?t[B]=n:y(r).invalidMonth=e});var Cs="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),qt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Qt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ps=ge,Ws=ge;function As(e,t){return e?E(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Qt).test(t)?"format":"standalone"][e.month()]:E(this._months)?this._months:this._months.standalone}function Es(e,t){return e?E(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Qt.test(t)?"format":"standalone"][e.month()]:E(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Rs(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)a=V([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(a,"").toLocaleLowerCase();return r?t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null):(n=Y.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:(n=Y.call(this._longMonthsParse,i),n!==-1?n:null)):(n=Y.call(this._longMonthsParse,i),n!==-1?n:(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null))}function Ls(e,t,r){var s,n,a;if(this._monthsParseExact)return Rs.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(n=V([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function Jt(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_(t);else if(t=e.localeData().monthsParse(t),!j(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ct(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function Kt(e){return e!=null?(Jt(this,e),d.updateOffset(this,!0),this):ke(this,"Month")}function Is(){return ct(this.year(),this.month())}function Fs(e){return this._monthsParseExact?(w(this,"_monthsRegex")||$t.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=Ps),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Vs(e){return this._monthsParseExact?(w(this,"_monthsRegex")||$t.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Ws),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function $t(){function e(h,m){return m.length-h.length}var t=[],r=[],s=[],n,a,i,u;for(n=0;n<12;n++)a=V([2e3,n]),i=z(this.monthsShort(a,"")),u=z(this.months(a,"")),t.push(i),r.push(u),s.push(u),s.push(i);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Us(e,t,r,s,n,a,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,r,s,n,a,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,r,s,n,a,i),u}function Se(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 Le(e,t,r){var s=7+t-r,n=(7+Se(e,0,s).getUTCDay()-t)%7;return-n+s-1}function Xt(e,t,r,s,n){var a=(7+r-s)%7,i=Le(e,s,n),u=1+7*(t-1)+a+i,h,m;return u<=0?(h=e-1,m=pe(h)+u):u>pe(e)?(h=e+1,m=u-pe(e)):(h=e,m=u),{year:h,dayOfYear:m}}function Me(e,t,r){var s=Le(e.year(),t,r),n=Math.floor((e.dayOfYear()-s-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+q(i,t,r)):n>q(e.year(),t,r)?(a=n-q(e.year(),t,r),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function q(e,t,r){var s=Le(e,t,r),n=Le(e+1,t,r);return(pe(e)-s+n)/7}f("w",["ww",2],"wo","week"),f("W",["WW",2],"Wo","isoWeek"),c("w",S,le),c("ww",S,C),c("W",S,le),c("WW",S,C),we(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=_(e)});function Hs(e){return Me(e,this._week.dow,this._week.doy).week}var Gs={dow:0,doy:6};function js(){return this._week.dow}function zs(){return this._week.doy}function Bs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Zs(e){var t=Me(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}f("d",0,"do","day"),f("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),f("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),f("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),f("e",0,0,"weekday"),f("E",0,0,"isoWeekday"),c("d",S),c("e",S),c("E",S),c("dd",function(e,t){return t.weekdaysMinRegex(e)}),c("ddd",function(e,t){return t.weekdaysShortRegex(e)}),c("dddd",function(e,t){return t.weekdaysRegex(e)}),we(["dd","ddd","dddd"],function(e,t,r,s){var n=r._locale.weekdaysParse(e,s,r._strict);n!=null?t.d=n:y(r).invalidWeekday=e}),we(["d","e","E"],function(e,t,r,s){t[s]=_(e)});function qs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Qs(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ht(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Js="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),er="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ks="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$s=ge,Xs=ge,en=ge;function tn(e,t){var r=E(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ht(r,this._week.dow):e?r[e.day()]:r}function rn(e){return e===!0?ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function sn(e){return e===!0?ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function nn(e,t,r){var s,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)a=V([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(a,"").toLocaleLowerCase();return r?t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1||(n=Y.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=Y.call(this._minWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function an(e,t,r){var s,n,a;if(this._weekdaysParseExact)return nn.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(n=V([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[s]=new RegExp(a.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function on(e){if(!this.isValid())return e!=null?this:NaN;var t=ke(this,"Day");return e!=null?(e=qs(e,this.localeData()),this.add(e-t,"d")):t}function ln(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 un(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Qs(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function dn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=$s),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function cn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xs),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function hn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||ft.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=en),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ft(){function e(O,x){return x.length-O.length}var t=[],r=[],s=[],n=[],a,i,u,h,m;for(a=0;a<7;a++)i=V([2e3,1]).day(a),u=z(this.weekdaysMin(i,"")),h=z(this.weekdaysShort(i,"")),m=z(this.weekdays(i,"")),t.push(u),r.push(h),s.push(m),n.push(u),n.push(h),n.push(m);t.sort(e),r.sort(e),s.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function mt(){return this.hours()%12||12}function fn(){return this.hours()||24}f("H",["HH",2],0,"hour"),f("h",["hh",2],0,mt),f("k",["kk",2],0,fn),f("hmm",0,0,function(){return""+mt.apply(this)+H(this.minutes(),2)}),f("hmmss",0,0,function(){return""+mt.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)}),f("Hmm",0,0,function(){return""+this.hours()+H(this.minutes(),2)}),f("Hmmss",0,0,function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)});function tr(e,t){f(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}tr("a",!0),tr("A",!1);function rr(e,t){return t._meridiemParse}c("a",rr),c("A",rr),c("H",S,ut),c("h",S,le),c("k",S,le),c("HH",S,C),c("hh",S,C),c("kk",S,C),c("hmm",jt),c("hmmss",zt),c("Hmm",jt),c("Hmmss",zt),k(["H","HH"],b),k(["k","kk"],function(e,t,r){var s=_(e);t[b]=s===24?0:s}),k(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),k(["h","hh"],function(e,t,r){t[b]=_(e),y(r).bigHour=!0}),k("hmm",function(e,t,r){var s=e.length-2;t[b]=_(e.substr(0,s)),t[L]=_(e.substr(s)),y(r).bigHour=!0}),k("hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[b]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[Z]=_(e.substr(n)),y(r).bigHour=!0}),k("Hmm",function(e,t,r){var s=e.length-2;t[b]=_(e.substr(0,s)),t[L]=_(e.substr(s))}),k("Hmmss",function(e,t,r){var s=e.length-4,n=e.length-2;t[b]=_(e.substr(0,s)),t[L]=_(e.substr(s,2)),t[Z]=_(e.substr(n))});function mn(e){return(e+"").toLowerCase().charAt(0)==="p"}var yn=/[ap]\.?m?\.?/i,_n=ue("Hours",!0);function gn(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var sr={calendar:ns,longDateFormat:ls,invalidDate:ds,ordinal:hs,dayOfMonthOrdinalParse:fs,relativeTime:ys,months:Cs,monthsShort:qt,week:Gs,weekdays:Js,weekdaysMin:Ks,weekdaysShort:er,meridiemParse:yn},D={},De={},Ye;function wn(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function nr(e){return e&&e.toLowerCase().replace("_","-")}function pn(e){for(var t=0,r,s,n,a;t<e.length;){for(a=nr(e[t]).split("-"),r=a.length,s=nr(e[t+1]),s=s?s.split("-"):null;r>0;){if(n=Ie(a.slice(0,r).join("-")),n)return n;if(s&&s.length>=r&&wn(a,s)>=r-1)break;r--}t++}return Ye}function kn(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ie(e){var t=null,r;if(D[e]===void 0&&typeof module<"u"&&module&&module.exports&&kn(e))try{t=Ye._abbr,r=require,r("./locale/"+e),ee(t)}catch{D[e]=null}return D[e]}function ee(e,t){var r;return e&&(v(t)?r=Q(e):r=yt(e,t),r?Ye=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ye._abbr}function yt(e,t){if(t!==null){var r,s=sr;if(t.abbr=e,D[e]!=null)Ft("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."),s=D[e]._config;else if(t.parentLocale!=null)if(D[t.parentLocale]!=null)s=D[t.parentLocale]._config;else if(r=Ie(t.parentLocale),r!=null)s=r._config;else return De[t.parentLocale]||(De[t.parentLocale]=[]),De[t.parentLocale].push({name:e,config:t}),null;return D[e]=new rt(tt(s,t)),De[e]&&De[e].forEach(function(n){yt(n.name,n.config)}),ee(e),D[e]}else return delete D[e],null}function Sn(e,t){if(t!=null){var r,s,n=sr;D[e]!=null&&D[e].parentLocale!=null?D[e].set(tt(D[e]._config,t)):(s=Ie(e),s!=null&&(n=s._config),t=tt(n,t),s==null&&(t.abbr=e),r=new rt(t),r.parentLocale=D[e],D[e]=r),ee(e)}else D[e]!=null&&(D[e].parentLocale!=null?(D[e]=D[e].parentLocale,e===ee()&&ee(e)):D[e]!=null&&delete D[e]);return D[e]}function Q(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ye;if(!E(e)){if(t=Ie(e),t)return t;e=[e]}return pn(e)}function Mn(){return st(D)}function _t(e){var t,r=e._a;return r&&y(e).overflow===-2&&(t=r[B]<0||r[B]>11?B:r[G]<1||r[G]>ct(r[T],r[B])?G:r[b]<0||r[b]>24||r[b]===24&&(r[L]!==0||r[Z]!==0||r[se]!==0)?b:r[L]<0||r[L]>59?L:r[Z]<0||r[Z]>59?Z:r[se]<0||r[se]>999?se:-1,y(e)._overflowDayOfYear&&(t<T||t>G)&&(t=G),y(e)._overflowWeeks&&t===-1&&(t=Os),y(e)._overflowWeekday&&t===-1&&(t=bs),y(e).overflow=t),e}var Dn=/^\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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ST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ar(e){var t,r,s=e._i,n=Dn.exec(s)||Yn.exec(s),a,i,u,h,m=Fe.length,O=gt.length;if(n){for(y(e).iso=!0,t=0,r=m;t<r;t++)if(Fe[t][1].exec(n[1])){i=Fe[t][0],a=Fe[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,r=O;t<r;t++)if(gt[t][1].exec(n[3])){u=(n[2]||" ")+gt[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(n[4])if(On.exec(n[4]))h="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(h||""),pt(e)}else e._isValid=!1}function vn(e,t,r,s,n,a){var i=[Nn(e),qt.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function Nn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Cn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pn(e,t,r){if(e){var s=er.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(s!==n)return y(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Wn(e,t,r){if(e)return xn[e];if(t)return 0;var s=parseInt(r,10),n=s%100,a=(s-n)/100;return a*60+n}function ir(e){var t=Tn.exec(Cn(e._i)),r;if(t){if(r=vn(t[4],t[3],t[2],t[5],t[6],t[7]),!Pn(t[1],r,e))return;e._a=r,e._tzm=Wn(t[8],t[9],t[10]),e._d=Se.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function An(e){var t=bn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ar(e),e._isValid===!1)delete e._isValid;else return;if(ir(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:d.createFromInputFallback(e)}d.createFromInputFallback=P("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 de(e,t,r){return e??t??r}function En(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function wt(e){var t,r,s=[],n,a,i;if(!e._d){for(n=En(e),e._w&&e._a[G]==null&&e._a[B]==null&&Rn(e),e._dayOfYear!=null&&(i=de(e._a[T],n[T]),(e._dayOfYear>pe(i)||e._dayOfYear===0)&&(y(e)._overflowDayOfYear=!0),r=Se(i,0,e._dayOfYear),e._a[B]=r.getUTCMonth(),e._a[G]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=n[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[b]===24&&e._a[L]===0&&e._a[Z]===0&&e._a[se]===0&&(e._nextDay=!0,e._a[b]=0),e._d=(e._useUTC?Se:Us).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[b]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==a&&(y(e).weekdayMismatch=!0)}}function Rn(e){var t,r,s,n,a,i,u,h,m;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,r=de(t.GG,e._a[T],Me(M(),1,4).year),s=de(t.W,1),n=de(t.E,1),(n<1||n>7)&&(h=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,m=Me(M(),a,i),r=de(t.gg,e._a[T],m.year),s=de(t.w,m.week),t.d!=null?(n=t.d,(n<0||n>6)&&(h=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(h=!0)):n=a),s<1||s>q(r,a,i)?y(e)._overflowWeeks=!0:h!=null?y(e)._overflowWeekday=!0:(u=Xt(r,s,n,a,i),e._a[T]=u.year,e._dayOfYear=u.dayOfYear)}d.ISO_8601=function(){},d.RFC_2822=function(){};function pt(e){if(e._f===d.ISO_8601){ar(e);return}if(e._f===d.RFC_2822){ir(e);return}e._a=[],y(e).empty=!0;var t=""+e._i,r,s,n,a,i,u=t.length,h=0,m,O;for(n=Vt(e._f,e._locale).match(nt)||[],O=n.length,r=0;r<O;r++)a=n[r],s=(t.match(Ms(a,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&y(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),h+=s.length),ie[a]?(s?y(e).empty=!1:y(e).unusedTokens.push(a),Ys(a,s,e)):e._strict&&!s&&y(e).unusedTokens.push(a);y(e).charsLeftOver=u-h,t.length>0&&y(e).unusedInput.push(t),e._a[b]<=12&&y(e).bigHour===!0&&e._a[b]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[b]=Ln(e._locale,e._a[b],e._meridiem),m=y(e).era,m!==null&&(e._a[T]=e._locale.erasConvertYear(m,e._a[T])),wt(e),_t(e)}function Ln(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function In(e){var t,r,s,n,a,i,u=!1,h=e._f.length;if(h===0){y(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<h;n++)a=0,i=!1,t=et({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],pt(t),$e(t)&&(i=!0),a+=y(t).charsLeftOver,a+=y(t).unusedTokens.length*10,y(t).score=a,u?a<s&&(s=a,r=t):(s==null||a<s||i)&&(s=a,r=t,i&&(u=!0));X(e,r||t)}function Fn(e){if(!e._d){var t=it(e._i),r=t.day===void 0?t.date:t.day;e._a=Et([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),wt(e)}}function Vn(e){var t=new _e(_t(or(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function or(e){var t=e._i,r=e._f;return e._locale=e._locale||Q(e._l),t===null||r===void 0&&t===""?Te({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),R(t)?new _e(_t(t)):(ye(t)?e._d=t:E(r)?In(e):r?pt(e):Un(e),$e(e)||(e._d=null),e))}function Un(e){var t=e._i;v(t)?e._d=new Date(d.now()):ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?An(e):E(t)?(e._a=Et(t.slice(0),function(r){return parseInt(r,10)}),wt(e)):re(t)?Fn(e):j(t)?e._d=new Date(t):d.createFromInputFallback(e)}function lr(e,t,r,s,n){var a={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(re(e)&&Je(e)||E(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=r,a._i=e,a._f=t,a._strict=s,Vn(a)}function M(e,t,r,s){return lr(e,t,r,s,!1)}var Hn=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Te()}),Gn=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Te()});function ur(e,t){var r,s;if(t.length===1&&E(t[0])&&(t=t[0]),!t.length)return M();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function jn(){var e=[].slice.call(arguments,0);return ur("isBefore",e)}function zn(){var e=[].slice.call(arguments,0);return ur("isAfter",e)}var Bn=function(){return Date.now?Date.now():+new Date},Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Zn(e){var t,r=!1,s,n=Oe.length;for(t in e)if(w(e,t)&&!(Y.call(Oe,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<n;++s)if(e[Oe[s]]){if(r)return!1;parseFloat(e[Oe[s]])!==_(e[Oe[s]])&&(r=!0)}return!0}function qn(){return this._isValid}function Qn(){return I(NaN)}function Ve(e){var t=it(e),r=t.year||0,s=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,h=t.minute||0,m=t.second||0,O=t.millisecond||0;this._isValid=Zn(t),this._milliseconds=+O+m*1e3+h*6e4+u*1e3*60*60,this._days=+i+a*7,this._months=+n+s*3+r*12,this._data={},this._locale=Q(),this._bubble()}function Ue(e){return e instanceof Ve}function kt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Jn(e,t,r){var s=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<s;i++)_(e[i])!==_(t[i])&&a++;return a+n}function dr(e,t){f(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+H(~~(r/60),2)+t+H(~~r%60,2)})}dr("Z",":"),dr("ZZ",""),c("Z",Ae),c("ZZ",Ae),k(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=St(Ae,e)});var Kn=/([\+\-]|\d\d)/gi;function St(e,t){var r=(t||"").match(e),s,n,a;return r===null?null:(s=r[r.length-1]||[],n=(s+"").match(Kn)||["-",0,0],a=+(n[1]*60)+_(n[2]),a===0?0:n[0]==="+"?a:-a)}function Mt(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(R(e)||ye(e)?e.valueOf():M(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),d.updateOffset(r,!1),r):M(e).local()}function Dt(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function $n(e,t,r){var s=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=St(Ae,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(n=Dt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),s!==e&&(!t||this._changeInProgress?mr(this,I(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Dt(this)}function Xn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ea(e){return this.utcOffset(0,e)}function ta(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Dt(this),"m")),this}function ra(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=St(ks,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function sa(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function na(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function aa(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={},t;return et(e,this),e=or(e),e._a?(t=e._isUTC?V(e._a):M(e._a),this._isDSTShifted=this.isValid()&&Jn(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function ia(){return this.isValid()?!this._isUTC:!1}function oa(){return this.isValid()?this._isUTC:!1}function cr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var la=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ua=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e,t){var r=e,s=null,n,a,i;return Ue(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:j(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=la.exec(e))?(n=s[1]==="-"?-1:1,r={y:0,d:_(s[G])*n,h:_(s[b])*n,m:_(s[L])*n,s:_(s[Z])*n,ms:_(kt(s[se]*1e3))*n}):(s=ua.exec(e))?(n=s[1]==="-"?-1:1,r={y:ne(s[2],n),M:ne(s[3],n),w:ne(s[4],n),d:ne(s[5],n),h:ne(s[6],n),m:ne(s[7],n),s:ne(s[8],n)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(i=da(M(r.from),M(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),a=new Ve(r),Ue(e)&&w(e,"_locale")&&(a._locale=e._locale),Ue(e)&&w(e,"_isValid")&&(a._isValid=e._isValid),a}I.fn=Ve.prototype,I.invalid=Qn;function ne(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function hr(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 da(e,t){var r;return e.isValid()&&t.isValid()?(t=Mt(t,e),e.isBefore(t)?r=hr(e,t):(r=hr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function fr(e,t){return function(r,s){var n,a;return s!==null&&!isNaN(+s)&&(Ft(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."),a=r,r=s,s=a),n=I(r,s),mr(this,n,e),this}}function mr(e,t,r,s){var n=t._milliseconds,a=kt(t._days),i=kt(t._months);e.isValid()&&(s=s??!0,i&&Jt(e,ke(e,"Month")+i*r),a&&Zt(e,"Date",ke(e,"Date")+a*r),n&&e._d.setTime(e._d.valueOf()+n*r),s&&d.updateOffset(e,a||i))}var ca=fr(1,"add"),ha=fr(-1,"subtract");function yr(e){return typeof e=="string"||e instanceof String}function fa(e){return R(e)||ye(e)||yr(e)||j(e)||ya(e)||ma(e)||e===null||e===void 0}function ma(e){var t=re(e)&&!Je(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,i=s.length;for(n=0;n<i;n+=1)a=s[n],r=r||w(e,a);return t&&r}function ya(e){var t=E(e),r=!1;return t&&(r=e.filter(function(s){return!j(s)&&yr(e)}).length===0),t&&r}function _a(e){var t=re(e)&&!Je(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<s.length;n+=1)a=s[n],r=r||w(e,a);return t&&r}function ga(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 wa(e,t){arguments.length===1&&(arguments[0]?fa(arguments[0])?(e=arguments[0],t=void 0):_a(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||M(),s=Mt(r,this).startOf("day"),n=d.calendarFormat(this,s)||"sameElse",a=t&&(U(t[n])?t[n].call(this,r):t[n]);return this.format(a||this.localeData().calendar(n,this,M(r)))}function pa(){return new _e(this)}function ka(e,t){var r=R(e)?e:M(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Sa(e,t){var r=R(e)?e:M(e);return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Ma(e,t,r,s){var n=R(e)?e:M(e),a=R(t)?t:M(t);return this.isValid()&&n.isValid()&&a.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(n,r):!this.isBefore(n,r))&&(s[1]===")"?this.isBefore(a,r):!this.isAfter(a,r))):!1}function Da(e,t){var r=R(e)?e:M(e),s;return this.isValid()&&r.isValid()?(t=W(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Ya(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Oa(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ba(e,t,r){var s,n,a;if(!this.isValid())return NaN;if(s=Mt(e,this),!s.isValid())return NaN;switch(n=(s.utcOffset()-this.utcOffset())*6e4,t=W(t),t){case"year":a=He(this,s)/12;break;case"month":a=He(this,s);break;case"quarter":a=He(this,s)/3;break;case"second":a=(this-s)/1e3;break;case"minute":a=(this-s)/6e4;break;case"hour":a=(this-s)/36e5;break;case"day":a=(this-s-n)/864e5;break;case"week":a=(this-s-n)/6048e5;break;default:a=this-s}return r?a:A(a)}function He(e,t){if(e.date()<t.date())return-He(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),n,a;return t-s<0?(n=e.clone().add(r-1,"months"),a=(t-s)/(s-n)):(n=e.clone().add(r+1,"months"),a=(t-s)/(n-s)),-(r+a)||0}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ta(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function xa(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?ve(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):U(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ve(r,"Z")):ve(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function va(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(r+s+n+a)}function Na(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=ve(this,e);return this.localeData().postformat(t)}function Ca(e,t){return this.isValid()&&(R(e)&&e.isValid()||M(e).isValid())?I({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Pa(e){return this.from(M(),e)}function Wa(e,t){return this.isValid()&&(R(e)&&e.isValid()||M(e).isValid())?I({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Aa(e){return this.to(M(),e)}function _r(e){var t;return e===void 0?this._locale._abbr:(t=Q(e),t!=null&&(this._locale=t),this)}var gr=P("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 wr(){return this._locale}var Ge=1e3,ce=60*Ge,je=60*ce,pr=(365*400+97)*24*je;function he(e,t){return(e%t+t)%t}function kr(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-pr:new Date(e,t,r).valueOf()}function Sr(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-pr:Date.UTC(e,t,r)}function Ea(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Sr:kr,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-=he(t+(this._isUTC?0:this.utcOffset()*ce),je);break;case"minute":t=this._d.valueOf(),t-=he(t,ce);break;case"second":t=this._d.valueOf(),t-=he(t,Ge);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ra(e){var t,r;if(e=W(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Sr:kr,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+=je-he(t+(this._isUTC?0:this.utcOffset()*ce),je)-1;break;case"minute":t=this._d.valueOf(),t+=ce-he(t,ce)-1;break;case"second":t=this._d.valueOf(),t+=Ge-he(t,Ge)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function La(){return this._d.valueOf()-(this._offset||0)*6e4}function Ia(){return Math.floor(this.valueOf()/1e3)}function Fa(){return new Date(this.valueOf())}function Va(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ua(){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 Ha(){return this.isValid()?this.toISOString():null}function Ga(){return $e(this)}function ja(){return X({},y(this))}function za(){return y(this).overflow}function Ba(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}f("N",0,0,"eraAbbr"),f("NN",0,0,"eraAbbr"),f("NNN",0,0,"eraAbbr"),f("NNNN",0,0,"eraName"),f("NNNNN",0,0,"eraNarrow"),f("y",["y",1],"yo","eraYear"),f("y",["yy",2],0,"eraYear"),f("y",["yyy",3],0,"eraYear"),f("y",["yyyy",4],0,"eraYear"),c("N",Yt),c("NN",Yt),c("NNN",Yt),c("NNNN",si),c("NNNNN",ni),k(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var n=r._locale.erasParse(e,s,r._strict);n?y(r).era=n:y(r).invalidEra=e}),c("y",oe),c("yy",oe),c("yyy",oe),c("yyyy",oe),c("yo",ai),k(["y","yy","yyy","yyyy"],T),k(["yo"],function(e,t,r,s){var n;r._locale._eraYearOrdinalRegex&&(n=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[T]=r._locale.eraYearOrdinalParse(e,n):t[T]=parseInt(e,10)});function Za(e,t){var r,s,n,a=this._eras||Q("en")._eras;for(r=0,s=a.length;r<s;++r){switch(typeof a[r].since){case"string":n=d(a[r].since).startOf("day"),a[r].since=n.valueOf();break}switch(typeof a[r].until){case"undefined":a[r].until=1/0;break;case"string":n=d(a[r].until).startOf("day").valueOf(),a[r].until=n.valueOf();break}}return a}function qa(e,t,r){var s,n,a=this.eras(),i,u,h;for(e=e.toUpperCase(),s=0,n=a.length;s<n;++s)if(i=a[s].name.toUpperCase(),u=a[s].abbr.toUpperCase(),h=a[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[s];break;case"NNNN":if(i===e)return a[s];break;case"NNNNN":if(h===e)return a[s];break}else if([i,u,h].indexOf(e)>=0)return a[s]}function Qa(e,t){var r=e.since<=e.until?1:-1;return t===void 0?d(e.since).year():d(e.since).year()+(t-e.offset)*r}function Ja(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Ka(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function $a(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function Xa(){var e,t,r,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(r=n[e].since<=n[e].until?1:-1,s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return(this.year()-d(n[e].since).year())*r+n[e].offset;return this.year()}function ei(e){return w(this,"_erasNameRegex")||Ot.call(this),e?this._erasNameRegex:this._erasRegex}function ti(e){return w(this,"_erasAbbrRegex")||Ot.call(this),e?this._erasAbbrRegex:this._erasRegex}function ri(e){return w(this,"_erasNarrowRegex")||Ot.call(this),e?this._erasNarrowRegex:this._erasRegex}function Yt(e,t){return t.erasAbbrRegex(e)}function si(e,t){return t.erasNameRegex(e)}function ni(e,t){return t.erasNarrowRegex(e)}function ai(e,t){return t._eraYearOrdinalRegex||oe}function Ot(){var e=[],t=[],r=[],s=[],n,a,i,u,h,m=this.eras();for(n=0,a=m.length;n<a;++n)i=z(m[n].name),u=z(m[n].abbr),h=z(m[n].narrow),t.push(i),e.push(u),r.push(h),s.push(i),s.push(u),s.push(h);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}f(0,["gg",2],0,function(){return this.weekYear()%100}),f(0,["GG",2],0,function(){return this.isoWeekYear()%100});function ze(e,t){f(0,[e,e.length],0,t)}ze("gggg","weekYear"),ze("ggggg","weekYear"),ze("GGGG","isoWeekYear"),ze("GGGGG","isoWeekYear"),c("G",We),c("g",We),c("GG",S,C),c("gg",S,C),c("GGGG",lt,ot),c("gggg",lt,ot),c("GGGGG",Pe,Ne),c("ggggg",Pe,Ne),we(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=_(e)}),we(["gg","GG"],function(e,t,r,s){t[s]=d.parseTwoDigitYear(e)});function ii(e){return Mr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function oi(e){return Mr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function li(){return q(this.year(),1,4)}function ui(){return q(this.isoWeekYear(),1,4)}function di(){var e=this.localeData()._week;return q(this.year(),e.dow,e.doy)}function ci(){var e=this.localeData()._week;return q(this.weekYear(),e.dow,e.doy)}function Mr(e,t,r,s,n){var a;return e==null?Me(this,s,n).year:(a=q(e,s,n),t>a&&(t=a),hi.call(this,e,t,r,s,n))}function hi(e,t,r,s,n){var a=Xt(e,t,r,s,n),i=Se(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}f("Q",0,"Qo","quarter"),c("Q",Ht),k("Q",function(e,t){t[B]=(_(e)-1)*3});function fi(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}f("D",["DD",2],"Do","date"),c("D",S,le),c("DD",S,C),c("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),k(["D","DD"],G),k("Do",function(e,t){t[G]=_(e.match(S)[0])});var Dr=ue("Date",!0);f("DDD",["DDDD",3],"DDDo","dayOfYear"),c("DDD",Ce),c("DDDD",Gt),k(["DDD","DDDD"],function(e,t,r){r._dayOfYear=_(e)});function mi(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}f("m",["mm",2],0,"minute"),c("m",S,ut),c("mm",S,C),k(["m","mm"],L);var yi=ue("Minutes",!1);f("s",["ss",2],0,"second"),c("s",S,ut),c("ss",S,C),k(["s","ss"],Z);var _i=ue("Seconds",!1);f("S",0,0,function(){return~~(this.millisecond()/100)}),f(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),f(0,["SSS",3],0,"millisecond"),f(0,["SSSS",4],0,function(){return this.millisecond()*10}),f(0,["SSSSS",5],0,function(){return this.millisecond()*100}),f(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),f(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),f(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),f(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),c("S",Ce,Ht),c("SS",Ce,C),c("SSS",Ce,Gt);var te,Yr;for(te="SSSS";te.length<=9;te+="S")c(te,oe);function gi(e,t){t[se]=_(("0."+e)*1e3)}for(te="S";te.length<=9;te+="S")k(te,gi);Yr=ue("Milliseconds",!1),f("z",0,0,"zoneAbbr"),f("zz",0,0,"zoneName");function wi(){return this._isUTC?"UTC":""}function pi(){return this._isUTC?"Coordinated Universal Time":""}var l=_e.prototype;l.add=ca,l.calendar=wa,l.clone=pa,l.diff=ba,l.endOf=Ra,l.format=Na,l.from=Ca,l.fromNow=Pa,l.to=Wa,l.toNow=Aa,l.get=xs,l.invalidAt=za,l.isAfter=ka,l.isBefore=Sa,l.isBetween=Ma,l.isSame=Da,l.isSameOrAfter=Ya,l.isSameOrBefore=Oa,l.isValid=Ga,l.lang=gr,l.locale=_r,l.localeData=wr,l.max=Gn,l.min=Hn,l.parsingFlags=ja,l.set=vs,l.startOf=Ea,l.subtract=ha,l.toArray=Va,l.toObject=Ua,l.toDate=Fa,l.toISOString=xa,l.inspect=va,typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),l.toJSON=Ha,l.toString=Ta,l.unix=Ia,l.valueOf=La,l.creationData=Ba,l.eraName=Ja,l.eraNarrow=Ka,l.eraAbbr=$a,l.eraYear=Xa,l.year=Bt,l.isLeapYear=Ts,l.weekYear=ii,l.isoWeekYear=oi,l.quarter=l.quarters=fi,l.month=Kt,l.daysInMonth=Is,l.week=l.weeks=Bs,l.isoWeek=l.isoWeeks=Zs,l.weeksInYear=di,l.weeksInWeekYear=ci,l.isoWeeksInYear=li,l.isoWeeksInISOWeekYear=ui,l.date=Dr,l.day=l.days=on,l.weekday=ln,l.isoWeekday=un,l.dayOfYear=mi,l.hour=l.hours=_n,l.minute=l.minutes=yi,l.second=l.seconds=_i,l.millisecond=l.milliseconds=Yr,l.utcOffset=$n,l.utc=ea,l.local=ta,l.parseZone=ra,l.hasAlignedHourOffset=sa,l.isDST=na,l.isLocal=ia,l.isUtcOffset=oa,l.isUtc=cr,l.isUTC=cr,l.zoneAbbr=wi,l.zoneName=pi,l.dates=P("dates accessor is deprecated. Use date instead.",Dr),l.months=P("months accessor is deprecated. Use month instead",Kt),l.years=P("years accessor is deprecated. Use year instead",Bt),l.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Xn),l.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",aa);function ki(e){return M(e*1e3)}function Si(){return M.apply(null,arguments).parseZone()}function Or(e){return e}var p=rt.prototype;p.calendar=as,p.longDateFormat=us,p.invalidDate=cs,p.ordinal=ms,p.preparse=Or,p.postformat=Or,p.relativeTime=_s,p.pastFuture=gs,p.set=ss,p.eras=Za,p.erasParse=qa,p.erasConvertYear=Qa,p.erasAbbrRegex=ti,p.erasNameRegex=ei,p.erasNarrowRegex=ri,p.months=As,p.monthsShort=Es,p.monthsParse=Ls,p.monthsRegex=Vs,p.monthsShortRegex=Fs,p.week=Hs,p.firstDayOfYear=zs,p.firstDayOfWeek=js,p.weekdays=tn,p.weekdaysMin=sn,p.weekdaysShort=rn,p.weekdaysParse=an,p.weekdaysRegex=dn,p.weekdaysShortRegex=cn,p.weekdaysMinRegex=hn,p.isPM=mn,p.meridiem=gn;function Be(e,t,r,s){var n=Q(),a=V().set(s,t);return n[r](a,e)}function br(e,t,r){if(j(e)&&(t=e,e=void 0),e=e||"",t!=null)return Be(e,t,r,"month");var s,n=[];for(s=0;s<12;s++)n[s]=Be(e,s,r,"month");return n}function bt(e,t,r,s){typeof e=="boolean"?(j(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,j(t)&&(r=t,t=void 0),t=t||"");var n=Q(),a=e?n._week.dow:0,i,u=[];if(r!=null)return Be(t,(r+a)%7,s,"day");for(i=0;i<7;i++)u[i]=Be(t,(i+a)%7,s,"day");return u}function Mi(e,t){return br(e,t,"months")}function Di(e,t){return br(e,t,"monthsShort")}function Yi(e,t,r){return bt(e,t,r,"weekdays")}function Oi(e,t,r){return bt(e,t,r,"weekdaysShort")}function bi(e,t,r){return bt(e,t,r,"weekdaysMin")}ee("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=_(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),d.lang=P("moment.lang is deprecated. Use moment.locale instead.",ee),d.langData=P("moment.langData is deprecated. Use moment.localeData instead.",Q);var J=Math.abs;function Ti(){var e=this._data;return this._milliseconds=J(this._milliseconds),this._days=J(this._days),this._months=J(this._months),e.milliseconds=J(e.milliseconds),e.seconds=J(e.seconds),e.minutes=J(e.minutes),e.hours=J(e.hours),e.months=J(e.months),e.years=J(e.years),this}function Tr(e,t,r,s){var n=I(t,r);return e._milliseconds+=s*n._milliseconds,e._days+=s*n._days,e._months+=s*n._months,e._bubble()}function xi(e,t){return Tr(this,e,t,1)}function vi(e,t){return Tr(this,e,t,-1)}function xr(e){return e<0?Math.floor(e):Math.ceil(e)}function Ni(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,n,a,i,u,h;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=xr(Tt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,n=A(e/1e3),s.seconds=n%60,a=A(n/60),s.minutes=a%60,i=A(a/60),s.hours=i%24,t+=A(i/24),h=A(vr(t)),r+=h,t-=xr(Tt(h)),u=A(r/12),r%=12,s.days=t,s.months=r,s.years=u,this}function vr(e){return e*4800/146097}function Tt(e){return e*146097/4800}function Ci(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=W(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+vr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Tt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function K(e){return function(){return this.as(e)}}var Nr=K("ms"),Pi=K("s"),Wi=K("m"),Ai=K("h"),Ei=K("d"),Ri=K("w"),Li=K("M"),Ii=K("Q"),Fi=K("y"),Vi=Nr;function Ui(){return I(this)}function Hi(e){return e=W(e),this.isValid()?this[e+"s"]():NaN}function ae(e){return function(){return this.isValid()?this._data[e]:NaN}}var Gi=ae("milliseconds"),ji=ae("seconds"),zi=ae("minutes"),Bi=ae("hours"),Zi=ae("days"),qi=ae("months"),Qi=ae("years");function Ji(){return A(this.days()/7)}var $=Math.round,fe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Ki(e,t,r,s,n){return n.relativeTime(t||1,!!r,e,s)}function $i(e,t,r,s){var n=I(e).abs(),a=$(n.as("s")),i=$(n.as("m")),u=$(n.as("h")),h=$(n.as("d")),m=$(n.as("M")),O=$(n.as("w")),x=$(n.as("y")),F=a<=r.ss&&["s",a]||a<r.s&&["ss",a]||i<=1&&["m"]||i<r.m&&["mm",i]||u<=1&&["h"]||u<r.h&&["hh",u]||h<=1&&["d"]||h<r.d&&["dd",h];return r.w!=null&&(F=F||O<=1&&["w"]||O<r.w&&["ww",O]),F=F||m<=1&&["M"]||m<r.M&&["MM",m]||x<=1&&["y"]||["yy",x],F[2]=t,F[3]=+e>0,F[4]=s,Ki.apply(null,F)}function Xi(e){return e===void 0?$:typeof e=="function"?($=e,!0):!1}function eo(e,t){return fe[e]===void 0?!1:t===void 0?fe[e]:(fe[e]=t,e==="s"&&(fe.ss=t-1),!0)}function to(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=fe,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},fe,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),n=this.localeData(),a=$i(this,!r,s,n),r&&(a=n.pastFuture(+this,a)),n.postformat(a)}var xt=Math.abs;function me(e){return(e>0)-(e<0)||+e}function Ze(){if(!this.isValid())return this.localeData().invalidDate();var e=xt(this._milliseconds)/1e3,t=xt(this._days),r=xt(this._months),s,n,a,i,u=this.asSeconds(),h,m,O,x;return u?(s=A(e/60),n=A(s/60),e%=60,s%=60,a=A(r/12),r%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",h=u<0?"-":"",m=me(this._months)!==me(u)?"-":"",O=me(this._days)!==me(u)?"-":"",x=me(this._milliseconds)!==me(u)?"-":"",h+"P"+(a?m+a+"Y":"")+(r?m+r+"M":"")+(t?O+t+"D":"")+(n||s||e?"T":"")+(n?x+n+"H":"")+(s?x+s+"M":"")+(e?x+i+"S":"")):"P0D"}var g=Ve.prototype;g.isValid=qn,g.abs=Ti,g.add=xi,g.subtract=vi,g.as=Ci,g.asMilliseconds=Nr,g.asSeconds=Pi,g.asMinutes=Wi,g.asHours=Ai,g.asDays=Ei,g.asWeeks=Ri,g.asMonths=Li,g.asQuarters=Ii,g.asYears=Fi,g.valueOf=Vi,g._bubble=Ni,g.clone=Ui,g.get=Hi,g.milliseconds=Gi,g.seconds=ji,g.minutes=zi,g.hours=Bi,g.days=Zi,g.weeks=Ji,g.months=qi,g.years=Qi,g.humanize=to,g.toISOString=Ze,g.toString=Ze,g.toJSON=Ze,g.locale=_r,g.localeData=wr,g.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ze),g.lang=gr,f("X",0,0,"unix"),f("x",0,0,"valueOf"),c("x",We),c("X",Ss),k("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),k("x",function(e,t,r){r._d=new Date(_(e))});//! moment.js
10
+ d.version="2.30.1",ts(M),d.fn=l,d.min=jn,d.max=zn,d.now=Bn,d.utc=V,d.unix=ki,d.months=Mi,d.isDate=ye,d.locale=ee,d.invalid=Te,d.duration=I,d.isMoment=R,d.weekdays=Yi,d.parseZone=Si,d.localeData=Q,d.isDuration=Ue,d.monthsShort=Di,d.weekdaysMin=bi,d.defineLocale=yt,d.updateLocale=Sn,d.locales=Mn,d.weekdaysShort=Oi,d.normalizeUnits=W,d.relativeTimeRounding=Xi,d.relativeTimeThreshold=eo,d.calendarFormat=ga,d.prototype=l,d.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"};const ro={class:"d-flex align-items-center justify-content-center bg-white shadow-sm py-3"},Cr=o.defineComponent({__name:"Footer",props:{copyrightText:{type:String,required:!0}},setup(e){const t=e;return(r,s)=>(o.openBlock(),o.createElementBlock("footer",ro,o.toDisplayString(t.copyrightText)+" "+o.toDisplayString(o.unref(d)().year()),1))}}),so=o.defineComponent({__name:"LoginLayoutFrame",props:{loginText:{},brandText:{},copyrightText:{},mainClass:{default:"my-5"}},setup(e){const t=e;if(typeof t.loginText!="string")throw new Error("LoginLayoutFrame: loginText обязателен");if(!t.brandText.trim())throw new Error("LoginLayoutFrame: brandText обязателен");if(!t.copyrightText.trim())throw new Error("LoginLayoutFrame: copyrightText обязателен");return(r,s)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(Wt,{"is-authenticated":!1,"login-text":r.loginText,"raw-dropdown-links":[],"brand-text":r.brandText},{logo:o.withCtx(()=>[o.createVNode(Qe)]),"language-selector":o.withCtx(()=>[o.renderSlot(r.$slots,"language-selector")]),_:3},8,["login-text","brand-text"]),o.createElementVNode("main",{class:o.normalizeClass(r.mainClass),style:{"min-height":"80vh"}},[o.renderSlot(r.$slots,"default")],2),o.createVNode(Cr,{"copyright-text":r.copyrightText},null,8,["copyright-text"])],64))}}),no={__name:"Spinner",props:{isSmall:{type:Boolean,default:!1}},setup(e){return(t,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["spinner-border",{"spinner-border-sm":e.isSmall}]),role:"status"},null,2))}},ao={class:"container","data-test":"SsoLoginPending"},io={class:"row justify-content-center"},oo={class:"col-md-8"},lo={class:"card"},uo={class:"card-header"},co={class:"card-body"},ho={class:"login-spinner text-center",role:"status","aria-live":"polite"},fo={class:"visually-hidden","data-test":"SsoLoginPending-status"},Pr=be(o.defineComponent({__name:"SsoLoginPending",props:{title:{},statusText:{}},setup(e){const t=e;if(!t.title.trim())throw new Error("SsoLoginPending: title обязателен");if(!t.statusText.trim())throw new Error("SsoLoginPending: statusText обязателен");return(r,s)=>(o.openBlock(),o.createElementBlock("div",ao,[o.createElementVNode("div",io,[o.createElementVNode("div",oo,[o.createElementVNode("div",lo,[o.createElementVNode("div",uo,o.toDisplayString(r.title),1),o.createElementVNode("div",co,[o.createElementVNode("div",ho,[o.createVNode(no),o.createElementVNode("span",fo,o.toDisplayString(r.statusText),1)])])])])])]))}}),[["__scopeId","data-v-6eb41b83"]]),Wr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";function Ar(){const e=globalThis.crypto;if(!e)throw new Error("Web Crypto API is not available.");if(!e.getRandomValues)throw new Error("Web Crypto getRandomValues is not available.");if(!e.subtle?.digest)throw new Error("Web Crypto subtle digest is not available.");return e}function Er(e){const t=Ar(),r=new Uint8Array(e);t.getRandomValues(r);let s="";return r.forEach(n=>{s+=Wr[n%Wr.length]}),s}function mo(e){const t=new Uint8Array(e);let r="";return t.forEach(s=>{r+=String.fromCharCode(s)}),btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,"")}function yo(e=64){if(!Number.isInteger(e)||e<43||e>128)throw new Error("PKCE code_verifier length must be between 43 and 128.");return Er(e)}async function _o(e){const t=Ar(),s=new TextEncoder().encode(e),n=await t.subtle.digest("SHA-256",s);return mo(n)}async function go(e=64){const t=yo(e),r=await _o(t);return{codeVerifier:t,codeChallenge:r}}function wo(e=32){if(!Number.isInteger(e)||e<16||e>128)throw new Error("OAuth state length must be between 16 and 128.");return Er(e)}const po="Web Crypto API недоступен. Используйте HTTPS или обновите браузер.",ko="NUXT_PUBLIC_ORIGIN не совпадает с адресом вкладки. Откройте приложение по origin из конфига.",vt="r3ui-sso-start-lock",Nt="r3ui-sso-auth-url";let qe=!1;function So(){try{return sessionStorage.getItem(vt)==="1"}catch{return!1}}function Mo(){try{const e=sessionStorage.getItem(Nt);return typeof e=="string"&&e.length>0?e:null}catch{return null}}function Rr(){try{sessionStorage.setItem(vt,"1")}catch{}}function Do(e){try{sessionStorage.setItem(Nt,e)}catch{}}function Ct(){qe=!1;try{sessionStorage.removeItem(vt),sessionStorage.removeItem(Nt)}catch{}}async function Lr(e){if(!e||typeof e.setLoading!="function")throw new Error("signInWithSSO: deps.setLoading обязателен");if(typeof e.getPublicConfig!="function")throw new Error("signInWithSSO: deps.getPublicConfig обязателен");if(typeof e.useCookie!="function")throw new Error("signInWithSSO: deps.useCookie обязателен");if(typeof e.showError!="function")throw new Error("signInWithSSO: deps.showError обязателен");if(typeof window>"u")return;const t=e.redirectTo??(h=>{window.location.href=h}),s={maxAge:300,sameSite:"lax",secure:(e.isSecure??(()=>window.location.protocol==="https:"))(),path:"/"},n=()=>{const h=e.useCookie("pkce_state",s).value;return typeof h=="string"&&h.length>0?h:null},a=()=>{const h=Mo();return n()?(qe=!0,Rr(),h&&t(h),!0):!1};if(qe)return;if(So()){if(a())return;Ct()}e.setLoading(!0);const i=e.generatePkcePair??go,u=e.generateState??wo;try{const{authApiUrl:h,ssoClientId:m,origin:O}=e.getPublicConfig();if(!h||!m)throw new Error("Не настроены CLIENT_ID или NUXT_AUTH_API_URL");if(typeof O!="string"||O!==window.location.origin){e.setLoading(!1),e.showError({statusCode:400,statusMessage:ko});return}if(a()){e.setLoading(!1);return}qe=!0,Rr();let x,F,Pt;try{({codeVerifier:x,codeChallenge:F}=await i()),Pt=u()}catch{Ct(),e.setLoading(!1),e.showError({statusCode:500,statusMessage:po});return}e.useCookie("pkce_verifier",s).value=x,e.useCookie("pkce_state",s).value=Pt;const Oo=`${O}/api/auth/callback`,Ir=`${h}/oauth/authorize?`+new URLSearchParams({client_id:m,redirect_uri:Oo,response_type:"code",scope:"*",code_challenge:F,code_challenge_method:"S256",state:Pt});Do(Ir),t(Ir)}catch{Ct(),e.setLoading(!1)}}const Yo=o.defineComponent({__name:"SsoLoginScreen",props:{title:{},statusText:{},getPublicConfig:{type:Function},useCookie:{type:Function},showError:{type:Function}},setup(e){const t=e;if(!t.title.trim())throw new Error("SsoLoginScreen: title обязателен");if(!t.statusText.trim())throw new Error("SsoLoginScreen: statusText обязателен");if(typeof t.getPublicConfig!="function")throw new Error("SsoLoginScreen: getPublicConfig обязателен");if(typeof t.useCookie!="function")throw new Error("SsoLoginScreen: useCookie обязателен");if(typeof t.showError!="function")throw new Error("SsoLoginScreen: showError обязателен");return Lr({setLoading:()=>{},getPublicConfig:t.getPublicConfig,useCookie:t.useCookie,showError:t.showError}),(r,s)=>(o.openBlock(),o.createBlock(Pr,{title:r.title,"status-text":r.statusText},null,8,["title","status-text"]))}});N.Footer=Cr,N.Header=Wt,N.LoginLayoutFrame=so,N.Logo=Qe,N.SsoLoginPending=Pr,N.SsoLoginScreen=Yo,N.signInWithSSO=Lr,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})}));