Mirror von
https://github.com/nextcloud/server.git
synchronisiert 2024-08-30 17:57:26 +02:00
3 Zeilen
78 KiB
JavaScript
3 Zeilen
78 KiB
JavaScript
/*! For license information please see 3338-3338.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[3338],{35370:(e,t,n)=>{n.d(t,{Z:()=>o});var i=n(87537),s=n.n(i),r=n(23645),a=n.n(r)()(s());a.push([e.id,".node-picker__wrapper[data-v-cc039314]:not(:last-of-type) {\n border-bottom: 1px solid var(--color-border);\n}\n.node-picker[data-v-cc039314] {\n display: flex;\n align-items: center;\n height: 64px;\n}\n.node-picker__icon[data-v-cc039314],\n.node-picker__preview[data-v-cc039314] {\n height: 64px;\n width: 64px;\n margin: 0 var(--secondary-margin);\n display: block;\n flex: 0 0 64px;\n}\n.node-picker__icon[data-v-cc039314] {\n color: var(--color-text-maxcontrast);\n}\n.node-picker__preview[data-v-cc039314] {\n overflow: hidden;\n border-radius: calc(var(--border-radius) * 2);\n background-position: center;\n background-size: cover;\n}\n.node-picker__desc[data-v-cc039314] {\n display: flex;\n flex-direction: column;\n}\n.node-picker__desc span[data-v-cc039314] {\n white-space: nowrap;\n}\n[data-v-9de22627] .modal-container__content {\n display: flex;\n overflow: visible;\n flex-direction: column;\n}\n.conflict-picker[data-v-9de22627] {\n --margin: 36px;\n --secondary-margin: 18px;\n}\n.conflict-picker__header[data-v-9de22627] {\n position: sticky;\n z-index: 10;\n top: 0;\n padding: var(--margin);\n padding-bottom: 0;\n}\n.conflict-picker__form[data-v-9de22627] {\n position: relative;\n overflow: auto;\n padding: 0 var(--margin);\n padding-bottom: 12px;\n margin-bottom: -12px;\n}\n.conflict-picker fieldset[data-v-9de22627] {\n display: grid;\n width: 100%;\n margin-top: calc(var(--secondary-margin) * 1.5);\n padding-bottom: var(--secondary-margin);\n grid-template-columns: 1fr 1fr;\n}\n.conflict-picker fieldset[data-v-9de22627] legend {\n display: flex;\n align-items: center;\n width: 100%;\n margin-bottom: calc(var(--secondary-margin) / 2);\n}\n.conflict-picker fieldset.conflict-picker__all[data-v-9de22627] {\n position: sticky;\n top: 0;\n margin: 0;\n padding: var(--secondary-margin) 0;\n background-image: linear-gradient(to top, transparent, var(--color-main-background-blur) 10%, var(--color-main-background) 15%);\n}\n.conflict-picker fieldset.conflict-picker__all + fieldset[data-v-9de22627] {\n margin-top: 0;\n}\n.conflict-picker fieldset.conflict-picker__all[data-v-9de22627] label {\n font-weight: 700;\n}\n.conflict-picker__controls[data-v-9de22627] {\n z-index: 10;\n display: flex;\n justify-content: flex-end;\n padding: var(--secondary-margin);\n border-radius: var(--border-radius-large);\n background-image: linear-gradient(to bottom, transparent, var(--color-main-background-blur) 10%, var(--color-main-background) 15%);\n}\n.conflict-picker__controls button[data-v-9de22627] {\n margin-left: var(--secondary-margin);\n}\n.conflict-picker__controls button.button-vue--disabled[data-v-9de22627] {\n cursor: default;\n opacity: .5;\n filter: saturate(.7);\n}\n@media screen and (max-width: 768px) {\n .conflict-picker[data-v-9de22627] {\n --margin: var(--secondary-margin) !important;\n }\n .conflict-picker__description[data-v-9de22627] {\n display: none !important;\n }\n .conflict-picker fieldset[data-v-9de22627] {\n grid-template-columns: 1fr !important;\n }\n .conflict-picker fieldset.conflict-picker__all[data-v-9de22627] {\n position: static;\n }\n}\n","",{version:3,sources:["webpack://./node_modules/@nextcloud/upload/dist/assets/ConflictPicker-8e1eb7d1.css"],names:[],mappings:"AAAA;EACE,4CAA4C;AAC9C;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,YAAY;AACd;AACA;;EAEE,YAAY;EACZ,WAAW;EACX,iCAAiC;EACjC,cAAc;EACd,cAAc;AAChB;AACA;EACE,oCAAoC;AACtC;AACA;EACE,gBAAgB;EAChB,6CAA6C;EAC7C,2BAA2B;EAC3B,sBAAsB;AACxB;AACA;EACE,aAAa;EACb,sBAAsB;AACxB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,aAAa;EACb,iBAAiB;EACjB,sBAAsB;AACxB;AACA;EACE,cAAc;EACd,wBAAwB;AAC1B;AACA;EACE,gBAAgB;EAChB,WAAW;EACX,MAAM;EACN,sBAAsB;EACtB,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,wBAAwB;EACxB,oBAAoB;EACpB,oBAAoB;AACtB;AACA;EACE,aAAa;EACb,WAAW;EACX,+CAA+C;EAC/C,uCAAuC;EACvC,8BAA8B;AAChC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,WAAW;EACX,gDAAgD;AAClD;AACA;EACE,gBAAgB;EAChB,MAAM;EACN,SAAS;EACT,kCAAkC;EAClC,+HAA+H;AACjI;AACA;EACE,aAAa;AACf;AACA;EACE,gBAAgB;AAClB;AACA;EACE,WAAW;EACX,aAAa;EACb,yBAAyB;EACzB,gCAAgC;EAChC,yCAAyC;EACzC,kIAAkI;AACpI;AACA;EACE,oCAAoC;AACtC;AACA;EACE,eAAe;EACf,WAAW;EACX,oBAAoB;AACtB;AACA;EACE;IACE,4CAA4C;EAC9C;EACA;IACE,wBAAwB;EAC1B;EACA;IACE,qCAAqC;EACvC;EACA;IACE,gBAAgB;EAClB;AACF",sourcesContent:[".node-picker__wrapper[data-v-cc039314]:not(:last-of-type) {\n border-bottom: 1px solid var(--color-border);\n}\n.node-picker[data-v-cc039314] {\n display: flex;\n align-items: center;\n height: 64px;\n}\n.node-picker__icon[data-v-cc039314],\n.node-picker__preview[data-v-cc039314] {\n height: 64px;\n width: 64px;\n margin: 0 var(--secondary-margin);\n display: block;\n flex: 0 0 64px;\n}\n.node-picker__icon[data-v-cc039314] {\n color: var(--color-text-maxcontrast);\n}\n.node-picker__preview[data-v-cc039314] {\n overflow: hidden;\n border-radius: calc(var(--border-radius) * 2);\n background-position: center;\n background-size: cover;\n}\n.node-picker__desc[data-v-cc039314] {\n display: flex;\n flex-direction: column;\n}\n.node-picker__desc span[data-v-cc039314] {\n white-space: nowrap;\n}\n[data-v-9de22627] .modal-container__content {\n display: flex;\n overflow: visible;\n flex-direction: column;\n}\n.conflict-picker[data-v-9de22627] {\n --margin: 36px;\n --secondary-margin: 18px;\n}\n.conflict-picker__header[data-v-9de22627] {\n position: sticky;\n z-index: 10;\n top: 0;\n padding: var(--margin);\n padding-bottom: 0;\n}\n.conflict-picker__form[data-v-9de22627] {\n position: relative;\n overflow: auto;\n padding: 0 var(--margin);\n padding-bottom: 12px;\n margin-bottom: -12px;\n}\n.conflict-picker fieldset[data-v-9de22627] {\n display: grid;\n width: 100%;\n margin-top: calc(var(--secondary-margin) * 1.5);\n padding-bottom: var(--secondary-margin);\n grid-template-columns: 1fr 1fr;\n}\n.conflict-picker fieldset[data-v-9de22627] legend {\n display: flex;\n align-items: center;\n width: 100%;\n margin-bottom: calc(var(--secondary-margin) / 2);\n}\n.conflict-picker fieldset.conflict-picker__all[data-v-9de22627] {\n position: sticky;\n top: 0;\n margin: 0;\n padding: var(--secondary-margin) 0;\n background-image: linear-gradient(to top, transparent, var(--color-main-background-blur) 10%, var(--color-main-background) 15%);\n}\n.conflict-picker fieldset.conflict-picker__all + fieldset[data-v-9de22627] {\n margin-top: 0;\n}\n.conflict-picker fieldset.conflict-picker__all[data-v-9de22627] label {\n font-weight: 700;\n}\n.conflict-picker__controls[data-v-9de22627] {\n z-index: 10;\n display: flex;\n justify-content: flex-end;\n padding: var(--secondary-margin);\n border-radius: var(--border-radius-large);\n background-image: linear-gradient(to bottom, transparent, var(--color-main-background-blur) 10%, var(--color-main-background) 15%);\n}\n.conflict-picker__controls button[data-v-9de22627] {\n margin-left: var(--secondary-margin);\n}\n.conflict-picker__controls button.button-vue--disabled[data-v-9de22627] {\n cursor: default;\n opacity: .5;\n filter: saturate(.7);\n}\n@media screen and (max-width: 768px) {\n .conflict-picker[data-v-9de22627] {\n --margin: var(--secondary-margin) !important;\n }\n .conflict-picker__description[data-v-9de22627] {\n display: none !important;\n }\n .conflict-picker fieldset[data-v-9de22627] {\n grid-template-columns: 1fr !important;\n }\n .conflict-picker fieldset.conflict-picker__all[data-v-9de22627] {\n position: static;\n }\n}\n"],sourceRoot:""}]);const o=a},83338:(e,t,n)=>{n.d(t,{default:()=>ts});var i=n(93379),s=n.n(i),r=n(7795),a=n.n(r),o=n(90569),l=n.n(o),c=n(3565),d=n.n(c),u=n(19216),h=n.n(u),f=n(44589),m=n.n(f),_=n(35370),p={};p.styleTagTransform=m(),p.setAttributes=d(),p.insert=l().bind(null,"head"),p.domAPI=a(),p.insertStyleElement=h(),s()(_.Z,p),_.Z&&_.Z.locals&&_.Z.locals;var g=n(62520),y=n(5656),v=n(64024),k=n(20144),w=n(29497),A=n(9359),S=n(83344),C=n(99125),b=n(79753),M=n(25108);const x={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var D=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon arrow-right-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},Y=[];const O=(0,C.n)(x,D,Y,!1,null,null,null,null).exports,N={name:"CloseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var E=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon close-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},T=[];const P=(0,C.n)(N,E,T,!1,null,null,null,null).exports;var R,W;function L(){return R.apply(null,arguments)}function U(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function B(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function F(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function H(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(F(e,t))return!1;return!0}function V(e){return void 0===e}function I(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function G(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function z(e,t){var n,i=[],s=e.length;for(n=0;n<s;++n)i.push(t(e[n],n));return i}function j(e,t){for(var n in t)F(t,n)&&(e[n]=t[n]);return F(t,"toString")&&(e.toString=t.toString),F(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Z(e,t,n,i){return _n(e,t,n,i,!0).utc()}function $(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function q(e){if(null==e._isValid){var t=$(e),n=W.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function J(e){var t=Z(NaN);return null!=e?j($(t),e):$(t).userInvalidated=!0,t}W=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var X=L.momentProperties=[],Q=!1;function K(e,t){var n,i,s,r=X.length;if(V(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),V(t._i)||(e._i=t._i),V(t._f)||(e._f=t._f),V(t._l)||(e._l=t._l),V(t._strict)||(e._strict=t._strict),V(t._tzm)||(e._tzm=t._tzm),V(t._isUTC)||(e._isUTC=t._isUTC),V(t._offset)||(e._offset=t._offset),V(t._pf)||(e._pf=$(t)),V(t._locale)||(e._locale=t._locale),r>0)for(n=0;n<r;n++)V(s=t[i=X[n]])||(e[i]=s);return e}function ee(e){K(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Q&&(Q=!0,L.updateOffset(this),Q=!1)}function te(e){return e instanceof ee||null!=e&&null!=e._isAMomentObject}function ne(e){!1===L.suppressDeprecationWarnings&&typeof M<"u"&&M.warn&&M.warn("Deprecation warning: "+e)}function ie(e,t){var n=!0;return j((function(){if(null!=L.deprecationHandler&&L.deprecationHandler(null,e),n){var i,s,r,a=[],o=arguments.length;for(s=0;s<o;s++){if(i="","object"==typeof arguments[s]){for(r in i+="\n["+s+"] ",arguments[0])F(arguments[0],r)&&(i+=r+": "+arguments[0][r]+", ");i=i.slice(0,-2)}else i=arguments[s];a.push(i)}ne(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var se,re={};function ae(e,t){null!=L.deprecationHandler&&L.deprecationHandler(e,t),re[e]||(ne(t),re[e]=!0)}function oe(e){return typeof Function<"u"&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function le(e,t){var n,i=j({},e);for(n in t)F(t,n)&&(B(e[n])&&B(t[n])?(i[n]={},j(i[n],e[n]),j(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)F(e,n)&&!F(t,n)&&B(e[n])&&(i[n]=j({},i[n]));return i}function ce(e){null!=e&&this.set(e)}function de(e,t,n){var i=""+Math.abs(e),s=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+i}L.suppressDeprecationWarnings=!1,L.deprecationHandler=null,se=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)F(e,t)&&n.push(t);return n};var ue=/(\[[^\[]*\])|(\\)?([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,he=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,fe={},me={};function _e(e,t,n,i){var s=i;"string"==typeof i&&(s=function(){return this[i]()}),e&&(me[e]=s),t&&(me[t[0]]=function(){return de(s.apply(this,arguments),t[1],t[2])}),n&&(me[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function pe(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function ge(e,t){return e.isValid()?(t=ye(t,e.localeData()),fe[t]=fe[t]||function(e){var t,n,i=e.match(ue);for(t=0,n=i.length;t<n;t++)me[i[t]]?i[t]=me[i[t]]:i[t]=pe(i[t]);return function(t){var s,r="";for(s=0;s<n;s++)r+=oe(i[s])?i[s].call(t,e):i[s];return r}}(t),fe[t](e)):e.localeData().invalidDate()}function ye(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(he.lastIndex=0;n>=0&&he.test(e);)e=e.replace(he,i),he.lastIndex=0,n-=1;return e}var ve={};function ke(e,t){var n=e.toLowerCase();ve[n]=ve[n+"s"]=ve[t]=e}function we(e){return"string"==typeof e?ve[e]||ve[e.toLowerCase()]:void 0}function Ae(e){var t,n,i={};for(n in e)F(e,n)&&(t=we(n))&&(i[t]=e[n]);return i}var Se={};function Ce(e,t){Se[e]=t}function be(e){return e%4==0&&e%100!=0||e%400==0}function Me(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function xe(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Me(t)),n}function De(e,t){return function(n){return null!=n?(Oe(this,e,n),L.updateOffset(this,t),this):Ye(this,e)}}function Ye(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Oe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&be(e.year())&&1===e.month()&&29===e.date()?(n=xe(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ut(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Ne,Ee=/\d/,Te=/\d\d/,Pe=/\d{3}/,Re=/\d{4}/,We=/[+-]?\d{6}/,Le=/\d\d?/,Ue=/\d\d\d\d?/,Be=/\d\d\d\d\d\d?/,Fe=/\d{1,3}/,He=/\d{1,4}/,Ve=/[+-]?\d{1,6}/,Ie=/\d+/,Ge=/[+-]?\d+/,ze=/Z|[+-]\d\d:?\d\d/gi,je=/Z|[+-]\d\d(?::?\d\d)?/gi,Ze=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function $e(e,t,n){Ne[e]=oe(t)?t:function(e,i){return e&&n?n:t}}function qe(e,t){return F(Ne,e)?Ne[e](t._strict,t._locale):new RegExp(function(e){return Je(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,s){return t||n||i||s})))}(e))}function Je(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Ne={};var Xe={};function Qe(e,t){var n,i,s=t;for("string"==typeof e&&(e=[e]),I(t)&&(s=function(e,n){n[t]=xe(e)}),i=e.length,n=0;n<i;n++)Xe[e[n]]=s}function Ke(e,t){Qe(e,(function(e,n,i,s){i._w=i._w||{},t(e,i._w,i,s)}))}function et(e,t,n){null!=t&&F(Xe,e)&&Xe[e](t,n._a,n,e)}var tt,nt=0,it=1,st=2,rt=3,at=4,ot=5,lt=6,ct=7,dt=8;function ut(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=function(e,t){return(e%12+12)%12}(t);return e+=(t-n)/12,1===n?be(e)?29:28:31-n%7%2}tt=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},_e("M",["MM",2],"Mo",(function(){return this.month()+1})),_e("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),_e("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ke("month","M"),Ce("month",8),$e("M",Le),$e("MM",Le,Te),$e("MMM",(function(e,t){return t.monthsShortRegex(e)})),$e("MMMM",(function(e,t){return t.monthsRegex(e)})),Qe(["M","MM"],(function(e,t){t[it]=xe(e)-1})),Qe(["MMM","MMMM"],(function(e,t,n,i){var s=n._locale.monthsParse(e,i,n._strict);null!=s?t[it]=s:$(n).invalidMonth=e}));var ht="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ft="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),mt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,_t=Ze,pt=Ze;function gt(e,t,n){var i,s,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=Z([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(s=tt.call(this._shortMonthsParse,a))?s:null:-1!==(s=tt.call(this._longMonthsParse,a))?s:null:"MMM"===t?-1!==(s=tt.call(this._shortMonthsParse,a))||-1!==(s=tt.call(this._longMonthsParse,a))?s:null:-1!==(s=tt.call(this._longMonthsParse,a))||-1!==(s=tt.call(this._shortMonthsParse,a))?s:null}function yt(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=xe(t);else if(!I(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),ut(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function vt(e){return null!=e?(yt(this,e),L.updateOffset(this,!0),this):Ye(this,"Month")}function kt(){function e(e,t){return t.length-e.length}var t,n,i=[],s=[],r=[];for(t=0;t<12;t++)n=Z([2e3,t]),i.push(this.monthsShort(n,"")),s.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(e),s.sort(e),r.sort(e),t=0;t<12;t++)i[t]=Je(i[t]),s[t]=Je(s[t]);for(t=0;t<24;t++)r[t]=Je(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function wt(e){return be(e)?366:365}_e("Y",0,0,(function(){var e=this.year();return e<=9999?de(e,4):"+"+e})),_e(0,["YY",2],0,(function(){return this.year()%100})),_e(0,["YYYY",4],0,"year"),_e(0,["YYYYY",5],0,"year"),_e(0,["YYYYYY",6,!0],0,"year"),ke("year","y"),Ce("year",1),$e("Y",Ge),$e("YY",Le,Te),$e("YYYY",He,Re),$e("YYYYY",Ve,We),$e("YYYYYY",Ve,We),Qe(["YYYYY","YYYYYY"],nt),Qe("YYYY",(function(e,t){t[nt]=2===e.length?L.parseTwoDigitYear(e):xe(e)})),Qe("YY",(function(e,t){t[nt]=L.parseTwoDigitYear(e)})),Qe("Y",(function(e,t){t[nt]=parseInt(e,10)})),L.parseTwoDigitYear=function(e){return xe(e)+(xe(e)>68?1900:2e3)};var At=De("FullYear",!0);function St(e,t,n,i,s,r,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,i,s,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,i,s,r,a),o}function Ct(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function bt(e,t,n){var i=7+t-n;return-(7+Ct(e,0,i).getUTCDay()-t)%7+i-1}function Mt(e,t,n,i,s){var r,a,o=1+7*(t-1)+(7+n-i)%7+bt(e,i,s);return o<=0?a=wt(r=e-1)+o:o>wt(e)?(r=e+1,a=o-wt(e)):(r=e,a=o),{year:r,dayOfYear:a}}function xt(e,t,n){var i,s,r=bt(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?i=a+Dt(s=e.year()-1,t,n):a>Dt(e.year(),t,n)?(i=a-Dt(e.year(),t,n),s=e.year()+1):(s=e.year(),i=a),{week:i,year:s}}function Dt(e,t,n){var i=bt(e,t,n),s=bt(e+1,t,n);return(wt(e)-i+s)/7}function Yt(e,t){return e.slice(t,7).concat(e.slice(0,t))}_e("w",["ww",2],"wo","week"),_e("W",["WW",2],"Wo","isoWeek"),ke("week","w"),ke("isoWeek","W"),Ce("week",5),Ce("isoWeek",5),$e("w",Le),$e("ww",Le,Te),$e("W",Le),$e("WW",Le,Te),Ke(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=xe(e)})),_e("d",0,"do","day"),_e("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),_e("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),_e("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),_e("e",0,0,"weekday"),_e("E",0,0,"isoWeekday"),ke("day","d"),ke("weekday","e"),ke("isoWeekday","E"),Ce("day",11),Ce("weekday",11),Ce("isoWeekday",11),$e("d",Le),$e("e",Le),$e("E",Le),$e("dd",(function(e,t){return t.weekdaysMinRegex(e)})),$e("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),$e("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ke(["dd","ddd","dddd"],(function(e,t,n,i){var s=n._locale.weekdaysParse(e,i,n._strict);null!=s?t.d=s:$(n).invalidWeekday=e})),Ke(["d","e","E"],(function(e,t,n,i){t[i]=xe(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Tt=Ze,Pt=Ze,Rt=Ze;function Wt(e,t,n){var i,s,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=Z([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(s=tt.call(this._weekdaysParse,a))?s:null:"ddd"===t?-1!==(s=tt.call(this._shortWeekdaysParse,a))?s:null:-1!==(s=tt.call(this._minWeekdaysParse,a))?s:null:"dddd"===t?-1!==(s=tt.call(this._weekdaysParse,a))||-1!==(s=tt.call(this._shortWeekdaysParse,a))||-1!==(s=tt.call(this._minWeekdaysParse,a))?s:null:"ddd"===t?-1!==(s=tt.call(this._shortWeekdaysParse,a))||-1!==(s=tt.call(this._weekdaysParse,a))||-1!==(s=tt.call(this._minWeekdaysParse,a))?s:null:-1!==(s=tt.call(this._minWeekdaysParse,a))||-1!==(s=tt.call(this._weekdaysParse,a))||-1!==(s=tt.call(this._shortWeekdaysParse,a))?s:null}function Lt(){function e(e,t){return t.length-e.length}var t,n,i,s,r,a=[],o=[],l=[],c=[];for(t=0;t<7;t++)n=Z([2e3,1]).day(t),i=Je(this.weekdaysMin(n,"")),s=Je(this.weekdaysShort(n,"")),r=Je(this.weekdays(n,"")),a.push(i),o.push(s),l.push(r),c.push(i),c.push(s),c.push(r);a.sort(e),o.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ut(){return this.hours()%12||12}function Bt(e,t){_e(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ft(e,t){return t._meridiemParse}_e("H",["HH",2],0,"hour"),_e("h",["hh",2],0,Ut),_e("k",["kk",2],0,(function(){return this.hours()||24})),_e("hmm",0,0,(function(){return""+Ut.apply(this)+de(this.minutes(),2)})),_e("hmmss",0,0,(function(){return""+Ut.apply(this)+de(this.minutes(),2)+de(this.seconds(),2)})),_e("Hmm",0,0,(function(){return""+this.hours()+de(this.minutes(),2)})),_e("Hmmss",0,0,(function(){return""+this.hours()+de(this.minutes(),2)+de(this.seconds(),2)})),Bt("a",!0),Bt("A",!1),ke("hour","h"),Ce("hour",13),$e("a",Ft),$e("A",Ft),$e("H",Le),$e("h",Le),$e("k",Le),$e("HH",Le,Te),$e("hh",Le,Te),$e("kk",Le,Te),$e("hmm",Ue),$e("hmmss",Be),$e("Hmm",Ue),$e("Hmmss",Be),Qe(["H","HH"],rt),Qe(["k","kk"],(function(e,t,n){var i=xe(e);t[rt]=24===i?0:i})),Qe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Qe(["h","hh"],(function(e,t,n){t[rt]=xe(e),$(n).bigHour=!0})),Qe("hmm",(function(e,t,n){var i=e.length-2;t[rt]=xe(e.substr(0,i)),t[at]=xe(e.substr(i)),$(n).bigHour=!0})),Qe("hmmss",(function(e,t,n){var i=e.length-4,s=e.length-2;t[rt]=xe(e.substr(0,i)),t[at]=xe(e.substr(i,2)),t[ot]=xe(e.substr(s)),$(n).bigHour=!0})),Qe("Hmm",(function(e,t,n){var i=e.length-2;t[rt]=xe(e.substr(0,i)),t[at]=xe(e.substr(i))})),Qe("Hmmss",(function(e,t,n){var i=e.length-4,s=e.length-2;t[rt]=xe(e.substr(0,i)),t[at]=xe(e.substr(i,2)),t[ot]=xe(e.substr(s))}));var Ht,Vt=De("Hours",!0),It={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ht,monthsShort:ft,week:{dow:0,doy:6},weekdays:Ot,weekdaysMin:Et,weekdaysShort:Nt,meridiemParse:/[ap]\.?m?\.?/i},Gt={},zt={};function jt(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function Zt(e){return e&&e.toLowerCase().replace("_","-")}function $t(e){var t=null;if(void 0===Gt[e]&&typeof module<"u"&&module&&module.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(e))try{t=Ht._abbr,require("./locale/"+e),qt(t)}catch{Gt[e]=null}return Gt[e]}function qt(e,t){var n;return e&&((n=V(t)?Xt(e):Jt(e,t))?Ht=n:typeof M<"u"&&M.warn&&M.warn("Locale "+e+" not found. Did you forget to load it?")),Ht._abbr}function Jt(e,t){if(null!==t){var n,i=It;if(t.abbr=e,null!=Gt[e])ae("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=Gt[e]._config;else if(null!=t.parentLocale)if(null!=Gt[t.parentLocale])i=Gt[t.parentLocale]._config;else{if(null==(n=$t(t.parentLocale)))return zt[t.parentLocale]||(zt[t.parentLocale]=[]),zt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return Gt[e]=new ce(le(i,t)),zt[e]&&zt[e].forEach((function(e){Jt(e.name,e.config)})),qt(e),Gt[e]}return delete Gt[e],null}function Xt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ht;if(!U(e)){if(t=$t(e))return t;e=[e]}return function(e){for(var t,n,i,s,r=0;r<e.length;){for(t=(s=Zt(e[r]).split("-")).length,n=(n=Zt(e[r+1]))?n.split("-"):null;t>0;){if(i=$t(s.slice(0,t).join("-")))return i;if(n&&n.length>=t&&jt(s,n)>=t-1)break;t--}r++}return Ht}(e)}function Qt(e){var t,n=e._a;return n&&-2===$(e).overflow&&(t=n[it]<0||n[it]>11?it:n[st]<1||n[st]>ut(n[nt],n[it])?st:n[rt]<0||n[rt]>24||24===n[rt]&&(0!==n[at]||0!==n[ot]||0!==n[lt])?rt:n[at]<0||n[at]>59?at:n[ot]<0||n[ot]>59?ot:n[lt]<0||n[lt]>999?lt:-1,$(e)._overflowDayOfYear&&(t<nt||t>st)&&(t=st),$(e)._overflowWeeks&&-1===t&&(t=ct),$(e)._overflowWeekday&&-1===t&&(t=dt),$(e).overflow=t),e}var Kt=/^\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)?)?$/,en=/^\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)?)?$/,tn=/Z|[+-]\d\d(?::?\d\d)?/,nn=[["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]],sn=[["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/]],rn=/^\/?Date\((-?\d+)/i,an=/^(?:(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}))$/,on={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ln(e){var t,n,i,s,r,a,o=e._i,l=Kt.exec(o)||en.exec(o),c=nn.length,d=sn.length;if(l){for($(e).iso=!0,t=0,n=c;t<n;t++)if(nn[t][1].exec(l[1])){s=nn[t][0],i=!1!==nn[t][2];break}if(null==s)return void(e._isValid=!1);if(l[3]){for(t=0,n=d;t<n;t++)if(sn[t][1].exec(l[3])){r=(l[2]||" ")+sn[t][0];break}if(null==r)return void(e._isValid=!1)}if(!i&&null!=r)return void(e._isValid=!1);if(l[4]){if(!tn.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=s+(r||"")+(a||""),fn(e)}else e._isValid=!1}function cn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function dn(e){var t,n=an.exec(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(n){if(t=function(e,t,n,i,s,r){var a=[cn(e),ft.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(s,10)];return r&&a.push(parseInt(r,10)),a}(n[4],n[3],n[2],n[5],n[6],n[7]),!function(e,t,n){return!e||Nt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||($(n).weekdayMismatch=!0,n._isValid=!1,!1)}(n[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return on[e];if(t)return 0;var i=parseInt(n,10),s=i%100;return(i-s)/100*60+s}(n[8],n[9],n[10]),e._d=Ct.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),$(e).rfc2822=!0}else e._isValid=!1}function un(e,t,n){return e??t??n}function hn(e){var t,n,i,s,r,a=[];if(!e._d){for(i=function(e){var t=new Date(L.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[st]&&null==e._a[it]&&function(e){var t,n,i,s,r,a,o,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=un(t.GG,e._a[nt],xt(pn(),1,4).year),i=un(t.W,1),((s=un(t.E,1))<1||s>7)&&(l=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,c=xt(pn(),r,a),n=un(t.gg,e._a[nt],c.year),i=un(t.w,c.week),null!=t.d?((s=t.d)<0||s>6)&&(l=!0):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(l=!0)):s=r),i<1||i>Dt(n,r,a)?$(e)._overflowWeeks=!0:null!=l?$(e)._overflowWeekday=!0:(o=Mt(n,i,s,r,a),e._a[nt]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=un(e._a[nt],i[nt]),(e._dayOfYear>wt(r)||0===e._dayOfYear)&&($(e)._overflowDayOfYear=!0),n=Ct(r,0,e._dayOfYear),e._a[it]=n.getUTCMonth(),e._a[st]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=i[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[rt]&&0===e._a[at]&&0===e._a[ot]&&0===e._a[lt]&&(e._nextDay=!0,e._a[rt]=0),e._d=(e._useUTC?Ct:St).apply(null,a),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[rt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==s&&($(e).weekdayMismatch=!0)}}function fn(e){if(e._f!==L.ISO_8601)if(e._f!==L.RFC_2822){e._a=[],$(e).empty=!0;var t,n,i,s,r,a,o,l=""+e._i,c=l.length,d=0;for(o=(i=ye(e._f,e._locale).match(ue)||[]).length,t=0;t<o;t++)s=i[t],(n=(l.match(qe(s,e))||[])[0])&&((r=l.substr(0,l.indexOf(n))).length>0&&$(e).unusedInput.push(r),l=l.slice(l.indexOf(n)+n.length),d+=n.length),me[s]?(n?$(e).empty=!1:$(e).unusedTokens.push(s),et(s,n,e)):e._strict&&!n&&$(e).unusedTokens.push(s);$(e).charsLeftOver=c-d,l.length>0&&$(e).unusedInput.push(l),e._a[rt]<=12&&!0===$(e).bigHour&&e._a[rt]>0&&($(e).bigHour=void 0),$(e).parsedDateParts=e._a.slice(0),$(e).meridiem=e._meridiem,e._a[rt]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((i=e.isPM(n))&&t<12&&(t+=12),!i&&12===t&&(t=0)),t)}(e._locale,e._a[rt],e._meridiem),null!==(a=$(e).era)&&(e._a[nt]=e._locale.erasConvertYear(a,e._a[nt])),hn(e),Qt(e)}else dn(e);else ln(e)}function mn(e){var t=e._i,n=e._f;return e._locale=e._locale||Xt(e._l),null===t||void 0===n&&""===t?J({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),te(t)?new ee(Qt(t)):(G(t)?e._d=t:U(n)?function(e){var t,n,i,s,r,a,o=!1,l=e._f.length;if(0===l)return $(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<l;s++)r=0,a=!1,t=K({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],fn(t),q(t)&&(a=!0),r+=$(t).charsLeftOver,r+=10*$(t).unusedTokens.length,$(t).score=r,o?r<i&&(i=r,n=t):(null==i||r<i||a)&&(i=r,n=t,a&&(o=!0));j(e,n||t)}(e):n?fn(e):function(e){var t=e._i;V(t)?e._d=new Date(L.now()):G(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=rn.exec(e._i);null===t?(ln(e),!1===e._isValid&&(delete e._isValid,dn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:L.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):U(t)?(e._a=z(t.slice(0),(function(e){return parseInt(e,10)})),hn(e)):B(t)?function(e){if(!e._d){var t=Ae(e._i),n=void 0===t.day?t.date:t.day;e._a=z([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),hn(e)}}(e):I(t)?e._d=new Date(t):L.createFromInputFallback(e)}(e),q(e)||(e._d=null),e))}function _n(e,t,n,i,s){var r={};return(!0===t||!1===t)&&(i=t,t=void 0),(!0===n||!1===n)&&(i=n,n=void 0),(B(e)&&H(e)||U(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=s,r._l=n,r._i=e,r._f=t,r._strict=i,function(e){var t=new ee(Qt(mn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}(r)}function pn(e,t,n,i){return _n(e,t,n,i,!1)}L.createFromInputFallback=ie("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":""))})),L.ISO_8601=function(){},L.RFC_2822=function(){};var gn=ie("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=pn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:J()})),yn=ie("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=pn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:J()}));function vn(e,t){var n,i;if(1===t.length&&U(t[0])&&(t=t[0]),!t.length)return pn();for(n=t[0],i=1;i<t.length;++i)(!t[i].isValid()||t[i][e](n))&&(n=t[i]);return n}var kn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function wn(e){var t=Ae(e),n=t.year||0,i=t.quarter||0,s=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,i=!1,s=kn.length;for(t in e)if(F(e,t)&&(-1===tt.call(kn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<s;++n)if(e[kn[n]]){if(i)return!1;parseFloat(e[kn[n]])!==xe(e[kn[n]])&&(i=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*l+1e3*o*60*60,this._days=+a+7*r,this._months=+s+3*i+12*n,this._data={},this._locale=Xt(),this._bubble()}function An(e){return e instanceof wn}function Sn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Cn(e,t){_e(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+de(~~(e/60),2)+t+de(~~e%60,2)}))}Cn("Z",":"),Cn("ZZ",""),$e("Z",je),$e("ZZ",je),Qe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Mn(je,e)}));var bn=/([\+\-]|\d\d)/gi;function Mn(e,t){var n,i,s=(t||"").match(e);return null===s?null:0===(i=60*(n=((s[s.length-1]||[])+"").match(bn)||["-",0,0])[1]+xe(n[2]))?0:"+"===n[0]?i:-i}function xn(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(te(e)||G(e)?e.valueOf():pn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),L.updateOffset(n,!1),n):pn(e).local()}function Dn(e){return-Math.round(e._d.getTimezoneOffset())}function Yn(){return!!this.isValid()&&this._isUTC&&0===this._offset}L.updateOffset=function(){};var On=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Nn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function En(e,t){var n,i,s,r=e,a=null;return An(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:I(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(a=On.exec(e))?(n="-"===a[1]?-1:1,r={y:0,d:xe(a[st])*n,h:xe(a[rt])*n,m:xe(a[at])*n,s:xe(a[ot])*n,ms:xe(Sn(1e3*a[lt]))*n}):(a=Nn.exec(e))?(n="-"===a[1]?-1:1,r={y:Tn(a[2],n),M:Tn(a[3],n),w:Tn(a[4],n),d:Tn(a[5],n),h:Tn(a[6],n),m:Tn(a[7],n),s:Tn(a[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(s=function(e,t){var n;return e.isValid()&&t.isValid()?(t=xn(t,e),e.isBefore(t)?n=Pn(e,t):((n=Pn(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(pn(r.from),pn(r.to)),(r={}).ms=s.milliseconds,r.M=s.months),i=new wn(r),An(e)&&F(e,"_locale")&&(i._locale=e._locale),An(e)&&F(e,"_isValid")&&(i._isValid=e._isValid),i}function Tn(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Pn(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Rn(e,t){return function(n,i){var s;return null!==i&&!isNaN(+i)&&(ae(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=i,i=s),Wn(this,En(n,i),e),this}}function Wn(e,t,n,i){var s=t._milliseconds,r=Sn(t._days),a=Sn(t._months);e.isValid()&&(i=i??!0,a&&yt(e,Ye(e,"Month")+a*n),r&&Oe(e,"Date",Ye(e,"Date")+r*n),s&&e._d.setTime(e._d.valueOf()+s*n),i&&L.updateOffset(e,r||a))}En.fn=wn.prototype,En.invalid=function(){return En(NaN)};var Ln=Rn(1,"add"),Un=Rn(-1,"subtract");function Bn(e){return"string"==typeof e||e instanceof String}function Fn(e,t){if(e.date()<t.date())return-Fn(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Hn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=Xt(e))&&(this._locale=t),this)}L.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",L.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Vn=ie("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function In(){return this._locale}var Gn=1e3,zn=6e4,jn=60*zn,Zn=3506328*jn;function $n(e,t){return(e%t+t)%t}function qn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Zn:new Date(e,t,n).valueOf()}function Jn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Zn:Date.UTC(e,t,n)}function Xn(e,t){return t.erasAbbrRegex(e)}function Qn(){var e,t,n=[],i=[],s=[],r=[],a=this.eras();for(e=0,t=a.length;e<t;++e)i.push(Je(a[e].name)),n.push(Je(a[e].abbr)),s.push(Je(a[e].narrow)),r.push(Je(a[e].name)),r.push(Je(a[e].abbr)),r.push(Je(a[e].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Kn(e,t){_e(0,[e,e.length],0,t)}function ei(e,t,n,i,s){var r;return null==e?xt(this,i,s).year:(t>(r=Dt(e,i,s))&&(t=r),ti.call(this,e,t,n,i,s))}function ti(e,t,n,i,s){var r=Mt(e,t,n,i,s),a=Ct(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}_e("N",0,0,"eraAbbr"),_e("NN",0,0,"eraAbbr"),_e("NNN",0,0,"eraAbbr"),_e("NNNN",0,0,"eraName"),_e("NNNNN",0,0,"eraNarrow"),_e("y",["y",1],"yo","eraYear"),_e("y",["yy",2],0,"eraYear"),_e("y",["yyy",3],0,"eraYear"),_e("y",["yyyy",4],0,"eraYear"),$e("N",Xn),$e("NN",Xn),$e("NNN",Xn),$e("NNNN",(function(e,t){return t.erasNameRegex(e)})),$e("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),Qe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var s=n._locale.erasParse(e,i,n._strict);s?$(n).era=s:$(n).invalidEra=e})),$e("y",Ie),$e("yy",Ie),$e("yyy",Ie),$e("yyyy",Ie),$e("yo",(function(e,t){return t._eraYearOrdinalRegex||Ie})),Qe(["y","yy","yyy","yyyy"],nt),Qe(["yo"],(function(e,t,n,i){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[nt]=n._locale.eraYearOrdinalParse(e,s):t[nt]=parseInt(e,10)})),_e(0,["gg",2],0,(function(){return this.weekYear()%100})),_e(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Kn("gggg","weekYear"),Kn("ggggg","weekYear"),Kn("GGGG","isoWeekYear"),Kn("GGGGG","isoWeekYear"),ke("weekYear","gg"),ke("isoWeekYear","GG"),Ce("weekYear",1),Ce("isoWeekYear",1),$e("G",Ge),$e("g",Ge),$e("GG",Le,Te),$e("gg",Le,Te),$e("GGGG",He,Re),$e("gggg",He,Re),$e("GGGGG",Ve,We),$e("ggggg",Ve,We),Ke(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=xe(e)})),Ke(["gg","GG"],(function(e,t,n,i){t[i]=L.parseTwoDigitYear(e)})),_e("Q",0,"Qo","quarter"),ke("quarter","Q"),Ce("quarter",7),$e("Q",Ee),Qe("Q",(function(e,t){t[it]=3*(xe(e)-1)})),_e("D",["DD",2],"Do","date"),ke("date","D"),Ce("date",9),$e("D",Le),$e("DD",Le,Te),$e("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Qe(["D","DD"],st),Qe("Do",(function(e,t){t[st]=xe(e.match(Le)[0])}));var ni=De("Date",!0);_e("DDD",["DDDD",3],"DDDo","dayOfYear"),ke("dayOfYear","DDD"),Ce("dayOfYear",4),$e("DDD",Fe),$e("DDDD",Pe),Qe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=xe(e)})),_e("m",["mm",2],0,"minute"),ke("minute","m"),Ce("minute",14),$e("m",Le),$e("mm",Le,Te),Qe(["m","mm"],at);var ii=De("Minutes",!1);_e("s",["ss",2],0,"second"),ke("second","s"),Ce("second",15),$e("s",Le),$e("ss",Le,Te),Qe(["s","ss"],ot);var si,ri,ai=De("Seconds",!1);for(_e("S",0,0,(function(){return~~(this.millisecond()/100)})),_e(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),_e(0,["SSS",3],0,"millisecond"),_e(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),_e(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),_e(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),_e(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),_e(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),_e(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ke("millisecond","ms"),Ce("millisecond",16),$e("S",Fe,Ee),$e("SS",Fe,Te),$e("SSS",Fe,Pe),si="SSSS";si.length<=9;si+="S")$e(si,Ie);function oi(e,t){t[lt]=xe(1e3*("0."+e))}for(si="S";si.length<=9;si+="S")Qe(si,oi);ri=De("Milliseconds",!1),_e("z",0,0,"zoneAbbr"),_e("zz",0,0,"zoneName");var li=ee.prototype;function ci(e){return e}li.add=Ln,li.calendar=function(e,t){1===arguments.length&&(arguments[0]?function(e){return te(e)||G(e)||Bn(e)||I(e)||function(e){var t=U(e),n=!1;return t&&(n=0===e.filter((function(t){return!I(t)&&Bn(e)})).length),t&&n}(e)||function(e){var t,n=B(e)&&!H(e),i=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r=s.length;for(t=0;t<r;t+=1)i=i||F(e,s[t]);return n&&i}(e)||null==e}(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=B(e)&&!H(e),i=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<s.length;t+=1)i=i||F(e,s[t]);return n&&i}(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||pn(),i=xn(n,this).startOf("day"),s=L.calendarFormat(this,i)||"sameElse",r=t&&(oe(t[s])?t[s].call(this,n):t[s]);return this.format(r||this.localeData().calendar(s,this,pn(n)))},li.clone=function(){return new ee(this)},li.diff=function(e,t,n){var i,s,r;if(!this.isValid())return NaN;if(!(i=xn(e,this)).isValid())return NaN;switch(s=6e4*(i.utcOffset()-this.utcOffset()),t=we(t)){case"year":r=Fn(this,i)/12;break;case"month":r=Fn(this,i);break;case"quarter":r=Fn(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-s)/864e5;break;case"week":r=(this-i-s)/6048e5;break;default:r=this-i}return n?r:Me(r)},li.endOf=function(e){var t,n;if(void 0===(e=we(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Jn:qn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=jn-$n(t+(this._isUTC?0:this.utcOffset()*zn),jn)-1;break;case"minute":t=this._d.valueOf(),t+=zn-$n(t,zn)-1;break;case"second":t=this._d.valueOf(),t+=Gn-$n(t,Gn)-1}return this._d.setTime(t),L.updateOffset(this,!0),this},li.format=function(e){e||(e=this.isUtc()?L.defaultFormatUtc:L.defaultFormat);var t=ge(this,e);return this.localeData().postformat(t)},li.from=function(e,t){return this.isValid()&&(te(e)&&e.isValid()||pn(e).isValid())?En({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},li.fromNow=function(e){return this.from(pn(),e)},li.to=function(e,t){return this.isValid()&&(te(e)&&e.isValid()||pn(e).isValid())?En({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},li.toNow=function(e){return this.to(pn(),e)},li.get=function(e){return oe(this[e=we(e)])?this[e]():this},li.invalidAt=function(){return $(this).overflow},li.isAfter=function(e,t){var n=te(e)?e:pn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=we(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},li.isBefore=function(e,t){var n=te(e)?e:pn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=we(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},li.isBetween=function(e,t,n,i){var s=te(e)?e:pn(e),r=te(t)?t:pn(t);return!!(this.isValid()&&s.isValid()&&r.isValid())&&("("===(i=i||"()")[0]?this.isAfter(s,n):!this.isBefore(s,n))&&(")"===i[1]?this.isBefore(r,n):!this.isAfter(r,n))},li.isSame=function(e,t){var n,i=te(e)?e:pn(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=we(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},li.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},li.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},li.isValid=function(){return q(this)},li.lang=Vn,li.locale=Hn,li.localeData=In,li.max=yn,li.min=gn,li.parsingFlags=function(){return j({},$(this))},li.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)F(e,t)&&n.push({unit:t,priority:Se[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=Ae(e)),s=i.length;for(n=0;n<s;n++)this[i[n].unit](e[i[n].unit])}else if(oe(this[e=we(e)]))return this[e](t);return this},li.startOf=function(e){var t,n;if(void 0===(e=we(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?Jn:qn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=$n(t+(this._isUTC?0:this.utcOffset()*zn),jn);break;case"minute":t=this._d.valueOf(),t-=$n(t,zn);break;case"second":t=this._d.valueOf(),t-=$n(t,Gn)}return this._d.setTime(t),L.updateOffset(this,!0),this},li.subtract=Un,li.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},li.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},li.toDate=function(){return new Date(this.valueOf())},li.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?ge(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):oe(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ge(n,"Z")):ge(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},li.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",s="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",s="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=s+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},typeof Symbol<"u"&&null!=Symbol.for&&(li[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),li.toJSON=function(){return this.isValid()?this.toISOString():null},li.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},li.unix=function(){return Math.floor(this.valueOf()/1e3)},li.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},li.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},li.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].name;return""},li.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].narrow;return""},li.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until||i[e].until<=n&&n<=i[e].since)return i[e].abbr;return""},li.eraYear=function(){var e,t,n,i,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,i=this.clone().startOf("day").valueOf(),s[e].since<=i&&i<=s[e].until||s[e].until<=i&&i<=s[e].since)return(this.year()-L(s[e].since).year())*n+s[e].offset;return this.year()},li.year=At,li.isLeapYear=function(){return be(this.year())},li.weekYear=function(e){return ei.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},li.isoWeekYear=function(e){return ei.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},li.quarter=li.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},li.month=vt,li.daysInMonth=function(){return ut(this.year(),this.month())},li.week=li.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},li.isoWeek=li.isoWeeks=function(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},li.weeksInYear=function(){var e=this.localeData()._week;return Dt(this.year(),e.dow,e.doy)},li.weeksInWeekYear=function(){var e=this.localeData()._week;return Dt(this.weekYear(),e.dow,e.doy)},li.isoWeeksInYear=function(){return Dt(this.year(),1,4)},li.isoWeeksInISOWeekYear=function(){return Dt(this.isoWeekYear(),1,4)},li.date=ni,li.day=li.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},li.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},li.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},li.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},li.hour=li.hours=Vt,li.minute=li.minutes=ii,li.second=li.seconds=ai,li.millisecond=li.milliseconds=ri,li.utcOffset=function(e,t,n){var i,s=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Mn(je,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Dn(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),s!==e&&(!t||this._changeInProgress?Wn(this,En(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,L.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:Dn(this)},li.utc=function(e){return this.utcOffset(0,e)},li.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Dn(this),"m")),this},li.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Mn(ze,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},li.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?pn(e).utcOffset():0,(this.utcOffset()-e)%60==0)},li.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},li.isLocal=function(){return!!this.isValid()&&!this._isUTC},li.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},li.isUtc=Yn,li.isUTC=Yn,li.zoneAbbr=function(){return this._isUTC?"UTC":""},li.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},li.dates=ie("dates accessor is deprecated. Use date instead.",ni),li.months=ie("months accessor is deprecated. Use month instead",vt),li.years=ie("years accessor is deprecated. Use year instead",At),li.zone=ie("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),li.isDSTShifted=ie("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!V(this._isDSTShifted))return this._isDSTShifted;var e,t={};return K(t,this),(t=mn(t))._a?(e=t._isUTC?Z(t._a):pn(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(i=0;i<s;i++)xe(e[i])!==xe(t[i])&&a++;return a+r}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var di=ce.prototype;function ui(e,t,n,i){var s=Xt(),r=Z().set(i,t);return s[n](r,e)}function hi(e,t,n){if(I(e)&&(t=e,e=void 0),e=e||"",null!=t)return ui(e,t,n,"month");var i,s=[];for(i=0;i<12;i++)s[i]=ui(e,i,n,"month");return s}function fi(e,t,n,i){"boolean"==typeof e?(I(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,I(t)&&(n=t,t=void 0),t=t||"");var s,r=Xt(),a=e?r._week.dow:0,o=[];if(null!=n)return ui(t,(n+a)%7,i,"day");for(s=0;s<7;s++)o[s]=ui(t,(s+a)%7,i,"day");return o}di.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return oe(i)?i.call(t,n):i},di.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(ue).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},di.invalidDate=function(){return this._invalidDate},di.ordinal=function(e){return this._ordinal.replace("%d",e)},di.preparse=ci,di.postformat=ci,di.relativeTime=function(e,t,n,i){var s=this._relativeTime[n];return oe(s)?s(e,t,n,i):s.replace(/%d/i,e)},di.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return oe(n)?n(t):n.replace(/%s/i,t)},di.set=function(e){var t,n;for(n in e)F(e,n)&&(oe(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},di.eras=function(e,t){var n,i,s,r=this._eras||Xt("en")._eras;for(n=0,i=r.length;n<i;++n)switch("string"==typeof r[n].since&&(s=L(r[n].since).startOf("day"),r[n].since=s.valueOf()),typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":s=L(r[n].until).startOf("day").valueOf(),r[n].until=s.valueOf()}return r},di.erasParse=function(e,t,n){var i,s,r,a,o,l=this.eras();for(e=e.toUpperCase(),i=0,s=l.length;i<s;++i)if(r=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),o=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(r===e)return l[i];break;case"NNNNN":if(o===e)return l[i]}else if([r,a,o].indexOf(e)>=0)return l[i]},di.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?L(e.since).year():L(e.since).year()+(t-e.offset)*n},di.erasAbbrRegex=function(e){return F(this,"_erasAbbrRegex")||Qn.call(this),e?this._erasAbbrRegex:this._erasRegex},di.erasNameRegex=function(e){return F(this,"_erasNameRegex")||Qn.call(this),e?this._erasNameRegex:this._erasRegex},di.erasNarrowRegex=function(e){return F(this,"_erasNarrowRegex")||Qn.call(this),e?this._erasNarrowRegex:this._erasRegex},di.months=function(e,t){return e?U(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||mt).test(t)?"format":"standalone"][e.month()]:U(this._months)?this._months:this._months.standalone},di.monthsShort=function(e,t){return e?U(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[mt.test(t)?"format":"standalone"][e.month()]:U(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},di.monthsParse=function(e,t,n){var i,s,r;if(this._monthsParseExact)return gt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(s=Z([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[i]&&(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},di.monthsRegex=function(e){return this._monthsParseExact?(F(this,"_monthsRegex")||kt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(F(this,"_monthsRegex")||(this._monthsRegex=pt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},di.monthsShortRegex=function(e){return this._monthsParseExact?(F(this,"_monthsRegex")||kt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(F(this,"_monthsShortRegex")||(this._monthsShortRegex=_t),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},di.week=function(e){return xt(e,this._week.dow,this._week.doy).week},di.firstDayOfYear=function(){return this._week.doy},di.firstDayOfWeek=function(){return this._week.dow},di.weekdays=function(e,t){var n=U(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Yt(n,this._week.dow):e?n[e.day()]:n},di.weekdaysMin=function(e){return!0===e?Yt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},di.weekdaysShort=function(e){return!0===e?Yt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},di.weekdaysParse=function(e,t,n){var i,s,r;if(this._weekdaysParseExact)return Wt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(s=Z([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},di.weekdaysRegex=function(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Lt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(F(this,"_weekdaysRegex")||(this._weekdaysRegex=Tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},di.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Lt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(F(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Pt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},di.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(F(this,"_weekdaysRegex")||Lt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(F(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},di.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},di.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},qt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===xe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),L.lang=ie("moment.lang is deprecated. Use moment.locale instead.",qt),L.langData=ie("moment.langData is deprecated. Use moment.localeData instead.",Xt);var mi=Math.abs;function _i(e,t,n,i){var s=En(t,n);return e._milliseconds+=i*s._milliseconds,e._days+=i*s._days,e._months+=i*s._months,e._bubble()}function pi(e){return e<0?Math.floor(e):Math.ceil(e)}function gi(e){return 4800*e/146097}function yi(e){return 146097*e/4800}function vi(e){return function(){return this.as(e)}}var ki=vi("ms"),wi=vi("s"),Ai=vi("m"),Si=vi("h"),Ci=vi("d"),bi=vi("w"),Mi=vi("M"),xi=vi("Q"),Di=vi("y");function Yi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Oi=Yi("milliseconds"),Ni=Yi("seconds"),Ei=Yi("minutes"),Ti=Yi("hours"),Pi=Yi("days"),Ri=Yi("months"),Wi=Yi("years"),Li=Math.round,Ui={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Bi(e,t,n,i,s){return s.relativeTime(t||1,!!n,e,i)}var Fi=Math.abs;function Hi(e){return(e>0)-(e<0)||+e}function Vi(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,s,r,a,o,l=Fi(this._milliseconds)/1e3,c=Fi(this._days),d=Fi(this._months),u=this.asSeconds();return u?(e=Me(l/60),t=Me(e/60),l%=60,e%=60,n=Me(d/12),d%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",s=u<0?"-":"",r=Hi(this._months)!==Hi(u)?"-":"",a=Hi(this._days)!==Hi(u)?"-":"",o=Hi(this._milliseconds)!==Hi(u)?"-":"",s+"P"+(n?r+n+"Y":"")+(d?r+d+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+i+"S":"")):"P0D"}var Ii=wn.prototype;Ii.isValid=function(){return this._isValid},Ii.abs=function(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this},Ii.add=function(e,t){return _i(this,e,t,1)},Ii.subtract=function(e,t){return _i(this,e,t,-1)},Ii.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=we(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+gi(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(yi(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Ii.asMilliseconds=ki,Ii.asSeconds=wi,Ii.asMinutes=Ai,Ii.asHours=Si,Ii.asDays=Ci,Ii.asWeeks=bi,Ii.asMonths=Mi,Ii.asQuarters=xi,Ii.asYears=Di,Ii.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*xe(this._months/12):NaN},Ii._bubble=function(){var e,t,n,i,s,r=this._milliseconds,a=this._days,o=this._months,l=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*pi(yi(o)+a),a=0,o=0),l.milliseconds=r%1e3,e=Me(r/1e3),l.seconds=e%60,t=Me(e/60),l.minutes=t%60,n=Me(t/60),l.hours=n%24,a+=Me(n/24),o+=s=Me(gi(a)),a-=pi(yi(s)),i=Me(o/12),o%=12,l.days=a,l.months=o,l.years=i,this},Ii.clone=function(){return En(this)},Ii.get=function(e){return e=we(e),this.isValid()?this[e+"s"]():NaN},Ii.milliseconds=Oi,Ii.seconds=Ni,Ii.minutes=Ei,Ii.hours=Ti,Ii.days=Pi,Ii.weeks=function(){return Me(this.days()/7)},Ii.months=Ri,Ii.years=Wi,Ii.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,s=!1,r=Ui;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(s=e),"object"==typeof t&&(r=Object.assign({},Ui,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),i=function(e,t,n,i){var s=En(e).abs(),r=Li(s.as("s")),a=Li(s.as("m")),o=Li(s.as("h")),l=Li(s.as("d")),c=Li(s.as("M")),d=Li(s.as("w")),u=Li(s.as("y")),h=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(h=h||d<=1&&["w"]||d<n.w&&["ww",d]),(h=h||c<=1&&["M"]||c<n.M&&["MM",c]||u<=1&&["y"]||["yy",u])[2]=t,h[3]=+e>0,h[4]=i,Bi.apply(null,h)}(this,!s,r,n=this.localeData()),s&&(i=n.pastFuture(+this,i)),n.postformat(i)},Ii.toISOString=Vi,Ii.toString=Vi,Ii.toJSON=Vi,Ii.locale=Hn,Ii.localeData=In,Ii.toIsoString=ie("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Vi),Ii.lang=Vn,_e("X",0,0,"unix"),_e("x",0,0,"valueOf"),$e("x",Ge),$e("X",/[+-]?\d+(\.\d{1,3})?/),Qe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Qe("x",(function(e,t,n){n._d=new Date(xe(e))})),L.version="2.29.4",R=pn,L.fn=li,L.min=function(){return vn("isBefore",[].slice.call(arguments,0))},L.max=function(){return vn("isAfter",[].slice.call(arguments,0))},L.now=function(){return Date.now?Date.now():+new Date},L.utc=Z,L.unix=function(e){return pn(1e3*e)},L.months=function(e,t){return hi(e,t,"months")},L.isDate=G,L.locale=qt,L.invalid=J,L.duration=En,L.isMoment=te,L.weekdays=function(e,t,n){return fi(e,t,n,"weekdays")},L.parseZone=function(){return pn.apply(null,arguments).parseZone()},L.localeData=Xt,L.isDuration=An,L.monthsShort=function(e,t){return hi(e,t,"monthsShort")},L.weekdaysMin=function(e,t,n){return fi(e,t,n,"weekdaysMin")},L.defineLocale=Jt,L.updateLocale=function(e,t){if(null!=t){var n,i,s=It;null!=Gt[e]&&null!=Gt[e].parentLocale?Gt[e].set(le(Gt[e]._config,t)):(null!=(i=$t(e))&&(s=i._config),t=le(s,t),null==i&&(t.abbr=e),(n=new ce(t)).parentLocale=Gt[e],Gt[e]=n),qt(e)}else null!=Gt[e]&&(null!=Gt[e].parentLocale?(Gt[e]=Gt[e].parentLocale,e===qt()&&qt(e)):null!=Gt[e]&&delete Gt[e]);return Gt[e]},L.locales=function(){return se(Gt)},L.weekdaysShort=function(e,t,n){return fi(e,t,n,"weekdaysShort")},L.normalizeUnits=we,L.relativeTimeRounding=function(e){return void 0===e?Li:"function"==typeof e&&(Li=e,!0)},L.relativeTimeThreshold=function(e,t){return void 0!==Ui[e]&&(void 0===t?Ui[e]:(Ui[e]=t,"s"===e&&(Ui.ss=t-1),!0))},L.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},L.prototype=li,L.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 Gi={name:"FileIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var zi=function(){var e=this,t=e._self._c;return t("span",e._b({staticClass:"material-design-icon file-icon",attrs:{"aria-hidden":!e.title,"aria-label":e.title,role:"img"},on:{click:function(t){return e.$emit("click",t)}}},"span",e.$attrs,!1),[t("svg",{staticClass:"material-design-icon__svg",attrs:{fill:e.fillColor,width:e.size,height:e.size,viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z"}},[e.title?t("title",[e._v(e._s(e.title))]):e._e()])])])},ji=[];const Zi=(0,C.n)(Gi,zi,ji,!1,null,null,null,null).exports,$i=k.default.extend({name:"NodesPicker",components:{FileSvg:Zi,NcCheckboxRadioSwitch:A.Z},props:{incoming:{type:[y.NB,File,y.$B,y.gt],required:!0},existing:{type:[y.$B,y.gt],required:!0},newSelected:{type:Array,required:!0},oldSelected:{type:Array,required:!0}},data:()=>({asyncPreview:null}),computed:{isEnoughSelected(){return this.isChecked(this.incoming,this.newSelected)||this.isChecked(this.existing,this.oldSelected)},incomingPreview(){return this.asyncPreview?this.asyncPreview:this.previewUrl(this.incoming)},existingPreview(){return this.previewUrl(this.existing)}},methods:{lastModified(e){const t=e instanceof File?new Date(e.lastModified):e.mtime;return t?L(t).format("LLL"):(0,C.t)("Last modified date unknown")},size:e=>e.size?(0,y.sS)(e.size,!0):(0,C.t)("Unknown size"),previewUrl(e){if(e instanceof File)this.previewImage(e).then((e=>{this.asyncPreview=e}));else{if(e.type===y.Tv.Folder)return null;try{const t=e.attributes.previewUrl||(0,b.generateUrl)("/core/preview?fileId={fileid}",{fileid:e.fileid}),n=new URL(window.location.origin+t);return n.searchParams.set("x",64..toString()),n.searchParams.set("y",64..toString()),n.searchParams.set("mimeFallback","true"),n.href}catch{return null}}},isChecked:(e,t)=>t.includes(e),onUpdateChecked(e,t){this.$emit(`update:${t}`,...args)},onUpdateIncomingChecked(e){e?this.$emit("update:newSelected",[this.incoming,...this.newSelected]):this.$emit("update:newSelected",this.newSelected.filter((e=>e!==this.incoming)))},onUpdateExistingChecked(e){e?this.$emit("update:oldSelected",[this.existing,...this.oldSelected]):this.$emit("update:oldSelected",this.oldSelected.filter((e=>e!==this.existing)))},previewImage:async e=>new Promise((t=>{if(e.type.startsWith("image/")){const n=new FileReader;n.onload=async n=>{const i=n?.target?.result;if(i instanceof ArrayBuffer){const n=new Blob([i],{type:e.type}),s=URL.createObjectURL(n);t(s)}else t(null)},n.readAsArrayBuffer(e)}})),t:C.t}});var qi=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("fieldset",{staticClass:"node-picker__wrapper",attrs:{"data-cy-conflict-picker-fieldset":e.existing.basename}},[t("legend",[e._v(e._s(e.existing.basename))]),t("NcCheckboxRadioSwitch",{attrs:{checked:e.isChecked(e.incoming,e.newSelected),required:!e.isEnoughSelected,"data-cy-conflict-picker-input-incoming":e.existing.basename},on:{"update:checked":e.onUpdateIncomingChecked}},[t("span",{staticClass:"node-picker node-picker--incoming"},[e.incomingPreview?t("img",{staticClass:"node-picker__preview",attrs:{src:e.incomingPreview,alt:e.t("Preview image"),loading:"lazy"}}):t("FileSvg",{staticClass:"node-picker__icon",attrs:{size:48}}),t("span",{staticClass:"node-picker__desc"},[t("span",{staticClass:"node-picker__name"},[e._v(e._s(e.t("New version")))]),t("span",{staticClass:"node-picker__mtime"},[e._v(e._s(e.lastModified(e.incoming)))]),t("span",{staticClass:"node-picker__size"},[e._v(e._s(e.size(e.incoming)))])])],1)]),t("NcCheckboxRadioSwitch",{attrs:{checked:e.isChecked(e.existing,e.oldSelected),required:!e.isEnoughSelected,"data-cy-conflict-picker-input-existing":e.existing.basename},on:{"update:checked":e.onUpdateExistingChecked}},[t("span",{staticClass:"node-picker node-picker--existing"},[e.existingPreview?t("img",{staticClass:"node-picker__preview",attrs:{src:e.existingPreview,alt:e.t("Preview image"),loading:"lazy"}}):t("FileSvg",{staticClass:"node-picker__icon",attrs:{size:48}}),t("span",{staticClass:"node-picker__desc"},[t("span",{staticClass:"node-picker__name"},[e._v(e._s(e.t("Existing version")))]),t("span",{staticClass:"node-picker__mtime"},[e._v(e._s(e.lastModified(e.existing)))]),t("span",{staticClass:"node-picker__size"},[e._v(e._s(e.size(e.existing)))])])],1)])],1)},Ji=[];const Xi=(0,C.n)($i,qi,Ji,!1,null,"cc039314",null,null).exports,Qi=k.default.extend({name:"ConflictPicker",components:{ArrowRight:O,Close:P,NcButton:w.Z,NcCheckboxRadioSwitch:A.Z,NcModal:S.Z,NodesPicker:Xi},props:{dirname:{type:String,default:""},content:{type:Array,required:!0},conflicts:{type:Array,required:!0}},data:()=>({files:[],opened:!0,blockedTitle:(0,C.t)("You need to select at least one version of each file to continue."),newSelected:[],oldSelected:[]}),computed:{name(){return""!==this?.dirname?.trim?.()?(0,C.a)("{count} file conflict in {dirname}","{count} file conflicts in {dirname}",this.conflicts.length,{count:this.conflicts.length,dirname:this.dirname}):(0,C.a)("{count} file conflict","{count} files conflict",this.conflicts.length,{count:this.conflicts.length})},skipButtonLabel(){return(0,C.a)("Skip this file","Skip {count} files",this.conflicts.length,{count:this.conflicts.length})},selectAllNewBind(){const e=this.isNoneNewSelected||this.isSomeNewSelected?this.t("Select all"):this.t("Unselect all");return{"aria-label":e,checked:this.isAllNewSelected,indeterminate:this.isSomeNewSelected,title:e}},isAllNewSelected(){return this.newSelected.length===this.conflicts.length},isNoneNewSelected(){return 0===this.newSelected.length},isSomeNewSelected(){return!this.isAllNewSelected&&!this.isNoneNewSelected},selectAllOldBind(){const e=this.isNoneOldSelected||this.isSomeOldSelected?this.t("Select all"):this.t("Unselect all");return{"aria-label":e,checked:this.isAllOldSelected,indeterminate:this.isSomeOldSelected,title:e}},isAllOldSelected(){return this.oldSelected.length===this.files.length},isNoneOldSelected(){return 0===this.oldSelected.length},isSomeOldSelected(){return!this.isAllOldSelected&&!this.isNoneOldSelected},isEnoughSelected(){return!(!this.isAllOldSelected&&!this.isAllNewSelected)||this.$refs?.nodesPicker?.every?.((e=>e.isEnoughSelected))}},beforeMount(){if(this.files=this.conflicts.map((e=>{const t=e instanceof File?e.name:e.basename;return this.content.find((e=>e.basename===t))})).filter(Boolean),C.l.debug("ConflictPicker initialised",{files:this.files,conflicts:this.conflicts,content:this.content}),0===this.conflicts.length||0===this.files.length){const e=new Error("ConflictPicker: files and conflicts must not be empty");throw this.onCancel(e),e}if(this.conflicts.length!==this.files.length){const e=new Error("ConflictPicker: files and conflicts must have the same length");throw this.onCancel(e),e}},methods:{onCancel(e){this.opened=!1,this.$emit("cancel",e)},onSkip(){C.l.debug("Conflict skipped. Ignoring all conflicting files"),this.opened=!1,this.$emit("submit",{selected:[],renamed:[]})},onSubmit(){if(!this.isEnoughSelected)return this.scrollValidityInputIntoView(),this.$refs.form.reportValidity(),void(0,v.x2)(this.blockedTitle);const e=this.oldSelected.map((e=>e.basename)),t=this.content.map((e=>e.basename)),n=[],i=this.newSelected.filter((t=>{const n=t instanceof File?t.name:t.basename;return e.includes(n)}));i.length>0&&i.forEach((e=>{const i=e instanceof File?e.name:e.basename,s=this.getUniqueName(i,t);if(e instanceof File)return e=new File([e],s,{type:e.type,lastModified:e.lastModified}),void n.push(e);e.rename(s),n.push(e)}));const s=this.newSelected.filter((t=>{const n=t instanceof File?t.name:t.basename;return!e.includes(n)}));C.l.debug("Conflict resolved",{selected:s,renamed:n}),this.opened=!1,this.$emit("submit",{selected:s,renamed:n})},getUniqueName(e,t){let n=e,i=1;for(;t.includes(n);){const t=(0,g.extname)(e);n=`${(0,g.basename)(e,t)} (${i++})${t}`}return n},scrollValidityInputIntoView(){const e='.checkbox-radio-switch input[type="checkbox"]';[...this.$el.querySelectorAll(e)].forEach((e=>e?.setCustomValidity?.("")));const t=this.$el.querySelector(e+":invalid");t&&(t.setCustomValidity(this.blockedTitle),t.scrollIntoView({behavior:"instant",block:"center"}))},onSelectAllNew(e){e?(C.l.debug("Selected all new files"),this.newSelected=this.conflicts):(C.l.debug("Cleared new selection"),this.newSelected=[])},onSelectAllOld(e){e?(C.l.debug("Selected all existing files"),this.oldSelected=this.files):(C.l.debug("Cleared old selection"),this.oldSelected=[])},t:C.t}});var Ki=function(){var e=this,t=e._self._c;return e._self._setupProxy,t("NcModal",{staticClass:"conflict-picker",attrs:{"data-cy-conflict-picker":"","close-on-click-outside":!1,show:e.opened,size:"large"},on:{close:e.onCancel}},[t("div",{staticClass:"conflict-picker__header"},[t("h2",{staticClass:"conflict-picker__title",domProps:{textContent:e._s(e.name)}}),t("p",{staticClass:"conflict-picker__description",attrs:{id:"conflict-picker-description"}},[e._v(" "+e._s(e.t("Which files do you want to keep?"))),t("br"),e._v(" "+e._s(e.t("If you select both versions, the copied file will have a number added to its name."))+" ")])]),t("form",{ref:"form",staticClass:"conflict-picker__form",attrs:{"aria-labelledby":"conflict-picker-description","data-cy-conflict-picker-form":""},on:{submit:function(t){return t.preventDefault(),t.stopPropagation(),e.onSubmit.apply(null,arguments)}}},[t("fieldset",{staticClass:"conflict-picker__all",attrs:{"data-cy-conflict-picker-fieldset":"all"}},[t("legend",{staticClass:"hidden-visually"},[e._v(e._s(e.t("Select all checkboxes")))]),t("NcCheckboxRadioSwitch",e._b({attrs:{"data-cy-conflict-picker-input-incoming":"all"},on:{"update:checked":e.onSelectAllNew}},"NcCheckboxRadioSwitch",e.selectAllNewBind,!1),[e._v(" "+e._s(e.t("Select all new files"))+" ")]),t("NcCheckboxRadioSwitch",e._b({attrs:{"data-cy-conflict-picker-input-existing":"all"},on:{"update:checked":e.onSelectAllOld}},"NcCheckboxRadioSwitch",e.selectAllOldBind,!1),[e._v(" "+e._s(e.t("Select all existing files"))+" ")])],1),e._l(e.files,(function(n,i){return t("NodesPicker",{key:n.fileid,ref:"nodesPicker",refInFor:!0,attrs:{incoming:e.conflicts[i],existing:e.files[i],"new-selected":e.newSelected,"old-selected":e.oldSelected},on:{"update:newSelected":function(t){e.newSelected=t},"update:new-selected":function(t){e.newSelected=t},"update:oldSelected":function(t){e.oldSelected=t},"update:old-selected":function(t){e.oldSelected=t}}})}))],2),t("div",{staticClass:"conflict-picker__controls"},[t("NcButton",{attrs:{"data-cy-conflict-picker-skip":""},on:{click:e.onSkip},scopedSlots:e._u([{key:"icon",fn:function(){return[t("Close")]},proxy:!0}])},[e._v(" "+e._s(e.skipButtonLabel)+" ")]),t("NcButton",{class:{"button-vue--disabled":!e.isEnoughSelected},attrs:{type:"primary",title:e.isEnoughSelected?"":e.blockedTitle,"native-type":"submit","data-cy-conflict-picker-submit":""},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.onSubmit.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[t("ArrowRight")]},proxy:!0}])},[e._v(" "+e._s(e.t("Continue"))+" ")])],1)])},es=[];const ts=(0,C.n)(Qi,Ki,es,!1,null,"9de22627",null,null).exports}}]);
|
|
//# sourceMappingURL=3338-3338.js.map?v=5063540cac8e3f8aff98
|