vue-wiguet-chatweb 0.0.2 → 0.0.4
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/README.md +3 -1
- package/dist/store/index.d.ts +3 -2
- package/dist/style.css +1 -1
- package/dist/vue-wiguet-chatweb.js +3171 -2460
- package/dist/vue-wiguet-chatweb.umd.cjs +9 -11
- package/package.json +2 -3
- package/src/components/Chat.vue +63 -19
- package/src/components/ChatMessage.vue +5 -5
@@ -1,16 +1,14 @@
|
|
1
|
-
(function(
|
1
|
+
(function(pe,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],h):(pe=typeof globalThis<"u"?globalThis:pe||self,h(pe["vue-wiguet-chatweb"]={},pe.Vue))})(this,function(pe,h){"use strict";//! moment.js
|
2
2
|
//! version : 2.29.4
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
4
4
|
//! license : MIT
|
5
5
|
//! momentjs.com
|
6
|
-
var
|
7
|
-
[`+i+"] ";for(a in arguments[0])
|
6
|
+
var Es;function m(){return Es.apply(null,arguments)}function er(e){Es=e}function J(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ke(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function D(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ft(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(D(e,t))return!1;return!0}function H(e){return e===void 0}function ae(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Le(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Ms(e,t){var s=[],n,r=e.length;for(n=0;n<r;++n)s.push(t(e[n],n));return s}function ye(e,t){for(var s in t)D(t,s)&&(e[s]=t[s]);return D(t,"toString")&&(e.toString=t.toString),D(t,"valueOf")&&(e.valueOf=t.valueOf),e}function ee(e,t,s,n){return tn(e,t,s,n,!0).utc()}function tr(){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 S(e){return e._pf==null&&(e._pf=tr()),e._pf}var Lt;Array.prototype.some?Lt=Array.prototype.some:Lt=function(e){var t=Object(this),s=t.length>>>0,n;for(n=0;n<s;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};function It(e){if(e._isValid==null){var t=S(e),s=Lt.call(t.parsedDateParts,function(r){return r!=null}),n=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&s);if(e._strict&&(n=n&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=n;else return n}return e._isValid}function Xe(e){var t=ee(NaN);return e!=null?ye(S(t),e):S(t).userInvalidated=!0,t}var vs=m.momentProperties=[],Ut=!1;function Wt(e,t){var s,n,r,i=vs.length;if(H(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),H(t._i)||(e._i=t._i),H(t._f)||(e._f=t._f),H(t._l)||(e._l=t._l),H(t._strict)||(e._strict=t._strict),H(t._tzm)||(e._tzm=t._tzm),H(t._isUTC)||(e._isUTC=t._isUTC),H(t._offset)||(e._offset=t._offset),H(t._pf)||(e._pf=S(t)),H(t._locale)||(e._locale=t._locale),i>0)for(s=0;s<i;s++)n=vs[s],r=t[n],H(r)||(e[n]=r);return e}function Ie(e){Wt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ut===!1&&(Ut=!0,m.updateOffset(this),Ut=!1)}function K(e){return e instanceof Ie||e!=null&&e._isAMomentObject!=null}function Ns(e){m.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function j(e,t){var s=!0;return ye(function(){if(m.deprecationHandler!=null&&m.deprecationHandler(null,e),s){var n=[],r,i,a,o=arguments.length;for(i=0;i<o;i++){if(r="",typeof arguments[i]=="object"){r+=`
|
7
|
+
[`+i+"] ";for(a in arguments[0])D(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[i];n.push(r)}Ns(e+`
|
8
8
|
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
9
|
-
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var rs={};function is(e,t){u.deprecationHandler!=null&&u.deprecationHandler(e,t),rs[e]||(ns(t),rs[e]=!0)}u.suppressDeprecationWarnings=!1,u.deprecationHandler=null;function K(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function pn(e){var t,s;for(s in e)v(e,s)&&(t=e[s],K(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function St(e,t){var s=le({},e),n;for(n in t)v(t,n)&&(me(e[n])&&me(t[n])?(s[n]={},le(s[n],e[n]),le(s[n],t[n])):t[n]!=null?s[n]=t[n]:delete s[n]);for(n in e)v(e,n)&&!v(t,n)&&me(e[n])&&(s[n]=le({},s[n]));return s}function kt(e){e!=null&&this.set(e)}var Ot;Object.keys?Ot=Object.keys:Ot=function(e){var t,s=[];for(t in e)v(e,t)&&s.push(t);return s};var yn={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function gn(e,t,s){var n=this._calendar[e]||this._calendar.sameElse;return K(n)?n.call(t,s):n}function Q(e,t,s){var n=""+Math.abs(e),r=t-n.length,i=e>=0;return(i?s?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}var Dt=/(\[[^\[]*\])|(\\)?([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,je=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Mt={},Se={};function m(e,t,s,n){var r=n;typeof n=="string"&&(r=function(){return this[n]()}),e&&(Se[e]=r),t&&(Se[t[0]]=function(){return Q(r.apply(this,arguments),t[1],t[2])}),s&&(Se[s]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function wn(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function bn(e){var t=e.match(Dt),s,n;for(s=0,n=t.length;s<n;s++)Se[t[s]]?t[s]=Se[t[s]]:t[s]=wn(t[s]);return function(r){var i="",a;for(a=0;a<n;a++)i+=K(t[a])?t[a].call(r,e):t[a];return i}}function Ge(e,t){return e.isValid()?(t=as(t,e.localeData()),Mt[t]=Mt[t]||bn(t),Mt[t](e)):e.localeData().invalidDate()}function as(e,t){var s=5;function n(r){return t.longDateFormat(r)||r}for(je.lastIndex=0;s>=0&&je.test(e);)e=e.replace(je,n),je.lastIndex=0,s-=1;return e}var vn={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 Sn(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(Dt).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var kn="Invalid date";function On(){return this._invalidDate}var Dn="%d",Mn=/\d{1,2}/;function Cn(e){return this._ordinal.replace("%d",e)}var Tn={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 En(e,t,s,n){var r=this._relativeTime[s];return K(r)?r(e,t,s,n):r.replace(/%d/i,e)}function Nn(e,t){var s=this._relativeTime[e>0?"future":"past"];return K(s)?s(t):s.replace(/%s/i,t)}var Ve={};function N(e,t){var s=e.toLowerCase();Ve[s]=Ve[s+"s"]=Ve[t]=e}function F(e){return typeof e=="string"?Ve[e]||Ve[e.toLowerCase()]:void 0}function Ct(e){var t={},s,n;for(n in e)v(e,n)&&(s=F(n),s&&(t[s]=e[n]));return t}var os={};function x(e,t){os[e]=t}function xn(e){var t=[],s;for(s in e)v(e,s)&&t.push({unit:s,priority:os[s]});return t.sort(function(n,r){return n.priority-r.priority}),t}function ze(e){return e%4===0&&e%100!==0||e%400===0}function H(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=H(t)),s}function ke(e,t){return function(s){return s!=null?(cs(this,e,s),u.updateOffset(this,t),this):Ze(this,e)}}function Ze(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function cs(e,t,s){e.isValid()&&!isNaN(s)&&(t==="FullYear"&&ze(e.year())&&e.month()===1&&e.date()===29?(s=g(s),e._d["set"+(e._isUTC?"UTC":"")+t](s,e.month(),tt(s,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](s))}function Yn(e){return e=F(e),K(this[e])?this[e]():this}function In(e,t){if(typeof e=="object"){e=Ct(e);var s=xn(e),n,r=s.length;for(n=0;n<r;n++)this[s[n].unit](e[s[n].unit])}else if(e=F(e),K(this[e]))return this[e](t);return this}var ls=/\d/,W=/\d\d/,ds=/\d{3}/,Tt=/\d{4}/,qe=/[+-]?\d{6}/,D=/\d\d?/,us=/\d\d\d\d?/,hs=/\d\d\d\d\d\d?/,Ke=/\d{1,3}/,Et=/\d{1,4}/,Qe=/[+-]?\d{1,6}/,Oe=/\d+/,Je=/[+-]?\d+/,Vn=/Z|[+-]\d\d:?\d\d/gi,Xe=/Z|[+-]\d\d(?::?\d\d)?/gi,Wn=/[+-]?\d+(\.\d{1,3})?/,We=/[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,et;et={};function h(e,t,s){et[e]=K(t)?t:function(n,r){return n&&s?s:t}}function Rn(e,t){return v(et,e)?et[e](t._strict,t._locale):new RegExp(Ln(e))}function Ln(e){return R(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,n,r,i){return s||n||r||i}))}function R(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Nt={};function k(e,t){var s,n=t,r;for(typeof e=="string"&&(e=[e]),X(t)&&(n=function(i,a){a[t]=g(i)}),r=e.length,s=0;s<r;s++)Nt[e[s]]=n}function Re(e,t){k(e,function(s,n,r,i){r._w=r._w||{},t(s,r._w,r,i)})}function Pn(e,t,s){t!=null&&v(Nt,e)&&Nt[e](t,s._a,s,e)}var Y=0,ee=1,J=2,E=3,j=4,te=5,pe=6,An=7,Fn=8;function Hn(e,t){return(e%t+t)%t}var T;Array.prototype.indexOf?T=Array.prototype.indexOf:T=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function tt(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Hn(t,12);return e+=(t-s)/12,s===1?ze(e)?29:28:31-s%7%2}m("M",["MM",2],"Mo",function(){return this.month()+1}),m("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),m("MMMM",0,0,function(e){return this.localeData().months(this,e)}),N("month","M"),x("month",8),h("M",D),h("MM",D,W),h("MMM",function(e,t){return t.monthsShortRegex(e)}),h("MMMM",function(e,t){return t.monthsRegex(e)}),k(["M","MM"],function(e,t){t[ee]=g(e)-1}),k(["MMM","MMMM"],function(e,t,s,n){var r=s._locale.monthsParse(e,n,s._strict);r!=null?t[ee]=r:y(s).invalidMonth=e});var Un="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),fs="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),_s=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Bn=We,$n=We;function jn(e,t){return e?B(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||_s).test(t)?"format":"standalone"][e.month()]:B(this._months)?this._months:this._months.standalone}function Gn(e,t){return e?B(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[_s.test(t)?"format":"standalone"][e.month()]:B(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function zn(e,t,s){var n,r,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=q([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return s?t==="MMM"?(r=T.call(this._shortMonthsParse,a),r!==-1?r:null):(r=T.call(this._longMonthsParse,a),r!==-1?r:null):t==="MMM"?(r=T.call(this._shortMonthsParse,a),r!==-1?r:(r=T.call(this._longMonthsParse,a),r!==-1?r:null)):(r=T.call(this._longMonthsParse,a),r!==-1?r:(r=T.call(this._shortMonthsParse,a),r!==-1?r:null))}function Zn(e,t,s){var n,r,i;if(this._monthsParseExact)return zn.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=q([2e3,n]),s&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),!s&&!this._monthsParse[n]&&(i="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(s&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!s&&this._monthsParse[n].test(e))return n}}function ms(e,t){var s;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=g(t);else if(t=e.localeData().monthsParse(t),!X(t))return e}return s=Math.min(e.date(),tt(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,s),e}function ps(e){return e!=null?(ms(this,e),u.updateOffset(this,!0),this):Ze(this,"Month")}function qn(){return tt(this.year(),this.month())}function Kn(e){return this._monthsParseExact?(v(this,"_monthsRegex")||ys.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(v(this,"_monthsShortRegex")||(this._monthsShortRegex=Bn),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Qn(e){return this._monthsParseExact?(v(this,"_monthsRegex")||ys.call(this),e?this._monthsStrictRegex:this._monthsRegex):(v(this,"_monthsRegex")||(this._monthsRegex=$n),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ys(){function e(a,o){return o.length-a.length}var t=[],s=[],n=[],r,i;for(r=0;r<12;r++)i=q([2e3,r]),t.push(this.monthsShort(i,"")),s.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(t.sort(e),s.sort(e),n.sort(e),r=0;r<12;r++)t[r]=R(t[r]),s[r]=R(s[r]);for(r=0;r<24;r++)n[r]=R(n[r]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}m("Y",0,0,function(){var e=this.year();return e<=9999?Q(e,4):"+"+e}),m(0,["YY",2],0,function(){return this.year()%100}),m(0,["YYYY",4],0,"year"),m(0,["YYYYY",5],0,"year"),m(0,["YYYYYY",6,!0],0,"year"),N("year","y"),x("year",1),h("Y",Je),h("YY",D,W),h("YYYY",Et,Tt),h("YYYYY",Qe,qe),h("YYYYYY",Qe,qe),k(["YYYYY","YYYYYY"],Y),k("YYYY",function(e,t){t[Y]=e.length===2?u.parseTwoDigitYear(e):g(e)}),k("YY",function(e,t){t[Y]=u.parseTwoDigitYear(e)}),k("Y",function(e,t){t[Y]=parseInt(e,10)});function Le(e){return ze(e)?366:365}u.parseTwoDigitYear=function(e){return g(e)+(g(e)>68?1900:2e3)};var gs=ke("FullYear",!0);function Jn(){return ze(this.year())}function Xn(e,t,s,n,r,i,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,s,n,r,i,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,s,n,r,i,a),o}function Pe(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function st(e,t,s){var n=7+t-s,r=(7+Pe(e,0,n).getUTCDay()-t)%7;return-r+n-1}function ws(e,t,s,n,r){var i=(7+s-n)%7,a=st(e,n,r),o=1+7*(t-1)+i+a,c,_;return o<=0?(c=e-1,_=Le(c)+o):o>Le(e)?(c=e+1,_=o-Le(e)):(c=e,_=o),{year:c,dayOfYear:_}}function Ae(e,t,s){var n=st(e.year(),t,s),r=Math.floor((e.dayOfYear()-n-1)/7)+1,i,a;return r<1?(a=e.year()-1,i=r+se(a,t,s)):r>se(e.year(),t,s)?(i=r-se(e.year(),t,s),a=e.year()+1):(a=e.year(),i=r),{week:i,year:a}}function se(e,t,s){var n=st(e,t,s),r=st(e+1,t,s);return(Le(e)-n+r)/7}m("w",["ww",2],"wo","week"),m("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),x("week",5),x("isoWeek",5),h("w",D),h("ww",D,W),h("W",D),h("WW",D,W),Re(["w","ww","W","WW"],function(e,t,s,n){t[n.substr(0,1)]=g(e)});function er(e){return Ae(e,this._week.dow,this._week.doy).week}var tr={dow:0,doy:6};function sr(){return this._week.dow}function nr(){return this._week.doy}function rr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function ir(e){var t=Ae(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}m("d",0,"do","day"),m("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),m("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),m("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),m("e",0,0,"weekday"),m("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),x("day",11),x("weekday",11),x("isoWeekday",11),h("d",D),h("e",D),h("E",D),h("dd",function(e,t){return t.weekdaysMinRegex(e)}),h("ddd",function(e,t){return t.weekdaysShortRegex(e)}),h("dddd",function(e,t){return t.weekdaysRegex(e)}),Re(["dd","ddd","dddd"],function(e,t,s,n){var r=s._locale.weekdaysParse(e,n,s._strict);r!=null?t.d=r:y(s).invalidWeekday=e}),Re(["d","e","E"],function(e,t,s,n){t[n]=g(e)});function ar(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function or(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function xt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var cr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),lr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),dr=We,ur=We,hr=We;function fr(e,t){var s=B(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?xt(s,this._week.dow):e?s[e.day()]:s}function _r(e){return e===!0?xt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function mr(e){return e===!0?xt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function pr(e,t,s){var n,r,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=q([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return s?t==="dddd"?(r=T.call(this._weekdaysParse,a),r!==-1?r:null):t==="ddd"?(r=T.call(this._shortWeekdaysParse,a),r!==-1?r:null):(r=T.call(this._minWeekdaysParse,a),r!==-1?r:null):t==="dddd"?(r=T.call(this._weekdaysParse,a),r!==-1||(r=T.call(this._shortWeekdaysParse,a),r!==-1)?r:(r=T.call(this._minWeekdaysParse,a),r!==-1?r:null)):t==="ddd"?(r=T.call(this._shortWeekdaysParse,a),r!==-1||(r=T.call(this._weekdaysParse,a),r!==-1)?r:(r=T.call(this._minWeekdaysParse,a),r!==-1?r:null)):(r=T.call(this._minWeekdaysParse,a),r!==-1||(r=T.call(this._weekdaysParse,a),r!==-1)?r:(r=T.call(this._shortWeekdaysParse,a),r!==-1?r:null))}function yr(e,t,s){var n,r,i;if(this._weekdaysParseExact)return pr.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=q([2e3,1]).day(n),s&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(s&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(s&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!s&&this._weekdaysParse[n].test(e))return n}}function gr(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=ar(e,this.localeData()),this.add(e-t,"d")):t}function wr(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 br(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=or(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function vr(e){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(v(this,"_weekdaysRegex")||(this._weekdaysRegex=dr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Sr(e){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(v(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ur),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function kr(e){return this._weekdaysParseExact?(v(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(v(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=hr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Yt(){function e(f,p){return p.length-f.length}var t=[],s=[],n=[],r=[],i,a,o,c,_;for(i=0;i<7;i++)a=q([2e3,1]).day(i),o=R(this.weekdaysMin(a,"")),c=R(this.weekdaysShort(a,"")),_=R(this.weekdays(a,"")),t.push(o),s.push(c),n.push(_),r.push(o),r.push(c),r.push(_);t.sort(e),s.sort(e),n.sort(e),r.sort(e),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function It(){return this.hours()%12||12}function Or(){return this.hours()||24}m("H",["HH",2],0,"hour"),m("h",["hh",2],0,It),m("k",["kk",2],0,Or),m("hmm",0,0,function(){return""+It.apply(this)+Q(this.minutes(),2)}),m("hmmss",0,0,function(){return""+It.apply(this)+Q(this.minutes(),2)+Q(this.seconds(),2)}),m("Hmm",0,0,function(){return""+this.hours()+Q(this.minutes(),2)}),m("Hmmss",0,0,function(){return""+this.hours()+Q(this.minutes(),2)+Q(this.seconds(),2)});function vs(e,t){m(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}vs("a",!0),vs("A",!1),N("hour","h"),x("hour",13);function Ss(e,t){return t._meridiemParse}h("a",Ss),h("A",Ss),h("H",D),h("h",D),h("k",D),h("HH",D,W),h("hh",D,W),h("kk",D,W),h("hmm",us),h("hmmss",hs),h("Hmm",us),h("Hmmss",hs),k(["H","HH"],E),k(["k","kk"],function(e,t,s){var n=g(e);t[E]=n===24?0:n}),k(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),k(["h","hh"],function(e,t,s){t[E]=g(e),y(s).bigHour=!0}),k("hmm",function(e,t,s){var n=e.length-2;t[E]=g(e.substr(0,n)),t[j]=g(e.substr(n)),y(s).bigHour=!0}),k("hmmss",function(e,t,s){var n=e.length-4,r=e.length-2;t[E]=g(e.substr(0,n)),t[j]=g(e.substr(n,2)),t[te]=g(e.substr(r)),y(s).bigHour=!0}),k("Hmm",function(e,t,s){var n=e.length-2;t[E]=g(e.substr(0,n)),t[j]=g(e.substr(n))}),k("Hmmss",function(e,t,s){var n=e.length-4,r=e.length-2;t[E]=g(e.substr(0,n)),t[j]=g(e.substr(n,2)),t[te]=g(e.substr(r))});function Dr(e){return(e+"").toLowerCase().charAt(0)==="p"}var Mr=/[ap]\.?m?\.?/i,Cr=ke("Hours",!0);function Tr(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var ks={calendar:yn,longDateFormat:vn,invalidDate:kn,ordinal:Dn,dayOfMonthOrdinalParse:Mn,relativeTime:Tn,months:Un,monthsShort:fs,week:tr,weekdays:cr,weekdaysMin:lr,weekdaysShort:bs,meridiemParse:Mr},C={},Fe={},He;function Er(e,t){var s,n=Math.min(e.length,t.length);for(s=0;s<n;s+=1)if(e[s]!==t[s])return s;return n}function Os(e){return e&&e.toLowerCase().replace("_","-")}function Nr(e){for(var t=0,s,n,r,i;t<e.length;){for(i=Os(e[t]).split("-"),s=i.length,n=Os(e[t+1]),n=n?n.split("-"):null;s>0;){if(r=nt(i.slice(0,s).join("-")),r)return r;if(n&&n.length>=s&&Er(i,n)>=s-1)break;s--}t++}return He}function xr(e){return e.match("^[^/\\\\]*$")!=null}function nt(e){var t=null,s;if(C[e]===void 0&&typeof module<"u"&&module&&module.exports&&xr(e))try{t=He._abbr,s=require,s("./locale/"+e),de(t)}catch{C[e]=null}return C[e]}function de(e,t){var s;return e&&(V(t)?s=ne(e):s=Vt(e,t),s?He=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),He._abbr}function Vt(e,t){if(t!==null){var s,n=ks;if(t.abbr=e,C[e]!=null)is("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=C[e]._config;else if(t.parentLocale!=null)if(C[t.parentLocale]!=null)n=C[t.parentLocale]._config;else if(s=nt(t.parentLocale),s!=null)n=s._config;else return Fe[t.parentLocale]||(Fe[t.parentLocale]=[]),Fe[t.parentLocale].push({name:e,config:t}),null;return C[e]=new kt(St(n,t)),Fe[e]&&Fe[e].forEach(function(r){Vt(r.name,r.config)}),de(e),C[e]}else return delete C[e],null}function Yr(e,t){if(t!=null){var s,n,r=ks;C[e]!=null&&C[e].parentLocale!=null?C[e].set(St(C[e]._config,t)):(n=nt(e),n!=null&&(r=n._config),t=St(r,t),n==null&&(t.abbr=e),s=new kt(t),s.parentLocale=C[e],C[e]=s),de(e)}else C[e]!=null&&(C[e].parentLocale!=null?(C[e]=C[e].parentLocale,e===de()&&de(e)):C[e]!=null&&delete C[e]);return C[e]}function ne(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return He;if(!B(e)){if(t=nt(e),t)return t;e=[e]}return Nr(e)}function Ir(){return Ot(C)}function Wt(e){var t,s=e._a;return s&&y(e).overflow===-2&&(t=s[ee]<0||s[ee]>11?ee:s[J]<1||s[J]>tt(s[Y],s[ee])?J:s[E]<0||s[E]>24||s[E]===24&&(s[j]!==0||s[te]!==0||s[pe]!==0)?E:s[j]<0||s[j]>59?j:s[te]<0||s[te]>59?te:s[pe]<0||s[pe]>999?pe:-1,y(e)._overflowDayOfYear&&(t<Y||t>J)&&(t=J),y(e)._overflowWeeks&&t===-1&&(t=An),y(e)._overflowWeekday&&t===-1&&(t=Fn),y(e).overflow=t),e}var Vr=/^\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)?)?$/,Wr=/^\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)?)?$/,Rr=/Z|[+-]\d\d(?::?\d\d)?/,rt=[["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]],Rt=[["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/]],Lr=/^\/?Date\((-?\d+)/i,Pr=/^(?:(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}))$/,Ar={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Ds(e){var t,s,n=e._i,r=Vr.exec(n)||Wr.exec(n),i,a,o,c,_=rt.length,f=Rt.length;if(r){for(y(e).iso=!0,t=0,s=_;t<s;t++)if(rt[t][1].exec(r[1])){a=rt[t][0],i=rt[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(r[3]){for(t=0,s=f;t<s;t++)if(Rt[t][1].exec(r[3])){o=(r[2]||" ")+Rt[t][0];break}if(o==null){e._isValid=!1;return}}if(!i&&o!=null){e._isValid=!1;return}if(r[4])if(Rr.exec(r[4]))c="Z";else{e._isValid=!1;return}e._f=a+(o||"")+(c||""),Pt(e)}else e._isValid=!1}function Fr(e,t,s,n,r,i){var a=[Hr(e),fs.indexOf(t),parseInt(s,10),parseInt(n,10),parseInt(r,10)];return i&&a.push(parseInt(i,10)),a}function Hr(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ur(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Br(e,t,s){if(e){var n=bs.indexOf(e),r=new Date(t[0],t[1],t[2]).getDay();if(n!==r)return y(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function $r(e,t,s){if(e)return Ar[e];if(t)return 0;var n=parseInt(s,10),r=n%100,i=(n-r)/100;return i*60+r}function Ms(e){var t=Pr.exec(Ur(e._i)),s;if(t){if(s=Fr(t[4],t[3],t[2],t[5],t[6],t[7]),!Br(t[1],s,e))return;e._a=s,e._tzm=$r(t[8],t[9],t[10]),e._d=Pe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}function jr(e){var t=Lr.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Ds(e),e._isValid===!1)delete e._isValid;else return;if(Ms(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:u.createFromInputFallback(e)}u.createFromInputFallback=A("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,s){return e??t??s}function Gr(e){var t=new Date(u.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Lt(e){var t,s,n=[],r,i,a;if(!e._d){for(r=Gr(e),e._w&&e._a[J]==null&&e._a[ee]==null&&zr(e),e._dayOfYear!=null&&(a=De(e._a[Y],r[Y]),(e._dayOfYear>Le(a)||e._dayOfYear===0)&&(y(e)._overflowDayOfYear=!0),s=Pe(a,0,e._dayOfYear),e._a[ee]=s.getUTCMonth(),e._a[J]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=r[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[E]===24&&e._a[j]===0&&e._a[te]===0&&e._a[pe]===0&&(e._nextDay=!0,e._a[E]=0),e._d=(e._useUTC?Pe:Xn).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[E]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function zr(e){var t,s,n,r,i,a,o,c,_;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,a=4,s=De(t.GG,e._a[Y],Ae(M(),1,4).year),n=De(t.W,1),r=De(t.E,1),(r<1||r>7)&&(c=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,_=Ae(M(),i,a),s=De(t.gg,e._a[Y],_.year),n=De(t.w,_.week),t.d!=null?(r=t.d,(r<0||r>6)&&(c=!0)):t.e!=null?(r=t.e+i,(t.e<0||t.e>6)&&(c=!0)):r=i),n<1||n>se(s,i,a)?y(e)._overflowWeeks=!0:c!=null?y(e)._overflowWeekday=!0:(o=ws(s,n,r,i,a),e._a[Y]=o.year,e._dayOfYear=o.dayOfYear)}u.ISO_8601=function(){},u.RFC_2822=function(){};function Pt(e){if(e._f===u.ISO_8601){Ds(e);return}if(e._f===u.RFC_2822){Ms(e);return}e._a=[],y(e).empty=!0;var t=""+e._i,s,n,r,i,a,o=t.length,c=0,_,f;for(r=as(e._f,e._locale).match(Dt)||[],f=r.length,s=0;s<f;s++)i=r[s],n=(t.match(Rn(i,e))||[])[0],n&&(a=t.substr(0,t.indexOf(n)),a.length>0&&y(e).unusedInput.push(a),t=t.slice(t.indexOf(n)+n.length),c+=n.length),Se[i]?(n?y(e).empty=!1:y(e).unusedTokens.push(i),Pn(i,n,e)):e._strict&&!n&&y(e).unusedTokens.push(i);y(e).charsLeftOver=o-c,t.length>0&&y(e).unusedInput.push(t),e._a[E]<=12&&y(e).bigHour===!0&&e._a[E]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[E]=Zr(e._locale,e._a[E],e._meridiem),_=y(e).era,_!==null&&(e._a[Y]=e._locale.erasConvertYear(_,e._a[Y])),Lt(e),Wt(e)}function Zr(e,t,s){var n;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(n=e.isPM(s),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function qr(e){var t,s,n,r,i,a,o=!1,c=e._f.length;if(c===0){y(e).invalidFormat=!0,e._d=new Date(NaN);return}for(r=0;r<c;r++)i=0,a=!1,t=vt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[r],Pt(t),wt(t)&&(a=!0),i+=y(t).charsLeftOver,i+=y(t).unusedTokens.length*10,y(t).score=i,o?i<n&&(n=i,s=t):(n==null||i<n||a)&&(n=i,s=t,a&&(o=!0));le(e,s||t)}function Kr(e){if(!e._d){var t=Ct(e._i),s=t.day===void 0?t.date:t.day;e._a=ts([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),Lt(e)}}function Qr(e){var t=new Ie(Wt(Cs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Cs(e){var t=e._i,s=e._f;return e._locale=e._locale||ne(e._l),t===null||s===void 0&&t===""?$e({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),$(t)?new Ie(Wt(t)):(Ye(t)?e._d=t:B(s)?qr(e):s?Pt(e):Jr(e),wt(e)||(e._d=null),e))}function Jr(e){var t=e._i;V(t)?e._d=new Date(u.now()):Ye(t)?e._d=new Date(t.valueOf()):typeof t=="string"?jr(e):B(t)?(e._a=ts(t.slice(0),function(s){return parseInt(s,10)}),Lt(e)):me(t)?Kr(e):X(t)?e._d=new Date(t):u.createFromInputFallback(e)}function Ts(e,t,s,n,r){var i={};return(t===!0||t===!1)&&(n=t,t=void 0),(s===!0||s===!1)&&(n=s,s=void 0),(me(e)&&yt(e)||B(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=r,i._l=s,i._i=e,i._f=t,i._strict=n,Qr(i)}function M(e,t,s,n){return Ts(e,t,s,n,!1)}var Xr=A("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:$e()}),ei=A("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:$e()});function Es(e,t){var s,n;if(t.length===1&&B(t[0])&&(t=t[0]),!t.length)return M();for(s=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](s))&&(s=t[n]);return s}function ti(){var e=[].slice.call(arguments,0);return Es("isBefore",e)}function si(){var e=[].slice.call(arguments,0);return Es("isAfter",e)}var ni=function(){return Date.now?Date.now():+new Date},Ue=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ri(e){var t,s=!1,n,r=Ue.length;for(t in e)if(v(e,t)&&!(T.call(Ue,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<r;++n)if(e[Ue[n]]){if(s)return!1;parseFloat(e[Ue[n]])!==g(e[Ue[n]])&&(s=!0)}return!0}function ii(){return this._isValid}function ai(){return G(NaN)}function it(e){var t=Ct(e),s=t.year||0,n=t.quarter||0,r=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,c=t.minute||0,_=t.second||0,f=t.millisecond||0;this._isValid=ri(t),this._milliseconds=+f+_*1e3+c*6e4+o*1e3*60*60,this._days=+a+i*7,this._months=+r+n*3+s*12,this._data={},this._locale=ne(),this._bubble()}function at(e){return e instanceof it}function At(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function oi(e,t,s){var n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0,a;for(a=0;a<n;a++)(s&&e[a]!==t[a]||!s&&g(e[a])!==g(t[a]))&&i++;return i+r}function Ns(e,t){m(e,0,0,function(){var s=this.utcOffset(),n="+";return s<0&&(s=-s,n="-"),n+Q(~~(s/60),2)+t+Q(~~s%60,2)})}Ns("Z",":"),Ns("ZZ",""),h("Z",Xe),h("ZZ",Xe),k(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=Ft(Xe,e)});var ci=/([\+\-]|\d\d)/gi;function Ft(e,t){var s=(t||"").match(e),n,r,i;return s===null?null:(n=s[s.length-1]||[],r=(n+"").match(ci)||["-",0,0],i=+(r[1]*60)+g(r[2]),i===0?0:r[0]==="+"?i:-i)}function Ht(e,t){var s,n;return t._isUTC?(s=t.clone(),n=($(e)||Ye(e)?e.valueOf():M(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+n),u.updateOffset(s,!1),s):M(e).local()}function Ut(e){return-Math.round(e._d.getTimezoneOffset())}u.updateOffset=function(){};function li(e,t,s){var n=this._offset||0,r;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ft(Xe,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(r=Ut(this)),this._offset=e,this._isUTC=!0,r!=null&&this.add(r,"m"),n!==e&&(!t||this._changeInProgress?Vs(this,G(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,u.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Ut(this)}function di(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ui(e){return this.utcOffset(0,e)}function hi(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ut(this),"m")),this}function fi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ft(Vn,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _i(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function mi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function pi(){if(!V(this._isDSTShifted))return this._isDSTShifted;var e={},t;return vt(e,this),e=Cs(e),e._a?(t=e._isUTC?q(e._a):M(e._a),this._isDSTShifted=this.isValid()&&oi(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function yi(){return this.isValid()?!this._isUTC:!1}function gi(){return this.isValid()?this._isUTC:!1}function xs(){return this.isValid()?this._isUTC&&this._offset===0:!1}var wi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,bi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function G(e,t){var s=e,n=null,r,i,a;return at(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:X(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(n=wi.exec(e))?(r=n[1]==="-"?-1:1,s={y:0,d:g(n[J])*r,h:g(n[E])*r,m:g(n[j])*r,s:g(n[te])*r,ms:g(At(n[pe]*1e3))*r}):(n=bi.exec(e))?(r=n[1]==="-"?-1:1,s={y:ye(n[2],r),M:ye(n[3],r),w:ye(n[4],r),d:ye(n[5],r),h:ye(n[6],r),m:ye(n[7],r),s:ye(n[8],r)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(a=vi(M(s.from),M(s.to)),s={},s.ms=a.milliseconds,s.M=a.months),i=new it(s),at(e)&&v(e,"_locale")&&(i._locale=e._locale),at(e)&&v(e,"_isValid")&&(i._isValid=e._isValid),i}G.fn=it.prototype,G.invalid=ai;function ye(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function Ys(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function vi(e,t){var s;return e.isValid()&&t.isValid()?(t=Ht(t,e),e.isBefore(t)?s=Ys(e,t):(s=Ys(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function Is(e,t){return function(s,n){var r,i;return n!==null&&!isNaN(+n)&&(is(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."),i=s,s=n,n=i),r=G(s,n),Vs(this,r,e),this}}function Vs(e,t,s,n){var r=t._milliseconds,i=At(t._days),a=At(t._months);e.isValid()&&(n=n??!0,a&&ms(e,Ze(e,"Month")+a*s),i&&cs(e,"Date",Ze(e,"Date")+i*s),r&&e._d.setTime(e._d.valueOf()+r*s),n&&u.updateOffset(e,i||a))}var Si=Is(1,"add"),ki=Is(-1,"subtract");function Ws(e){return typeof e=="string"||e instanceof String}function Oi(e){return $(e)||Ye(e)||Ws(e)||X(e)||Mi(e)||Di(e)||e===null||e===void 0}function Di(e){var t=me(e)&&!yt(e),s=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,i,a=n.length;for(r=0;r<a;r+=1)i=n[r],s=s||v(e,i);return t&&s}function Mi(e){var t=B(e),s=!1;return t&&(s=e.filter(function(n){return!X(n)&&Ws(e)}).length===0),t&&s}function Ci(e){var t=me(e)&&!yt(e),s=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r,i;for(r=0;r<n.length;r+=1)i=n[r],s=s||v(e,i);return t&&s}function Ti(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function Ei(e,t){arguments.length===1&&(arguments[0]?Oi(arguments[0])?(e=arguments[0],t=void 0):Ci(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||M(),n=Ht(s,this).startOf("day"),r=u.calendarFormat(this,n)||"sameElse",i=t&&(K(t[r])?t[r].call(this,s):t[r]);return this.format(i||this.localeData().calendar(r,this,M(s)))}function Ni(){return new Ie(this)}function xi(e,t){var s=$(e)?e:M(e);return this.isValid()&&s.isValid()?(t=F(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function Yi(e,t){var s=$(e)?e:M(e);return this.isValid()&&s.isValid()?(t=F(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function Ii(e,t,s,n){var r=$(e)?e:M(e),i=$(t)?t:M(t);return this.isValid()&&r.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(r,s):!this.isBefore(r,s))&&(n[1]===")"?this.isBefore(i,s):!this.isAfter(i,s))):!1}function Vi(e,t){var s=$(e)?e:M(e),n;return this.isValid()&&s.isValid()?(t=F(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function Wi(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ri(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Li(e,t,s){var n,r,i;if(!this.isValid())return NaN;if(n=Ht(e,this),!n.isValid())return NaN;switch(r=(n.utcOffset()-this.utcOffset())*6e4,t=F(t),t){case"year":i=ot(this,n)/12;break;case"month":i=ot(this,n);break;case"quarter":i=ot(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-r)/864e5;break;case"week":i=(this-n-r)/6048e5;break;default:i=this-n}return s?i:H(i)}function ot(e,t){if(e.date()<t.date())return-ot(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(s,"months"),r,i;return t-n<0?(r=e.clone().add(s-1,"months"),i=(t-n)/(n-r)):(r=e.clone().add(s+1,"months"),i=(t-n)/(r-n)),-(s+i)||0}u.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",u.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Pi(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ai(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?Ge(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):K(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ge(s,"Z")):Ge(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Fi(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,n,r,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(s+n+r+i)}function Hi(e){e||(e=this.isUtc()?u.defaultFormatUtc:u.defaultFormat);var t=Ge(this,e);return this.localeData().postformat(t)}function Ui(e,t){return this.isValid()&&($(e)&&e.isValid()||M(e).isValid())?G({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Bi(e){return this.from(M(),e)}function $i(e,t){return this.isValid()&&($(e)&&e.isValid()||M(e).isValid())?G({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ji(e){return this.to(M(),e)}function Rs(e){var t;return e===void 0?this._locale._abbr:(t=ne(e),t!=null&&(this._locale=t),this)}var Ls=A("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 Ps(){return this._locale}var ct=1e3,Me=60*ct,lt=60*Me,As=(365*400+97)*24*lt;function Ce(e,t){return(e%t+t)%t}function Fs(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-As:new Date(e,t,s).valueOf()}function Hs(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-As:Date.UTC(e,t,s)}function Gi(e){var t,s;if(e=F(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Hs:Fs,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ce(t+(this._isUTC?0:this.utcOffset()*Me),lt);break;case"minute":t=this._d.valueOf(),t-=Ce(t,Me);break;case"second":t=this._d.valueOf(),t-=Ce(t,ct);break}return this._d.setTime(t),u.updateOffset(this,!0),this}function zi(e){var t,s;if(e=F(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Hs:Fs,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=lt-Ce(t+(this._isUTC?0:this.utcOffset()*Me),lt)-1;break;case"minute":t=this._d.valueOf(),t+=Me-Ce(t,Me)-1;break;case"second":t=this._d.valueOf(),t+=ct-Ce(t,ct)-1;break}return this._d.setTime(t),u.updateOffset(this,!0),this}function Zi(){return this._d.valueOf()-(this._offset||0)*6e4}function qi(){return Math.floor(this.valueOf()/1e3)}function Ki(){return new Date(this.valueOf())}function Qi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ji(){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 Xi(){return this.isValid()?this.toISOString():null}function ea(){return wt(this)}function ta(){return le({},y(this))}function sa(){return y(this).overflow}function na(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}m("N",0,0,"eraAbbr"),m("NN",0,0,"eraAbbr"),m("NNN",0,0,"eraAbbr"),m("NNNN",0,0,"eraName"),m("NNNNN",0,0,"eraNarrow"),m("y",["y",1],"yo","eraYear"),m("y",["yy",2],0,"eraYear"),m("y",["yyy",3],0,"eraYear"),m("y",["yyyy",4],0,"eraYear"),h("N",Bt),h("NN",Bt),h("NNN",Bt),h("NNNN",_a),h("NNNNN",ma),k(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,n){var r=s._locale.erasParse(e,n,s._strict);r?y(s).era=r:y(s).invalidEra=e}),h("y",Oe),h("yy",Oe),h("yyy",Oe),h("yyyy",Oe),h("yo",pa),k(["y","yy","yyy","yyyy"],Y),k(["yo"],function(e,t,s,n){var r;s._locale._eraYearOrdinalRegex&&(r=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[Y]=s._locale.eraYearOrdinalParse(e,r):t[Y]=parseInt(e,10)});function ra(e,t){var s,n,r,i=this._eras||ne("en")._eras;for(s=0,n=i.length;s<n;++s){switch(typeof i[s].since){case"string":r=u(i[s].since).startOf("day"),i[s].since=r.valueOf();break}switch(typeof i[s].until){case"undefined":i[s].until=1/0;break;case"string":r=u(i[s].until).startOf("day").valueOf(),i[s].until=r.valueOf();break}}return i}function ia(e,t,s){var n,r,i=this.eras(),a,o,c;for(e=e.toUpperCase(),n=0,r=i.length;n<r;++n)if(a=i[n].name.toUpperCase(),o=i[n].abbr.toUpperCase(),c=i[n].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(o===e)return i[n];break;case"NNNN":if(a===e)return i[n];break;case"NNNNN":if(c===e)return i[n];break}else if([a,o,c].indexOf(e)>=0)return i[n]}function aa(e,t){var s=e.since<=e.until?1:-1;return t===void 0?u(e.since).year():u(e.since).year()+(t-e.offset)*s}function oa(){var e,t,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return n[e].name;return""}function ca(){var e,t,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return n[e].narrow;return""}function la(){var e,t,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return n[e].abbr;return""}function da(){var e,t,s,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=r[e].since<=r[e].until?1:-1,n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return(this.year()-u(r[e].since).year())*s+r[e].offset;return this.year()}function ua(e){return v(this,"_erasNameRegex")||$t.call(this),e?this._erasNameRegex:this._erasRegex}function ha(e){return v(this,"_erasAbbrRegex")||$t.call(this),e?this._erasAbbrRegex:this._erasRegex}function fa(e){return v(this,"_erasNarrowRegex")||$t.call(this),e?this._erasNarrowRegex:this._erasRegex}function Bt(e,t){return t.erasAbbrRegex(e)}function _a(e,t){return t.erasNameRegex(e)}function ma(e,t){return t.erasNarrowRegex(e)}function pa(e,t){return t._eraYearOrdinalRegex||Oe}function $t(){var e=[],t=[],s=[],n=[],r,i,a=this.eras();for(r=0,i=a.length;r<i;++r)t.push(R(a[r].name)),e.push(R(a[r].abbr)),s.push(R(a[r].narrow)),n.push(R(a[r].name)),n.push(R(a[r].abbr)),n.push(R(a[r].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}m(0,["gg",2],0,function(){return this.weekYear()%100}),m(0,["GG",2],0,function(){return this.isoWeekYear()%100});function dt(e,t){m(0,[e,e.length],0,t)}dt("gggg","weekYear"),dt("ggggg","weekYear"),dt("GGGG","isoWeekYear"),dt("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),x("weekYear",1),x("isoWeekYear",1),h("G",Je),h("g",Je),h("GG",D,W),h("gg",D,W),h("GGGG",Et,Tt),h("gggg",Et,Tt),h("GGGGG",Qe,qe),h("ggggg",Qe,qe),Re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,n){t[n.substr(0,2)]=g(e)}),Re(["gg","GG"],function(e,t,s,n){t[n]=u.parseTwoDigitYear(e)});function ya(e){return Us.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ga(e){return Us.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function wa(){return se(this.year(),1,4)}function ba(){return se(this.isoWeekYear(),1,4)}function va(){var e=this.localeData()._week;return se(this.year(),e.dow,e.doy)}function Sa(){var e=this.localeData()._week;return se(this.weekYear(),e.dow,e.doy)}function Us(e,t,s,n,r){var i;return e==null?Ae(this,n,r).year:(i=se(e,n,r),t>i&&(t=i),ka.call(this,e,t,s,n,r))}function ka(e,t,s,n,r){var i=ws(e,t,s,n,r),a=Pe(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}m("Q",0,"Qo","quarter"),N("quarter","Q"),x("quarter",7),h("Q",ls),k("Q",function(e,t){t[ee]=(g(e)-1)*3});function Oa(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}m("D",["DD",2],"Do","date"),N("date","D"),x("date",9),h("D",D),h("DD",D,W),h("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),k(["D","DD"],J),k("Do",function(e,t){t[J]=g(e.match(D)[0])});var Bs=ke("Date",!0);m("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),x("dayOfYear",4),h("DDD",Ke),h("DDDD",ds),k(["DDD","DDDD"],function(e,t,s){s._dayOfYear=g(e)});function Da(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}m("m",["mm",2],0,"minute"),N("minute","m"),x("minute",14),h("m",D),h("mm",D,W),k(["m","mm"],j);var Ma=ke("Minutes",!1);m("s",["ss",2],0,"second"),N("second","s"),x("second",15),h("s",D),h("ss",D,W),k(["s","ss"],te);var Ca=ke("Seconds",!1);m("S",0,0,function(){return~~(this.millisecond()/100)}),m(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),m(0,["SSS",3],0,"millisecond"),m(0,["SSSS",4],0,function(){return this.millisecond()*10}),m(0,["SSSSS",5],0,function(){return this.millisecond()*100}),m(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),m(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),m(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),m(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),N("millisecond","ms"),x("millisecond",16),h("S",Ke,ls),h("SS",Ke,W),h("SSS",Ke,ds);var ue,$s;for(ue="SSSS";ue.length<=9;ue+="S")h(ue,Oe);function Ta(e,t){t[pe]=g(("0."+e)*1e3)}for(ue="S";ue.length<=9;ue+="S")k(ue,Ta);$s=ke("Milliseconds",!1),m("z",0,0,"zoneAbbr"),m("zz",0,0,"zoneName");function Ea(){return this._isUTC?"UTC":""}function Na(){return this._isUTC?"Coordinated Universal Time":""}var l=Ie.prototype;l.add=Si,l.calendar=Ei,l.clone=Ni,l.diff=Li,l.endOf=zi,l.format=Hi,l.from=Ui,l.fromNow=Bi,l.to=$i,l.toNow=ji,l.get=Yn,l.invalidAt=sa,l.isAfter=xi,l.isBefore=Yi,l.isBetween=Ii,l.isSame=Vi,l.isSameOrAfter=Wi,l.isSameOrBefore=Ri,l.isValid=ea,l.lang=Ls,l.locale=Rs,l.localeData=Ps,l.max=ei,l.min=Xr,l.parsingFlags=ta,l.set=In,l.startOf=Gi,l.subtract=ki,l.toArray=Qi,l.toObject=Ji,l.toDate=Ki,l.toISOString=Ai,l.inspect=Fi,typeof Symbol<"u"&&Symbol.for!=null&&(l[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),l.toJSON=Xi,l.toString=Pi,l.unix=qi,l.valueOf=Zi,l.creationData=na,l.eraName=oa,l.eraNarrow=ca,l.eraAbbr=la,l.eraYear=da,l.year=gs,l.isLeapYear=Jn,l.weekYear=ya,l.isoWeekYear=ga,l.quarter=l.quarters=Oa,l.month=ps,l.daysInMonth=qn,l.week=l.weeks=rr,l.isoWeek=l.isoWeeks=ir,l.weeksInYear=va,l.weeksInWeekYear=Sa,l.isoWeeksInYear=wa,l.isoWeeksInISOWeekYear=ba,l.date=Bs,l.day=l.days=gr,l.weekday=wr,l.isoWeekday=br,l.dayOfYear=Da,l.hour=l.hours=Cr,l.minute=l.minutes=Ma,l.second=l.seconds=Ca,l.millisecond=l.milliseconds=$s,l.utcOffset=li,l.utc=ui,l.local=hi,l.parseZone=fi,l.hasAlignedHourOffset=_i,l.isDST=mi,l.isLocal=yi,l.isUtcOffset=gi,l.isUtc=xs,l.isUTC=xs,l.zoneAbbr=Ea,l.zoneName=Na,l.dates=A("dates accessor is deprecated. Use date instead.",Bs),l.months=A("months accessor is deprecated. Use month instead",ps),l.years=A("years accessor is deprecated. Use year instead",gs),l.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",di),l.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",pi);function xa(e){return M(e*1e3)}function Ya(){return M.apply(null,arguments).parseZone()}function js(e){return e}var S=kt.prototype;S.calendar=gn,S.longDateFormat=Sn,S.invalidDate=On,S.ordinal=Cn,S.preparse=js,S.postformat=js,S.relativeTime=En,S.pastFuture=Nn,S.set=pn,S.eras=ra,S.erasParse=ia,S.erasConvertYear=aa,S.erasAbbrRegex=ha,S.erasNameRegex=ua,S.erasNarrowRegex=fa,S.months=jn,S.monthsShort=Gn,S.monthsParse=Zn,S.monthsRegex=Qn,S.monthsShortRegex=Kn,S.week=er,S.firstDayOfYear=nr,S.firstDayOfWeek=sr,S.weekdays=fr,S.weekdaysMin=mr,S.weekdaysShort=_r,S.weekdaysParse=yr,S.weekdaysRegex=vr,S.weekdaysShortRegex=Sr,S.weekdaysMinRegex=kr,S.isPM=Dr,S.meridiem=Tr;function ut(e,t,s,n){var r=ne(),i=q().set(n,t);return r[s](i,e)}function Gs(e,t,s){if(X(e)&&(t=e,e=void 0),e=e||"",t!=null)return ut(e,t,s,"month");var n,r=[];for(n=0;n<12;n++)r[n]=ut(e,n,s,"month");return r}function jt(e,t,s,n){typeof e=="boolean"?(X(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,X(t)&&(s=t,t=void 0),t=t||"");var r=ne(),i=e?r._week.dow:0,a,o=[];if(s!=null)return ut(t,(s+i)%7,n,"day");for(a=0;a<7;a++)o[a]=ut(t,(a+i)%7,n,"day");return o}function Ia(e,t){return Gs(e,t,"months")}function Va(e,t){return Gs(e,t,"monthsShort")}function Wa(e,t,s){return jt(e,t,s,"weekdays")}function Ra(e,t,s){return jt(e,t,s,"weekdaysShort")}function La(e,t,s){return jt(e,t,s,"weekdaysMin")}de("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,s=g(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),u.lang=A("moment.lang is deprecated. Use moment.locale instead.",de),u.langData=A("moment.langData is deprecated. Use moment.localeData instead.",ne);var re=Math.abs;function Pa(){var e=this._data;return this._milliseconds=re(this._milliseconds),this._days=re(this._days),this._months=re(this._months),e.milliseconds=re(e.milliseconds),e.seconds=re(e.seconds),e.minutes=re(e.minutes),e.hours=re(e.hours),e.months=re(e.months),e.years=re(e.years),this}function zs(e,t,s,n){var r=G(t,s);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function Aa(e,t){return zs(this,e,t,1)}function Fa(e,t){return zs(this,e,t,-1)}function Zs(e){return e<0?Math.floor(e):Math.ceil(e)}function Ha(){var e=this._milliseconds,t=this._days,s=this._months,n=this._data,r,i,a,o,c;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Zs(Gt(s)+t)*864e5,t=0,s=0),n.milliseconds=e%1e3,r=H(e/1e3),n.seconds=r%60,i=H(r/60),n.minutes=i%60,a=H(i/60),n.hours=a%24,t+=H(a/24),c=H(qs(t)),s+=c,t-=Zs(Gt(c)),o=H(s/12),s%=12,n.days=t,n.months=s,n.years=o,this}function qs(e){return e*4800/146097}function Gt(e){return e*146097/4800}function Ua(e){if(!this.isValid())return NaN;var t,s,n=this._milliseconds;if(e=F(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,s=this._months+qs(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(Gt(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Ba(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+g(this._months/12)*31536e6:NaN}function ie(e){return function(){return this.as(e)}}var $a=ie("ms"),ja=ie("s"),Ga=ie("m"),za=ie("h"),Za=ie("d"),qa=ie("w"),Ka=ie("M"),Qa=ie("Q"),Ja=ie("y");function Xa(){return G(this)}function eo(e){return e=F(e),this.isValid()?this[e+"s"]():NaN}function ge(e){return function(){return this.isValid()?this._data[e]:NaN}}var to=ge("milliseconds"),so=ge("seconds"),no=ge("minutes"),ro=ge("hours"),io=ge("days"),ao=ge("months"),oo=ge("years");function co(){return H(this.days()/7)}var ae=Math.round,Te={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function lo(e,t,s,n,r){return r.relativeTime(t||1,!!s,e,n)}function uo(e,t,s,n){var r=G(e).abs(),i=ae(r.as("s")),a=ae(r.as("m")),o=ae(r.as("h")),c=ae(r.as("d")),_=ae(r.as("M")),f=ae(r.as("w")),p=ae(r.as("y")),O=i<=s.ss&&["s",i]||i<s.s&&["ss",i]||a<=1&&["m"]||a<s.m&&["mm",a]||o<=1&&["h"]||o<s.h&&["hh",o]||c<=1&&["d"]||c<s.d&&["dd",c];return s.w!=null&&(O=O||f<=1&&["w"]||f<s.w&&["ww",f]),O=O||_<=1&&["M"]||_<s.M&&["MM",_]||p<=1&&["y"]||["yy",p],O[2]=t,O[3]=+e>0,O[4]=n,lo.apply(null,O)}function ho(e){return e===void 0?ae:typeof e=="function"?(ae=e,!0):!1}function fo(e,t){return Te[e]===void 0?!1:t===void 0?Te[e]:(Te[e]=t,e==="s"&&(Te.ss=t-1),!0)}function _o(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,n=Te,r,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(n=Object.assign({},Te,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),r=this.localeData(),i=uo(this,!s,n,r),s&&(i=r.pastFuture(+this,i)),r.postformat(i)}var zt=Math.abs;function Ee(e){return(e>0)-(e<0)||+e}function ht(){if(!this.isValid())return this.localeData().invalidDate();var e=zt(this._milliseconds)/1e3,t=zt(this._days),s=zt(this._months),n,r,i,a,o=this.asSeconds(),c,_,f,p;return o?(n=H(e/60),r=H(n/60),e%=60,n%=60,i=H(s/12),s%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",c=o<0?"-":"",_=Ee(this._months)!==Ee(o)?"-":"",f=Ee(this._days)!==Ee(o)?"-":"",p=Ee(this._milliseconds)!==Ee(o)?"-":"",c+"P"+(i?_+i+"Y":"")+(s?_+s+"M":"")+(t?f+t+"D":"")+(r||n||e?"T":"")+(r?p+r+"H":"")+(n?p+n+"M":"")+(e?p+a+"S":"")):"P0D"}var w=it.prototype;w.isValid=ii,w.abs=Pa,w.add=Aa,w.subtract=Fa,w.as=Ua,w.asMilliseconds=$a,w.asSeconds=ja,w.asMinutes=Ga,w.asHours=za,w.asDays=Za,w.asWeeks=qa,w.asMonths=Ka,w.asQuarters=Qa,w.asYears=Ja,w.valueOf=Ba,w._bubble=Ha,w.clone=Xa,w.get=eo,w.milliseconds=to,w.seconds=so,w.minutes=no,w.hours=ro,w.days=io,w.weeks=co,w.months=ao,w.years=oo,w.humanize=_o,w.toISOString=ht,w.toString=ht,w.toJSON=ht,w.locale=Rs,w.localeData=Ps,w.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ht),w.lang=Ls,m("X",0,0,"unix"),m("x",0,0,"valueOf"),h("x",Je),h("X",Wn),k("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),k("x",function(e,t,s){s._d=new Date(g(e))});//! moment.js
|
10
|
-
|
11
|
-
|
12
|
-
* (c) 2022 Evan You
|
13
|
-
*
|
14
|
-
*/var Qs="store";function Yo(e){return e===void 0&&(e=null),d.inject(e!==null?e:Qs)}function be(e,t){Object.keys(e).forEach(function(s){return t(e[s],s)})}function Io(e){return e!==null&&typeof e=="object"}function Vo(e){return e&&typeof e.then=="function"}function z(e,t){if(!e)throw new Error("[vuex] "+t)}function Wo(e,t){return function(){return e(t)}}function Js(e,t,s){return t.indexOf(e)<0&&(s&&s.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Xs(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var s=e.state;ft(e,s,[],e._modules.root,!0),qt(e,s,t)}function qt(e,t,s){var n=e._state,r=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={},o={},c=d.effectScope(!0);c.run(function(){be(i,function(_,f){a[f]=Wo(_,e),o[f]=d.computed(function(){return a[f]()}),Object.defineProperty(e.getters,f,{get:function(){return o[f].value},enumerable:!0})})}),e._state=d.reactive({data:t}),e._scope=c,e.strict&&Fo(e),n&&s&&e._withCommit(function(){n.data=null}),r&&r.stop()}function ft(e,t,s,n,r){var i=!s.length,a=e._modules.getNamespace(s);if(n.namespaced&&(e._modulesNamespaceMap[a]&&process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate namespace "+a+" for the namespaced module "+s.join("/")),e._modulesNamespaceMap[a]=n),!i&&!r){var o=Kt(t,s.slice(0,-1)),c=s[s.length-1];e._withCommit(function(){process.env.NODE_ENV!=="production"&&c in o&&console.warn('[vuex] state field "'+c+'" was overridden by a module with the same name at "'+s.join(".")+'"'),o[c]=n.state})}var _=n.context=Ro(e,a,s);n.forEachMutation(function(f,p){var O=a+p;Lo(e,O,f,_)}),n.forEachAction(function(f,p){var O=f.root?p:a+p,b=f.handler||f;Po(e,O,b,_)}),n.forEachGetter(function(f,p){var O=a+p;Ao(e,O,f,_)}),n.forEachChild(function(f,p){ft(e,t,s.concat(p),f,r)})}function Ro(e,t,s){var n=t==="",r={dispatch:n?e.dispatch:function(i,a,o){var c=_t(i,a,o),_=c.payload,f=c.options,p=c.type;if((!f||!f.root)&&(p=t+p,process.env.NODE_ENV!=="production"&&!e._actions[p])){console.error("[vuex] unknown local action type: "+c.type+", global type: "+p);return}return e.dispatch(p,_)},commit:n?e.commit:function(i,a,o){var c=_t(i,a,o),_=c.payload,f=c.options,p=c.type;if((!f||!f.root)&&(p=t+p,process.env.NODE_ENV!=="production"&&!e._mutations[p])){console.error("[vuex] unknown local mutation type: "+c.type+", global type: "+p);return}e.commit(p,_,f)}};return Object.defineProperties(r,{getters:{get:n?function(){return e.getters}:function(){return en(e,t)}},state:{get:function(){return Kt(e.state,s)}}}),r}function en(e,t){if(!e._makeLocalGettersCache[t]){var s={},n=t.length;Object.keys(e.getters).forEach(function(r){if(r.slice(0,n)===t){var i=r.slice(n);Object.defineProperty(s,i,{get:function(){return e.getters[r]},enumerable:!0})}}),e._makeLocalGettersCache[t]=s}return e._makeLocalGettersCache[t]}function Lo(e,t,s,n){var r=e._mutations[t]||(e._mutations[t]=[]);r.push(function(a){s.call(e,n.state,a)})}function Po(e,t,s,n){var r=e._actions[t]||(e._actions[t]=[]);r.push(function(a){var o=s.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},a);return Vo(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch(function(c){throw e._devtoolHook.emit("vuex:error",c),c}):o})}function Ao(e,t,s,n){if(e._wrappedGetters[t]){process.env.NODE_ENV!=="production"&&console.error("[vuex] duplicate getter key: "+t);return}e._wrappedGetters[t]=function(i){return s(n.state,n.getters,i.state,i.getters)}}function Fo(e){d.watch(function(){return e._state.data},function(){process.env.NODE_ENV!=="production"&&z(e._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,flush:"sync"})}function Kt(e,t){return t.reduce(function(s,n){return s[n]},e)}function _t(e,t,s){return Io(e)&&e.type&&(s=t,t=e,e=e.type),process.env.NODE_ENV!=="production"&&z(typeof e=="string","expects string as the type, but found "+typeof e+"."),{type:e,payload:t,options:s}}var Ho="vuex bindings",tn="vuex:mutations",Qt="vuex:actions",xe="vuex",Uo=0;function Bo(e,t){xo({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Ho]},function(s){s.addTimelineLayer({id:tn,label:"Vuex Mutations",color:sn}),s.addTimelineLayer({id:Qt,label:"Vuex Actions",color:sn}),s.addInspector({id:xe,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),s.on.getInspectorTree(function(n){if(n.app===e&&n.inspectorId===xe)if(n.filter){var r=[];on(r,t._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[an(t._modules.root,"")]}),s.on.getInspectorState(function(n){if(n.app===e&&n.inspectorId===xe){var r=n.nodeId;en(t,r),n.state=Go(Zo(t._modules,r),r==="root"?t.getters:t._makeLocalGettersCache,r)}}),s.on.editInspectorState(function(n){if(n.app===e&&n.inspectorId===xe){var r=n.nodeId,i=n.path;r!=="root"&&(i=r.split("/").filter(Boolean).concat(i)),t._withCommit(function(){n.set(t._state.data,i,n.state.value)})}}),t.subscribe(function(n,r){var i={};n.payload&&(i.payload=n.payload),i.state=r,s.notifyComponentUpdate(),s.sendInspectorTree(xe),s.sendInspectorState(xe),s.addTimelineEvent({layerId:tn,event:{time:Date.now(),title:n.type,data:i}})}),t.subscribeAction({before:function(n,r){var i={};n.payload&&(i.payload=n.payload),n._id=Uo++,n._time=Date.now(),i.state=r,s.addTimelineEvent({layerId:Qt,event:{time:n._time,title:n.type,groupId:n._id,subtitle:"start",data:i}})},after:function(n,r){var i={},a=Date.now()-n._time;i.duration={_custom:{type:"duration",display:a+"ms",tooltip:"Action duration",value:a}},n.payload&&(i.payload=n.payload),i.state=r,s.addTimelineEvent({layerId:Qt,event:{time:Date.now(),title:n.type,groupId:n._id,subtitle:"end",data:i}})}})})}var sn=8702998,$o=6710886,jo=16777215,nn={label:"namespaced",textColor:jo,backgroundColor:$o};function rn(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function an(e,t){return{id:t||"root",label:rn(t),tags:e.namespaced?[nn]:[],children:Object.keys(e._children).map(function(s){return an(e._children[s],t+s+"/")})}}function on(e,t,s,n){n.includes(s)&&e.push({id:n||"root",label:n.endsWith("/")?n.slice(0,n.length-1):n||"Root",tags:t.namespaced?[nn]:[]}),Object.keys(t._children).forEach(function(r){on(e,t._children[r],s,n+r+"/")})}function Go(e,t,s){t=s==="root"?t:t[s];var n=Object.keys(t),r={state:Object.keys(e.state).map(function(a){return{key:a,editable:!0,value:e.state[a]}})};if(n.length){var i=zo(t);r.getters=Object.keys(i).map(function(a){return{key:a.endsWith("/")?rn(a):a,editable:!1,value:Jt(function(){return i[a]})}})}return r}function zo(e){var t={};return Object.keys(e).forEach(function(s){var n=s.split("/");if(n.length>1){var r=t,i=n.pop();n.forEach(function(a){r[a]||(r[a]={_custom:{value:{},display:a,tooltip:"Module",abstract:!0}}),r=r[a]._custom.value}),r[i]=Jt(function(){return e[s]})}else t[s]=Jt(function(){return e[s]})}),t}function Zo(e,t){var s=t.split("/").filter(function(n){return n});return s.reduce(function(n,r,i){var a=n[r];if(!a)throw new Error('Missing module "'+r+'" for path "'+t+'".');return i===s.length-1?a:a._children},t==="root"?e:e.root._children)}function Jt(e){try{return e()}catch(t){return t}}var Z=function(t,s){this.runtime=s,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=(typeof n=="function"?n():n)||{}},cn={namespaced:{configurable:!0}};cn.namespaced.get=function(){return!!this._rawModule.namespaced},Z.prototype.addChild=function(t,s){this._children[t]=s},Z.prototype.removeChild=function(t){delete this._children[t]},Z.prototype.getChild=function(t){return this._children[t]},Z.prototype.hasChild=function(t){return t in this._children},Z.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},Z.prototype.forEachChild=function(t){be(this._children,t)},Z.prototype.forEachGetter=function(t){this._rawModule.getters&&be(this._rawModule.getters,t)},Z.prototype.forEachAction=function(t){this._rawModule.actions&&be(this._rawModule.actions,t)},Z.prototype.forEachMutation=function(t){this._rawModule.mutations&&be(this._rawModule.mutations,t)},Object.defineProperties(Z.prototype,cn);var ve=function(t){this.register([],t,!1)};ve.prototype.get=function(t){return t.reduce(function(s,n){return s.getChild(n)},this.root)},ve.prototype.getNamespace=function(t){var s=this.root;return t.reduce(function(n,r){return s=s.getChild(r),n+(s.namespaced?r+"/":"")},"")},ve.prototype.update=function(t){ln([],this.root,t)},ve.prototype.register=function(t,s,n){var r=this;n===void 0&&(n=!0),process.env.NODE_ENV!=="production"&&hn(t,s);var i=new Z(s,n);if(t.length===0)this.root=i;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],i)}s.modules&&be(s.modules,function(o,c){r.register(t.concat(c),o,n)})},ve.prototype.unregister=function(t){var s=this.get(t.slice(0,-1)),n=t[t.length-1],r=s.getChild(n);if(!r){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to unregister module '"+n+"', which is not registered");return}r.runtime&&s.removeChild(n)},ve.prototype.isRegistered=function(t){var s=this.get(t.slice(0,-1)),n=t[t.length-1];return s?s.hasChild(n):!1};function ln(e,t,s){if(process.env.NODE_ENV!=="production"&&hn(e,s),t.update(s),s.modules)for(var n in s.modules){if(!t.getChild(n)){process.env.NODE_ENV!=="production"&&console.warn("[vuex] trying to add a new module '"+n+"' on hot reloading, manual reload is needed");return}ln(e.concat(n),t.getChild(n),s.modules[n])}}var dn={assert:function(e){return typeof e=="function"},expected:"function"},qo={assert:function(e){return typeof e=="function"||typeof e=="object"&&typeof e.handler=="function"},expected:'function or object with "handler" function'},un={getters:dn,mutations:dn,actions:qo};function hn(e,t){Object.keys(un).forEach(function(s){if(t[s]){var n=un[s];be(t[s],function(r,i){z(n.assert(r),Ko(e,s,i,r,n.expected))})}})}function Ko(e,t,s,n,r){var i=t+" should be "+r+' but "'+t+"."+s+'"';return e.length>0&&(i+=' in module "'+e.join(".")+'"'),i+=" is "+JSON.stringify(n)+".",i}var L=function e(t){var s=this;t===void 0&&(t={}),process.env.NODE_ENV!=="production"&&(z(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),z(this instanceof e,"store must be called with the new operator."));var n=t.plugins;n===void 0&&(n=[]);var r=t.strict;r===void 0&&(r=!1);var i=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ve(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var a=this,o=this,c=o.dispatch,_=o.commit;this.dispatch=function(O,b){return c.call(a,O,b)},this.commit=function(O,b,P){return _.call(a,O,b,P)},this.strict=r;var f=this._modules.root.state;ft(this,f,[],this._modules.root),qt(this,f),n.forEach(function(p){return p(s)})},Xt={state:{configurable:!0}};L.prototype.install=function(t,s){t.provide(s||Qs,this),t.config.globalProperties.$store=this;var n=this._devtools!==void 0?this._devtools:process.env.NODE_ENV!=="production"||!1;n&&Bo(t,this)},Xt.state.get=function(){return this._state.data},Xt.state.set=function(e){process.env.NODE_ENV!=="production"&&z(!1,"use store.replaceState() to explicit replace store state.")},L.prototype.commit=function(t,s,n){var r=this,i=_t(t,s,n),a=i.type,o=i.payload,c=i.options,_={type:a,payload:o},f=this._mutations[a];if(!f){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown mutation type: "+a);return}this._withCommit(function(){f.forEach(function(O){O(o)})}),this._subscribers.slice().forEach(function(p){return p(_,r.state)}),process.env.NODE_ENV!=="production"&&c&&c.silent&&console.warn("[vuex] mutation type: "+a+". Silent option has been removed. Use the filter functionality in the vue-devtools")},L.prototype.dispatch=function(t,s){var n=this,r=_t(t,s),i=r.type,a=r.payload,o={type:i,payload:a},c=this._actions[i];if(!c){process.env.NODE_ENV!=="production"&&console.error("[vuex] unknown action type: "+i);return}try{this._actionSubscribers.slice().filter(function(f){return f.before}).forEach(function(f){return f.before(o,n.state)})}catch(f){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in before action subscribers: "),console.error(f))}var _=c.length>1?Promise.all(c.map(function(f){return f(a)})):c[0](a);return new Promise(function(f,p){_.then(function(O){try{n._actionSubscribers.filter(function(b){return b.after}).forEach(function(b){return b.after(o,n.state)})}catch(b){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in after action subscribers: "),console.error(b))}f(O)},function(O){try{n._actionSubscribers.filter(function(b){return b.error}).forEach(function(b){return b.error(o,n.state,O)})}catch(b){process.env.NODE_ENV!=="production"&&(console.warn("[vuex] error in error action subscribers: "),console.error(b))}p(O)})})},L.prototype.subscribe=function(t,s){return Js(t,this._subscribers,s)},L.prototype.subscribeAction=function(t,s){var n=typeof t=="function"?{before:t}:t;return Js(n,this._actionSubscribers,s)},L.prototype.watch=function(t,s,n){var r=this;return process.env.NODE_ENV!=="production"&&z(typeof t=="function","store.watch only accepts a function."),d.watch(function(){return t(r.state,r.getters)},s,Object.assign({},n))},L.prototype.replaceState=function(t){var s=this;this._withCommit(function(){s._state.data=t})},L.prototype.registerModule=function(t,s,n){n===void 0&&(n={}),typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&(z(Array.isArray(t),"module path must be a string or an Array."),z(t.length>0,"cannot register the root module by using registerModule.")),this._modules.register(t,s),ft(this,this.state,t,this._modules.get(t),n.preserveState),qt(this,this.state)},L.prototype.unregisterModule=function(t){var s=this;typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&z(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var n=Kt(s.state,t.slice(0,-1));delete n[t[t.length-1]]}),Xs(this)},L.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),process.env.NODE_ENV!=="production"&&z(Array.isArray(t),"module path must be a string or an Array."),this._modules.isRegistered(t)},L.prototype.hotUpdate=function(t){this._modules.update(t),Xs(this,!0)},L.prototype._withCommit=function(t){var s=this._committing;this._committing=!0,t(),this._committing=s},Object.defineProperties(L.prototype,Xt);var Qo=Object.defineProperty,Jo=(e,t,s)=>t in e?Qo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Xo=(e,t,s)=>(Jo(e,typeof t!="symbol"?t+"":t,s),s);const Be={LF:`
|
15
|
-
`,NULL:"\0"};class he{constructor(t){const{command:s,headers:n,body:r,binaryBody:i,escapeHeaderValues:a,skipContentLengthHeader:o}=t;this.command=s,this.headers=Object.assign({},n||{}),i?(this._binaryBody=i,this.isBinaryBody=!0):(this._body=r||"",this.isBinaryBody=!1),this.escapeHeaderValues=a||!1,this.skipContentLengthHeader=o||!1}get body(){return!this._body&&this.isBinaryBody&&(this._body=new TextDecoder().decode(this._binaryBody)),this._body||""}get binaryBody(){return!this._binaryBody&&!this.isBinaryBody&&(this._binaryBody=new TextEncoder().encode(this._body)),this._binaryBody}static fromRawFrame(t,s){const n={},r=i=>i.replace(/^\s+|\s+$/g,"");for(const i of t.headers.reverse()){i.indexOf(":");const a=r(i[0]);let o=r(i[1]);s&&t.command!=="CONNECT"&&t.command!=="CONNECTED"&&(o=he.hdrValueUnEscape(o)),n[a]=o}return new he({command:t.command,headers:n,binaryBody:t.binaryBody,escapeHeaderValues:s})}toString(){return this.serializeCmdAndHeaders()}serialize(){const t=this.serializeCmdAndHeaders();return this.isBinaryBody?he.toUnit8Array(t,this._binaryBody).buffer:t+this._body+Be.NULL}serializeCmdAndHeaders(){const t=[this.command];this.skipContentLengthHeader&&delete this.headers["content-length"];for(const s of Object.keys(this.headers||{})){const n=this.headers[s];this.escapeHeaderValues&&this.command!=="CONNECT"&&this.command!=="CONNECTED"?t.push(`${s}:${he.hdrValueEscape(`${n}`)}`):t.push(`${s}:${n}`)}return(this.isBinaryBody||!this.isBodyEmpty()&&!this.skipContentLengthHeader)&&t.push(`content-length:${this.bodyLength()}`),t.join(Be.LF)+Be.LF+Be.LF}isBodyEmpty(){return this.bodyLength()===0}bodyLength(){const t=this.binaryBody;return t?t.length:0}static sizeOfUTF8(t){return t?new TextEncoder().encode(t).length:0}static toUnit8Array(t,s){const n=new TextEncoder().encode(t),r=new Uint8Array([0]),i=new Uint8Array(n.length+s.length+r.length);return i.set(n),i.set(s,n.length),i.set(r,n.length+s.length),i}static marshall(t){return new he(t).serialize()}static hdrValueEscape(t){return t.replace(/\\/g,"\\\\").replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/:/g,"\\c")}static hdrValueUnEscape(t){return t.replace(/\\r/g,"\r").replace(/\\n/g,`
|
16
|
-
`).replace(/\\c/g,":").replace(/\\\\/g,"\\")}}const fn=0,mt=10,pt=13,ec=58;class tc{constructor(t,s){this.onFrame=t,this.onIncomingPing=s,this._encoder=new TextEncoder,this._decoder=new TextDecoder,this._token=[],this._initState()}parseChunk(t,s=!1){let n;if(typeof t=="string"?n=this._encoder.encode(t):n=new Uint8Array(t),s&&n[n.length-1]!==0){const r=new Uint8Array(n.length+1);r.set(n,0),r[n.length]=0,n=r}for(let r=0;r<n.length;r++){const i=n[r];this._onByte(i)}}_collectFrame(t){if(t!==fn&&t!==pt){if(t===mt){this.onIncomingPing();return}this._onByte=this._collectCommand,this._reinjectByte(t)}}_collectCommand(t){if(t!==pt){if(t===mt){this._results.command=this._consumeTokenAsUTF8(),this._onByte=this._collectHeaders;return}this._consumeByte(t)}}_collectHeaders(t){if(t!==pt){if(t===mt){this._setupCollectBody();return}this._onByte=this._collectHeaderKey,this._reinjectByte(t)}}_reinjectByte(t){this._onByte(t)}_collectHeaderKey(t){if(t===ec){this._headerKey=this._consumeTokenAsUTF8(),this._onByte=this._collectHeaderValue;return}this._consumeByte(t)}_collectHeaderValue(t){if(t!==pt){if(t===mt){this._results.headers.push([this._headerKey,this._consumeTokenAsUTF8()]),this._headerKey=void 0,this._onByte=this._collectHeaders;return}this._consumeByte(t)}}_setupCollectBody(){const t=this._results.headers.filter(s=>s[0]==="content-length")[0];t?(this._bodyBytesRemaining=parseInt(t[1],10),this._onByte=this._collectBodyFixedSize):this._onByte=this._collectBodyNullTerminated}_collectBodyNullTerminated(t){if(t===fn){this._retrievedBody();return}this._consumeByte(t)}_collectBodyFixedSize(t){if(this._bodyBytesRemaining--===0){this._retrievedBody();return}this._consumeByte(t)}_retrievedBody(){this._results.binaryBody=this._consumeTokenAsRaw();try{this.onFrame(this._results)}catch(t){console.log("Ignoring an exception thrown by a frame handler. Original exception: ",t)}this._initState()}_consumeByte(t){this._token.push(t)}_consumeTokenAsUTF8(){return this._decoder.decode(this._consumeTokenAsRaw())}_consumeTokenAsRaw(){const t=new Uint8Array(this._token);return this._token=[],t}_initState(){this._results={command:void 0,headers:[],binaryBody:void 0},this._token=[],this._headerKey=void 0,this._onByte=this._collectFrame}}var oe;(function(e){e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSING=2]="CLOSING",e[e.CLOSED=3]="CLOSED"})(oe=oe||(oe={}));var U;(function(e){e[e.ACTIVE=0]="ACTIVE",e[e.DEACTIVATING=1]="DEACTIVATING",e[e.INACTIVE=2]="INACTIVE"})(U=U||(U={}));class I{constructor(t){this.versions=t}supportedVersions(){return this.versions.join(",")}protocolVersions(){return this.versions.map(t=>`v${t.replace(".","")}.stomp`)}}I.V1_0="1.0",I.V1_1="1.1",I.V1_2="1.2",I.default=new I([I.V1_2,I.V1_1,I.V1_0]);function sc(e,t){e.terminate=function(){const s=()=>{};this.onerror=s,this.onmessage=s,this.onopen=s;const n=new Date,r=Math.random().toString().substring(2,8),i=this.onclose;this.onclose=a=>{const o=new Date().getTime()-n.getTime();t(`Discarded socket (#${r}) closed after ${o}ms, with code/reason: ${a.code}/${a.reason}`)},this.close(),i==null||i.call(e,{code:4001,reason:`Quick discarding socket (#${r}) without waiting for the shutdown sequence.`,wasClean:!1})}}class nc{constructor(t,s,n){this._client=t,this._webSocket=s,this._connected=!1,this._serverFrameHandlers={CONNECTED:r=>{this.debug(`connected to server ${r.headers.server}`),this._connected=!0,this._connectedVersion=r.headers.version,this._connectedVersion===I.V1_2&&(this._escapeHeaderValues=!0),this._setupHeartbeat(r.headers),this.onConnect(r)},MESSAGE:r=>{const i=r.headers.subscription,a=this._subscriptions[i]||this.onUnhandledMessage,o=r,c=this,_=this._connectedVersion===I.V1_2?o.headers.ack:o.headers["message-id"];o.ack=(f={})=>c.ack(_,i,f),o.nack=(f={})=>c.nack(_,i,f),a(o)},RECEIPT:r=>{const i=this._receiptWatchers[r.headers["receipt-id"]];i?(i(r),delete this._receiptWatchers[r.headers["receipt-id"]]):this.onUnhandledReceipt(r)},ERROR:r=>{this.onStompError(r)}},this._counter=0,this._subscriptions={},this._receiptWatchers={},this._partialData="",this._escapeHeaderValues=!1,this._lastServerActivityTS=Date.now(),this.debug=n.debug,this.stompVersions=n.stompVersions,this.connectHeaders=n.connectHeaders,this.disconnectHeaders=n.disconnectHeaders,this.heartbeatIncoming=n.heartbeatIncoming,this.heartbeatOutgoing=n.heartbeatOutgoing,this.splitLargeFrames=n.splitLargeFrames,this.maxWebSocketChunkSize=n.maxWebSocketChunkSize,this.forceBinaryWSFrames=n.forceBinaryWSFrames,this.logRawCommunication=n.logRawCommunication,this.appendMissingNULLonIncoming=n.appendMissingNULLonIncoming,this.discardWebsocketOnCommFailure=n.discardWebsocketOnCommFailure,this.onConnect=n.onConnect,this.onDisconnect=n.onDisconnect,this.onStompError=n.onStompError,this.onWebSocketClose=n.onWebSocketClose,this.onWebSocketError=n.onWebSocketError,this.onUnhandledMessage=n.onUnhandledMessage,this.onUnhandledReceipt=n.onUnhandledReceipt,this.onUnhandledFrame=n.onUnhandledFrame}get connectedVersion(){return this._connectedVersion}get connected(){return this._connected}start(){const t=new tc(s=>{const n=he.fromRawFrame(s,this._escapeHeaderValues);this.logRawCommunication||this.debug(`<<< ${n}`),(this._serverFrameHandlers[n.command]||this.onUnhandledFrame)(n)},()=>{this.debug("<<< PONG")});this._webSocket.onmessage=s=>{if(this.debug("Received data"),this._lastServerActivityTS=Date.now(),this.logRawCommunication){const n=s.data instanceof ArrayBuffer?new TextDecoder().decode(s.data):s.data;this.debug(`<<< ${n}`)}t.parseChunk(s.data,this.appendMissingNULLonIncoming)},this._webSocket.onclose=s=>{this.debug(`Connection closed to ${this._webSocket.url}`),this._cleanUp(),this.onWebSocketClose(s)},this._webSocket.onerror=s=>{this.onWebSocketError(s)},this._webSocket.onopen=()=>{const s=Object.assign({},this.connectHeaders);this.debug("Web Socket Opened..."),s["accept-version"]=this.stompVersions.supportedVersions(),s["heart-beat"]=[this.heartbeatOutgoing,this.heartbeatIncoming].join(","),this._transmit({command:"CONNECT",headers:s})}}_setupHeartbeat(t){if(t.version!==I.V1_1&&t.version!==I.V1_2||!t["heart-beat"])return;const[s,n]=t["heart-beat"].split(",").map(r=>parseInt(r,10));if(this.heartbeatOutgoing!==0&&n!==0){const r=Math.max(this.heartbeatOutgoing,n);this.debug(`send PING every ${r}ms`),this._pinger=setInterval(()=>{this._webSocket.readyState===oe.OPEN&&(this._webSocket.send(Be.LF),this.debug(">>> PING"))},r)}if(this.heartbeatIncoming!==0&&s!==0){const r=Math.max(this.heartbeatIncoming,s);this.debug(`check PONG every ${r}ms`),this._ponger=setInterval(()=>{const i=Date.now()-this._lastServerActivityTS;i>r*2&&(this.debug(`did not receive server activity for the last ${i}ms`),this._closeOrDiscardWebsocket())},r)}}_closeOrDiscardWebsocket(){this.discardWebsocketOnCommFailure?(this.debug("Discarding websocket, the underlying socket may linger for a while"),this.discardWebsocket()):(this.debug("Issuing close on the websocket"),this._closeWebsocket())}forceDisconnect(){this._webSocket&&(this._webSocket.readyState===oe.CONNECTING||this._webSocket.readyState===oe.OPEN)&&this._closeOrDiscardWebsocket()}_closeWebsocket(){this._webSocket.onmessage=()=>{},this._webSocket.close()}discardWebsocket(){typeof this._webSocket.terminate!="function"&&sc(this._webSocket,t=>this.debug(t)),this._webSocket.terminate()}_transmit(t){const{command:s,headers:n,body:r,binaryBody:i,skipContentLengthHeader:a}=t,o=new he({command:s,headers:n,body:r,binaryBody:i,escapeHeaderValues:this._escapeHeaderValues,skipContentLengthHeader:a});let c=o.serialize();if(this.logRawCommunication?this.debug(`>>> ${c}`):this.debug(`>>> ${o}`),this.forceBinaryWSFrames&&typeof c=="string"&&(c=new TextEncoder().encode(c)),typeof c!="string"||!this.splitLargeFrames)this._webSocket.send(c);else{let _=c;for(;_.length>0;){const f=_.substring(0,this.maxWebSocketChunkSize);_=_.substring(this.maxWebSocketChunkSize),this._webSocket.send(f),this.debug(`chunk sent = ${f.length}, remaining = ${_.length}`)}}}dispose(){if(this.connected)try{const t=Object.assign({},this.disconnectHeaders);t.receipt||(t.receipt=`close-${this._counter++}`),this.watchForReceipt(t.receipt,s=>{this._closeWebsocket(),this._cleanUp(),this.onDisconnect(s)}),this._transmit({command:"DISCONNECT",headers:t})}catch(t){this.debug(`Ignoring error during disconnect ${t}`)}else(this._webSocket.readyState===oe.CONNECTING||this._webSocket.readyState===oe.OPEN)&&this._closeWebsocket()}_cleanUp(){this._connected=!1,this._pinger&&(clearInterval(this._pinger),this._pinger=void 0),this._ponger&&(clearInterval(this._ponger),this._ponger=void 0)}publish(t){const{destination:s,headers:n,body:r,binaryBody:i,skipContentLengthHeader:a}=t,o=Object.assign({destination:s},n);this._transmit({command:"SEND",headers:o,body:r,binaryBody:i,skipContentLengthHeader:a})}watchForReceipt(t,s){this._receiptWatchers[t]=s}subscribe(t,s,n={}){n=Object.assign({},n),n.id||(n.id=`sub-${this._counter++}`),n.destination=t,this._subscriptions[n.id]=s,this._transmit({command:"SUBSCRIBE",headers:n});const r=this;return{id:n.id,unsubscribe(i){return r.unsubscribe(n.id,i)}}}unsubscribe(t,s={}){s=Object.assign({},s),delete this._subscriptions[t],s.id=t,this._transmit({command:"UNSUBSCRIBE",headers:s})}begin(t){const s=t||`tx-${this._counter++}`;this._transmit({command:"BEGIN",headers:{transaction:s}});const n=this;return{id:s,commit(){n.commit(s)},abort(){n.abort(s)}}}commit(t){this._transmit({command:"COMMIT",headers:{transaction:t}})}abort(t){this._transmit({command:"ABORT",headers:{transaction:t}})}ack(t,s,n={}){n=Object.assign({},n),this._connectedVersion===I.V1_2?n.id=t:n["message-id"]=t,n.subscription=s,this._transmit({command:"ACK",headers:n})}nack(t,s,n={}){return n=Object.assign({},n),this._connectedVersion===I.V1_2?n.id=t:n["message-id"]=t,n.subscription=s,this._transmit({command:"NACK",headers:n})}}class rc{constructor(t={}){this.stompVersions=I.default,this.connectionTimeout=0,this.reconnectDelay=5e3,this.heartbeatIncoming=1e4,this.heartbeatOutgoing=1e4,this.splitLargeFrames=!1,this.maxWebSocketChunkSize=8*1024,this.forceBinaryWSFrames=!1,this.appendMissingNULLonIncoming=!1,this.discardWebsocketOnCommFailure=!1,this.state=U.INACTIVE;const s=()=>{};this.debug=s,this.beforeConnect=s,this.onConnect=s,this.onDisconnect=s,this.onUnhandledMessage=s,this.onUnhandledReceipt=s,this.onUnhandledFrame=s,this.onStompError=s,this.onWebSocketClose=s,this.onWebSocketError=s,this.logRawCommunication=!1,this.onChangeState=s,this.connectHeaders={},this._disconnectHeaders={},this.configure(t)}get webSocket(){var t;return(t=this._stompHandler)==null?void 0:t._webSocket}get disconnectHeaders(){return this._disconnectHeaders}set disconnectHeaders(t){this._disconnectHeaders=t,this._stompHandler&&(this._stompHandler.disconnectHeaders=this._disconnectHeaders)}get connected(){return!!this._stompHandler&&this._stompHandler.connected}get connectedVersion(){return this._stompHandler?this._stompHandler.connectedVersion:void 0}get active(){return this.state===U.ACTIVE}_changeState(t){this.state=t,this.onChangeState(t)}configure(t){Object.assign(this,t)}activate(){const t=()=>{if(this.active){this.debug("Already ACTIVE, ignoring request to activate");return}this._changeState(U.ACTIVE),this._connect()};this.state===U.DEACTIVATING?(this.debug("Waiting for deactivation to finish before activating"),this.deactivate().then(()=>{t()})):t()}async _connect(){if(await this.beforeConnect(),this._stompHandler){this.debug("There is already a stompHandler, skipping the call to connect");return}if(!this.active){this.debug("Client has been marked inactive, will not attempt to connect");return}this.connectionTimeout>0&&(this._connectionWatcher&&clearTimeout(this._connectionWatcher),this._connectionWatcher=setTimeout(()=>{this.connected||(this.debug(`Connection not established in ${this.connectionTimeout}ms, closing socket`),this.forceDisconnect())},this.connectionTimeout)),this.debug("Opening Web Socket...");const t=this._createWebSocket();this._stompHandler=new nc(this,t,{debug:this.debug,stompVersions:this.stompVersions,connectHeaders:this.connectHeaders,disconnectHeaders:this._disconnectHeaders,heartbeatIncoming:this.heartbeatIncoming,heartbeatOutgoing:this.heartbeatOutgoing,splitLargeFrames:this.splitLargeFrames,maxWebSocketChunkSize:this.maxWebSocketChunkSize,forceBinaryWSFrames:this.forceBinaryWSFrames,logRawCommunication:this.logRawCommunication,appendMissingNULLonIncoming:this.appendMissingNULLonIncoming,discardWebsocketOnCommFailure:this.discardWebsocketOnCommFailure,onConnect:s=>{if(this._connectionWatcher&&(clearTimeout(this._connectionWatcher),this._connectionWatcher=void 0),!this.active){this.debug("STOMP got connected while deactivate was issued, will disconnect now"),this._disposeStompHandler();return}this.onConnect(s)},onDisconnect:s=>{this.onDisconnect(s)},onStompError:s=>{this.onStompError(s)},onWebSocketClose:s=>{this._stompHandler=void 0,this.state===U.DEACTIVATING&&this._changeState(U.INACTIVE),this.onWebSocketClose(s),this.active&&this._schedule_reconnect()},onWebSocketError:s=>{this.onWebSocketError(s)},onUnhandledMessage:s=>{this.onUnhandledMessage(s)},onUnhandledReceipt:s=>{this.onUnhandledReceipt(s)},onUnhandledFrame:s=>{this.onUnhandledFrame(s)}}),this._stompHandler.start()}_createWebSocket(){let t;if(this.webSocketFactory)t=this.webSocketFactory();else if(this.brokerURL)t=new WebSocket(this.brokerURL,this.stompVersions.protocolVersions());else throw new Error("Either brokerURL or webSocketFactory must be provided");return t.binaryType="arraybuffer",t}_schedule_reconnect(){this.reconnectDelay>0&&(this.debug(`STOMP: scheduling reconnection in ${this.reconnectDelay}ms`),this._reconnector=setTimeout(()=>{this._connect()},this.reconnectDelay))}async deactivate(t={}){var s;const n=t.force||!1,r=this.active;let i;if(this.state===U.INACTIVE)return this.debug("Already INACTIVE, nothing more to do"),Promise.resolve();if(this._changeState(U.DEACTIVATING),this._reconnector&&(clearTimeout(this._reconnector),this._reconnector=void 0),this._stompHandler&&this.webSocket.readyState!==oe.CLOSED){const a=this._stompHandler.onWebSocketClose;i=new Promise((o,c)=>{this._stompHandler.onWebSocketClose=_=>{a(_),o()}})}else return this._changeState(U.INACTIVE),Promise.resolve();return n?(s=this._stompHandler)==null||s.discardWebsocket():r&&this._disposeStompHandler(),i}forceDisconnect(){this._stompHandler&&this._stompHandler.forceDisconnect()}_disposeStompHandler(){this._stompHandler&&this._stompHandler.dispose()}publish(t){this._checkConnection(),this._stompHandler.publish(t)}_checkConnection(){if(!this.connected)throw new TypeError("There is no underlying STOMP connection")}watchForReceipt(t,s){this._checkConnection(),this._stompHandler.watchForReceipt(t,s)}subscribe(t,s,n={}){return this._checkConnection(),this._stompHandler.subscribe(t,s,n)}unsubscribe(t,s={}){this._checkConnection(),this._stompHandler.unsubscribe(t,s)}begin(t){return this._checkConnection(),this._stompHandler.begin(t)}commit(t){this._checkConnection(),this._stompHandler.commit(t)}abort(t){this._checkConnection(),this._stompHandler.abort(t)}ack(t,s,n={}){this._checkConnection(),this._stompHandler.ack(t,s,n)}nack(t,s,n={}){this._checkConnection(),this._stompHandler.nack(t,s,n)}}class ic{constructor(t,s){Xo(this,"client"),this.virtualHost=t,this.queue=s,this.client=new rc({brokerURL:window.VITE_BROKER_URL?window.VITE_BROKER_URL:"ws://192.168.20.107:15674/ws",connectHeaders:{login:window.VITE_USERNAME?window.VITE_USERNAME:"admin",passcode:window.VITE_PASSWORD?window.VITE_PASSWORD:"password",host:this.virtualHost}})}async connect(){return new Promise((t,s)=>{this.client.onConnect=()=>{t()},this.client.activate()})}async disconnectClient(){this.client.onDisconnect=()=>{},this.client.deactivate(),this.client.unsubscribe("")}async subscribe(t){await this.connect(),this.client.subscribe(`/queue/${this.queue}`,s=>{const n=JSON.parse(s.body);t(n)})}async publish(t){this.client.publish({destination:`/queue/${this.queue}`,body:JSON.stringify({data:t})})}}const ac={},oc={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},cc=[d.createElementVNode("path",{d:"M16 31C24.2843 31 31 24.2843 31 16C31 7.71573 24.2843 1 16 1C7.71573 1 1 7.71573 1 16C1 24.2843 7.71573 31 16 31Z",stroke:"#B3B3B3","stroke-miterlimit":"10"},null,-1),d.createElementVNode("path",{d:"M19.78 22.3L15.98 16.63H15.9601L12.2001 22.3H11.0701L15.37 15.8899L11.25 9.69995H12.38L15.98 15.08H16L19.67 9.69995H20.8L16.55 15.82L20.92 22.3H19.77H19.78Z",fill:"#B3B3B3"},null,-1)];function lc(e,t){return d.openBlock(),d.createElementBlock("svg",oc,cc)}const dc=we(ac,[["render",lc]]),uc={},hc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fc=[d.createElementVNode("path",{d:"M11.9301 23.25C5.65005 23.25 0.550049 18.14 0.550049 11.87C0.550049 5.6 5.66005 0.48999 11.9301 0.48999C18.2001 0.48999 23.3101 5.6 23.3101 11.87C23.3101 18.14 18.2001 23.25 11.9301 23.25ZM11.9301 1.10999C6.00005 1.10999 1.17004 5.94 1.17004 11.87C1.17004 17.8 6.00005 22.63 11.9301 22.63C17.8601 22.63 22.6899 17.8 22.6899 11.87C22.6899 5.94 17.8601 1.10999 11.9301 1.10999Z",fill:"#F28B0C"},null,-1),d.createElementVNode("path",{d:"M8.68994 17.0601C8.63994 17.0601 8.58004 17.0501 8.54004 17.0201C8.44004 16.9701 8.38 16.8601 8.38 16.7501V6.99007C8.38 6.88007 8.44004 6.78005 8.54004 6.72005C8.64004 6.66005 8.74998 6.67005 8.84998 6.72005L17.1899 11.6001C17.2799 11.6601 17.34 11.7601 17.34 11.8701C17.34 11.9801 17.2799 12.0801 17.1899 12.1401L8.84998 17.0201C8.84998 17.0201 8.74994 17.0601 8.68994 17.0601ZM9 7.5301V16.21L16.42 11.8701L9 7.5301Z",fill:"#F28B0C"},null,-1)];function _c(e,t){return d.openBlock(),d.createElementBlock("svg",hc,fc)}const mc=we(uc,[["render",_c]]),pc={},yc={width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},gc=[d.createElementVNode("path",{d:"M21.04 40.9399C32.0857 40.9399 41.04 31.9856 41.04 20.9399C41.04 9.89419 32.0857 0.939941 21.04 0.939941C9.99428 0.939941 1.03998 9.89419 1.03998 20.9399C1.03998 31.9856 9.99428 40.9399 21.04 40.9399Z",stroke:"#F28B0C","stroke-width":"1.5","stroke-miterlimit":"10"},null,-1),d.createElementVNode("path",{d:"M22.87 20.36C24.92 19.57 26.38 17.5801 26.38 15.2601C26.38 12.2401 23.93 9.79004 20.91 9.79004C17.89 9.79004 15.44 12.2401 15.44 15.2601C15.44 17.6301 16.95 19.6401 19.06 20.4001C16.15 21.2601 14.02 23.9501 14.02 27.1301V31.7701C14.02 31.9401 14.16 32.08 14.33 32.08H27.76C27.93 32.08 28.07 31.9401 28.07 31.7701V27.1301C28.07 23.8901 25.86 21.16 22.87 20.36Z",fill:"#F28B0C"},null,-1)];function wc(e,t){return d.openBlock(),d.createElementBlock("svg",yc,gc)}const bc=we(pc,[["render",wc]]),vc=e=>(d.pushScopeId("data-v-f8d5bc79"),e=e(),d.popScopeId(),e),Sc={class:"widget"},kc={class:"header-widget"},Oc=vc(()=>d.createElementVNode("span",null,null,-1)),Dc={class:"messages-container",id:"messages-container",ref:"messagesContainer"},Mc={class:"input-message w-full"},Cc=["onSubmit"],Tc={class:"form-message"},Ec={type:"submit"},Nc={class:"jl-inputgroup"},xc={type:"submit"},Yc=d.defineComponent({__name:"Chat",props:{toggleChat:{type:Function,required:!0},tokenAuth:{type:String,required:!0},phoneUser:{type:String,required:!0}},setup(e){const t=e,s=Yo(),n=d.ref("webchat"),r=d.ref("76177719"),i=d.ref(null),a=d.ref(null),o=d.ref([]),c=b=>b.startsWith("591")&&b.length===11?b.substring(3):b,_=async b=>{b.preventDefault();const{virtualHost:P}=s.state;await s.dispatch("sendMessageByAppAndPhone",{token:t.tokenAuth,data:{virtualHost:P,queue:`widget_chat_${sessionStorage.getItem("tabBrowser")}`,device:"00000000",phone:c(r.value),app:n.value,message:a.value,widget:!0}}),a.value=null},f=async b=>{b.resetConnection&&O(),p();const P=[];await s.dispatch("messagesByAppAndPhone",{token:t.tokenAuth,data:{phone:t.phoneUser,app:n.value,device:null}});const fe=s.getters.get_messages_chat;if(fe){for(const _e of fe)P.push(..._e.messages);o.value=P}},p=(b="webchat")=>{const{virtualHost:P}=s.state;if(!sessionStorage.getItem("tabBrowser")){let _e=Date.now();sessionStorage.setItem("tabBrowser",`${_e}`)}i.value=new ic(`${P}`,`widget_chat_${sessionStorage.getItem("tabBrowser")}`),i.value.connect(),i.value.subscribe(async()=>{await f({resetConnection:!1});const _e=document.getElementById("messages-container");_e.scrollTop=_e.scrollHeight})},O=()=>{var b;(b=i.value)==null||b.disconnectClient()};return d.onMounted(async()=>{await f({resetConnection:!1});const b=`WIDGET_CHAT_${t.phoneUser}`;await s.dispatch("syncVirtualHostCentral",{token:t.tokenAuth,data:{virtualHost:b}}),p()}),(b,P)=>(d.openBlock(),d.createElementBlock("div",Sc,[d.createElementVNode("div",kc,[Oc,d.createVNode(dc,{onClick:P[0]||(P[0]=fe=>e.toggleChat())})]),d.createElementVNode("div",Dc,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.value,(fe,_e)=>(d.openBlock(),d.createBlock(ko,{class:"message",key:_e,message:fe},null,8,["message"]))),128))],512),d.createElementVNode("div",Mc,[d.createElementVNode("form",{class:"message-send",onSubmit:d.withModifiers(_,["prevent"])},[d.createElementVNode("div",Tc,[d.createElementVNode("button",Ec,[d.createVNode(bc)]),d.createElementVNode("div",Nc,[d.withDirectives(d.createElementVNode("input",{"onUpdate:modelValue":P[1]||(P[1]=fe=>a.value=fe),class:"jl2-input",required:""},null,512),[[d.vModelText,a.value]]),d.createElementVNode("button",xc,[d.createVNode(mc)])])])],40,Cc)])]))}}),Kc="",Ic=we(Yc,[["__scopeId","data-v-f8d5bc79"]]),Vc={},Wc={width:"87",height:"87",viewBox:"0 0 87 87",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Rc=[d.createStaticVNode('<g filter="url(#filter0_d_4007_3488)"><path d="M43.5 77C64.2107 77 81 60.2107 81 39.5C81 18.7893 64.2107 2 43.5 2C22.7893 2 6 18.7893 6 39.5C6 60.2107 22.7893 77 43.5 77Z" fill="white" stroke="#F28B0C" stroke-width="3" stroke-miterlimit="10"></path><path d="M39.705 38.885C40.6908 38.885 41.49 38.0858 41.49 37.1C41.49 36.1142 40.6908 35.315 39.705 35.315C38.7192 35.315 37.92 36.1142 37.92 37.1C37.92 38.0858 38.7192 38.885 39.705 38.885Z" fill="#F28B0C"></path><path d="M45.075 38.885C46.0608 38.885 46.86 38.0858 46.86 37.1C46.86 36.1142 46.0608 35.315 45.075 35.315C44.0892 35.315 43.29 36.1142 43.29 37.1C43.29 38.0858 44.0892 38.885 45.075 38.885Z" fill="#F28B0C"></path><path d="M50.445 38.885C51.4308 38.885 52.23 38.0858 52.23 37.1C52.23 36.1142 51.4308 35.315 50.445 35.315C49.4592 35.315 48.66 36.1142 48.66 37.1C48.66 38.0858 49.4592 38.885 50.445 38.885Z" fill="#F28B0C"></path><path d="M63.27 58.235L58.755 47.78C61.125 44.765 62.415 40.97 62.415 37.175C62.415 26.435 52.665 18.185 41.925 20.12C39.99 19.325 37.98 18.905 35.835 18.905C26.955 18.905 19.785 26.135 19.785 34.955C19.785 38.54 21 41.975 23.145 44.765L18.99 54.44C18.84 54.8 18.915 55.235 19.2 55.445C19.485 55.73 19.92 55.73 20.205 55.595L30.6 50.15C31.89 50.585 33.255 50.87 34.68 50.945C39.48 54.53 45.57 55.25 50.655 53.45L61.905 59.33C62.265 59.48 62.625 59.48 62.91 59.18C63.345 58.97 63.405 58.61 63.27 58.25V58.235ZM51.24 51.71C51.03 51.56 50.745 51.56 50.52 51.635C48.795 52.28 46.935 52.64 45.15 52.64C36.69 52.64 29.61 45.755 29.61 37.1C29.61 29.72 34.845 23.345 42.075 21.845C51.75 19.91 60.705 27.29 60.705 37.1C60.705 40.685 59.415 44.27 57.12 46.985C56.91 47.27 56.835 47.63 56.97 47.915L60.69 56.585L51.24 51.71Z" fill="#F28B0C"></path></g><defs><filter id="filter0_d_4007_3488" x="0.5" y="0.5" width="86" height="86" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_4007_3488"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_4007_3488" result="shape"></feBlend></filter></defs>',2)];function Lc(e,t){return d.openBlock(),d.createElementBlock("svg",Wc,Rc)}const Pc=we(Vc,[["render",Lc]]),Ac={key:0,class:"chat-box"},Fc=d.defineComponent({__name:"Widget",props:{tokenAuth:{type:String,required:!0},phoneUser:{type:String,required:!0}},setup(e){const t=d.ref(!1),s=()=>{t.value=!t.value};return(n,r)=>(d.openBlock(),d.createElementBlock("div",null,[d.createElementVNode("div",null,[d.createElementVNode("div",{id:"chat-circle",onClick:s},[d.createVNode(Pc)]),t.value?(d.openBlock(),d.createElementBlock("div",Ac,[d.createVNode(Ic,{toggleChat:s,tokenAuth:e.tokenAuth,phoneUser:e.phoneUser},null,8,["tokenAuth","phoneUser"])])):d.createCommentVNode("",!0)])]))}}),Jc="",Hc=we(Fc,[["__scopeId","data-v-4b17fe0e"]]),Uc={install(e,t){window.VITE_BACKEND_URL=t.VITE_BACKEND_URL,window.VITE_BROKER_URL=t.VITE_BROKER_URL,window.VITE_USERNAME=t.VITE_USERNAME,window.VITE_PASSWORD=t.VITE_PASSWORD}};ce.Widget=Hc,ce.default=Uc,Object.defineProperties(ce,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
9
|
+
`+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Rs={};function xs(e,t){m.deprecationHandler!=null&&m.deprecationHandler(e,t),Rs[e]||(Ns(t),Rs[e]=!0)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;function te(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function sr(e){var t,s;for(s in e)D(e,s)&&(t=e[s],te(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Ht(e,t){var s=ye({},e),n;for(n in t)D(t,n)&&(ke(e[n])&&ke(t[n])?(s[n]={},ye(s[n],e[n]),ye(s[n],t[n])):t[n]!=null?s[n]=t[n]:delete s[n]);for(n in e)D(e,n)&&!D(t,n)&&ke(e[n])&&(s[n]=ye({},s[n]));return s}function Bt(e){e!=null&&this.set(e)}var Vt;Object.keys?Vt=Object.keys:Vt=function(e){var t,s=[];for(t in e)D(e,t)&&s.push(t);return s};var nr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function rr(e,t,s){var n=this._calendar[e]||this._calendar.sameElse;return te(n)?n.call(t,s):n}function se(e,t,s){var n=""+Math.abs(e),r=t-n.length,i=e>=0;return(i?s?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}var $t=/(\[[^\[]*\])|(\\)?([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,et=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jt={},Ee={};function p(e,t,s,n){var r=n;typeof n=="string"&&(r=function(){return this[n]()}),e&&(Ee[e]=r),t&&(Ee[t[0]]=function(){return se(r.apply(this,arguments),t[1],t[2])}),s&&(Ee[s]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function ir(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ar(e){var t=e.match($t),s,n;for(s=0,n=t.length;s<n;s++)Ee[t[s]]?t[s]=Ee[t[s]]:t[s]=ir(t[s]);return function(r){var i="",a;for(a=0;a<n;a++)i+=te(t[a])?t[a].call(r,e):t[a];return i}}function tt(e,t){return e.isValid()?(t=As(t,e.localeData()),jt[t]=jt[t]||ar(t),jt[t](e)):e.localeData().invalidDate()}function As(e,t){var s=5;function n(r){return t.longDateFormat(r)||r}for(et.lastIndex=0;s>=0&&et.test(e);)e=e.replace(et,n),et.lastIndex=0,s-=1;return e}var or={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 lr(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match($t).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var cr="Invalid date";function ur(){return this._invalidDate}var dr="%d",hr=/\d{1,2}/;function fr(e){return this._ordinal.replace("%d",e)}var mr={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 _r(e,t,s,n){var r=this._relativeTime[s];return te(r)?r(e,t,s,n):r.replace(/%d/i,e)}function pr(e,t){var s=this._relativeTime[e>0?"future":"past"];return te(s)?s(t):s.replace(/%s/i,t)}var Ue={};function L(e,t){var s=e.toLowerCase();Ue[s]=Ue[s+"s"]=Ue[t]=e}function G(e){return typeof e=="string"?Ue[e]||Ue[e.toLowerCase()]:void 0}function Gt(e){var t={},s,n;for(n in e)D(e,n)&&(s=G(n),s&&(t[s]=e[n]));return t}var Ys={};function I(e,t){Ys[e]=t}function yr(e){var t=[],s;for(s in e)D(e,s)&&t.push({unit:s,priority:Ys[s]});return t.sort(function(n,r){return n.priority-r.priority}),t}function st(e){return e%4===0&&e%100!==0||e%400===0}function z(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=z(t)),s}function Me(e,t){return function(s){return s!=null?(Ps(this,e,s),m.updateOffset(this,t),this):nt(this,e)}}function nt(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ps(e,t,s){e.isValid()&&!isNaN(s)&&(t==="FullYear"&&st(e.year())&&e.month()===1&&e.date()===29?(s=b(s),e._d["set"+(e._isUTC?"UTC":"")+t](s,e.month(),ut(s,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](s))}function gr(e){return e=G(e),te(this[e])?this[e]():this}function wr(e,t){if(typeof e=="object"){e=Gt(e);var s=yr(e),n,r=s.length;for(n=0;n<r;n++)this[s[n].unit](e[s[n].unit])}else if(e=G(e),te(this[e]))return this[e](t);return this}var Fs=/\d/,B=/\d\d/,Ls=/\d{3}/,zt=/\d{4}/,rt=/[+-]?\d{6}/,v=/\d\d?/,Is=/\d\d\d\d?/,Us=/\d\d\d\d\d\d?/,it=/\d{1,3}/,qt=/\d{1,4}/,at=/[+-]?\d{1,6}/,ve=/\d+/,ot=/[+-]?\d+/,Sr=/Z|[+-]\d\d:?\d\d/gi,lt=/Z|[+-]\d\d(?::?\d\d)?/gi,br=/[+-]?\d+(\.\d{1,3})?/,We=/[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,ct;ct={};function _(e,t,s){ct[e]=te(t)?t:function(n,r){return n&&s?s:t}}function kr(e,t){return D(ct,e)?ct[e](t._strict,t._locale):new RegExp(Or(e))}function Or(e){return V(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,n,r,i){return s||n||r||i}))}function V(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Zt={};function E(e,t){var s,n=t,r;for(typeof e=="string"&&(e=[e]),ae(t)&&(n=function(i,a){a[t]=b(i)}),r=e.length,s=0;s<r;s++)Zt[e[s]]=n}function He(e,t){E(e,function(s,n,r,i){r._w=r._w||{},t(s,r._w,r,i)})}function Dr(e,t,s){t!=null&&D(Zt,e)&&Zt[e](t,s._a,s,e)}var U=0,oe=1,ne=2,Y=3,Q=4,le=5,Oe=6,Cr=7,Tr=8;function Er(e,t){return(e%t+t)%t}var x;Array.prototype.indexOf?x=Array.prototype.indexOf:x=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ut(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Er(t,12);return e+=(t-s)/12,s===1?st(e)?29:28:31-s%7%2}p("M",["MM",2],"Mo",function(){return this.month()+1}),p("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),p("MMMM",0,0,function(e){return this.localeData().months(this,e)}),L("month","M"),I("month",8),_("M",v),_("MM",v,B),_("MMM",function(e,t){return t.monthsShortRegex(e)}),_("MMMM",function(e,t){return t.monthsRegex(e)}),E(["M","MM"],function(e,t){t[oe]=b(e)-1}),E(["MMM","MMMM"],function(e,t,s,n){var r=s._locale.monthsParse(e,n,s._strict);r!=null?t[oe]=r:S(s).invalidMonth=e});var Mr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ws="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Hs=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,vr=We,Nr=We;function Rr(e,t){return e?J(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Hs).test(t)?"format":"standalone"][e.month()]:J(this._months)?this._months:this._months.standalone}function xr(e,t){return e?J(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Hs.test(t)?"format":"standalone"][e.month()]:J(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ar(e,t,s){var n,r,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=ee([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return s?t==="MMM"?(r=x.call(this._shortMonthsParse,a),r!==-1?r:null):(r=x.call(this._longMonthsParse,a),r!==-1?r:null):t==="MMM"?(r=x.call(this._shortMonthsParse,a),r!==-1?r:(r=x.call(this._longMonthsParse,a),r!==-1?r:null)):(r=x.call(this._longMonthsParse,a),r!==-1?r:(r=x.call(this._shortMonthsParse,a),r!==-1?r:null))}function Yr(e,t,s){var n,r,i;if(this._monthsParseExact)return Ar.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=ee([2e3,n]),s&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),!s&&!this._monthsParse[n]&&(i="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[n].test(e))return n;if(s&&t==="MMM"&&this._shortMonthsParse[n].test(e))return n;if(!s&&this._monthsParse[n].test(e))return n}}function Bs(e,t){var s;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),!ae(t))return e}return s=Math.min(e.date(),ut(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,s),e}function Vs(e){return e!=null?(Bs(this,e),m.updateOffset(this,!0),this):nt(this,"Month")}function Pr(){return ut(this.year(),this.month())}function Fr(e){return this._monthsParseExact?(D(this,"_monthsRegex")||$s.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(D(this,"_monthsShortRegex")||(this._monthsShortRegex=vr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Lr(e){return this._monthsParseExact?(D(this,"_monthsRegex")||$s.call(this),e?this._monthsStrictRegex:this._monthsRegex):(D(this,"_monthsRegex")||(this._monthsRegex=Nr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function $s(){function e(a,o){return o.length-a.length}var t=[],s=[],n=[],r,i;for(r=0;r<12;r++)i=ee([2e3,r]),t.push(this.monthsShort(i,"")),s.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(t.sort(e),s.sort(e),n.sort(e),r=0;r<12;r++)t[r]=V(t[r]),s[r]=V(s[r]);for(r=0;r<24;r++)n[r]=V(n[r]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}p("Y",0,0,function(){var e=this.year();return e<=9999?se(e,4):"+"+e}),p(0,["YY",2],0,function(){return this.year()%100}),p(0,["YYYY",4],0,"year"),p(0,["YYYYY",5],0,"year"),p(0,["YYYYYY",6,!0],0,"year"),L("year","y"),I("year",1),_("Y",ot),_("YY",v,B),_("YYYY",qt,zt),_("YYYYY",at,rt),_("YYYYYY",at,rt),E(["YYYYY","YYYYYY"],U),E("YYYY",function(e,t){t[U]=e.length===2?m.parseTwoDigitYear(e):b(e)}),E("YY",function(e,t){t[U]=m.parseTwoDigitYear(e)}),E("Y",function(e,t){t[U]=parseInt(e,10)});function Be(e){return st(e)?366:365}m.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var js=Me("FullYear",!0);function Ir(){return st(this.year())}function Ur(e,t,s,n,r,i,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,s,n,r,i,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,s,n,r,i,a),o}function Ve(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function dt(e,t,s){var n=7+t-s,r=(7+Ve(e,0,n).getUTCDay()-t)%7;return-r+n-1}function Gs(e,t,s,n,r){var i=(7+s-n)%7,a=dt(e,n,r),o=1+7*(t-1)+i+a,u,l;return o<=0?(u=e-1,l=Be(u)+o):o>Be(e)?(u=e+1,l=o-Be(e)):(u=e,l=o),{year:u,dayOfYear:l}}function $e(e,t,s){var n=dt(e.year(),t,s),r=Math.floor((e.dayOfYear()-n-1)/7)+1,i,a;return r<1?(a=e.year()-1,i=r+ce(a,t,s)):r>ce(e.year(),t,s)?(i=r-ce(e.year(),t,s),a=e.year()+1):(a=e.year(),i=r),{week:i,year:a}}function ce(e,t,s){var n=dt(e,t,s),r=dt(e+1,t,s);return(Be(e)-n+r)/7}p("w",["ww",2],"wo","week"),p("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),I("week",5),I("isoWeek",5),_("w",v),_("ww",v,B),_("W",v),_("WW",v,B),He(["w","ww","W","WW"],function(e,t,s,n){t[n.substr(0,1)]=b(e)});function Wr(e){return $e(e,this._week.dow,this._week.doy).week}var Hr={dow:0,doy:6};function Br(){return this._week.dow}function Vr(){return this._week.doy}function $r(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function jr(e){var t=$e(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}p("d",0,"do","day"),p("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),p("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),p("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),p("e",0,0,"weekday"),p("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),I("day",11),I("weekday",11),I("isoWeekday",11),_("d",v),_("e",v),_("E",v),_("dd",function(e,t){return t.weekdaysMinRegex(e)}),_("ddd",function(e,t){return t.weekdaysShortRegex(e)}),_("dddd",function(e,t){return t.weekdaysRegex(e)}),He(["dd","ddd","dddd"],function(e,t,s,n){var r=s._locale.weekdaysParse(e,n,s._strict);r!=null?t.d=r:S(s).invalidWeekday=e}),He(["d","e","E"],function(e,t,s,n){t[n]=b(e)});function Gr(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function zr(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Jt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var qr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),zs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Zr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Jr=We,Kr=We,Qr=We;function Xr(e,t){var s=J(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Jt(s,this._week.dow):e?s[e.day()]:s}function ei(e){return e===!0?Jt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function ti(e){return e===!0?Jt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function si(e,t,s){var n,r,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=ee([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return s?t==="dddd"?(r=x.call(this._weekdaysParse,a),r!==-1?r:null):t==="ddd"?(r=x.call(this._shortWeekdaysParse,a),r!==-1?r:null):(r=x.call(this._minWeekdaysParse,a),r!==-1?r:null):t==="dddd"?(r=x.call(this._weekdaysParse,a),r!==-1||(r=x.call(this._shortWeekdaysParse,a),r!==-1)?r:(r=x.call(this._minWeekdaysParse,a),r!==-1?r:null)):t==="ddd"?(r=x.call(this._shortWeekdaysParse,a),r!==-1||(r=x.call(this._weekdaysParse,a),r!==-1)?r:(r=x.call(this._minWeekdaysParse,a),r!==-1?r:null)):(r=x.call(this._minWeekdaysParse,a),r!==-1||(r=x.call(this._weekdaysParse,a),r!==-1)?r:(r=x.call(this._shortWeekdaysParse,a),r!==-1?r:null))}function ni(e,t,s){var n,r,i;if(this._weekdaysParseExact)return si.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=ee([2e3,1]).day(n),s&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(s&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(s&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!s&&this._weekdaysParse[n].test(e))return n}}function ri(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Gr(e,this.localeData()),this.add(e-t,"d")):t}function ii(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 ai(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=zr(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function oi(e){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(D(this,"_weekdaysRegex")||(this._weekdaysRegex=Jr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function li(e){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(D(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ci(e){return this._weekdaysParseExact?(D(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(D(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(f,g){return g.length-f.length}var t=[],s=[],n=[],r=[],i,a,o,u,l;for(i=0;i<7;i++)a=ee([2e3,1]).day(i),o=V(this.weekdaysMin(a,"")),u=V(this.weekdaysShort(a,"")),l=V(this.weekdays(a,"")),t.push(o),s.push(u),n.push(l),r.push(o),r.push(u),r.push(l);t.sort(e),s.sort(e),n.sort(e),r.sort(e),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Qt(){return this.hours()%12||12}function ui(){return this.hours()||24}p("H",["HH",2],0,"hour"),p("h",["hh",2],0,Qt),p("k",["kk",2],0,ui),p("hmm",0,0,function(){return""+Qt.apply(this)+se(this.minutes(),2)}),p("hmmss",0,0,function(){return""+Qt.apply(this)+se(this.minutes(),2)+se(this.seconds(),2)}),p("Hmm",0,0,function(){return""+this.hours()+se(this.minutes(),2)}),p("Hmmss",0,0,function(){return""+this.hours()+se(this.minutes(),2)+se(this.seconds(),2)});function qs(e,t){p(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}qs("a",!0),qs("A",!1),L("hour","h"),I("hour",13);function Zs(e,t){return t._meridiemParse}_("a",Zs),_("A",Zs),_("H",v),_("h",v),_("k",v),_("HH",v,B),_("hh",v,B),_("kk",v,B),_("hmm",Is),_("hmmss",Us),_("Hmm",Is),_("Hmmss",Us),E(["H","HH"],Y),E(["k","kk"],function(e,t,s){var n=b(e);t[Y]=n===24?0:n}),E(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e}),E(["h","hh"],function(e,t,s){t[Y]=b(e),S(s).bigHour=!0}),E("hmm",function(e,t,s){var n=e.length-2;t[Y]=b(e.substr(0,n)),t[Q]=b(e.substr(n)),S(s).bigHour=!0}),E("hmmss",function(e,t,s){var n=e.length-4,r=e.length-2;t[Y]=b(e.substr(0,n)),t[Q]=b(e.substr(n,2)),t[le]=b(e.substr(r)),S(s).bigHour=!0}),E("Hmm",function(e,t,s){var n=e.length-2;t[Y]=b(e.substr(0,n)),t[Q]=b(e.substr(n))}),E("Hmmss",function(e,t,s){var n=e.length-4,r=e.length-2;t[Y]=b(e.substr(0,n)),t[Q]=b(e.substr(n,2)),t[le]=b(e.substr(r))});function di(e){return(e+"").toLowerCase().charAt(0)==="p"}var hi=/[ap]\.?m?\.?/i,fi=Me("Hours",!0);function mi(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var Js={calendar:nr,longDateFormat:or,invalidDate:cr,ordinal:dr,dayOfMonthOrdinalParse:hr,relativeTime:mr,months:Mr,monthsShort:Ws,week:Hr,weekdays:qr,weekdaysMin:Zr,weekdaysShort:zs,meridiemParse:hi},R={},je={},Ge;function _i(e,t){var s,n=Math.min(e.length,t.length);for(s=0;s<n;s+=1)if(e[s]!==t[s])return s;return n}function Ks(e){return e&&e.toLowerCase().replace("_","-")}function pi(e){for(var t=0,s,n,r,i;t<e.length;){for(i=Ks(e[t]).split("-"),s=i.length,n=Ks(e[t+1]),n=n?n.split("-"):null;s>0;){if(r=ht(i.slice(0,s).join("-")),r)return r;if(n&&n.length>=s&&_i(i,n)>=s-1)break;s--}t++}return Ge}function yi(e){return e.match("^[^/\\\\]*$")!=null}function ht(e){var t=null,s;if(R[e]===void 0&&typeof module<"u"&&module&&module.exports&&yi(e))try{t=Ge._abbr,s=require,s("./locale/"+e),ge(t)}catch{R[e]=null}return R[e]}function ge(e,t){var s;return e&&(H(t)?s=ue(e):s=Xt(e,t),s?Ge=s:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ge._abbr}function Xt(e,t){if(t!==null){var s,n=Js;if(t.abbr=e,R[e]!=null)xs("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=R[e]._config;else if(t.parentLocale!=null)if(R[t.parentLocale]!=null)n=R[t.parentLocale]._config;else if(s=ht(t.parentLocale),s!=null)n=s._config;else return je[t.parentLocale]||(je[t.parentLocale]=[]),je[t.parentLocale].push({name:e,config:t}),null;return R[e]=new Bt(Ht(n,t)),je[e]&&je[e].forEach(function(r){Xt(r.name,r.config)}),ge(e),R[e]}else return delete R[e],null}function gi(e,t){if(t!=null){var s,n,r=Js;R[e]!=null&&R[e].parentLocale!=null?R[e].set(Ht(R[e]._config,t)):(n=ht(e),n!=null&&(r=n._config),t=Ht(r,t),n==null&&(t.abbr=e),s=new Bt(t),s.parentLocale=R[e],R[e]=s),ge(e)}else R[e]!=null&&(R[e].parentLocale!=null?(R[e]=R[e].parentLocale,e===ge()&&ge(e)):R[e]!=null&&delete R[e]);return R[e]}function ue(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ge;if(!J(e)){if(t=ht(e),t)return t;e=[e]}return pi(e)}function wi(){return Vt(R)}function es(e){var t,s=e._a;return s&&S(e).overflow===-2&&(t=s[oe]<0||s[oe]>11?oe:s[ne]<1||s[ne]>ut(s[U],s[oe])?ne:s[Y]<0||s[Y]>24||s[Y]===24&&(s[Q]!==0||s[le]!==0||s[Oe]!==0)?Y:s[Q]<0||s[Q]>59?Q:s[le]<0||s[le]>59?le:s[Oe]<0||s[Oe]>999?Oe:-1,S(e)._overflowDayOfYear&&(t<U||t>ne)&&(t=ne),S(e)._overflowWeeks&&t===-1&&(t=Cr),S(e)._overflowWeekday&&t===-1&&(t=Tr),S(e).overflow=t),e}var Si=/^\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)?)?$/,bi=/^\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)?)?$/,ki=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["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]],ts=[["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/]],Oi=/^\/?Date\((-?\d+)/i,Di=/^(?:(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}))$/,Ci={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Qs(e){var t,s,n=e._i,r=Si.exec(n)||bi.exec(n),i,a,o,u,l=ft.length,f=ts.length;if(r){for(S(e).iso=!0,t=0,s=l;t<s;t++)if(ft[t][1].exec(r[1])){a=ft[t][0],i=ft[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(r[3]){for(t=0,s=f;t<s;t++)if(ts[t][1].exec(r[3])){o=(r[2]||" ")+ts[t][0];break}if(o==null){e._isValid=!1;return}}if(!i&&o!=null){e._isValid=!1;return}if(r[4])if(ki.exec(r[4]))u="Z";else{e._isValid=!1;return}e._f=a+(o||"")+(u||""),ns(e)}else e._isValid=!1}function Ti(e,t,s,n,r,i){var a=[Ei(e),Ws.indexOf(t),parseInt(s,10),parseInt(n,10),parseInt(r,10)];return i&&a.push(parseInt(i,10)),a}function Ei(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function vi(e,t,s){if(e){var n=zs.indexOf(e),r=new Date(t[0],t[1],t[2]).getDay();if(n!==r)return S(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function Ni(e,t,s){if(e)return Ci[e];if(t)return 0;var n=parseInt(s,10),r=n%100,i=(n-r)/100;return i*60+r}function Xs(e){var t=Di.exec(Mi(e._i)),s;if(t){if(s=Ti(t[4],t[3],t[2],t[5],t[6],t[7]),!vi(t[1],s,e))return;e._a=s,e._tzm=Ni(t[8],t[9],t[10]),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),S(e).rfc2822=!0}else e._isValid=!1}function Ri(e){var t=Oi.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Qs(e),e._isValid===!1)delete e._isValid;else return;if(Xs(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:m.createFromInputFallback(e)}m.createFromInputFallback=j("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 Ne(e,t,s){return e??t??s}function xi(e){var t=new Date(m.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ss(e){var t,s,n=[],r,i,a;if(!e._d){for(r=xi(e),e._w&&e._a[ne]==null&&e._a[oe]==null&&Ai(e),e._dayOfYear!=null&&(a=Ne(e._a[U],r[U]),(e._dayOfYear>Be(a)||e._dayOfYear===0)&&(S(e)._overflowDayOfYear=!0),s=Ve(a,0,e._dayOfYear),e._a[oe]=s.getUTCMonth(),e._a[ne]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=r[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Y]===24&&e._a[Q]===0&&e._a[le]===0&&e._a[Oe]===0&&(e._nextDay=!0,e._a[Y]=0),e._d=(e._useUTC?Ve:Ur).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Y]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(S(e).weekdayMismatch=!0)}}function Ai(e){var t,s,n,r,i,a,o,u,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,a=4,s=Ne(t.GG,e._a[U],$e(N(),1,4).year),n=Ne(t.W,1),r=Ne(t.E,1),(r<1||r>7)&&(u=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,l=$e(N(),i,a),s=Ne(t.gg,e._a[U],l.year),n=Ne(t.w,l.week),t.d!=null?(r=t.d,(r<0||r>6)&&(u=!0)):t.e!=null?(r=t.e+i,(t.e<0||t.e>6)&&(u=!0)):r=i),n<1||n>ce(s,i,a)?S(e)._overflowWeeks=!0:u!=null?S(e)._overflowWeekday=!0:(o=Gs(s,n,r,i,a),e._a[U]=o.year,e._dayOfYear=o.dayOfYear)}m.ISO_8601=function(){},m.RFC_2822=function(){};function ns(e){if(e._f===m.ISO_8601){Qs(e);return}if(e._f===m.RFC_2822){Xs(e);return}e._a=[],S(e).empty=!0;var t=""+e._i,s,n,r,i,a,o=t.length,u=0,l,f;for(r=As(e._f,e._locale).match($t)||[],f=r.length,s=0;s<f;s++)i=r[s],n=(t.match(kr(i,e))||[])[0],n&&(a=t.substr(0,t.indexOf(n)),a.length>0&&S(e).unusedInput.push(a),t=t.slice(t.indexOf(n)+n.length),u+=n.length),Ee[i]?(n?S(e).empty=!1:S(e).unusedTokens.push(i),Dr(i,n,e)):e._strict&&!n&&S(e).unusedTokens.push(i);S(e).charsLeftOver=o-u,t.length>0&&S(e).unusedInput.push(t),e._a[Y]<=12&&S(e).bigHour===!0&&e._a[Y]>0&&(S(e).bigHour=void 0),S(e).parsedDateParts=e._a.slice(0),S(e).meridiem=e._meridiem,e._a[Y]=Yi(e._locale,e._a[Y],e._meridiem),l=S(e).era,l!==null&&(e._a[U]=e._locale.erasConvertYear(l,e._a[U])),ss(e),es(e)}function Yi(e,t,s){var n;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(n=e.isPM(s),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function Pi(e){var t,s,n,r,i,a,o=!1,u=e._f.length;if(u===0){S(e).invalidFormat=!0,e._d=new Date(NaN);return}for(r=0;r<u;r++)i=0,a=!1,t=Wt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[r],ns(t),It(t)&&(a=!0),i+=S(t).charsLeftOver,i+=S(t).unusedTokens.length*10,S(t).score=i,o?i<n&&(n=i,s=t):(n==null||i<n||a)&&(n=i,s=t,a&&(o=!0));ye(e,s||t)}function Fi(e){if(!e._d){var t=Gt(e._i),s=t.day===void 0?t.date:t.day;e._a=Ms([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)}),ss(e)}}function Li(e){var t=new Ie(es(en(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function en(e){var t=e._i,s=e._f;return e._locale=e._locale||ue(e._l),t===null||s===void 0&&t===""?Xe({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),K(t)?new Ie(es(t)):(Le(t)?e._d=t:J(s)?Pi(e):s?ns(e):Ii(e),It(e)||(e._d=null),e))}function Ii(e){var t=e._i;H(t)?e._d=new Date(m.now()):Le(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Ri(e):J(t)?(e._a=Ms(t.slice(0),function(s){return parseInt(s,10)}),ss(e)):ke(t)?Fi(e):ae(t)?e._d=new Date(t):m.createFromInputFallback(e)}function tn(e,t,s,n,r){var i={};return(t===!0||t===!1)&&(n=t,t=void 0),(s===!0||s===!1)&&(n=s,s=void 0),(ke(e)&&Ft(e)||J(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=r,i._l=s,i._i=e,i._f=t,i._strict=n,Li(i)}function N(e,t,s,n){return tn(e,t,s,n,!1)}var Ui=j("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Xe()}),Wi=j("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=N.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Xe()});function sn(e,t){var s,n;if(t.length===1&&J(t[0])&&(t=t[0]),!t.length)return N();for(s=t[0],n=1;n<t.length;++n)(!t[n].isValid()||t[n][e](s))&&(s=t[n]);return s}function Hi(){var e=[].slice.call(arguments,0);return sn("isBefore",e)}function Bi(){var e=[].slice.call(arguments,0);return sn("isAfter",e)}var Vi=function(){return Date.now?Date.now():+new Date},ze=["year","quarter","month","week","day","hour","minute","second","millisecond"];function $i(e){var t,s=!1,n,r=ze.length;for(t in e)if(D(e,t)&&!(x.call(ze,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(n=0;n<r;++n)if(e[ze[n]]){if(s)return!1;parseFloat(e[ze[n]])!==b(e[ze[n]])&&(s=!0)}return!0}function ji(){return this._isValid}function Gi(){return X(NaN)}function mt(e){var t=Gt(e),s=t.year||0,n=t.quarter||0,r=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,f=t.millisecond||0;this._isValid=$i(t),this._milliseconds=+f+l*1e3+u*6e4+o*1e3*60*60,this._days=+a+i*7,this._months=+r+n*3+s*12,this._data={},this._locale=ue(),this._bubble()}function _t(e){return e instanceof mt}function rs(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function zi(e,t,s){var n=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0,a;for(a=0;a<n;a++)(s&&e[a]!==t[a]||!s&&b(e[a])!==b(t[a]))&&i++;return i+r}function nn(e,t){p(e,0,0,function(){var s=this.utcOffset(),n="+";return s<0&&(s=-s,n="-"),n+se(~~(s/60),2)+t+se(~~s%60,2)})}nn("Z",":"),nn("ZZ",""),_("Z",lt),_("ZZ",lt),E(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=is(lt,e)});var qi=/([\+\-]|\d\d)/gi;function is(e,t){var s=(t||"").match(e),n,r,i;return s===null?null:(n=s[s.length-1]||[],r=(n+"").match(qi)||["-",0,0],i=+(r[1]*60)+b(r[2]),i===0?0:r[0]==="+"?i:-i)}function as(e,t){var s,n;return t._isUTC?(s=t.clone(),n=(K(e)||Le(e)?e.valueOf():N(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+n),m.updateOffset(s,!1),s):N(e).local()}function os(e){return-Math.round(e._d.getTimezoneOffset())}m.updateOffset=function(){};function Zi(e,t,s){var n=this._offset||0,r;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=is(lt,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(r=os(this)),this._offset=e,this._isUTC=!0,r!=null&&this.add(r,"m"),n!==e&&(!t||this._changeInProgress?ln(this,X(e-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:os(this)}function Ji(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Ki(e){return this.utcOffset(0,e)}function Qi(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(os(this),"m")),this}function Xi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=is(Sr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ea(e){return this.isValid()?(e=e?N(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function ta(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function sa(){if(!H(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Wt(e,this),e=en(e),e._a?(t=e._isUTC?ee(e._a):N(e._a),this._isDSTShifted=this.isValid()&&zi(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function na(){return this.isValid()?!this._isUTC:!1}function ra(){return this.isValid()?this._isUTC:!1}function rn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ia=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,aa=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function X(e,t){var s=e,n=null,r,i,a;return _t(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:ae(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(n=ia.exec(e))?(r=n[1]==="-"?-1:1,s={y:0,d:b(n[ne])*r,h:b(n[Y])*r,m:b(n[Q])*r,s:b(n[le])*r,ms:b(rs(n[Oe]*1e3))*r}):(n=aa.exec(e))?(r=n[1]==="-"?-1:1,s={y:De(n[2],r),M:De(n[3],r),w:De(n[4],r),d:De(n[5],r),h:De(n[6],r),m:De(n[7],r),s:De(n[8],r)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(a=oa(N(s.from),N(s.to)),s={},s.ms=a.milliseconds,s.M=a.months),i=new mt(s),_t(e)&&D(e,"_locale")&&(i._locale=e._locale),_t(e)&&D(e,"_isValid")&&(i._isValid=e._isValid),i}X.fn=mt.prototype,X.invalid=Gi;function De(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function an(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function oa(e,t){var s;return e.isValid()&&t.isValid()?(t=as(t,e),e.isBefore(t)?s=an(e,t):(s=an(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function on(e,t){return function(s,n){var r,i;return n!==null&&!isNaN(+n)&&(xs(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."),i=s,s=n,n=i),r=X(s,n),ln(this,r,e),this}}function ln(e,t,s,n){var r=t._milliseconds,i=rs(t._days),a=rs(t._months);e.isValid()&&(n=n??!0,a&&Bs(e,nt(e,"Month")+a*s),i&&Ps(e,"Date",nt(e,"Date")+i*s),r&&e._d.setTime(e._d.valueOf()+r*s),n&&m.updateOffset(e,i||a))}var la=on(1,"add"),ca=on(-1,"subtract");function cn(e){return typeof e=="string"||e instanceof String}function ua(e){return K(e)||Le(e)||cn(e)||ae(e)||ha(e)||da(e)||e===null||e===void 0}function da(e){var t=ke(e)&&!Ft(e),s=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,i,a=n.length;for(r=0;r<a;r+=1)i=n[r],s=s||D(e,i);return t&&s}function ha(e){var t=J(e),s=!1;return t&&(s=e.filter(function(n){return!ae(n)&&cn(e)}).length===0),t&&s}function fa(e){var t=ke(e)&&!Ft(e),s=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r,i;for(r=0;r<n.length;r+=1)i=n[r],s=s||D(e,i);return t&&s}function ma(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function _a(e,t){arguments.length===1&&(arguments[0]?ua(arguments[0])?(e=arguments[0],t=void 0):fa(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||N(),n=as(s,this).startOf("day"),r=m.calendarFormat(this,n)||"sameElse",i=t&&(te(t[r])?t[r].call(this,s):t[r]);return this.format(i||this.localeData().calendar(r,this,N(s)))}function pa(){return new Ie(this)}function ya(e,t){var s=K(e)?e:N(e);return this.isValid()&&s.isValid()?(t=G(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function ga(e,t){var s=K(e)?e:N(e);return this.isValid()&&s.isValid()?(t=G(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function wa(e,t,s,n){var r=K(e)?e:N(e),i=K(t)?t:N(t);return this.isValid()&&r.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(r,s):!this.isBefore(r,s))&&(n[1]===")"?this.isBefore(i,s):!this.isAfter(i,s))):!1}function Sa(e,t){var s=K(e)?e:N(e),n;return this.isValid()&&s.isValid()?(t=G(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(n=s.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf())):!1}function ba(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function ka(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Oa(e,t,s){var n,r,i;if(!this.isValid())return NaN;if(n=as(e,this),!n.isValid())return NaN;switch(r=(n.utcOffset()-this.utcOffset())*6e4,t=G(t),t){case"year":i=pt(this,n)/12;break;case"month":i=pt(this,n);break;case"quarter":i=pt(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-r)/864e5;break;case"week":i=(this-n-r)/6048e5;break;default:i=this-n}return s?i:z(i)}function pt(e,t){if(e.date()<t.date())return-pt(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),n=e.clone().add(s,"months"),r,i;return t-n<0?(r=e.clone().add(s-1,"months"),i=(t-n)/(n-r)):(r=e.clone().add(s+1,"months"),i=(t-n)/(r-n)),-(s+i)||0}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Da(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ca(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?tt(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):te(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",tt(s,"Z")):tt(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,n,r,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(s+n+r+i)}function Ea(e){e||(e=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var t=tt(this,e);return this.localeData().postformat(t)}function Ma(e,t){return this.isValid()&&(K(e)&&e.isValid()||N(e).isValid())?X({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function va(e){return this.from(N(),e)}function Na(e,t){return this.isValid()&&(K(e)&&e.isValid()||N(e).isValid())?X({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ra(e){return this.to(N(),e)}function un(e){var t;return e===void 0?this._locale._abbr:(t=ue(e),t!=null&&(this._locale=t),this)}var dn=j("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 hn(){return this._locale}var yt=1e3,Re=60*yt,gt=60*Re,fn=(365*400+97)*24*gt;function xe(e,t){return(e%t+t)%t}function mn(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-fn:new Date(e,t,s).valueOf()}function _n(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-fn:Date.UTC(e,t,s)}function xa(e){var t,s;if(e=G(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?_n:mn,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=xe(t+(this._isUTC?0:this.utcOffset()*Re),gt);break;case"minute":t=this._d.valueOf(),t-=xe(t,Re);break;case"second":t=this._d.valueOf(),t-=xe(t,yt);break}return this._d.setTime(t),m.updateOffset(this,!0),this}function Aa(e){var t,s;if(e=G(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?_n:mn,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=gt-xe(t+(this._isUTC?0:this.utcOffset()*Re),gt)-1;break;case"minute":t=this._d.valueOf(),t+=Re-xe(t,Re)-1;break;case"second":t=this._d.valueOf(),t+=yt-xe(t,yt)-1;break}return this._d.setTime(t),m.updateOffset(this,!0),this}function Ya(){return this._d.valueOf()-(this._offset||0)*6e4}function Pa(){return Math.floor(this.valueOf()/1e3)}function Fa(){return new Date(this.valueOf())}function La(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ia(){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 Ua(){return this.isValid()?this.toISOString():null}function Wa(){return It(this)}function Ha(){return ye({},S(this))}function Ba(){return S(this).overflow}function Va(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}p("N",0,0,"eraAbbr"),p("NN",0,0,"eraAbbr"),p("NNN",0,0,"eraAbbr"),p("NNNN",0,0,"eraName"),p("NNNNN",0,0,"eraNarrow"),p("y",["y",1],"yo","eraYear"),p("y",["yy",2],0,"eraYear"),p("y",["yyy",3],0,"eraYear"),p("y",["yyyy",4],0,"eraYear"),_("N",ls),_("NN",ls),_("NNN",ls),_("NNNN",eo),_("NNNNN",to),E(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,n){var r=s._locale.erasParse(e,n,s._strict);r?S(s).era=r:S(s).invalidEra=e}),_("y",ve),_("yy",ve),_("yyy",ve),_("yyyy",ve),_("yo",so),E(["y","yy","yyy","yyyy"],U),E(["yo"],function(e,t,s,n){var r;s._locale._eraYearOrdinalRegex&&(r=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[U]=s._locale.eraYearOrdinalParse(e,r):t[U]=parseInt(e,10)});function $a(e,t){var s,n,r,i=this._eras||ue("en")._eras;for(s=0,n=i.length;s<n;++s){switch(typeof i[s].since){case"string":r=m(i[s].since).startOf("day"),i[s].since=r.valueOf();break}switch(typeof i[s].until){case"undefined":i[s].until=1/0;break;case"string":r=m(i[s].until).startOf("day").valueOf(),i[s].until=r.valueOf();break}}return i}function ja(e,t,s){var n,r,i=this.eras(),a,o,u;for(e=e.toUpperCase(),n=0,r=i.length;n<r;++n)if(a=i[n].name.toUpperCase(),o=i[n].abbr.toUpperCase(),u=i[n].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(o===e)return i[n];break;case"NNNN":if(a===e)return i[n];break;case"NNNNN":if(u===e)return i[n];break}else if([a,o,u].indexOf(e)>=0)return i[n]}function Ga(e,t){var s=e.since<=e.until?1:-1;return t===void 0?m(e.since).year():m(e.since).year()+(t-e.offset)*s}function za(){var e,t,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return n[e].name;return""}function qa(){var e,t,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return n[e].narrow;return""}function Za(){var e,t,s,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),n[e].since<=s&&s<=n[e].until||n[e].until<=s&&s<=n[e].since)return n[e].abbr;return""}function Ja(){var e,t,s,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=r[e].since<=r[e].until?1:-1,n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return(this.year()-m(r[e].since).year())*s+r[e].offset;return this.year()}function Ka(e){return D(this,"_erasNameRegex")||cs.call(this),e?this._erasNameRegex:this._erasRegex}function Qa(e){return D(this,"_erasAbbrRegex")||cs.call(this),e?this._erasAbbrRegex:this._erasRegex}function Xa(e){return D(this,"_erasNarrowRegex")||cs.call(this),e?this._erasNarrowRegex:this._erasRegex}function ls(e,t){return t.erasAbbrRegex(e)}function eo(e,t){return t.erasNameRegex(e)}function to(e,t){return t.erasNarrowRegex(e)}function so(e,t){return t._eraYearOrdinalRegex||ve}function cs(){var e=[],t=[],s=[],n=[],r,i,a=this.eras();for(r=0,i=a.length;r<i;++r)t.push(V(a[r].name)),e.push(V(a[r].abbr)),s.push(V(a[r].narrow)),n.push(V(a[r].name)),n.push(V(a[r].abbr)),n.push(V(a[r].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}p(0,["gg",2],0,function(){return this.weekYear()%100}),p(0,["GG",2],0,function(){return this.isoWeekYear()%100});function wt(e,t){p(0,[e,e.length],0,t)}wt("gggg","weekYear"),wt("ggggg","weekYear"),wt("GGGG","isoWeekYear"),wt("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),I("weekYear",1),I("isoWeekYear",1),_("G",ot),_("g",ot),_("GG",v,B),_("gg",v,B),_("GGGG",qt,zt),_("gggg",qt,zt),_("GGGGG",at,rt),_("ggggg",at,rt),He(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,n){t[n.substr(0,2)]=b(e)}),He(["gg","GG"],function(e,t,s,n){t[n]=m.parseTwoDigitYear(e)});function no(e){return pn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function ro(e){return pn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function io(){return ce(this.year(),1,4)}function ao(){return ce(this.isoWeekYear(),1,4)}function oo(){var e=this.localeData()._week;return ce(this.year(),e.dow,e.doy)}function lo(){var e=this.localeData()._week;return ce(this.weekYear(),e.dow,e.doy)}function pn(e,t,s,n,r){var i;return e==null?$e(this,n,r).year:(i=ce(e,n,r),t>i&&(t=i),co.call(this,e,t,s,n,r))}function co(e,t,s,n,r){var i=Gs(e,t,s,n,r),a=Ve(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}p("Q",0,"Qo","quarter"),L("quarter","Q"),I("quarter",7),_("Q",Fs),E("Q",function(e,t){t[oe]=(b(e)-1)*3});function uo(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}p("D",["DD",2],"Do","date"),L("date","D"),I("date",9),_("D",v),_("DD",v,B),_("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),E(["D","DD"],ne),E("Do",function(e,t){t[ne]=b(e.match(v)[0])});var yn=Me("Date",!0);p("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),I("dayOfYear",4),_("DDD",it),_("DDDD",Ls),E(["DDD","DDDD"],function(e,t,s){s._dayOfYear=b(e)});function ho(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}p("m",["mm",2],0,"minute"),L("minute","m"),I("minute",14),_("m",v),_("mm",v,B),E(["m","mm"],Q);var fo=Me("Minutes",!1);p("s",["ss",2],0,"second"),L("second","s"),I("second",15),_("s",v),_("ss",v,B),E(["s","ss"],le);var mo=Me("Seconds",!1);p("S",0,0,function(){return~~(this.millisecond()/100)}),p(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),p(0,["SSS",3],0,"millisecond"),p(0,["SSSS",4],0,function(){return this.millisecond()*10}),p(0,["SSSSS",5],0,function(){return this.millisecond()*100}),p(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),p(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),p(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),p(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),L("millisecond","ms"),I("millisecond",16),_("S",it,Fs),_("SS",it,B),_("SSS",it,Ls);var we,gn;for(we="SSSS";we.length<=9;we+="S")_(we,ve);function _o(e,t){t[Oe]=b(("0."+e)*1e3)}for(we="S";we.length<=9;we+="S")E(we,_o);gn=Me("Milliseconds",!1),p("z",0,0,"zoneAbbr"),p("zz",0,0,"zoneName");function po(){return this._isUTC?"UTC":""}function yo(){return this._isUTC?"Coordinated Universal Time":""}var d=Ie.prototype;d.add=la,d.calendar=_a,d.clone=pa,d.diff=Oa,d.endOf=Aa,d.format=Ea,d.from=Ma,d.fromNow=va,d.to=Na,d.toNow=Ra,d.get=gr,d.invalidAt=Ba,d.isAfter=ya,d.isBefore=ga,d.isBetween=wa,d.isSame=Sa,d.isSameOrAfter=ba,d.isSameOrBefore=ka,d.isValid=Wa,d.lang=dn,d.locale=un,d.localeData=hn,d.max=Wi,d.min=Ui,d.parsingFlags=Ha,d.set=wr,d.startOf=xa,d.subtract=ca,d.toArray=La,d.toObject=Ia,d.toDate=Fa,d.toISOString=Ca,d.inspect=Ta,typeof Symbol<"u"&&Symbol.for!=null&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),d.toJSON=Ua,d.toString=Da,d.unix=Pa,d.valueOf=Ya,d.creationData=Va,d.eraName=za,d.eraNarrow=qa,d.eraAbbr=Za,d.eraYear=Ja,d.year=js,d.isLeapYear=Ir,d.weekYear=no,d.isoWeekYear=ro,d.quarter=d.quarters=uo,d.month=Vs,d.daysInMonth=Pr,d.week=d.weeks=$r,d.isoWeek=d.isoWeeks=jr,d.weeksInYear=oo,d.weeksInWeekYear=lo,d.isoWeeksInYear=io,d.isoWeeksInISOWeekYear=ao,d.date=yn,d.day=d.days=ri,d.weekday=ii,d.isoWeekday=ai,d.dayOfYear=ho,d.hour=d.hours=fi,d.minute=d.minutes=fo,d.second=d.seconds=mo,d.millisecond=d.milliseconds=gn,d.utcOffset=Zi,d.utc=Ki,d.local=Qi,d.parseZone=Xi,d.hasAlignedHourOffset=ea,d.isDST=ta,d.isLocal=na,d.isUtcOffset=ra,d.isUtc=rn,d.isUTC=rn,d.zoneAbbr=po,d.zoneName=yo,d.dates=j("dates accessor is deprecated. Use date instead.",yn),d.months=j("months accessor is deprecated. Use month instead",Vs),d.years=j("years accessor is deprecated. Use year instead",js),d.zone=j("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ji),d.isDSTShifted=j("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",sa);function go(e){return N(e*1e3)}function wo(){return N.apply(null,arguments).parseZone()}function wn(e){return e}var C=Bt.prototype;C.calendar=rr,C.longDateFormat=lr,C.invalidDate=ur,C.ordinal=fr,C.preparse=wn,C.postformat=wn,C.relativeTime=_r,C.pastFuture=pr,C.set=sr,C.eras=$a,C.erasParse=ja,C.erasConvertYear=Ga,C.erasAbbrRegex=Qa,C.erasNameRegex=Ka,C.erasNarrowRegex=Xa,C.months=Rr,C.monthsShort=xr,C.monthsParse=Yr,C.monthsRegex=Lr,C.monthsShortRegex=Fr,C.week=Wr,C.firstDayOfYear=Vr,C.firstDayOfWeek=Br,C.weekdays=Xr,C.weekdaysMin=ti,C.weekdaysShort=ei,C.weekdaysParse=ni,C.weekdaysRegex=oi,C.weekdaysShortRegex=li,C.weekdaysMinRegex=ci,C.isPM=di,C.meridiem=mi;function St(e,t,s,n){var r=ue(),i=ee().set(n,t);return r[s](i,e)}function Sn(e,t,s){if(ae(e)&&(t=e,e=void 0),e=e||"",t!=null)return St(e,t,s,"month");var n,r=[];for(n=0;n<12;n++)r[n]=St(e,n,s,"month");return r}function us(e,t,s,n){typeof e=="boolean"?(ae(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,ae(t)&&(s=t,t=void 0),t=t||"");var r=ue(),i=e?r._week.dow:0,a,o=[];if(s!=null)return St(t,(s+i)%7,n,"day");for(a=0;a<7;a++)o[a]=St(t,(a+i)%7,n,"day");return o}function So(e,t){return Sn(e,t,"months")}function bo(e,t){return Sn(e,t,"monthsShort")}function ko(e,t,s){return us(e,t,s,"weekdays")}function Oo(e,t,s){return us(e,t,s,"weekdaysShort")}function Do(e,t,s){return us(e,t,s,"weekdaysMin")}ge("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,s=b(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}}),m.lang=j("moment.lang is deprecated. Use moment.locale instead.",ge),m.langData=j("moment.langData is deprecated. Use moment.localeData instead.",ue);var de=Math.abs;function Co(){var e=this._data;return this._milliseconds=de(this._milliseconds),this._days=de(this._days),this._months=de(this._months),e.milliseconds=de(e.milliseconds),e.seconds=de(e.seconds),e.minutes=de(e.minutes),e.hours=de(e.hours),e.months=de(e.months),e.years=de(e.years),this}function bn(e,t,s,n){var r=X(t,s);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function To(e,t){return bn(this,e,t,1)}function Eo(e,t){return bn(this,e,t,-1)}function kn(e){return e<0?Math.floor(e):Math.ceil(e)}function Mo(){var e=this._milliseconds,t=this._days,s=this._months,n=this._data,r,i,a,o,u;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=kn(ds(s)+t)*864e5,t=0,s=0),n.milliseconds=e%1e3,r=z(e/1e3),n.seconds=r%60,i=z(r/60),n.minutes=i%60,a=z(i/60),n.hours=a%24,t+=z(a/24),u=z(On(t)),s+=u,t-=kn(ds(u)),o=z(s/12),s%=12,n.days=t,n.months=s,n.years=o,this}function On(e){return e*4800/146097}function ds(e){return e*146097/4800}function vo(e){if(!this.isValid())return NaN;var t,s,n=this._milliseconds;if(e=G(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,s=this._months+On(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(ds(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function No(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+b(this._months/12)*31536e6:NaN}function he(e){return function(){return this.as(e)}}var Ro=he("ms"),xo=he("s"),Ao=he("m"),Yo=he("h"),Po=he("d"),Fo=he("w"),Lo=he("M"),Io=he("Q"),Uo=he("y");function Wo(){return X(this)}function Ho(e){return e=G(e),this.isValid()?this[e+"s"]():NaN}function Ce(e){return function(){return this.isValid()?this._data[e]:NaN}}var Bo=Ce("milliseconds"),Vo=Ce("seconds"),$o=Ce("minutes"),jo=Ce("hours"),Go=Ce("days"),zo=Ce("months"),qo=Ce("years");function Zo(){return z(this.days()/7)}var fe=Math.round,Ae={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Jo(e,t,s,n,r){return r.relativeTime(t||1,!!s,e,n)}function Ko(e,t,s,n){var r=X(e).abs(),i=fe(r.as("s")),a=fe(r.as("m")),o=fe(r.as("h")),u=fe(r.as("d")),l=fe(r.as("M")),f=fe(r.as("w")),g=fe(r.as("y")),T=i<=s.ss&&["s",i]||i<s.s&&["ss",i]||a<=1&&["m"]||a<s.m&&["mm",a]||o<=1&&["h"]||o<s.h&&["hh",o]||u<=1&&["d"]||u<s.d&&["dd",u];return s.w!=null&&(T=T||f<=1&&["w"]||f<s.w&&["ww",f]),T=T||l<=1&&["M"]||l<s.M&&["MM",l]||g<=1&&["y"]||["yy",g],T[2]=t,T[3]=+e>0,T[4]=n,Jo.apply(null,T)}function Qo(e){return e===void 0?fe:typeof e=="function"?(fe=e,!0):!1}function Xo(e,t){return Ae[e]===void 0?!1:t===void 0?Ae[e]:(Ae[e]=t,e==="s"&&(Ae.ss=t-1),!0)}function el(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,n=Ae,r,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(n=Object.assign({},Ae,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),r=this.localeData(),i=Ko(this,!s,n,r),s&&(i=r.pastFuture(+this,i)),r.postformat(i)}var hs=Math.abs;function Ye(e){return(e>0)-(e<0)||+e}function bt(){if(!this.isValid())return this.localeData().invalidDate();var e=hs(this._milliseconds)/1e3,t=hs(this._days),s=hs(this._months),n,r,i,a,o=this.asSeconds(),u,l,f,g;return o?(n=z(e/60),r=z(n/60),e%=60,n%=60,i=z(s/12),s%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=o<0?"-":"",l=Ye(this._months)!==Ye(o)?"-":"",f=Ye(this._days)!==Ye(o)?"-":"",g=Ye(this._milliseconds)!==Ye(o)?"-":"",u+"P"+(i?l+i+"Y":"")+(s?l+s+"M":"")+(t?f+t+"D":"")+(r||n||e?"T":"")+(r?g+r+"H":"")+(n?g+n+"M":"")+(e?g+a+"S":"")):"P0D"}var k=mt.prototype;k.isValid=ji,k.abs=Co,k.add=To,k.subtract=Eo,k.as=vo,k.asMilliseconds=Ro,k.asSeconds=xo,k.asMinutes=Ao,k.asHours=Yo,k.asDays=Po,k.asWeeks=Fo,k.asMonths=Lo,k.asQuarters=Io,k.asYears=Uo,k.valueOf=No,k._bubble=Mo,k.clone=Wo,k.get=Ho,k.milliseconds=Bo,k.seconds=Vo,k.minutes=$o,k.hours=jo,k.days=Go,k.weeks=Zo,k.months=zo,k.years=qo,k.humanize=el,k.toISOString=bt,k.toString=bt,k.toJSON=bt,k.locale=un,k.localeData=hn,k.toIsoString=j("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",bt),k.lang=dn,p("X",0,0,"unix"),p("x",0,0,"valueOf"),_("x",ot),_("X",br),E("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)}),E("x",function(e,t,s){s._d=new Date(b(e))});//! moment.js
|
10
|
+
m.version="2.29.4",er(N),m.fn=d,m.min=Hi,m.max=Bi,m.now=Vi,m.utc=ee,m.unix=go,m.months=So,m.isDate=Le,m.locale=ge,m.invalid=Xe,m.duration=X,m.isMoment=K,m.weekdays=ko,m.parseZone=wo,m.localeData=ue,m.isDuration=_t,m.monthsShort=bo,m.weekdaysMin=Do,m.defineLocale=Xt,m.updateLocale=gi,m.locales=wi,m.weekdaysShort=Oo,m.normalizeUnits=G,m.relativeTimeRounding=Qo,m.relativeTimeThreshold=Xo,m.calendarFormat=ma,m.prototype=d,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const tl=e=>m(e).format("hh:mm a").toLowerCase(),sl=e=>e.toLowerCase().split(" ").map(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}).join(" "),nl={class:"chat-message"},rl={class:"message"},il={class:"detail-message flex justify-content-between"},al={key:0,class:"mr-5"},ol={key:1,class:"mr-5"},ll=h.defineComponent({__name:"ChatMessage",props:{message:{type:Object,required:!0}},setup(e){const t=e,s=h.computed(()=>t.message.messages.responseOrigin);return(n,r)=>{var i;return h.openBlock(),h.createElementBlock("div",nl,[h.createElementVNode("div",{class:h.normalizeClass(["bubble",s.value?"left":"right"])},[h.createElementVNode("div",{class:h.normalizeClass(s.value?"content-left":"content-right")},[h.createElementVNode("div",rl,h.toDisplayString(e.message.messages.dataMessage),1),h.createElementVNode("div",il,[(i=e.message.messages.user)!=null&&i.nombreCompleto?(h.openBlock(),h.createElementBlock("span",al,h.toDisplayString(h.unref(sl)(e.message.messages.user.nombreCompleto)),1)):(h.openBlock(),h.createElementBlock("span",ol)),h.createElementVNode("span",null,h.toDisplayString(h.unref(tl)(e.message.messages.createdAt)),1)])],2)],2)])}}}),wu="",Te=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},cl=Te(ll,[["__scopeId","data-v-a066bde3"]]);var ul=Object.defineProperty,dl=(e,t,s)=>t in e?ul(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,hl=(e,t,s)=>(dl(e,typeof t!="symbol"?t+"":t,s),s);const qe={LF:`
|
11
|
+
`,NULL:"\0"};class Se{constructor(t){const{command:s,headers:n,body:r,binaryBody:i,escapeHeaderValues:a,skipContentLengthHeader:o}=t;this.command=s,this.headers=Object.assign({},n||{}),i?(this._binaryBody=i,this.isBinaryBody=!0):(this._body=r||"",this.isBinaryBody=!1),this.escapeHeaderValues=a||!1,this.skipContentLengthHeader=o||!1}get body(){return!this._body&&this.isBinaryBody&&(this._body=new TextDecoder().decode(this._binaryBody)),this._body||""}get binaryBody(){return!this._binaryBody&&!this.isBinaryBody&&(this._binaryBody=new TextEncoder().encode(this._body)),this._binaryBody}static fromRawFrame(t,s){const n={},r=i=>i.replace(/^\s+|\s+$/g,"");for(const i of t.headers.reverse()){i.indexOf(":");const a=r(i[0]);let o=r(i[1]);s&&t.command!=="CONNECT"&&t.command!=="CONNECTED"&&(o=Se.hdrValueUnEscape(o)),n[a]=o}return new Se({command:t.command,headers:n,binaryBody:t.binaryBody,escapeHeaderValues:s})}toString(){return this.serializeCmdAndHeaders()}serialize(){const t=this.serializeCmdAndHeaders();return this.isBinaryBody?Se.toUnit8Array(t,this._binaryBody).buffer:t+this._body+qe.NULL}serializeCmdAndHeaders(){const t=[this.command];this.skipContentLengthHeader&&delete this.headers["content-length"];for(const s of Object.keys(this.headers||{})){const n=this.headers[s];this.escapeHeaderValues&&this.command!=="CONNECT"&&this.command!=="CONNECTED"?t.push(`${s}:${Se.hdrValueEscape(`${n}`)}`):t.push(`${s}:${n}`)}return(this.isBinaryBody||!this.isBodyEmpty()&&!this.skipContentLengthHeader)&&t.push(`content-length:${this.bodyLength()}`),t.join(qe.LF)+qe.LF+qe.LF}isBodyEmpty(){return this.bodyLength()===0}bodyLength(){const t=this.binaryBody;return t?t.length:0}static sizeOfUTF8(t){return t?new TextEncoder().encode(t).length:0}static toUnit8Array(t,s){const n=new TextEncoder().encode(t),r=new Uint8Array([0]),i=new Uint8Array(n.length+s.length+r.length);return i.set(n),i.set(s,n.length),i.set(r,n.length+s.length),i}static marshall(t){return new Se(t).serialize()}static hdrValueEscape(t){return t.replace(/\\/g,"\\\\").replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/:/g,"\\c")}static hdrValueUnEscape(t){return t.replace(/\\r/g,"\r").replace(/\\n/g,`
|
12
|
+
`).replace(/\\c/g,":").replace(/\\\\/g,"\\")}}const Dn=0,kt=10,Ot=13,fl=58;class ml{constructor(t,s){this.onFrame=t,this.onIncomingPing=s,this._encoder=new TextEncoder,this._decoder=new TextDecoder,this._token=[],this._initState()}parseChunk(t,s=!1){let n;if(typeof t=="string"?n=this._encoder.encode(t):n=new Uint8Array(t),s&&n[n.length-1]!==0){const r=new Uint8Array(n.length+1);r.set(n,0),r[n.length]=0,n=r}for(let r=0;r<n.length;r++){const i=n[r];this._onByte(i)}}_collectFrame(t){if(t!==Dn&&t!==Ot){if(t===kt){this.onIncomingPing();return}this._onByte=this._collectCommand,this._reinjectByte(t)}}_collectCommand(t){if(t!==Ot){if(t===kt){this._results.command=this._consumeTokenAsUTF8(),this._onByte=this._collectHeaders;return}this._consumeByte(t)}}_collectHeaders(t){if(t!==Ot){if(t===kt){this._setupCollectBody();return}this._onByte=this._collectHeaderKey,this._reinjectByte(t)}}_reinjectByte(t){this._onByte(t)}_collectHeaderKey(t){if(t===fl){this._headerKey=this._consumeTokenAsUTF8(),this._onByte=this._collectHeaderValue;return}this._consumeByte(t)}_collectHeaderValue(t){if(t!==Ot){if(t===kt){this._results.headers.push([this._headerKey,this._consumeTokenAsUTF8()]),this._headerKey=void 0,this._onByte=this._collectHeaders;return}this._consumeByte(t)}}_setupCollectBody(){const t=this._results.headers.filter(s=>s[0]==="content-length")[0];t?(this._bodyBytesRemaining=parseInt(t[1],10),this._onByte=this._collectBodyFixedSize):this._onByte=this._collectBodyNullTerminated}_collectBodyNullTerminated(t){if(t===Dn){this._retrievedBody();return}this._consumeByte(t)}_collectBodyFixedSize(t){if(this._bodyBytesRemaining--===0){this._retrievedBody();return}this._consumeByte(t)}_retrievedBody(){this._results.binaryBody=this._consumeTokenAsRaw();try{this.onFrame(this._results)}catch(t){console.log("Ignoring an exception thrown by a frame handler. Original exception: ",t)}this._initState()}_consumeByte(t){this._token.push(t)}_consumeTokenAsUTF8(){return this._decoder.decode(this._consumeTokenAsRaw())}_consumeTokenAsRaw(){const t=new Uint8Array(this._token);return this._token=[],t}_initState(){this._results={command:void 0,headers:[],binaryBody:void 0},this._token=[],this._headerKey=void 0,this._onByte=this._collectFrame}}var me;(function(e){e[e.CONNECTING=0]="CONNECTING",e[e.OPEN=1]="OPEN",e[e.CLOSING=2]="CLOSING",e[e.CLOSED=3]="CLOSED"})(me=me||(me={}));var q;(function(e){e[e.ACTIVE=0]="ACTIVE",e[e.DEACTIVATING=1]="DEACTIVATING",e[e.INACTIVE=2]="INACTIVE"})(q=q||(q={}));class W{constructor(t){this.versions=t}supportedVersions(){return this.versions.join(",")}protocolVersions(){return this.versions.map(t=>`v${t.replace(".","")}.stomp`)}}W.V1_0="1.0",W.V1_1="1.1",W.V1_2="1.2",W.default=new W([W.V1_2,W.V1_1,W.V1_0]);function _l(e,t){e.terminate=function(){const s=()=>{};this.onerror=s,this.onmessage=s,this.onopen=s;const n=new Date,r=Math.random().toString().substring(2,8),i=this.onclose;this.onclose=a=>{const o=new Date().getTime()-n.getTime();t(`Discarded socket (#${r}) closed after ${o}ms, with code/reason: ${a.code}/${a.reason}`)},this.close(),i==null||i.call(e,{code:4001,reason:`Quick discarding socket (#${r}) without waiting for the shutdown sequence.`,wasClean:!1})}}class pl{constructor(t,s,n){this._client=t,this._webSocket=s,this._connected=!1,this._serverFrameHandlers={CONNECTED:r=>{this.debug(`connected to server ${r.headers.server}`),this._connected=!0,this._connectedVersion=r.headers.version,this._connectedVersion===W.V1_2&&(this._escapeHeaderValues=!0),this._setupHeartbeat(r.headers),this.onConnect(r)},MESSAGE:r=>{const i=r.headers.subscription,a=this._subscriptions[i]||this.onUnhandledMessage,o=r,u=this,l=this._connectedVersion===W.V1_2?o.headers.ack:o.headers["message-id"];o.ack=(f={})=>u.ack(l,i,f),o.nack=(f={})=>u.nack(l,i,f),a(o)},RECEIPT:r=>{const i=this._receiptWatchers[r.headers["receipt-id"]];i?(i(r),delete this._receiptWatchers[r.headers["receipt-id"]]):this.onUnhandledReceipt(r)},ERROR:r=>{this.onStompError(r)}},this._counter=0,this._subscriptions={},this._receiptWatchers={},this._partialData="",this._escapeHeaderValues=!1,this._lastServerActivityTS=Date.now(),this.debug=n.debug,this.stompVersions=n.stompVersions,this.connectHeaders=n.connectHeaders,this.disconnectHeaders=n.disconnectHeaders,this.heartbeatIncoming=n.heartbeatIncoming,this.heartbeatOutgoing=n.heartbeatOutgoing,this.splitLargeFrames=n.splitLargeFrames,this.maxWebSocketChunkSize=n.maxWebSocketChunkSize,this.forceBinaryWSFrames=n.forceBinaryWSFrames,this.logRawCommunication=n.logRawCommunication,this.appendMissingNULLonIncoming=n.appendMissingNULLonIncoming,this.discardWebsocketOnCommFailure=n.discardWebsocketOnCommFailure,this.onConnect=n.onConnect,this.onDisconnect=n.onDisconnect,this.onStompError=n.onStompError,this.onWebSocketClose=n.onWebSocketClose,this.onWebSocketError=n.onWebSocketError,this.onUnhandledMessage=n.onUnhandledMessage,this.onUnhandledReceipt=n.onUnhandledReceipt,this.onUnhandledFrame=n.onUnhandledFrame}get connectedVersion(){return this._connectedVersion}get connected(){return this._connected}start(){const t=new ml(s=>{const n=Se.fromRawFrame(s,this._escapeHeaderValues);this.logRawCommunication||this.debug(`<<< ${n}`),(this._serverFrameHandlers[n.command]||this.onUnhandledFrame)(n)},()=>{this.debug("<<< PONG")});this._webSocket.onmessage=s=>{if(this.debug("Received data"),this._lastServerActivityTS=Date.now(),this.logRawCommunication){const n=s.data instanceof ArrayBuffer?new TextDecoder().decode(s.data):s.data;this.debug(`<<< ${n}`)}t.parseChunk(s.data,this.appendMissingNULLonIncoming)},this._webSocket.onclose=s=>{this.debug(`Connection closed to ${this._webSocket.url}`),this._cleanUp(),this.onWebSocketClose(s)},this._webSocket.onerror=s=>{this.onWebSocketError(s)},this._webSocket.onopen=()=>{const s=Object.assign({},this.connectHeaders);this.debug("Web Socket Opened..."),s["accept-version"]=this.stompVersions.supportedVersions(),s["heart-beat"]=[this.heartbeatOutgoing,this.heartbeatIncoming].join(","),this._transmit({command:"CONNECT",headers:s})}}_setupHeartbeat(t){if(t.version!==W.V1_1&&t.version!==W.V1_2||!t["heart-beat"])return;const[s,n]=t["heart-beat"].split(",").map(r=>parseInt(r,10));if(this.heartbeatOutgoing!==0&&n!==0){const r=Math.max(this.heartbeatOutgoing,n);this.debug(`send PING every ${r}ms`),this._pinger=setInterval(()=>{this._webSocket.readyState===me.OPEN&&(this._webSocket.send(qe.LF),this.debug(">>> PING"))},r)}if(this.heartbeatIncoming!==0&&s!==0){const r=Math.max(this.heartbeatIncoming,s);this.debug(`check PONG every ${r}ms`),this._ponger=setInterval(()=>{const i=Date.now()-this._lastServerActivityTS;i>r*2&&(this.debug(`did not receive server activity for the last ${i}ms`),this._closeOrDiscardWebsocket())},r)}}_closeOrDiscardWebsocket(){this.discardWebsocketOnCommFailure?(this.debug("Discarding websocket, the underlying socket may linger for a while"),this.discardWebsocket()):(this.debug("Issuing close on the websocket"),this._closeWebsocket())}forceDisconnect(){this._webSocket&&(this._webSocket.readyState===me.CONNECTING||this._webSocket.readyState===me.OPEN)&&this._closeOrDiscardWebsocket()}_closeWebsocket(){this._webSocket.onmessage=()=>{},this._webSocket.close()}discardWebsocket(){typeof this._webSocket.terminate!="function"&&_l(this._webSocket,t=>this.debug(t)),this._webSocket.terminate()}_transmit(t){const{command:s,headers:n,body:r,binaryBody:i,skipContentLengthHeader:a}=t,o=new Se({command:s,headers:n,body:r,binaryBody:i,escapeHeaderValues:this._escapeHeaderValues,skipContentLengthHeader:a});let u=o.serialize();if(this.logRawCommunication?this.debug(`>>> ${u}`):this.debug(`>>> ${o}`),this.forceBinaryWSFrames&&typeof u=="string"&&(u=new TextEncoder().encode(u)),typeof u!="string"||!this.splitLargeFrames)this._webSocket.send(u);else{let l=u;for(;l.length>0;){const f=l.substring(0,this.maxWebSocketChunkSize);l=l.substring(this.maxWebSocketChunkSize),this._webSocket.send(f),this.debug(`chunk sent = ${f.length}, remaining = ${l.length}`)}}}dispose(){if(this.connected)try{const t=Object.assign({},this.disconnectHeaders);t.receipt||(t.receipt=`close-${this._counter++}`),this.watchForReceipt(t.receipt,s=>{this._closeWebsocket(),this._cleanUp(),this.onDisconnect(s)}),this._transmit({command:"DISCONNECT",headers:t})}catch(t){this.debug(`Ignoring error during disconnect ${t}`)}else(this._webSocket.readyState===me.CONNECTING||this._webSocket.readyState===me.OPEN)&&this._closeWebsocket()}_cleanUp(){this._connected=!1,this._pinger&&(clearInterval(this._pinger),this._pinger=void 0),this._ponger&&(clearInterval(this._ponger),this._ponger=void 0)}publish(t){const{destination:s,headers:n,body:r,binaryBody:i,skipContentLengthHeader:a}=t,o=Object.assign({destination:s},n);this._transmit({command:"SEND",headers:o,body:r,binaryBody:i,skipContentLengthHeader:a})}watchForReceipt(t,s){this._receiptWatchers[t]=s}subscribe(t,s,n={}){n=Object.assign({},n),n.id||(n.id=`sub-${this._counter++}`),n.destination=t,this._subscriptions[n.id]=s,this._transmit({command:"SUBSCRIBE",headers:n});const r=this;return{id:n.id,unsubscribe(i){return r.unsubscribe(n.id,i)}}}unsubscribe(t,s={}){s=Object.assign({},s),delete this._subscriptions[t],s.id=t,this._transmit({command:"UNSUBSCRIBE",headers:s})}begin(t){const s=t||`tx-${this._counter++}`;this._transmit({command:"BEGIN",headers:{transaction:s}});const n=this;return{id:s,commit(){n.commit(s)},abort(){n.abort(s)}}}commit(t){this._transmit({command:"COMMIT",headers:{transaction:t}})}abort(t){this._transmit({command:"ABORT",headers:{transaction:t}})}ack(t,s,n={}){n=Object.assign({},n),this._connectedVersion===W.V1_2?n.id=t:n["message-id"]=t,n.subscription=s,this._transmit({command:"ACK",headers:n})}nack(t,s,n={}){return n=Object.assign({},n),this._connectedVersion===W.V1_2?n.id=t:n["message-id"]=t,n.subscription=s,this._transmit({command:"NACK",headers:n})}}class yl{constructor(t={}){this.stompVersions=W.default,this.connectionTimeout=0,this.reconnectDelay=5e3,this.heartbeatIncoming=1e4,this.heartbeatOutgoing=1e4,this.splitLargeFrames=!1,this.maxWebSocketChunkSize=8*1024,this.forceBinaryWSFrames=!1,this.appendMissingNULLonIncoming=!1,this.discardWebsocketOnCommFailure=!1,this.state=q.INACTIVE;const s=()=>{};this.debug=s,this.beforeConnect=s,this.onConnect=s,this.onDisconnect=s,this.onUnhandledMessage=s,this.onUnhandledReceipt=s,this.onUnhandledFrame=s,this.onStompError=s,this.onWebSocketClose=s,this.onWebSocketError=s,this.logRawCommunication=!1,this.onChangeState=s,this.connectHeaders={},this._disconnectHeaders={},this.configure(t)}get webSocket(){var t;return(t=this._stompHandler)==null?void 0:t._webSocket}get disconnectHeaders(){return this._disconnectHeaders}set disconnectHeaders(t){this._disconnectHeaders=t,this._stompHandler&&(this._stompHandler.disconnectHeaders=this._disconnectHeaders)}get connected(){return!!this._stompHandler&&this._stompHandler.connected}get connectedVersion(){return this._stompHandler?this._stompHandler.connectedVersion:void 0}get active(){return this.state===q.ACTIVE}_changeState(t){this.state=t,this.onChangeState(t)}configure(t){Object.assign(this,t)}activate(){const t=()=>{if(this.active){this.debug("Already ACTIVE, ignoring request to activate");return}this._changeState(q.ACTIVE),this._connect()};this.state===q.DEACTIVATING?(this.debug("Waiting for deactivation to finish before activating"),this.deactivate().then(()=>{t()})):t()}async _connect(){if(await this.beforeConnect(),this._stompHandler){this.debug("There is already a stompHandler, skipping the call to connect");return}if(!this.active){this.debug("Client has been marked inactive, will not attempt to connect");return}this.connectionTimeout>0&&(this._connectionWatcher&&clearTimeout(this._connectionWatcher),this._connectionWatcher=setTimeout(()=>{this.connected||(this.debug(`Connection not established in ${this.connectionTimeout}ms, closing socket`),this.forceDisconnect())},this.connectionTimeout)),this.debug("Opening Web Socket...");const t=this._createWebSocket();this._stompHandler=new pl(this,t,{debug:this.debug,stompVersions:this.stompVersions,connectHeaders:this.connectHeaders,disconnectHeaders:this._disconnectHeaders,heartbeatIncoming:this.heartbeatIncoming,heartbeatOutgoing:this.heartbeatOutgoing,splitLargeFrames:this.splitLargeFrames,maxWebSocketChunkSize:this.maxWebSocketChunkSize,forceBinaryWSFrames:this.forceBinaryWSFrames,logRawCommunication:this.logRawCommunication,appendMissingNULLonIncoming:this.appendMissingNULLonIncoming,discardWebsocketOnCommFailure:this.discardWebsocketOnCommFailure,onConnect:s=>{if(this._connectionWatcher&&(clearTimeout(this._connectionWatcher),this._connectionWatcher=void 0),!this.active){this.debug("STOMP got connected while deactivate was issued, will disconnect now"),this._disposeStompHandler();return}this.onConnect(s)},onDisconnect:s=>{this.onDisconnect(s)},onStompError:s=>{this.onStompError(s)},onWebSocketClose:s=>{this._stompHandler=void 0,this.state===q.DEACTIVATING&&this._changeState(q.INACTIVE),this.onWebSocketClose(s),this.active&&this._schedule_reconnect()},onWebSocketError:s=>{this.onWebSocketError(s)},onUnhandledMessage:s=>{this.onUnhandledMessage(s)},onUnhandledReceipt:s=>{this.onUnhandledReceipt(s)},onUnhandledFrame:s=>{this.onUnhandledFrame(s)}}),this._stompHandler.start()}_createWebSocket(){let t;if(this.webSocketFactory)t=this.webSocketFactory();else if(this.brokerURL)t=new WebSocket(this.brokerURL,this.stompVersions.protocolVersions());else throw new Error("Either brokerURL or webSocketFactory must be provided");return t.binaryType="arraybuffer",t}_schedule_reconnect(){this.reconnectDelay>0&&(this.debug(`STOMP: scheduling reconnection in ${this.reconnectDelay}ms`),this._reconnector=setTimeout(()=>{this._connect()},this.reconnectDelay))}async deactivate(t={}){var s;const n=t.force||!1,r=this.active;let i;if(this.state===q.INACTIVE)return this.debug("Already INACTIVE, nothing more to do"),Promise.resolve();if(this._changeState(q.DEACTIVATING),this._reconnector&&(clearTimeout(this._reconnector),this._reconnector=void 0),this._stompHandler&&this.webSocket.readyState!==me.CLOSED){const a=this._stompHandler.onWebSocketClose;i=new Promise((o,u)=>{this._stompHandler.onWebSocketClose=l=>{a(l),o()}})}else return this._changeState(q.INACTIVE),Promise.resolve();return n?(s=this._stompHandler)==null||s.discardWebsocket():r&&this._disposeStompHandler(),i}forceDisconnect(){this._stompHandler&&this._stompHandler.forceDisconnect()}_disposeStompHandler(){this._stompHandler&&this._stompHandler.dispose()}publish(t){this._checkConnection(),this._stompHandler.publish(t)}_checkConnection(){if(!this.connected)throw new TypeError("There is no underlying STOMP connection")}watchForReceipt(t,s){this._checkConnection(),this._stompHandler.watchForReceipt(t,s)}subscribe(t,s,n={}){return this._checkConnection(),this._stompHandler.subscribe(t,s,n)}unsubscribe(t,s={}){this._checkConnection(),this._stompHandler.unsubscribe(t,s)}begin(t){return this._checkConnection(),this._stompHandler.begin(t)}commit(t){this._checkConnection(),this._stompHandler.commit(t)}abort(t){this._checkConnection(),this._stompHandler.abort(t)}ack(t,s,n={}){this._checkConnection(),this._stompHandler.ack(t,s,n)}nack(t,s,n={}){this._checkConnection(),this._stompHandler.nack(t,s,n)}}class gl{constructor(t,s){hl(this,"client"),this.virtualHost=t,this.queue=s,this.client=new yl({brokerURL:window.VITE_BROKER_URL?window.VITE_BROKER_URL:"ws://192.168.20.107:15674/ws",connectHeaders:{login:window.VITE_USERNAME?window.VITE_USERNAME:"admin",passcode:window.VITE_PASSWORD?window.VITE_PASSWORD:"password",host:this.virtualHost}})}async connect(){return new Promise((t,s)=>{this.client.onConnect=()=>{t()},this.client.activate()})}async disconnectClient(){this.client.onDisconnect=()=>{},this.client.deactivate(),this.client.unsubscribe("")}async subscribe(t){await this.connect(),this.client.subscribe(`/queue/${this.queue}`,s=>{const n=JSON.parse(s.body);t(n)})}async publish(t){this.client.publish({destination:`/queue/${this.queue}`,body:JSON.stringify({data:t})})}}const wl={},Sl={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},bl=[h.createElementVNode("path",{d:"M16 31C24.2843 31 31 24.2843 31 16C31 7.71573 24.2843 1 16 1C7.71573 1 1 7.71573 1 16C1 24.2843 7.71573 31 16 31Z",stroke:"#B3B3B3","stroke-miterlimit":"10"},null,-1),h.createElementVNode("path",{d:"M19.78 22.3L15.98 16.63H15.9601L12.2001 22.3H11.0701L15.37 15.8899L11.25 9.69995H12.38L15.98 15.08H16L19.67 9.69995H20.8L16.55 15.82L20.92 22.3H19.77H19.78Z",fill:"#B3B3B3"},null,-1)];function kl(e,t){return h.openBlock(),h.createElementBlock("svg",Sl,bl)}const Ol=Te(wl,[["render",kl]]),Dl={},Cl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tl=[h.createElementVNode("path",{d:"M11.9301 23.25C5.65005 23.25 0.550049 18.14 0.550049 11.87C0.550049 5.6 5.66005 0.48999 11.9301 0.48999C18.2001 0.48999 23.3101 5.6 23.3101 11.87C23.3101 18.14 18.2001 23.25 11.9301 23.25ZM11.9301 1.10999C6.00005 1.10999 1.17004 5.94 1.17004 11.87C1.17004 17.8 6.00005 22.63 11.9301 22.63C17.8601 22.63 22.6899 17.8 22.6899 11.87C22.6899 5.94 17.8601 1.10999 11.9301 1.10999Z",fill:"#F28B0C"},null,-1),h.createElementVNode("path",{d:"M8.68994 17.0601C8.63994 17.0601 8.58004 17.0501 8.54004 17.0201C8.44004 16.9701 8.38 16.8601 8.38 16.7501V6.99007C8.38 6.88007 8.44004 6.78005 8.54004 6.72005C8.64004 6.66005 8.74998 6.67005 8.84998 6.72005L17.1899 11.6001C17.2799 11.6601 17.34 11.7601 17.34 11.8701C17.34 11.9801 17.2799 12.0801 17.1899 12.1401L8.84998 17.0201C8.84998 17.0201 8.74994 17.0601 8.68994 17.0601ZM9 7.5301V16.21L16.42 11.8701L9 7.5301Z",fill:"#F28B0C"},null,-1)];function El(e,t){return h.openBlock(),h.createElementBlock("svg",Cl,Tl)}const Ml=Te(Dl,[["render",El]]),vl={},Nl={width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Rl=[h.createElementVNode("path",{d:"M21.04 40.9399C32.0857 40.9399 41.04 31.9856 41.04 20.9399C41.04 9.89419 32.0857 0.939941 21.04 0.939941C9.99428 0.939941 1.03998 9.89419 1.03998 20.9399C1.03998 31.9856 9.99428 40.9399 21.04 40.9399Z",stroke:"#F28B0C","stroke-width":"1.5","stroke-miterlimit":"10"},null,-1),h.createElementVNode("path",{d:"M22.87 20.36C24.92 19.57 26.38 17.5801 26.38 15.2601C26.38 12.2401 23.93 9.79004 20.91 9.79004C17.89 9.79004 15.44 12.2401 15.44 15.2601C15.44 17.6301 16.95 19.6401 19.06 20.4001C16.15 21.2601 14.02 23.9501 14.02 27.1301V31.7701C14.02 31.9401 14.16 32.08 14.33 32.08H27.76C27.93 32.08 28.07 31.9401 28.07 31.7701V27.1301C28.07 23.8901 25.86 21.16 22.87 20.36Z",fill:"#F28B0C"},null,-1)];function xl(e,t){return h.openBlock(),h.createElementBlock("svg",Nl,Rl)}const Al=Te(vl,[["render",xl]]);function Cn(e,t){return function(){return e.apply(t,arguments)}}const{toString:Yl}=Object.prototype,{getPrototypeOf:fs}=Object,Dt=(e=>t=>{const s=Yl.call(t);return e[s]||(e[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),re=e=>(e=e.toLowerCase(),t=>Dt(t)===e),Ct=e=>t=>typeof t===e,{isArray:Pe}=Array,Ze=Ct("undefined");function Pl(e){return e!==null&&!Ze(e)&&e.constructor!==null&&!Ze(e.constructor)&&Z(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tn=re("ArrayBuffer");function Fl(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tn(e.buffer),t}const Ll=Ct("string"),Z=Ct("function"),En=Ct("number"),Tt=e=>e!==null&&typeof e=="object",Il=e=>e===!0||e===!1,Et=e=>{if(Dt(e)!=="object")return!1;const t=fs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ul=re("Date"),Wl=re("File"),Hl=re("Blob"),Bl=re("FileList"),Vl=e=>Tt(e)&&Z(e.pipe),$l=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Z(e.append)&&((t=Dt(e))==="formdata"||t==="object"&&Z(e.toString)&&e.toString()==="[object FormData]"))},jl=re("URLSearchParams"),Gl=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Je(e,t,{allOwnKeys:s=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),Pe(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const i=s?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let o;for(n=0;n<a;n++)o=i[n],t.call(null,e[o],o,e)}}function Mn(e,t){t=t.toLowerCase();const s=Object.keys(e);let n=s.length,r;for(;n-- >0;)if(r=s[n],t===r.toLowerCase())return r;return null}const vn=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Nn=e=>!Ze(e)&&e!==vn;function ms(){const{caseless:e}=Nn(this)&&this||{},t={},s=(n,r)=>{const i=e&&Mn(t,r)||r;Et(t[i])&&Et(n)?t[i]=ms(t[i],n):Et(n)?t[i]=ms({},n):Pe(n)?t[i]=n.slice():t[i]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&Je(arguments[n],s);return t}const zl=(e,t,s,{allOwnKeys:n}={})=>(Je(t,(r,i)=>{s&&Z(r)?e[i]=Cn(r,s):e[i]=r},{allOwnKeys:n}),e),ql=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Zl=(e,t,s,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),s&&Object.assign(e.prototype,s)},Jl=(e,t,s,n)=>{let r,i,a;const o={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],(!n||n(a,e,t))&&!o[a]&&(t[a]=e[a],o[a]=!0);e=s!==!1&&fs(e)}while(e&&(!s||s(e,t))&&e!==Object.prototype);return t},Kl=(e,t,s)=>{e=String(e),(s===void 0||s>e.length)&&(s=e.length),s-=t.length;const n=e.indexOf(t,s);return n!==-1&&n===s},Ql=e=>{if(!e)return null;if(Pe(e))return e;let t=e.length;if(!En(t))return null;const s=new Array(t);for(;t-- >0;)s[t]=e[t];return s},Xl=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fs(Uint8Array)),ec=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},tc=(e,t)=>{let s;const n=[];for(;(s=e.exec(t))!==null;)n.push(s);return n},sc=re("HTMLFormElement"),nc=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,n,r){return n.toUpperCase()+r}),Rn=(({hasOwnProperty:e})=>(t,s)=>e.call(t,s))(Object.prototype),rc=re("RegExp"),xn=(e,t)=>{const s=Object.getOwnPropertyDescriptors(e),n={};Je(s,(r,i)=>{t(r,i,e)!==!1&&(n[i]=r)}),Object.defineProperties(e,n)},ic=e=>{xn(e,(t,s)=>{if(Z(e)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const n=e[s];if(Z(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},ac=(e,t)=>{const s={},n=r=>{r.forEach(i=>{s[i]=!0})};return Pe(e)?n(e):n(String(e).split(t)),s},oc=()=>{},lc=(e,t)=>(e=+e,Number.isFinite(e)?e:t),_s="abcdefghijklmnopqrstuvwxyz",An="0123456789",Yn={DIGIT:An,ALPHA:_s,ALPHA_DIGIT:_s+_s.toUpperCase()+An},cc=(e=16,t=Yn.ALPHA_DIGIT)=>{let s="";const{length:n}=t;for(;e--;)s+=t[Math.random()*n|0];return s};function uc(e){return!!(e&&Z(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const dc=e=>{const t=new Array(10),s=(n,r)=>{if(Tt(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;const i=Pe(n)?[]:{};return Je(n,(a,o)=>{const u=s(a,r+1);!Ze(u)&&(i[o]=u)}),t[r]=void 0,i}}return n};return s(e,0)},hc=re("AsyncFunction"),c={isArray:Pe,isArrayBuffer:Tn,isBuffer:Pl,isFormData:$l,isArrayBufferView:Fl,isString:Ll,isNumber:En,isBoolean:Il,isObject:Tt,isPlainObject:Et,isUndefined:Ze,isDate:Ul,isFile:Wl,isBlob:Hl,isRegExp:rc,isFunction:Z,isStream:Vl,isURLSearchParams:jl,isTypedArray:Xl,isFileList:Bl,forEach:Je,merge:ms,extend:zl,trim:Gl,stripBOM:ql,inherits:Zl,toFlatObject:Jl,kindOf:Dt,kindOfTest:re,endsWith:Kl,toArray:Ql,forEachEntry:ec,matchAll:tc,isHTMLForm:sc,hasOwnProperty:Rn,hasOwnProp:Rn,reduceDescriptors:xn,freezeMethods:ic,toObjectSet:ac,toCamelCase:nc,noop:oc,toFiniteNumber:lc,findKey:Mn,global:vn,isContextDefined:Nn,ALPHABET:Yn,generateString:cc,isSpecCompliantForm:uc,toJSONObject:dc,isAsyncFn:hc,isThenable:e=>e&&(Tt(e)||Z(e))&&Z(e.then)&&Z(e.catch)};function O(e,t,s,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),s&&(this.config=s),n&&(this.request=n),r&&(this.response=r)}c.inherits(O,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Pn=O.prototype,Fn={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Fn[e]={value:e}}),Object.defineProperties(O,Fn),Object.defineProperty(Pn,"isAxiosError",{value:!0}),O.from=(e,t,s,n,r,i)=>{const a=Object.create(Pn);return c.toFlatObject(e,a,function(u){return u!==Error.prototype},o=>o!=="isAxiosError"),O.call(a,e.message,t,s,n,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const fc=null;function ps(e){return c.isPlainObject(e)||c.isArray(e)}function Ln(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function In(e,t,s){return e?e.concat(t).map(function(r,i){return r=Ln(r),!s&&i?"["+r+"]":r}).join(s?".":""):t}function mc(e){return c.isArray(e)&&!e.some(ps)}const _c=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function Mt(e,t,s){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,s=c.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,F){return!c.isUndefined(F[w])});const n=s.metaTokens,r=s.visitor||f,i=s.dots,a=s.indexes,u=(s.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(r))throw new TypeError("visitor must be a function");function l(y){if(y===null)return"";if(c.isDate(y))return y.toISOString();if(!u&&c.isBlob(y))throw new O("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(y)||c.isTypedArray(y)?u&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,w,F){let A=y;if(y&&!F&&typeof y=="object"){if(c.endsWith(w,"{}"))w=n?w:w.slice(0,-2),y=JSON.stringify(y);else if(c.isArray(y)&&mc(y)||(c.isFileList(y)||c.endsWith(w,"[]"))&&(A=c.toArray(y)))return w=Ln(w),A.forEach(function(Pt,gu){!(c.isUndefined(Pt)||Pt===null)&&t.append(a===!0?In([w],gu,i):a===null?w:w+"[]",l(Pt))}),!1}return ps(y)?!0:(t.append(In(F,w,i),l(y)),!1)}const g=[],T=Object.assign(_c,{defaultVisitor:f,convertValue:l,isVisitable:ps});function M(y,w){if(!c.isUndefined(y)){if(g.indexOf(y)!==-1)throw Error("Circular reference detected in "+w.join("."));g.push(y),c.forEach(y,function(A,$){(!(c.isUndefined(A)||A===null)&&r.call(t,A,c.isString($)?$.trim():$,w,T))===!0&&M(A,w?w.concat($):[$])}),g.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return M(e),t}function Un(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ys(e,t){this._pairs=[],e&&Mt(e,this,t)}const Wn=ys.prototype;Wn.append=function(t,s){this._pairs.push([t,s])},Wn.toString=function(t){const s=t?function(n){return t.call(this,n,Un)}:Un;return this._pairs.map(function(r){return s(r[0])+"="+s(r[1])},"").join("&")};function pc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Hn(e,t,s){if(!t)return e;const n=s&&s.encode||pc,r=s&&s.serialize;let i;if(r?i=r(t,s):i=c.isURLSearchParams(t)?t.toString():new ys(t,s).toString(n),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class yc{constructor(){this.handlers=[]}use(t,s,n){return this.handlers.push({fulfilled:t,rejected:s,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Bn=yc,Vn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},gc=typeof URLSearchParams<"u"?URLSearchParams:ys,wc=typeof FormData<"u"?FormData:null,Sc=typeof Blob<"u"?Blob:null,bc=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),kc=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ie={isBrowser:!0,classes:{URLSearchParams:gc,FormData:wc,Blob:Sc},isStandardBrowserEnv:bc,isStandardBrowserWebWorkerEnv:kc,protocols:["http","https","file","blob","url","data"]};function Oc(e,t){return Mt(e,new ie.classes.URLSearchParams,Object.assign({visitor:function(s,n,r,i){return ie.isNode&&c.isBuffer(s)?(this.append(n,s.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Dc(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Cc(e){const t={},s=Object.keys(e);let n;const r=s.length;let i;for(n=0;n<r;n++)i=s[n],t[i]=e[i];return t}function $n(e){function t(s,n,r,i){let a=s[i++];const o=Number.isFinite(+a),u=i>=s.length;return a=!a&&c.isArray(r)?r.length:a,u?(c.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!o):((!r[a]||!c.isObject(r[a]))&&(r[a]=[]),t(s,n,r[a],i)&&c.isArray(r[a])&&(r[a]=Cc(r[a])),!o)}if(c.isFormData(e)&&c.isFunction(e.entries)){const s={};return c.forEachEntry(e,(n,r)=>{t(Dc(n),r,s,0)}),s}return null}const Tc={"Content-Type":void 0};function Ec(e,t,s){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(s||JSON.stringify)(e)}const vt={transitional:Vn,adapter:["xhr","http"],transformRequest:[function(t,s){const n=s.getContentType()||"",r=n.indexOf("application/json")>-1,i=c.isObject(t);if(i&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return r&&r?JSON.stringify($n(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Oc(t,this.formSerializer).toString();if((o=c.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Mt(o?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||r?(s.setContentType("application/json",!1),Ec(t)):t}],transformResponse:[function(t){const s=this.transitional||vt.transitional,n=s&&s.forcedJSONParsing,r=this.responseType==="json";if(t&&c.isString(t)&&(n&&!this.responseType||r)){const a=!(s&&s.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(o){if(a)throw o.name==="SyntaxError"?O.from(o,O.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ie.classes.FormData,Blob:ie.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};c.forEach(["delete","get","head"],function(t){vt.headers[t]={}}),c.forEach(["post","put","patch"],function(t){vt.headers[t]=c.merge(Tc)});const gs=vt,Mc=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),vc=e=>{const t={};let s,n,r;return e&&e.split(`
|
13
|
+
`).forEach(function(a){r=a.indexOf(":"),s=a.substring(0,r).trim().toLowerCase(),n=a.substring(r+1).trim(),!(!s||t[s]&&Mc[s])&&(s==="set-cookie"?t[s]?t[s].push(n):t[s]=[n]:t[s]=t[s]?t[s]+", "+n:n)}),t},jn=Symbol("internals");function Ke(e){return e&&String(e).trim().toLowerCase()}function Nt(e){return e===!1||e==null?e:c.isArray(e)?e.map(Nt):String(e)}function Nc(e){const t=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=s.exec(e);)t[n[1]]=n[2];return t}const Rc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ws(e,t,s,n,r){if(c.isFunction(n))return n.call(this,t,s);if(r&&(t=s),!!c.isString(t)){if(c.isString(n))return t.indexOf(n)!==-1;if(c.isRegExp(n))return n.test(t)}}function xc(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,s,n)=>s.toUpperCase()+n)}function Ac(e,t){const s=c.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+s,{value:function(r,i,a){return this[n].call(this,t,r,i,a)},configurable:!0})})}class Rt{constructor(t){t&&this.set(t)}set(t,s,n){const r=this;function i(o,u,l){const f=Ke(u);if(!f)throw new Error("header name must be a non-empty string");const g=c.findKey(r,f);(!g||r[g]===void 0||l===!0||l===void 0&&r[g]!==!1)&&(r[g||u]=Nt(o))}const a=(o,u)=>c.forEach(o,(l,f)=>i(l,f,u));return c.isPlainObject(t)||t instanceof this.constructor?a(t,s):c.isString(t)&&(t=t.trim())&&!Rc(t)?a(vc(t),s):t!=null&&i(s,t,n),this}get(t,s){if(t=Ke(t),t){const n=c.findKey(this,t);if(n){const r=this[n];if(!s)return r;if(s===!0)return Nc(r);if(c.isFunction(s))return s.call(this,r,n);if(c.isRegExp(s))return s.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,s){if(t=Ke(t),t){const n=c.findKey(this,t);return!!(n&&this[n]!==void 0&&(!s||ws(this,this[n],n,s)))}return!1}delete(t,s){const n=this;let r=!1;function i(a){if(a=Ke(a),a){const o=c.findKey(n,a);o&&(!s||ws(n,n[o],o,s))&&(delete n[o],r=!0)}}return c.isArray(t)?t.forEach(i):i(t),r}clear(t){const s=Object.keys(this);let n=s.length,r=!1;for(;n--;){const i=s[n];(!t||ws(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const s=this,n={};return c.forEach(this,(r,i)=>{const a=c.findKey(n,i);if(a){s[a]=Nt(r),delete s[i];return}const o=t?xc(i):String(i).trim();o!==i&&delete s[i],s[o]=Nt(r),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const s=Object.create(null);return c.forEach(this,(n,r)=>{n!=null&&n!==!1&&(s[r]=t&&c.isArray(n)?n.join(", "):n)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,s])=>t+": "+s).join(`
|
14
|
+
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...s){const n=new this(t);return s.forEach(r=>n.set(r)),n}static accessor(t){const n=(this[jn]=this[jn]={accessors:{}}).accessors,r=this.prototype;function i(a){const o=Ke(a);n[o]||(Ac(r,a),n[o]=!0)}return c.isArray(t)?t.forEach(i):i(t),this}}Rt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),c.freezeMethods(Rt.prototype),c.freezeMethods(Rt);const _e=Rt;function Ss(e,t){const s=this||gs,n=t||s,r=_e.from(n.headers);let i=n.data;return c.forEach(e,function(o){i=o.call(s,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Gn(e){return!!(e&&e.__CANCEL__)}function Qe(e,t,s){O.call(this,e??"canceled",O.ERR_CANCELED,t,s),this.name="CanceledError"}c.inherits(Qe,O,{__CANCEL__:!0});function Yc(e,t,s){const n=s.config.validateStatus;!s.status||!n||n(s.status)?e(s):t(new O("Request failed with status code "+s.status,[O.ERR_BAD_REQUEST,O.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}const Pc=ie.isStandardBrowserEnv?function(){return{write:function(s,n,r,i,a,o){const u=[];u.push(s+"="+encodeURIComponent(n)),c.isNumber(r)&&u.push("expires="+new Date(r).toGMTString()),c.isString(i)&&u.push("path="+i),c.isString(a)&&u.push("domain="+a),o===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(s){const n=document.cookie.match(new RegExp("(^|;\\s*)("+s+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(s){this.write(s,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Fc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Lc(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function zn(e,t){return e&&!Fc(t)?Lc(e,t):t}const Ic=ie.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a");let n;function r(i){let a=i;return t&&(s.setAttribute("href",a),a=s.href),s.setAttribute("href",a),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:s.pathname.charAt(0)==="/"?s.pathname:"/"+s.pathname}}return n=r(window.location.href),function(a){const o=c.isString(a)?r(a):a;return o.protocol===n.protocol&&o.host===n.host}}():function(){return function(){return!0}}();function Uc(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Wc(e,t){e=e||10;const s=new Array(e),n=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),f=n[i];a||(a=l),s[r]=u,n[r]=l;let g=i,T=0;for(;g!==r;)T+=s[g++],g=g%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),l-a<t)return;const M=f&&l-f;return M?Math.round(T*1e3/M):void 0}}function qn(e,t){let s=0;const n=Wc(50,250);return r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,o=i-s,u=n(o),l=i<=a;s=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:o,rate:u||void 0,estimated:u&&a&&l?(a-i)/u:void 0,event:r};f[t?"download":"upload"]=!0,e(f)}}const xt={http:fc,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(s,n){let r=e.data;const i=_e.from(e.headers).normalize(),a=e.responseType;let o;function u(){e.cancelToken&&e.cancelToken.unsubscribe(o),e.signal&&e.signal.removeEventListener("abort",o)}c.isFormData(r)&&(ie.isStandardBrowserEnv||ie.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(e.auth){const M=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(M+":"+y))}const f=zn(e.baseURL,e.url);l.open(e.method.toUpperCase(),Hn(f,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function g(){if(!l)return;const M=_e.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),w={data:!a||a==="text"||a==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:M,config:e,request:l};Yc(function(A){s(A),u()},function(A){n(A),u()},w),l=null}if("onloadend"in l?l.onloadend=g:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(g)},l.onabort=function(){l&&(n(new O("Request aborted",O.ECONNABORTED,e,l)),l=null)},l.onerror=function(){n(new O("Network Error",O.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const w=e.transitional||Vn;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),n(new O(y,w.clarifyTimeoutError?O.ETIMEDOUT:O.ECONNABORTED,e,l)),l=null},ie.isStandardBrowserEnv){const M=(e.withCredentials||Ic(f))&&e.xsrfCookieName&&Pc.read(e.xsrfCookieName);M&&i.set(e.xsrfHeaderName,M)}r===void 0&&i.setContentType(null),"setRequestHeader"in l&&c.forEach(i.toJSON(),function(y,w){l.setRequestHeader(w,y)}),c.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),a&&a!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",qn(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",qn(e.onUploadProgress)),(e.cancelToken||e.signal)&&(o=M=>{l&&(n(!M||M.type?new Qe(null,e,l):M),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(o),e.signal&&(e.signal.aborted?o():e.signal.addEventListener("abort",o)));const T=Uc(f);if(T&&ie.protocols.indexOf(T)===-1){n(new O("Unsupported protocol "+T+":",O.ERR_BAD_REQUEST,e));return}l.send(r||null)})}};c.forEach(xt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Hc={getAdapter:e=>{e=c.isArray(e)?e:[e];const{length:t}=e;let s,n;for(let r=0;r<t&&(s=e[r],!(n=c.isString(s)?xt[s.toLowerCase()]:s));r++);if(!n)throw n===!1?new O(`Adapter ${s} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(c.hasOwnProp(xt,s)?`Adapter '${s}' is not available in the build`:`Unknown adapter '${s}'`);if(!c.isFunction(n))throw new TypeError("adapter is not a function");return n},adapters:xt};function bs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qe(null,e)}function Zn(e){return bs(e),e.headers=_e.from(e.headers),e.data=Ss.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Hc.getAdapter(e.adapter||gs.adapter)(e).then(function(n){return bs(e),n.data=Ss.call(e,e.transformResponse,n),n.headers=_e.from(n.headers),n},function(n){return Gn(n)||(bs(e),n&&n.response&&(n.response.data=Ss.call(e,e.transformResponse,n.response),n.response.headers=_e.from(n.response.headers))),Promise.reject(n)})}const Jn=e=>e instanceof _e?e.toJSON():e;function Fe(e,t){t=t||{};const s={};function n(l,f,g){return c.isPlainObject(l)&&c.isPlainObject(f)?c.merge.call({caseless:g},l,f):c.isPlainObject(f)?c.merge({},f):c.isArray(f)?f.slice():f}function r(l,f,g){if(c.isUndefined(f)){if(!c.isUndefined(l))return n(void 0,l,g)}else return n(l,f,g)}function i(l,f){if(!c.isUndefined(f))return n(void 0,f)}function a(l,f){if(c.isUndefined(f)){if(!c.isUndefined(l))return n(void 0,l)}else return n(void 0,f)}function o(l,f,g){if(g in t)return n(l,f);if(g in e)return n(void 0,l)}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(l,f)=>r(Jn(l),Jn(f),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(f){const g=u[f]||r,T=g(e[f],t[f],f);c.isUndefined(T)&&g!==o||(s[f]=T)}),s}const Kn="1.4.0",ks={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ks[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Qn={};ks.transitional=function(t,s,n){function r(i,a){return"[Axios v"+Kn+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return(i,a,o)=>{if(t===!1)throw new O(r(a," has been removed"+(s?" in "+s:"")),O.ERR_DEPRECATED);return s&&!Qn[a]&&(Qn[a]=!0,console.warn(r(a," has been deprecated since v"+s+" and will be removed in the near future"))),t?t(i,a,o):!0}};function Bc(e,t,s){if(typeof e!="object")throw new O("options must be an object",O.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let r=n.length;for(;r-- >0;){const i=n[r],a=t[i];if(a){const o=e[i],u=o===void 0||a(o,i,e);if(u!==!0)throw new O("option "+i+" must be "+u,O.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new O("Unknown option "+i,O.ERR_BAD_OPTION)}}const Os={assertOptions:Bc,validators:ks},be=Os.validators;class At{constructor(t){this.defaults=t,this.interceptors={request:new Bn,response:new Bn}}request(t,s){typeof t=="string"?(s=s||{},s.url=t):s=t||{},s=Fe(this.defaults,s);const{transitional:n,paramsSerializer:r,headers:i}=s;n!==void 0&&Os.assertOptions(n,{silentJSONParsing:be.transitional(be.boolean),forcedJSONParsing:be.transitional(be.boolean),clarifyTimeoutError:be.transitional(be.boolean)},!1),r!=null&&(c.isFunction(r)?s.paramsSerializer={serialize:r}:Os.assertOptions(r,{encode:be.function,serialize:be.function},!0)),s.method=(s.method||this.defaults.method||"get").toLowerCase();let a;a=i&&c.merge(i.common,i[s.method]),a&&c.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),s.headers=_e.concat(a,i);const o=[];let u=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(s)===!1||(u=u&&w.synchronous,o.unshift(w.fulfilled,w.rejected))});const l=[];this.interceptors.response.forEach(function(w){l.push(w.fulfilled,w.rejected)});let f,g=0,T;if(!u){const y=[Zn.bind(this),void 0];for(y.unshift.apply(y,o),y.push.apply(y,l),T=y.length,f=Promise.resolve(s);g<T;)f=f.then(y[g++],y[g++]);return f}T=o.length;let M=s;for(g=0;g<T;){const y=o[g++],w=o[g++];try{M=y(M)}catch(F){w.call(this,F);break}}try{f=Zn.call(this,M)}catch(y){return Promise.reject(y)}for(g=0,T=l.length;g<T;)f=f.then(l[g++],l[g++]);return f}getUri(t){t=Fe(this.defaults,t);const s=zn(t.baseURL,t.url);return Hn(s,t.params,t.paramsSerializer)}}c.forEach(["delete","get","head","options"],function(t){At.prototype[t]=function(s,n){return this.request(Fe(n||{},{method:t,url:s,data:(n||{}).data}))}}),c.forEach(["post","put","patch"],function(t){function s(n){return function(i,a,o){return this.request(Fe(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}At.prototype[t]=s(),At.prototype[t+"Form"]=s(!0)});const Yt=At;class Ds{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(i){s=i});const n=this;this.promise.then(r=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](r);n._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(o=>{n.subscribe(o),i=o}).then(r);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i,a,o){n.reason||(n.reason=new Qe(i,a,o),s(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const s=this._listeners.indexOf(t);s!==-1&&this._listeners.splice(s,1)}static source(){let t;return{token:new Ds(function(r){t=r}),cancel:t}}}const Vc=Ds;function $c(e){return function(s){return e.apply(null,s)}}function jc(e){return c.isObject(e)&&e.isAxiosError===!0}const Cs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Cs).forEach(([e,t])=>{Cs[t]=e});const Gc=Cs;function Xn(e){const t=new Yt(e),s=Cn(Yt.prototype.request,t);return c.extend(s,Yt.prototype,t,{allOwnKeys:!0}),c.extend(s,t,null,{allOwnKeys:!0}),s.create=function(r){return Xn(Fe(e,r))},s}const P=Xn(gs);P.Axios=Yt,P.CanceledError=Qe,P.CancelToken=Vc,P.isCancel=Gn,P.VERSION=Kn,P.toFormData=Mt,P.AxiosError=O,P.Cancel=P.CanceledError,P.all=function(t){return Promise.all(t)},P.spread=$c,P.isAxiosError=jc,P.mergeConfig=Fe,P.AxiosHeaders=_e,P.formToJSON=e=>$n(c.isHTMLForm(e)?new FormData(e):e),P.HttpStatusCode=Gc,P.default=P;const zc=P,Ts=async function(e){const t=e,s=window.VITE_BACKEND_URL?window.VITE_BACKEND_URL:"http://localhost:3000",n={method:t.method,url:`${s}${t.url}`,headers:{Authorization:`Bearer ${e.token}`,"Content-Type":"application/json; charset=utf-8",...t.headers},data:t.data};return await zc(n).then(async function(r){return await r.data}).catch(async function(r){console.error(r);const i=await r.response.data;if(i.statusCode==401&&i.message=="Unauthorized")localStorage.clear();else throw i})},qc=async(e={})=>{const t={url:"/webchat/messages-by-app-and-phone",method:"POST",data:e.data,token:e.token};return await Ts(t).then(s=>s.response).catch(s=>{console.error(s)})},Zc=async(e={})=>{const t={url:"/webchat/send-messages-by-app-and-phone",method:"POST",data:e.data,token:e.token};return await Ts(t).then(s=>{}).catch(s=>{console.error(s)})},Jc=async(e={})=>{const t={url:"/chat/sync-virtual-host",method:"POST",data:e.data,token:e.token};return await Ts(t).then(s=>s.response).catch(s=>{console.error(s)})},Kc=e=>(h.pushScopeId("data-v-157b0654"),e=e(),h.popScopeId(),e),Qc={class:"widget"},Xc={class:"header-widget"},eu=Kc(()=>h.createElementVNode("span",null,null,-1)),tu={class:"input-message w-full"},su=["onSubmit"],nu={class:"form-message"},ru={type:"submit"},iu={class:"jl-inputgroup-chat"},au={type:"submit"},ou=h.defineComponent({__name:"Chat",props:{toggleChat:{type:Function,required:!0},tokenAuth:{type:String,required:!0},phoneUser:{type:String,required:!0}},setup(e){const t=e,s=h.ref("webchat"),n=h.ref("76177719"),r=h.ref(null),i=h.ref(null),a=h.ref([]),o=h.ref({virtualhost:""}),u=w=>w.startsWith("591")&&w.length===11?w.substring(3):w,l=h.ref(null),f=()=>{l.value&&(l.value.scrollTop=l.value.scrollHeight)},g=async w=>{w.preventDefault();const{virtualhost:F}=o.value;await Zc({token:t.tokenAuth,data:{virtualHost:F,queue:`widget_chat_${sessionStorage.getItem("tabBrowser")}`,device:"00000000",phone:u(n.value),app:s.value,message:i.value,widget:!0}}),i.value=null,f()},T=async w=>{w.resetConnection&&y(),M();const A=await qc({token:t.tokenAuth,data:{phone:t.phoneUser,app:s.value,device:null}});console.log(A),A&&(a.value=A)},M=(w="webchat")=>{const{virtualhost:F}=o.value;if(!sessionStorage.getItem("tabBrowser")){let $=Date.now();sessionStorage.setItem("tabBrowser",`${$}`)}r.value=new gl(`${F}`,`widget_chat_${sessionStorage.getItem("tabBrowser")}`),r.value.connect(),r.value.subscribe(async()=>{await T({resetConnection:!1});const $=document.getElementById("messages-container");$.scrollTop=$.scrollHeight})},y=()=>{var w;(w=r.value)==null||w.disconnectClient()};return h.onMounted(async()=>{await T({resetConnection:!1});const w=`WIDGET_CHAT_${t.phoneUser}`;o.value=await Jc({token:t.tokenAuth,data:{virtualHost:w}}),console.log(o.value),M(),f()}),(w,F)=>(h.openBlock(),h.createElementBlock("div",Qc,[h.createElementVNode("div",Xc,[eu,h.createVNode(Ol,{onClick:F[0]||(F[0]=A=>e.toggleChat())})]),h.createElementVNode("div",{class:"messages-container",id:"messages-container",ref_key:"messagesContainer",ref:l},[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(a.value,(A,$)=>(h.openBlock(),h.createBlock(cl,{class:"message",key:$,message:A},null,8,["message"]))),128))],512),h.createElementVNode("div",tu,[h.createElementVNode("form",{class:"message-send",onSubmit:h.withModifiers(g,["prevent"])},[h.createElementVNode("div",nu,[h.createElementVNode("button",ru,[h.createVNode(Al)]),h.createElementVNode("div",iu,[h.withDirectives(h.createElementVNode("input",{"onUpdate:modelValue":F[1]||(F[1]=A=>i.value=A),class:"jl2-input-chat",required:""},null,512),[[h.vModelText,i.value]]),h.createElementVNode("button",au,[h.createVNode(Ml)])])])],40,su)])]))}}),vu="",lu=Te(ou,[["__scopeId","data-v-157b0654"]]),cu={},uu={width:"87",height:"87",viewBox:"0 0 87 87",fill:"none",xmlns:"http://www.w3.org/2000/svg"},du=[h.createStaticVNode('<g filter="url(#filter0_d_4007_3488)"><path d="M43.5 77C64.2107 77 81 60.2107 81 39.5C81 18.7893 64.2107 2 43.5 2C22.7893 2 6 18.7893 6 39.5C6 60.2107 22.7893 77 43.5 77Z" fill="white" stroke="#F28B0C" stroke-width="3" stroke-miterlimit="10"></path><path d="M39.705 38.885C40.6908 38.885 41.49 38.0858 41.49 37.1C41.49 36.1142 40.6908 35.315 39.705 35.315C38.7192 35.315 37.92 36.1142 37.92 37.1C37.92 38.0858 38.7192 38.885 39.705 38.885Z" fill="#F28B0C"></path><path d="M45.075 38.885C46.0608 38.885 46.86 38.0858 46.86 37.1C46.86 36.1142 46.0608 35.315 45.075 35.315C44.0892 35.315 43.29 36.1142 43.29 37.1C43.29 38.0858 44.0892 38.885 45.075 38.885Z" fill="#F28B0C"></path><path d="M50.445 38.885C51.4308 38.885 52.23 38.0858 52.23 37.1C52.23 36.1142 51.4308 35.315 50.445 35.315C49.4592 35.315 48.66 36.1142 48.66 37.1C48.66 38.0858 49.4592 38.885 50.445 38.885Z" fill="#F28B0C"></path><path d="M63.27 58.235L58.755 47.78C61.125 44.765 62.415 40.97 62.415 37.175C62.415 26.435 52.665 18.185 41.925 20.12C39.99 19.325 37.98 18.905 35.835 18.905C26.955 18.905 19.785 26.135 19.785 34.955C19.785 38.54 21 41.975 23.145 44.765L18.99 54.44C18.84 54.8 18.915 55.235 19.2 55.445C19.485 55.73 19.92 55.73 20.205 55.595L30.6 50.15C31.89 50.585 33.255 50.87 34.68 50.945C39.48 54.53 45.57 55.25 50.655 53.45L61.905 59.33C62.265 59.48 62.625 59.48 62.91 59.18C63.345 58.97 63.405 58.61 63.27 58.25V58.235ZM51.24 51.71C51.03 51.56 50.745 51.56 50.52 51.635C48.795 52.28 46.935 52.64 45.15 52.64C36.69 52.64 29.61 45.755 29.61 37.1C29.61 29.72 34.845 23.345 42.075 21.845C51.75 19.91 60.705 27.29 60.705 37.1C60.705 40.685 59.415 44.27 57.12 46.985C56.91 47.27 56.835 47.63 56.97 47.915L60.69 56.585L51.24 51.71Z" fill="#F28B0C"></path></g><defs><filter id="filter0_d_4007_3488" x="0.5" y="0.5" width="86" height="86" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_4007_3488"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_4007_3488" result="shape"></feBlend></filter></defs>',2)];function hu(e,t){return h.openBlock(),h.createElementBlock("svg",uu,du)}const fu=Te(cu,[["render",hu]]),mu={key:0,class:"chat-box"},_u=h.defineComponent({__name:"Widget",props:{tokenAuth:{type:String,required:!0},phoneUser:{type:String,required:!0}},setup(e){const t=h.ref(!1),s=()=>{t.value=!t.value};return(n,r)=>(h.openBlock(),h.createElementBlock("div",null,[h.createElementVNode("div",null,[h.createElementVNode("div",{id:"chat-circle",onClick:s},[h.createVNode(fu)]),t.value?(h.openBlock(),h.createElementBlock("div",mu,[h.createVNode(lu,{toggleChat:s,tokenAuth:e.tokenAuth,phoneUser:e.phoneUser},null,8,["tokenAuth","phoneUser"])])):h.createCommentVNode("",!0)])]))}}),Ru="",pu=Te(_u,[["__scopeId","data-v-4b17fe0e"]]),yu={install(e,t){window.VITE_BACKEND_URL=t.VITE_BACKEND_URL,window.VITE_BROKER_URL=t.VITE_BROKER_URL,window.VITE_USERNAME=t.VITE_USERNAME,window.VITE_PASSWORD=t.VITE_PASSWORD}};pe.Widget=pu,pe.default=yu,Object.defineProperties(pe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|