From f7cb79367c2d8c96f75df8b6bb61565567bc9c36 Mon Sep 17 00:00:00 2001 From: Theluyuan <1162963624@qq.com> Date: Fri, 3 Nov 2023 14:15:37 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=AF=BC=E5=87=BAexcel=20number=E5=88=97?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- es/table/index.js | 2 +- lib/index.js | 2 +- src/component/table/index.vue | 2 +- umd/index.js | 16 ++++++++-------- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/es/table/index.js b/es/table/index.js index 639b949..ad02329 100644 --- a/es/table/index.js +++ b/es/table/index.js @@ -1211,7 +1211,7 @@ const _sfc_main = defineComponent({ } }); if (tableColumn.type == "number") { - info[item.key] = rowIndex + 1; + info[tableColumn.key] = rowIndex + 1; } }); list.push(info); diff --git a/lib/index.js b/lib/index.js index 2f36733..f578869 100644 --- a/lib/index.js +++ b/lib/index.js @@ -40038,7 +40038,7 @@ const _sfc_main$D = defineComponent({ } }); if (tableColumn.type == "number") { - info[item.key] = rowIndex + 1; + info[tableColumn.key] = rowIndex + 1; } }); list.push(info); diff --git a/src/component/table/index.vue b/src/component/table/index.vue index 99c3dcc..8a7ff9c 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -469,7 +469,7 @@ const exportData = () => { // if (rowspan != 0 && colspan != 0) { // tableStr += `${rowIndex + 1}`; // } - info[item.key] = rowIndex + 1 + info[tableColumn.key] = rowIndex + 1 } }); // tableStr += ""; diff --git a/umd/index.js b/umd/index.js index fb2c4f0..7680ec5 100644 --- a/umd/index.js +++ b/umd/index.js @@ -32,7 +32,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * vue-i18n v9.1.10 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const Hl="9.1.10";function Zl(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Wj().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Wj().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Wj().__INTLIFY_PROD_DEVTOOLS__=!1)}function kD(M,...D){return Jt(M,null,void 0)}const Uu="__INTLIFY_META__",Su=Je("__transrateVNode"),pu=Je("__datetimeParts"),hu=Je("__numberParts");Je("__enableEmitter"),Je("__disableEmitter");const Dg=Je("__setPluralRules");Je("__intlifyMeta");const eg=Je("__injectWithOption");let ig=0;function jg(M){return(D,N,i,j)=>M(N,i,e.getCurrentInstance()||void 0,j)}function mu(M,D){const{messages:N,__i18n:i}=D,j=LN(N)?N:XN(i)?{}:{[M]:{}};if(XN(i)&&i.forEach(({locale:t,resource:z})=>{t?(j[t]=j[t]||{},qt(z,j[t])):qt(z,j)}),D.flatJson)for(const t in j)hr(j,t)&&xu(j[t]);return j}const Kt=M=>!FD(M)||XN(M);function qt(M,D){if(Kt(M)||Kt(D))throw kD(20);for(const N in M)hr(M,N)&&(Kt(M[N])||Kt(D[N])?D[N]=M[N]:qt(M[N],D[N]))}const Xl=()=>{const M=e.getCurrentInstance();return M&&M.type[Uu]?{[Uu]:M.type[Uu]}:null};function Bu(M={}){const{__root:D}=M,N=D===void 0;let i=fN(M.inheritLocale)?M.inheritLocale:!0;const j=e.ref(D&&i?D.locale.value:MN(M.locale)?M.locale:"en-US"),t=e.ref(D&&i?D.fallbackLocale.value:MN(M.fallbackLocale)||XN(M.fallbackLocale)||LN(M.fallbackLocale)||M.fallbackLocale===!1?M.fallbackLocale:j.value),z=e.ref(mu(j.value,M)),u=e.ref(LN(M.datetimeFormats)?M.datetimeFormats:{[j.value]:{}}),a=e.ref(LN(M.numberFormats)?M.numberFormats:{[j.value]:{}});let r=D?D.missingWarn:fN(M.missingWarn)||zj(M.missingWarn)?M.missingWarn:!0,g=D?D.fallbackWarn:fN(M.fallbackWarn)||zj(M.fallbackWarn)?M.fallbackWarn:!0,T=D?D.fallbackRoot:fN(M.fallbackRoot)?M.fallbackRoot:!0,n=!!M.fallbackFormat,s=lD(M.missing)?M.missing:null,y=lD(M.missing)?jg(M.missing):null,o=lD(M.postTranslation)?M.postTranslation:null,I=fN(M.warnHtmlMessage)?M.warnHtmlMessage:!0,L=!!M.escapeParameter;const O=D?D.modifiers:LN(M.modifiers)?M.modifiers:{};let w=M.pluralRules||D&&D.pluralRules,A;function k(){return Bl({version:Hl,locale:j.value,fallbackLocale:t.value,messages:z.value,datetimeFormats:u.value,numberFormats:a.value,modifiers:O,pluralRules:w,missing:y===null?void 0:y,missingWarn:r,fallbackWarn:g,fallbackFormat:n,unresolving:!0,postTranslation:o===null?void 0:o,warnHtmlMessage:I,escapeParameter:L,__datetimeFormatters:LN(A)?A.__datetimeFormatters:void 0,__numberFormatters:LN(A)?A.__numberFormatters:void 0,__v_emitter:LN(A)?A.__v_emitter:void 0,__meta:{framework:"vue"}})}A=k(),Zj(A,j.value,t.value);function Q(){return[j.value,t.value,z.value,u.value,a.value]}const x=e.computed({get:()=>j.value,set:xM=>{j.value=xM,A.locale=j.value}}),f=e.computed({get:()=>t.value,set:xM=>{t.value=xM,A.fallbackLocale=t.value,Zj(A,j.value,xM)}}),C=e.computed(()=>z.value),W=e.computed(()=>u.value),MM=e.computed(()=>a.value);function NM(){return lD(o)?o:null}function jM(xM){o=xM,A.postTranslation=xM}function aM(){return s}function tM(xM){xM!==null&&(y=jg(xM)),s=xM,A.missing=y}function R(xM,EM,TN,mM,cD,QM){Q();let CM;if(__INTLIFY_PROD_DEVTOOLS__)try{Wr(Xl()),CM=xM(A)}finally{Wr(null)}else CM=xM(A);if(rD(CM)&&CM===$t){const[pM,_M]=EM();return D&&T?mM(D):cD(pM)}else{if(QM(CM))return CM;throw kD(14)}}function m(...xM){return R(EM=>Jr(EM,...xM),()=>fu(...xM),"translate",EM=>EM.t(...xM),EM=>EM,EM=>MN(EM))}function J(...xM){const[EM,TN,mM]=xM;if(mM&&!FD(mM))throw kD(15);return m(EM,TN,gD({resolvedMessage:!0},mM||{}))}function K(...xM){return R(EM=>Kr(EM,...xM),()=>du(...xM),"datetime format",EM=>EM.d(...xM),()=>Pr,EM=>MN(EM))}function rM(...xM){return R(EM=>Mg(EM,...xM),()=>Cu(...xM),"number format",EM=>EM.n(...xM),()=>Pr,EM=>MN(EM))}function IM(xM){return xM.map(EM=>MN(EM)?e.createVNode(e.Text,null,EM,0):EM)}const oM={normalize:IM,interpolate:xM=>xM,type:"vnode"};function bM(...xM){return R(EM=>{let TN;const mM=EM;try{mM.processor=oM,TN=Jr(mM,...xM)}finally{mM.processor=null}return TN},()=>fu(...xM),"translate",EM=>EM[Su](...xM),EM=>[e.createVNode(e.Text,null,EM,0)],EM=>XN(EM))}function eM(...xM){return R(EM=>Mg(EM,...xM),()=>Cu(...xM),"number format",EM=>EM[hu](...xM),()=>[],EM=>MN(EM)||XN(EM))}function uM(...xM){return R(EM=>Kr(EM,...xM),()=>du(...xM),"datetime format",EM=>EM[pu](...xM),()=>[],EM=>MN(EM)||XN(EM))}function d(xM){w=xM,A.pluralRules=w}function G(xM,EM){const TN=MN(EM)?EM:j.value,mM=p(TN);return Xt(mM,xM)!==null}function v(xM){let EM=null;const TN=Hj(A,t.value,j.value);for(let mM=0;mM{i&&(j.value=xM,A.locale=xM,Zj(A,j.value,t.value))}),e.watch(D.fallbackLocale,xM=>{i&&(t.value=xM,A.fallbackLocale=xM,Zj(A,j.value,t.value))})),{id:ig,locale:x,fallbackLocale:f,get inheritLocale(){return i},set inheritLocale(xM){i=xM,xM&&D&&(j.value=D.locale.value,t.value=D.fallbackLocale.value,Zj(A,j.value,t.value))},get availableLocales(){return Object.keys(z.value).sort()},messages:C,datetimeFormats:W,numberFormats:MM,get modifiers(){return O},get pluralRules(){return w||{}},get isGlobal(){return N},get missingWarn(){return r},set missingWarn(xM){r=xM,A.missingWarn=r},get fallbackWarn(){return g},set fallbackWarn(xM){g=xM,A.fallbackWarn=g},get fallbackRoot(){return T},set fallbackRoot(xM){T=xM},get fallbackFormat(){return n},set fallbackFormat(xM){n=xM,A.fallbackFormat=n},get warnHtmlMessage(){return I},set warnHtmlMessage(xM){I=xM,A.warnHtmlMessage=xM},get escapeParameter(){return L},set escapeParameter(xM){L=xM,A.escapeParameter=xM},t:m,rt:J,d:K,n:rM,te:G,tm:P,getLocaleMessage:p,setLocaleMessage:Z,mergeLocaleMessage:zM,getDateTimeFormat:TM,setDateTimeFormat:DM,mergeDateTimeFormat:AM,getNumberFormat:hM,setNumberFormat:KM,mergeNumberFormat:iN,getPostTranslationHandler:NM,setPostTranslationHandler:jM,getMissingHandler:aM,setMissingHandler:tM,[Su]:bM,[hu]:eM,[pu]:uM,[Dg]:d,[eg]:M.__injectWithOption}}function Jl(M){const D=MN(M.locale)?M.locale:"en-US",N=MN(M.fallbackLocale)||XN(M.fallbackLocale)||LN(M.fallbackLocale)||M.fallbackLocale===!1?M.fallbackLocale:D,i=lD(M.missing)?M.missing:void 0,j=fN(M.silentTranslationWarn)||zj(M.silentTranslationWarn)?!M.silentTranslationWarn:!0,t=fN(M.silentFallbackWarn)||zj(M.silentFallbackWarn)?!M.silentFallbackWarn:!0,z=fN(M.fallbackRoot)?M.fallbackRoot:!0,u=!!M.formatFallbackMessages,a=LN(M.modifiers)?M.modifiers:{},r=M.pluralizationRules,g=lD(M.postTranslation)?M.postTranslation:void 0,T=MN(M.warnHtmlInMessage)?M.warnHtmlInMessage!=="off":!0,n=!!M.escapeParameterHtml,s=fN(M.sync)?M.sync:!0;let y=M.messages;if(LN(M.sharedMessages)){const k=M.sharedMessages;y=Object.keys(k).reduce((x,f)=>{const C=x[f]||(x[f]={});return gD(C,k[f]),x},y||{})}const{__i18n:o,__root:I,__injectWithOption:L}=M,O=M.datetimeFormats,w=M.numberFormats,A=M.flatJson;return{locale:D,fallbackLocale:N,messages:y,flatJson:A,datetimeFormats:O,numberFormats:w,missing:i,missingWarn:j,fallbackWarn:t,fallbackRoot:z,fallbackFormat:u,modifiers:a,pluralRules:r,postTranslation:g,warnHtmlMessage:T,escapeParameter:n,inheritLocale:s,__i18n:o,__root:I,__injectWithOption:L}}function bu(M={}){const D=Bu(Jl(M)),N={id:D.id,get locale(){return D.locale.value},set locale(i){D.locale.value=i},get fallbackLocale(){return D.fallbackLocale.value},set fallbackLocale(i){D.fallbackLocale.value=i},get messages(){return D.messages.value},get datetimeFormats(){return D.datetimeFormats.value},get numberFormats(){return D.numberFormats.value},get availableLocales(){return D.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return D.getMissingHandler()},set missing(i){D.setMissingHandler(i)},get silentTranslationWarn(){return fN(D.missingWarn)?!D.missingWarn:D.missingWarn},set silentTranslationWarn(i){D.missingWarn=fN(i)?!i:i},get silentFallbackWarn(){return fN(D.fallbackWarn)?!D.fallbackWarn:D.fallbackWarn},set silentFallbackWarn(i){D.fallbackWarn=fN(i)?!i:i},get modifiers(){return D.modifiers},get formatFallbackMessages(){return D.fallbackFormat},set formatFallbackMessages(i){D.fallbackFormat=i},get postTranslation(){return D.getPostTranslationHandler()},set postTranslation(i){D.setPostTranslationHandler(i)},get sync(){return D.inheritLocale},set sync(i){D.inheritLocale=i},get warnHtmlInMessage(){return D.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){D.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return D.escapeParameter},set escapeParameterHtml(i){D.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return D.pluralRules||{}},__composer:D,t(...i){const[j,t,z]=i,u={};let a=null,r=null;if(!MN(j))throw kD(15);const g=j;return MN(t)?u.locale=t:XN(t)?a=t:LN(t)&&(r=t),XN(z)?a=z:LN(z)&&(r=z),D.t(g,a||r||{},u)},rt(...i){return D.rt(...i)},tc(...i){const[j,t,z]=i,u={plural:1};let a=null,r=null;if(!MN(j))throw kD(15);const g=j;return MN(t)?u.locale=t:rD(t)?u.plural=t:XN(t)?a=t:LN(t)&&(r=t),MN(z)?u.locale=z:XN(z)?a=z:LN(z)&&(r=z),D.t(g,a||r||{},u)},te(i,j){return D.te(i,j)},tm(i){return D.tm(i)},getLocaleMessage(i){return D.getLocaleMessage(i)},setLocaleMessage(i,j){D.setLocaleMessage(i,j)},mergeLocaleMessage(i,j){D.mergeLocaleMessage(i,j)},d(...i){return D.d(...i)},getDateTimeFormat(i){return D.getDateTimeFormat(i)},setDateTimeFormat(i,j){D.setDateTimeFormat(i,j)},mergeDateTimeFormat(i,j){D.mergeDateTimeFormat(i,j)},n(...i){return D.n(...i)},getNumberFormat(i){return D.getNumberFormat(i)},setNumberFormat(i,j){D.setNumberFormat(i,j)},mergeNumberFormat(i,j){D.mergeNumberFormat(i,j)},getChoiceIndex(i,j){return-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:j}=M;j&&j(i,N)}};return N}const vu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:M=>M==="parent"||M==="global",default:"parent"},i18n:{type:Object}},tg={name:"i18n-t",props:gD({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:M=>rD(M)||!isNaN(M)}},vu),setup(M,D){const{slots:N,attrs:i}=D,j=M.i18n||Xj({useScope:M.scope,__useComponent:!0}),t=Object.keys(N).filter(z=>z!=="_");return()=>{const z={};M.locale&&(z.locale=M.locale),M.plural!==void 0&&(z.plural=MN(M.plural)?+M.plural:M.plural);const u=$l(D,t),a=j[Su](M.keypath,u,z),r=gD({},i);return MN(M.tag)||FD(M.tag)?e.h(M.tag,r,a):e.h(e.Fragment,r,a)}}};function $l({slots:M},D){return D.length===1&&D[0]==="default"?M.default?M.default():[]:D.reduce((N,i)=>{const j=M[i];return j&&(N[i]=j()),N},{})}function zg(M,D,N,i){const{slots:j,attrs:t}=D;return()=>{const z={part:!0};let u={};M.locale&&(z.locale=M.locale),MN(M.format)?z.key=M.format:FD(M.format)&&(MN(M.format.key)&&(z.key=M.format.key),u=Object.keys(M.format).reduce((T,n)=>N.includes(n)?gD({},T,{[n]:M.format[n]}):T,{}));const a=i(M.value,z,u);let r=[z.key];XN(a)?r=a.map((T,n)=>{const s=j[T.type];return s?s({[T.type]:T.value,index:n,parts:a}):[T.value]}):MN(a)&&(r=[a]);const g=gD({},t);return MN(M.tag)||FD(M.tag)?e.h(M.tag,g,r):e.h(e.Fragment,g,r)}}const Kl=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],ug={name:"i18n-n",props:gD({value:{type:Number,required:!0},format:{type:[String,Object]}},vu),setup(M,D){const N=M.i18n||Xj({useScope:"parent",__useComponent:!0});return zg(M,D,Kl,(...i)=>N[hu](...i))}},ql=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],ag={name:"i18n-d",props:gD({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},vu),setup(M,D){const N=M.i18n||Xj({useScope:"parent",__useComponent:!0});return zg(M,D,ql,(...i)=>N[pu](...i))}};function MI(M,D){const N=M;if(M.mode==="composition")return N.__getInstance(D)||M.global;{const i=N.__getInstance(D);return i!=null?i.__composer:M.global.__composer}}function NI(M){const D=(N,{instance:i,value:j,modifiers:t})=>{if(!i||!i.$)throw kD(22);const z=MI(M,i.$),u=DI(j);N.textContent=z.t(...eI(u))};return{beforeMount:D,beforeUpdate:D}}function DI(M){if(MN(M))return{path:M};if(LN(M)){if(!("path"in M))throw kD(19,"path");return M}else throw kD(20)}function eI(M){const{path:D,locale:N,args:i,choice:j,plural:t}=M,z={},u=i||{};return MN(N)&&(z.locale=N),rD(j)&&(z.plural=j),rD(t)&&(z.plural=t),[D,u,z]}function iI(M,D,...N){const i=LN(N[0])?N[0]:{},j=!!i.useI18nComponentName;(fN(i.globalInstall)?i.globalInstall:!0)&&(M.component(j?"i18n":tg.name,tg),M.component(ug.name,ug),M.component(ag.name,ag)),M.directive("t",NI(D))}function jI(M,D,N){return{beforeCreate(){const i=e.getCurrentInstance();if(!i)throw kD(22);const j=this.$options;if(j.i18n){const t=j.i18n;j.__i18n&&(t.__i18n=j.__i18n),t.__root=D,this===this.$root?this.$i18n=rg(M,t):(t.__injectWithOption=!0,this.$i18n=bu(t))}else j.__i18n?this===this.$root?this.$i18n=rg(M,j):this.$i18n=bu({__i18n:j.__i18n,__injectWithOption:!0,__root:D}):this.$i18n=M;M.__onComponentInstanceCreated(this.$i18n),N.__setInstance(i,this.$i18n),this.$t=(...t)=>this.$i18n.t(...t),this.$rt=(...t)=>this.$i18n.rt(...t),this.$tc=(...t)=>this.$i18n.tc(...t),this.$te=(t,z)=>this.$i18n.te(t,z),this.$d=(...t)=>this.$i18n.d(...t),this.$n=(...t)=>this.$i18n.n(...t),this.$tm=t=>this.$i18n.tm(t)},mounted(){},beforeUnmount(){const i=e.getCurrentInstance();if(!i)throw kD(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,N.__deleteInstance(i),delete this.$i18n}}}function rg(M,D){M.locale=D.locale||M.locale,M.fallbackLocale=D.fallbackLocale||M.fallbackLocale,M.missing=D.missing||M.missing,M.silentTranslationWarn=D.silentTranslationWarn||M.silentFallbackWarn,M.silentFallbackWarn=D.silentFallbackWarn||M.silentFallbackWarn,M.formatFallbackMessages=D.formatFallbackMessages||M.formatFallbackMessages,M.postTranslation=D.postTranslation||M.postTranslation,M.warnHtmlInMessage=D.warnHtmlInMessage||M.warnHtmlInMessage,M.escapeParameterHtml=D.escapeParameterHtml||M.escapeParameterHtml,M.sync=D.sync||M.sync,M.__composer[Dg](D.pluralizationRules||M.pluralizationRules);const N=mu(M.locale,{messages:D.messages,__i18n:D.__i18n});return Object.keys(N).forEach(i=>M.mergeLocaleMessage(i,N[i])),D.datetimeFormats&&Object.keys(D.datetimeFormats).forEach(i=>M.mergeDateTimeFormat(i,D.datetimeFormats[i])),D.numberFormats&&Object.keys(D.numberFormats).forEach(i=>M.mergeNumberFormat(i,D.numberFormats[i])),M}function tI(M={}){const D=__VUE_I18N_LEGACY_API__&&fN(M.legacy)?M.legacy:__VUE_I18N_LEGACY_API__,N=!!M.globalInjection,i=new Map,j=__VUE_I18N_LEGACY_API__&&D?bu(M):Bu(M),t=Je(""),z={get mode(){return __VUE_I18N_LEGACY_API__&&D?"legacy":"composition"},async install(u,...a){u.__VUE_I18N_SYMBOL__=t,u.provide(u.__VUE_I18N_SYMBOL__,z),!D&&N&&gI(u,z.global),__VUE_I18N_FULL_INSTALL__&&iI(u,z,...a),__VUE_I18N_LEGACY_API__&&D&&u.mixin(jI(j,j.__composer,z))},get global(){return j},__instances:i,__getInstance(u){return i.get(u)||null},__setInstance(u,a){i.set(u,a)},__deleteInstance(u){i.delete(u)}};return z}function Xj(M={}){const D=e.getCurrentInstance();if(D==null)throw kD(16);if(!D.appContext.app.__VUE_I18N_SYMBOL__)throw kD(17);const N=e.inject(D.appContext.app.__VUE_I18N_SYMBOL__);if(!N)throw kD(22);const i=N.mode==="composition"?N.global:N.global.__composer,j=Ht(M)?"__i18n"in D.type?"local":"global":M.useScope?M.useScope:"local";if(j==="global"){let u=FD(M.messages)?M.messages:{};"__i18nGlobal"in D.type&&(u=mu(i.locale.value,{messages:u,__i18n:D.type.__i18nGlobal}));const a=Object.keys(u);if(a.length&&a.forEach(r=>{i.mergeLocaleMessage(r,u[r])}),FD(M.datetimeFormats)){const r=Object.keys(M.datetimeFormats);r.length&&r.forEach(g=>{i.mergeDateTimeFormat(g,M.datetimeFormats[g])})}if(FD(M.numberFormats)){const r=Object.keys(M.numberFormats);r.length&&r.forEach(g=>{i.mergeNumberFormat(g,M.numberFormats[g])})}return i}if(j==="parent"){let u=zI(N,D,M.__useComponent);return u==null&&(u=i),u}if(N.mode==="legacy")throw kD(18);const t=N;let z=t.__getInstance(D);if(z==null){const u=D.type,a=gD({},M);u.__i18n&&(a.__i18n=u.__i18n),i&&(a.__root=i),z=Bu(a),uI(t,D),t.__setInstance(D,z)}return z}function zI(M,D,N=!1){let i=null;const j=D.root;let t=D.parent;for(;t!=null;){const z=M;if(M.mode==="composition")i=z.__getInstance(t);else{const u=z.__getInstance(t);u!=null&&(i=u.__composer),N&&i&&!i[eg]&&(i=null)}if(i!=null||j===t)break;t=t.parent}return i}function uI(M,D,N){e.onMounted(()=>{},D),e.onUnmounted(()=>{M.__deleteInstance(D)},D)}const aI=["locale","fallbackLocale","availableLocales"],rI=["t","rt","d","n","tm"];function gI(M,D){const N=Object.create(null);aI.forEach(i=>{const j=Object.getOwnPropertyDescriptor(D,i);if(!j)throw kD(22);const t=e.isRef(j.value)?{get(){return j.value.value},set(z){j.value.value=z}}:{get(){return j.get&&j.get()}};Object.defineProperty(N,i,t)}),M.config.globalProperties.$i18n=N,rI.forEach(i=>{const j=Object.getOwnPropertyDescriptor(D,i);if(!j||!j.value)throw kD(22);Object.defineProperty(M.config.globalProperties,`$${i}`,j)})}if(hl(_l),Zl(),__INTLIFY_PROD_DEVTOOLS__){const M=Wj();M.__INTLIFY__=!0,fl(M.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var TI={input:{placeholder:"\u8BF7\u8F93\u5165"},page:{previous:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875",goTo:"\u5230\u7B2C",confirm:"\u786E\u8BA4",page:"\u9875",item:"\u6761",total:"\u5171"},datePicker:{year:"\u5E74",month:"\u6708",sunday:"\u65E5",monday:"\u4E00",tuesday:"\u4E8C",wednesday:"\u4E09",thursday:"\u56DB",friday:"\u4E94",saturday:"\u516D",january:"1\u6708",february:"2\u6708",march:"3\u6708",april:"4\u6708",may:"5\u6708",june:"6\u6708",july:"7\u6708",august:"8\u6708",september:"9\u6708",october:"10\u6708",november:"11\u6708",december:"12\u6708",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",selectYear:"\u9009\u62E9\u5E74\u4EFD",selectMonth:"\u9009\u62E9\u6708\u4EFD",clear:"\u6E05\u7A7A",confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88",now:"\u73B0\u5728"},empty:{description:"\u65E0\u6570\u636E"},upload:{text:"\u4E0A\u4F20\u6587\u4EF6",dragText:"\u70B9\u51FB\u4E0A\u4F20\uFF0C\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64\u5904",defaultErrorMsg:"\u4E0A\u4F20\u5931\u8D25",urlErrorMsg:"\u4E0A\u4F20\u5730\u5740\u683C\u5F0F\u4E0D\u5408\u6CD5",numberErrorMsg:"\u6587\u4EF6\u4E0A\u4F20\u8D85\u8FC7\u89C4\u5B9A\u7684\u4E2A\u6570",cutInitErrorMsg:"\u526A\u88C1\u63D2\u4EF6\u521D\u59CB\u5316\u5931\u8D25",uploadSuccess:"\u4E0A\u4F20\u6210\u529F",cannotSupportCutMsg:"\u5F53\u524D\u7248\u672C\u6682\u4E0D\u652F\u6301\u5355\u6B21\u591A\u6587\u4EF6\u526A\u88C1,\u5C1D\u8BD5\u8BBE\u7F6E multiple \u4E3A false, \u901A\u8FC7 @done \u83B7\u53D6\u8FD4\u56DE\u6587\u4EF6\u5BF9\u8C61",occurFileSizeErrorMsg:"\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7\u9650\u5236,\u6587\u4EF6\u6700\u5927\u4E0D\u53EF\u8D85\u8FC7\u4F20\u5165\u7684\u6307\u5B9Asize\u5C5E\u6027\u7684KB\u6570",startUploadMsg:"\u5F00\u59CB\u4E0A\u4F20",confirmBtn:"\u786E\u8BA4",cancelBtn:"\u53D6\u6D88",title:"\u6807\u9898"}},nI={input:{placeholder:"please input"},page:{previous:"previous",next:"next",goTo:"Go to",confirm:"confirm",page:"page",item:"item",total:"total"},datePicker:{year:"",month:"month",sunday:"SU",monday:"MO",tuesday:"TU",wednesday:"WE",thursday:"TH",friday:"FR",saturday:"SA",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December",selectDate:"select date",selectTime:"select time",selectYear:"select year",selectMonth:"select month",clear:"clear",confirm:"confirm",cancel:"cancel",now:"now"},empty:{description:"No data"},upload:{text:"Upload files",dragText:"Click Upload or drag the file here",defaultErrorMsg:"Upload failed",urlErrorMsg:"The upload address format is illegal",numberErrorMsg:"The number of files uploaded exceeds the specified number",cutInitErrorMsg:"Clipping plug-in initialization failed",uploadSuccess:"Upload succeeded",cannotSupportCutMsg:"The current version does not support single multiple file clipping. Try to set multiple to false, and get the returned file object through @ done",occurFileSizeErrorMsg:"File size warning,The maximum file size cannot exceed target KB",startUploadMsg:"Upload Start",confirmBtn:"confirm",cancelBtn:"cancel",title:"title"}};const gg=tI({legacy:!1,locale:"zh_CN",messages:{zh_CN:TI,en_US:nI}});function De(){var N;let M;const D=(N=e.getCurrentInstance())==null?void 0:N.appContext.app;try{M=Xj()}catch{D==null||D.use(gg),M=Xj()}return M}const JM=M=>{const D=M;return D.install=N=>{N.component(D.name,M)},D},cI=M=>Boolean(M&&M.shapeFlag&1),sI=(M,D)=>Boolean(M&&M.shapeFlag&6),Fu=(M,D)=>Boolean(M&&M.shapeFlag&16);function yI(M,D){const N=LI(D),i=oI(D);return M.slots[N]?N:M.slots[i]?i:D}function LI(M){return M.replace(/-(\w)/g,(D,N)=>N?N.toUpperCase():"")}function oI(M){return M.replace(/([A-Z])/g," $1").trim().split(" ").join("-").toLowerCase()}var ID=[{name:"\u5B9E\u5FC3",class:"layui-icon-heart-fill"},{name:"\u7A7A\u5FC3",class:"layui-icon-heart"},{name:"\u4EAE\u5EA6/\u6674",class:"layui-icon-light"},{name:"\u65F6\u95F4/\u5386\u53F2",class:"layui-icon-time"},{name:"\u84DD\u7259",class:"layui-icon-bluetooth"},{name:"@\u827E\u7279",class:"layui-icon-at"},{name:"\u9759\u97F3",class:"layui-icon-mute"},{name:"\u5F55\u97F3/\u9EA6\u514B\u98CE",class:"layui-icon-mike"},{name:"\u5BC6\u94A5/\u94A5\u5319",class:"layui-icon-key"},{name:"\u793C\u7269/\u6D3B\u52A8",class:"layui-icon-gift"},{name:"\u90AE\u7BB1",class:"layui-icon-email"},{name:"RSS",class:"layui-icon-rss"},{name:"WiFi",class:"layui-icon-wifi"},{name:"\u9000\u51FA/\u6CE8\u9500",class:"layui-icon-logout"},{name:"Android \u5B89\u5353",class:"layui-icon-android"},{name:"Apple IOS \u82F9\u679C",class:"layui-icon-ios"},{name:"Windows",class:"layui-icon-windows"},{name:"\u7A7F\u68AD\u6846",class:"layui-icon-transfer"},{name:"\u5BA2\u670D",class:"layui-icon-service"},{name:"\u51CF",class:"layui-icon-subtraction"},{name:"\u52A0",class:"layui-icon-addition"},{name:"\u6ED1\u5757",class:"layui-icon-slider"},{name:"\u6253\u5370",class:"layui-icon-print"},{name:"\u5BFC\u51FA",class:"layui-icon-export"},{name:"\u5217",class:"layui-icon-cols"},{name:"\u9000\u51FA\u5168\u5C4F",class:"layui-icon-screen-restore"},{name:"\u5168\u5C4F",class:"layui-icon-screen-full"},{name:"\u534A\u661F",class:"layui-icon-rate-half"},{name:"\u661F\u661F-\u7A7A\u5FC3",class:"layui-icon-rate"},{name:"\u661F\u661F-\u5B9E\u5FC3",class:"layui-icon-rate-solid"},{name:"\u624B\u673A",class:"layui-icon-cellphone"},{name:"\u9A8C\u8BC1\u7801",class:"layui-icon-vercode"},{name:"\u5FAE\u4FE1",class:"layui-icon-login-wechat"},{name:"QQ",class:"layui-icon-login-qq"},{name:"\u5FAE\u535A",class:"layui-icon-login-weibo"},{name:"\u5BC6\u7801",class:"layui-icon-password"},{name:"\u7528\u6237\u540D",class:"layui-icon-username"},{name:"\u5237\u65B0-\u7C97",class:"layui-icon-refresh-three"},{name:"\u6388\u6743",class:"layui-icon-auz"},{name:"\u5DE6\u5411\u53F3\u4F38\u7F29\u83DC\u5355",class:"layui-icon-spread-left"},{name:"\u53F3\u5411\u5DE6\u4F38\u7F29\u83DC\u5355",class:"layui-icon-shrink-right"},{name:"\u96EA\u82B1",class:"layui-icon-snowflake"},{name:"\u63D0\u793A\u8BF4\u660E",class:"layui-icon-tips"},{name:"\u4FBF\u7B7E",class:"layui-icon-note"},{name:"\u4E3B\u9875",class:"layui-icon-home"},{name:"\u9AD8\u7EA7",class:"layui-icon-senior"},{name:"\u5237\u65B0",class:"layui-icon-refresh"},{name:"\u5237\u65B0",class:"layui-icon-refresh-one"},{name:"\u65D7\u5E1C",class:"layui-icon-flag"},{name:"\u4E3B\u9898",class:"layui-icon-theme"},{name:"\u6D88\u606F-\u901A\u77E5",class:"layui-icon-notice"},{name:"\u7F51\u7AD9",class:"layui-icon-website"},{name:"\u63A7\u5236\u53F0",class:"layui-icon-console"},{name:"\u8868\u60C5-\u60CA\u8BB6",class:"layui-icon-face-surprised"},{name:"\u8BBE\u7F6E-\u7A7A\u5FC3",class:"layui-icon-set"},{name:"\u6A21\u677F",class:"layui-icon-template-one"},{name:"\u5E94\u7528",class:"layui-icon-app"},{name:"\u6A21\u677F",class:"layui-icon-template"},{name:"\u8D5E",class:"layui-icon-praise"},{name:"\u8E29",class:"layui-icon-tread"},{name:"\u7537",class:"layui-icon-male"},{name:"\u5973",class:"layui-icon-female"},{name:"\u76F8\u673A-\u7A7A\u5FC3",class:"layui-icon-camera"},{name:"\u76F8\u673A-\u5B9E\u5FC3",class:"layui-icon-camera-fill"},{name:"\u83DC\u5355-\u6C34\u5E73",class:"layui-icon-more"},{name:"\u83DC\u5355-\u5782\u76F4",class:"layui-icon-more-vertical"},{name:"\u91D1\u989D-\u4EBA\u6C11\u5E01",class:"layui-icon-rmb"},{name:"\u91D1\u989D-\u7F8E\u5143",class:"layui-icon-dollar"},{name:"\u94BB\u77F3-\u7B49\u7EA7",class:"layui-icon-diamond"},{name:"\u706B",class:"layui-icon-fire"},{name:"\u8FD4\u56DE",class:"layui-icon-return"},{name:"\u4F4D\u7F6E-\u5730\u56FE",class:"layui-icon-location"},{name:"\u529E\u516C-\u9605\u8BFB",class:"layui-icon-read"},{name:"\u8C03\u67E5",class:"layui-icon-survey"},{name:"\u8868\u60C5-\u5FAE\u7B11",class:"layui-icon-face-smile"},{name:"\u8868\u60C5-\u54ED\u6CE3",class:"layui-icon-face-cry"},{name:"\u8D2D\u7269\u8F66",class:"layui-icon-cart-simple"},{name:"\u8D2D\u7269\u8F66",class:"layui-icon-cart"},{name:"\u4E0B\u4E00\u9875",class:"layui-icon-next"},{name:"\u4E0A\u4E00\u9875",class:"layui-icon-prev"},{name:"\u4E0A\u4F20-\u7A7A\u5FC3-\u62D6\u62FD",class:"layui-icon-upload-drag"},{name:"\u4E0A\u4F20-\u5B9E\u5FC3",class:"layui-icon-upload"},{name:"\u4E0B\u8F7D-\u5706\u5708",class:"layui-icon-download-circle"},{name:"\u7EC4\u4EF6",class:"layui-icon-component"},{name:"\u6587\u4EF6-\u7C97",class:"layui-icon-file-b"},{name:"\u7528\u6237",class:"layui-icon-user"},{name:"\u53D1\u73B0-\u5B9E\u5FC3",class:"layui-icon-find-fill"},{name:"loading",class:"layui-icon-loading"},{name:"loading",class:"layui-icon-loading-one"},{name:"\u6DFB\u52A0",class:"layui-icon-add-one"},{name:"\u64AD\u653E",class:"layui-icon-play"},{name:"\u6682\u505C",class:"layui-icon-pause"},{name:"\u97F3\u9891-\u8033\u673A",class:"layui-icon-headset"},{name:"\u89C6\u9891",class:"layui-icon-video"},{name:"\u8BED\u97F3-\u58F0\u97F3",class:"layui-icon-voice"},{name:"\u6D88\u606F-\u901A\u77E5-\u5587\u53ED",class:"layui-icon-speaker"},{name:"\u5220\u9664\u7EBF",class:"layui-icon-fonts-del"},{name:"\u4EE3\u7801",class:"layui-icon-fonts-code"},{name:"HTML",class:"layui-icon-fonts-html"},{name:"\u5B57\u4F53\u52A0\u7C97",class:"layui-icon-fonts-strong"},{name:"\u5220\u9664\u94FE\u63A5",class:"layui-icon-unlink"},{name:"\u56FE\u7247",class:"layui-icon-picture"},{name:"\u94FE\u63A5",class:"layui-icon-link"},{name:"\u8868\u60C5-\u7B11-\u7C97",class:"layui-icon-face-smile-b"},{name:"\u5DE6\u5BF9\u9F50",class:"layui-icon-align-left"},{name:"\u53F3\u5BF9\u9F50",class:"layui-icon-align-right"},{name:"\u5C45\u4E2D\u5BF9\u9F50",class:"layui-icon-align-center"},{name:"\u5B57\u4F53-\u4E0B\u5212\u7EBF",class:"layui-icon-fonts-u"},{name:"\u5B57\u4F53-\u659C\u4F53",class:"layui-icon-fonts-i"},{name:"Tabs \u9009\u9879\u5361",class:"layui-icon-tabs"},{name:"\u5355\u9009\u6846-\u9009\u4E2D",class:"layui-icon-radio"},{name:"\u5355\u9009\u6846-\u5019\u9009",class:"layui-icon-circle"},{name:"\u7F16\u8F91",class:"layui-icon-edit"},{name:"\u5206\u4EAB",class:"layui-icon-share"},{name:"\u5220\u9664",class:"layui-icon-delete"},{name:"\u8868\u5355",class:"layui-icon-form"},{name:"\u624B\u673A-\u7EC6\u4F53",class:"layui-icon-cellphone-fine"},{name:"\u804A\u5929 \u5BF9\u8BDD \u6C9F\u901A",class:"layui-icon-dialogue"},{name:"\u6587\u5B57\u683C\u5F0F\u5316",class:"layui-icon-fonts-clear"},{name:"\u7A97\u53E3",class:"layui-icon-layer"},{name:"\u65E5\u671F",class:"layui-icon-date"},{name:"\u6C34 \u4E0B\u96E8",class:"layui-icon-water"},{name:"\u4EE3\u7801-\u5706\u5708",class:"layui-icon-code-circle"},{name:"\u8F6E\u64AD\u7EC4\u56FE",class:"layui-icon-carousel"},{name:"\u7FFB\u9875",class:"layui-icon-prev-circle"},{name:"\u5E03\u5C40",class:"layui-icon-layouts"},{name:"\u5DE5\u5177",class:"layui-icon-util"},{name:"\u9009\u62E9\u6A21\u677F",class:"layui-icon-templeate-one"},{name:"\u4E0A\u4F20-\u5706\u5708",class:"layui-icon-upload-circle"},{name:"\u6811",class:"layui-icon-tree"},{name:"\u8868\u683C",class:"layui-icon-table"},{name:"\u56FE\u8868",class:"layui-icon-chart"},{name:"\u56FE\u6807 \u62A5\u8868 \u5C4F\u5E55",class:"layui-icon-chart-screen"},{name:"\u5F15\u64CE",class:"layui-icon-engine"},{name:"\u4E0B\u4E09\u89D2",class:"layui-icon-triangle-d"},{name:"\u53F3\u4E09\u89D2",class:"layui-icon-triangle-r"},{name:"\u6587\u4EF6",class:"layui-icon-file"},{name:"\u8BBE\u7F6E-\u5C0F\u578B",class:"layui-icon-set-sm"},{name:"\u51CF\u5C11-\u5706\u5708",class:"layui-icon-reduce-circle"},{name:"\u6DFB\u52A0-\u5706\u5708",class:"layui-icon-add-circle"},{name:"404",class:"layui-icon-not-found"},{name:"\u5173\u4E8E",class:"layui-icon-about"},{name:"\u7BAD\u5934 \u5411\u4E0A",class:"layui-icon-up"},{name:"\u7BAD\u5934 \u5411\u4E0B",class:"layui-icon-down"},{name:"\u7BAD\u5934 \u5411\u5DE6",class:"layui-icon-left"},{name:"\u7BAD\u5934 \u5411\u53F3",class:"layui-icon-right"},{name:"\u5706\u70B9",class:"layui-icon-circle-dot"},{name:"\u641C\u7D22",class:"layui-icon-search"},{name:"\u8BBE\u7F6E-\u5B9E\u5FC3",class:"layui-icon-set-fill"},{name:"\u7FA4\u7EC4",class:"layui-icon-group"},{name:"\u597D\u53CB",class:"layui-icon-friends"},{name:"\u56DE\u590D \u8BC4\u8BBA \u5B9E\u5FC3",class:"layui-icon-reply-fill"},{name:"\u83DC\u5355 \u9690\u8EAB \u5B9E\u5FC3",class:"layui-icon-menu-fill"},{name:"\u8BB0\u5F55",class:"layui-icon-log"},{name:"\u56FE\u7247-\u7EC6\u4F53",class:"layui-icon-picture-fine"},{name:"\u8868\u60C5-\u7B11-\u7EC6\u4F53",class:"layui-icon-face-smile-fine"},{name:"\u5217\u8868",class:"layui-icon-list"},{name:"\u53D1\u5E03 \u7EB8\u98DE\u673A",class:"layui-icon-release"},{name:"\u5BF9 OK",class:"layui-icon-ok"},{name:"\u5E2E\u52A9",class:"layui-icon-help"},{name:"\u5BA2\u670D",class:"layui-icon-chat"},{name:"top \u7F6E\u9876",class:"layui-icon-top"},{name:"\u6536\u85CF-\u7A7A\u5FC3",class:"layui-icon-star"},{name:"\u6536\u85CF-\u5B9E\u5FC3",class:"layui-icon-star-fill"},{name:"\u5173\u95ED-\u5B9E\u5FC3",class:"layui-icon-close-fill"},{name:"\u5173\u95ED-\u7A7A\u5FC3",class:"layui-icon-close"},{name:"\u6B63\u786E",class:"layui-icon-ok-circle"},{name:"\u6DFB\u52A0-\u5706\u5708-\u7EC6\u4F53",class:"layui-icon-add-circle-fine"},{name:"\u5E2E\u52A9",class:"layui-icon-help-circle"},{name:"\u611F\u53F9\u53F7",class:"layui-icon-tips-fill"},{name:"\u6D4B\u8BD5",class:"layui-icon-test"},{name:"\u6E05\u7A7A\u5220\u9664",class:"layui-icon-clear"},{name:"\u952E\u76D8",class:"layui-icon-keyboard"},{name:"\u9000\u683C",class:"layui-icon-backspace"},{name:"\u663E\u793A\u5BC6\u7801",class:"layui-icon-show"},{name:"\u9690\u85CF\u5BC6\u7801",class:"layui-icon-hide"},{name:"\u9519\u8BEF",class:"layui-icon-error"},{name:"\u6210\u529F",class:"layui-icon-success"},{name:"\u7591\u95EE",class:"layui-icon-question"},{name:"\u9501\u5B9A",class:"layui-icon-lock"},{name:"\u6708\u4EAE",class:"layui-icon-moon"},{name:"Github",class:"layui-icon-github"},{name:"\u7981\u7528",class:"layui-icon-disabled"},{name:"Gitee",class:"layui-icon-gitee"},{name:"\u95ED\u773C",class:"layui-icon-eye-invisible"},{name:"\u773C\u775B",class:"layui-icon-eye"}];function Tg(M,D){var N=Object.keys(M);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(M);D&&(i=i.filter(function(j){return Object.getOwnPropertyDescriptor(M,j).enumerable})),N.push.apply(N,i)}return N}function U(M){for(var D=1;D`.layui-backtop{position:fixed;right:30px;bottom:40px;width:50px;height:50px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:40px;background-color:#9f9f9f;color:#fff;border-radius:var(--global-border-radius);opacity:.95;z-index:999999}.layui-backtop :hover{opacity:.85}.layui-backtop-medium{width:40px;height:40px;font-size:30px}.layui-backtop-small{width:30px;height:30px;font-size:20px} + */const Hl="9.1.10";function Zl(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Wj().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Wj().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Wj().__INTLIFY_PROD_DEVTOOLS__=!1)}function kD(M,...D){return Jt(M,null,void 0)}const Uu="__INTLIFY_META__",Su=Je("__transrateVNode"),pu=Je("__datetimeParts"),hu=Je("__numberParts");Je("__enableEmitter"),Je("__disableEmitter");const Dg=Je("__setPluralRules");Je("__intlifyMeta");const eg=Je("__injectWithOption");let ig=0;function jg(M){return(D,N,i,j)=>M(N,i,e.getCurrentInstance()||void 0,j)}function mu(M,D){const{messages:N,__i18n:i}=D,j=LN(N)?N:XN(i)?{}:{[M]:{}};if(XN(i)&&i.forEach(({locale:t,resource:z})=>{t?(j[t]=j[t]||{},qt(z,j[t])):qt(z,j)}),D.flatJson)for(const t in j)hr(j,t)&&xu(j[t]);return j}const Kt=M=>!FD(M)||XN(M);function qt(M,D){if(Kt(M)||Kt(D))throw kD(20);for(const N in M)hr(M,N)&&(Kt(M[N])||Kt(D[N])?D[N]=M[N]:qt(M[N],D[N]))}const Xl=()=>{const M=e.getCurrentInstance();return M&&M.type[Uu]?{[Uu]:M.type[Uu]}:null};function Bu(M={}){const{__root:D}=M,N=D===void 0;let i=fN(M.inheritLocale)?M.inheritLocale:!0;const j=e.ref(D&&i?D.locale.value:MN(M.locale)?M.locale:"en-US"),t=e.ref(D&&i?D.fallbackLocale.value:MN(M.fallbackLocale)||XN(M.fallbackLocale)||LN(M.fallbackLocale)||M.fallbackLocale===!1?M.fallbackLocale:j.value),z=e.ref(mu(j.value,M)),u=e.ref(LN(M.datetimeFormats)?M.datetimeFormats:{[j.value]:{}}),a=e.ref(LN(M.numberFormats)?M.numberFormats:{[j.value]:{}});let r=D?D.missingWarn:fN(M.missingWarn)||zj(M.missingWarn)?M.missingWarn:!0,g=D?D.fallbackWarn:fN(M.fallbackWarn)||zj(M.fallbackWarn)?M.fallbackWarn:!0,T=D?D.fallbackRoot:fN(M.fallbackRoot)?M.fallbackRoot:!0,n=!!M.fallbackFormat,s=lD(M.missing)?M.missing:null,y=lD(M.missing)?jg(M.missing):null,o=lD(M.postTranslation)?M.postTranslation:null,I=fN(M.warnHtmlMessage)?M.warnHtmlMessage:!0,L=!!M.escapeParameter;const O=D?D.modifiers:LN(M.modifiers)?M.modifiers:{};let w=M.pluralRules||D&&D.pluralRules,A;function k(){return Bl({version:Hl,locale:j.value,fallbackLocale:t.value,messages:z.value,datetimeFormats:u.value,numberFormats:a.value,modifiers:O,pluralRules:w,missing:y===null?void 0:y,missingWarn:r,fallbackWarn:g,fallbackFormat:n,unresolving:!0,postTranslation:o===null?void 0:o,warnHtmlMessage:I,escapeParameter:L,__datetimeFormatters:LN(A)?A.__datetimeFormatters:void 0,__numberFormatters:LN(A)?A.__numberFormatters:void 0,__v_emitter:LN(A)?A.__v_emitter:void 0,__meta:{framework:"vue"}})}A=k(),Zj(A,j.value,t.value);function Q(){return[j.value,t.value,z.value,u.value,a.value]}const x=e.computed({get:()=>j.value,set:xM=>{j.value=xM,A.locale=j.value}}),f=e.computed({get:()=>t.value,set:xM=>{t.value=xM,A.fallbackLocale=t.value,Zj(A,j.value,xM)}}),C=e.computed(()=>z.value),W=e.computed(()=>u.value),MM=e.computed(()=>a.value);function NM(){return lD(o)?o:null}function jM(xM){o=xM,A.postTranslation=xM}function aM(){return s}function tM(xM){xM!==null&&(y=jg(xM)),s=xM,A.missing=y}function R(xM,EM,TN,mM,cD,QM){Q();let CM;if(__INTLIFY_PROD_DEVTOOLS__)try{Wr(Xl()),CM=xM(A)}finally{Wr(null)}else CM=xM(A);if(rD(CM)&&CM===$t){const[pM,PM]=EM();return D&&T?mM(D):cD(pM)}else{if(QM(CM))return CM;throw kD(14)}}function m(...xM){return R(EM=>Jr(EM,...xM),()=>fu(...xM),"translate",EM=>EM.t(...xM),EM=>EM,EM=>MN(EM))}function J(...xM){const[EM,TN,mM]=xM;if(mM&&!FD(mM))throw kD(15);return m(EM,TN,gD({resolvedMessage:!0},mM||{}))}function K(...xM){return R(EM=>Kr(EM,...xM),()=>du(...xM),"datetime format",EM=>EM.d(...xM),()=>Pr,EM=>MN(EM))}function rM(...xM){return R(EM=>Mg(EM,...xM),()=>Cu(...xM),"number format",EM=>EM.n(...xM),()=>Pr,EM=>MN(EM))}function IM(xM){return xM.map(EM=>MN(EM)?e.createVNode(e.Text,null,EM,0):EM)}const oM={normalize:IM,interpolate:xM=>xM,type:"vnode"};function bM(...xM){return R(EM=>{let TN;const mM=EM;try{mM.processor=oM,TN=Jr(mM,...xM)}finally{mM.processor=null}return TN},()=>fu(...xM),"translate",EM=>EM[Su](...xM),EM=>[e.createVNode(e.Text,null,EM,0)],EM=>XN(EM))}function eM(...xM){return R(EM=>Mg(EM,...xM),()=>Cu(...xM),"number format",EM=>EM[hu](...xM),()=>[],EM=>MN(EM)||XN(EM))}function uM(...xM){return R(EM=>Kr(EM,...xM),()=>du(...xM),"datetime format",EM=>EM[pu](...xM),()=>[],EM=>MN(EM)||XN(EM))}function d(xM){w=xM,A.pluralRules=w}function G(xM,EM){const TN=MN(EM)?EM:j.value,mM=p(TN);return Xt(mM,xM)!==null}function v(xM){let EM=null;const TN=Hj(A,t.value,j.value);for(let mM=0;mM{i&&(j.value=xM,A.locale=xM,Zj(A,j.value,t.value))}),e.watch(D.fallbackLocale,xM=>{i&&(t.value=xM,A.fallbackLocale=xM,Zj(A,j.value,t.value))})),{id:ig,locale:x,fallbackLocale:f,get inheritLocale(){return i},set inheritLocale(xM){i=xM,xM&&D&&(j.value=D.locale.value,t.value=D.fallbackLocale.value,Zj(A,j.value,t.value))},get availableLocales(){return Object.keys(z.value).sort()},messages:C,datetimeFormats:W,numberFormats:MM,get modifiers(){return O},get pluralRules(){return w||{}},get isGlobal(){return N},get missingWarn(){return r},set missingWarn(xM){r=xM,A.missingWarn=r},get fallbackWarn(){return g},set fallbackWarn(xM){g=xM,A.fallbackWarn=g},get fallbackRoot(){return T},set fallbackRoot(xM){T=xM},get fallbackFormat(){return n},set fallbackFormat(xM){n=xM,A.fallbackFormat=n},get warnHtmlMessage(){return I},set warnHtmlMessage(xM){I=xM,A.warnHtmlMessage=xM},get escapeParameter(){return L},set escapeParameter(xM){L=xM,A.escapeParameter=xM},t:m,rt:J,d:K,n:rM,te:G,tm:P,getLocaleMessage:p,setLocaleMessage:Z,mergeLocaleMessage:zM,getDateTimeFormat:TM,setDateTimeFormat:DM,mergeDateTimeFormat:AM,getNumberFormat:hM,setNumberFormat:KM,mergeNumberFormat:iN,getPostTranslationHandler:NM,setPostTranslationHandler:jM,getMissingHandler:aM,setMissingHandler:tM,[Su]:bM,[hu]:eM,[pu]:uM,[Dg]:d,[eg]:M.__injectWithOption}}function Jl(M){const D=MN(M.locale)?M.locale:"en-US",N=MN(M.fallbackLocale)||XN(M.fallbackLocale)||LN(M.fallbackLocale)||M.fallbackLocale===!1?M.fallbackLocale:D,i=lD(M.missing)?M.missing:void 0,j=fN(M.silentTranslationWarn)||zj(M.silentTranslationWarn)?!M.silentTranslationWarn:!0,t=fN(M.silentFallbackWarn)||zj(M.silentFallbackWarn)?!M.silentFallbackWarn:!0,z=fN(M.fallbackRoot)?M.fallbackRoot:!0,u=!!M.formatFallbackMessages,a=LN(M.modifiers)?M.modifiers:{},r=M.pluralizationRules,g=lD(M.postTranslation)?M.postTranslation:void 0,T=MN(M.warnHtmlInMessage)?M.warnHtmlInMessage!=="off":!0,n=!!M.escapeParameterHtml,s=fN(M.sync)?M.sync:!0;let y=M.messages;if(LN(M.sharedMessages)){const k=M.sharedMessages;y=Object.keys(k).reduce((x,f)=>{const C=x[f]||(x[f]={});return gD(C,k[f]),x},y||{})}const{__i18n:o,__root:I,__injectWithOption:L}=M,O=M.datetimeFormats,w=M.numberFormats,A=M.flatJson;return{locale:D,fallbackLocale:N,messages:y,flatJson:A,datetimeFormats:O,numberFormats:w,missing:i,missingWarn:j,fallbackWarn:t,fallbackRoot:z,fallbackFormat:u,modifiers:a,pluralRules:r,postTranslation:g,warnHtmlMessage:T,escapeParameter:n,inheritLocale:s,__i18n:o,__root:I,__injectWithOption:L}}function bu(M={}){const D=Bu(Jl(M)),N={id:D.id,get locale(){return D.locale.value},set locale(i){D.locale.value=i},get fallbackLocale(){return D.fallbackLocale.value},set fallbackLocale(i){D.fallbackLocale.value=i},get messages(){return D.messages.value},get datetimeFormats(){return D.datetimeFormats.value},get numberFormats(){return D.numberFormats.value},get availableLocales(){return D.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return D.getMissingHandler()},set missing(i){D.setMissingHandler(i)},get silentTranslationWarn(){return fN(D.missingWarn)?!D.missingWarn:D.missingWarn},set silentTranslationWarn(i){D.missingWarn=fN(i)?!i:i},get silentFallbackWarn(){return fN(D.fallbackWarn)?!D.fallbackWarn:D.fallbackWarn},set silentFallbackWarn(i){D.fallbackWarn=fN(i)?!i:i},get modifiers(){return D.modifiers},get formatFallbackMessages(){return D.fallbackFormat},set formatFallbackMessages(i){D.fallbackFormat=i},get postTranslation(){return D.getPostTranslationHandler()},set postTranslation(i){D.setPostTranslationHandler(i)},get sync(){return D.inheritLocale},set sync(i){D.inheritLocale=i},get warnHtmlInMessage(){return D.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){D.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return D.escapeParameter},set escapeParameterHtml(i){D.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return D.pluralRules||{}},__composer:D,t(...i){const[j,t,z]=i,u={};let a=null,r=null;if(!MN(j))throw kD(15);const g=j;return MN(t)?u.locale=t:XN(t)?a=t:LN(t)&&(r=t),XN(z)?a=z:LN(z)&&(r=z),D.t(g,a||r||{},u)},rt(...i){return D.rt(...i)},tc(...i){const[j,t,z]=i,u={plural:1};let a=null,r=null;if(!MN(j))throw kD(15);const g=j;return MN(t)?u.locale=t:rD(t)?u.plural=t:XN(t)?a=t:LN(t)&&(r=t),MN(z)?u.locale=z:XN(z)?a=z:LN(z)&&(r=z),D.t(g,a||r||{},u)},te(i,j){return D.te(i,j)},tm(i){return D.tm(i)},getLocaleMessage(i){return D.getLocaleMessage(i)},setLocaleMessage(i,j){D.setLocaleMessage(i,j)},mergeLocaleMessage(i,j){D.mergeLocaleMessage(i,j)},d(...i){return D.d(...i)},getDateTimeFormat(i){return D.getDateTimeFormat(i)},setDateTimeFormat(i,j){D.setDateTimeFormat(i,j)},mergeDateTimeFormat(i,j){D.mergeDateTimeFormat(i,j)},n(...i){return D.n(...i)},getNumberFormat(i){return D.getNumberFormat(i)},setNumberFormat(i,j){D.setNumberFormat(i,j)},mergeNumberFormat(i,j){D.mergeNumberFormat(i,j)},getChoiceIndex(i,j){return-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:j}=M;j&&j(i,N)}};return N}const vu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:M=>M==="parent"||M==="global",default:"parent"},i18n:{type:Object}},tg={name:"i18n-t",props:gD({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:M=>rD(M)||!isNaN(M)}},vu),setup(M,D){const{slots:N,attrs:i}=D,j=M.i18n||Xj({useScope:M.scope,__useComponent:!0}),t=Object.keys(N).filter(z=>z!=="_");return()=>{const z={};M.locale&&(z.locale=M.locale),M.plural!==void 0&&(z.plural=MN(M.plural)?+M.plural:M.plural);const u=$l(D,t),a=j[Su](M.keypath,u,z),r=gD({},i);return MN(M.tag)||FD(M.tag)?e.h(M.tag,r,a):e.h(e.Fragment,r,a)}}};function $l({slots:M},D){return D.length===1&&D[0]==="default"?M.default?M.default():[]:D.reduce((N,i)=>{const j=M[i];return j&&(N[i]=j()),N},{})}function zg(M,D,N,i){const{slots:j,attrs:t}=D;return()=>{const z={part:!0};let u={};M.locale&&(z.locale=M.locale),MN(M.format)?z.key=M.format:FD(M.format)&&(MN(M.format.key)&&(z.key=M.format.key),u=Object.keys(M.format).reduce((T,n)=>N.includes(n)?gD({},T,{[n]:M.format[n]}):T,{}));const a=i(M.value,z,u);let r=[z.key];XN(a)?r=a.map((T,n)=>{const s=j[T.type];return s?s({[T.type]:T.value,index:n,parts:a}):[T.value]}):MN(a)&&(r=[a]);const g=gD({},t);return MN(M.tag)||FD(M.tag)?e.h(M.tag,g,r):e.h(e.Fragment,g,r)}}const Kl=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],ug={name:"i18n-n",props:gD({value:{type:Number,required:!0},format:{type:[String,Object]}},vu),setup(M,D){const N=M.i18n||Xj({useScope:"parent",__useComponent:!0});return zg(M,D,Kl,(...i)=>N[hu](...i))}},ql=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],ag={name:"i18n-d",props:gD({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},vu),setup(M,D){const N=M.i18n||Xj({useScope:"parent",__useComponent:!0});return zg(M,D,ql,(...i)=>N[pu](...i))}};function MI(M,D){const N=M;if(M.mode==="composition")return N.__getInstance(D)||M.global;{const i=N.__getInstance(D);return i!=null?i.__composer:M.global.__composer}}function NI(M){const D=(N,{instance:i,value:j,modifiers:t})=>{if(!i||!i.$)throw kD(22);const z=MI(M,i.$),u=DI(j);N.textContent=z.t(...eI(u))};return{beforeMount:D,beforeUpdate:D}}function DI(M){if(MN(M))return{path:M};if(LN(M)){if(!("path"in M))throw kD(19,"path");return M}else throw kD(20)}function eI(M){const{path:D,locale:N,args:i,choice:j,plural:t}=M,z={},u=i||{};return MN(N)&&(z.locale=N),rD(j)&&(z.plural=j),rD(t)&&(z.plural=t),[D,u,z]}function iI(M,D,...N){const i=LN(N[0])?N[0]:{},j=!!i.useI18nComponentName;(fN(i.globalInstall)?i.globalInstall:!0)&&(M.component(j?"i18n":tg.name,tg),M.component(ug.name,ug),M.component(ag.name,ag)),M.directive("t",NI(D))}function jI(M,D,N){return{beforeCreate(){const i=e.getCurrentInstance();if(!i)throw kD(22);const j=this.$options;if(j.i18n){const t=j.i18n;j.__i18n&&(t.__i18n=j.__i18n),t.__root=D,this===this.$root?this.$i18n=rg(M,t):(t.__injectWithOption=!0,this.$i18n=bu(t))}else j.__i18n?this===this.$root?this.$i18n=rg(M,j):this.$i18n=bu({__i18n:j.__i18n,__injectWithOption:!0,__root:D}):this.$i18n=M;M.__onComponentInstanceCreated(this.$i18n),N.__setInstance(i,this.$i18n),this.$t=(...t)=>this.$i18n.t(...t),this.$rt=(...t)=>this.$i18n.rt(...t),this.$tc=(...t)=>this.$i18n.tc(...t),this.$te=(t,z)=>this.$i18n.te(t,z),this.$d=(...t)=>this.$i18n.d(...t),this.$n=(...t)=>this.$i18n.n(...t),this.$tm=t=>this.$i18n.tm(t)},mounted(){},beforeUnmount(){const i=e.getCurrentInstance();if(!i)throw kD(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,N.__deleteInstance(i),delete this.$i18n}}}function rg(M,D){M.locale=D.locale||M.locale,M.fallbackLocale=D.fallbackLocale||M.fallbackLocale,M.missing=D.missing||M.missing,M.silentTranslationWarn=D.silentTranslationWarn||M.silentFallbackWarn,M.silentFallbackWarn=D.silentFallbackWarn||M.silentFallbackWarn,M.formatFallbackMessages=D.formatFallbackMessages||M.formatFallbackMessages,M.postTranslation=D.postTranslation||M.postTranslation,M.warnHtmlInMessage=D.warnHtmlInMessage||M.warnHtmlInMessage,M.escapeParameterHtml=D.escapeParameterHtml||M.escapeParameterHtml,M.sync=D.sync||M.sync,M.__composer[Dg](D.pluralizationRules||M.pluralizationRules);const N=mu(M.locale,{messages:D.messages,__i18n:D.__i18n});return Object.keys(N).forEach(i=>M.mergeLocaleMessage(i,N[i])),D.datetimeFormats&&Object.keys(D.datetimeFormats).forEach(i=>M.mergeDateTimeFormat(i,D.datetimeFormats[i])),D.numberFormats&&Object.keys(D.numberFormats).forEach(i=>M.mergeNumberFormat(i,D.numberFormats[i])),M}function tI(M={}){const D=__VUE_I18N_LEGACY_API__&&fN(M.legacy)?M.legacy:__VUE_I18N_LEGACY_API__,N=!!M.globalInjection,i=new Map,j=__VUE_I18N_LEGACY_API__&&D?bu(M):Bu(M),t=Je(""),z={get mode(){return __VUE_I18N_LEGACY_API__&&D?"legacy":"composition"},async install(u,...a){u.__VUE_I18N_SYMBOL__=t,u.provide(u.__VUE_I18N_SYMBOL__,z),!D&&N&&gI(u,z.global),__VUE_I18N_FULL_INSTALL__&&iI(u,z,...a),__VUE_I18N_LEGACY_API__&&D&&u.mixin(jI(j,j.__composer,z))},get global(){return j},__instances:i,__getInstance(u){return i.get(u)||null},__setInstance(u,a){i.set(u,a)},__deleteInstance(u){i.delete(u)}};return z}function Xj(M={}){const D=e.getCurrentInstance();if(D==null)throw kD(16);if(!D.appContext.app.__VUE_I18N_SYMBOL__)throw kD(17);const N=e.inject(D.appContext.app.__VUE_I18N_SYMBOL__);if(!N)throw kD(22);const i=N.mode==="composition"?N.global:N.global.__composer,j=Ht(M)?"__i18n"in D.type?"local":"global":M.useScope?M.useScope:"local";if(j==="global"){let u=FD(M.messages)?M.messages:{};"__i18nGlobal"in D.type&&(u=mu(i.locale.value,{messages:u,__i18n:D.type.__i18nGlobal}));const a=Object.keys(u);if(a.length&&a.forEach(r=>{i.mergeLocaleMessage(r,u[r])}),FD(M.datetimeFormats)){const r=Object.keys(M.datetimeFormats);r.length&&r.forEach(g=>{i.mergeDateTimeFormat(g,M.datetimeFormats[g])})}if(FD(M.numberFormats)){const r=Object.keys(M.numberFormats);r.length&&r.forEach(g=>{i.mergeNumberFormat(g,M.numberFormats[g])})}return i}if(j==="parent"){let u=zI(N,D,M.__useComponent);return u==null&&(u=i),u}if(N.mode==="legacy")throw kD(18);const t=N;let z=t.__getInstance(D);if(z==null){const u=D.type,a=gD({},M);u.__i18n&&(a.__i18n=u.__i18n),i&&(a.__root=i),z=Bu(a),uI(t,D),t.__setInstance(D,z)}return z}function zI(M,D,N=!1){let i=null;const j=D.root;let t=D.parent;for(;t!=null;){const z=M;if(M.mode==="composition")i=z.__getInstance(t);else{const u=z.__getInstance(t);u!=null&&(i=u.__composer),N&&i&&!i[eg]&&(i=null)}if(i!=null||j===t)break;t=t.parent}return i}function uI(M,D,N){e.onMounted(()=>{},D),e.onUnmounted(()=>{M.__deleteInstance(D)},D)}const aI=["locale","fallbackLocale","availableLocales"],rI=["t","rt","d","n","tm"];function gI(M,D){const N=Object.create(null);aI.forEach(i=>{const j=Object.getOwnPropertyDescriptor(D,i);if(!j)throw kD(22);const t=e.isRef(j.value)?{get(){return j.value.value},set(z){j.value.value=z}}:{get(){return j.get&&j.get()}};Object.defineProperty(N,i,t)}),M.config.globalProperties.$i18n=N,rI.forEach(i=>{const j=Object.getOwnPropertyDescriptor(D,i);if(!j||!j.value)throw kD(22);Object.defineProperty(M.config.globalProperties,`$${i}`,j)})}if(hl(_l),Zl(),__INTLIFY_PROD_DEVTOOLS__){const M=Wj();M.__INTLIFY__=!0,fl(M.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var TI={input:{placeholder:"\u8BF7\u8F93\u5165"},page:{previous:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875",goTo:"\u5230\u7B2C",confirm:"\u786E\u8BA4",page:"\u9875",item:"\u6761",total:"\u5171"},datePicker:{year:"\u5E74",month:"\u6708",sunday:"\u65E5",monday:"\u4E00",tuesday:"\u4E8C",wednesday:"\u4E09",thursday:"\u56DB",friday:"\u4E94",saturday:"\u516D",january:"1\u6708",february:"2\u6708",march:"3\u6708",april:"4\u6708",may:"5\u6708",june:"6\u6708",july:"7\u6708",august:"8\u6708",september:"9\u6708",october:"10\u6708",november:"11\u6708",december:"12\u6708",selectDate:"\u9009\u62E9\u65E5\u671F",selectTime:"\u9009\u62E9\u65F6\u95F4",selectYear:"\u9009\u62E9\u5E74\u4EFD",selectMonth:"\u9009\u62E9\u6708\u4EFD",clear:"\u6E05\u7A7A",confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88",now:"\u73B0\u5728"},empty:{description:"\u65E0\u6570\u636E"},upload:{text:"\u4E0A\u4F20\u6587\u4EF6",dragText:"\u70B9\u51FB\u4E0A\u4F20\uFF0C\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64\u5904",defaultErrorMsg:"\u4E0A\u4F20\u5931\u8D25",urlErrorMsg:"\u4E0A\u4F20\u5730\u5740\u683C\u5F0F\u4E0D\u5408\u6CD5",numberErrorMsg:"\u6587\u4EF6\u4E0A\u4F20\u8D85\u8FC7\u89C4\u5B9A\u7684\u4E2A\u6570",cutInitErrorMsg:"\u526A\u88C1\u63D2\u4EF6\u521D\u59CB\u5316\u5931\u8D25",uploadSuccess:"\u4E0A\u4F20\u6210\u529F",cannotSupportCutMsg:"\u5F53\u524D\u7248\u672C\u6682\u4E0D\u652F\u6301\u5355\u6B21\u591A\u6587\u4EF6\u526A\u88C1,\u5C1D\u8BD5\u8BBE\u7F6E multiple \u4E3A false, \u901A\u8FC7 @done \u83B7\u53D6\u8FD4\u56DE\u6587\u4EF6\u5BF9\u8C61",occurFileSizeErrorMsg:"\u6587\u4EF6\u5927\u5C0F\u8D85\u8FC7\u9650\u5236,\u6587\u4EF6\u6700\u5927\u4E0D\u53EF\u8D85\u8FC7\u4F20\u5165\u7684\u6307\u5B9Asize\u5C5E\u6027\u7684KB\u6570",startUploadMsg:"\u5F00\u59CB\u4E0A\u4F20",confirmBtn:"\u786E\u8BA4",cancelBtn:"\u53D6\u6D88",title:"\u6807\u9898"}},nI={input:{placeholder:"please input"},page:{previous:"previous",next:"next",goTo:"Go to",confirm:"confirm",page:"page",item:"item",total:"total"},datePicker:{year:"",month:"month",sunday:"SU",monday:"MO",tuesday:"TU",wednesday:"WE",thursday:"TH",friday:"FR",saturday:"SA",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December",selectDate:"select date",selectTime:"select time",selectYear:"select year",selectMonth:"select month",clear:"clear",confirm:"confirm",cancel:"cancel",now:"now"},empty:{description:"No data"},upload:{text:"Upload files",dragText:"Click Upload or drag the file here",defaultErrorMsg:"Upload failed",urlErrorMsg:"The upload address format is illegal",numberErrorMsg:"The number of files uploaded exceeds the specified number",cutInitErrorMsg:"Clipping plug-in initialization failed",uploadSuccess:"Upload succeeded",cannotSupportCutMsg:"The current version does not support single multiple file clipping. Try to set multiple to false, and get the returned file object through @ done",occurFileSizeErrorMsg:"File size warning,The maximum file size cannot exceed target KB",startUploadMsg:"Upload Start",confirmBtn:"confirm",cancelBtn:"cancel",title:"title"}};const gg=tI({legacy:!1,locale:"zh_CN",messages:{zh_CN:TI,en_US:nI}});function De(){var N;let M;const D=(N=e.getCurrentInstance())==null?void 0:N.appContext.app;try{M=Xj()}catch{D==null||D.use(gg),M=Xj()}return M}const JM=M=>{const D=M;return D.install=N=>{N.component(D.name,M)},D},cI=M=>Boolean(M&&M.shapeFlag&1),sI=(M,D)=>Boolean(M&&M.shapeFlag&6),Fu=(M,D)=>Boolean(M&&M.shapeFlag&16);function yI(M,D){const N=LI(D),i=oI(D);return M.slots[N]?N:M.slots[i]?i:D}function LI(M){return M.replace(/-(\w)/g,(D,N)=>N?N.toUpperCase():"")}function oI(M){return M.replace(/([A-Z])/g," $1").trim().split(" ").join("-").toLowerCase()}var ID=[{name:"\u5B9E\u5FC3",class:"layui-icon-heart-fill"},{name:"\u7A7A\u5FC3",class:"layui-icon-heart"},{name:"\u4EAE\u5EA6/\u6674",class:"layui-icon-light"},{name:"\u65F6\u95F4/\u5386\u53F2",class:"layui-icon-time"},{name:"\u84DD\u7259",class:"layui-icon-bluetooth"},{name:"@\u827E\u7279",class:"layui-icon-at"},{name:"\u9759\u97F3",class:"layui-icon-mute"},{name:"\u5F55\u97F3/\u9EA6\u514B\u98CE",class:"layui-icon-mike"},{name:"\u5BC6\u94A5/\u94A5\u5319",class:"layui-icon-key"},{name:"\u793C\u7269/\u6D3B\u52A8",class:"layui-icon-gift"},{name:"\u90AE\u7BB1",class:"layui-icon-email"},{name:"RSS",class:"layui-icon-rss"},{name:"WiFi",class:"layui-icon-wifi"},{name:"\u9000\u51FA/\u6CE8\u9500",class:"layui-icon-logout"},{name:"Android \u5B89\u5353",class:"layui-icon-android"},{name:"Apple IOS \u82F9\u679C",class:"layui-icon-ios"},{name:"Windows",class:"layui-icon-windows"},{name:"\u7A7F\u68AD\u6846",class:"layui-icon-transfer"},{name:"\u5BA2\u670D",class:"layui-icon-service"},{name:"\u51CF",class:"layui-icon-subtraction"},{name:"\u52A0",class:"layui-icon-addition"},{name:"\u6ED1\u5757",class:"layui-icon-slider"},{name:"\u6253\u5370",class:"layui-icon-print"},{name:"\u5BFC\u51FA",class:"layui-icon-export"},{name:"\u5217",class:"layui-icon-cols"},{name:"\u9000\u51FA\u5168\u5C4F",class:"layui-icon-screen-restore"},{name:"\u5168\u5C4F",class:"layui-icon-screen-full"},{name:"\u534A\u661F",class:"layui-icon-rate-half"},{name:"\u661F\u661F-\u7A7A\u5FC3",class:"layui-icon-rate"},{name:"\u661F\u661F-\u5B9E\u5FC3",class:"layui-icon-rate-solid"},{name:"\u624B\u673A",class:"layui-icon-cellphone"},{name:"\u9A8C\u8BC1\u7801",class:"layui-icon-vercode"},{name:"\u5FAE\u4FE1",class:"layui-icon-login-wechat"},{name:"QQ",class:"layui-icon-login-qq"},{name:"\u5FAE\u535A",class:"layui-icon-login-weibo"},{name:"\u5BC6\u7801",class:"layui-icon-password"},{name:"\u7528\u6237\u540D",class:"layui-icon-username"},{name:"\u5237\u65B0-\u7C97",class:"layui-icon-refresh-three"},{name:"\u6388\u6743",class:"layui-icon-auz"},{name:"\u5DE6\u5411\u53F3\u4F38\u7F29\u83DC\u5355",class:"layui-icon-spread-left"},{name:"\u53F3\u5411\u5DE6\u4F38\u7F29\u83DC\u5355",class:"layui-icon-shrink-right"},{name:"\u96EA\u82B1",class:"layui-icon-snowflake"},{name:"\u63D0\u793A\u8BF4\u660E",class:"layui-icon-tips"},{name:"\u4FBF\u7B7E",class:"layui-icon-note"},{name:"\u4E3B\u9875",class:"layui-icon-home"},{name:"\u9AD8\u7EA7",class:"layui-icon-senior"},{name:"\u5237\u65B0",class:"layui-icon-refresh"},{name:"\u5237\u65B0",class:"layui-icon-refresh-one"},{name:"\u65D7\u5E1C",class:"layui-icon-flag"},{name:"\u4E3B\u9898",class:"layui-icon-theme"},{name:"\u6D88\u606F-\u901A\u77E5",class:"layui-icon-notice"},{name:"\u7F51\u7AD9",class:"layui-icon-website"},{name:"\u63A7\u5236\u53F0",class:"layui-icon-console"},{name:"\u8868\u60C5-\u60CA\u8BB6",class:"layui-icon-face-surprised"},{name:"\u8BBE\u7F6E-\u7A7A\u5FC3",class:"layui-icon-set"},{name:"\u6A21\u677F",class:"layui-icon-template-one"},{name:"\u5E94\u7528",class:"layui-icon-app"},{name:"\u6A21\u677F",class:"layui-icon-template"},{name:"\u8D5E",class:"layui-icon-praise"},{name:"\u8E29",class:"layui-icon-tread"},{name:"\u7537",class:"layui-icon-male"},{name:"\u5973",class:"layui-icon-female"},{name:"\u76F8\u673A-\u7A7A\u5FC3",class:"layui-icon-camera"},{name:"\u76F8\u673A-\u5B9E\u5FC3",class:"layui-icon-camera-fill"},{name:"\u83DC\u5355-\u6C34\u5E73",class:"layui-icon-more"},{name:"\u83DC\u5355-\u5782\u76F4",class:"layui-icon-more-vertical"},{name:"\u91D1\u989D-\u4EBA\u6C11\u5E01",class:"layui-icon-rmb"},{name:"\u91D1\u989D-\u7F8E\u5143",class:"layui-icon-dollar"},{name:"\u94BB\u77F3-\u7B49\u7EA7",class:"layui-icon-diamond"},{name:"\u706B",class:"layui-icon-fire"},{name:"\u8FD4\u56DE",class:"layui-icon-return"},{name:"\u4F4D\u7F6E-\u5730\u56FE",class:"layui-icon-location"},{name:"\u529E\u516C-\u9605\u8BFB",class:"layui-icon-read"},{name:"\u8C03\u67E5",class:"layui-icon-survey"},{name:"\u8868\u60C5-\u5FAE\u7B11",class:"layui-icon-face-smile"},{name:"\u8868\u60C5-\u54ED\u6CE3",class:"layui-icon-face-cry"},{name:"\u8D2D\u7269\u8F66",class:"layui-icon-cart-simple"},{name:"\u8D2D\u7269\u8F66",class:"layui-icon-cart"},{name:"\u4E0B\u4E00\u9875",class:"layui-icon-next"},{name:"\u4E0A\u4E00\u9875",class:"layui-icon-prev"},{name:"\u4E0A\u4F20-\u7A7A\u5FC3-\u62D6\u62FD",class:"layui-icon-upload-drag"},{name:"\u4E0A\u4F20-\u5B9E\u5FC3",class:"layui-icon-upload"},{name:"\u4E0B\u8F7D-\u5706\u5708",class:"layui-icon-download-circle"},{name:"\u7EC4\u4EF6",class:"layui-icon-component"},{name:"\u6587\u4EF6-\u7C97",class:"layui-icon-file-b"},{name:"\u7528\u6237",class:"layui-icon-user"},{name:"\u53D1\u73B0-\u5B9E\u5FC3",class:"layui-icon-find-fill"},{name:"loading",class:"layui-icon-loading"},{name:"loading",class:"layui-icon-loading-one"},{name:"\u6DFB\u52A0",class:"layui-icon-add-one"},{name:"\u64AD\u653E",class:"layui-icon-play"},{name:"\u6682\u505C",class:"layui-icon-pause"},{name:"\u97F3\u9891-\u8033\u673A",class:"layui-icon-headset"},{name:"\u89C6\u9891",class:"layui-icon-video"},{name:"\u8BED\u97F3-\u58F0\u97F3",class:"layui-icon-voice"},{name:"\u6D88\u606F-\u901A\u77E5-\u5587\u53ED",class:"layui-icon-speaker"},{name:"\u5220\u9664\u7EBF",class:"layui-icon-fonts-del"},{name:"\u4EE3\u7801",class:"layui-icon-fonts-code"},{name:"HTML",class:"layui-icon-fonts-html"},{name:"\u5B57\u4F53\u52A0\u7C97",class:"layui-icon-fonts-strong"},{name:"\u5220\u9664\u94FE\u63A5",class:"layui-icon-unlink"},{name:"\u56FE\u7247",class:"layui-icon-picture"},{name:"\u94FE\u63A5",class:"layui-icon-link"},{name:"\u8868\u60C5-\u7B11-\u7C97",class:"layui-icon-face-smile-b"},{name:"\u5DE6\u5BF9\u9F50",class:"layui-icon-align-left"},{name:"\u53F3\u5BF9\u9F50",class:"layui-icon-align-right"},{name:"\u5C45\u4E2D\u5BF9\u9F50",class:"layui-icon-align-center"},{name:"\u5B57\u4F53-\u4E0B\u5212\u7EBF",class:"layui-icon-fonts-u"},{name:"\u5B57\u4F53-\u659C\u4F53",class:"layui-icon-fonts-i"},{name:"Tabs \u9009\u9879\u5361",class:"layui-icon-tabs"},{name:"\u5355\u9009\u6846-\u9009\u4E2D",class:"layui-icon-radio"},{name:"\u5355\u9009\u6846-\u5019\u9009",class:"layui-icon-circle"},{name:"\u7F16\u8F91",class:"layui-icon-edit"},{name:"\u5206\u4EAB",class:"layui-icon-share"},{name:"\u5220\u9664",class:"layui-icon-delete"},{name:"\u8868\u5355",class:"layui-icon-form"},{name:"\u624B\u673A-\u7EC6\u4F53",class:"layui-icon-cellphone-fine"},{name:"\u804A\u5929 \u5BF9\u8BDD \u6C9F\u901A",class:"layui-icon-dialogue"},{name:"\u6587\u5B57\u683C\u5F0F\u5316",class:"layui-icon-fonts-clear"},{name:"\u7A97\u53E3",class:"layui-icon-layer"},{name:"\u65E5\u671F",class:"layui-icon-date"},{name:"\u6C34 \u4E0B\u96E8",class:"layui-icon-water"},{name:"\u4EE3\u7801-\u5706\u5708",class:"layui-icon-code-circle"},{name:"\u8F6E\u64AD\u7EC4\u56FE",class:"layui-icon-carousel"},{name:"\u7FFB\u9875",class:"layui-icon-prev-circle"},{name:"\u5E03\u5C40",class:"layui-icon-layouts"},{name:"\u5DE5\u5177",class:"layui-icon-util"},{name:"\u9009\u62E9\u6A21\u677F",class:"layui-icon-templeate-one"},{name:"\u4E0A\u4F20-\u5706\u5708",class:"layui-icon-upload-circle"},{name:"\u6811",class:"layui-icon-tree"},{name:"\u8868\u683C",class:"layui-icon-table"},{name:"\u56FE\u8868",class:"layui-icon-chart"},{name:"\u56FE\u6807 \u62A5\u8868 \u5C4F\u5E55",class:"layui-icon-chart-screen"},{name:"\u5F15\u64CE",class:"layui-icon-engine"},{name:"\u4E0B\u4E09\u89D2",class:"layui-icon-triangle-d"},{name:"\u53F3\u4E09\u89D2",class:"layui-icon-triangle-r"},{name:"\u6587\u4EF6",class:"layui-icon-file"},{name:"\u8BBE\u7F6E-\u5C0F\u578B",class:"layui-icon-set-sm"},{name:"\u51CF\u5C11-\u5706\u5708",class:"layui-icon-reduce-circle"},{name:"\u6DFB\u52A0-\u5706\u5708",class:"layui-icon-add-circle"},{name:"404",class:"layui-icon-not-found"},{name:"\u5173\u4E8E",class:"layui-icon-about"},{name:"\u7BAD\u5934 \u5411\u4E0A",class:"layui-icon-up"},{name:"\u7BAD\u5934 \u5411\u4E0B",class:"layui-icon-down"},{name:"\u7BAD\u5934 \u5411\u5DE6",class:"layui-icon-left"},{name:"\u7BAD\u5934 \u5411\u53F3",class:"layui-icon-right"},{name:"\u5706\u70B9",class:"layui-icon-circle-dot"},{name:"\u641C\u7D22",class:"layui-icon-search"},{name:"\u8BBE\u7F6E-\u5B9E\u5FC3",class:"layui-icon-set-fill"},{name:"\u7FA4\u7EC4",class:"layui-icon-group"},{name:"\u597D\u53CB",class:"layui-icon-friends"},{name:"\u56DE\u590D \u8BC4\u8BBA \u5B9E\u5FC3",class:"layui-icon-reply-fill"},{name:"\u83DC\u5355 \u9690\u8EAB \u5B9E\u5FC3",class:"layui-icon-menu-fill"},{name:"\u8BB0\u5F55",class:"layui-icon-log"},{name:"\u56FE\u7247-\u7EC6\u4F53",class:"layui-icon-picture-fine"},{name:"\u8868\u60C5-\u7B11-\u7EC6\u4F53",class:"layui-icon-face-smile-fine"},{name:"\u5217\u8868",class:"layui-icon-list"},{name:"\u53D1\u5E03 \u7EB8\u98DE\u673A",class:"layui-icon-release"},{name:"\u5BF9 OK",class:"layui-icon-ok"},{name:"\u5E2E\u52A9",class:"layui-icon-help"},{name:"\u5BA2\u670D",class:"layui-icon-chat"},{name:"top \u7F6E\u9876",class:"layui-icon-top"},{name:"\u6536\u85CF-\u7A7A\u5FC3",class:"layui-icon-star"},{name:"\u6536\u85CF-\u5B9E\u5FC3",class:"layui-icon-star-fill"},{name:"\u5173\u95ED-\u5B9E\u5FC3",class:"layui-icon-close-fill"},{name:"\u5173\u95ED-\u7A7A\u5FC3",class:"layui-icon-close"},{name:"\u6B63\u786E",class:"layui-icon-ok-circle"},{name:"\u6DFB\u52A0-\u5706\u5708-\u7EC6\u4F53",class:"layui-icon-add-circle-fine"},{name:"\u5E2E\u52A9",class:"layui-icon-help-circle"},{name:"\u611F\u53F9\u53F7",class:"layui-icon-tips-fill"},{name:"\u6D4B\u8BD5",class:"layui-icon-test"},{name:"\u6E05\u7A7A\u5220\u9664",class:"layui-icon-clear"},{name:"\u952E\u76D8",class:"layui-icon-keyboard"},{name:"\u9000\u683C",class:"layui-icon-backspace"},{name:"\u663E\u793A\u5BC6\u7801",class:"layui-icon-show"},{name:"\u9690\u85CF\u5BC6\u7801",class:"layui-icon-hide"},{name:"\u9519\u8BEF",class:"layui-icon-error"},{name:"\u6210\u529F",class:"layui-icon-success"},{name:"\u7591\u95EE",class:"layui-icon-question"},{name:"\u9501\u5B9A",class:"layui-icon-lock"},{name:"\u6708\u4EAE",class:"layui-icon-moon"},{name:"Github",class:"layui-icon-github"},{name:"\u7981\u7528",class:"layui-icon-disabled"},{name:"Gitee",class:"layui-icon-gitee"},{name:"\u95ED\u773C",class:"layui-icon-eye-invisible"},{name:"\u773C\u775B",class:"layui-icon-eye"}];function Tg(M,D){var N=Object.keys(M);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(M);D&&(i=i.filter(function(j){return Object.getOwnPropertyDescriptor(M,j).enumerable})),N.push.apply(N,i)}return N}function U(M){for(var D=1;D`.layui-backtop{position:fixed;right:30px;bottom:40px;width:50px;height:50px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:40px;background-color:#9f9f9f;color:#fff;border-radius:var(--global-border-radius);opacity:.95;z-index:999999}.layui-backtop :hover{opacity:.85}.layui-backtop-medium{width:40px;height:40px;font-size:30px}.layui-backtop-small{width:30px;height:30px;font-size:20px} `)();const Ww=["onClick"],Vw={name:"LayBacktop"},Hw=e.defineComponent({...Vw,props:{target:{default:"window"},showHeight:{default:200},disabled:{type:Boolean,default:!1},position:null,right:null,bottom:null,size:null,bgcolor:null,opacity:null,color:null,borderRadius:null,circle:{type:Boolean,default:!1},icon:{default:"layui-icon-top"},iconSize:{default:30},iconColor:null},emits:["click"],setup(M,{emit:D}){const N=M,i=e.ref(null),j=e.shallowRef(void 0);let t=e.ref(N.showHeight===0);const z=e.computed(()=>({"layui-backtop-medium":N.size==="medium","layui-backtop-small":N.size==="small"})),u=e.computed(()=>N.circle?"50%":typeof N.borderRadius=="number"?`${N.borderRadius}px`:N.borderRadius),a=e.computed(()=>({position:N.position,right:`${N.right}px`,bottom:`${N.bottom}px`,backgroundColor:N.bgcolor,opacity:N.opacity,color:N.color,borderRadius:u.value})),r=w=>w<.5?2*w*w:1-2*(w-1)*(w-1),g=()=>{if(!!j.value)if(j.value instanceof Window)window.scrollTo({top:0,left:0,behavior:"smooth"});else{const w=Date.now(),A=j.value.scrollTop,k=()=>{if(!j.value||j.value instanceof Window)return;const Q=(Date.now()-w)/450;Q<1?(j.value.scrollTop=A*(1-r(Q)),window.requestAnimationFrame(k)):j.value.scrollTop=0};window.requestAnimationFrame(k)}},T=()=>{if(!j.value)return;const w=j.value instanceof Window?window.pageYOffset:j.value.scrollTop;t.value=w>=N.showHeight},n=w=>{N.disabled||g(),D("click",w)},s=()=>{i.value.style.opacity="1"},y=()=>{i.value.style.opacity="0.95"},o=()=>{if(N.target==="window")return I(i.value,!1);{const w=document.querySelector(N.target);if(!w)throw new Error(`target is not existed: ${N.target}`);if(N.position==="absolute"){if(!w.parentElement)throw new Error(`target parent element is not existed: ${N.target}`);w.parentElement.style.position="relative"}return w}},I=(w,A)=>{let k=getComputedStyle(w),Q=k.position==="absolute",x=A?/(auto|scroll|hidden)/:/(auto|scroll)/;for(let f=w;f=f.parentElement;)if(k=getComputedStyle(f),!(Q&&k.position==="static")&&x.test(k.overflow+k.overflowY+k.overflowX))return f;return window},O=((w,A)=>{var k=null;return(...Q)=>{k||(k=setTimeout(()=>{k=null,w.apply(this,Q)},A))}})(T,300);return e.onMounted(()=>{!N.target||(j.value=o(),j.value.addEventListener("scroll",O))}),e.onBeforeUnmount(()=>{var w;(w=j.value)==null||w.removeEventListener("scroll",O)}),(w,A)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{ref_key:"backtopRef",ref:i,class:e.normalizeClass(["layui-backtop",e.unref(z)]),style:e.normalizeStyle({...e.unref(a)}),onClick:e.withModifiers(n,["stop"]),onMousedown:s,onMouseup:y},[e.renderSlot(w.$slots,"default",{},()=>[e.createVNode(e.unref(iM),{type:N.icon,size:`${N.iconSize}px`,color:N.iconColor},null,8,["type","size","color"])])],46,Ww)),[[e.vShow,e.unref(t)]])}}),ng=JM(Hw);var ZF=(()=>`.layui-avatar{font-size:14px;font-variant:tabular-nums;border-radius:var(--global-border-radius);box-sizing:border-box;color:#fff;list-style:none;position:relative;display:inline-block;background:#eeeeee;overflow:hidden;white-space:nowrap;text-align:center;width:32px;height:32px;line-height:32px;vertical-align:middle}.layui-avatar.layui-avatar-radius{border-radius:50%}.layui-avatar.layui-avatar-sm{height:30px;width:30px}.layui-avatar.layui-avatar-lg{height:36px;width:36px}.layui-avatar.layui-avatar-xs{height:28px;width:28px}.layui-avatar-list .layui-avatar{margin-left:-10px;display:inline-block}.layui-avatar>img{width:100%;height:100%;display:block;object-fit:cover} `)();const Zw=["src","alt"],Xw={name:"LayAvatar"},Jw=e.defineComponent({...Xw,props:{src:null,size:{default:"md"},radius:{type:Boolean,default:!1},icon:{default:"layui-icon-username"},alt:null},setup(M){const D=M,N=e.useSlots(),i=e.computed(()=>["layui-avatar",D.radius?"layui-avatar-radius":"",D.size?`layui-avatar-${D.size}`:""]);return(j,t)=>e.unref(N).default?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(i))},[e.renderSlot(j.$slots,"default")],2)):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(i))},[M.src?(e.openBlock(),e.createElementBlock("img",{key:0,src:M.src,alt:M.alt},null,8,Zw)):(e.openBlock(),e.createBlock(e.unref(iM),{key:1,type:M.icon},null,8,["type"]))],2))}}),cg=JM(Jw);var rj=(M,D)=>{const N=M.__vccOpts||M;for(const[i,j]of D)N[i]=j;return N};const $w={name:"LayAvatarList"},Kw={class:"layui-avatar-list"};function qw(M,D,N,i,j,t){return e.openBlock(),e.createElementBlock("div",Kw,[e.renderSlot(M.$slots,"default")])}var MA=rj($w,[["render",qw]]);const sg=JM(MA);var XF=(()=>`.layui-radio[size=lg] .layui-form-radio>i{font-size:24px}.layui-radio[size=md] .layui-form-radio>i{font-size:22px}.layui-radio[size=sm] .layui-form-radio>i{font-size:20px}.layui-radio[size=xs] .layui-form-radio>i{font-size:18px}.layui-radio input[type=radio]{display:none}.layui-form-radio,.layui-form-radio *{display:inline-block;vertical-align:middle}.layui-form-radio{line-height:28px;margin:6px 10px 0 0;padding-right:10px;cursor:pointer;font-size:0}.layui-form-radio *{font-size:14px}.layui-form-radio>i{margin-right:8px;font-size:22px;color:var(--global-neutral-color-8)}.layui-form-radio:hover *,.layui-form-radioed,.layui-form-radioed>i{color:var(--global-checked-color)}.layui-radio-disabled>i{color:var(--global-neutral-color-3)!important}.layui-radio-disabled *{color:var(--global-neutral-color-8)!important} `)();const NA=["size"],DA=["value","name"],eA=["onClick"],iA={key:0,class:"layui-anim layui-icon layui-anim-scaleSpring"},jA={key:1,class:"layui-icon layui-form-radioed"},tA={name:"LayRadio"},yg=e.defineComponent({...tA,props:{name:null,size:{default:"md"},disabled:{type:Boolean},modelValue:{type:[String,Boolean,Number]},value:{type:[String,Boolean,Number]},label:null},emits:["update:modelValue","change"],setup(M,{emit:D}){const N=M,i=e.inject("radioGroup",{}),j=e.computed(()=>i!=null&&(i==null?void 0:i.name)==="LayRadioGroup"),t=e.computed(()=>i.naiveName?i.naiveName:N.name),z=e.computed({get(){return j.value?i.modelValue.value===N.value:N.modelValue===N.value},set(r){j.value?i.modelValue.value=N.value:r&&(D("change",N.value),D("update:modelValue",N.value))}}),u=function(){a.value||(z.value=!z.value)},a=e.computed(()=>!!(N.disabled||i.hasOwnProperty("disabled")&&i.disabled.value));return(r,g)=>(e.openBlock(),e.createElementBlock("span",{class:"layui-radio",size:M.size},[e.createElementVNode("input",{type:"radio",value:M.value,name:e.unref(t)},null,8,DA),e.createElementVNode("div",{class:e.normalizeClass(["layui-unselect layui-form-radio",{"layui-form-radioed":e.unref(z),"layui-radio-disabled layui-disabled":e.unref(a)}]),onClick:e.withModifiers(u,["stop"])},[e.unref(z)?(e.openBlock(),e.createElementBlock("i",iA,"\uE643")):(e.openBlock(),e.createElementBlock("i",jA,"\uE63F")),e.createElementVNode("span",null,[e.renderSlot(r.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(M.label),1)])])],10,eA)],8,NA))}}),Lg=JM(yg),zA={class:"layui-radio-group"},uA={name:"LayRadioGroup"},aA=e.defineComponent({...uA,props:{modelValue:{type:[String,Boolean,Number]},name:null,disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(M,{emit:D}){const N=M,i=e.ref(N.modelValue),j=e.ref(N.disabled);return e.provide("radioGroup",{name:"LayRadioGroup",modelValue:i,naiveName:N.name,disabled:j}),e.watch(()=>i,t=>{D("change",i.value),D("update:modelValue",i.value)},{deep:!0}),e.watch(()=>N.modelValue,t=>i.value=t),e.watch(()=>N.disabled,t=>j.value=t),(t,z)=>(e.openBlock(),e.createElementBlock("div",zA,[e.renderSlot(t.$slots,"default")]))}}),og=JM(aA);var JF=(()=>`:root{--button-primary-text-color: #fff;--button-primary-background-color: var(--global-primary-color);--button-primary-border-color: var(--global-primary-color);--button-normal-text-color: #fff;--button-normal-background-color: var(--global-normal-color);--button-normal-border-color: var(--global-normal-color);--button-warm-text-color: #fff;--button-warm-background-color: var(--global-warm-color);--button-warm-border-color: var(--global-warm-color);--button-danger-text-color: #fff;--button-danger-background-color: var(--global-danger-color);--button-danger-border-color: var(--global-danger-color);--button-border-radius: var(--global-border-radius);--button-border-color: var(--global-neutral-color-6);--button-background-color: 0 0;--button-text-color: #666}.layui-btn{height:38px;line-height:36px;padding:0 18px;font-size:14px;text-align:center;white-space:nowrap;color:var(--button-text-color);background:var(--button-background-color);border-radius:var(--button-border-radius);border-color:var(--button-border-color);border-width:1px;border-style:solid;cursor:pointer}.layui-btn-primary{color:var(--button-primary-text-color);background-color:var(--button-primary-background-color);border-color:var(--button-primary-border-color)}.layui-btn-normal{color:var(--button-normal-text-color);background-color:var(--button-normal-background-color);border-color:var(--button-normal-border-color)}.layui-btn-warm{color:var(--button-warm-text-color);background-color:var(--button-warm-background-color);border-color:var(--button-warm-border-color)}.layui-btn-danger{color:var(--button-danger-text-color);background-color:var(--button-danger-background-color);border-color:var(--button-danger-border-color)}.layui-btn:hover{opacity:.8;filter:alpha(opacity=80)}.layui-btn:active{opacity:1;filter:alpha(opacity=100)}.layui-btn-lg{height:44px;line-height:44px;padding:0 25px;font-size:16px}.layui-btn-sm{height:30px;line-height:30px;padding:0 10px;font-size:12px}.layui-btn-xs{height:22px;line-height:22px;padding:0 5px;font-size:12px}.layui-btn-xs i{font-size:12px!important}.layui-btn-fluid{width:100%}.layui-btn-radius{border-radius:100px}.layui-btn-disabled,.layui-btn-disabled:active,.layui-btn-disabled:hover{border-color:#eee!important;background-color:#fbfbfb!important;color:#d2d2d2!important;cursor:not-allowed!important;opacity:1}.layui-btn+.layui-btn{margin-left:10px}.layui-btn .layui-icon{padding:0 2px;vertical-align:middle\\ ;vertical-align:bottom} @@ -76,7 +76,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `)();const xQ=["onMousemove","onClick"],QQ={key:0,class:"layui-inline"},YQ={name:"LayRate"},kQ=e.defineComponent({...YQ,props:{theme:null,length:{default:5},modelValue:{default:0},readonly:{type:[Boolean,String],default:!1},half:{type:Boolean,default:!1},text:{type:Boolean,default:!1},isBlock:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!1},clearIcon:{default:"layui-icon-close-fill"},icons:{default:()=>["layui-icon-rate","layui-icon-rate-half","layui-icon-rate-solid"]}},emits:["update:modelValue","select","clear"],setup(M,{emit:D}){const N=M,i=e.ref(N.modelValue),j=e.ref(i.value),t=e.computed(()=>N.half&&Math.round(i.value)!==i.value);e.watch(()=>N.modelValue,()=>{i.value=N.modelValue,j.value=N.modelValue});const z=function(n,s){return N.half?n-(s.offsetX<=s.target.offsetWidth/2?.5:0):n},u=function(n,s){if(N.readonly)return!1;i.value=z(n,s)},a=function(){if(N.readonly)return!1;i.value=j.value},r=function(n,s){if(N.readonly)return!1;i.value=z(n,s),j.value=i.value,D("update:modelValue",i.value),D("select",i.value)},g=e.computed(()=>!N.readonly&&N.allowClear),T=function(){j.value=0,i.value=0,D("clear",i.value)};return(n,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(M.isBlock?"layui-block":"layui-inline")},[e.createElementVNode("ul",{class:"layui-rate",onMouseleave:a},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.length,y=>(e.openBlock(),e.createElementBlock("li",{key:y,class:"layui-inline",onMousemove:o=>u(y,o),onClick:o=>r(y,o)},[y<=Math.ceil(i.value)?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["layui-icon",`${M.icons[M.icons.length-(e.unref(t)&&y===Math.ceil(i.value)?2:1)]}`]),style:e.normalizeStyle({color:M.theme})},null,6)):(e.openBlock(),e.createElementBlock("i",{key:1,class:e.normalizeClass(["layui-icon"].concat(M.icons[0])),style:e.normalizeStyle({color:M.theme})},null,6))],40,xQ))),128))],32),M.text?(e.openBlock(),e.createElementBlock("span",QQ,[e.renderSlot(n.$slots,"default",{value:i.value},()=>[e.createTextVNode(e.toDisplayString(i.value+"\u661F"),1)])])):e.createCommentVNode("",!0),e.unref(g)?(e.openBlock(),e.createElementBlock("i",{key:1,class:e.normalizeClass(["layui-icon","layui-rate-clear-icon",M.clearIcon]),onClick:T,title:"\u6E05\u9664\u8BC4\u5206"},null,2)):e.createCommentVNode("",!0)],2))}}),_T=JM(kQ),PT=JM(OD),fQ={name:"LayDropdownMenu"},dQ={class:"layui-menu layui-dropdown-menu"};function CQ(M,D,N,i,j,t){return e.openBlock(),e.createElementBlock("ul",dQ,[e.renderSlot(M.$slots,"default")])}var RT=rj(fQ,[["render",CQ]]);const GT=JM(RT),UQ={class:"layui-menu-body-title"},SQ={key:0,class:"layui-dropdown-menu-prefix"},pQ={key:0,class:"layui-dropdown-menu-suffix"},hQ={name:"LayDropdownMenuItem"},WT=e.defineComponent({...hQ,props:{disabled:{type:Boolean,default:!1}},setup(M){const D=M;e.inject("openState");const N=e.inject(Nz,void 0),i=()=>{D.disabled||N==null||N.hide()};return(j,t)=>(e.openBlock(),e.createElementBlock("li",{onClick:i,class:e.normalizeClass({"layui-disabled":M.disabled}),style:e.normalizeStyle(j.$slots.suffix?"justify-content: space-between;":"")},[e.createElementVNode("span",UQ,[j.$slots.prefix?(e.openBlock(),e.createElementBlock("span",SQ,[e.renderSlot(j.$slots,"prefix")])):e.createCommentVNode("",!0),e.renderSlot(j.$slots,"default")]),j.$slots.suffix?(e.openBlock(),e.createElementBlock("span",pQ,[e.renderSlot(j.$slots,"suffix")])):e.createCommentVNode("",!0)],6))}}),VT=JM(WT),mQ={name:"LayDropdownSubMenu"},BQ=e.defineComponent({...mQ,props:{trigger:{default:"hover"},placement:{default:"right-start"},disabled:{type:Boolean,default:!1},contentOffset:{default:2}},setup(M){return(D,N)=>(e.openBlock(),e.createBlock(OD,{trigger:M.trigger,placement:M.placement,"auto-fit-min-width":!1,contentOffset:M.contentOffset,disabled:M.disabled,updateAtScroll:""},{content:e.withCtx(()=>[e.createVNode(RT,null,{default:e.withCtx(()=>[e.renderSlot(D.$slots,"content")]),_:3})]),default:e.withCtx(()=>[e.createVNode(WT,{disabled:M.disabled},e.createSlots({suffix:e.withCtx(()=>[e.renderSlot(D.$slots,"suffix",{},()=>[e.createVNode(e.unref(iM),{type:"layui-icon-right",size:"14px"})])]),_:2},[D.$slots.prefix?{name:"prefix",fn:e.withCtx(()=>[e.renderSlot(D.$slots,"prefix")]),key:"0"}:void 0,D.$slots.default?{name:"default",fn:e.withCtx(()=>[e.renderSlot(D.$slots,"default")]),key:"1"}:void 0]),1032,["disabled"])]),_:3},8,["trigger","placement","contentOffset","disabled"]))}}),HT=JM(BQ);var _8=(()=>`.layui-tab{display:flex;margin:10px 0;text-align:left!important}.layui-tab[overflow]>.layui-tab-head>.layui-tab-title{overflow:hidden}.layui-tab.is-left{flex-direction:row}.layui-tab.is-right{flex-direction:row-reverse;justify-content:space-between}.layui-tab.is-top{flex-direction:column}.layui-tab.is-bottom{flex-direction:column-reverse}.layui-tab-head{display:inline-block;overflow:hidden}.layui-tab-card .layui-tab-head{background-color:var(--global-neutral-color-1)}.layui-tab-title{position:relative;left:0;height:40px;white-space:nowrap;font-size:0;border-bottom-width:1px;border-bottom-style:solid;transition:all .2s;-webkit-transition:all .2s}.layui-tab-title li{display:inline-block;vertical-align:middle;font-size:14px;transition:all .2s;-webkit-transition:all .2s;position:relative;line-height:40px;min-width:65px;padding:0 15px;text-align:center;cursor:pointer;user-select:none}.layui-tab-title li a{display:block;padding:0 15px;margin:0 -15px}.layui-tab-head.is-top,.layui-tab-head.is-bottom,.layui-tab-title.is-top,.layui-tab-title.is-bottom{width:100%;position:relative}.layui-tab-title.is-right,.layui-tab-title.is-left{height:100%;min-width:60px;border-bottom-width:0px;border-bottom-style:none}.layui-tab-title.is-left li{display:list-item;margin-right:-1px}.layui-tab-title.is-right li{display:list-item;margin-left:-1px}.layui-tab-title.is-top li,.layui-tab-title.is-bottom li{border-bottom:1px solid #eeeeee}.layui-tab-title.is-right{border-left:1px solid var(--global-neutral-color-3)}.layui-tab-title.is-left{border-right:1px solid var(--global-neutral-color-3)}.layui-tab-title .layui-this{color:#000;background-color:#fff}.layui-tab-title .layui-this:after{position:absolute;left:0;top:0;content:"";width:100%;height:41px;border-width:1px;border-style:solid;border-bottom-color:#fff;border-radius:2px 2px 0 0;box-sizing:border-box;pointer-events:none}.layui-tab-title.is-left .layui-this:after{border:1px solid var(--global-neutral-color-3);border-right-color:#fff}.layui-tab-title.is-right .layui-this:after{border:1px solid var(--global-neutral-color-3);border-left-color:#fff}.layui-tab-brief>.layui-tab-head{background-color:transparent}.layui-tab-brief>.layui-tab-head>.layui-tab-title .layui-this{color:var(--global-primary-color)}.layui-tab-brief>.layui-tab-head>.layui-tab-more li.layui-this:after,.layui-tab-brief>.layui-tab-head>.layui-tab-title .layui-this:after{border:none;border-radius:0}.layui-tab-brief>.layui-tab-head.is-right>.layui-tab-title{border-left:1px solid var(--global-neutral-color-3)}.layui-tab-brief>.layui-tab-head.is-left>.layui-tab-title{border-right:1px solid var(--global-neutral-color-3)}.layui-tab-brief[overflow]>.layui-tab-head>.layui-tab-title .layui-this:after{top:-1px}.layui-tab-brief>.layui-tab-head.is-right>.layui-tab-title li,.layui-tab-brief>.layui-tab-head.is-left>.layui-tab-title li{margin-right:0}.layui-tab-brief>.layui-tab-head.is-top>.layui-tab-title li,.layui-tab-brief>.layui-tab-head.is-top>.layui-tab-title li{margin-top:0;margin-bottom:0}.layui-tab-card{border-width:1px;border-style:solid;border-radius:2px;box-shadow:0 2px 5px #0000001a}.layui-tab-card>.layui-tab-head>.layui-tab-title.is-top{margin-top:-1px;margin-left:-1px}.layui-tab-card>.layui-tab-head>.layui-tab-title.is-right,.layui-tab-card>.layui-tab-head>.layui-tab-title.is-left{margin-right:-1px;margin-left:-1px}.layui-tab-card>.layui-tab-head>.layui-tab-title.is-bottom li{margin-top:-1px}.layui-tab-card>.layui-tab-head>.layui-tab-title .layui-this:after{border-radius:0}.layui-tab-card>.layui-tab-head>.layui-tab-title.is-bottom{border-top:1px solid var(--global-neutral-color-3);margin-bottom:-2px;margin-left:-1px}.layui-tab-card>.layui-tab-head>.layui-tab-title.is-left li,.layui-tab-card>.layui-tab-head>.layui-tab-title.is-right li{margin-top:-1px;margin-bottom:-1px}.layui-tab-card>.layui-tab-head>.layui-tab-title.is-top .layui-this:after{border:1px solid var(--global-neutral-color-3);border-bottom-color:#fff}.layui-tab-card>.layui-tab-head>.layui-tab-title.is-bottom .layui-this:after{border:1px solid var(--global-neutral-color-3);border-top-color:#fff}.layui-tab-card>.layui-tab-head>.layui-tab-title.is-left .layui-this:after{border:1px solid var(--global-neutral-color-3);border-right-color:#fff}.layui-tab-card>.layui-tab-head>.layui-tab-title.is-right .layui-this:after{border:1px solid var(--global-neutral-color-3);border-left-color:#fff}.layui-tab-card>.layui-tab-head .layui-tab-bar{width:40px;line-height:40px;border-radius:0;border-top:none;border-right:none}.layui-tab-card>.layui-tab-more .layui-this{background:0 0;color:var(--global-checked-color)}.layui-tab-card>.layui-tab-more .layui-this:after{border:none}.layui-tab-bar{position:absolute;right:0;top:0;z-index:10;width:30px;height:39px;line-height:39px;border-width:1px;border-style:solid;border-radius:2px;text-align:center;background-color:#fff;cursor:pointer}.layui-tab-bar.prev{left:0;right:auto;border-right:1px solid var(--global-neutral-color-3)!important;border-left:none!important}.layui-tab-bar .layui-icon{top:3px;font-size:13.6px;display:inline-block;transition:all .3s;-webkit-transition:all .3s}.layui-tab-item{display:none}.layui-tab-more{padding-right:30px;height:auto!important;white-space:normal!important}.layui-tab-more li.layui-this:after{border-bottom-color:var(--global-neutral-color-3);border-radius:2px}.layui-tab-more .layui-tab-bar .layui-icon{top:-2px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.layui-tab-title li .layui-tab-close{position:relative;display:inline-block;width:18px;height:18px;line-height:20px;margin-left:8px;top:1px;text-align:center;font-size:14px;color:var(--global-neutral-color-8);transition:all .2s;-webkit-transition:all .2s}.layui-tab-title li .layui-tab-close:hover{border-radius:2px;background-color:#ff5722;color:#fff}.layui-tab-content{padding:15px 0;flex:1}.layui-tab.is-right>.layui-tab-content,.layui-tab.is-left>.layui-tab-content{height:100%;padding:0 10px;display:inline-block;vertical-align:top}.layui-tab-active-bar{position:absolute;bottom:0px;left:0;height:1.5px;background-color:var(--global-checked-color);z-index:2;list-style:none;box-sizing:border-box;pointer-events:none}.is-top .layui-tab-active-bar{bottom:-1px;height:1.5px}.is-left .layui-tab-active-bar{left:auto;right:-1px;top:0;bottom:auto;width:1.5px}.is-right .layui-tab-active-bar{left:-1px;right:auto;top:0;bottom:auto;width:1.5px} `)();const ZT=Symbol("layuiTab"),bQ={name:"LayTabItem"},XT=e.defineComponent({...bQ,props:{id:null,title:null,icon:null,closable:{type:[Boolean,String],default:!0}},setup(M){var u;const D=M,N=e.getCurrentInstance(),i=e.useSlots(),j=e.inject("active"),t=e.inject(ZT,{}),z=e.reactive({id:D.id,title:D.title,icon:D.icon,closable:D.closable,slots:i});return N!=null&&N.uid&&((u=t.addItem)==null||u.call(t,D.id,z)),e.onBeforeUnmount(()=>{var a;N!=null&&N.uid&&((a=t.removeItem)==null||a.call(t,D.id))}),(a,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layui-tab-item",[e.unref(j)===M.id?"layui-show":""]])},[e.renderSlot(a.$slots,"default")],2))}}),vQ=["onClick"],FQ=["onClick"],_Q={class:"layui-tab-content"},PQ={name:"LayTab"},RQ=e.defineComponent({...PQ,props:{type:null,modelValue:null,allowClose:{type:Boolean},tabPosition:{default:"top"},beforeClose:null,beforeLeave:null,activeBarTransition:{type:Boolean}},emits:["update:modelValue","change","close"],setup(M,{emit:D}){const N=M,i=e.useSlots(),j=e.reactive(new Map),t=e.ref([]),z=function(m){m==null||m.map(J=>{Fu(J,J.children)?z(J.children):J.type.name==XT.name&&t.value.push(J)})},u=e.computed({get(){return N.modelValue},set(m){D("update:modelValue",m)}}),a=e.computed(()=>{const m=[];return t.value.forEach(J=>{var rM;const K=j.get((rM=J.props)==null?void 0:rM.id);K&&m.push(K)}),m}),r=(m,J)=>{j.set(m,J)},g=m=>{j.delete(m)};e.provide(ZT,e.reactive({active:u,addItem:r,removeItem:g}));const T=function(m){N.beforeLeave&&N.beforeLeave(m)===!1||(D("update:modelValue",m),D("change",m))},n=function(m,J){if(!(N.beforeClose&&N.beforeClose(J)===!1)){if(t.value.splice(m,1),u.value===J){const K=t.value[m===t.value.length?0:m];T(K&&K.props?K.props.id:"")}D("close",J)}},s=e.shallowRef(void 0),y=e.shallowRef(void 0),o=e.ref(),I=()=>{let m=0,J=0;const K=N.tabPosition==="top"||N.tabPosition==="bottom"?"width":"height",rM=K==="width"?"X":"Y",IM=rM==="X"?"left":"top",OM=y.value,oM=L.value;if(!OM||!oM)return;const bM=OM==null?void 0:OM.getBoundingClientRect(),eM=oM==null?void 0:oM.getBoundingClientRect();return m=bM[IM]-eM[IM],J=OM.getBoundingClientRect()[K],{[K]:`${J}px`,transform:`translate${rM}(${m}px)`,transition:N.activeBarTransition?"transform .3s":""}},L=e.shallowRef(void 0),O=e.ref(!1),w=e.ref(0),A=e.computed(()=>{var rM,IM;const m=N.tabPosition==="top"||N.tabPosition==="bottom"?"X":"Y",J=m==="X"?"left":"top",K=(IM=(rM=C.value)==null?void 0:rM[`offset${k.value}`])!=null?IM:0;return{transform:`translate${m}(-${w.value}px)`,[J]:O.value?`${K}px`:0}}),k=e.computed(()=>N.tabPosition==="top"||N.tabPosition==="bottom"?"Width":"Height"),Q=function(){var K;let m=0;const J=(K=L.value)==null?void 0:K.querySelectorAll("li");return J==null||J.forEach(rM=>{m+=rM[`offset${k.value}`]}),m},x=function(){if(!L.value)return;const m=L.value[`offset${k.value}`],J=w.value;if(!J)return;let K=J>m?J-m:0;w.value=K},f=e.shallowRef(void 0),C=e.shallowRef(void 0),W=function(){var oM,bM,eM,uM;if(!L.value)return;const m=Q(),J=L.value[`offset${k.value}`],K=w.value,rM=(bM=(oM=f.value)==null?void 0:oM[`offset${k.value}`])!=null?bM:0,IM=(uM=(eM=C.value)==null?void 0:eM[`offset${k.value}`])!=null?uM:0;if(m-K<=J)return;let OM=m-K>J*2?K+J:m-J+rM+IM;w.value=OM},MM=e.shallowRef(void 0),NM=function(){var G,v,P,p;if(!O.value)return;const m=y.value,J=MM.value;if(!m||!J)return;const K=m==null?void 0:m.getBoundingClientRect(),rM=J==null?void 0:J.getBoundingClientRect(),IM=["top","bottom"].includes(N.tabPosition),OM=w.value;let oM=OM;const bM=Q(),eM=(v=(G=f.value)==null?void 0:G[`offset${k.value}`])!=null?v:0,uM=(p=(P=C.value)==null?void 0:P[`offset${k.value}`])!=null?p:0,d=IM?bM-rM.width+eM+uM:bM-rM.height+eM+uM;IM?(K.leftrM.right&&(oM=OM+K.right-rM.right,oM+=eM)):(K.toprM.bottom&&(oM=OM+(K.bottom-rM.bottom))),oM=Math.max(oM,0),w.value=Math.min(oM,d)},jM=()=>{var OM,oM,bM,eM,uM;if(!L.value||(y.value=(OM=L.value)==null?void 0:OM.querySelector(".layui-this"),o.value=I(),N.tabPosition!=="top"&&N.tabPosition!=="bottom"))return;const m=Q(),J=L.value[`offset${k.value}`],K=w.value,rM=(bM=(oM=f.value)==null?void 0:oM[`offset${k.value}`])!=null?bM:0,IM=(uM=(eM=C.value)==null?void 0:eM[`offset${k.value}`])!=null?uM:0;if(J0&&(w.value=0)},aM=m=>{var eM,uM;m.preventDefault();const J=Q(),K=L.value[`offset${k.value}`],rM=w.value,IM=(uM=(eM=f.value)==null?void 0:eM[`offset${k.value}`])!=null?uM:0,OM=Math.abs(m.deltaX)>=Math.abs(m.deltaY)?m.deltaX:m.deltaY,oM=50*(OM>0?1:-1),bM=Math.max(rM+oM,0);J-rM<=K-IM&&OM>0||(w.value=bM)},tM=m=>{const J=m.tabData;if(typeof J.icon=="function")return J.icon();if(typeof J.icon=="string")return e.h(iM,{type:J.icon,style:"margin-right: 8px;"})},R=m=>{var K,rM;const J=m.tabData;if((K=J.slots)!=null&&K.title)return e.h(e.Fragment,((rM=J.slots)==null?void 0:rM.title)&&J.slots.title());if(typeof J.title=="function")return J.title();if(typeof J.title=="string")return e.createTextVNode(J.title)};return nj(L,jM),e.watch(j,()=>{t.value=[],z(i.default&&i.default())},{immediate:!0}),e.watch(()=>[N.modelValue,N.tabPosition,N.type,t.value.length],async()=>{await e.nextTick(),jM()}),e.onMounted(()=>{jM(),NM()}),e.provide("active",u),(m,J)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layui-tab",[M.type?"layui-tab-"+M.type:"",N.tabPosition?`is-${M.tabPosition}`:""]])},[e.createElementVNode("div",{ref_key:"headRef",ref:MM,class:e.normalizeClass(["layui-tab-head",N.tabPosition?`is-${M.tabPosition}`:""])},[e.createElementVNode("ul",{ref_key:"navRef",ref:L,onWheel:aM,class:e.normalizeClass(["layui-tab-title",N.tabPosition?`is-${M.tabPosition}`:""]),style:e.normalizeStyle(e.unref(A))},[M.type==="brief"?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"activeBarRef",ref:s,class:"layui-tab-active-bar",style:e.normalizeStyle(o.value)},null,4)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),(K,rM)=>(e.openBlock(),e.createElementBlock("li",{key:K.id,class:e.normalizeClass([K.id===e.unref(u)?"layui-this":""]),onClick:e.withModifiers(IM=>T(K.id),["stop"])},[e.createElementVNode("span",null,[K.icon?(e.openBlock(),e.createBlock(e.unref(Hu),{key:0,renderFunc:tM,tabData:K},null,8,["tabData"])):e.createCommentVNode("",!0),e.createVNode(e.unref(Hu),{renderFunc:R,tabData:K},null,8,["tabData"])]),M.allowClose&&K.closable!=!1?(e.openBlock(),e.createElementBlock("i",{key:0,class:"layui-icon layui-icon-close layui-unselect layui-tab-close",onClick:e.withModifiers(IM=>n(rM,K.id),["stop"])},null,8,FQ)):e.createCommentVNode("",!0)],10,vQ))),128))],38),O.value?(e.openBlock(),e.createElementBlock("span",{key:0,ref_key:"scrollPrevRef",ref:C,class:"layui-unselect layui-tab-bar prev",onClick:x},[e.createVNode(e.unref(iM),{type:"layui-icon-left"})],512)):e.createCommentVNode("",!0),O.value?(e.openBlock(),e.createElementBlock("span",{key:1,ref_key:"scrollNextRef",ref:f,class:"layui-unselect layui-tab-bar",onClick:W},[e.createVNode(e.unref(iM),{type:"layui-icon-right"})],512)):e.createCommentVNode("",!0)],2),e.createElementVNode("div",_Q,[e.renderSlot(m.$slots,"default")])],2))}}),JT=JM(RQ),$T=JM(XT),GQ=["onClick"],WQ={class:"layui-tree-main"},VQ=["onClick"],HQ={key:0,class:"layui-tree-pack layui-tree-showLine",style:{display:"block"}},ZQ={name:"TreeNode"},XQ=e.defineComponent({...ZQ,props:{tree:null,nodeList:null,showCheckbox:{type:Boolean},showLine:{type:Boolean},selectedKey:null,checkStrictly:{type:[Boolean,String]},collapseTransition:{type:Boolean},onlyIconControl:{type:Boolean},hideicon:{type:Boolean},selectParent:{type:Boolean}},emits:["node-click"],setup(M,{emit:D}){const N=M;e.useSlots();function i(T){return!T.hasNextSibling&&T.parentNode&&(!T.parentNode.hasNextSibling||T.parentNode.hasNextSibling&&!T.parentNode.children)}const j=T=>N.showLine?T.children.length!==0?T.isLeaf?"layui-icon-subtraction":"layui-icon-addition":N.hideicon?"":"layui-icon-file":T.children.length>0?"layui-tree-iconArrow ":"";function t(T){D("node-click",T)}function z(T,n){N.tree.setCheckedKeys(T,N.checkStrictly||N.selectParent,n)}function u(T){T.isLeaf=!T.isLeaf}function a(T){N.onlyIconControl||u(T),T.isDisabled||D("node-click",T),N.showCheckbox&&(T.isChecked=!T.isChecked)}function r(T){N.showLine||a(T)}const g=e.computed(()=>{function T(n){let s=0,y=!1;for(const o of n.children)o.isChecked&&s++;if(N.selectParent||s>0&&(n.isChecked=!0),s==n.children.length){for(const o of n.children)if(y=T(o),y)break}else y=!0;return y}return n=>(console.log(N.selectParent),N.checkStrictly?!1:N.selectParent?T(n):!1)});return(T,n)=>{const s=e.resolveComponent("tree-node",!0);return e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.nodeList,(y,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:e.normalizeClass({"layui-tree-set":!0,"layui-tree-setLineShort":i(y),"layui-tree-setHide":y.isRoot})},[e.createElementVNode("div",{class:"layui-tree-entry",onClick:I=>r(y)},[e.createElementVNode("div",WQ,[e.createElementVNode("span",{class:e.normalizeClass([M.showLine&&y.children.length>0?"layui-tree-icon":"",{"layui-tree-iconClick":!0}])},[e.createVNode(e.unref(iM),{type:j(y),onClick:e.withModifiers(I=>u(y),["stop"])},null,8,["type","onClick"])],2),M.showCheckbox?(e.openBlock(),e.createBlock(fe,{key:0,value:"",skin:"primary",modelValue:y.isChecked,disabled:y.isDisabled,isIndeterminate:e.unref(g)(y),onChange:I=>z(I,y)},null,8,["modelValue","disabled","isIndeterminate","onChange"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({"layui-tree-txt":!0,"layui-disabled":y.isDisabled,"layui-this":M.selectedKey===y.id||y.isChecked}),onClick:e.withModifiers(I=>a(y),["stop"])},[e.renderSlot(T.$slots,"title",{data:y},()=>[e.createTextVNode(e.toDisplayString(y.title),1)])],10,VQ)])],8,GQ),e.createVNode(Dz,{enable:M.collapseTransition},{default:e.withCtx(()=>[y.isLeaf?(e.openBlock(),e.createElementBlock("div",HQ,[e.createVNode(s,{tree:M.tree,"node-list":y.children,"show-checkbox":M.showCheckbox,"show-line":M.showLine,"selected-key":M.selectedKey,"collapse-transition":M.collapseTransition,checkStrictly:M.checkStrictly,"only-icon-control":M.onlyIconControl,hideicon:N.hideicon,"select-parent":N.selectParent,onNodeClick:t},e.createSlots({_:2},[T.$slots.title?{name:"title",fn:e.withCtx(I=>[e.renderSlot(T.$slots,"title",{data:I.data})]),key:"0"}:void 0]),1032,["tree","node-list","show-checkbox","show-line","selected-key","collapse-transition","checkStrictly","only-icon-control","hideicon","select-parent"])])):e.createCommentVNode("",!0)]),_:2},1032,["enable"])],2))),128)}}});class JQ{constructor(D,N){this.config=D,this.treeData=[],this.init(N)}init(D){const N=this.createTree(D);this.treeData=N}createTree(D,N=""){let i;Array.isArray(D)?i=D:i=Array.of(Object.assign({},D));const j=[],{children:t}=this.config.replaceFields,z=i.length;for(let u=0;u{i.children&&this.treeForeach(i.children,N),N(i)})}setChildrenChecked(D,N){console.log("\u8D70\u8D4B\u503C\u5B50\u8282\u70B9\u4E86");var i=0,j=0;const t=N.length;this.treeForeach(N,z=>{z.isDisabled||(i=i+1,z.isChecked&&(j=j+1))}),j0)&&(N[z].isChecked=D),N[z].children&&N[z].children.length>0&&this.setChildrenChecked(D,N[z].children)}setParentChecked(D,N){if(console.log("\u8D70\u8D4B\u503C\u7236\u8282\u70B9\u4E86"),!N)return;N.isChecked=D,N.children.some(t=>t.isChecked)&&(N.isChecked=!0),N.parentNode&&this.setParentChecked(D,N.parentNode)}setCheckedKeys(D,N,i){i.isChecked=D,console.log(i,N,186),N||(i.parentNode&&this.setParentChecked(D,i.parentNode),i.children&&this.setChildrenChecked(D,i.children))}getData(){return this.treeData}getKeys(){const D=[],N=[],i=this.config.nodeMap[Symbol.iterator]();let j=i.next();for(;!j.done;){const[,t]=j.value,z=Reflect.get(t,this.config.replaceFields.id);t.isChecked&&D.push(z),t.isLeaf&&N.push(z),j=i.next()}return{checkedKeys:D,expandKeys:N}}getOriginData(D){return this.config.originMap.get(D)}}const $Q=(M,D)=>{var j,t,z,u;const N=new JQ({nodeMap:new Map,originMap:new Map,replaceFields:{id:"id",title:"title",children:"children"},showCheckbox:(j=M.showCheckbox)!=null?j:!1,checkedKeys:(t=M.checkedKeys)!=null?t:[],expandKeys:(z=M.expandKeys)!=null?z:[],checkStrictly:(u=M.checkStrictly)!=null?u:!1},M.data),i=e.computed(()=>N.getData());return{tree:N,nodeList:i}};var P8=(()=>`.layui-checkbox[size=lg]{height:18px;line-height:18px}.layui-checkbox[size=lg] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:18px;height:18px;font-size:16px}.layui-checkbox[size=lg] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:18px;line-height:18px;font-size:16px}.layui-checkbox[size=md]{height:16px;line-height:16px}.layui-checkbox[size=md] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:16px;height:16px;font-size:14px}.layui-checkbox[size=md] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:16px;line-height:16px;font-size:14px}.layui-checkbox[size=sm]{height:14px;line-height:14px}.layui-checkbox[size=sm] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:14px;height:14px;font-size:12px}.layui-checkbox[size=sm] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:14px;line-height:14px;font-size:12px}.layui-checkbox[size=xs]{height:12px;line-height:12px}.layui-checkbox[size=xs] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:12px;height:12px;font-size:10px}.layui-checkbox[size=xs] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:12px;line-height:12px;font-size:10px}.layui-checkbox input[type=checkbox]{display:none}.layui-form-checkbox{position:relative;height:30px;line-height:30px;margin-right:10px;padding-right:30px;cursor:pointer;font-size:0;-webkit-transition:.1s linear;transition:.1s linear;box-sizing:border-box}.layui-form-checkbox span{padding:0 10px;height:100%;font-size:14px;border-radius:2px 0 0 2px;background-color:var(--global-neutral-color-6);color:#fff;overflow:hidden}.layui-form-checkbox:hover span{background-color:var(--global-neutral-color-8)}.layui-form-checkbox i{top:0;right:0;width:29px;height:28px;position:absolute;border-top:1px solid var(--global-neutral-color-6);border-bottom:1px solid var(--global-neutral-color-6);border-right:1px solid var(--global-neutral-color-6);border-radius:0 2px 2px 0;color:#fff;font-size:20px;text-align:center}.layui-form-checkbox:hover i{border-color:var(--global-neutral-color-8);color:var(--global-neutral-color-8)}.layui-form-checkbox[lay-skin=primary]{height:auto!important;line-height:normal!important;min-width:18px;min-height:18px;border:none!important;margin-right:0;padding-left:28px;padding-right:0;background:0 0}.layui-form-checkbox[lay-skin=primary] span{padding-left:0;padding-right:15px;line-height:18px;background:0 0;color:#666}.layui-form-checkbox[lay-skin=primary] i{right:auto;left:0;width:16px;height:16px;line-height:16px;border:1px solid var(--global-neutral-color-6);font-size:12px;border-radius:2px;background-color:#fff;-webkit-transition:.1s linear;transition:.1s linear}.layui-form-checkbox[lay-skin=primary]:hover i{border-color:var(--global-checked-color);color:#fff}.layui-form-checked,.layui-form-checked:hover{border-color:var(--global-checked-color)}.layui-form-checked i,.layui-form-checked:hover i{color:var(--global-checked-color)}.layui-form-checked span,.layui-form-checked:hover span{background-color:var(--global-checked-color)}.layui-form-checked[lay-skin=primary] i{border-color:var(--global-checked-color);background-color:var(--global-checked-color);color:#fff}.layui-form-checked[lay-skin=primary] span{background:0 0!important}.layui-checkbox-disabled[lay-skin=primary] span{background:0 0!important;color:var(--global-neutral-color-8)!important}.layui-checkbox-disabled[lay-skin=primary]:hover i{border-color:var(--global-neutral-color-6)}.layui-checkbox-disabled,.layui-checkbox-disabled i{border-color:var(--global-neutral-color-3)!important}.layui-checkbox-disabled span{background-color:var(--global-neutral-color-3)!important}.layui-checkbox-disabled em{color:var(--global-neutral-color-6)!important}.layui-checkbox-disabled:hover i{color:#fff!important}.layui-checkbox-disabled .layui-icon-ok,.layui-checkbox-disabled .layui-icon-subtraction{background-color:var(--global-neutral-color-3)!important;border-color:var(--global-neutral-color-3)!important}.layui-tree{line-height:22px}.layui-tree .layui-form-checkbox{margin:0!important}.layui-tree-set{width:100%;position:relative}.layui-tree-txt.layui-this{color:var(--global-checked-color)!important}.layui-tree-pack{display:none;padding-left:20px;position:relative}.layui-tree-iconClick,.layui-tree-main{display:inline-block;vertical-align:middle}.layui-tree-line .layui-tree-pack{padding-left:27px}.layui-tree-line .layui-tree-set .layui-tree-set:after{content:"";position:absolute;top:14px;left:-9px;width:17px;height:0;border-top:1px dotted #c0c4cc}.layui-tree-entry{position:relative;padding:3px 0;height:20px;white-space:nowrap}.layui-tree-entry:hover{background-color:#eee}.layui-tree-line .layui-tree-entry:hover{background-color:#0000}.layui-tree-line .layui-tree-entry:hover .layui-tree-txt{color:#999;text-decoration:underline;transition:.3s}.layui-tree-main{cursor:pointer;padding-right:10px}.layui-tree-line .layui-tree-set:before{content:"";position:absolute;top:0;left:-9px;width:0;height:100%;border-left:1px dotted #c0c4cc}.layui-tree-line .layui-tree-set.layui-tree-setLineShort:before{height:13px}.layui-tree-line .layui-tree-set.layui-tree-setHide:before{height:0}.layui-tree-iconClick{position:relative;height:20px;line-height:20px;margin:0 10px;color:#c0c4cc}.layui-tree-icon{height:12px;line-height:12px;width:12px;text-align:center;border:1px solid #c0c4cc}.layui-tree-iconClick .layui-icon{font-size:18px}.layui-tree-icon .layui-icon{font-size:12px;color:#666}.layui-tree-iconArrow{padding:0 5px}.layui-tree-iconArrow:after{content:"";position:absolute;left:4px;top:3px;z-index:100;width:0;height:0;border-width:5px;border-style:solid;border-color:transparent transparent transparent #c0c4cc;transition:.5s}.layui-tree-btnGroup,.layui-tree-editInput{position:relative;vertical-align:middle;display:inline-block}.layui-tree-spread>.layui-tree-entry>.layui-tree-iconClick>.layui-tree-iconArrow:after{transform:rotate(90deg) translate(3px,4px)}.layui-tree-txt{display:inline-block;vertical-align:middle;color:#555}.layui-tree-search{margin-bottom:15px;color:#666}.layui-tree-btnGroup .layui-icon{display:inline-block;vertical-align:middle;padding:0 2px;cursor:pointer}.layui-tree-btnGroup .layui-icon:hover{color:#999;transition:.3s}.layui-tree-entry:hover .layui-tree-btnGroup{visibility:visible}.layui-tree-editInput{height:20px;line-height:20px;padding:0 3px;border:none;background-color:#0000000d}.layui-tree-emptyText{text-align:center;color:#999} `)();const KQ={name:"LayTree"},qQ=e.defineComponent({...KQ,props:{data:null,disabled:{type:Boolean,default:!1},edit:{default:!1},checkedKeys:{default:()=>[]},checkStrictly:{type:[Boolean,String],default:!1},collapseTransition:{type:Boolean,default:!0},onlyIconControl:{type:Boolean,default:!1},selectedKey:null,showLine:{type:Boolean,default:!0},showCheckbox:{type:Boolean,default:!1},replaceFields:{default:()=>({id:"id",children:"children",title:"title"})},hideicon:{type:Boolean},selectParent:{type:Boolean,default:!1}},emits:["update:checkedKeys","update:expandKeys","node-click"],setup(M,{emit:D}){const N=M;e.useSlots();const i=e.computed(()=>({"layui-tree":!0,"layui-form":N.showCheckbox,"layui-tree-line":N.showLine}));let j=e.ref(),t=e.ref();const z=e.ref(!1),u=e.ref(!1),a=()=>{let{tree:g,nodeList:T}=$Q(N);j.value=g,t.value=T.value};e.watch(()=>N.data,()=>{a()},{deep:!0,immediate:!0}),e.watch(()=>N.checkedKeys,()=>{console.log(j.value),z.value||a()},{deep:!0}),e.watch(j,()=>{if(u.value){const{checkedKeys:g}=j.value.getKeys();z.value=!0,D("update:checkedKeys",g),e.nextTick(()=>{z.value=!1})}},{deep:!0}),e.onMounted(()=>{e.nextTick(()=>{u.value=!0})});function r(g){const T=j.value.getOriginData(g.id);D("node-click",T)}return(g,T)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i))},[e.createVNode(XQ,{tree:e.unref(j),"node-list":e.unref(t),"show-checkbox":M.showCheckbox,"show-line":M.showLine,selectedKey:M.selectedKey,"check-strictly":M.checkStrictly,"collapse-transition":M.collapseTransition,"only-icon-control":M.onlyIconControl,onNodeClick:r,hideicon:N.hideicon,selectParent:N.selectParent},e.createSlots({_:2},[g.$slots.title?{name:"title",fn:e.withCtx(({data:n})=>[e.renderSlot(g.$slots,"title",{data:n})]),key:"0"}:void 0]),1032,["tree","node-list","show-checkbox","show-line","selectedKey","check-strictly","collapse-transition","only-icon-control","hideicon","selectParent"])],2))}}),KT=JM(qQ);var R8=(()=>`.layui-tree-select{width:220px}.layui-tree-select-content{padding:10px}.layui-tree-select .layui-icon-triangle-d{transition:all .3s;-webkit-transition:all .3s;color:var(--global-neutral-color-8)}.layui-tree-select .layui-icon-triangle-d.triangle{transform:rotate(180deg)} -`)();function qT(M,D){let N=null;i(M,D);function i(j,t){if(j){let z=Object.prototype.toString.call(j);if(z==="[object Object]")if(j.id&&j.id===t)N=j;else{let u=j.children||null;i(u,t)}else if(z==="[object Array]"){let u=j.find(a=>!!a&&a.id===t);u?N=u:j.length&&j.forEach(a=>{if(a&&a.children){let r=a.children;r&&r.length&&i(r,t)}})}}}return N}const MY={class:"layui-tree-select-content"},NY={name:"LayTreeSelect"},DY=e.defineComponent({...NY,props:{data:null,modelValue:null,disabled:{type:Boolean,default:!1},placeholder:{default:"\u8BF7\u9009\u62E9"},multiple:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!1},collapseTagsTooltip:{type:Boolean,default:!0},minCollapsedNum:{default:3},size:{default:"md"},checkStrictly:{type:Boolean,default:!0}},emits:["update:modelValue","change","search"],setup(M,{emit:D}){const N=M,i=e.ref(),j=e.ref(["1"]),t=e.ref(!1),z=e.ref(),u=e.computed({get(){return N.modelValue},set(g){D("update:modelValue",g),D("change",g)}}),a=e.computed({get(){return N.multiple?N.modelValue:[]},set(g){N.multiple&&(D("update:modelValue",g),D("change",g))}});e.watch(u,()=>{if(N.multiple)j.value=u.value.map(g=>{const T=qT(N.data,g);return T.label=T.title,T.closable=!T.disabled,T});else{const g=qT(N.data,u.value);g&&(i.value=g.title)}},{immediate:!0,deep:!0});const r=g=>{z.value.hide(),u.value=g.id};return(g,T)=>{const n=e.resolveComponent("lay-icon"),s=e.resolveComponent("lay-tag-input"),y=e.resolveComponent("lay-input"),o=e.resolveComponent("lay-tree"),I=e.resolveComponent("lay-dropdown");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layui-tree-select",{"layui-disabled":M.disabled}])},[e.createVNode(I,{ref_key:"dropdownRef",ref:z,disabled:M.disabled,"update-at-scroll":!0,onShow:T[4]||(T[4]=L=>t.value=!0),onHide:T[5]||(T[5]=L=>t.value=!1)},{content:e.withCtx(()=>[e.createElementVNode("div",MY,[e.createVNode(o,{data:M.data,onlyIconControl:!0,"show-checkbox":M.multiple,"check-strictly":M.checkStrictly,selectedKey:e.unref(u),"onUpdate:selectedKey":T[2]||(T[2]=L=>e.isRef(u)?u.value=L:null),checkedKeys:e.unref(a),"onUpdate:checkedKeys":T[3]||(T[3]=L=>e.isRef(a)?a.value=L:null),onNodeClick:r},null,8,["data","show-checkbox","check-strictly","selectedKey","checkedKeys"])])]),default:e.withCtx(()=>[M.multiple?(e.openBlock(),e.createBlock(s,{key:0,size:M.size,"allow-clear":M.allowClear,placeholder:M.placeholder,collapseTagsTooltip:M.collapseTagsTooltip,minCollapsedNum:M.minCollapsedNum,disabledInput:!0,modelValue:j.value,"onUpdate:modelValue":T[0]||(T[0]=L=>j.value=L)},{suffix:e.withCtx(()=>[e.createVNode(n,{type:"layui-icon-triangle-d",class:e.normalizeClass({triangle:t.value})},null,8,["class"])]),_:1},8,["size","allow-clear","placeholder","collapseTagsTooltip","minCollapsedNum","modelValue"])):(e.openBlock(),e.createBlock(y,{key:1,modelValue:i.value,"onUpdate:modelValue":T[1]||(T[1]=L=>i.value=L),placeholder:M.placeholder,disabled:M.disabled,readonly:!0,size:M.size},{suffix:e.withCtx(()=>[e.createVNode(n,{type:"layui-icon-triangle-d",class:e.normalizeClass({triangle:t.value})},null,8,["class"])]),_:1},8,["modelValue","placeholder","disabled","size"]))]),_:1},8,["disabled"])],2)}}}),Mn=JM(DY);/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var az={};az.version="0.20.0";var qe=1200,Dt,et=function(M){qe=M};function eY(){et(1200)}function iY(M){for(var D=[],N=0;N>1;++N)D[N]=String.fromCharCode(M.charCodeAt(2*N+1)+(M.charCodeAt(2*N)<<8));return D.join("")}var rz=function(D){return String.fromCharCode(D)},Nn=function(D){return String.fromCharCode(D)},fD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function gz(M){for(var D="",N=0,i=0,j=0,t=0,z=0,u=0,a=0,r=0;r>2,i=M.charCodeAt(r++),z=(N&3)<<4|i>>4,j=M.charCodeAt(r++),u=(i&15)<<2|j>>6,a=j&63,isNaN(i)?u=a=64:isNaN(j)&&(a=64),D+=fD.charAt(t)+fD.charAt(z)+fD.charAt(u)+fD.charAt(a);return D}function jY(M){for(var D="",N=0,i=0,j=0,t=0,z=0,u=0,a=0,r=0;r255&&(N=95),t=N>>2,i=M.charCodeAt(r++),i>255&&(i=95),z=(N&3)<<4|i>>4,j=M.charCodeAt(r++),j>255&&(j=95),u=(i&15)<<2|j>>6,a=j&63,isNaN(i)?u=a=64:isNaN(j)&&(a=64),D+=fD.charAt(t)+fD.charAt(z)+fD.charAt(u)+fD.charAt(a);return D}function tY(M){for(var D="",N=0,i=0,j=0,t=0,z=0,u=0,a=0,r=0;r>2,i=M[r++],z=(N&3)<<4|i>>4,j=M[r++],u=(i&15)<<2|j>>6,a=j&63,isNaN(i)?u=a=64:isNaN(j)&&(a=64),D+=fD.charAt(t)+fD.charAt(z)+fD.charAt(u)+fD.charAt(a);return D}function Ii(M){var D="",N=0,i=0,j=0,t=0,z=0,u=0,a=0;M=M.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/,"").replace(/[^\w\+\/\=]/g,"");for(var r=0;r>4,D+=String.fromCharCode(N),u=fD.indexOf(M.charAt(r++)),i=(z&15)<<4|u>>2,u!==64&&(D+=String.fromCharCode(i)),a=fD.indexOf(M.charAt(r++)),j=(u&3)<<6|a,a!==64&&(D+=String.fromCharCode(j));return D}var QN=function(){return typeof Buffer!="undefined"&&typeof process!="undefined"&&typeof process.versions!="undefined"&&!!process.versions.node}(),_e=function(){if(typeof Buffer!="undefined"){var M=!Buffer.from;if(!M)try{Buffer.from("foo","utf8")}catch{M=!0}return M?function(D,N){return N?new Buffer(D,N):new Buffer(D)}:Buffer.from.bind(Buffer)}return function(){}}(),it=function(){if(typeof Buffer=="undefined")return!1;var M=_e([65,0]);if(!M)return!1;var D=M.toString("utf16le");return D.length==1}();function Bi(M){return QN?Buffer.alloc?Buffer.alloc(M):new Buffer(M):typeof Uint8Array!="undefined"?new Uint8Array(M):new Array(M)}function Dn(M){return QN?Buffer.allocUnsafe?Buffer.allocUnsafe(M):new Buffer(M):typeof Uint8Array!="undefined"?new Uint8Array(M):new Array(M)}var je=function(D){return QN?_e(D,"binary"):D.split("").map(function(N){return N.charCodeAt(0)&255})};function Tz(M){if(typeof ArrayBuffer=="undefined")return je(M);for(var D=new ArrayBuffer(M.length),N=new Uint8Array(D),i=0;i!=M.length;++i)N[i]=M.charCodeAt(i)&255;return D}function bi(M){if(Array.isArray(M))return M.map(function(i){return String.fromCharCode(i)}).join("");for(var D=[],N=0;N>6&31,j[N++]=128|z&63;else if(z>=55296&&z<57344){z=(z&1023)+64;var u=M.charCodeAt(++t)&1023;j[N++]=240|z>>8&7,j[N++]=128|z>>2&63,j[N++]=128|u>>6&15|(z&3)<<4,j[N++]=128|u&63}else j[N++]=224|z>>12&15,j[N++]=128|z>>6&63,j[N++]=128|z&63;N>i&&(D.push(j.slice(0,N)),N=0,j=Bi(65535),i=65530)}return D.push(j.slice(0,N)),KN(D)}var jt=/\u0000/g,nz=/[\u0001-\u0006]/g;function sj(M){for(var D="",N=M.length-1;N>=0;)D+=M.charAt(N--);return D}function Ce(M,D){var N=""+M;return N.length>=D?N:HN("0",D-N.length)+N}function g4(M,D){var N=""+M;return N.length>=D?N:HN(" ",D-N.length)+N}function cz(M,D){var N=""+M;return N.length>=D?N:N+HN(" ",D-N.length)}function aY(M,D){var N=""+Math.round(M);return N.length>=D?N:HN("0",D-N.length)+N}function rY(M,D){var N=""+M;return N.length>=D?N:HN("0",D-N.length)+N}var en=Math.pow(2,32);function yj(M,D){if(M>en||M<-en)return aY(M,D);var N=Math.round(M);return rY(N,D)}function sz(M,D){return D=D||0,M.length>=7+D&&(M.charCodeAt(D)|32)===103&&(M.charCodeAt(D+1)|32)===101&&(M.charCodeAt(D+2)|32)===110&&(M.charCodeAt(D+3)|32)===101&&(M.charCodeAt(D+4)|32)===114&&(M.charCodeAt(D+5)|32)===97&&(M.charCodeAt(D+6)|32)===108}var jn=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],T4=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function gY(M){return M||(M={}),M[0]="General",M[1]="0",M[2]="0.00",M[3]="#,##0",M[4]="#,##0.00",M[9]="0%",M[10]="0.00%",M[11]="0.00E+00",M[12]="# ?/?",M[13]="# ??/??",M[14]="m/d/yy",M[15]="d-mmm-yy",M[16]="d-mmm",M[17]="mmm-yy",M[18]="h:mm AM/PM",M[19]="h:mm:ss AM/PM",M[20]="h:mm",M[21]="h:mm:ss",M[22]="m/d/yy h:mm",M[37]="#,##0 ;(#,##0)",M[38]="#,##0 ;[Red](#,##0)",M[39]="#,##0.00;(#,##0.00)",M[40]="#,##0.00;[Red](#,##0.00)",M[45]="mm:ss",M[46]="[h]:mm:ss",M[47]="mmss.0",M[48]="##0.0E+0",M[49]="@",M[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',M}var BN={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'},tn={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},TY={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function yz(M,D,N){for(var i=M<0?-1:1,j=M*i,t=0,z=1,u=0,a=1,r=0,g=0,T=Math.floor(j);rD&&(r>D?(g=a,u=t):(g=r,u=z)),!N)return[0,i*u,g];var n=Math.floor(i*u/g);return[n,i*u-n*g,g]}function Lz(M,D,N){if(M>2958465||M<0)return null;var i=M|0,j=Math.floor(86400*(M-i)),t=0,z=[],u={D:i,T:j,u:86400*(M-i)-j,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(u.u)<1e-6&&(u.u=0),D&&D.date1904&&(i+=1462),u.u>.9999&&(u.u=0,++j==86400&&(u.T=j=0,++i,++u.D)),i===60)z=N?[1317,10,29]:[1900,2,29],t=3;else if(i===0)z=N?[1317,8,29]:[1900,1,0],t=6;else{i>60&&--i;var a=new Date(1900,0,1);a.setDate(a.getDate()+i-1),z=[a.getFullYear(),a.getMonth()+1,a.getDate()],t=a.getDay(),i<60&&(t=(t+6)%7),N&&(t=LY(a,z))}return u.y=z[0],u.m=z[1],u.d=z[2],u.S=j%60,j=Math.floor(j/60),u.M=j%60,j=Math.floor(j/60),u.H=j,u.q=t,u}function n4(M){return M.indexOf(".")==-1?M:M.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function nY(M){return M.indexOf("E")==-1?M:M.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function cY(M){var D=M<0?12:11,N=n4(M.toFixed(12));return N.length<=D||(N=M.toPrecision(10),N.length<=D)?N:M.toExponential(5)}function sY(M){var D=n4(M.toFixed(11));return D.length>(M<0?12:11)||D==="0"||D==="-0"?M.toPrecision(6):D}function yY(M){var D=Math.floor(Math.log(Math.abs(M))*Math.LOG10E),N;return D>=-4&&D<=-1?N=M.toPrecision(10+D):Math.abs(D)<=9?N=cY(M):D===10?N=M.toFixed(10).substr(0,12):N=sY(M),n4(nY(N.toUpperCase()))}function c4(M,D){switch(typeof M){case"string":return M;case"boolean":return M?"TRUE":"FALSE";case"number":return(M|0)===M?M.toString(10):yY(M);case"undefined":return"";case"object":if(M==null)return"";if(M instanceof Date)return Ni(14,AD(M,D&&D.date1904),D)}throw new Error("unsupported value in General format: "+M)}function LY(M,D){D[0]-=581;var N=M.getDay();return M<60&&(N=(N+6)%7),N}function oY(M,D,N,i){var j="",t=0,z=0,u=N.y,a,r=0;switch(M){case 98:u=N.y+543;case 121:switch(D.length){case 1:case 2:a=u%100,r=2;break;default:a=u%1e4,r=4;break}break;case 109:switch(D.length){case 1:case 2:a=N.m,r=D.length;break;case 3:return T4[N.m-1][1];case 5:return T4[N.m-1][0];default:return T4[N.m-1][2]}break;case 100:switch(D.length){case 1:case 2:a=N.d,r=D.length;break;case 3:return jn[N.q][0];default:return jn[N.q][1]}break;case 104:switch(D.length){case 1:case 2:a=1+(N.H+11)%12,r=D.length;break;default:throw"bad hour format: "+D}break;case 72:switch(D.length){case 1:case 2:a=N.H,r=D.length;break;default:throw"bad hour format: "+D}break;case 77:switch(D.length){case 1:case 2:a=N.M,r=D.length;break;default:throw"bad minute format: "+D}break;case 115:if(D!="s"&&D!="ss"&&D!=".0"&&D!=".00"&&D!=".000")throw"bad second format: "+D;return N.u===0&&(D=="s"||D=="ss")?Ce(N.S,D.length):(i>=2?z=i===3?1e3:100:z=i===1?10:1,t=Math.round(z*(N.S+N.u)),t>=60*z&&(t=0),D==="s"?t===0?"0":""+t/z:(j=Ce(t,2+i),D==="ss"?j.substr(0,2):"."+j.substr(2,D.length-1)));case 90:switch(D){case"[h]":case"[hh]":a=N.D*24+N.H;break;case"[m]":case"[mm]":a=(N.D*24+N.H)*60+N.M;break;case"[s]":case"[ss]":a=((N.D*24+N.H)*60+N.M)*60+Math.round(N.S+N.u);break;default:throw"bad abstime format: "+D}r=D.length===3?1:2;break;case 101:a=u,r=1;break}var g=r>0?Ce(a,r):"";return g}function Oi(M){var D=3;if(M.length<=D)return M;for(var N=M.length%D,i=M.substr(0,N);N!=M.length;N+=D)i+=(i.length>0?",":"")+M.substr(N,D);return i}var zn=/%/g;function lY(M,D,N){var i=D.replace(zn,""),j=D.length-i.length;return Mi(M,i,N*Math.pow(10,2*j))+HN("%",j)}function IY(M,D,N){for(var i=D.length-1;D.charCodeAt(i-1)===44;)--i;return Mi(M,D.substr(0,i),N/Math.pow(10,3*(D.length-i)))}function un(M,D){var N,i=M.indexOf("E")-M.indexOf(".")-1;if(M.match(/^#+0.0E\+0$/)){if(D==0)return"0.0E+0";if(D<0)return"-"+un(M,-D);var j=M.indexOf(".");j===-1&&(j=M.indexOf("E"));var t=Math.floor(Math.log(D)*Math.LOG10E)%j;if(t<0&&(t+=j),N=(D/Math.pow(10,t)).toPrecision(i+1+(j+t)%j),N.indexOf("e")===-1){var z=Math.floor(Math.log(D)*Math.LOG10E);for(N.indexOf(".")===-1?N=N.charAt(0)+"."+N.substr(1)+"E+"+(z-N.length+t):N+="E+"+(z-t);N.substr(0,2)==="0.";)N=N.charAt(0)+N.substr(2,j)+"."+N.substr(2+j),N=N.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");N=N.replace(/\+-/,"-")}N=N.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(u,a,r,g){return a+r+g.substr(0,(j+t)%j)+"."+g.substr(t)+"E"})}else N=D.toExponential(i);return M.match(/E\+00$/)&&N.match(/e[+-]\d$/)&&(N=N.substr(0,N.length-1)+"0"+N.charAt(N.length-1)),M.match(/E\-/)&&N.match(/e\+/)&&(N=N.replace(/e\+/,"e")),N.replace("e","E")}var an=/# (\?+)( ?)\/( ?)(\d+)/;function OY(M,D,N){var i=parseInt(M[4],10),j=Math.round(D*i),t=Math.floor(j/i),z=j-t*i,u=i;return N+(t===0?"":""+t)+" "+(z===0?HN(" ",M[1].length+1+M[4].length):g4(z,M[1].length)+M[2]+"/"+M[3]+Ce(u,M[4].length))}function wY(M,D,N){return N+(D===0?"":""+D)+HN(" ",M[1].length+2+M[4].length)}var rn=/^#*0*\.([0#]+)/,gn=/\).*[0#]/,Tn=/\(###\) ###\\?-####/;function PD(M){for(var D="",N,i=0;i!=M.length;++i)switch(N=M.charCodeAt(i)){case 35:break;case 63:D+=" ";break;case 48:D+="0";break;default:D+=String.fromCharCode(N)}return D}function nn(M,D){var N=Math.pow(10,D);return""+Math.round(M*N)/N}function cn(M,D){var N=M-Math.floor(M),i=Math.pow(10,D);return D<(""+Math.round(N*i)).length?0:Math.round(N*i)}function AY(M,D){return D<(""+Math.round((M-Math.floor(M))*Math.pow(10,D))).length?1:0}function EY(M){return M<2147483647&&M>-2147483648?""+(M>=0?M|0:M-1|0):""+Math.floor(M)}function se(M,D,N){if(M.charCodeAt(0)===40&&!D.match(gn)){var i=D.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return N>=0?se("n",i,N):"("+se("n",i,-N)+")"}if(D.charCodeAt(D.length-1)===44)return IY(M,D,N);if(D.indexOf("%")!==-1)return lY(M,D,N);if(D.indexOf("E")!==-1)return un(D,N);if(D.charCodeAt(0)===36)return"$"+se(M,D.substr(D.charAt(1)==" "?2:1),N);var j,t,z,u,a=Math.abs(N),r=N<0?"-":"";if(D.match(/^00+$/))return r+yj(a,D.length);if(D.match(/^[#?]+$/))return j=yj(N,0),j==="0"&&(j=""),j.length>D.length?j:PD(D.substr(0,D.length-j.length))+j;if(t=D.match(an))return OY(t,a,r);if(D.match(/^#+0+$/))return r+yj(a,D.length-D.indexOf("0"));if(t=D.match(rn))return j=nn(N,t[1].length).replace(/^([^\.]+)$/,"$1."+PD(t[1])).replace(/\.$/,"."+PD(t[1])).replace(/\.(\d*)$/,function(y,o){return"."+o+HN("0",PD(t[1]).length-o.length)}),D.indexOf("0.")!==-1?j:j.replace(/^0\./,".");if(D=D.replace(/^#+([0.])/,"$1"),t=D.match(/^(0*)\.(#*)$/))return r+nn(a,t[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,t[1].length?"0.":".");if(t=D.match(/^#{1,3},##0(\.?)$/))return r+Oi(yj(a,0));if(t=D.match(/^#,##0\.([#0]*0)$/))return N<0?"-"+se(M,D,-N):Oi(""+(Math.floor(N)+AY(N,t[1].length)))+"."+Ce(cn(N,t[1].length),t[1].length);if(t=D.match(/^#,#*,#0/))return se(M,D.replace(/^#,#*,/,""),N);if(t=D.match(/^([0#]+)(\\?-([0#]+))+$/))return j=sj(se(M,D.replace(/[\\-]/g,""),N)),z=0,sj(sj(D.replace(/\\/g,"")).replace(/[0#]/g,function(y){return z=0?Pe("n",i,N):"("+Pe("n",i,-N)+")"}if(D.charCodeAt(D.length-1)===44)return xY(M,D,N);if(D.indexOf("%")!==-1)return QY(M,D,N);if(D.indexOf("E")!==-1)return sn(D,N);if(D.charCodeAt(0)===36)return"$"+Pe(M,D.substr(D.charAt(1)==" "?2:1),N);var j,t,z,u,a=Math.abs(N),r=N<0?"-":"";if(D.match(/^00+$/))return r+Ce(a,D.length);if(D.match(/^[#?]+$/))return j=""+N,N===0&&(j=""),j.length>D.length?j:PD(D.substr(0,D.length-j.length))+j;if(t=D.match(an))return wY(t,a,r);if(D.match(/^#+0+$/))return r+Ce(a,D.length-D.indexOf("0"));if(t=D.match(rn))return j=(""+N).replace(/^([^\.]+)$/,"$1."+PD(t[1])).replace(/\.$/,"."+PD(t[1])),j=j.replace(/\.(\d*)$/,function(y,o){return"."+o+HN("0",PD(t[1]).length-o.length)}),D.indexOf("0.")!==-1?j:j.replace(/^0\./,".");if(D=D.replace(/^#+([0.])/,"$1"),t=D.match(/^(0*)\.(#*)$/))return r+(""+a).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,t[1].length?"0.":".");if(t=D.match(/^#{1,3},##0(\.?)$/))return r+Oi(""+a);if(t=D.match(/^#,##0\.([#0]*0)$/))return N<0?"-"+Pe(M,D,-N):Oi(""+N)+"."+HN("0",t[1].length);if(t=D.match(/^#,#*,#0/))return Pe(M,D.replace(/^#,#*,/,""),N);if(t=D.match(/^([0#]+)(\\?-([0#]+))+$/))return j=sj(Pe(M,D.replace(/[\\-]/g,""),N)),z=0,sj(sj(D.replace(/\\/g,"")).replace(/[0#]/g,function(y){return z-1||N=="\\"&&M.charAt(D+1)=="-"&&"0#".indexOf(M.charAt(D+2))>-1););break;case"?":for(;M.charAt(++D)===N;);break;case"*":++D,(M.charAt(D)==" "||M.charAt(D)=="*")&&++D;break;case"(":case")":++D;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;D-1;);break;case" ":++D;break;default:++D;break}return!1}function kY(M,D,N,i){for(var j=[],t="",z=0,u="",a="t",r,g,T,n="H";z=12?M.charAt(z+2):u),o.t="T",n="h",z+=3):M.substr(z,5).toUpperCase()==="AM/PM"?(r!=null&&(o.v=r.H>=12?"PM":"AM"),o.t="T",z+=5,n="h"):M.substr(z,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(r!=null&&(o.v=r.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),o.t="T",z+=5,n="h"):(o.t="t",++z),r==null&&o.t==="T")return"";j[j.length]=o,a=u;break;case"[":for(t=u;M.charAt(z++)!=="]"&&z-1&&(t=(t.match(/\$([^-\[\]]*)/)||[])[1]||"$",vi(M)||(j[j.length]={t:"t",v:t}));break;case".":if(r!=null){for(t=u;++z-1;)t+=u;j[j.length]={t:"n",v:t};break;case"?":for(t=u;M.charAt(++z)===u;)t+=u;j[j.length]={t:u,v:t},a=u;break;case"*":++z,(M.charAt(z)==" "||M.charAt(z)=="*")&&++z;break;case"(":case")":j[j.length]={t:i===1?"t":u,v:u},++z;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(t=u;z-1;)t+=M.charAt(z);j[j.length]={t:"D",v:t};break;case" ":j[j.length]={t:u,v:u},++z;break;case"$":j[j.length]={t:"t",v:"$"},++z;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(u)===-1)throw new Error("unrecognized character "+u+" in "+M);j[j.length]={t:"t",v:u},++z;break}var I=0,L=0,O;for(z=j.length-1,a="t";z>=0;--z)switch(j[z].t){case"h":case"H":j[z].t=n,a="h",I<1&&(I=1);break;case"s":(O=j[z].v.match(/\.0+$/))&&(L=Math.max(L,O[0].length-1)),I<3&&(I=3);case"d":case"y":case"M":case"e":a=j[z].t;break;case"m":a==="s"&&(j[z].t="M",I<2&&(I=2));break;case"X":break;case"Z":I<1&&j[z].v.match(/[Hh]/)&&(I=1),I<2&&j[z].v.match(/[Mm]/)&&(I=2),I<3&&j[z].v.match(/[Ss]/)&&(I=3)}switch(I){case 0:break;case 1:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M),r.M>=60&&(r.M=0,++r.H);break;case 2:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M);break}var w="",A;for(z=0;z0){w.charCodeAt(0)==40?(Q=D<0&&w.charCodeAt(0)===45?-D:D,x=Mi("n",w,Q)):(Q=D<0&&i>1?-D:D,x=Mi("n",w,Q),Q<0&&j[0]&&j[0].t=="t"&&(x=x.substr(1),j[0].v="-"+j[0].v)),A=x.length-1;var f=j.length;for(z=0;z-1){f=z;break}var C=j.length;if(f===j.length&&x.indexOf("E")===-1){for(z=j.length-1;z>=0;--z)j[z]==null||"n?".indexOf(j[z].t)===-1||(A>=j[z].v.length-1?(A-=j[z].v.length,j[z].v=x.substr(A+1,j[z].v.length)):A<0?j[z].v="":(j[z].v=x.substr(0,A+1),A=-1),j[z].t="t",C=z);A>=0&&C=0;--z)if(!(j[z]==null||"n?".indexOf(j[z].t)===-1)){for(g=j[z].v.indexOf(".")>-1&&z===f?j[z].v.indexOf(".")-1:j[z].v.length-1,k=j[z].v.substr(g+1);g>=0;--g)A>=0&&(j[z].v.charAt(g)==="0"||j[z].v.charAt(g)==="#")&&(k=x.charAt(A--)+k);j[z].v=k,j[z].t="t",C=z}for(A>=0&&C-1&&z===f?j[z].v.indexOf(".")+1:0,k=j[z].v.substr(0,g);g-1&&(Q=i>1&&D<0&&z>0&&j[z-1].v==="-"?-D:D,j[z].v=Mi(j[z].t,j[z].v,Q),j[z].t="t");var W="";for(z=0;z!==j.length;++z)j[z]!=null&&(W+=j[z].v);return W}var Ln=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function on(M,D){if(D==null)return!1;var N=parseFloat(D[2]);switch(D[1]){case"=":if(M==N)return!0;break;case">":if(M>N)return!0;break;case"<":if(M":if(M!=N)return!0;break;case">=":if(M>=N)return!0;break;case"<=":if(M<=N)return!0;break}return!1}function fY(M,D){var N=YY(M),i=N.length,j=N[i-1].indexOf("@");if(i<4&&j>-1&&--i,N.length>4)throw new Error("cannot find right format for |"+N.join("|")+"|");if(typeof D!="number")return[4,N.length===4||j>-1?N[N.length-1]:"@"];switch(N.length){case 1:N=j>-1?["General","General","General",N[0]]:[N[0],N[0],N[0],"@"];break;case 2:N=j>-1?[N[0],N[0],N[0],N[1]]:[N[0],N[1],N[0],"@"];break;case 3:N=j>-1?[N[0],N[1],N[0],N[2]]:[N[0],N[1],N[2],"@"];break}var t=D>0?N[0]:D<0?N[1]:N[2];if(N[0].indexOf("[")===-1&&N[1].indexOf("[")===-1)return[i,t];if(N[0].match(/\[[=<>]/)!=null||N[1].match(/\[[=<>]/)!=null){var z=N[0].match(Ln),u=N[1].match(Ln);return on(D,z)?[i,N[0]]:on(D,u)?[i,N[1]]:[i,N[z!=null&&u!=null?2:1]]}return[i,t]}function Ni(M,D,N){N==null&&(N={});var i="";switch(typeof M){case"string":M=="m/d/yy"&&N.dateNF?i=N.dateNF:i=M;break;case"number":M==14&&N.dateNF?i=N.dateNF:i=(N.table!=null?N.table:BN)[M],i==null&&(i=N.table&&N.table[tn[M]]||BN[tn[M]]),i==null&&(i=TY[M]||"General");break}if(sz(i,0))return c4(D,N);D instanceof Date&&(D=AD(D,N.date1904));var j=fY(i,D);if(sz(j[1]))return c4(D,N);if(D===!0)D="TRUE";else if(D===!1)D="FALSE";else if(D===""||D==null)return"";return kY(j[1],D,N,j[0])}function ln(M,D){if(typeof D!="number"){D=+D||-1;for(var N=0;N<392;++N){if(BN[N]==null){D<0&&(D=N);continue}if(BN[N]==M){D=N;break}}D<0&&(D=391)}return BN[D]=M,D}function oz(M){for(var D=0;D!=392;++D)M[D]!==void 0&&ln(M[D],D)}function lz(){BN=gY()}var Iz=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function dY(M){var D=typeof M=="number"?BN[M]:M;return D=D.replace(Iz,"(\\d+)"),Iz.lastIndex=0,new RegExp("^"+D+"$")}function CY(M,D,N){var i=-1,j=-1,t=-1,z=-1,u=-1,a=-1;(D.match(Iz)||[]).forEach(function(T,n){var s=parseInt(N[n+1],10);switch(T.toLowerCase().charAt(0)){case"y":i=s;break;case"d":t=s;break;case"h":z=s;break;case"s":a=s;break;case"m":z>=0?u=s:j=s;break}}),Iz.lastIndex=0,a>=0&&u==-1&&j>=0&&(u=j,j=-1);var r=(""+(i>=0?i:new Date().getFullYear())).slice(-4)+"-"+("00"+(j>=1?j:1)).slice(-2)+"-"+("00"+(t>=1?t:1)).slice(-2);r.length==7&&(r="0"+r),r.length==8&&(r="20"+r);var g=("00"+(z>=0?z:0)).slice(-2)+":"+("00"+(u>=0?u:0)).slice(-2)+":"+("00"+(a>=0?a:0)).slice(-2);return z==-1&&u==-1&&a==-1?r:i==-1&&j==-1&&t==-1?g:r+"T"+g}var UY={"d.m":"d\\.m"};function SY(M,D){return ln(UY[M]||M,D)}var In=function(){var M={};M.version="1.2.0";function D(){for(var x=0,f=new Array(256),C=0;C!=256;++C)x=C,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,f[C]=x;return typeof Int32Array!="undefined"?new Int32Array(f):f}var N=D();function i(x){var f=0,C=0,W=0,MM=typeof Int32Array!="undefined"?new Int32Array(4096):new Array(4096);for(W=0;W!=256;++W)MM[W]=x[W];for(W=0;W!=256;++W)for(C=x[W],f=256+W;f<4096;f+=256)C=MM[f]=C>>>8^x[C&255];var NM=[];for(W=1;W!=16;++W)NM[W-1]=typeof Int32Array!="undefined"&&typeof MM.subarray=="function"?MM.subarray(W*256,W*256+256):MM.slice(W*256,W*256+256);return NM}var j=i(N),t=j[0],z=j[1],u=j[2],a=j[3],r=j[4],g=j[5],T=j[6],n=j[7],s=j[8],y=j[9],o=j[10],I=j[11],L=j[12],O=j[13],w=j[14];function A(x,f){for(var C=f^-1,W=0,MM=x.length;W>>8^N[(C^x.charCodeAt(W++))&255];return~C}function k(x,f){for(var C=f^-1,W=x.length-15,MM=0;MM>8&255]^L[x[MM++]^C>>16&255]^I[x[MM++]^C>>>24]^o[x[MM++]]^y[x[MM++]]^s[x[MM++]]^n[x[MM++]]^T[x[MM++]]^g[x[MM++]]^r[x[MM++]]^a[x[MM++]]^u[x[MM++]]^z[x[MM++]]^t[x[MM++]]^N[x[MM++]];for(W+=15;MM>>8^N[(C^x[MM++])&255];return~C}function Q(x,f){for(var C=f^-1,W=0,MM=x.length,NM=0,jM=0;W>>8^N[(C^NM)&255]:NM<2048?(C=C>>>8^N[(C^(192|NM>>6&31))&255],C=C>>>8^N[(C^(128|NM&63))&255]):NM>=55296&&NM<57344?(NM=(NM&1023)+64,jM=x.charCodeAt(W++)&1023,C=C>>>8^N[(C^(240|NM>>8&7))&255],C=C>>>8^N[(C^(128|NM>>2&63))&255],C=C>>>8^N[(C^(128|jM>>6&15|(NM&3)<<4))&255],C=C>>>8^N[(C^(128|jM&63))&255]):(C=C>>>8^N[(C^(224|NM>>12&15))&255],C=C>>>8^N[(C^(128|NM>>6&63))&255],C=C>>>8^N[(C^(128|NM&63))&255]);return~C}return M.table=N,M.bstr=A,M.buf=k,M.str=Q,M}(),SN=function(){var D={};D.version="1.2.2";function N(S,V){for(var B=S.split("/"),_=V.split("/"),H=0,X=0,LM=Math.min(B.length,_.length);H>>1,S.write_shift(2,B);var _=V.getFullYear()-1980;_=_<<4|V.getMonth()+1,_=_<<5|V.getDate(),S.write_shift(2,_)}function z(S){var V=S.read_shift(2)&65535,B=S.read_shift(2)&65535,_=new Date,H=B&31;B>>>=5;var X=B&15;B>>>=4,_.setMilliseconds(0),_.setFullYear(B+1980),_.setMonth(X-1),_.setDate(H);var LM=V&31;V>>>=5;var kM=V&63;return V>>>=6,_.setHours(V),_.setMinutes(kM),_.setSeconds(LM<<1),_}function u(S){RD(S,0);for(var V={},B=0;S.l<=S.length-4;){var _=S.read_shift(2),H=S.read_shift(2),X=S.l+H,LM={};switch(_){case 21589:B=S.read_shift(1),B&1&&(LM.mtime=S.read_shift(4)),H>5&&(B&2&&(LM.atime=S.read_shift(4)),B&4&&(LM.ctime=S.read_shift(4))),LM.mtime&&(LM.mt=new Date(LM.mtime*1e3));break;case 1:{var kM=S.read_shift(4),cM=S.read_shift(4);LM.usz=cM*Math.pow(2,32)+kM,kM=S.read_shift(4),cM=S.read_shift(4),LM.csz=cM*Math.pow(2,32)+kM}break}S.l=X,V[_]=LM}return V}var a;function r(){return a||(a=pY)}function g(S,V){if(S[0]==80&&S[1]==75)return Nu(S,V);if((S[0]|32)==109&&(S[1]|32)==105)return Qa(S,V);if(S.length<512)throw new Error("CFB file size "+S.length+" < 512");var B=3,_=512,H=0,X=0,LM=0,kM=0,cM=0,lM=[],yM=S.slice(0,512);RD(yM,0);var PM=T(yM);switch(B=PM[0],B){case 3:_=512;break;case 4:_=4096;break;case 0:if(PM[1]==0)return Nu(S,V);default:throw new Error("Major Version: Expected 3 or 4 saw "+B)}_!==512&&(yM=S.slice(0,_),RD(yM,28));var RM=S.slice(0,_);n(yM,B);var qM=yM.read_shift(4,"i");if(B===3&&qM!==0)throw new Error("# Directory Sectors: Expected 0 saw "+qM);yM.l+=4,LM=yM.read_shift(4,"i"),yM.l+=4,yM.chk("00100000","Mini Stream Cutoff Size: "),kM=yM.read_shift(4,"i"),H=yM.read_shift(4,"i"),cM=yM.read_shift(4,"i"),X=yM.read_shift(4,"i");for(var vM=-1,XM=0;XM<109&&(vM=yM.read_shift(4,"i"),!(vM<0));++XM)lM[XM]=vM;var gN=s(S,_);I(cM,X,gN,_,lM);var hN=O(gN,LM,lM,_);LM0&&kM!==jM&&(hN[kM].name="!MiniFAT"),hN[lM[0]].name="!FAT",hN.fat_addrs=lM,hN.ssz=_;var mN={},yD=[],Ie=[],ri=[];w(LM,hN,gN,yD,H,mN,Ie,kM),y(Ie,ri,yD),yD.shift();var gi={FileIndex:Ie,FullPaths:ri};return V&&V.raw&&(gi.raw={header:RM,sectors:gN}),gi}function T(S){if(S[S.l]==80&&S[S.l+1]==75)return[0,0];S.chk(aM,"Header Signature: "),S.l+=16;var V=S.read_shift(2,"u");return[S.read_shift(2,"u"),V]}function n(S,V){var B=9;switch(S.l+=2,B=S.read_shift(2)){case 9:if(V!=3)throw new Error("Sector Shift: Expected 9 saw "+B);break;case 12:if(V!=4)throw new Error("Sector Shift: Expected 12 saw "+B);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+B)}S.chk("0600","Mini Sector Shift: "),S.chk("000000000000","Reserved: ")}function s(S,V){for(var B=Math.ceil(S.length/V)-1,_=[],H=1;H0&&LM>=0;)X.push(V.slice(LM*NM,LM*NM+NM)),H-=NM,LM=Fi(B,LM*4);return X.length===0?sM(0):KN(X).slice(0,S.size)}function I(S,V,B,_,H){var X=jM;if(S===jM){if(V!==0)throw new Error("DIFAT chain shorter than expected")}else if(S!==-1){var LM=B[S],kM=(_>>>2)-1;if(!LM)return;for(var cM=0;cM=1&&I(Fi(LM,_-4),V-1,B,_,H)}}function L(S,V,B,_,H){var X=[],LM=[];H||(H=[]);var kM=_-1,cM=0,lM=0;for(cM=V;cM>=0;){H[cM]=!0,X[X.length]=cM,LM.push(S[cM]);var yM=B[Math.floor(cM*4/_)];if(lM=cM*4&kM,_<4+lM)throw new Error("FAT boundary crossed: "+cM+" 4 "+_);if(!S[yM])break;cM=Fi(S[yM],lM)}return{nodes:X,data:Un([LM])}}function O(S,V,B,_){var H=S.length,X=[],LM=[],kM=[],cM=[],lM=_-1,yM=0,PM=0,RM=0,qM=0;for(yM=0;yM=H&&(RM-=H),!LM[RM]){cM=[];var vM=[];for(PM=RM;PM>=0;){vM[PM]=!0,LM[PM]=!0,kM[kM.length]=PM,cM.push(S[PM]);var XM=B[Math.floor(PM*4/_)];if(qM=PM*4&lM,_<4+qM)throw new Error("FAT boundary crossed: "+PM+" 4 "+_);if(!S[XM]||(PM=Fi(S[XM],qM),vM[PM]))break}X[RM]={nodes:kM,data:Un([cM])}}return X}function w(S,V,B,_,H,X,LM,kM){for(var cM=0,lM=_.length?2:0,yM=V[S].data,PM=0,RM=0,qM;PM0&&cM!==jM&&(V[cM].name="!StreamData")):XM.size>=4096?(XM.storage="fat",V[XM.start]===void 0&&(V[XM.start]=L(B,XM.start,V.fat_addrs,V.ssz)),V[XM.start].name=XM.name,XM.content=V[XM.start].data.slice(0,XM.size)):(XM.storage="minifat",XM.size<0?XM.size=0:cM!==jM&&XM.start!==jM&&V[cM]&&(XM.content=o(XM,V[cM].data,(V[kM]||{}).data))),XM.content&&RD(XM.content,0),X[qM]=XM,LM.push(XM)}}function A(S,V){return new Date((ze(S,V+4)/1e7*Math.pow(2,32)+ze(S,V)/1e7-11644473600)*1e3)}function k(S,V){return r(),g(a.readFileSync(S),V)}function Q(S,V){var B=V&&V.type;switch(B||QN&&Buffer.isBuffer(S)&&(B="buffer"),B||"base64"){case"file":return k(S,V);case"base64":return g(je(Ii(S)),V);case"binary":return g(je(S),V)}return g(S,V)}function x(S,V){var B=V||{},_=B.root||"Root Entry";if(S.FullPaths||(S.FullPaths=[]),S.FileIndex||(S.FileIndex=[]),S.FullPaths.length!==S.FileIndex.length)throw new Error("inconsistent CFB structure");S.FullPaths.length===0&&(S.FullPaths[0]=_+"/",S.FileIndex[0]={name:_,type:5}),B.CLSID&&(S.FileIndex[0].clsid=B.CLSID),f(S)}function f(S){var V="Sh33tJ5";if(!SN.find(S,"/"+V)){var B=sM(4);B[0]=55,B[1]=B[3]=50,B[2]=54,S.FileIndex.push({name:V,type:2,content:B,size:4,L:69,R:69,C:69}),S.FullPaths.push(S.FullPaths[0]+V),C(S)}}function C(S,V){x(S);for(var B=!1,_=!1,H=S.FullPaths.length-1;H>=0;--H){var X=S.FileIndex[H];switch(X.type){case 0:_?B=!0:(S.FileIndex.pop(),S.FullPaths.pop());break;case 1:case 2:case 5:_=!0,isNaN(X.R*X.L*X.C)&&(B=!0),X.R>-1&&X.L>-1&&X.R==X.L&&(B=!0);break;default:B=!0;break}}if(!(!B&&!V)){var LM=new Date(1987,1,19),kM=0,cM=Object.create?Object.create(null):{},lM=[];for(H=0;H1?1:-1,PM.size=0,PM.type=5;else if(RM.slice(-1)=="/"){for(kM=H+1;kM=lM.length?-1:kM,kM=H+1;kM=lM.length?-1:kM,PM.type=1}else i(S.FullPaths[H+1]||"")==i(RM)&&(PM.R=H+1),PM.type=2}}}function W(S,V){var B=V||{};if(B.fileType=="mad")return Ya(S,B);switch(C(S),B.fileType){case"zip":return Du(S,B)}var _=function(qM){for(var vM=0,XM=0,gN=0;gN0&&(mN<4096?vM+=mN+63>>6:XM+=mN+511>>9)}}for(var yD=qM.FullPaths.length+3>>2,Ie=vM+7>>3,ri=vM+127>>7,gi=Ie+XM+yD+ri,Oe=gi+127>>7,ki=Oe<=109?0:Math.ceil((Oe-109)/127);gi+Oe+ki+127>>7>Oe;)ki=++Oe<=109?0:Math.ceil((Oe-109)/127);var we=[1,ki,Oe,ri,yD,XM,vM,0];return qM.FileIndex[0].size=vM<<6,we[7]=(qM.FileIndex[0].start=we[0]+we[1]+we[2]+we[3]+we[4]+we[5])+(we[6]+7>>3),we}(S),H=sM(_[7]<<9),X=0,LM=0;{for(X=0;X<8;++X)H.write_shift(1,tM[X]);for(X=0;X<8;++X)H.write_shift(2,0);for(H.write_shift(2,62),H.write_shift(2,3),H.write_shift(2,65534),H.write_shift(2,9),H.write_shift(2,6),X=0;X<3;++X)H.write_shift(2,0);for(H.write_shift(4,0),H.write_shift(4,_[2]),H.write_shift(4,_[0]+_[1]+_[2]+_[3]-1),H.write_shift(4,0),H.write_shift(4,1<<12),H.write_shift(4,_[3]?_[0]+_[1]+_[2]-1:jM),H.write_shift(4,_[3]),H.write_shift(-4,_[1]?_[0]-1:jM),H.write_shift(4,_[1]),X=0;X<109;++X)H.write_shift(-4,X<_[2]?_[1]+X:-1)}if(_[1])for(LM=0;LM<_[1];++LM){for(;X<236+LM*127;++X)H.write_shift(-4,X<_[2]?_[1]+X:-1);H.write_shift(-4,LM===_[1]-1?jM:LM+1)}var kM=function(qM){for(LM+=qM;X>9)));for(kM(_[6]+7>>3);H.l&511;)H.write_shift(-4,m.ENDOFCHAIN);for(LM=X=0,cM=0;cM=4096)&&(yM.start=LM,kM(lM+63>>6)));for(;H.l&511;)H.write_shift(-4,m.ENDOFCHAIN);for(X=0;X<_[4]<<2;++X){var PM=S.FullPaths[X];if(!PM||PM.length===0){for(cM=0;cM<17;++cM)H.write_shift(4,0);for(cM=0;cM<3;++cM)H.write_shift(4,-1);for(cM=0;cM<12;++cM)H.write_shift(4,0);continue}yM=S.FileIndex[X],X===0&&(yM.start=yM.size?yM.start-1:jM);var RM=X===0&&B.root||yM.name;if(RM.length>32&&(console.error("Name "+RM+" will be truncated to "+RM.slice(0,32)),RM=RM.slice(0,32)),lM=2*(RM.length+1),H.write_shift(64,RM,"utf16le"),H.write_shift(2,lM),H.write_shift(1,yM.type),H.write_shift(1,yM.color),H.write_shift(-4,yM.L),H.write_shift(-4,yM.R),H.write_shift(-4,yM.C),yM.clsid)H.write_shift(16,yM.clsid,"hex");else for(cM=0;cM<4;++cM)H.write_shift(4,0);H.write_shift(4,yM.state||0),H.write_shift(4,0),H.write_shift(4,0),H.write_shift(4,0),H.write_shift(4,0),H.write_shift(4,yM.start),H.write_shift(4,yM.size),H.write_shift(4,0)}for(X=1;X=4096)if(H.l=yM.start+1<<9,QN&&Buffer.isBuffer(yM.content))yM.content.copy(H,H.l,0,yM.size),H.l+=yM.size+511&-512;else{for(cM=0;cM0&&yM.size<4096)if(QN&&Buffer.isBuffer(yM.content))yM.content.copy(H,H.l,0,yM.size),H.l+=yM.size+63&-64;else{for(cM=0;cM>16|V>>8|V)&255}for(var v=typeof Uint8Array!="undefined",P=v?new Uint8Array(1<<8):[],p=0;p<1<<8;++p)P[p]=G(p);function Z(S,V){var B=P[S&255];return V<=8?B>>>8-V:(B=B<<8|P[S>>8&255],V<=16?B>>>16-V:(B=B<<8|P[S>>16&255],B>>>24-V))}function zM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=6?0:S[_+1]<<8))>>>B&3}function TM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=5?0:S[_+1]<<8))>>>B&7}function DM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=4?0:S[_+1]<<8))>>>B&15}function AM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=3?0:S[_+1]<<8))>>>B&31}function hM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=1?0:S[_+1]<<8))>>>B&127}function KM(S,V,B){var _=V&7,H=V>>>3,X=(1<>>_;return B<8-_||(LM|=S[H+1]<<8-_,B<16-_)||(LM|=S[H+2]<<16-_,B<24-_)||(LM|=S[H+3]<<24-_),LM&X}function iN(S,V,B){var _=V&7,H=V>>>3;return _<=5?S[H]|=(B&7)<<_:(S[H]|=B<<_&255,S[H+1]=(B&7)>>8-_),V+3}function oN(S,V,B){var _=V&7,H=V>>>3;return B=(B&1)<<_,S[H]|=B,V+1}function xM(S,V,B){var _=V&7,H=V>>>3;return B<<=_,S[H]|=B&255,B>>>=8,S[H+1]=B,V+8}function EM(S,V,B){var _=V&7,H=V>>>3;return B<<=_,S[H]|=B&255,B>>>=8,S[H+1]=B&255,S[H+2]=B>>>8,V+16}function TN(S,V){var B=S.length,_=2*B>V?2*B:V+5,H=0;if(B>=V)return S;if(QN){var X=Dn(_);if(S.copy)S.copy(X);else for(;H>_-PM,LM=(1<<_+4-PM)-1;LM>=0;--LM)V[kM|LM<0;)cM[cM.l++]=kM[lM++]}return cM.l}function LM(kM,cM){for(var lM=0,yM=0,PM=v?new Uint16Array(32768):[];yM0;)cM[cM.l++]=kM[yM++];lM=cM.l*8;continue}lM=iN(cM,lM,+(yM+RM==kM.length)+2);for(var qM=0;RM-- >0;){var vM=kM[yM];qM=(qM<<5^vM)&32767;var XM=-1,gN=0;if((XM=PM[qM])&&(XM|=yM&-32768,XM>yM&&(XM-=32768),XM2){vM=H[gN],vM<=22?lM=xM(cM,lM,P[vM+1]>>1)-1:(xM(cM,lM,3),lM+=5,xM(cM,lM,P[vM-23]>>5),lM+=3);var hN=vM<8?0:vM-4>>2;hN>0&&(EM(cM,lM,gN-uM[vM]),lM+=hN),vM=V[yM-XM],lM=xM(cM,lM,P[vM]>>3),lM-=3;var mN=vM<4?0:vM-2>>1;mN>0&&(EM(cM,lM,yM-XM-d[vM]),lM+=mN);for(var yD=0;yD>8-vM;for(var XM=(1<<7-vM)-1;XM>=0;--XM)mD[qM|XM<>>=3){case 16:for(X=3+zM(S,V),V+=2,qM=gN[gN.length-1];X-- >0;)gN.push(qM);break;case 17:for(X=3+TM(S,V),V+=3;X-- >0;)gN.push(0);break;case 18:for(X=11+hM(S,V),V+=7;X-- >0;)gN.push(0);break;default:gN.push(qM),cM>>0,kM=0,cM=0;(_&1)==0;){if(_=TM(S,B),B+=3,_>>>1==0){B&7&&(B+=8-(B&7));var lM=S[B>>>3]|S[(B>>>3)+1]<<8;if(B+=32,lM>0)for(!V&&LM0;)H[X++]=S[B>>>3],B+=8;continue}else _>>1==1?(kM=9,cM=5):(B=zi(S,B),kM=GN,cM=sD);for(;;){!V&&LM>>1==1?QM[yM]:zN[yM];if(B+=PM&15,PM>>>=4,(PM>>>8&255)===0)H[X++]=PM;else{if(PM==256)break;PM-=257;var RM=PM<8?0:PM-4>>2;RM>5&&(RM=0);var qM=X+uM[PM];RM>0&&(qM+=KM(S,B,RM),B+=RM),yM=KM(S,B,cM),PM=_>>>1==1?CM[yM]:rN[yM],B+=PM&15,PM>>>=4;var vM=PM<4?0:PM-2>>1,XM=d[PM];for(vM>0&&(XM+=KM(S,B,vM),B+=vM),!V&&LM>>3]:[H.slice(0,X),B+7>>>3]}function qz(S,V){var B=S.slice(S.l||0),_=Oa(B,V);return S.l+=_[1],_[0]}function Mu(S,V){if(S)typeof console!="undefined"&&console.error(V);else throw new Error(V)}function Nu(S,V){var B=S;RD(B,0);var _=[],H=[],X={FileIndex:_,FullPaths:H};x(X,{root:V.root});for(var LM=B.length-4;(B[LM]!=80||B[LM+1]!=75||B[LM+2]!=5||B[LM+3]!=6)&&LM>=0;)--LM;B.l=LM+4,B.l+=4;var kM=B.read_shift(2);B.l+=6;var cM=B.read_shift(4);for(B.l=cM,LM=0;LM!!a&&a.id===t);u?N=u:j.length&&j.forEach(a=>{if(a&&a.children){let r=a.children;r&&r.length&&i(r,t)}})}}}return N}const MY={class:"layui-tree-select-content"},NY={name:"LayTreeSelect"},DY=e.defineComponent({...NY,props:{data:null,modelValue:null,disabled:{type:Boolean,default:!1},placeholder:{default:"\u8BF7\u9009\u62E9"},multiple:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!1},collapseTagsTooltip:{type:Boolean,default:!0},minCollapsedNum:{default:3},size:{default:"md"},checkStrictly:{type:Boolean,default:!0}},emits:["update:modelValue","change","search"],setup(M,{emit:D}){const N=M,i=e.ref(),j=e.ref(["1"]),t=e.ref(!1),z=e.ref(),u=e.computed({get(){return N.modelValue},set(g){D("update:modelValue",g),D("change",g)}}),a=e.computed({get(){return N.multiple?N.modelValue:[]},set(g){N.multiple&&(D("update:modelValue",g),D("change",g))}});e.watch(u,()=>{if(N.multiple)j.value=u.value.map(g=>{const T=qT(N.data,g);return T.label=T.title,T.closable=!T.disabled,T});else{const g=qT(N.data,u.value);g&&(i.value=g.title)}},{immediate:!0,deep:!0});const r=g=>{z.value.hide(),u.value=g.id};return(g,T)=>{const n=e.resolveComponent("lay-icon"),s=e.resolveComponent("lay-tag-input"),y=e.resolveComponent("lay-input"),o=e.resolveComponent("lay-tree"),I=e.resolveComponent("lay-dropdown");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["layui-tree-select",{"layui-disabled":M.disabled}])},[e.createVNode(I,{ref_key:"dropdownRef",ref:z,disabled:M.disabled,"update-at-scroll":!0,onShow:T[4]||(T[4]=L=>t.value=!0),onHide:T[5]||(T[5]=L=>t.value=!1)},{content:e.withCtx(()=>[e.createElementVNode("div",MY,[e.createVNode(o,{data:M.data,onlyIconControl:!0,"show-checkbox":M.multiple,"check-strictly":M.checkStrictly,selectedKey:e.unref(u),"onUpdate:selectedKey":T[2]||(T[2]=L=>e.isRef(u)?u.value=L:null),checkedKeys:e.unref(a),"onUpdate:checkedKeys":T[3]||(T[3]=L=>e.isRef(a)?a.value=L:null),onNodeClick:r},null,8,["data","show-checkbox","check-strictly","selectedKey","checkedKeys"])])]),default:e.withCtx(()=>[M.multiple?(e.openBlock(),e.createBlock(s,{key:0,size:M.size,"allow-clear":M.allowClear,placeholder:M.placeholder,collapseTagsTooltip:M.collapseTagsTooltip,minCollapsedNum:M.minCollapsedNum,disabledInput:!0,modelValue:j.value,"onUpdate:modelValue":T[0]||(T[0]=L=>j.value=L)},{suffix:e.withCtx(()=>[e.createVNode(n,{type:"layui-icon-triangle-d",class:e.normalizeClass({triangle:t.value})},null,8,["class"])]),_:1},8,["size","allow-clear","placeholder","collapseTagsTooltip","minCollapsedNum","modelValue"])):(e.openBlock(),e.createBlock(y,{key:1,modelValue:i.value,"onUpdate:modelValue":T[1]||(T[1]=L=>i.value=L),placeholder:M.placeholder,disabled:M.disabled,readonly:!0,size:M.size},{suffix:e.withCtx(()=>[e.createVNode(n,{type:"layui-icon-triangle-d",class:e.normalizeClass({triangle:t.value})},null,8,["class"])]),_:1},8,["modelValue","placeholder","disabled","size"]))]),_:1},8,["disabled"])],2)}}}),Mn=JM(DY);/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var az={};az.version="0.20.0";var qe=1200,Dt,et=function(M){qe=M};function eY(){et(1200)}function iY(M){for(var D=[],N=0;N>1;++N)D[N]=String.fromCharCode(M.charCodeAt(2*N+1)+(M.charCodeAt(2*N)<<8));return D.join("")}var rz=function(D){return String.fromCharCode(D)},Nn=function(D){return String.fromCharCode(D)},fD="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function gz(M){for(var D="",N=0,i=0,j=0,t=0,z=0,u=0,a=0,r=0;r>2,i=M.charCodeAt(r++),z=(N&3)<<4|i>>4,j=M.charCodeAt(r++),u=(i&15)<<2|j>>6,a=j&63,isNaN(i)?u=a=64:isNaN(j)&&(a=64),D+=fD.charAt(t)+fD.charAt(z)+fD.charAt(u)+fD.charAt(a);return D}function jY(M){for(var D="",N=0,i=0,j=0,t=0,z=0,u=0,a=0,r=0;r255&&(N=95),t=N>>2,i=M.charCodeAt(r++),i>255&&(i=95),z=(N&3)<<4|i>>4,j=M.charCodeAt(r++),j>255&&(j=95),u=(i&15)<<2|j>>6,a=j&63,isNaN(i)?u=a=64:isNaN(j)&&(a=64),D+=fD.charAt(t)+fD.charAt(z)+fD.charAt(u)+fD.charAt(a);return D}function tY(M){for(var D="",N=0,i=0,j=0,t=0,z=0,u=0,a=0,r=0;r>2,i=M[r++],z=(N&3)<<4|i>>4,j=M[r++],u=(i&15)<<2|j>>6,a=j&63,isNaN(i)?u=a=64:isNaN(j)&&(a=64),D+=fD.charAt(t)+fD.charAt(z)+fD.charAt(u)+fD.charAt(a);return D}function Ii(M){var D="",N=0,i=0,j=0,t=0,z=0,u=0,a=0;M=M.replace(/^data:([^\/]+\/[^\/]+)?;base64\,/,"").replace(/[^\w\+\/\=]/g,"");for(var r=0;r>4,D+=String.fromCharCode(N),u=fD.indexOf(M.charAt(r++)),i=(z&15)<<4|u>>2,u!==64&&(D+=String.fromCharCode(i)),a=fD.indexOf(M.charAt(r++)),j=(u&3)<<6|a,a!==64&&(D+=String.fromCharCode(j));return D}var QN=function(){return typeof Buffer!="undefined"&&typeof process!="undefined"&&typeof process.versions!="undefined"&&!!process.versions.node}(),_e=function(){if(typeof Buffer!="undefined"){var M=!Buffer.from;if(!M)try{Buffer.from("foo","utf8")}catch{M=!0}return M?function(D,N){return N?new Buffer(D,N):new Buffer(D)}:Buffer.from.bind(Buffer)}return function(){}}(),it=function(){if(typeof Buffer=="undefined")return!1;var M=_e([65,0]);if(!M)return!1;var D=M.toString("utf16le");return D.length==1}();function Bi(M){return QN?Buffer.alloc?Buffer.alloc(M):new Buffer(M):typeof Uint8Array!="undefined"?new Uint8Array(M):new Array(M)}function Dn(M){return QN?Buffer.allocUnsafe?Buffer.allocUnsafe(M):new Buffer(M):typeof Uint8Array!="undefined"?new Uint8Array(M):new Array(M)}var je=function(D){return QN?_e(D,"binary"):D.split("").map(function(N){return N.charCodeAt(0)&255})};function Tz(M){if(typeof ArrayBuffer=="undefined")return je(M);for(var D=new ArrayBuffer(M.length),N=new Uint8Array(D),i=0;i!=M.length;++i)N[i]=M.charCodeAt(i)&255;return D}function bi(M){if(Array.isArray(M))return M.map(function(i){return String.fromCharCode(i)}).join("");for(var D=[],N=0;N>6&31,j[N++]=128|z&63;else if(z>=55296&&z<57344){z=(z&1023)+64;var u=M.charCodeAt(++t)&1023;j[N++]=240|z>>8&7,j[N++]=128|z>>2&63,j[N++]=128|u>>6&15|(z&3)<<4,j[N++]=128|u&63}else j[N++]=224|z>>12&15,j[N++]=128|z>>6&63,j[N++]=128|z&63;N>i&&(D.push(j.slice(0,N)),N=0,j=Bi(65535),i=65530)}return D.push(j.slice(0,N)),KN(D)}var jt=/\u0000/g,nz=/[\u0001-\u0006]/g;function sj(M){for(var D="",N=M.length-1;N>=0;)D+=M.charAt(N--);return D}function Ce(M,D){var N=""+M;return N.length>=D?N:HN("0",D-N.length)+N}function g4(M,D){var N=""+M;return N.length>=D?N:HN(" ",D-N.length)+N}function cz(M,D){var N=""+M;return N.length>=D?N:N+HN(" ",D-N.length)}function aY(M,D){var N=""+Math.round(M);return N.length>=D?N:HN("0",D-N.length)+N}function rY(M,D){var N=""+M;return N.length>=D?N:HN("0",D-N.length)+N}var en=Math.pow(2,32);function yj(M,D){if(M>en||M<-en)return aY(M,D);var N=Math.round(M);return rY(N,D)}function sz(M,D){return D=D||0,M.length>=7+D&&(M.charCodeAt(D)|32)===103&&(M.charCodeAt(D+1)|32)===101&&(M.charCodeAt(D+2)|32)===110&&(M.charCodeAt(D+3)|32)===101&&(M.charCodeAt(D+4)|32)===114&&(M.charCodeAt(D+5)|32)===97&&(M.charCodeAt(D+6)|32)===108}var jn=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],T4=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function gY(M){return M||(M={}),M[0]="General",M[1]="0",M[2]="0.00",M[3]="#,##0",M[4]="#,##0.00",M[9]="0%",M[10]="0.00%",M[11]="0.00E+00",M[12]="# ?/?",M[13]="# ??/??",M[14]="m/d/yy",M[15]="d-mmm-yy",M[16]="d-mmm",M[17]="mmm-yy",M[18]="h:mm AM/PM",M[19]="h:mm:ss AM/PM",M[20]="h:mm",M[21]="h:mm:ss",M[22]="m/d/yy h:mm",M[37]="#,##0 ;(#,##0)",M[38]="#,##0 ;[Red](#,##0)",M[39]="#,##0.00;(#,##0.00)",M[40]="#,##0.00;[Red](#,##0.00)",M[45]="mm:ss",M[46]="[h]:mm:ss",M[47]="mmss.0",M[48]="##0.0E+0",M[49]="@",M[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',M}var BN={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'},tn={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},TY={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function yz(M,D,N){for(var i=M<0?-1:1,j=M*i,t=0,z=1,u=0,a=1,r=0,g=0,T=Math.floor(j);rD&&(r>D?(g=a,u=t):(g=r,u=z)),!N)return[0,i*u,g];var n=Math.floor(i*u/g);return[n,i*u-n*g,g]}function Lz(M,D,N){if(M>2958465||M<0)return null;var i=M|0,j=Math.floor(86400*(M-i)),t=0,z=[],u={D:i,T:j,u:86400*(M-i)-j,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(u.u)<1e-6&&(u.u=0),D&&D.date1904&&(i+=1462),u.u>.9999&&(u.u=0,++j==86400&&(u.T=j=0,++i,++u.D)),i===60)z=N?[1317,10,29]:[1900,2,29],t=3;else if(i===0)z=N?[1317,8,29]:[1900,1,0],t=6;else{i>60&&--i;var a=new Date(1900,0,1);a.setDate(a.getDate()+i-1),z=[a.getFullYear(),a.getMonth()+1,a.getDate()],t=a.getDay(),i<60&&(t=(t+6)%7),N&&(t=LY(a,z))}return u.y=z[0],u.m=z[1],u.d=z[2],u.S=j%60,j=Math.floor(j/60),u.M=j%60,j=Math.floor(j/60),u.H=j,u.q=t,u}function n4(M){return M.indexOf(".")==-1?M:M.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function nY(M){return M.indexOf("E")==-1?M:M.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function cY(M){var D=M<0?12:11,N=n4(M.toFixed(12));return N.length<=D||(N=M.toPrecision(10),N.length<=D)?N:M.toExponential(5)}function sY(M){var D=n4(M.toFixed(11));return D.length>(M<0?12:11)||D==="0"||D==="-0"?M.toPrecision(6):D}function yY(M){var D=Math.floor(Math.log(Math.abs(M))*Math.LOG10E),N;return D>=-4&&D<=-1?N=M.toPrecision(10+D):Math.abs(D)<=9?N=cY(M):D===10?N=M.toFixed(10).substr(0,12):N=sY(M),n4(nY(N.toUpperCase()))}function c4(M,D){switch(typeof M){case"string":return M;case"boolean":return M?"TRUE":"FALSE";case"number":return(M|0)===M?M.toString(10):yY(M);case"undefined":return"";case"object":if(M==null)return"";if(M instanceof Date)return Ni(14,AD(M,D&&D.date1904),D)}throw new Error("unsupported value in General format: "+M)}function LY(M,D){D[0]-=581;var N=M.getDay();return M<60&&(N=(N+6)%7),N}function oY(M,D,N,i){var j="",t=0,z=0,u=N.y,a,r=0;switch(M){case 98:u=N.y+543;case 121:switch(D.length){case 1:case 2:a=u%100,r=2;break;default:a=u%1e4,r=4;break}break;case 109:switch(D.length){case 1:case 2:a=N.m,r=D.length;break;case 3:return T4[N.m-1][1];case 5:return T4[N.m-1][0];default:return T4[N.m-1][2]}break;case 100:switch(D.length){case 1:case 2:a=N.d,r=D.length;break;case 3:return jn[N.q][0];default:return jn[N.q][1]}break;case 104:switch(D.length){case 1:case 2:a=1+(N.H+11)%12,r=D.length;break;default:throw"bad hour format: "+D}break;case 72:switch(D.length){case 1:case 2:a=N.H,r=D.length;break;default:throw"bad hour format: "+D}break;case 77:switch(D.length){case 1:case 2:a=N.M,r=D.length;break;default:throw"bad minute format: "+D}break;case 115:if(D!="s"&&D!="ss"&&D!=".0"&&D!=".00"&&D!=".000")throw"bad second format: "+D;return N.u===0&&(D=="s"||D=="ss")?Ce(N.S,D.length):(i>=2?z=i===3?1e3:100:z=i===1?10:1,t=Math.round(z*(N.S+N.u)),t>=60*z&&(t=0),D==="s"?t===0?"0":""+t/z:(j=Ce(t,2+i),D==="ss"?j.substr(0,2):"."+j.substr(2,D.length-1)));case 90:switch(D){case"[h]":case"[hh]":a=N.D*24+N.H;break;case"[m]":case"[mm]":a=(N.D*24+N.H)*60+N.M;break;case"[s]":case"[ss]":a=((N.D*24+N.H)*60+N.M)*60+Math.round(N.S+N.u);break;default:throw"bad abstime format: "+D}r=D.length===3?1:2;break;case 101:a=u,r=1;break}var g=r>0?Ce(a,r):"";return g}function Oi(M){var D=3;if(M.length<=D)return M;for(var N=M.length%D,i=M.substr(0,N);N!=M.length;N+=D)i+=(i.length>0?",":"")+M.substr(N,D);return i}var zn=/%/g;function lY(M,D,N){var i=D.replace(zn,""),j=D.length-i.length;return Mi(M,i,N*Math.pow(10,2*j))+HN("%",j)}function IY(M,D,N){for(var i=D.length-1;D.charCodeAt(i-1)===44;)--i;return Mi(M,D.substr(0,i),N/Math.pow(10,3*(D.length-i)))}function un(M,D){var N,i=M.indexOf("E")-M.indexOf(".")-1;if(M.match(/^#+0.0E\+0$/)){if(D==0)return"0.0E+0";if(D<0)return"-"+un(M,-D);var j=M.indexOf(".");j===-1&&(j=M.indexOf("E"));var t=Math.floor(Math.log(D)*Math.LOG10E)%j;if(t<0&&(t+=j),N=(D/Math.pow(10,t)).toPrecision(i+1+(j+t)%j),N.indexOf("e")===-1){var z=Math.floor(Math.log(D)*Math.LOG10E);for(N.indexOf(".")===-1?N=N.charAt(0)+"."+N.substr(1)+"E+"+(z-N.length+t):N+="E+"+(z-t);N.substr(0,2)==="0.";)N=N.charAt(0)+N.substr(2,j)+"."+N.substr(2+j),N=N.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");N=N.replace(/\+-/,"-")}N=N.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(u,a,r,g){return a+r+g.substr(0,(j+t)%j)+"."+g.substr(t)+"E"})}else N=D.toExponential(i);return M.match(/E\+00$/)&&N.match(/e[+-]\d$/)&&(N=N.substr(0,N.length-1)+"0"+N.charAt(N.length-1)),M.match(/E\-/)&&N.match(/e\+/)&&(N=N.replace(/e\+/,"e")),N.replace("e","E")}var an=/# (\?+)( ?)\/( ?)(\d+)/;function OY(M,D,N){var i=parseInt(M[4],10),j=Math.round(D*i),t=Math.floor(j/i),z=j-t*i,u=i;return N+(t===0?"":""+t)+" "+(z===0?HN(" ",M[1].length+1+M[4].length):g4(z,M[1].length)+M[2]+"/"+M[3]+Ce(u,M[4].length))}function wY(M,D,N){return N+(D===0?"":""+D)+HN(" ",M[1].length+2+M[4].length)}var rn=/^#*0*\.([0#]+)/,gn=/\).*[0#]/,Tn=/\(###\) ###\\?-####/;function PD(M){for(var D="",N,i=0;i!=M.length;++i)switch(N=M.charCodeAt(i)){case 35:break;case 63:D+=" ";break;case 48:D+="0";break;default:D+=String.fromCharCode(N)}return D}function nn(M,D){var N=Math.pow(10,D);return""+Math.round(M*N)/N}function cn(M,D){var N=M-Math.floor(M),i=Math.pow(10,D);return D<(""+Math.round(N*i)).length?0:Math.round(N*i)}function AY(M,D){return D<(""+Math.round((M-Math.floor(M))*Math.pow(10,D))).length?1:0}function EY(M){return M<2147483647&&M>-2147483648?""+(M>=0?M|0:M-1|0):""+Math.floor(M)}function se(M,D,N){if(M.charCodeAt(0)===40&&!D.match(gn)){var i=D.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return N>=0?se("n",i,N):"("+se("n",i,-N)+")"}if(D.charCodeAt(D.length-1)===44)return IY(M,D,N);if(D.indexOf("%")!==-1)return lY(M,D,N);if(D.indexOf("E")!==-1)return un(D,N);if(D.charCodeAt(0)===36)return"$"+se(M,D.substr(D.charAt(1)==" "?2:1),N);var j,t,z,u,a=Math.abs(N),r=N<0?"-":"";if(D.match(/^00+$/))return r+yj(a,D.length);if(D.match(/^[#?]+$/))return j=yj(N,0),j==="0"&&(j=""),j.length>D.length?j:PD(D.substr(0,D.length-j.length))+j;if(t=D.match(an))return OY(t,a,r);if(D.match(/^#+0+$/))return r+yj(a,D.length-D.indexOf("0"));if(t=D.match(rn))return j=nn(N,t[1].length).replace(/^([^\.]+)$/,"$1."+PD(t[1])).replace(/\.$/,"."+PD(t[1])).replace(/\.(\d*)$/,function(y,o){return"."+o+HN("0",PD(t[1]).length-o.length)}),D.indexOf("0.")!==-1?j:j.replace(/^0\./,".");if(D=D.replace(/^#+([0.])/,"$1"),t=D.match(/^(0*)\.(#*)$/))return r+nn(a,t[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,t[1].length?"0.":".");if(t=D.match(/^#{1,3},##0(\.?)$/))return r+Oi(yj(a,0));if(t=D.match(/^#,##0\.([#0]*0)$/))return N<0?"-"+se(M,D,-N):Oi(""+(Math.floor(N)+AY(N,t[1].length)))+"."+Ce(cn(N,t[1].length),t[1].length);if(t=D.match(/^#,#*,#0/))return se(M,D.replace(/^#,#*,/,""),N);if(t=D.match(/^([0#]+)(\\?-([0#]+))+$/))return j=sj(se(M,D.replace(/[\\-]/g,""),N)),z=0,sj(sj(D.replace(/\\/g,"")).replace(/[0#]/g,function(y){return z=0?Pe("n",i,N):"("+Pe("n",i,-N)+")"}if(D.charCodeAt(D.length-1)===44)return xY(M,D,N);if(D.indexOf("%")!==-1)return QY(M,D,N);if(D.indexOf("E")!==-1)return sn(D,N);if(D.charCodeAt(0)===36)return"$"+Pe(M,D.substr(D.charAt(1)==" "?2:1),N);var j,t,z,u,a=Math.abs(N),r=N<0?"-":"";if(D.match(/^00+$/))return r+Ce(a,D.length);if(D.match(/^[#?]+$/))return j=""+N,N===0&&(j=""),j.length>D.length?j:PD(D.substr(0,D.length-j.length))+j;if(t=D.match(an))return wY(t,a,r);if(D.match(/^#+0+$/))return r+Ce(a,D.length-D.indexOf("0"));if(t=D.match(rn))return j=(""+N).replace(/^([^\.]+)$/,"$1."+PD(t[1])).replace(/\.$/,"."+PD(t[1])),j=j.replace(/\.(\d*)$/,function(y,o){return"."+o+HN("0",PD(t[1]).length-o.length)}),D.indexOf("0.")!==-1?j:j.replace(/^0\./,".");if(D=D.replace(/^#+([0.])/,"$1"),t=D.match(/^(0*)\.(#*)$/))return r+(""+a).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,t[1].length?"0.":".");if(t=D.match(/^#{1,3},##0(\.?)$/))return r+Oi(""+a);if(t=D.match(/^#,##0\.([#0]*0)$/))return N<0?"-"+Pe(M,D,-N):Oi(""+N)+"."+HN("0",t[1].length);if(t=D.match(/^#,#*,#0/))return Pe(M,D.replace(/^#,#*,/,""),N);if(t=D.match(/^([0#]+)(\\?-([0#]+))+$/))return j=sj(Pe(M,D.replace(/[\\-]/g,""),N)),z=0,sj(sj(D.replace(/\\/g,"")).replace(/[0#]/g,function(y){return z-1||N=="\\"&&M.charAt(D+1)=="-"&&"0#".indexOf(M.charAt(D+2))>-1););break;case"?":for(;M.charAt(++D)===N;);break;case"*":++D,(M.charAt(D)==" "||M.charAt(D)=="*")&&++D;break;case"(":case")":++D;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;D-1;);break;case" ":++D;break;default:++D;break}return!1}function kY(M,D,N,i){for(var j=[],t="",z=0,u="",a="t",r,g,T,n="H";z=12?M.charAt(z+2):u),o.t="T",n="h",z+=3):M.substr(z,5).toUpperCase()==="AM/PM"?(r!=null&&(o.v=r.H>=12?"PM":"AM"),o.t="T",z+=5,n="h"):M.substr(z,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(r!=null&&(o.v=r.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),o.t="T",z+=5,n="h"):(o.t="t",++z),r==null&&o.t==="T")return"";j[j.length]=o,a=u;break;case"[":for(t=u;M.charAt(z++)!=="]"&&z-1&&(t=(t.match(/\$([^-\[\]]*)/)||[])[1]||"$",vi(M)||(j[j.length]={t:"t",v:t}));break;case".":if(r!=null){for(t=u;++z-1;)t+=u;j[j.length]={t:"n",v:t};break;case"?":for(t=u;M.charAt(++z)===u;)t+=u;j[j.length]={t:u,v:t},a=u;break;case"*":++z,(M.charAt(z)==" "||M.charAt(z)=="*")&&++z;break;case"(":case")":j[j.length]={t:i===1?"t":u,v:u},++z;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(t=u;z-1;)t+=M.charAt(z);j[j.length]={t:"D",v:t};break;case" ":j[j.length]={t:u,v:u},++z;break;case"$":j[j.length]={t:"t",v:"$"},++z;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(u)===-1)throw new Error("unrecognized character "+u+" in "+M);j[j.length]={t:"t",v:u},++z;break}var I=0,L=0,O;for(z=j.length-1,a="t";z>=0;--z)switch(j[z].t){case"h":case"H":j[z].t=n,a="h",I<1&&(I=1);break;case"s":(O=j[z].v.match(/\.0+$/))&&(L=Math.max(L,O[0].length-1)),I<3&&(I=3);case"d":case"y":case"M":case"e":a=j[z].t;break;case"m":a==="s"&&(j[z].t="M",I<2&&(I=2));break;case"X":break;case"Z":I<1&&j[z].v.match(/[Hh]/)&&(I=1),I<2&&j[z].v.match(/[Mm]/)&&(I=2),I<3&&j[z].v.match(/[Ss]/)&&(I=3)}switch(I){case 0:break;case 1:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M),r.M>=60&&(r.M=0,++r.H);break;case 2:r.u>=.5&&(r.u=0,++r.S),r.S>=60&&(r.S=0,++r.M);break}var w="",A;for(z=0;z0){w.charCodeAt(0)==40?(Q=D<0&&w.charCodeAt(0)===45?-D:D,x=Mi("n",w,Q)):(Q=D<0&&i>1?-D:D,x=Mi("n",w,Q),Q<0&&j[0]&&j[0].t=="t"&&(x=x.substr(1),j[0].v="-"+j[0].v)),A=x.length-1;var f=j.length;for(z=0;z-1){f=z;break}var C=j.length;if(f===j.length&&x.indexOf("E")===-1){for(z=j.length-1;z>=0;--z)j[z]==null||"n?".indexOf(j[z].t)===-1||(A>=j[z].v.length-1?(A-=j[z].v.length,j[z].v=x.substr(A+1,j[z].v.length)):A<0?j[z].v="":(j[z].v=x.substr(0,A+1),A=-1),j[z].t="t",C=z);A>=0&&C=0;--z)if(!(j[z]==null||"n?".indexOf(j[z].t)===-1)){for(g=j[z].v.indexOf(".")>-1&&z===f?j[z].v.indexOf(".")-1:j[z].v.length-1,k=j[z].v.substr(g+1);g>=0;--g)A>=0&&(j[z].v.charAt(g)==="0"||j[z].v.charAt(g)==="#")&&(k=x.charAt(A--)+k);j[z].v=k,j[z].t="t",C=z}for(A>=0&&C-1&&z===f?j[z].v.indexOf(".")+1:0,k=j[z].v.substr(0,g);g-1&&(Q=i>1&&D<0&&z>0&&j[z-1].v==="-"?-D:D,j[z].v=Mi(j[z].t,j[z].v,Q),j[z].t="t");var W="";for(z=0;z!==j.length;++z)j[z]!=null&&(W+=j[z].v);return W}var Ln=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function on(M,D){if(D==null)return!1;var N=parseFloat(D[2]);switch(D[1]){case"=":if(M==N)return!0;break;case">":if(M>N)return!0;break;case"<":if(M":if(M!=N)return!0;break;case">=":if(M>=N)return!0;break;case"<=":if(M<=N)return!0;break}return!1}function fY(M,D){var N=YY(M),i=N.length,j=N[i-1].indexOf("@");if(i<4&&j>-1&&--i,N.length>4)throw new Error("cannot find right format for |"+N.join("|")+"|");if(typeof D!="number")return[4,N.length===4||j>-1?N[N.length-1]:"@"];switch(N.length){case 1:N=j>-1?["General","General","General",N[0]]:[N[0],N[0],N[0],"@"];break;case 2:N=j>-1?[N[0],N[0],N[0],N[1]]:[N[0],N[1],N[0],"@"];break;case 3:N=j>-1?[N[0],N[1],N[0],N[2]]:[N[0],N[1],N[2],"@"];break}var t=D>0?N[0]:D<0?N[1]:N[2];if(N[0].indexOf("[")===-1&&N[1].indexOf("[")===-1)return[i,t];if(N[0].match(/\[[=<>]/)!=null||N[1].match(/\[[=<>]/)!=null){var z=N[0].match(Ln),u=N[1].match(Ln);return on(D,z)?[i,N[0]]:on(D,u)?[i,N[1]]:[i,N[z!=null&&u!=null?2:1]]}return[i,t]}function Ni(M,D,N){N==null&&(N={});var i="";switch(typeof M){case"string":M=="m/d/yy"&&N.dateNF?i=N.dateNF:i=M;break;case"number":M==14&&N.dateNF?i=N.dateNF:i=(N.table!=null?N.table:BN)[M],i==null&&(i=N.table&&N.table[tn[M]]||BN[tn[M]]),i==null&&(i=TY[M]||"General");break}if(sz(i,0))return c4(D,N);D instanceof Date&&(D=AD(D,N.date1904));var j=fY(i,D);if(sz(j[1]))return c4(D,N);if(D===!0)D="TRUE";else if(D===!1)D="FALSE";else if(D===""||D==null)return"";return kY(j[1],D,N,j[0])}function ln(M,D){if(typeof D!="number"){D=+D||-1;for(var N=0;N<392;++N){if(BN[N]==null){D<0&&(D=N);continue}if(BN[N]==M){D=N;break}}D<0&&(D=391)}return BN[D]=M,D}function oz(M){for(var D=0;D!=392;++D)M[D]!==void 0&&ln(M[D],D)}function lz(){BN=gY()}var Iz=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function dY(M){var D=typeof M=="number"?BN[M]:M;return D=D.replace(Iz,"(\\d+)"),Iz.lastIndex=0,new RegExp("^"+D+"$")}function CY(M,D,N){var i=-1,j=-1,t=-1,z=-1,u=-1,a=-1;(D.match(Iz)||[]).forEach(function(T,n){var s=parseInt(N[n+1],10);switch(T.toLowerCase().charAt(0)){case"y":i=s;break;case"d":t=s;break;case"h":z=s;break;case"s":a=s;break;case"m":z>=0?u=s:j=s;break}}),Iz.lastIndex=0,a>=0&&u==-1&&j>=0&&(u=j,j=-1);var r=(""+(i>=0?i:new Date().getFullYear())).slice(-4)+"-"+("00"+(j>=1?j:1)).slice(-2)+"-"+("00"+(t>=1?t:1)).slice(-2);r.length==7&&(r="0"+r),r.length==8&&(r="20"+r);var g=("00"+(z>=0?z:0)).slice(-2)+":"+("00"+(u>=0?u:0)).slice(-2)+":"+("00"+(a>=0?a:0)).slice(-2);return z==-1&&u==-1&&a==-1?r:i==-1&&j==-1&&t==-1?g:r+"T"+g}var UY={"d.m":"d\\.m"};function SY(M,D){return ln(UY[M]||M,D)}var In=function(){var M={};M.version="1.2.0";function D(){for(var x=0,f=new Array(256),C=0;C!=256;++C)x=C,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,x=x&1?-306674912^x>>>1:x>>>1,f[C]=x;return typeof Int32Array!="undefined"?new Int32Array(f):f}var N=D();function i(x){var f=0,C=0,W=0,MM=typeof Int32Array!="undefined"?new Int32Array(4096):new Array(4096);for(W=0;W!=256;++W)MM[W]=x[W];for(W=0;W!=256;++W)for(C=x[W],f=256+W;f<4096;f+=256)C=MM[f]=C>>>8^x[C&255];var NM=[];for(W=1;W!=16;++W)NM[W-1]=typeof Int32Array!="undefined"&&typeof MM.subarray=="function"?MM.subarray(W*256,W*256+256):MM.slice(W*256,W*256+256);return NM}var j=i(N),t=j[0],z=j[1],u=j[2],a=j[3],r=j[4],g=j[5],T=j[6],n=j[7],s=j[8],y=j[9],o=j[10],I=j[11],L=j[12],O=j[13],w=j[14];function A(x,f){for(var C=f^-1,W=0,MM=x.length;W>>8^N[(C^x.charCodeAt(W++))&255];return~C}function k(x,f){for(var C=f^-1,W=x.length-15,MM=0;MM>8&255]^L[x[MM++]^C>>16&255]^I[x[MM++]^C>>>24]^o[x[MM++]]^y[x[MM++]]^s[x[MM++]]^n[x[MM++]]^T[x[MM++]]^g[x[MM++]]^r[x[MM++]]^a[x[MM++]]^u[x[MM++]]^z[x[MM++]]^t[x[MM++]]^N[x[MM++]];for(W+=15;MM>>8^N[(C^x[MM++])&255];return~C}function Q(x,f){for(var C=f^-1,W=0,MM=x.length,NM=0,jM=0;W>>8^N[(C^NM)&255]:NM<2048?(C=C>>>8^N[(C^(192|NM>>6&31))&255],C=C>>>8^N[(C^(128|NM&63))&255]):NM>=55296&&NM<57344?(NM=(NM&1023)+64,jM=x.charCodeAt(W++)&1023,C=C>>>8^N[(C^(240|NM>>8&7))&255],C=C>>>8^N[(C^(128|NM>>2&63))&255],C=C>>>8^N[(C^(128|jM>>6&15|(NM&3)<<4))&255],C=C>>>8^N[(C^(128|jM&63))&255]):(C=C>>>8^N[(C^(224|NM>>12&15))&255],C=C>>>8^N[(C^(128|NM>>6&63))&255],C=C>>>8^N[(C^(128|NM&63))&255]);return~C}return M.table=N,M.bstr=A,M.buf=k,M.str=Q,M}(),SN=function(){var D={};D.version="1.2.2";function N(S,V){for(var B=S.split("/"),_=V.split("/"),H=0,X=0,LM=Math.min(B.length,_.length);H>>1,S.write_shift(2,B);var _=V.getFullYear()-1980;_=_<<4|V.getMonth()+1,_=_<<5|V.getDate(),S.write_shift(2,_)}function z(S){var V=S.read_shift(2)&65535,B=S.read_shift(2)&65535,_=new Date,H=B&31;B>>>=5;var X=B&15;B>>>=4,_.setMilliseconds(0),_.setFullYear(B+1980),_.setMonth(X-1),_.setDate(H);var LM=V&31;V>>>=5;var kM=V&63;return V>>>=6,_.setHours(V),_.setMinutes(kM),_.setSeconds(LM<<1),_}function u(S){RD(S,0);for(var V={},B=0;S.l<=S.length-4;){var _=S.read_shift(2),H=S.read_shift(2),X=S.l+H,LM={};switch(_){case 21589:B=S.read_shift(1),B&1&&(LM.mtime=S.read_shift(4)),H>5&&(B&2&&(LM.atime=S.read_shift(4)),B&4&&(LM.ctime=S.read_shift(4))),LM.mtime&&(LM.mt=new Date(LM.mtime*1e3));break;case 1:{var kM=S.read_shift(4),cM=S.read_shift(4);LM.usz=cM*Math.pow(2,32)+kM,kM=S.read_shift(4),cM=S.read_shift(4),LM.csz=cM*Math.pow(2,32)+kM}break}S.l=X,V[_]=LM}return V}var a;function r(){return a||(a=pY)}function g(S,V){if(S[0]==80&&S[1]==75)return Nu(S,V);if((S[0]|32)==109&&(S[1]|32)==105)return Qa(S,V);if(S.length<512)throw new Error("CFB file size "+S.length+" < 512");var B=3,_=512,H=0,X=0,LM=0,kM=0,cM=0,lM=[],yM=S.slice(0,512);RD(yM,0);var _M=T(yM);switch(B=_M[0],B){case 3:_=512;break;case 4:_=4096;break;case 0:if(_M[1]==0)return Nu(S,V);default:throw new Error("Major Version: Expected 3 or 4 saw "+B)}_!==512&&(yM=S.slice(0,_),RD(yM,28));var RM=S.slice(0,_);n(yM,B);var qM=yM.read_shift(4,"i");if(B===3&&qM!==0)throw new Error("# Directory Sectors: Expected 0 saw "+qM);yM.l+=4,LM=yM.read_shift(4,"i"),yM.l+=4,yM.chk("00100000","Mini Stream Cutoff Size: "),kM=yM.read_shift(4,"i"),H=yM.read_shift(4,"i"),cM=yM.read_shift(4,"i"),X=yM.read_shift(4,"i");for(var vM=-1,XM=0;XM<109&&(vM=yM.read_shift(4,"i"),!(vM<0));++XM)lM[XM]=vM;var gN=s(S,_);I(cM,X,gN,_,lM);var hN=O(gN,LM,lM,_);LM0&&kM!==jM&&(hN[kM].name="!MiniFAT"),hN[lM[0]].name="!FAT",hN.fat_addrs=lM,hN.ssz=_;var mN={},yD=[],Ie=[],ri=[];w(LM,hN,gN,yD,H,mN,Ie,kM),y(Ie,ri,yD),yD.shift();var gi={FileIndex:Ie,FullPaths:ri};return V&&V.raw&&(gi.raw={header:RM,sectors:gN}),gi}function T(S){if(S[S.l]==80&&S[S.l+1]==75)return[0,0];S.chk(aM,"Header Signature: "),S.l+=16;var V=S.read_shift(2,"u");return[S.read_shift(2,"u"),V]}function n(S,V){var B=9;switch(S.l+=2,B=S.read_shift(2)){case 9:if(V!=3)throw new Error("Sector Shift: Expected 9 saw "+B);break;case 12:if(V!=4)throw new Error("Sector Shift: Expected 12 saw "+B);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+B)}S.chk("0600","Mini Sector Shift: "),S.chk("000000000000","Reserved: ")}function s(S,V){for(var B=Math.ceil(S.length/V)-1,_=[],H=1;H0&&LM>=0;)X.push(V.slice(LM*NM,LM*NM+NM)),H-=NM,LM=Fi(B,LM*4);return X.length===0?sM(0):KN(X).slice(0,S.size)}function I(S,V,B,_,H){var X=jM;if(S===jM){if(V!==0)throw new Error("DIFAT chain shorter than expected")}else if(S!==-1){var LM=B[S],kM=(_>>>2)-1;if(!LM)return;for(var cM=0;cM=1&&I(Fi(LM,_-4),V-1,B,_,H)}}function L(S,V,B,_,H){var X=[],LM=[];H||(H=[]);var kM=_-1,cM=0,lM=0;for(cM=V;cM>=0;){H[cM]=!0,X[X.length]=cM,LM.push(S[cM]);var yM=B[Math.floor(cM*4/_)];if(lM=cM*4&kM,_<4+lM)throw new Error("FAT boundary crossed: "+cM+" 4 "+_);if(!S[yM])break;cM=Fi(S[yM],lM)}return{nodes:X,data:Un([LM])}}function O(S,V,B,_){var H=S.length,X=[],LM=[],kM=[],cM=[],lM=_-1,yM=0,_M=0,RM=0,qM=0;for(yM=0;yM=H&&(RM-=H),!LM[RM]){cM=[];var vM=[];for(_M=RM;_M>=0;){vM[_M]=!0,LM[_M]=!0,kM[kM.length]=_M,cM.push(S[_M]);var XM=B[Math.floor(_M*4/_)];if(qM=_M*4&lM,_<4+qM)throw new Error("FAT boundary crossed: "+_M+" 4 "+_);if(!S[XM]||(_M=Fi(S[XM],qM),vM[_M]))break}X[RM]={nodes:kM,data:Un([cM])}}return X}function w(S,V,B,_,H,X,LM,kM){for(var cM=0,lM=_.length?2:0,yM=V[S].data,_M=0,RM=0,qM;_M0&&cM!==jM&&(V[cM].name="!StreamData")):XM.size>=4096?(XM.storage="fat",V[XM.start]===void 0&&(V[XM.start]=L(B,XM.start,V.fat_addrs,V.ssz)),V[XM.start].name=XM.name,XM.content=V[XM.start].data.slice(0,XM.size)):(XM.storage="minifat",XM.size<0?XM.size=0:cM!==jM&&XM.start!==jM&&V[cM]&&(XM.content=o(XM,V[cM].data,(V[kM]||{}).data))),XM.content&&RD(XM.content,0),X[qM]=XM,LM.push(XM)}}function A(S,V){return new Date((ze(S,V+4)/1e7*Math.pow(2,32)+ze(S,V)/1e7-11644473600)*1e3)}function k(S,V){return r(),g(a.readFileSync(S),V)}function Q(S,V){var B=V&&V.type;switch(B||QN&&Buffer.isBuffer(S)&&(B="buffer"),B||"base64"){case"file":return k(S,V);case"base64":return g(je(Ii(S)),V);case"binary":return g(je(S),V)}return g(S,V)}function x(S,V){var B=V||{},_=B.root||"Root Entry";if(S.FullPaths||(S.FullPaths=[]),S.FileIndex||(S.FileIndex=[]),S.FullPaths.length!==S.FileIndex.length)throw new Error("inconsistent CFB structure");S.FullPaths.length===0&&(S.FullPaths[0]=_+"/",S.FileIndex[0]={name:_,type:5}),B.CLSID&&(S.FileIndex[0].clsid=B.CLSID),f(S)}function f(S){var V="Sh33tJ5";if(!SN.find(S,"/"+V)){var B=sM(4);B[0]=55,B[1]=B[3]=50,B[2]=54,S.FileIndex.push({name:V,type:2,content:B,size:4,L:69,R:69,C:69}),S.FullPaths.push(S.FullPaths[0]+V),C(S)}}function C(S,V){x(S);for(var B=!1,_=!1,H=S.FullPaths.length-1;H>=0;--H){var X=S.FileIndex[H];switch(X.type){case 0:_?B=!0:(S.FileIndex.pop(),S.FullPaths.pop());break;case 1:case 2:case 5:_=!0,isNaN(X.R*X.L*X.C)&&(B=!0),X.R>-1&&X.L>-1&&X.R==X.L&&(B=!0);break;default:B=!0;break}}if(!(!B&&!V)){var LM=new Date(1987,1,19),kM=0,cM=Object.create?Object.create(null):{},lM=[];for(H=0;H1?1:-1,_M.size=0,_M.type=5;else if(RM.slice(-1)=="/"){for(kM=H+1;kM=lM.length?-1:kM,kM=H+1;kM=lM.length?-1:kM,_M.type=1}else i(S.FullPaths[H+1]||"")==i(RM)&&(_M.R=H+1),_M.type=2}}}function W(S,V){var B=V||{};if(B.fileType=="mad")return Ya(S,B);switch(C(S),B.fileType){case"zip":return Du(S,B)}var _=function(qM){for(var vM=0,XM=0,gN=0;gN0&&(mN<4096?vM+=mN+63>>6:XM+=mN+511>>9)}}for(var yD=qM.FullPaths.length+3>>2,Ie=vM+7>>3,ri=vM+127>>7,gi=Ie+XM+yD+ri,Oe=gi+127>>7,ki=Oe<=109?0:Math.ceil((Oe-109)/127);gi+Oe+ki+127>>7>Oe;)ki=++Oe<=109?0:Math.ceil((Oe-109)/127);var we=[1,ki,Oe,ri,yD,XM,vM,0];return qM.FileIndex[0].size=vM<<6,we[7]=(qM.FileIndex[0].start=we[0]+we[1]+we[2]+we[3]+we[4]+we[5])+(we[6]+7>>3),we}(S),H=sM(_[7]<<9),X=0,LM=0;{for(X=0;X<8;++X)H.write_shift(1,tM[X]);for(X=0;X<8;++X)H.write_shift(2,0);for(H.write_shift(2,62),H.write_shift(2,3),H.write_shift(2,65534),H.write_shift(2,9),H.write_shift(2,6),X=0;X<3;++X)H.write_shift(2,0);for(H.write_shift(4,0),H.write_shift(4,_[2]),H.write_shift(4,_[0]+_[1]+_[2]+_[3]-1),H.write_shift(4,0),H.write_shift(4,1<<12),H.write_shift(4,_[3]?_[0]+_[1]+_[2]-1:jM),H.write_shift(4,_[3]),H.write_shift(-4,_[1]?_[0]-1:jM),H.write_shift(4,_[1]),X=0;X<109;++X)H.write_shift(-4,X<_[2]?_[1]+X:-1)}if(_[1])for(LM=0;LM<_[1];++LM){for(;X<236+LM*127;++X)H.write_shift(-4,X<_[2]?_[1]+X:-1);H.write_shift(-4,LM===_[1]-1?jM:LM+1)}var kM=function(qM){for(LM+=qM;X>9)));for(kM(_[6]+7>>3);H.l&511;)H.write_shift(-4,m.ENDOFCHAIN);for(LM=X=0,cM=0;cM=4096)&&(yM.start=LM,kM(lM+63>>6)));for(;H.l&511;)H.write_shift(-4,m.ENDOFCHAIN);for(X=0;X<_[4]<<2;++X){var _M=S.FullPaths[X];if(!_M||_M.length===0){for(cM=0;cM<17;++cM)H.write_shift(4,0);for(cM=0;cM<3;++cM)H.write_shift(4,-1);for(cM=0;cM<12;++cM)H.write_shift(4,0);continue}yM=S.FileIndex[X],X===0&&(yM.start=yM.size?yM.start-1:jM);var RM=X===0&&B.root||yM.name;if(RM.length>32&&(console.error("Name "+RM+" will be truncated to "+RM.slice(0,32)),RM=RM.slice(0,32)),lM=2*(RM.length+1),H.write_shift(64,RM,"utf16le"),H.write_shift(2,lM),H.write_shift(1,yM.type),H.write_shift(1,yM.color),H.write_shift(-4,yM.L),H.write_shift(-4,yM.R),H.write_shift(-4,yM.C),yM.clsid)H.write_shift(16,yM.clsid,"hex");else for(cM=0;cM<4;++cM)H.write_shift(4,0);H.write_shift(4,yM.state||0),H.write_shift(4,0),H.write_shift(4,0),H.write_shift(4,0),H.write_shift(4,0),H.write_shift(4,yM.start),H.write_shift(4,yM.size),H.write_shift(4,0)}for(X=1;X=4096)if(H.l=yM.start+1<<9,QN&&Buffer.isBuffer(yM.content))yM.content.copy(H,H.l,0,yM.size),H.l+=yM.size+511&-512;else{for(cM=0;cM0&&yM.size<4096)if(QN&&Buffer.isBuffer(yM.content))yM.content.copy(H,H.l,0,yM.size),H.l+=yM.size+63&-64;else{for(cM=0;cM>16|V>>8|V)&255}for(var v=typeof Uint8Array!="undefined",P=v?new Uint8Array(1<<8):[],p=0;p<1<<8;++p)P[p]=G(p);function Z(S,V){var B=P[S&255];return V<=8?B>>>8-V:(B=B<<8|P[S>>8&255],V<=16?B>>>16-V:(B=B<<8|P[S>>16&255],B>>>24-V))}function zM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=6?0:S[_+1]<<8))>>>B&3}function TM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=5?0:S[_+1]<<8))>>>B&7}function DM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=4?0:S[_+1]<<8))>>>B&15}function AM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=3?0:S[_+1]<<8))>>>B&31}function hM(S,V){var B=V&7,_=V>>>3;return(S[_]|(B<=1?0:S[_+1]<<8))>>>B&127}function KM(S,V,B){var _=V&7,H=V>>>3,X=(1<>>_;return B<8-_||(LM|=S[H+1]<<8-_,B<16-_)||(LM|=S[H+2]<<16-_,B<24-_)||(LM|=S[H+3]<<24-_),LM&X}function iN(S,V,B){var _=V&7,H=V>>>3;return _<=5?S[H]|=(B&7)<<_:(S[H]|=B<<_&255,S[H+1]=(B&7)>>8-_),V+3}function oN(S,V,B){var _=V&7,H=V>>>3;return B=(B&1)<<_,S[H]|=B,V+1}function xM(S,V,B){var _=V&7,H=V>>>3;return B<<=_,S[H]|=B&255,B>>>=8,S[H+1]=B,V+8}function EM(S,V,B){var _=V&7,H=V>>>3;return B<<=_,S[H]|=B&255,B>>>=8,S[H+1]=B&255,S[H+2]=B>>>8,V+16}function TN(S,V){var B=S.length,_=2*B>V?2*B:V+5,H=0;if(B>=V)return S;if(QN){var X=Dn(_);if(S.copy)S.copy(X);else for(;H>_-_M,LM=(1<<_+4-_M)-1;LM>=0;--LM)V[kM|LM<<_M]=_M&15|X<<4;return _}var QM=v?new Uint16Array(512):mM(512),CM=v?new Uint16Array(32):mM(32);if(!v){for(var pM=0;pM<512;++pM)QM[pM]=0;for(pM=0;pM<32;++pM)CM[pM]=0}(function(){for(var S=[],V=0;V<32;V++)S.push(5);cD(S,CM,32);var B=[];for(V=0;V<=143;V++)B.push(8);for(;V<=255;V++)B.push(9);for(;V<=279;V++)B.push(7);for(;V<=287;V++)B.push(8);cD(B,QM,288)})();var PM=function(){for(var V=v?new Uint8Array(32768):[],B=0,_=0;B0;)cM[cM.l++]=kM[lM++]}return cM.l}function LM(kM,cM){for(var lM=0,yM=0,_M=v?new Uint16Array(32768):[];yM0;)cM[cM.l++]=kM[yM++];lM=cM.l*8;continue}lM=iN(cM,lM,+(yM+RM==kM.length)+2);for(var qM=0;RM-- >0;){var vM=kM[yM];qM=(qM<<5^vM)&32767;var XM=-1,gN=0;if((XM=_M[qM])&&(XM|=yM&-32768,XM>yM&&(XM-=32768),XM2){vM=H[gN],vM<=22?lM=xM(cM,lM,P[vM+1]>>1)-1:(xM(cM,lM,3),lM+=5,xM(cM,lM,P[vM-23]>>5),lM+=3);var hN=vM<8?0:vM-4>>2;hN>0&&(EM(cM,lM,gN-uM[vM]),lM+=hN),vM=V[yM-XM],lM=xM(cM,lM,P[vM]>>3),lM-=3;var mN=vM<4?0:vM-2>>1;mN>0&&(EM(cM,lM,yM-XM-d[vM]),lM+=mN);for(var yD=0;yD>8-vM;for(var XM=(1<<7-vM)-1;XM>=0;--XM)mD[qM|XM<>>=3){case 16:for(X=3+zM(S,V),V+=2,qM=gN[gN.length-1];X-- >0;)gN.push(qM);break;case 17:for(X=3+TM(S,V),V+=3;X-- >0;)gN.push(0);break;case 18:for(X=11+hM(S,V),V+=7;X-- >0;)gN.push(0);break;default:gN.push(qM),cM>>0,kM=0,cM=0;(_&1)==0;){if(_=TM(S,B),B+=3,_>>>1==0){B&7&&(B+=8-(B&7));var lM=S[B>>>3]|S[(B>>>3)+1]<<8;if(B+=32,lM>0)for(!V&&LM0;)H[X++]=S[B>>>3],B+=8;continue}else _>>1==1?(kM=9,cM=5):(B=zi(S,B),kM=GN,cM=sD);for(;;){!V&&LM>>1==1?QM[yM]:zN[yM];if(B+=_M&15,_M>>>=4,(_M>>>8&255)===0)H[X++]=_M;else{if(_M==256)break;_M-=257;var RM=_M<8?0:_M-4>>2;RM>5&&(RM=0);var qM=X+uM[_M];RM>0&&(qM+=KM(S,B,RM),B+=RM),yM=KM(S,B,cM),_M=_>>>1==1?CM[yM]:rN[yM],B+=_M&15,_M>>>=4;var vM=_M<4?0:_M-2>>1,XM=d[_M];for(vM>0&&(XM+=KM(S,B,vM),B+=vM),!V&&LM>>3]:[H.slice(0,X),B+7>>>3]}function qz(S,V){var B=S.slice(S.l||0),_=Oa(B,V);return S.l+=_[1],_[0]}function Mu(S,V){if(S)typeof console!="undefined"&&console.error(V);else throw new Error(V)}function Nu(S,V){var B=S;RD(B,0);var _=[],H=[],X={FileIndex:_,FullPaths:H};x(X,{root:V.root});for(var LM=B.length-4;(B[LM]!=80||B[LM+1]!=75||B[LM+2]!=5||B[LM+3]!=6)&&LM>=0;)--LM;B.l=LM+4,B.l+=4;var kM=B.read_shift(2);B.l+=6;var cM=B.read_shift(4);for(B.l=cM,LM=0;LM0&&(B=B.slice(0,B.length-1),B=B.slice(0,B.lastIndexOf("/")+1),X.slice(0,B.length)!=B););var LM=(_[1]||"").match(/boundary="(.*?)"/);if(!LM)throw new Error("MAD cannot find boundary");var kM="--"+(LM[1]||""),cM=[],lM=[],yM={FileIndex:cM,FullPaths:lM};x(yM);var PM,RM=0;for(H=0;H<_.length;++H){var qM=_[H];qM!==kM&&qM!==kM+"--"||(RM++&&xa(yM,_.slice(PM,H),B),PM=H)}return yM}function Ya(S,V){var B=V||{},_=B.boundary||"SheetJS";_="------="+_;for(var H=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+_.slice(2)+'"',"","",""],X=S.FullPaths[0],LM=X,kM=S.FileIndex[0],cM=1;cM=32&&qM<128&&++PM;var XM=PM>=RM*4/5;H.push(_),H.push("Content-Location: "+(B.root||"file:///C:/SheetJS/")+LM),H.push("Content-Transfer-Encoding: "+(XM?"quoted-printable":"base64")),H.push("Content-Type: "+BD(kM,LM)),H.push(""),H.push(XM?Ea(yM):Aa(yM))}return H.push(_+`--\r +`),H=0,X="";for(H=0;H<_.length;++H)if(X=_[H],!!/^Content-Location:/i.test(X)&&(X=X.slice(X.indexOf("file")),B||(B=X.slice(0,X.lastIndexOf("/")+1)),X.slice(0,B.length)!=B))for(;B.length>0&&(B=B.slice(0,B.length-1),B=B.slice(0,B.lastIndexOf("/")+1),X.slice(0,B.length)!=B););var LM=(_[1]||"").match(/boundary="(.*?)"/);if(!LM)throw new Error("MAD cannot find boundary");var kM="--"+(LM[1]||""),cM=[],lM=[],yM={FileIndex:cM,FullPaths:lM};x(yM);var _M,RM=0;for(H=0;H<_.length;++H){var qM=_[H];qM!==kM&&qM!==kM+"--"||(RM++&&xa(yM,_.slice(_M,H),B),_M=H)}return yM}function Ya(S,V){var B=V||{},_=B.boundary||"SheetJS";_="------="+_;for(var H=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+_.slice(2)+'"',"","",""],X=S.FullPaths[0],LM=X,kM=S.FileIndex[0],cM=1;cM=32&&qM<128&&++_M;var XM=_M>=RM*4/5;H.push(_),H.push("Content-Location: "+(B.root||"file:///C:/SheetJS/")+LM),H.push("Content-Transfer-Encoding: "+(XM?"quoted-printable":"base64")),H.push("Content-Type: "+BD(kM,LM)),H.push(""),H.push(XM?Ea(yM):Aa(yM))}return H.push(_+`--\r `),H.join(`\r `)}function ai(S){var V={};return x(V,S),V}function dt(S,V,B,_){var H=_&&_.unsafe;H||x(S);var X=!H&&SN.find(S,V);if(!X){var LM=S.FullPaths[0];V.slice(0,LM.length)==LM?LM=V:(LM.slice(-1)!="/"&&(LM+="/"),LM=(LM+V).replace("//","/")),X={name:j(V),type:2},S.FileIndex.push(X),S.FullPaths.push(LM),H||SN.utils.cfb_gc(S)}return X.content=B,X.size=B?B.length:0,_&&(_.CLSID&&(X.clsid=_.CLSID),_.mt&&(X.mt=_.mt),_.ct&&(X.ct=_.ct)),X}function eu(S,V){x(S);var B=SN.find(S,V);if(B){for(var _=0;_=60&&M<61)return M;var D=new Date;return D.setTime((M>60?M:M+1)*24*60*60*1e3+An),D}var bY=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/,vY=/^(\d+)-(\d+)-(\d+)$/,En=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function XD(M,D){if(M instanceof Date)return M;var N=M.match(bY);if(N)return new Date((D?BY:mY)+((parseInt(N[1],10)*60+parseInt(N[2],10))*60+(N[3]?parseInt(N[3].slice(1),10):0))*1e3+(N[4]?parseInt((N[4]+"000").slice(1,4),10):0));if(N=M.match(vY),N)return new Date(Date.UTC(+N[1],+N[2]-1,+N[3],0,0,0,0));if(N=M.match(En),N)return new Date(Date.UTC(+N[1],+N[2]-1,+N[3],+N[4],+N[5],N[6]&&parseInt(N[6].slice(1),10)||0,N[7]&&parseInt(N[7].slice(1),10)||0));var i=new Date(M);return i}function y4(M,D){if(QN&&Buffer.isBuffer(M)){if(D&&it){if(M[0]==255&&M[1]==254)return ei(M.slice(2).toString("utf16le"));if(M[1]==254&&M[2]==255)return ei(iY(M.slice(2).toString("binary")))}return M.toString("binary")}if(typeof TextDecoder!="undefined")try{if(D){if(M[0]==255&&M[1]==254)return ei(new TextDecoder("utf-16le").decode(M.slice(2)));if(M[0]==254&&M[1]==255)return ei(new TextDecoder("utf-16be").decode(M.slice(2)))}var N={"\u20AC":"\x80","\u201A":"\x82",\u0192:"\x83","\u201E":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02C6":"\x88","\u2030":"\x89",\u0160:"\x8A","\u2039":"\x8B",\u0152:"\x8C",\u017D:"\x8E","\u2018":"\x91","\u2019":"\x92","\u201C":"\x93","\u201D":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02DC":"\x98","\u2122":"\x99",\u0161:"\x9A","\u203A":"\x9B",\u0153:"\x9C",\u017E:"\x9E",\u0178:"\x9F"};return Array.isArray(M)&&(M=new Uint8Array(M)),new TextDecoder("latin1").decode(M).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(t){return N[t]||t})}catch{}var i=[],j=0;try{for(j=0;j3&&VY.indexOf(D)==-1)return t}else if(D.replace(/[ap]m?/,"").match(/[a-z]/))return t;return z<0||z>8099||M.match(/[^-0-9:,\/\\\ ]/)?t:j}function oj(M){return new Date(M.getUTCFullYear(),M.getUTCMonth(),M.getUTCDate(),M.getUTCHours(),M.getUTCMinutes(),M.getUTCSeconds(),M.getUTCMilliseconds())}function Az(M){return new Date(Date.UTC(M.getFullYear(),M.getMonth(),M.getDate(),M.getHours(),M.getMinutes(),M.getSeconds(),M.getMilliseconds()))}function nN(M,D,N){if(M.FullPaths){if(typeof N=="string"){var i;return QN?i=_e(N):i=uY(N),SN.utils.cfb_add(M,D,i)}SN.utils.cfb_add(M,D,N)}else M.file(D,N)}function L4(){return SN.utils.cfb_new()}var qN=`\r `,HY={""":'"',"'":"'",">":">","<":"<","&":"&"},o4=s4(HY),l4=/[&<>'"]/g,ZY=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function cN(M){var D=M+"";return D.replace(l4,function(N){return o4[N]}).replace(ZY,function(N){return"_x"+("000"+N.charCodeAt(0).toString(16)).slice(-4)+"_"})}function xn(M){return cN(M).replace(/ /g,"_x0020_")}var Qn=/[\u0000-\u001f]/g;function Yn(M){var D=M+"";return D.replace(l4,function(N){return o4[N]}).replace(/\n/g,"
").replace(Qn,function(N){return"&#x"+("000"+N.charCodeAt(0).toString(16)).slice(-4)+";"})}function XY(M){var D=M+"";return D.replace(l4,function(N){return o4[N]}).replace(Qn,function(N){return"&#x"+N.charCodeAt(0).toString(16).toUpperCase()+";"})}function JY(M){return M.replace(/(\r\n|[\r\n])/g," ")}function $Y(M){switch(M){case 1:case!0:case"1":case"true":return!0;case 0:case!1:case"0":case"false":return!1}return!1}function I4(M){for(var D="",N=0,i=0,j=0,t=0,z=0,u=0;N191&&i<224){z=(i&31)<<6,z|=j&63,D+=String.fromCharCode(z);continue}if(t=M.charCodeAt(N++),i<240){D+=String.fromCharCode((i&15)<<12|(j&63)<<6|t&63);continue}z=M.charCodeAt(N++),u=((i&7)<<18|(j&63)<<12|(t&63)<<6|z&63)-65536,D+=String.fromCharCode(55296+(u>>>10&1023)),D+=String.fromCharCode(56320+(u&1023))}return D}function kn(M){var D=Bi(2*M.length),N,i,j=1,t=0,z=0,u;for(i=0;i>>10&1023),N=56320+(N&1023)),z!==0&&(D[t++]=z&255,D[t++]=z>>>8,z=0),D[t++]=N%256,D[t++]=N>>>8;return D.slice(0,t).toString("ucs2")}function fn(M){return _e(M,"binary").toString("utf8")}var Ez="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",lj=QN&&(fn(Ez)==I4(Ez)&&fn||kn(Ez)==I4(Ez)&&kn)||I4,ei=QN?function(M){return _e(M,"utf8").toString("binary")}:function(M){for(var D=[],N=0,i=0,j=0;N>6))),D.push(String.fromCharCode(128+(i&63)));break;case(i>=55296&&i<57344):i-=55296,j=M.charCodeAt(N++)-56320+(i<<10),D.push(String.fromCharCode(240+(j>>18&7))),D.push(String.fromCharCode(144+(j>>12&63))),D.push(String.fromCharCode(128+(j>>6&63))),D.push(String.fromCharCode(128+(j&63)));break;default:D.push(String.fromCharCode(224+(i>>12))),D.push(String.fromCharCode(128+(i>>6&63))),D.push(String.fromCharCode(128+(i&63)))}return D.join("")},KY=function(){var M=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(D){return[new RegExp("&"+D[0]+";","ig"),D[1]]});return function(N){for(var i=N.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,` @@ -135,7 +135,7 @@ EOD`}return{to_workbook:i,to_sheet:N,from_sheet:z}}(),Qc=function(){function M(T `)}return{to_workbook:j,to_sheet:i,from_sheet:g}}(),Q3=function(){function M(g,T,n,s,y){y.raw?T[n][s]=g:g===""||(g==="TRUE"?T[n][s]=!0:g==="FALSE"?T[n][s]=!1:isNaN(Di(g))?isNaN(wz(g).getDate())?T[n][s]=g:T[n][s]=XD(g):T[n][s]=Di(g))}function D(g,T){var n=T||{},s=[];if(!g||g.length===0)return s;for(var y=g.split(/[\r\n]/),o=y.length-1;o>=0&&y[o].length===0;)--o;for(var I=10,L=0,O=0;O<=o;++O)L=y[O].indexOf(" "),L==-1?L=y[O].length:L++,I=Math.max(I,L);for(O=0;O<=o;++O){s[O]=[];var w=0;for(M(y[O].slice(0,I).trim(),s,O,w,n),w=1;w<=(y[O].length-I)/10+1;++w)M(y[O].slice(I+(w-1)*10,I+w*10).trim(),s,O,w,n)}return n.sheetRows&&(s=s.slice(0,n.sheetRows)),s}var N={44:",",9:" ",59:";",124:"|"},i={44:3,9:2,59:1,124:0};function j(g){for(var T={},n=!1,s=0,y=0;s0&&W(),y["!ref"]=MD(o),y}function z(g,T){return!(T&&T.PRN)||T.FS||g.slice(0,4)=="sep="||g.indexOf(" ")>=0||g.indexOf(",")>=0||g.indexOf(";")>=0?t(g,T):Aj(D(g,T),T)}function u(g,T){var n="",s=T.type=="string"?[0,0,0,0]:NS(g,T);switch(T.type){case"base64":n=Ii(g);break;case"binary":n=g;break;case"buffer":T.codepage==65001?n=g.toString("utf8"):T.codepage&&typeof Dt!="undefined"?n=Dt.utils.decode(T.codepage,g):n=QN&&Buffer.isBuffer(g)?g.toString("binary"):bi(g);break;case"array":n=y4(g);break;case"string":n=g;break;default:throw new Error("Unrecognized type "+T.type)}return s[0]==239&&s[1]==187&&s[2]==191?n=lj(n.slice(3)):T.type!="string"&&T.type!="buffer"&&T.codepage==65001?n=lj(n):T.type=="binary"&&typeof Dt!="undefined"&&T.codepage&&(n=Dt.utils.decode(T.codepage,Dt.utils.encode(28591,n))),n.slice(0,19)=="socialcalc:version:"?Qc.to_sheet(T.type=="string"?n:lj(n),T):z(n,T)}function a(g,T){return wj(u(g,T),T)}function r(g){for(var T=[],n=bN(g["!ref"]),s,y=g["!data"]!=null,o=n.s.r;o<=n.e.r;++o){for(var I=[],L=n.s.c;L<=n.e.c;++L){var O=VN({r:o,c:L});if(s=y?(g["!data"][o]||[])[L]:g[O],!s||s.v==null){I.push(" ");continue}for(var w=(s.w||(ii(s),s.w)||"").slice(0,10);w.length<10;)w+=" ";I.push(w+(L===0?" ":""))}T.push(I.join(""))}return T.join(` `)}return{to_workbook:a,to_sheet:u,from_sheet:r}}(),Yc=function(){function M(d,G,v){if(!!d){RD(d,d.l||0);for(var P=v.Enum||oM;d.l=16&&d[14]==5&&d[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(d[2]==2)v.Enum=oM,M(d,function(mM,cD,QM){switch(QM){case 0:v.vers=mM,mM>=4096&&(v.qpro=!0);break;case 255:v.vers=mM,v.works=!0;break;case 6:KM=mM;break;case 204:mM&&(Z=mM);break;case 222:Z=mM;break;case 15:case 51:(!v.qpro&&!v.works||QM==51)&&mM[1].v.charCodeAt(0)<48&&(mM[1].v=mM[1].v.slice(1)),(v.works||v.works2)&&(mM[1].v=mM[1].v.replace(/\r\n/g,` `));case 13:case 14:case 16:(mM[2]&112)==112&&(mM[2]&15)>1&&(mM[2]&15)<15&&(mM[1].z=v.dateNF||N[(mM[2]&15)-1]||BN[14],v.cellDates&&(mM[1].v=Lj(mM[1].v),mM[1].t=typeof mM[1].v=="number"?"n":"d")),v.qpro&&mM[3]>zM&&(P["!ref"]=MD(KM),TM[p]=P,DM.push(p),P={},v.dense&&(hM=P["!data"]=[]),KM={s:{r:0,c:0},e:{r:0,c:0}},zM=mM[3],p=Z||"Sheet"+(zM+1),Z="");var CM=v.dense?(hM[mM[0].r]||[])[mM[0].c]:P[VN(mM[0])];if(CM){CM.t=mM[1].t,CM.v=mM[1].v,mM[1].z!=null&&(CM.z=mM[1].z),mM[1].f!=null&&(CM.f=mM[1].f),oN=CM;break}v.dense?(hM[mM[0].r]||(hM[mM[0].r]=[]),hM[mM[0].r][mM[0].c]=mM[1]):P[VN(mM[0])]=mM[1],oN=mM[1];break;case 21509:v.works2=!0;break;case 21506:mM==5281&&(oN.z="hh:mm:ss",v.cellDates&&oN.t=="n"&&(oN.v=Lj(oN.v),oN.t=typeof oN.v=="number"?"n":"d"));break}},v);else if(d[2]==26||d[2]==14)v.Enum=bM,d[2]==14&&(v.qpro=!0,d.l=0),M(d,function(mM,cD,QM){switch(QM){case 204:p=mM;break;case 22:mM[1].v.charCodeAt(0)<48&&(mM[1].v=mM[1].v.slice(1)),mM[1].v=mM[1].v.replace(/\x0F./g,function(CM){return String.fromCharCode(CM.charCodeAt(1)-32)}).replace(/\r\n/g,` -`);case 23:case 24:case 25:case 37:case 39:case 40:if(mM[3]>zM&&(P["!ref"]=MD(KM),TM[p]=P,DM.push(p),P={},v.dense&&(hM=P["!data"]=[]),KM={s:{r:0,c:0},e:{r:0,c:0}},zM=mM[3],p="Sheet"+(zM+1)),iN>0&&mM[0].r>=iN)break;v.dense?(hM[mM[0].r]||(hM[mM[0].r]=[]),hM[mM[0].r][mM[0].c]=mM[1]):P[VN(mM[0])]=mM[1],KM.e.c=0&&et(+v.codepage),v.type=="string")throw new Error("Cannot write WK1 to JS string");var P=CD(),p=bN(d["!ref"]),Z=d["!data"]!=null,zM=[];BM(P,0,z(1030)),BM(P,6,r(p));for(var TM=Math.min(p.e.r,8191),DM=p.s.c;DM<=p.e.c;++DM)zM[DM]=dN(DM);for(var AM=p.s.r;AM<=TM;++AM){var hM=pN(AM);for(DM=p.s.c;DM<=p.e.c;++DM){var KM=Z?(d["!data"][AM]||[])[DM]:d[zM[DM]+hM];if(!(!KM||KM.t=="z"))switch(KM.t){case"n":(KM.v|0)==KM.v&&KM.v>=-32768&&KM.v<=32767?BM(P,13,I(AM,DM,KM)):BM(P,14,O(AM,DM,KM));break;case"d":var iN=AD(KM.v);(iN|0)==iN&&iN>=-32768&&iN<=32767?BM(P,13,I(AM,DM,{t:"n",v:iN,z:KM.z||BN[14]})):BM(P,14,O(AM,DM,{t:"n",v:iN,z:KM.z||BN[14]}));break;default:var oN=ii(KM);BM(P,15,s(AM,DM,oN.slice(0,239)))}}}return BM(P,1),P.end()}function t(d,G){var v=G||{};if(+v.codepage>=0&&et(+v.codepage),v.type=="string")throw new Error("Cannot write WK3 to JS string");var P=CD();BM(P,0,u(d));for(var p=0,Z=0;p8191&&(v=8191),G.write_shift(2,v),G.write_shift(1,p),G.write_shift(1,P),G.write_shift(2,0),G.write_shift(2,0),G.write_shift(1,1),G.write_shift(1,2),G.write_shift(4,0),G.write_shift(4,0),G}function a(d,G,v){var P={s:{c:0,r:0},e:{c:0,r:0}};return G==8&&v.qpro?(P.s.c=d.read_shift(1),d.l++,P.s.r=d.read_shift(2),P.e.c=d.read_shift(1),d.l++,P.e.r=d.read_shift(2),P):(P.s.c=d.read_shift(2),P.s.r=d.read_shift(2),G==12&&v.qpro&&(d.l+=2),P.e.c=d.read_shift(2),P.e.r=d.read_shift(2),G==12&&v.qpro&&(d.l+=2),P.s.c==65535&&(P.s.c=P.e.c=P.s.r=P.e.r=0),P)}function r(d){var G=sM(8);return G.write_shift(2,d.s.c),G.write_shift(2,d.s.r),G.write_shift(2,d.e.c),G.write_shift(2,d.e.r),G}function g(d,G,v){var P=[{c:0,r:0},{t:"n",v:0},0,0];return v.qpro&&v.vers!=20768?(P[0].c=d.read_shift(1),P[3]=d.read_shift(1),P[0].r=d.read_shift(2),d.l+=2):v.works?(P[0].c=d.read_shift(2),P[0].r=d.read_shift(2),P[2]=d.read_shift(2)):(P[2]=d.read_shift(1),P[0].c=d.read_shift(2),P[0].r=d.read_shift(2)),P}function T(d){return d.z&&vi(d.z)?240|(N.indexOf(d.z)+1||2):255}function n(d,G,v){var P=d.l+G,p=g(d,G,v);if(p[1].t="s",(v.vers&65534)==20768){d.l++;var Z=d.read_shift(1);return p[1].v=d.read_shift(Z,"utf8"),p}return v.qpro&&d.l++,p[1].v=d.read_shift(P-d.l,"cstr"),p}function s(d,G,v){var P=sM(7+v.length);P.write_shift(1,255),P.write_shift(2,G),P.write_shift(2,d),P.write_shift(1,39);for(var p=0;p=128?95:Z)}return P.write_shift(1,0),P}function y(d,G,v){var P=d.l+G,p=g(d,G,v);if(p[1].t="s",v.vers==20768){var Z=d.read_shift(1);return p[1].v=d.read_shift(Z,"utf8"),p}return p[1].v=d.read_shift(P-d.l,"cstr"),p}function o(d,G,v){var P=g(d,G,v);return P[1].v=d.read_shift(2,"i"),P}function I(d,G,v){var P=sM(7);return P.write_shift(1,T(v)),P.write_shift(2,G),P.write_shift(2,d),P.write_shift(2,v.v,"i"),P}function L(d,G,v){var P=g(d,G,v);return P[1].v=d.read_shift(8,"f"),P}function O(d,G,v){var P=sM(13);return P.write_shift(1,T(v)),P.write_shift(2,G),P.write_shift(2,d),P.write_shift(8,v.v,"f"),P}function w(d,G,v){var P=d.l+G,p=g(d,G,v);if(p[1].v=d.read_shift(8,"f"),v.qpro)d.l=P;else{var Z=d.read_shift(2);x(d.slice(d.l,d.l+Z),p),d.l+=Z}return p}function A(d,G,v){var P=G&32768;return G&=-32769,G=(P?d:0)+(G>=8192?G-16384:G),(P?"":"$")+(v?dN(G):pN(G))}var k={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]},Q=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function x(d,G){RD(d,0);for(var v=[],P=0,p="",Z="",zM="",TM="";d.lv.length){console.error("WK1 bad formula parse 0x"+DM.toString(16)+":|"+v.join("|")+"|");return}var iN=v.slice(-P);v.length-=P,v.push(k[DM][0]+"("+iN.join(",")+")")}else return DM<=7?console.error("WK1 invalid opcode "+DM.toString(16)):DM<=24?console.error("WK1 unsupported op "+DM.toString(16)):DM<=30?console.error("WK1 invalid opcode "+DM.toString(16)):DM<=115?console.error("WK1 unsupported function opcode "+DM.toString(16)):console.error("WK1 unrecognized opcode "+DM.toString(16))}}v.length==1?G[1].f=""+v[0]:console.error("WK1 bad formula parse |"+v.join("|")+"|")}function f(d){var G=[{c:0,r:0},{t:"n",v:0},0];return G[0].r=d.read_shift(2),G[3]=d[d.l++],G[0].c=d[d.l++],G}function C(d,G){var v=f(d);return v[1].t="s",v[1].v=d.read_shift(G-4,"cstr"),v}function W(d,G,v,P){var p=sM(6+P.length);p.write_shift(2,d),p.write_shift(1,v),p.write_shift(1,G),p.write_shift(1,39);for(var Z=0;Z=128?95:zM)}return p.write_shift(1,0),p}function MM(d,G){var v=f(d);v[1].v=d.read_shift(2);var P=v[1].v>>1;if(v[1].v&1)switch(P&7){case 0:P=(P>>3)*5e3;break;case 1:P=(P>>3)*500;break;case 2:P=(P>>3)/20;break;case 3:P=(P>>3)/200;break;case 4:P=(P>>3)/2e3;break;case 5:P=(P>>3)/2e4;break;case 6:P=(P>>3)/16;break;case 7:P=(P>>3)/64;break}return v[1].v=P,v}function NM(d,G){var v=f(d),P=d.read_shift(4),p=d.read_shift(4),Z=d.read_shift(2);if(Z==65535)return P===0&&p===3221225472?(v[1].t="e",v[1].v=15):P===0&&p===3489660928?(v[1].t="e",v[1].v=42):v[1].v=0,v;var zM=Z&32768;return Z=(Z&32767)-16446,v[1].v=(1-zM*2)*(p*Math.pow(2,Z+32)+P*Math.pow(2,Z)),v}function jM(d,G,v,P){var p=sM(14);if(p.write_shift(2,d),p.write_shift(1,v),p.write_shift(1,G),P==0)return p.write_shift(4,0),p.write_shift(4,0),p.write_shift(2,65535),p;var Z=0,zM=0,TM=0,DM=0;return P<0&&(Z=1,P=-P),zM=Math.log2(P)|0,P/=Math.pow(2,zM-31),DM=P>>>0,(DM&2147483648)==0&&(P/=2,++zM,DM=P>>>0),P-=DM,DM|=2147483648,DM>>>=0,P*=Math.pow(2,32),TM=P>>>0,p.write_shift(4,TM),p.write_shift(4,DM),zM+=16383+(Z?32768:0),p.write_shift(2,zM),p}function aM(d,G){var v=NM(d);return d.l+=G-14,v}function tM(d,G){var v=f(d),P=d.read_shift(4);return v[1].v=P>>6,v}function R(d,G){var v=f(d),P=d.read_shift(8,"f");return v[1].v=P,v}function m(d,G){var v=R(d);return d.l+=G-12,v}function J(d,G){return d[d.l+G-1]==0?d.read_shift(G,"cstr"):""}function K(d,G){var v=d[d.l++];v>G-1&&(v=G-1);for(var P="";P.length127?95:p}return v[v.l++]=0,v}var oM={0:{n:"BOF",f:Uz},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:a},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:o},14:{n:"NUMBER",f:L},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:w},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:y},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:J},222:{n:"SHEETNAMELP",f:K},255:{n:"BOF",f:Uz},21506:{n:"WKSNF",f:Uz},65535:{n:""}},bM={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:C},23:{n:"NUMBER17",f:NM},24:{n:"NUMBER18",f:MM},25:{n:"FORMULA19",f:aM},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:IM},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:tM},38:{n:"??"},39:{n:"NUMBER27",f:R},40:{n:"FORMULA28",f:m},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:J},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:rM},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}},eM={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0;\\("$"#,##0\\)'};function uM(d,G){RD(d,0);var v=G||{},P={};v.dense&&(P["!data"]=[]);var p=[],Z="",zM={s:{r:-1,c:-1},e:{r:-1,c:-1}},TM=0,DM=0,AM=0,hM=0,KM={SheetNames:[],Sheets:{}},iN=[];M:for(;d.l255||zM.s.r>999999)break;zM.e.cAM&&(zM.s.c=AM),hM=EM.read_shift(4),zM.s.r>hM&&(zM.s.r=hM),hM=EM.read_shift(4),zM.e.rhM&&(zM.s.r=hM),zM.e.r0&&TM>=0;){if(zN&32)switch(zN&31){case 2:YM={t:"n",v:YM.v+GN&65535};break;case 3:YM={t:"n",v:YM.v+GN&65535},YM.v>32767&&(YM.v-=65536);break;case 7:YM={t:"s",v:p[DM=DM+GN>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(zN&31)}else switch(zN&31){case 1:YM={t:"z"};break;case 2:YM={t:"n",v:EM.read_shift(2)};break;case 7:YM={t:"s",v:p[DM=EM.read_shift(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(zN&31)}!v.sheetStubs&&YM.t=="z"||(P["!data"]!=null?(P["!data"][hM]||(P["!data"][hM]=[]),P["!data"][hM][AM]=YM):P[_M+pN(hM)]=YM),++hM,--TM}}}break}d.l+=xM}return KM}return{sheet_to_wk1:j,book_to_wk3:t,to_workbook:D}}(),Y3=/^\s|\s$|[\t\n\r]/;function k3(M,D){if(!D.bookSST)return"";var N=[qN];N[N.length]=VM("sst",null,{xmlns:Ij[0],count:M.Count,uniqueCount:M.Unique});for(var i=0;i!=M.length;++i)if(M[i]!=null){var j=M[i],t="";j.r?t+=j.r:(t+=""),t+="",N[N.length]=t}return N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}function f3(M){return[M.read_shift(4),M.read_shift(4)]}function d3(M,D){return D||(D=sM(8)),D.write_shift(4,M.Count),D.write_shift(4,M.Unique),D}var C3=yk;function U3(M){var D=CD();SM(D,159,d3(M));for(var N=0;N=0;--t)z=N[t],u=(D&16384)===0?0:1,a=D<<1&32767,r=u|a,D=r^z;return D^52811}function p3(M,D){var N=["{\\rtf1\\ansi"];if(!M["!ref"])return N[0]+"}";for(var i=bN(M["!ref"]),j,t=M["!data"]!=null,z=[],u=i.s.r;u<=i.e.r;++u){N.push("\\trowd\\trautofit1");for(var a=i.s.c;a<=i.e.c;++a)N.push("\\cellx"+(a+1));for(N.push("\\pard\\intbl"),t&&(z=M["!data"][u]||[]),a=i.s.c;a<=i.e.c;++a){var r=VN({r:u,c:a});if(j=t?z[a]:M[r],!j||j.v==null&&(!j.f||j.F)){N.push(" \\cell");continue}N.push(" "+(j.w||(ii(j),j.w)||"").replace(/[\r\n]/g,"\\par ")),N.push("\\cell")}N.push("\\pard\\intbl\\row")}return N.join("")+"}"}function fc(M){for(var D=0,N=1;D!=3;++D)N=N*256+(M[D]>255?255:M[D]<0?0:M[D]);return N.toString(16).toUpperCase().slice(1)}var h3=6,ji=h3;function Sz(M){return Math.floor((M+Math.round(128/ji)/256)*ji)}function pz(M){return Math.floor((M-5)/ji*100+.5)/100}function h4(M){return Math.round((M*ji+5)/ji*256)/256}function m4(M){M.width?(M.wpx=Sz(M.width),M.wch=pz(M.wpx),M.MDW=ji):M.wpx?(M.wch=pz(M.wpx),M.width=h4(M.wch),M.MDW=ji):typeof M.wch=="number"&&(M.width=h4(M.wch),M.wpx=Sz(M.width),M.MDW=ji),M.customWidth&&delete M.customWidth}var m3=96,dc=m3;function hz(M){return M*96/dc}function Cc(M){return M*dc/96}function B3(M){var D=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(N){for(var i=N[0];i<=N[1];++i)M[i]!=null&&(D[D.length]=VM("numFmt",null,{numFmtId:i,formatCode:cN(M[i])}))}),D.length===1?"":(D[D.length]="",D[0]=VM("numFmts",null,{count:D.length-2}).replace("/>",">"),D.join(""))}function b3(M){var D=[];return D[D.length]=VM("cellXfs",null),M.forEach(function(N){D[D.length]=VM("xf",null,N)}),D[D.length]="",D.length===2?"":(D[0]=VM("cellXfs",null,{count:D.length-2}).replace("/>",">"),D.join(""))}function v3(M,D){var N=[qN,VM("styleSheet",null,{xmlns:Ij[0],"xmlns:vt":TD.vt})],i;return M.SSF&&(i=B3(M.SSF))!=null&&(N[N.length]=i),N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',(i=b3(D.cellXfs))&&(N[N.length]=i),N[N.length]='',N[N.length]='',N[N.length]='',N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}function F3(M,D){var N=M.read_shift(2),i=UD(M);return[N,i]}function _3(M,D,N){N||(N=sM(6+4*D.length)),N.write_shift(2,M),zD(D,N);var i=N.length>N.l?N.slice(0,N.l):N;return N.l==null&&(N.l=N.length),i}function P3(M,D,N){var i={};i.sz=M.read_shift(2)/20;var j=Ak(M);j.fItalic&&(i.italic=1),j.fCondense&&(i.condense=1),j.fExtend&&(i.extend=1),j.fShadow&&(i.shadow=1),j.fOutline&&(i.outline=1),j.fStrikeout&&(i.strike=1);var t=M.read_shift(2);switch(t===700&&(i.bold=1),M.read_shift(2)){case 1:i.vertAlign="superscript";break;case 2:i.vertAlign="subscript";break}var z=M.read_shift(1);z!=0&&(i.underline=z);var u=M.read_shift(1);u>0&&(i.family=u);var a=M.read_shift(1);switch(a>0&&(i.charset=a),M.l++,i.color=wk(M),M.read_shift(1)){case 1:i.scheme="major";break;case 2:i.scheme="minor";break}return i.name=UD(M),i}function R3(M,D){D||(D=sM(25+4*32)),D.write_shift(2,M.sz*20),Ek(M,D),D.write_shift(2,M.bold?700:400);var N=0;M.vertAlign=="superscript"?N=1:M.vertAlign=="subscript"&&(N=2),D.write_shift(2,N),D.write_shift(1,M.underline||0),D.write_shift(1,M.family||0),D.write_shift(1,M.charset||0),D.write_shift(1,0),Yz(M.color,D);var i=0;return M.scheme=="major"&&(i=1),M.scheme=="minor"&&(i=2),D.write_shift(1,i),zD(M.name,D),D.length>D.l?D.slice(0,D.l):D}var G3=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],B4,W3=Re;function Uc(M,D){D||(D=sM(4*3+8*7+16*1)),B4||(B4=s4(G3));var N=B4[M.patternType];N==null&&(N=40),D.write_shift(4,N);var i=0;if(N!=40)for(Yz({auto:1},D),Yz({auto:1},D);i<12;++i)D.write_shift(4,0);else{for(;i<4;++i)D.write_shift(4,0);for(;i<12;++i)D.write_shift(4,0)}return D.length>D.l?D.slice(0,D.l):D}function V3(M,D){var N=M.l+D,i=M.read_shift(2),j=M.read_shift(2);return M.l=N,{ixfe:i,numFmtId:j}}function Sc(M,D,N){N||(N=sM(16)),N.write_shift(2,D||0),N.write_shift(2,M.numFmtId||0),N.write_shift(2,0),N.write_shift(2,0),N.write_shift(2,0),N.write_shift(1,0),N.write_shift(1,0);var i=0;return N.write_shift(1,i),N.write_shift(1,0),N.write_shift(1,0),N.write_shift(1,0),N}function Lt(M,D){return D||(D=sM(10)),D.write_shift(1,0),D.write_shift(1,0),D.write_shift(4,0),D.write_shift(4,0),D}var H3=Re;function Z3(M,D){return D||(D=sM(51)),D.write_shift(1,0),Lt(null,D),Lt(null,D),Lt(null,D),Lt(null,D),Lt(null,D),D.length>D.l?D.slice(0,D.l):D}function X3(M,D){return D||(D=sM(12+4*10)),D.write_shift(4,M.xfId),D.write_shift(2,1),D.write_shift(1,+M.builtinId),D.write_shift(1,0),st(M.name||"",D),D.length>D.l?D.slice(0,D.l):D}function J3(M,D,N){var i=sM(2052);return i.write_shift(4,M),st(D,i),st(N,i),i.length>i.l?i.slice(0,i.l):i}function $3(M,D){if(!!D){var N=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var j=i[0];j<=i[1];++j)D[j]!=null&&++N}),N!=0&&(SM(M,615,Ue(N)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var j=i[0];j<=i[1];++j)D[j]!=null&&SM(M,44,_3(j,D[j]))}),SM(M,616))}}function K3(M){var D=1;SM(M,611,Ue(D)),SM(M,43,R3({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),SM(M,612)}function q3(M){var D=2;SM(M,603,Ue(D)),SM(M,45,Uc({patternType:"none"})),SM(M,45,Uc({patternType:"gray125"})),SM(M,604)}function Mf(M){var D=1;SM(M,613,Ue(D)),SM(M,46,Z3()),SM(M,614)}function Nf(M){var D=1;SM(M,626,Ue(D)),SM(M,47,Sc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),SM(M,627)}function Df(M,D){SM(M,617,Ue(D.length)),D.forEach(function(N){SM(M,47,Sc(N,0))}),SM(M,618)}function ef(M){var D=1;SM(M,619,Ue(D)),SM(M,48,X3({xfId:0,builtinId:0,name:"Normal"})),SM(M,620)}function jf(M){var D=0;SM(M,505,Ue(D)),SM(M,506)}function tf(M){var D=0;SM(M,508,J3(D,"TableStyleMedium9","PivotStyleMedium4")),SM(M,509)}function zf(M,D){var N=CD();return SM(N,278),$3(N,M.SSF),K3(N),q3(N),Mf(N),Nf(N),Df(N,D.cellXfs),ef(N),jf(N),tf(N),SM(N,279),N.end()}function pc(M,D){if(D&&D.themeXLSX)return D.themeXLSX;if(M&&typeof M.raw=="string")return M.raw;var N=[qN];return N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N.join("")}function uf(M,D){return{flags:M.read_shift(4),version:M.read_shift(4),name:UD(M)}}function af(M){var D=sM(12+2*M.name.length);return D.write_shift(4,M.flags),D.write_shift(4,M.version),zD(M.name,D),D.slice(0,D.l)}function rf(M){for(var D=[],N=M.read_shift(4);N-- >0;)D.push([M.read_shift(4),M.read_shift(4)]);return D}function gf(M){var D=sM(4+8*M.length);D.write_shift(4,M.length);for(var N=0;N +`);case 23:case 24:case 25:case 37:case 39:case 40:if(mM[3]>zM&&(P["!ref"]=MD(KM),TM[p]=P,DM.push(p),P={},v.dense&&(hM=P["!data"]=[]),KM={s:{r:0,c:0},e:{r:0,c:0}},zM=mM[3],p="Sheet"+(zM+1)),iN>0&&mM[0].r>=iN)break;v.dense?(hM[mM[0].r]||(hM[mM[0].r]=[]),hM[mM[0].r][mM[0].c]=mM[1]):P[VN(mM[0])]=mM[1],KM.e.c=0&&et(+v.codepage),v.type=="string")throw new Error("Cannot write WK1 to JS string");var P=CD(),p=bN(d["!ref"]),Z=d["!data"]!=null,zM=[];BM(P,0,z(1030)),BM(P,6,r(p));for(var TM=Math.min(p.e.r,8191),DM=p.s.c;DM<=p.e.c;++DM)zM[DM]=dN(DM);for(var AM=p.s.r;AM<=TM;++AM){var hM=pN(AM);for(DM=p.s.c;DM<=p.e.c;++DM){var KM=Z?(d["!data"][AM]||[])[DM]:d[zM[DM]+hM];if(!(!KM||KM.t=="z"))switch(KM.t){case"n":(KM.v|0)==KM.v&&KM.v>=-32768&&KM.v<=32767?BM(P,13,I(AM,DM,KM)):BM(P,14,O(AM,DM,KM));break;case"d":var iN=AD(KM.v);(iN|0)==iN&&iN>=-32768&&iN<=32767?BM(P,13,I(AM,DM,{t:"n",v:iN,z:KM.z||BN[14]})):BM(P,14,O(AM,DM,{t:"n",v:iN,z:KM.z||BN[14]}));break;default:var oN=ii(KM);BM(P,15,s(AM,DM,oN.slice(0,239)))}}}return BM(P,1),P.end()}function t(d,G){var v=G||{};if(+v.codepage>=0&&et(+v.codepage),v.type=="string")throw new Error("Cannot write WK3 to JS string");var P=CD();BM(P,0,u(d));for(var p=0,Z=0;p8191&&(v=8191),G.write_shift(2,v),G.write_shift(1,p),G.write_shift(1,P),G.write_shift(2,0),G.write_shift(2,0),G.write_shift(1,1),G.write_shift(1,2),G.write_shift(4,0),G.write_shift(4,0),G}function a(d,G,v){var P={s:{c:0,r:0},e:{c:0,r:0}};return G==8&&v.qpro?(P.s.c=d.read_shift(1),d.l++,P.s.r=d.read_shift(2),P.e.c=d.read_shift(1),d.l++,P.e.r=d.read_shift(2),P):(P.s.c=d.read_shift(2),P.s.r=d.read_shift(2),G==12&&v.qpro&&(d.l+=2),P.e.c=d.read_shift(2),P.e.r=d.read_shift(2),G==12&&v.qpro&&(d.l+=2),P.s.c==65535&&(P.s.c=P.e.c=P.s.r=P.e.r=0),P)}function r(d){var G=sM(8);return G.write_shift(2,d.s.c),G.write_shift(2,d.s.r),G.write_shift(2,d.e.c),G.write_shift(2,d.e.r),G}function g(d,G,v){var P=[{c:0,r:0},{t:"n",v:0},0,0];return v.qpro&&v.vers!=20768?(P[0].c=d.read_shift(1),P[3]=d.read_shift(1),P[0].r=d.read_shift(2),d.l+=2):v.works?(P[0].c=d.read_shift(2),P[0].r=d.read_shift(2),P[2]=d.read_shift(2)):(P[2]=d.read_shift(1),P[0].c=d.read_shift(2),P[0].r=d.read_shift(2)),P}function T(d){return d.z&&vi(d.z)?240|(N.indexOf(d.z)+1||2):255}function n(d,G,v){var P=d.l+G,p=g(d,G,v);if(p[1].t="s",(v.vers&65534)==20768){d.l++;var Z=d.read_shift(1);return p[1].v=d.read_shift(Z,"utf8"),p}return v.qpro&&d.l++,p[1].v=d.read_shift(P-d.l,"cstr"),p}function s(d,G,v){var P=sM(7+v.length);P.write_shift(1,255),P.write_shift(2,G),P.write_shift(2,d),P.write_shift(1,39);for(var p=0;p=128?95:Z)}return P.write_shift(1,0),P}function y(d,G,v){var P=d.l+G,p=g(d,G,v);if(p[1].t="s",v.vers==20768){var Z=d.read_shift(1);return p[1].v=d.read_shift(Z,"utf8"),p}return p[1].v=d.read_shift(P-d.l,"cstr"),p}function o(d,G,v){var P=g(d,G,v);return P[1].v=d.read_shift(2,"i"),P}function I(d,G,v){var P=sM(7);return P.write_shift(1,T(v)),P.write_shift(2,G),P.write_shift(2,d),P.write_shift(2,v.v,"i"),P}function L(d,G,v){var P=g(d,G,v);return P[1].v=d.read_shift(8,"f"),P}function O(d,G,v){var P=sM(13);return P.write_shift(1,T(v)),P.write_shift(2,G),P.write_shift(2,d),P.write_shift(8,v.v,"f"),P}function w(d,G,v){var P=d.l+G,p=g(d,G,v);if(p[1].v=d.read_shift(8,"f"),v.qpro)d.l=P;else{var Z=d.read_shift(2);x(d.slice(d.l,d.l+Z),p),d.l+=Z}return p}function A(d,G,v){var P=G&32768;return G&=-32769,G=(P?d:0)+(G>=8192?G-16384:G),(P?"":"$")+(v?dN(G):pN(G))}var k={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]},Q=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function x(d,G){RD(d,0);for(var v=[],P=0,p="",Z="",zM="",TM="";d.lv.length){console.error("WK1 bad formula parse 0x"+DM.toString(16)+":|"+v.join("|")+"|");return}var iN=v.slice(-P);v.length-=P,v.push(k[DM][0]+"("+iN.join(",")+")")}else return DM<=7?console.error("WK1 invalid opcode "+DM.toString(16)):DM<=24?console.error("WK1 unsupported op "+DM.toString(16)):DM<=30?console.error("WK1 invalid opcode "+DM.toString(16)):DM<=115?console.error("WK1 unsupported function opcode "+DM.toString(16)):console.error("WK1 unrecognized opcode "+DM.toString(16))}}v.length==1?G[1].f=""+v[0]:console.error("WK1 bad formula parse |"+v.join("|")+"|")}function f(d){var G=[{c:0,r:0},{t:"n",v:0},0];return G[0].r=d.read_shift(2),G[3]=d[d.l++],G[0].c=d[d.l++],G}function C(d,G){var v=f(d);return v[1].t="s",v[1].v=d.read_shift(G-4,"cstr"),v}function W(d,G,v,P){var p=sM(6+P.length);p.write_shift(2,d),p.write_shift(1,v),p.write_shift(1,G),p.write_shift(1,39);for(var Z=0;Z=128?95:zM)}return p.write_shift(1,0),p}function MM(d,G){var v=f(d);v[1].v=d.read_shift(2);var P=v[1].v>>1;if(v[1].v&1)switch(P&7){case 0:P=(P>>3)*5e3;break;case 1:P=(P>>3)*500;break;case 2:P=(P>>3)/20;break;case 3:P=(P>>3)/200;break;case 4:P=(P>>3)/2e3;break;case 5:P=(P>>3)/2e4;break;case 6:P=(P>>3)/16;break;case 7:P=(P>>3)/64;break}return v[1].v=P,v}function NM(d,G){var v=f(d),P=d.read_shift(4),p=d.read_shift(4),Z=d.read_shift(2);if(Z==65535)return P===0&&p===3221225472?(v[1].t="e",v[1].v=15):P===0&&p===3489660928?(v[1].t="e",v[1].v=42):v[1].v=0,v;var zM=Z&32768;return Z=(Z&32767)-16446,v[1].v=(1-zM*2)*(p*Math.pow(2,Z+32)+P*Math.pow(2,Z)),v}function jM(d,G,v,P){var p=sM(14);if(p.write_shift(2,d),p.write_shift(1,v),p.write_shift(1,G),P==0)return p.write_shift(4,0),p.write_shift(4,0),p.write_shift(2,65535),p;var Z=0,zM=0,TM=0,DM=0;return P<0&&(Z=1,P=-P),zM=Math.log2(P)|0,P/=Math.pow(2,zM-31),DM=P>>>0,(DM&2147483648)==0&&(P/=2,++zM,DM=P>>>0),P-=DM,DM|=2147483648,DM>>>=0,P*=Math.pow(2,32),TM=P>>>0,p.write_shift(4,TM),p.write_shift(4,DM),zM+=16383+(Z?32768:0),p.write_shift(2,zM),p}function aM(d,G){var v=NM(d);return d.l+=G-14,v}function tM(d,G){var v=f(d),P=d.read_shift(4);return v[1].v=P>>6,v}function R(d,G){var v=f(d),P=d.read_shift(8,"f");return v[1].v=P,v}function m(d,G){var v=R(d);return d.l+=G-12,v}function J(d,G){return d[d.l+G-1]==0?d.read_shift(G,"cstr"):""}function K(d,G){var v=d[d.l++];v>G-1&&(v=G-1);for(var P="";P.length127?95:p}return v[v.l++]=0,v}var oM={0:{n:"BOF",f:Uz},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:a},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:o},14:{n:"NUMBER",f:L},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:w},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:y},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:J},222:{n:"SHEETNAMELP",f:K},255:{n:"BOF",f:Uz},21506:{n:"WKSNF",f:Uz},65535:{n:""}},bM={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:C},23:{n:"NUMBER17",f:NM},24:{n:"NUMBER18",f:MM},25:{n:"FORMULA19",f:aM},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:IM},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:tM},38:{n:"??"},39:{n:"NUMBER27",f:R},40:{n:"FORMULA28",f:m},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:J},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:rM},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}},eM={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0;\\("$"#,##0\\)'};function uM(d,G){RD(d,0);var v=G||{},P={};v.dense&&(P["!data"]=[]);var p=[],Z="",zM={s:{r:-1,c:-1},e:{r:-1,c:-1}},TM=0,DM=0,AM=0,hM=0,KM={SheetNames:[],Sheets:{}},iN=[];M:for(;d.l255||zM.s.r>999999)break;zM.e.cAM&&(zM.s.c=AM),hM=EM.read_shift(4),zM.s.r>hM&&(zM.s.r=hM),hM=EM.read_shift(4),zM.e.rhM&&(zM.s.r=hM),zM.e.r0&&TM>=0;){if(zN&32)switch(zN&31){case 2:YM={t:"n",v:YM.v+GN&65535};break;case 3:YM={t:"n",v:YM.v+GN&65535},YM.v>32767&&(YM.v-=65536);break;case 7:YM={t:"s",v:p[DM=DM+GN>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(zN&31)}else switch(zN&31){case 1:YM={t:"z"};break;case 2:YM={t:"n",v:EM.read_shift(2)};break;case 7:YM={t:"s",v:p[DM=EM.read_shift(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(zN&31)}!v.sheetStubs&&YM.t=="z"||(P["!data"]!=null?(P["!data"][hM]||(P["!data"][hM]=[]),P["!data"][hM][AM]=YM):P[PM+pN(hM)]=YM),++hM,--TM}}}break}d.l+=xM}return KM}return{sheet_to_wk1:j,book_to_wk3:t,to_workbook:D}}(),Y3=/^\s|\s$|[\t\n\r]/;function k3(M,D){if(!D.bookSST)return"";var N=[qN];N[N.length]=VM("sst",null,{xmlns:Ij[0],count:M.Count,uniqueCount:M.Unique});for(var i=0;i!=M.length;++i)if(M[i]!=null){var j=M[i],t="";j.r?t+=j.r:(t+=""),t+="",N[N.length]=t}return N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}function f3(M){return[M.read_shift(4),M.read_shift(4)]}function d3(M,D){return D||(D=sM(8)),D.write_shift(4,M.Count),D.write_shift(4,M.Unique),D}var C3=yk;function U3(M){var D=CD();SM(D,159,d3(M));for(var N=0;N=0;--t)z=N[t],u=(D&16384)===0?0:1,a=D<<1&32767,r=u|a,D=r^z;return D^52811}function p3(M,D){var N=["{\\rtf1\\ansi"];if(!M["!ref"])return N[0]+"}";for(var i=bN(M["!ref"]),j,t=M["!data"]!=null,z=[],u=i.s.r;u<=i.e.r;++u){N.push("\\trowd\\trautofit1");for(var a=i.s.c;a<=i.e.c;++a)N.push("\\cellx"+(a+1));for(N.push("\\pard\\intbl"),t&&(z=M["!data"][u]||[]),a=i.s.c;a<=i.e.c;++a){var r=VN({r:u,c:a});if(j=t?z[a]:M[r],!j||j.v==null&&(!j.f||j.F)){N.push(" \\cell");continue}N.push(" "+(j.w||(ii(j),j.w)||"").replace(/[\r\n]/g,"\\par ")),N.push("\\cell")}N.push("\\pard\\intbl\\row")}return N.join("")+"}"}function fc(M){for(var D=0,N=1;D!=3;++D)N=N*256+(M[D]>255?255:M[D]<0?0:M[D]);return N.toString(16).toUpperCase().slice(1)}var h3=6,ji=h3;function Sz(M){return Math.floor((M+Math.round(128/ji)/256)*ji)}function pz(M){return Math.floor((M-5)/ji*100+.5)/100}function h4(M){return Math.round((M*ji+5)/ji*256)/256}function m4(M){M.width?(M.wpx=Sz(M.width),M.wch=pz(M.wpx),M.MDW=ji):M.wpx?(M.wch=pz(M.wpx),M.width=h4(M.wch),M.MDW=ji):typeof M.wch=="number"&&(M.width=h4(M.wch),M.wpx=Sz(M.width),M.MDW=ji),M.customWidth&&delete M.customWidth}var m3=96,dc=m3;function hz(M){return M*96/dc}function Cc(M){return M*dc/96}function B3(M){var D=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(N){for(var i=N[0];i<=N[1];++i)M[i]!=null&&(D[D.length]=VM("numFmt",null,{numFmtId:i,formatCode:cN(M[i])}))}),D.length===1?"":(D[D.length]="",D[0]=VM("numFmts",null,{count:D.length-2}).replace("/>",">"),D.join(""))}function b3(M){var D=[];return D[D.length]=VM("cellXfs",null),M.forEach(function(N){D[D.length]=VM("xf",null,N)}),D[D.length]="",D.length===2?"":(D[0]=VM("cellXfs",null,{count:D.length-2}).replace("/>",">"),D.join(""))}function v3(M,D){var N=[qN,VM("styleSheet",null,{xmlns:Ij[0],"xmlns:vt":TD.vt})],i;return M.SSF&&(i=B3(M.SSF))!=null&&(N[N.length]=i),N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',(i=b3(D.cellXfs))&&(N[N.length]=i),N[N.length]='',N[N.length]='',N[N.length]='',N.length>2&&(N[N.length]="",N[1]=N[1].replace("/>",">")),N.join("")}function F3(M,D){var N=M.read_shift(2),i=UD(M);return[N,i]}function _3(M,D,N){N||(N=sM(6+4*D.length)),N.write_shift(2,M),zD(D,N);var i=N.length>N.l?N.slice(0,N.l):N;return N.l==null&&(N.l=N.length),i}function P3(M,D,N){var i={};i.sz=M.read_shift(2)/20;var j=Ak(M);j.fItalic&&(i.italic=1),j.fCondense&&(i.condense=1),j.fExtend&&(i.extend=1),j.fShadow&&(i.shadow=1),j.fOutline&&(i.outline=1),j.fStrikeout&&(i.strike=1);var t=M.read_shift(2);switch(t===700&&(i.bold=1),M.read_shift(2)){case 1:i.vertAlign="superscript";break;case 2:i.vertAlign="subscript";break}var z=M.read_shift(1);z!=0&&(i.underline=z);var u=M.read_shift(1);u>0&&(i.family=u);var a=M.read_shift(1);switch(a>0&&(i.charset=a),M.l++,i.color=wk(M),M.read_shift(1)){case 1:i.scheme="major";break;case 2:i.scheme="minor";break}return i.name=UD(M),i}function R3(M,D){D||(D=sM(25+4*32)),D.write_shift(2,M.sz*20),Ek(M,D),D.write_shift(2,M.bold?700:400);var N=0;M.vertAlign=="superscript"?N=1:M.vertAlign=="subscript"&&(N=2),D.write_shift(2,N),D.write_shift(1,M.underline||0),D.write_shift(1,M.family||0),D.write_shift(1,M.charset||0),D.write_shift(1,0),Yz(M.color,D);var i=0;return M.scheme=="major"&&(i=1),M.scheme=="minor"&&(i=2),D.write_shift(1,i),zD(M.name,D),D.length>D.l?D.slice(0,D.l):D}var G3=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],B4,W3=Re;function Uc(M,D){D||(D=sM(4*3+8*7+16*1)),B4||(B4=s4(G3));var N=B4[M.patternType];N==null&&(N=40),D.write_shift(4,N);var i=0;if(N!=40)for(Yz({auto:1},D),Yz({auto:1},D);i<12;++i)D.write_shift(4,0);else{for(;i<4;++i)D.write_shift(4,0);for(;i<12;++i)D.write_shift(4,0)}return D.length>D.l?D.slice(0,D.l):D}function V3(M,D){var N=M.l+D,i=M.read_shift(2),j=M.read_shift(2);return M.l=N,{ixfe:i,numFmtId:j}}function Sc(M,D,N){N||(N=sM(16)),N.write_shift(2,D||0),N.write_shift(2,M.numFmtId||0),N.write_shift(2,0),N.write_shift(2,0),N.write_shift(2,0),N.write_shift(1,0),N.write_shift(1,0);var i=0;return N.write_shift(1,i),N.write_shift(1,0),N.write_shift(1,0),N.write_shift(1,0),N}function Lt(M,D){return D||(D=sM(10)),D.write_shift(1,0),D.write_shift(1,0),D.write_shift(4,0),D.write_shift(4,0),D}var H3=Re;function Z3(M,D){return D||(D=sM(51)),D.write_shift(1,0),Lt(null,D),Lt(null,D),Lt(null,D),Lt(null,D),Lt(null,D),D.length>D.l?D.slice(0,D.l):D}function X3(M,D){return D||(D=sM(12+4*10)),D.write_shift(4,M.xfId),D.write_shift(2,1),D.write_shift(1,+M.builtinId),D.write_shift(1,0),st(M.name||"",D),D.length>D.l?D.slice(0,D.l):D}function J3(M,D,N){var i=sM(2052);return i.write_shift(4,M),st(D,i),st(N,i),i.length>i.l?i.slice(0,i.l):i}function $3(M,D){if(!!D){var N=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var j=i[0];j<=i[1];++j)D[j]!=null&&++N}),N!=0&&(SM(M,615,Ue(N)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(i){for(var j=i[0];j<=i[1];++j)D[j]!=null&&SM(M,44,_3(j,D[j]))}),SM(M,616))}}function K3(M){var D=1;SM(M,611,Ue(D)),SM(M,43,R3({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),SM(M,612)}function q3(M){var D=2;SM(M,603,Ue(D)),SM(M,45,Uc({patternType:"none"})),SM(M,45,Uc({patternType:"gray125"})),SM(M,604)}function Mf(M){var D=1;SM(M,613,Ue(D)),SM(M,46,Z3()),SM(M,614)}function Nf(M){var D=1;SM(M,626,Ue(D)),SM(M,47,Sc({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),SM(M,627)}function Df(M,D){SM(M,617,Ue(D.length)),D.forEach(function(N){SM(M,47,Sc(N,0))}),SM(M,618)}function ef(M){var D=1;SM(M,619,Ue(D)),SM(M,48,X3({xfId:0,builtinId:0,name:"Normal"})),SM(M,620)}function jf(M){var D=0;SM(M,505,Ue(D)),SM(M,506)}function tf(M){var D=0;SM(M,508,J3(D,"TableStyleMedium9","PivotStyleMedium4")),SM(M,509)}function zf(M,D){var N=CD();return SM(N,278),$3(N,M.SSF),K3(N),q3(N),Mf(N),Nf(N),Df(N,D.cellXfs),ef(N),jf(N),tf(N),SM(N,279),N.end()}function pc(M,D){if(D&&D.themeXLSX)return D.themeXLSX;if(M&&typeof M.raw=="string")return M.raw;var N=[qN];return N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]='',N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]='',N[N.length]="",N[N.length]="",N[N.length]="",N[N.length]="",N.join("")}function uf(M,D){return{flags:M.read_shift(4),version:M.read_shift(4),name:UD(M)}}function af(M){var D=sM(12+2*M.name.length);return D.write_shift(4,M.flags),D.write_shift(4,M.version),zD(M.name,D),D.slice(0,D.l)}function rf(M){for(var D=[],N=M.read_shift(4);N-- >0;)D.push([M.read_shift(4),M.read_shift(4)]);return D}function gf(M){var D=sM(4+8*M.length);D.write_shift(4,M.length);for(var N=0;N @@ -207,7 +207,7 @@ EOD`}return{to_workbook:i,to_sheet:N,from_sheet:z}}(),Qc=function(){function M(T `)(),W8=(()=>`.layui-table-cell[data-v-dc2bcd6e] .layui-input input{padding-left:0} `)();const OS=["colspan","rowspan"],wS={key:1,class:"layui-table-cell-expand-icon-spaced"},AS=["colspan","rowspan"],ES={key:1,class:"layui-table-cell-expand-icon-spaced"},xS=["colspan","rowspan"],QS={key:1,class:"layui-table-cell-expand-icon-spaced"},YS=["colspan","rowspan"],kS={key:1,class:"layui-table-cell-expand-icon-spaced"},fS=["colspan","rowspan","onClick"],dS={key:1,class:"layui-table-cell-expand-icon-spaced"},CS={key:0},US={key:1},SS={key:0,class:"layui-table-cell-expand"},pS=["colspan"],hS={name:"TableRow"},mS=e.defineComponent({...hS,props:{index:null,indentSize:null,currentIndentSize:null,expandSpace:{type:Boolean},expandIndex:null,selectedKeys:null,selectedKey:null,tableColumnKeys:null,childrenColumnName:{default:"children"},columns:null,checkbox:{type:Boolean,default:!1},cellClassName:{type:[String,Function],default:""},cellStyle:{type:[String,Function],default:""},rowClassName:null,rowStyle:null,id:null,data:null,spanMethod:null,defaultExpandAll:{type:Boolean},expandKeys:null,getCheckboxProps:null,getRadioProps:null,page:null},emits:["row","row-double","row-contextmenu","update:expandKeys","update:selectedKeys","update:selectedKey"],setup(M,{emit:D}){const N=M,i=e.useSlots();function j(NM){if(typeof NM=="undefined")return"";typeof NM=="string"&&(NM=parseFloat(NM||"0"));let jM=NM.toString().split(".")[1],tM=(NM.toString().split(".")[0]||0).toString().replace(/(\d)(?=(?:\d{3})+$)/g,"$1,")+(jM?"."+jM:"");return console.log(tM),tM}const t=e.ref(N.defaultExpandAll),z=e.ref({}),u=e.computed({get(){return[...N.expandKeys]},set(NM){D("update:expandKeys",NM)}}),a=e.computed({get(){return[...N.selectedKeys]},set(NM){D("update:selectedKeys",NM)}}),r=e.computed({get(){return N.selectedKey},set(NM){D("update:selectedKey",NM)}}),g=e.computed({get(){return t.value?!0:u.value.includes(N.data[N.id])},set(NM){let jM=[...u.value];NM?jM.push(N.data[N.id]):jM.splice(jM.indexOf(N.data[N.id]),1),t.value=!1,u.value=jM}}),T=e.ref([]);N.columns.map(NM=>{NM.customSlot&&T.value.push(NM.customSlot)});const n=function(NM,jM){let aM=new Event("click");window.dispatchEvent(aM),D("row",NM,jM)},s=function(NM,jM){D("row-double",NM,jM)},y=function(NM,jM){D("row-contextmenu",NM,jM)},o=e.computed(()=>g.value?"layui-icon-subtraction":"layui-icon-addition"),I=()=>{g.value=!g.value},L=(NM,jM,aM,tM)=>typeof N.cellStyle=="string"?N.cellStyle:N.cellStyle(NM,jM,aM,tM),O=(NM,jM,aM,tM)=>typeof N.cellClassName=="string"?N.cellClassName:N.cellClassName(NM,jM,aM,tM),w=(NM,jM)=>typeof N.rowStyle=="string"?N.rowStyle:N.rowStyle(NM,jM),A=(NM,jM)=>typeof N.rowClassName=="string"?N.rowClassName:N.rowClassName(NM,jM),k=e.computed(()=>N.currentIndentSize+N.indentSize),Q=(NM,jM)=>{var J,K,rM,IM;if(NM.fixed)if(NM.fixed=="left"){for(var aM=0,tM=0;tM{if(NM.fixed)if(NM.fixed=="left"){for(var aM=!0,tM=jM+1;tM{const R=N.spanMethod(NM,jM,aM,tM);return R instanceof Array?{rowspan:R[0],colspan:R[1]}:R instanceof Object?R:{rowspan:1,colspan:1}},C=(NM,jM,aM,tM)=>{const R=f(NM,jM,aM,tM);return!(R.colspan==0&&R.rowspan==0)},W=N.getCheckboxProps(N.data,N.index),MM=N.getRadioProps(N.data,N.index);return(NM,jM)=>{const aM=e.resolveComponent("lay-input"),tM=e.resolveComponent("table-row",!0);return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("tr",{style:e.normalizeStyle([w(M.data,M.index)]),class:e.normalizeClass([A(M.data,M.index)]),onClick:jM[2]||(jM[2]=e.withModifiers(R=>n(M.data,R),["stop"])),onDblclick:jM[3]||(jM[3]=e.withModifiers(R=>s(M.data,R),["stop"])),onContextmenu:jM[4]||(jM[4]=e.withModifiers(R=>y(M.data,R),["stop"]))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.columns,(R,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[M.tableColumnKeys.includes(R.key)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[R.type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[R.type=="radio"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[C(M.data,R,M.index,m)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(["layui-table-cell layui-table-cell-radio",[x(R,m),O(M.data,R,M.index,m),R.fixed?`layui-table-fixed-${R.fixed}`:""]]),colspan:f(M.data,R,M.index,m).colspan,rowspan:f(M.data,R,M.index,m).rowspan,style:e.normalizeStyle([{textAlign:R.align,whiteSpace:R.ellipsisTooltip?"nowrap":"normal"},Q(R,m),L(M.data,R,M.index,m)])},[M.expandSpace&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({"margin-right":M.currentIndentSize+"px"})},null,4)):e.createCommentVNode("",!0),M.expandSpace&&!M.data[M.childrenColumnName]&&!e.unref(i).expand&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",wS)):e.createCommentVNode("",!0),(e.unref(i).expand||M.data[M.childrenColumnName])&&m===M.expandIndex?(e.openBlock(),e.createBlock(e.unref(iM),{key:2,class:"layui-table-cell-expand-icon",type:e.unref(o),onClick:I},null,8,["type"])):e.createCommentVNode("",!0),e.createVNode(yg,e.mergeProps({modelValue:e.unref(r),"onUpdate:modelValue":jM[0]||(jM[0]=J=>e.isRef(r)?r.value=J:null)},e.unref(MM),{value:M.data[M.id]}),null,16,["modelValue","value"])],14,OS)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),R.type=="checkbox"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C(M.data,R,M.index,m)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(["layui-table-cell layui-table-cell-checkbox",[x(R,m),O(M.data,R,M.index,m),R.fixed?`layui-table-fixed-${R.fixed}`:""]]),colspan:f(M.data,R,M.index,m).colspan,rowspan:f(M.data,R,M.index,m).rowspan,style:e.normalizeStyle([{textAlign:R.align,whiteSpace:R.ellipsisTooltip?"nowrap":"normal"},Q(R,m),L(M.data,R,M.index,m)])},[M.expandSpace&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({"margin-right":M.currentIndentSize+"px"})},null,4)):e.createCommentVNode("",!0),M.expandSpace&&!M.data[M.childrenColumnName]&&!e.unref(i).expand&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",ES)):e.createCommentVNode("",!0),(e.unref(i).expand||M.data[M.childrenColumnName])&&m===M.expandIndex?(e.openBlock(),e.createBlock(e.unref(iM),{key:2,class:"layui-table-cell-expand-icon",type:e.unref(o),onClick:I},null,8,["type"])):e.createCommentVNode("",!0),e.createVNode(fe,e.mergeProps({modelValue:e.unref(a),"onUpdate:modelValue":jM[1]||(jM[1]=J=>e.isRef(a)?a.value=J:null)},e.unref(W),{value:M.data[M.id],skin:"primary"}),null,16,["modelValue","value"])],14,AS)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),R.type=="number"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[C(M.data,R,M.index,m)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(["layui-table-cell layui-table-cell-number",[x(R,m),O(M.data,R,M.index,m),R.fixed?`layui-table-fixed-${R.fixed}`:""]]),colspan:f(M.data,R,M.index,m).colspan,rowspan:f(M.data,R,M.index,m).rowspan,style:e.normalizeStyle([{textAlign:R.align,whiteSpace:R.ellipsisTooltip?"nowrap":"normal"},Q(R,m),L(M.data,R,M.index,m)])},[M.expandSpace&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({"margin-right":M.currentIndentSize+"px"})},null,4)):e.createCommentVNode("",!0),M.expandSpace&&!M.data[M.childrenColumnName]&&!e.unref(i).expand&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",QS)):e.createCommentVNode("",!0),(e.unref(i).expand||M.data[M.childrenColumnName])&&m===M.expandIndex?(e.openBlock(),e.createBlock(e.unref(iM),{key:2,class:"layui-table-cell-expand-icon",type:e.unref(o),onClick:I},null,8,["type"])):e.createCommentVNode("",!0),M.page?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString(M.index+1+(M.page.current-1)*M.page.limit),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[e.createTextVNode(e.toDisplayString(M.index+1),1)],64))],14,xS)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[R.customSlot?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[C(M.data,R,M.index,m)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(["layui-table-cell",[x(R,m),O(M.data,R,M.index,m),R.fixed?`layui-table-fixed-${R.fixed}`:""]]),colspan:f(M.data,R,M.index,m).colspan,rowspan:f(M.data,R,M.index,m).rowspan,style:e.normalizeStyle([{textAlign:R.align,whiteSpace:R.ellipsisTooltip?"nowrap":"normal"},Q(R,m),L(M.data,R,M.index,m)])},[e.createElementVNode("div",{style:e.normalizeStyle([{display:"flex"},[{textAlign:R.align,justifyContent:R.align}]])},[M.expandSpace&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({"margin-right":M.currentIndentSize+"px"})},null,4)):e.createCommentVNode("",!0),M.expandSpace&&!M.data[M.childrenColumnName]&&!e.unref(i).expand&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",kS)):e.createCommentVNode("",!0),(e.unref(i).expand||M.data[M.childrenColumnName])&&m===M.expandIndex?(e.openBlock(),e.createBlock(e.unref(iM),{key:2,class:"layui-table-cell-expand-icon",type:e.unref(o),onClick:I},null,8,["type"])):e.createCommentVNode("",!0),R.ellipsisTooltip?(e.openBlock(),e.createBlock(ke,{key:3,isAutoShow:!0},{content:e.withCtx(()=>[e.renderSlot(NM.$slots,R.customSlot,{data:M.data,column:R},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(NM.$slots,R.customSlot,{data:M.data,column:R},void 0,!0)]),_:2},1024)):e.renderSlot(NM.$slots,R.customSlot,{key:4,data:M.data,column:R},void 0,!0)],4)],14,YS)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C(M.data,R,M.index,m)?(e.openBlock(),e.createElementBlock("td",{key:0,class:e.normalizeClass(["layui-table-cell",[x(R,m),O(M.data,R,M.index,m),R.fixed?`layui-table-fixed-${R.fixed}`:""]]),colspan:f(M.data,R,M.index,m).colspan,rowspan:f(M.data,R,M.index,m).rowspan,style:e.normalizeStyle([{textAlign:R.align,whiteSpace:R.ellipsisTooltip?"nowrap":"normal"},Q(R,m),L(M.data,R,M.index,m)]),onClick:J=>z.value[m]=!0},[e.createElementVNode("div",{style:e.normalizeStyle([{display:"flex"},[{textAlign:R.align,justifyContent:R.align}]])},[M.expandSpace&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({"margin-right":M.currentIndentSize+"px"})},null,4)):e.createCommentVNode("",!0),M.expandSpace&&!M.data[M.childrenColumnName]&&!e.unref(i).expand&&m===M.expandIndex?(e.openBlock(),e.createElementBlock("span",dS)):e.createCommentVNode("",!0),(e.unref(i).expand||M.data[M.childrenColumnName])&&m===M.expandIndex?(e.openBlock(),e.createBlock(e.unref(iM),{key:2,class:"layui-table-cell-expand-icon",type:e.unref(o),onClick:I},null,8,["type"])):e.createCommentVNode("",!0),R.ellipsisTooltip?(e.openBlock(),e.createBlock(ke,{key:3,content:M.data[R.key],isAutoShow:!0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(R.qfw?j(M.data[R.key]):M.data[R.key]),1)]),_:2},1032,["content"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[R.edit?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[z.value[m]?(e.openBlock(),e.createBlock(aM,{key:1,autofocus:!0,modelValue:M.data[R.key],"onUpdate:modelValue":J=>M.data[R.key]=J,onKeyup:e.withKeys(J=>z.value[m]=!1,["enter"]),onBlur:J=>z.value[m]=!1},null,8,["modelValue","onUpdate:modelValue","onKeyup","onBlur"])):(e.openBlock(),e.createElementBlock("span",CS,e.toDisplayString(R.qfw?j(M.data[R.key]):M.data[R.key]),1))],64)):(e.openBlock(),e.createElementBlock("span",US,e.toDisplayString(R.qfw?j(M.data[R.key]):M.data[R.key]),1))],64))],4)],14,fS)):e.createCommentVNode("",!0)],64))],64))],64)):e.createCommentVNode("",!0)],64))),128))],38),e.unref(i).expand&&e.unref(g)?(e.openBlock(),e.createElementBlock("tr",SS,[e.createElementVNode("td",{class:"layui-table-cell",colspan:M.columns.length},[e.renderSlot(NM.$slots,"expand",{data:M.data},void 0,!0)],8,pS)])):e.createCommentVNode("",!0),M.data[M.childrenColumnName]&&e.unref(g)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(M.data[M.childrenColumnName],(R,m)=>(e.openBlock(),e.createBlock(tM,{key:m,id:M.id,data:R,index:m,columns:M.columns,"indent-size":M.indentSize,"current-indent-size":e.unref(k),checkbox:M.checkbox,tableColumnKeys:M.tableColumnKeys,expandSpace:M.expandSpace,expandIndex:M.expandIndex,cellStyle:M.cellStyle,cellClassName:M.cellClassName,rowStyle:M.rowStyle,rowClassName:M.rowClassName,spanMethod:M.spanMethod,defaultExpandAll:M.defaultExpandAll,getCheckboxProps:M.getCheckboxProps,getRadioProps:M.getRadioProps,onRow:n,onRowDouble:s,onRowContextmenu:y,expandKeys:e.unref(u),"onUpdate:expandKeys":jM[5]||(jM[5]=J=>e.isRef(u)?u.value=J:null),selectedKeys:e.unref(a),"onUpdate:selectedKeys":jM[6]||(jM[6]=J=>e.isRef(a)?a.value=J:null),selectedKey:e.unref(r),"onUpdate:selectedKey":jM[7]||(jM[7]=J=>e.isRef(r)?r.value=J:null)},e.createSlots({_:2},[e.renderList(T.value,J=>({name:J,fn:e.withCtx(K=>[e.renderSlot(NM.$slots,J,{data:K.data,column:K.column},void 0,!0)])})),e.unref(i).expand?{name:"expand",fn:e.withCtx(J=>[e.renderSlot(NM.$slots,"expand",{data:J.data,column:J.column},void 0,!0)]),key:"0"}:void 0]),1032,["id","data","index","columns","indent-size","current-indent-size","checkbox","tableColumnKeys","expandSpace","expandIndex","cellStyle","cellClassName","rowStyle","rowClassName","spanMethod","defaultExpandAll","getCheckboxProps","getRadioProps","expandKeys","selectedKeys","selectedKey"]))),128)):e.createCommentVNode("",!0)],64)}}});var BS=rj(mS,[["__scopeId","data-v-dc2bcd6e"]]),V8=(()=>`.layui-laypage{display:inline-block;vertical-align:middle;margin:10px 0;font-size:0}.layui-laypage>a:first-child,.layui-laypage>a:first-child em{border-radius:2px 0 0 2px}.layui-laypage>a:last-child,.layui-laypage>a:last-child em{border-radius:0 2px 2px 0}.layui-laypage>:first-child{margin-left:0!important}.layui-laypage>:last-child{margin-right:0!important}.layui-laypage a,.layui-laypage button,.layui-laypage input,.layui-laypage select,.layui-laypage span{border:1px solid var(--global-neutral-color-3)}.layui-laypage a,.layui-laypage span{display:inline-block;vertical-align:middle;padding:0 15px;height:28px;line-height:28px;margin:0 -1px 5px 0;background-color:#fff;color:#333;font-size:12px}.layui-laypage a:hover{color:var(--global-primary-color)}.layui-laypage-a-red:hover{color:#ff5722!important}.layui-laypage-a-orange:hover{color:#ffb800!important}.layui-laypage-a-green:hover{color:#009688!important}.layui-laypage-a-cyan:hover{color:#2f4056!important}.layui-laypage-a-blue:hover{color:#01aaed!important}.layui-laypage-a-black:hover{color:#000!important}.layui-laypage-a-gray:hover{color:#c2c2c2!important}.layui-laypage em{font-style:normal}.layui-laypage .layui-laypage-spr{color:#999;font-weight:700}.layui-laypage a{text-decoration:none}.layui-laypage .layui-laypage-curr{position:relative}.layui-laypage .layui-laypage-curr em{position:relative;color:#fff}.layui-laypage .layui-laypage-curr .layui-laypage-em{position:absolute;left:-1px;top:-1px;padding:1px;width:100%;height:100%;background-color:var(--global-primary-color)}.layui-laypage-em{border-radius:2px}.layui-laypage-next em,.layui-laypage-prev em{font-family:Sim sun;font-size:16px}.layui-laypage .layui-laypage-count,.layui-laypage .layui-laypage-limits,.layui-laypage .layui-laypage-refresh,.layui-laypage .layui-laypage-skip{margin-left:10px;margin-right:10px;padding:0;border:none}.layui-laypage .layui-laypage-limits,.layui-laypage .layui-laypage-refresh{vertical-align:top}.layui-laypage .layui-laypage-refresh i{font-size:18px;cursor:pointer}.layui-laypage select{height:22px;padding:3px;margin-top:4px;border-radius:2px;cursor:pointer}.layui-laypage .layui-laypage-skip{height:30px;line-height:30px;color:#999}.layui-laypage button,.layui-laypage input{height:30px;line-height:30px;border-radius:2px;vertical-align:top;background-color:#fff;box-sizing:border-box}.layui-laypage input{display:inline-block;width:40px;margin:0 10px;padding:0 3px;text-align:center}.layui-laypage input::-webkit-outer-spin-button,.layui-laypage input::-webkit-inner-spin-button{-webkit-appearance:none}.layui-laypage input:focus,.layui-laypage select:focus{border-color:var(--global-primary-color)!important}.layui-laypage button{margin-left:10px;padding:0 10px;cursor:pointer} `)();const bS={class:"layui-laypage layui-laypage-default"},vS={key:0,class:"layui-laypage-count"},FS={key:0,class:"layui-laypage-curr"},_S=["onClick"],PS={key:2,class:"layui-laypage-limits"},RS=["value"],GS=[e.createElementVNode("i",{class:"layui-icon layui-icon-refresh"},null,-1)],WS={key:4,class:"layui-laypage-skip"},VS=["disabled"],HS={key:5},ZS={name:"LayPage"},Os=e.defineComponent({...ZS,props:{total:null,limit:{default:10},theme:{default:"green"},showPage:{type:Boolean,default:!1},showSkip:{type:Boolean,default:!1},showCount:{type:Boolean,default:!1},showLimit:{type:Boolean,default:!0},showInput:{type:Boolean,default:!1},showRefresh:{type:Boolean,default:!1},pages:{default:10},limits:{default:()=>[10,20,30,40,50]},modelValue:{default:1},count:null},emits:["update:modelValue","update:limit","change"],setup(M,{emit:D}){const N=M,{t:i}=De(),j=e.useSlots(),t=e.ref(0),z=e.ref(N.limits),u=e.computed(()=>Math.floor(N.pages/2)),a=e.ref(N.modelValue),r=e.ref(a.value),g=e.ref(N.limit);e.watch(()=>N.limit,()=>{g.value=N.limit});const T=e.computed(()=>{t.value=Math.ceil(N.total/g.value);let O=[],w=t.value<=N.pages?1:a.value>u.value?t.value-a.value+1=N.pages||A>t.value);A++)O.push(A);return O}),n=()=>{a.value!==1&&(a.value--,D("change",{current:a.value,limit:g.value}))},s=()=>{a.value===t.value||t.value===0||(a.value++,D("change",{current:a.value,limit:g.value}))},y=O=>{a.value=O,D("change",{current:a.value,limit:g.value})},o=()=>{a.value=r.value,D("change",{current:a.value,limit:g.value})},I=()=>{const O=Math.ceil(N.total/g.value);a.value>O&&(a.value=O),D("change",{current:a.value,limit:g.value})},L=()=>{D("change",{current:a.value,limit:g.value})};return e.watch(g,()=>{D("update:limit",g.value)}),e.watch(a,()=>{const O=T.value[0],w=T.value[T.value.length-1];a.value>w&&(a.value=w),a.valueN.modelValue,()=>{a.value=N.modelValue,r.value=a.value}),(O,w)=>(e.openBlock(),e.createElementBlock("div",bS,[M.showCount?(e.openBlock(),e.createElementBlock("span",vS,e.toDisplayString(e.unref(i)("page.total"))+" "+e.toDisplayString(M.total)+" "+e.toDisplayString(e.unref(i)("page.item"))+" "+e.toDisplayString(t.value)+" "+e.toDisplayString(e.unref(i)("page.page")),1)):e.createCommentVNode("",!0),e.createElementVNode("a",{href:"javascript:;",class:e.normalizeClass(["layui-laypage-prev",[a.value===1?"layui-disabled":"",M.theme&&a.value!==1?"layui-laypage-a-"+M.theme:""]]),onClick:w[0]||(w[0]=A=>n())},[e.unref(j).prev?e.renderSlot(O.$slots,"prev",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(i)("page.previous")),1)],64))],2),M.showPage?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(T),A=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:A},[A===a.value?(e.openBlock(),e.createElementBlock("span",FS,[e.createElementVNode("em",{class:e.normalizeClass(["layui-laypage-em",[M.theme?"layui-bg-"+M.theme:""]])},null,2),e.createElementVNode("em",null,e.toDisplayString(A),1)])):(e.openBlock(),e.createElementBlock("a",{key:1,href:"javascript:;",onClick:k=>y(A),class:e.normalizeClass([M.theme?"layui-laypage-a-"+M.theme:""])},e.toDisplayString(A),11,_S))],64))),128)):e.createCommentVNode("",!0),e.createElementVNode("a",{href:"javascript:;",class:e.normalizeClass(["layui-laypage-next",[a.value===t.value||t.value===0?"layui-disabled":"",M.theme&&a.value!==t.value&&t.value!==0?"layui-laypage-a-"+M.theme:""]]),onClick:w[1]||(w[1]=A=>s())},[e.unref(j).next?e.renderSlot(O.$slots,"next",{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(i)("page.next")),1)],64))],2),M.showLimit?(e.openBlock(),e.createElementBlock("span",PS,[e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":w[2]||(w[2]=A=>g.value=A),onChange:I},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,A=>(e.openBlock(),e.createElementBlock("option",{key:A,value:A},e.toDisplayString(A)+" "+e.toDisplayString(e.unref(i)("page.item"))+"/"+e.toDisplayString(e.unref(i)("page.page")),9,RS))),128))],544),[[e.vModelSelect,g.value]])])):e.createCommentVNode("",!0),M.showRefresh?(e.openBlock(),e.createElementBlock("a",{key:3,href:"javascript:;",onClick:L,class:"layui-laypage-refresh"},GS)):e.createCommentVNode("",!0),N.showSkip?(e.openBlock(),e.createElementBlock("span",WS,[e.createTextVNode(e.toDisplayString(e.unref(i)("page.goTo"))+" ",1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":w[3]||(w[3]=A=>r.value=A),onKeypress:w[4]||(w[4]=e.withKeys(A=>o(),["enter"])),type:"number",class:"layui-input layui-input-number"},null,544),[[e.vModelText,r.value]]),e.createTextVNode(e.toDisplayString(e.unref(i)("page.page"))+" ",1),e.createElementVNode("button",{type:"button",class:"layui-laypage-btn",onClick:w[5]||(w[5]=A=>o()),disabled:r.value>t.value||r.value==a.value},e.toDisplayString(e.unref(i)("page.confirm")),9,VS)])):e.createCommentVNode("",!0),M.count?(e.openBlock(),e.createElementBlock("span",HS,"\u5171"+e.toDisplayString(M.count)+"\u6761",1)):e.createCommentVNode("",!0)]))}}),XS={name:"TablePage"},JS=e.defineComponent({...XS,props:{showPage:{type:Boolean,default:!0},showSkip:{type:Boolean,default:!0},showLimit:{type:Boolean,default:!0},showCount:{type:Boolean},showRefresh:{type:Boolean},current:null,limits:null,pages:null,total:null,limit:null,theme:null,count:null},emits:["update:current","update:limit","change"],setup(M,{emit:D}){const N=M,i=e.computed({get(){return N.current},set(z){D("update:current",z)}}),j=e.computed({get(){return N.limit},set(z){D("update:limit",z)}}),t=z=>{D("change",z)};return(z,u)=>(e.openBlock(),e.createBlock(Os,{total:M.total,"show-page":M.showPage,"show-skip":M.showSkip,"show-limit":M.showLimit,"show-count":M.showCount,"show-refresh":M.showRefresh,limits:M.limits,theme:M.theme,pages:M.pages,count:M.count,modelValue:e.unref(i),"onUpdate:modelValue":u[0]||(u[0]=a=>e.isRef(i)?i.value=a:null),limit:e.unref(j),"onUpdate:limit":u[1]||(u[1]=a=>e.isRef(j)?j.value=a:null),onChange:t},{prev:e.withCtx(()=>[e.createVNode(e.unref(iM),{type:"layui-icon-left"})]),next:e.withCtx(()=>[e.createVNode(e.unref(iM),{type:"layui-icon-right"})]),_:1},8,["total","show-page","show-skip","show-limit","show-count","show-refresh","limits","theme","pages","count","modelValue","limit"]))}});var Z8=(()=>`.soulbox{background-color:#333;color:#fff;display:inline-block;position:absolute;z-index:2147483647;min-width:160px;max-width:320px;overflow-y:auto;border:1px solid #e6e6e6;border-radius:5px;box-shadow:2px 2px 4px -2px #0003} -`)();const $S=e.createElementVNode("i",{class:"soul-icon soul-icon-asc"},null,-1),KS=e.createElementVNode("i",{class:"soul-icon soul-icon-desc"},null,-1),qS=e.createElementVNode("li",{class:"soul-dropList",style:{},show:"select"},[e.createElementVNode("i",{class:"soul-icon soul-icon-drop-list",show:"select"}),e.createTextVNode(" \u7B5B\u9009\u6570\u636E "),e.createElementVNode("i",{class:"layui-icon layui-icon-right",style:{float:"right"},show:"select"})],-1),Mp=e.createElementVNode("i",{class:"soul-icon soul-icon-download"},null,-1),Np={class:"soulbox",style:{left:"100%",top:"65px"}},Dp={class:"check",style:{"min-width":"190px"}},ep=e.createElementVNode("i",{class:"soul-icon"},"\uE623",-1),ip=e.createElementVNode("i",{class:"soul-icon"},"\uE63E",-1),jp=e.createElementVNode("i",{class:"soul-icon"},"\uE614",-1),tp={style:{"max-height":"300px",overflow:"auto"}},zp=e.defineComponent({__name:"soultable",props:{left:{default:10},top:{default:10},list:{default:[]},soulkey:{default:""},show:{type:Boolean,default:!1}},emits:["asc","desc","sx","daochu"],setup(M,{emit:D}){const N=M;function i(s){D("asc",s)}function j(s){D("desc",s)}function t(){D("daochu")}const z=e.ref([]),u=e.ref([]),a=e.ref([]);e.watch(()=>[N.show],()=>{let s=new Set;for(let y of N.list)s.add(y[N.soulkey]);a.value=Array.from(s),u.value=a.value,T.value=!1},{deep:!0});const r=e.ref("");e.watch(r,()=>{let s=[];if(r.value)for(let y of a.value)y.indexOf(r.value)!=-1&&s.push(y);else s=a.value;u.value=s}),e.watch(z,()=>{D("sx",{key:N.soulkey,list:z.value})});function g(s){if(s==1){z.value=[];let y=[];for(let o of u.value)y.push(o);z.value=y}else if(s==3){let y=[];for(let o of u.value)z.value.includes(o)||y.push(o);z.value=y}else s==2&&(z.value=[])}const T=e.ref(!1);function n(s){console.log(s,160),s.target.getAttribute("show")=="select"?T.value=!0:T.value=!1}return(s,y)=>(e.openBlock(),e.createElementBlock("div",{class:"soulbox",style:e.normalizeStyle(`top: ${N.top}px;left:${N.left}px`),onClick:y[5]||(y[5]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("ul",{onMouseover:n},[e.createElementVNode("li",{onClick:i,class:"soul-sort","data-value":"asc",style:{}},[$S,e.createTextVNode(" \u5347\u5E8F\u6392\u5217 ")]),e.createElementVNode("li",{onClick:j,class:"soul-sort","data-value":"desc",style:{"border-bottom":"1px solid rgb(230, 230, 230)"}},[KS,e.createTextVNode(" \u964D\u5E8F\u6392\u5217 ")]),qS,e.createElementVNode("li",{onClick:t,class:"soul-sort","data-value":"desc",style:{"border-bottom":"1px solid rgb(230, 230, 230)"}},[Mp,e.createTextVNode(" \u5BFC\u51FAexcel ")])],32),e.withDirectives(e.createElementVNode("div",Np,[e.createVNode(Ye,{"prefix-icon":"layui-icon-search",modelValue:r.value,"onUpdate:modelValue":y[0]||(y[0]=o=>r.value=o),size:"sm",placeholder:"\u5173\u952E\u5B57\u641C\u7D22"},null,8,["modelValue"]),e.createElementVNode("div",Dp,[e.createElementVNode("div",{class:"multiOption","data-type":"all",onClick:y[1]||(y[1]=o=>g(1))},[ep,e.createTextVNode(" \u5168\u9009 ")]),e.createElementVNode("div",{class:"multiOption","data-type":"none",onClick:y[2]||(y[2]=o=>g(2))},[ip,e.createTextVNode(" \u6E05\u7A7A ")]),e.createElementVNode("div",{class:"multiOption","data-type":"reverse",onClick:y[3]||(y[3]=o=>g(3))},[jp,e.createTextVNode("\u53CD\u9009 ")])]),e.createElementVNode("ul",tp,[e.createVNode(cT,{modelValue:z.value,"onUpdate:modelValue":y[4]||(y[4]=o=>z.value=o)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(o,I)=>(e.openBlock(),e.createElementBlock("li",null,[e.createVNode(fe,{skin:"primary",value:o},null,8,["value"]),e.createTextVNode(e.toDisplayString(o),1)]))),256))]),_:1},8,["modelValue"])])],512),[[e.vShow,T.value]])],4))}}),up=e.createElementVNode("table",{class:"layui-hide","lay-filter":"test"},null,-1),ap={key:0,class:"layui-table-tool"},rp={class:"layui-table-tool-temp"},gp={key:0,class:"layui-table-tool-self"},Tp=e.createElementVNode("div",{class:"layui-inline",title:"\u7B5B\u9009","lay-event":""},[e.createElementVNode("i",{class:"layui-icon layui-icon-slider"})],-1),np={class:"layui-table-tool-checkbox"},cp=[e.createElementVNode("i",{class:"layui-icon layui-icon-export"},null,-1)],sp=[e.createElementVNode("i",{class:"layui-icon layui-icon-print"},null,-1)],yp={key:1,class:"layui-table-box-header"},Lp={class:"layui-table-box"},op=["lay-size","lay-skin"],lp=["width"],Ip=["colspan","rowspan"],Op={key:0,class:"layui-table-sort layui-inline","lay-sort":""},wp=["onClick"],Ap=["onClick"],Ep={key:1,class:"layui-table-sort layui-inline soul-icon"},xp=["onClick"],Qp=["lay-size","lay-skin"],Yp=["width"],kp={key:0,class:"layui-table-total"},fp=["innerHTML"],dp={key:2,class:"layui-table-loading"},Cp=[e.createElementVNode("i",{class:"layui-icon-loading layui-icon layui-anim layui-anim-rotate layui-anim-loop"},null,-1)],Up={key:0,class:"layui-table-footer"},Sp={key:2,class:"layui-table-page"},pp={name:"LayTable"},hp=e.defineComponent({...pp,props:{id:{default:"id"},skin:null,size:{default:"md"},page:null,columns:null,dataSource:{default:()=>[]},defaultToolbar:{type:[Boolean,Array],default:!1},selectedKey:{default:""},selectedKeys:{default:()=>[]},indentSize:{default:30},childrenColumnName:{default:"children"},height:null,maxHeight:{default:"auto"},even:{type:Boolean,default:!1},expandIndex:{default:0},rowClassName:{type:[String,Function],default:""},cellClassName:{type:[String,Function],default:""},rowStyle:{type:[String,Function],default:""},cellStyle:{type:[String,Function],default:""},spanMethod:{type:Function,default:()=>{}},defaultExpandAll:{type:Boolean,default:!1},expandKeys:{default:()=>[]},loading:{type:Boolean,default:!1},getCheckboxProps:{type:Function,default:()=>{}},getRadioProps:{type:Function,default:()=>{}},download:{default:""},serverpage:{type:Boolean,default:!1}},emits:["change","update:expandKeys","update:selectedKeys","update:selectedKey","row-contextmenu","row-double","row","update:page"],setup(M,{emit:D}){const N=M,i=e.useSlots();i.default&&i.default();const j=e.ref(),t=e.ref([...N.dataSource]);console.log(t.value,97),console.log("\u8868\u683C\u521D\u59CB\u5316",97);const z=e.ref(!1),u=e.ref(!1),a=e.ref([...N.dataSource]),r=e.computed(()=>[...N.columns]),g=e.ref([]),T=e.ref([]),n=QM=>{let CM=0;return function pM(_M,YM){++YM,CM=Math.max(YM,CM);for(let zN=0;zN<_M.length;zN++){let rN=_M[zN];rN.children&&rN.children.length>0?pM(rN.children,YM):delete rN.children}}(QM,0),CM};function s(QM){if(!QM.children||QM.children.length==0)return QM.colspan=1,1;for(var CM=0,pM=0;pM{QM.forEach(CM=>{CM.children?y(CM.children):T.value.push(CM)})};y(r.value);const o=e.ref([]),I=QM=>{QM.forEach(CM=>{CM.children?(o.value.push(CM.key),I(CM.children)):CM.hide||o.value.push(CM.key)})};I(r.value);const L=(QM,CM)=>{CM.forEach(pM=>{if(pM.children){const _M=s(pM);pM.colspan=_M,g.value[QM]||(g.value[QM]=[]),pM.fixed&&!pM.width&&(pM.type?pM.width="50px":pM.width="100px"),g.value[QM].push(pM),L(QM+1,pM.children)}else{const _M=n(CM);pM.rowspan=_M,g.value[QM]||(g.value[QM]=[]),pM.fixed&&!pM.width&&(pM.type?pM.width="50px":pM.width="100px"),g.value[QM].push(pM)}})};L(0,r.value);const O=e.ref(N.selectedKeys),w=e.ref([...N.expandKeys]);e.watch(()=>N.selectedKeys,()=>{O.value=N.selectedKeys},{deep:!0}),e.watch(()=>N.expandKeys,()=>{w.value=N.expandKeys},{deep:!0});const A=e.computed({get(){return N.selectedKey},set(QM){D("update:selectedKey",QM)}});e.watch(()=>N.dataSource,()=>{console.log("table\u6570\u636E\u66F4\u65B0"),a.value=[...N.dataSource]},{deep:!0});const k=QM=>{if(QM){const pM=t.value.filter((_M,YM)=>{var zN;return!((zN=N.getCheckboxProps(_M,YM))!=null&&zN.disabled)}).map(_M=>_M[N.id]);O.value=[...pM]}else O.value=[]};e.watch(O,()=>{O.value.length===N.dataSource.length?z.value=!0:z.value=!1,O.value.length>0?u.value=!0:u.value=!1,O.value!=N.selectedKeys&&(console.log("\u521D\u59CB\u5316\u8D4B\u503C\u89E6\u53D1\u4FEE\u6539",O.value,N.selectedKeys),D("update:selectedKeys",O.value))},{deep:!0,immediate:!0}),e.watch(w,()=>{D("update:expandKeys",w.value)},{deep:!0,immediate:!0}),e.watch(a,()=>{if(!N.page||N.serverpage)t.value=a.value;else{let QM={...N.page};QM.total=a.value.length,D("update:page",QM),oN.value={},Q({limit:N.page.limit,current:N.page.current})}});const Q=function(QM){N.serverpage?D("change",QM):(QM.current,t.value=a.value.slice(QM.limit*(QM.current-1),QM.limit*QM.current))},x=function(QM,CM){D("row",QM,CM)},f=function(QM,CM){D("row-double",QM,CM)},C=(QM,CM)=>{D("row-contextmenu",QM,CM)},W=()=>{let CM=j.value.innerHTML,pM=document.body.innerHTML;document.body.innerHTML=CM,window.print(),window.location.reload(),document.body.innerHTML=pM};function MM(QM,CM,pM){const _M=IS.json_to_sheet(QM,{header:CM,skipHeader:!1});console.log(_M);var YM={SheetNames:["sheet"],Sheets:{sheet:Object.assign({},_M,{})}};uS(YM,pM+".xlsx",{bookType:"xlsx",type:"binary"})}const NM=()=>{let QM=[],CM=[],pM={};for(let _M of g.value)for(let YM of _M)pM[YM.key]=YM.title,QM.push(YM.key);CM.push(pM),console.log(a.value,g.value),a.value.forEach((_M,YM)=>{let zN={};T.value.forEach((rN,mD)=>{Object.keys(_M).forEach(GN=>{rN.key===GN&&(zN[GN]=_M[GN])}),rN.type=="number"&&(zN[_M.key]=YM+1)}),CM.push(zN)}),MM(CM,QM,N.download||"\u4E0B\u8F7D\u6587\u4EF6")},jM=(QM,CM,pM,_M=!1)=>{let YM=QM.target.parentNode.getAttribute("lay-sort");pM==="desc"?YM===pM&&!_M?(QM.target.parentNode.setAttribute("lay-sort",""),a.value=[...N.dataSource]):(QM.target.parentNode.setAttribute("lay-sort","desc"),a.value.sort((zN,rN)=>zN[CM]rN[CM]?-1:0)):YM===pM&&!_M?(QM.target.parentNode.setAttribute("lay-sort",""),a.value=[...N.dataSource]):(QM.target.parentNode.setAttribute("lay-sort","asc"),a.value.sort((zN,rN)=>zN[CM]rN[CM]?1:0))};let aM=e.ref(null),tM=e.ref(null),R=e.ref(null);const m=e.ref();let J=e.ref(0);const K=()=>{var pM,_M,YM;const QM=((pM=aM.value)==null?void 0:pM.clientWidth)||0,CM=((_M=aM.value)==null?void 0:_M.offsetWidth)||0;QM[rM.value?"layui-table-has-fixed-left":"",IM.value?"layui-table-has-fixed-right":""]);e.watch(()=>[N.height,N.maxHeight,N.dataSource],()=>{e.nextTick(()=>{K(),oM()})},{deep:!0}),e.onMounted(()=>{var QM,CM;K(),oM(),(QM=aM.value)==null||QM.addEventListener("scroll",()=>{oM()}),(CM=aM.value)==null||CM.addEventListener("transitionend",()=>{K()}),window.onresize=()=>{K(),oM()}});const oM=()=>{var QM,CM,pM,_M,YM,zN,rN;if(tM.value.scrollLeft=((QM=aM.value)==null?void 0:QM.scrollLeft)||0,((CM=aM.value)==null?void 0:CM.scrollWidth)>((pM=aM.value)==null?void 0:pM.clientWidth))if(((_M=aM.value)==null?void 0:_M.scrollLeft)==0)rM.value=!1,IM.value=!0;else{const mD=((YM=aM.value)==null?void 0:YM.scrollLeft)+((zN=aM.value)==null?void 0:zN.offsetWidth)+2,GN=(rN=aM.value)==null?void 0:rN.scrollWidth;mD>GN?(rM.value=!0,IM.value=!1):(rM.value=!0,IM.value=!0)}else rM.value=!1,IM.value=!1},bM=e.ref([]);N.columns.map(QM=>{QM.customSlot&&bM.value.push(QM.customSlot)});const eM=e.ref(0),uM=e.computed(()=>N.dataSource.find(QM=>{if(QM[N.childrenColumnName])return!0})!=null),d=(QM,CM)=>{var rN,mD,GN,sD;if(QM.fixed)if(QM.fixed=="left"){for(var pM=0,_M=0;_M{var mD,GN,sD,zi;if(QM.fixed)if(QM.fixed=="left"){for(var _M=0,YM=0;YM{if(QM.fixed)if(QM.fixed=="left"){for(var pM=!0,_M=CM+1;_M{let QM=!1;return N.columns.forEach(CM=>{CM.totalRow&&(QM=!0)}),QM}),p=QM=>{if(QM.totalRow)return QM.totalRow!=!0?QM.totalRow:QM.totalRowMethod?QM.totalRowMethod(QM,a.value):Z(QM,a.value)},Z=(QM,CM)=>{let pM=0;return CM.forEach(_M=>{pM=pM+Number(_M[QM.key])}),pM},zM=QM=>N.defaultToolbar instanceof Array?N.defaultToolbar.includes(QM):N.defaultToolbar,TM=QM=>{if(N.defaultToolbar instanceof Array)return{order:N.defaultToolbar.indexOf(QM)}};e.onBeforeUnmount(()=>{window.onresize=null});const DM=e.ref(!1),AM=e.ref(0),hM=e.ref(0),KM=e.ref({}),iN=e.ref(""),oN=e.ref({});function xM(QM,CM,pM){console.log(QM),hM.value=QM.pageX,AM.value=QM.pageY,DM.value=!0,KM.value=CM,iN.value=pM}const EM=()=>{iN.value=""};function TN(QM){KM.value.soulclass="soul-icon-filter-asc",jM(QM,KM.value.key,"asc",!0)}function mM(QM){KM.value.soulclass="soul-icon-filter-desc",jM(QM,KM.value.key,"desc",!0)}function cD(QM){oN.value[QM.key]=QM.list,console.log("\u7B5B\u9009\u4E8B\u4EF6",oN.value,oN.value.length)}return e.watch(oN,()=>{console.log("sxlist\u66F4\u65B0")}),e.watch([()=>oN,()=>N.dataSource],(QM,CM)=>{if(Object.keys(oN.value).length==0)return;let pM=[...N.dataSource],_M=[];for(let YM in oN.value)for(let zN in pM)pM[zN]!=""&&oN.value[YM].length!=0&&(oN.value[YM].includes(pM[zN][YM])||(pM[zN]=""));for(let YM of pM)YM!=""&&_M.push(YM);!N.page||N.serverpage?e.nextTick(()=>{t.value=_M}):(a.value=_M,Q({limit:N.page.limit,current:N.page.current,isReload:!0}))},{deep:!0}),window.addEventListener("click",EM),(QM,CM)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableRef",ref:j},[up,e.createElementVNode("div",{class:e.normalizeClass(["layui-form layui-border-box layui-table-view",e.unref(OM)])},[M.defaultToolbar||e.unref(i).toolbar?(e.openBlock(),e.createElementBlock("div",ap,[e.createElementVNode("div",rp,[e.renderSlot(QM.$slots,"toolbar")]),M.defaultToolbar?(e.openBlock(),e.createElementBlock("div",gp,[zM("filter")?(e.openBlock(),e.createBlock(OD,{key:0,updateAtScroll:"",style:e.normalizeStyle(TM("filter"))},{content:e.withCtx(()=>[e.createElementVNode("div",np,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value[0],pM=>(e.openBlock(),e.createBlock(fe,{modelValue:o.value,"onUpdate:modelValue":CM[0]||(CM[0]=_M=>o.value=_M),skin:"primary",disabled:pM.children,key:pM.key,value:pM.key},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(pM.title),1)]),_:2},1032,["modelValue","disabled","value"]))),128))])]),default:e.withCtx(()=>[Tp]),_:1},8,["style"])):e.createCommentVNode("",!0),zM("export")?(e.openBlock(),e.createElementBlock("div",{key:1,class:"layui-inline",title:"\u5BFC\u51FA","lay-event":"",style:e.normalizeStyle(TM("export")),onClick:CM[1]||(CM[1]=pM=>NM())},cp,4)):e.createCommentVNode("",!0),zM("print")?(e.openBlock(),e.createElementBlock("div",{key:2,style:e.normalizeStyle(TM("print")),class:"layui-inline",title:"\u6253\u5370","lay-event":"",onClick:CM[2]||(CM[2]=pM=>W())},sp,4)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(i).header?(e.openBlock(),e.createElementBlock("div",yp,[e.renderSlot(QM.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",Lp,[e.createElementVNode("div",{class:"layui-table-header",style:e.normalizeStyle([{"padding-right":`${e.unref(J)}px`}])},[e.createElementVNode("div",{class:"layui-table-header-wrapper",ref_key:"tableHeader",ref:tM},[e.createElementVNode("table",{class:"layui-table","lay-size":M.size,"lay-skin":M.skin,ref_key:"tableHeaderTable",ref:R},[e.createElementVNode("colgroup",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,pM=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:pM},[o.value.includes(pM.key)?(e.openBlock(),e.createElementBlock("col",{key:0,width:pM.width,style:e.normalizeStyle({minWidth:pM.minWidth?pM.minWidth:"50px"})},null,12,lp)):e.createCommentVNode("",!0)],64))),128))]),e.createElementVNode("thead",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(pM,_M)=>(e.openBlock(),e.createElementBlock("tr",{key:_M},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pM,(YM,zN)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:YM},[o.value.includes(YM.key)?(e.openBlock(),e.createElementBlock("th",{key:0,colspan:YM.colspan,rowspan:YM.rowspan,class:e.normalizeClass(["layui-table-cell",[v(YM,zN),YM.fixed?`layui-table-fixed-${YM.fixed}`:"",YM.type=="checkbox"?"layui-table-cell-checkbox":"",YM.type=="radio"?"layui-table-cell-radio":"",YM.type=="number"?"layui-table-cell-number":""]]),style:e.normalizeStyle([{textAlign:YM.align},G(YM,zN,pM)])},[YM.type=="checkbox"?(e.openBlock(),e.createBlock(fe,{key:0,modelValue:u.value,"onUpdate:modelValue":CM[3]||(CM[3]=rN=>u.value=rN),"is-indeterminate":!z.value,skin:"primary",value:"all",onChange:k},null,8,["modelValue","is-indeterminate"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,[YM.titleSlot?e.renderSlot(QM.$slots,YM.titleSlot,{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(YM.title),1)],64))]),YM.sort?(e.openBlock(),e.createElementBlock("span",Op,[e.createElementVNode("i",{onClick:e.withModifiers(rN=>jM(rN,YM.key,"asc"),["stop"]),class:"layui-edge layui-table-sort-asc",title:"\u5347\u5E8F"},null,8,wp),e.createElementVNode("i",{onClick:e.withModifiers(rN=>jM(rN,YM.key,"desc"),["stop"]),class:"layui-edge layui-table-sort-desc",title:"\u964D\u5E8F"},null,8,Ap)])):e.createCommentVNode("",!0),YM.soul?(e.openBlock(),e.createElementBlock("span",Ep,[e.createElementVNode("i",{class:e.normalizeClass(["soul-icon soul-box",YM.soulclass||"soul-icon-filter"]),onClick:e.withModifiers(rN=>xM(rN,YM,YM.key),["stop"])},null,10,xp)])):e.createCommentVNode("",!0)],64))],14,Ip)):e.createCommentVNode("",!0)],64))),128))]))),128))])],8,op)],512)],4),e.createElementVNode("div",{class:"layui-table-body layui-table-main",style:e.normalizeStyle({height:M.height,maxHeight:M.maxHeight}),ref_key:"tableBody",ref:aM},[t.value.length>0&&M.loading==!1?(e.openBlock(),e.createElementBlock("table",{key:0,class:e.normalizeClass(["layui-table",{"layui-table-even":N.even}]),"lay-size":M.size,"lay-skin":M.skin},[e.createElementVNode("colgroup",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(pM,_M)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:_M},[o.value.includes(pM.key)?(e.openBlock(),e.createElementBlock("col",{key:0,width:pM.width,style:e.normalizeStyle({minWidth:pM.minWidth?pM.minWidth:"50px"})},null,12,Yp)):e.createCommentVNode("",!0)],64))),128))]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(pM,_M)=>(e.openBlock(),e.createBlock(BS,{key:_M,id:M.id,index:_M,data:pM,columns:T.value,"indent-size":M.indentSize,currentIndentSize:eM.value,tableColumnKeys:o.value,expandSpace:e.unref(uM),expandIndex:M.expandIndex,cellStyle:M.cellStyle,cellClassName:M.cellClassName,rowStyle:M.rowStyle,rowClassName:M.rowClassName,spanMethod:M.spanMethod,defaultExpandAll:M.defaultExpandAll,getCheckboxProps:M.getCheckboxProps,getRadioProps:M.getRadioProps,expandKeys:w.value,"onUpdate:expandKeys":CM[4]||(CM[4]=YM=>w.value=YM),selectedKeys:O.value,"onUpdate:selectedKeys":CM[5]||(CM[5]=YM=>O.value=YM),selectedKey:e.unref(A),"onUpdate:selectedKey":CM[6]||(CM[6]=YM=>e.isRef(A)?A.value=YM:null),onRow:x,onRowDouble:f,onRowContextmenu:C,page:M.page},e.createSlots({_:2},[e.renderList(bM.value,YM=>({name:YM,fn:e.withCtx(({data:zN})=>[e.renderSlot(QM.$slots,YM,{data:zN})])})),e.unref(i).expand?{name:"expand",fn:e.withCtx(({data:YM})=>[e.renderSlot(QM.$slots,"expand",{data:YM})]),key:"0"}:void 0]),1032,["id","index","data","columns","indent-size","currentIndentSize","tableColumnKeys","expandSpace","expandIndex","cellStyle","cellClassName","rowStyle","rowClassName","spanMethod","defaultExpandAll","getCheckboxProps","getRadioProps","expandKeys","selectedKeys","selectedKey","page"]))),128)),e.unref(P)?(e.openBlock(),e.createElementBlock("tr",kp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.columns,(pM,_M)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:_M},[o.value.includes(pM.key)?(e.openBlock(),e.createElementBlock("td",{key:0,style:e.normalizeStyle([{textAlign:pM.align,whiteSpace:pM.ellipsisTooltip?"nowrap":"normal"},d(pM,_M)]),class:e.normalizeClass(["layui-table-cell",v(pM,_M),pM.fixed?`layui-table-fixed-${pM.fixed}`:""]),innerHTML:p(pM)},null,14,fp)):e.createCommentVNode("",!0)],64))),128))])):e.createCommentVNode("",!0)])],10,Qp)):e.createCommentVNode("",!0),t.value.length==0&&M.loading==!1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ST),e.createElementVNode("div",{style:e.normalizeStyle({width:m.value})},null,4)],64)):e.createCommentVNode("",!0),M.loading==!0?(e.openBlock(),e.createElementBlock("div",dp,Cp)):e.createCommentVNode("",!0)],4),e.unref(i).footer?(e.openBlock(),e.createElementBlock("div",Up,[e.renderSlot(QM.$slots,"footer")])):e.createCommentVNode("",!0)]),M.page&&M.page.total>0?(e.openBlock(),e.createElementBlock("div",Sp,[e.createVNode(JS,{total:M.page.total,pages:M.page.pages,theme:M.page.theme,limits:M.page.limits,showSkip:M.page.showSkip,"show-page":M.page.showPage,showRefresh:M.page.showRefresh,showLimit:M.page.showLimit,showCount:M.page.showCount,count:M.page.count,current:M.page.current,"onUpdate:current":CM[7]||(CM[7]=pM=>M.page.current=pM),limit:M.page.limit,"onUpdate:limit":CM[8]||(CM[8]=pM=>M.page.limit=pM),onChange:Q},null,8,["total","pages","theme","limits","showSkip","show-page","showRefresh","showLimit","showCount","count","current","limit"])])):e.createCommentVNode("",!0)],2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(pM,_M)=>(e.openBlock(),e.createElementBlock("div",{key:_M},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pM,(YM,zN)=>(e.openBlock(),e.createElementBlock("div",{key:YM},[e.withDirectives(e.createVNode(zp,{top:AM.value,left:hM.value,show:iN.value==YM.key,onAsc:TN,onDesc:mM,onDaochu:NM,list:t.value,soulkey:YM.key,onSx:cD},null,8,["top","left","show","list","soulkey"]),[[e.vShow,iN.value==YM.key]])]))),128))]))),128))],512))}}),ws=JM(hp),As=JM(Os);var K8=(()=>`:root{--button-primary-text-color: #fff;--button-primary-background-color: var(--global-primary-color);--button-primary-border-color: var(--global-primary-color);--button-normal-text-color: #fff;--button-normal-background-color: var(--global-normal-color);--button-normal-border-color: var(--global-normal-color);--button-warm-text-color: #fff;--button-warm-background-color: var(--global-warm-color);--button-warm-border-color: var(--global-warm-color);--button-danger-text-color: #fff;--button-danger-background-color: var(--global-danger-color);--button-danger-border-color: var(--global-danger-color);--button-border-radius: var(--global-border-radius);--button-border-color: var(--global-neutral-color-6);--button-background-color: 0 0;--button-text-color: #666}.layui-btn{height:38px;line-height:36px;padding:0 18px;font-size:14px;text-align:center;white-space:nowrap;color:var(--button-text-color);background:var(--button-background-color);border-radius:var(--button-border-radius);border-color:var(--button-border-color);border-width:1px;border-style:solid;cursor:pointer}.layui-btn-primary{color:var(--button-primary-text-color);background-color:var(--button-primary-background-color);border-color:var(--button-primary-border-color)}.layui-btn-normal{color:var(--button-normal-text-color);background-color:var(--button-normal-background-color);border-color:var(--button-normal-border-color)}.layui-btn-warm{color:var(--button-warm-text-color);background-color:var(--button-warm-background-color);border-color:var(--button-warm-border-color)}.layui-btn-danger{color:var(--button-danger-text-color);background-color:var(--button-danger-background-color);border-color:var(--button-danger-border-color)}.layui-btn:hover{opacity:.8;filter:alpha(opacity=80)}.layui-btn:active{opacity:1;filter:alpha(opacity=100)}.layui-btn-lg{height:44px;line-height:44px;padding:0 25px;font-size:16px}.layui-btn-sm{height:30px;line-height:30px;padding:0 10px;font-size:12px}.layui-btn-xs{height:22px;line-height:22px;padding:0 5px;font-size:12px}.layui-btn-xs i{font-size:12px!important}.layui-btn-fluid{width:100%}.layui-btn-radius{border-radius:100px}.layui-btn-disabled,.layui-btn-disabled:active,.layui-btn-disabled:hover{border-color:#eee!important;background-color:#fbfbfb!important;color:#d2d2d2!important;cursor:not-allowed!important;opacity:1}.layui-btn+.layui-btn{margin-left:10px}.layui-btn .layui-icon{padding:0 2px;vertical-align:middle\\ ;vertical-align:bottom}.layui-checkbox[size=lg]{height:18px;line-height:18px}.layui-checkbox[size=lg] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:18px;height:18px;font-size:16px}.layui-checkbox[size=lg] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:18px;line-height:18px;font-size:16px}.layui-checkbox[size=md]{height:16px;line-height:16px}.layui-checkbox[size=md] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:16px;height:16px;font-size:14px}.layui-checkbox[size=md] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:16px;line-height:16px;font-size:14px}.layui-checkbox[size=sm]{height:14px;line-height:14px}.layui-checkbox[size=sm] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:14px;height:14px;font-size:12px}.layui-checkbox[size=sm] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:14px;line-height:14px;font-size:12px}.layui-checkbox[size=xs]{height:12px;line-height:12px}.layui-checkbox[size=xs] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:12px;height:12px;font-size:10px}.layui-checkbox[size=xs] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:12px;line-height:12px;font-size:10px}.layui-checkbox input[type=checkbox]{display:none}.layui-form-checkbox{position:relative;height:30px;line-height:30px;margin-right:10px;padding-right:30px;cursor:pointer;font-size:0;-webkit-transition:.1s linear;transition:.1s linear;box-sizing:border-box}.layui-form-checkbox span{padding:0 10px;height:100%;font-size:14px;border-radius:2px 0 0 2px;background-color:var(--global-neutral-color-6);color:#fff;overflow:hidden}.layui-form-checkbox:hover span{background-color:var(--global-neutral-color-8)}.layui-form-checkbox i{top:0;right:0;width:29px;height:28px;position:absolute;border-top:1px solid var(--global-neutral-color-6);border-bottom:1px solid var(--global-neutral-color-6);border-right:1px solid var(--global-neutral-color-6);border-radius:0 2px 2px 0;color:#fff;font-size:20px;text-align:center}.layui-form-checkbox:hover i{border-color:var(--global-neutral-color-8);color:var(--global-neutral-color-8)}.layui-form-checkbox[lay-skin=primary]{height:auto!important;line-height:normal!important;min-width:18px;min-height:18px;border:none!important;margin-right:0;padding-left:28px;padding-right:0;background:0 0}.layui-form-checkbox[lay-skin=primary] span{padding-left:0;padding-right:15px;line-height:18px;background:0 0;color:#666}.layui-form-checkbox[lay-skin=primary] i{right:auto;left:0;width:16px;height:16px;line-height:16px;border:1px solid var(--global-neutral-color-6);font-size:12px;border-radius:2px;background-color:#fff;-webkit-transition:.1s linear;transition:.1s linear}.layui-form-checkbox[lay-skin=primary]:hover i{border-color:var(--global-checked-color);color:#fff}.layui-form-checked,.layui-form-checked:hover{border-color:var(--global-checked-color)}.layui-form-checked i,.layui-form-checked:hover i{color:var(--global-checked-color)}.layui-form-checked span,.layui-form-checked:hover span{background-color:var(--global-checked-color)}.layui-form-checked[lay-skin=primary] i{border-color:var(--global-checked-color);background-color:var(--global-checked-color);color:#fff}.layui-form-checked[lay-skin=primary] span{background:0 0!important}.layui-checkbox-disabled[lay-skin=primary] span{background:0 0!important;color:var(--global-neutral-color-8)!important}.layui-checkbox-disabled[lay-skin=primary]:hover i{border-color:var(--global-neutral-color-6)}.layui-checkbox-disabled,.layui-checkbox-disabled i{border-color:var(--global-neutral-color-3)!important}.layui-checkbox-disabled span{background-color:var(--global-neutral-color-3)!important}.layui-checkbox-disabled em{color:var(--global-neutral-color-6)!important}.layui-checkbox-disabled:hover i{color:#fff!important}.layui-checkbox-disabled .layui-icon-ok,.layui-checkbox-disabled .layui-icon-subtraction{background-color:var(--global-neutral-color-3)!important;border-color:var(--global-neutral-color-3)!important}:root{--transfer-box-border-radius: var(--global-border-radius)}.layui-transfer{display:flex}.layui-transfer .layui-btn+.layui-btn{margin-left:0}.layui-transfer-box,.layui-transfer-header,.layui-transfer-search{border-width:0;border-style:solid;border-color:#eee}.layui-transfer-box{position:relative;border-width:1px;display:flex;flex-direction:column;border-radius:var(--transfer-box-border-radius);background-color:#fff}.layui-transfer-box .layui-form-checkbox{width:100%;margin:0!important}.layui-transfer-header{height:38px;line-height:38px;padding:0 10px;border-bottom-width:1px;flex:0}.layui-transfer-search{position:relative;padding:10px;border-bottom-width:1px;flex:0}.layui-transfer-search .layui-input{height:35px;padding-left:2px;font-size:13px;letter-spacing:1px}.layui-transfer-search .layui-icon-search{color:#666}.layui-transfer-active{margin:0 15px}.layui-transfer-active .layui-btn{display:block;margin:0;padding:0 15px;background-color:#5fb878;border-color:#5fb878;color:#fff}.layui-transfer-active .layui-btn-disabled{background-color:#fbfbfb;border-color:#eee;color:#d2d2d2}.layui-transfer-active .layui-btn:first-child{margin-bottom:15px}.layui-transfer-active .layui-btn .layui-icon{margin:0;font-size:14px!important}.layui-transfer-data{padding:5px 0;overflow:auto;flex:1}.layui-transfer-data li{height:32px;line-height:32px;padding:0 10px}.layui-transfer-data li:hover{background-color:#f6f6f6;transition:.5s all}.layui-transfer-data .layui-none{padding:15px 10px;text-align:center;color:#999}.layui-transfer-active{display:flex;align-items:center;justify-items:center}.layui-transfer-footer{flex:0;height:38px;line-height:38px;border-top:1px solid #eee;padding:0 10px} +`)();const $S=e.createElementVNode("i",{class:"soul-icon soul-icon-asc"},null,-1),KS=e.createElementVNode("i",{class:"soul-icon soul-icon-desc"},null,-1),qS=e.createElementVNode("li",{class:"soul-dropList",style:{},show:"select"},[e.createElementVNode("i",{class:"soul-icon soul-icon-drop-list",show:"select"}),e.createTextVNode(" \u7B5B\u9009\u6570\u636E "),e.createElementVNode("i",{class:"layui-icon layui-icon-right",style:{float:"right"},show:"select"})],-1),Mp=e.createElementVNode("i",{class:"soul-icon soul-icon-download"},null,-1),Np={class:"soulbox",style:{left:"100%",top:"65px"}},Dp={class:"check",style:{"min-width":"190px"}},ep=e.createElementVNode("i",{class:"soul-icon"},"\uE623",-1),ip=e.createElementVNode("i",{class:"soul-icon"},"\uE63E",-1),jp=e.createElementVNode("i",{class:"soul-icon"},"\uE614",-1),tp={style:{"max-height":"300px",overflow:"auto"}},zp=e.defineComponent({__name:"soultable",props:{left:{default:10},top:{default:10},list:{default:[]},soulkey:{default:""},show:{type:Boolean,default:!1}},emits:["asc","desc","sx","daochu"],setup(M,{emit:D}){const N=M;function i(s){D("asc",s)}function j(s){D("desc",s)}function t(){D("daochu")}const z=e.ref([]),u=e.ref([]),a=e.ref([]);e.watch(()=>[N.show],()=>{let s=new Set;for(let y of N.list)s.add(y[N.soulkey]);a.value=Array.from(s),u.value=a.value,T.value=!1},{deep:!0});const r=e.ref("");e.watch(r,()=>{let s=[];if(r.value)for(let y of a.value)y.indexOf(r.value)!=-1&&s.push(y);else s=a.value;u.value=s}),e.watch(z,()=>{D("sx",{key:N.soulkey,list:z.value})});function g(s){if(s==1){z.value=[];let y=[];for(let o of u.value)y.push(o);z.value=y}else if(s==3){let y=[];for(let o of u.value)z.value.includes(o)||y.push(o);z.value=y}else s==2&&(z.value=[])}const T=e.ref(!1);function n(s){console.log(s,160),s.target.getAttribute("show")=="select"?T.value=!0:T.value=!1}return(s,y)=>(e.openBlock(),e.createElementBlock("div",{class:"soulbox",style:e.normalizeStyle(`top: ${N.top}px;left:${N.left}px`),onClick:y[5]||(y[5]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("ul",{onMouseover:n},[e.createElementVNode("li",{onClick:i,class:"soul-sort","data-value":"asc",style:{}},[$S,e.createTextVNode(" \u5347\u5E8F\u6392\u5217 ")]),e.createElementVNode("li",{onClick:j,class:"soul-sort","data-value":"desc",style:{"border-bottom":"1px solid rgb(230, 230, 230)"}},[KS,e.createTextVNode(" \u964D\u5E8F\u6392\u5217 ")]),qS,e.createElementVNode("li",{onClick:t,class:"soul-sort","data-value":"desc",style:{"border-bottom":"1px solid rgb(230, 230, 230)"}},[Mp,e.createTextVNode(" \u5BFC\u51FAexcel ")])],32),e.withDirectives(e.createElementVNode("div",Np,[e.createVNode(Ye,{"prefix-icon":"layui-icon-search",modelValue:r.value,"onUpdate:modelValue":y[0]||(y[0]=o=>r.value=o),size:"sm",placeholder:"\u5173\u952E\u5B57\u641C\u7D22"},null,8,["modelValue"]),e.createElementVNode("div",Dp,[e.createElementVNode("div",{class:"multiOption","data-type":"all",onClick:y[1]||(y[1]=o=>g(1))},[ep,e.createTextVNode(" \u5168\u9009 ")]),e.createElementVNode("div",{class:"multiOption","data-type":"none",onClick:y[2]||(y[2]=o=>g(2))},[ip,e.createTextVNode(" \u6E05\u7A7A ")]),e.createElementVNode("div",{class:"multiOption","data-type":"reverse",onClick:y[3]||(y[3]=o=>g(3))},[jp,e.createTextVNode("\u53CD\u9009 ")])]),e.createElementVNode("ul",tp,[e.createVNode(cT,{modelValue:z.value,"onUpdate:modelValue":y[4]||(y[4]=o=>z.value=o)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.value,(o,I)=>(e.openBlock(),e.createElementBlock("li",null,[e.createVNode(fe,{skin:"primary",value:o},null,8,["value"]),e.createTextVNode(e.toDisplayString(o),1)]))),256))]),_:1},8,["modelValue"])])],512),[[e.vShow,T.value]])],4))}}),up=e.createElementVNode("table",{class:"layui-hide","lay-filter":"test"},null,-1),ap={key:0,class:"layui-table-tool"},rp={class:"layui-table-tool-temp"},gp={key:0,class:"layui-table-tool-self"},Tp=e.createElementVNode("div",{class:"layui-inline",title:"\u7B5B\u9009","lay-event":""},[e.createElementVNode("i",{class:"layui-icon layui-icon-slider"})],-1),np={class:"layui-table-tool-checkbox"},cp=[e.createElementVNode("i",{class:"layui-icon layui-icon-export"},null,-1)],sp=[e.createElementVNode("i",{class:"layui-icon layui-icon-print"},null,-1)],yp={key:1,class:"layui-table-box-header"},Lp={class:"layui-table-box"},op=["lay-size","lay-skin"],lp=["width"],Ip=["colspan","rowspan"],Op={key:0,class:"layui-table-sort layui-inline","lay-sort":""},wp=["onClick"],Ap=["onClick"],Ep={key:1,class:"layui-table-sort layui-inline soul-icon"},xp=["onClick"],Qp=["lay-size","lay-skin"],Yp=["width"],kp={key:0,class:"layui-table-total"},fp=["innerHTML"],dp={key:2,class:"layui-table-loading"},Cp=[e.createElementVNode("i",{class:"layui-icon-loading layui-icon layui-anim layui-anim-rotate layui-anim-loop"},null,-1)],Up={key:0,class:"layui-table-footer"},Sp={key:2,class:"layui-table-page"},pp={name:"LayTable"},hp=e.defineComponent({...pp,props:{id:{default:"id"},skin:null,size:{default:"md"},page:null,columns:null,dataSource:{default:()=>[]},defaultToolbar:{type:[Boolean,Array],default:!1},selectedKey:{default:""},selectedKeys:{default:()=>[]},indentSize:{default:30},childrenColumnName:{default:"children"},height:null,maxHeight:{default:"auto"},even:{type:Boolean,default:!1},expandIndex:{default:0},rowClassName:{type:[String,Function],default:""},cellClassName:{type:[String,Function],default:""},rowStyle:{type:[String,Function],default:""},cellStyle:{type:[String,Function],default:""},spanMethod:{type:Function,default:()=>{}},defaultExpandAll:{type:Boolean,default:!1},expandKeys:{default:()=>[]},loading:{type:Boolean,default:!1},getCheckboxProps:{type:Function,default:()=>{}},getRadioProps:{type:Function,default:()=>{}},download:{default:""},serverpage:{type:Boolean,default:!1}},emits:["change","update:expandKeys","update:selectedKeys","update:selectedKey","row-contextmenu","row-double","row","update:page"],setup(M,{emit:D}){const N=M,i=e.useSlots();i.default&&i.default();const j=e.ref(),t=e.ref([...N.dataSource]);console.log(t.value,97),console.log("\u8868\u683C\u521D\u59CB\u5316",97);const z=e.ref(!1),u=e.ref(!1),a=e.ref([...N.dataSource]),r=e.computed(()=>[...N.columns]),g=e.ref([]),T=e.ref([]),n=QM=>{let CM=0;return function pM(PM,YM){++YM,CM=Math.max(YM,CM);for(let zN=0;zN0?pM(rN.children,YM):delete rN.children}}(QM,0),CM};function s(QM){if(!QM.children||QM.children.length==0)return QM.colspan=1,1;for(var CM=0,pM=0;pM{QM.forEach(CM=>{CM.children?y(CM.children):T.value.push(CM)})};y(r.value);const o=e.ref([]),I=QM=>{QM.forEach(CM=>{CM.children?(o.value.push(CM.key),I(CM.children)):CM.hide||o.value.push(CM.key)})};I(r.value);const L=(QM,CM)=>{CM.forEach(pM=>{if(pM.children){const PM=s(pM);pM.colspan=PM,g.value[QM]||(g.value[QM]=[]),pM.fixed&&!pM.width&&(pM.type?pM.width="50px":pM.width="100px"),g.value[QM].push(pM),L(QM+1,pM.children)}else{const PM=n(CM);pM.rowspan=PM,g.value[QM]||(g.value[QM]=[]),pM.fixed&&!pM.width&&(pM.type?pM.width="50px":pM.width="100px"),g.value[QM].push(pM)}})};L(0,r.value);const O=e.ref(N.selectedKeys),w=e.ref([...N.expandKeys]);e.watch(()=>N.selectedKeys,()=>{O.value=N.selectedKeys},{deep:!0}),e.watch(()=>N.expandKeys,()=>{w.value=N.expandKeys},{deep:!0});const A=e.computed({get(){return N.selectedKey},set(QM){D("update:selectedKey",QM)}});e.watch(()=>N.dataSource,()=>{console.log("table\u6570\u636E\u66F4\u65B0"),a.value=[...N.dataSource]},{deep:!0});const k=QM=>{if(QM){const pM=t.value.filter((PM,YM)=>{var zN;return!((zN=N.getCheckboxProps(PM,YM))!=null&&zN.disabled)}).map(PM=>PM[N.id]);O.value=[...pM]}else O.value=[]};e.watch(O,()=>{O.value.length===N.dataSource.length?z.value=!0:z.value=!1,O.value.length>0?u.value=!0:u.value=!1,O.value!=N.selectedKeys&&(console.log("\u521D\u59CB\u5316\u8D4B\u503C\u89E6\u53D1\u4FEE\u6539",O.value,N.selectedKeys),D("update:selectedKeys",O.value))},{deep:!0,immediate:!0}),e.watch(w,()=>{D("update:expandKeys",w.value)},{deep:!0,immediate:!0}),e.watch(a,()=>{if(!N.page||N.serverpage)t.value=a.value;else{let QM={...N.page};QM.total=a.value.length,D("update:page",QM),oN.value={},Q({limit:N.page.limit,current:N.page.current})}});const Q=function(QM){N.serverpage?D("change",QM):(QM.current,t.value=a.value.slice(QM.limit*(QM.current-1),QM.limit*QM.current))},x=function(QM,CM){D("row",QM,CM)},f=function(QM,CM){D("row-double",QM,CM)},C=(QM,CM)=>{D("row-contextmenu",QM,CM)},W=()=>{let CM=j.value.innerHTML,pM=document.body.innerHTML;document.body.innerHTML=CM,window.print(),window.location.reload(),document.body.innerHTML=pM};function MM(QM,CM,pM){const PM=IS.json_to_sheet(QM,{header:CM,skipHeader:!1});console.log(PM);var YM={SheetNames:["sheet"],Sheets:{sheet:Object.assign({},PM,{})}};uS(YM,pM+".xlsx",{bookType:"xlsx",type:"binary"})}const NM=()=>{let QM=[],CM=[],pM={};for(let PM of g.value)for(let YM of PM)pM[YM.key]=YM.title,QM.push(YM.key);CM.push(pM),console.log(a.value,g.value),a.value.forEach((PM,YM)=>{let zN={};T.value.forEach((rN,mD)=>{Object.keys(PM).forEach(GN=>{rN.key===GN&&(zN[GN]=PM[GN])}),rN.type=="number"&&(zN[rN.key]=YM+1)}),CM.push(zN)}),MM(CM,QM,N.download||"\u4E0B\u8F7D\u6587\u4EF6")},jM=(QM,CM,pM,PM=!1)=>{let YM=QM.target.parentNode.getAttribute("lay-sort");pM==="desc"?YM===pM&&!PM?(QM.target.parentNode.setAttribute("lay-sort",""),a.value=[...N.dataSource]):(QM.target.parentNode.setAttribute("lay-sort","desc"),a.value.sort((zN,rN)=>zN[CM]rN[CM]?-1:0)):YM===pM&&!PM?(QM.target.parentNode.setAttribute("lay-sort",""),a.value=[...N.dataSource]):(QM.target.parentNode.setAttribute("lay-sort","asc"),a.value.sort((zN,rN)=>zN[CM]rN[CM]?1:0))};let aM=e.ref(null),tM=e.ref(null),R=e.ref(null);const m=e.ref();let J=e.ref(0);const K=()=>{var pM,PM,YM;const QM=((pM=aM.value)==null?void 0:pM.clientWidth)||0,CM=((PM=aM.value)==null?void 0:PM.offsetWidth)||0;QM[rM.value?"layui-table-has-fixed-left":"",IM.value?"layui-table-has-fixed-right":""]);e.watch(()=>[N.height,N.maxHeight,N.dataSource],()=>{e.nextTick(()=>{K(),oM()})},{deep:!0}),e.onMounted(()=>{var QM,CM;K(),oM(),(QM=aM.value)==null||QM.addEventListener("scroll",()=>{oM()}),(CM=aM.value)==null||CM.addEventListener("transitionend",()=>{K()}),window.onresize=()=>{K(),oM()}});const oM=()=>{var QM,CM,pM,PM,YM,zN,rN;if(tM.value.scrollLeft=((QM=aM.value)==null?void 0:QM.scrollLeft)||0,((CM=aM.value)==null?void 0:CM.scrollWidth)>((pM=aM.value)==null?void 0:pM.clientWidth))if(((PM=aM.value)==null?void 0:PM.scrollLeft)==0)rM.value=!1,IM.value=!0;else{const mD=((YM=aM.value)==null?void 0:YM.scrollLeft)+((zN=aM.value)==null?void 0:zN.offsetWidth)+2,GN=(rN=aM.value)==null?void 0:rN.scrollWidth;mD>GN?(rM.value=!0,IM.value=!1):(rM.value=!0,IM.value=!0)}else rM.value=!1,IM.value=!1},bM=e.ref([]);N.columns.map(QM=>{QM.customSlot&&bM.value.push(QM.customSlot)});const eM=e.ref(0),uM=e.computed(()=>N.dataSource.find(QM=>{if(QM[N.childrenColumnName])return!0})!=null),d=(QM,CM)=>{var rN,mD,GN,sD;if(QM.fixed)if(QM.fixed=="left"){for(var pM=0,PM=0;PM{var mD,GN,sD,zi;if(QM.fixed)if(QM.fixed=="left"){for(var PM=0,YM=0;YM{if(QM.fixed)if(QM.fixed=="left"){for(var pM=!0,PM=CM+1;PM{let QM=!1;return N.columns.forEach(CM=>{CM.totalRow&&(QM=!0)}),QM}),p=QM=>{if(QM.totalRow)return QM.totalRow!=!0?QM.totalRow:QM.totalRowMethod?QM.totalRowMethod(QM,a.value):Z(QM,a.value)},Z=(QM,CM)=>{let pM=0;return CM.forEach(PM=>{pM=pM+Number(PM[QM.key])}),pM},zM=QM=>N.defaultToolbar instanceof Array?N.defaultToolbar.includes(QM):N.defaultToolbar,TM=QM=>{if(N.defaultToolbar instanceof Array)return{order:N.defaultToolbar.indexOf(QM)}};e.onBeforeUnmount(()=>{window.onresize=null});const DM=e.ref(!1),AM=e.ref(0),hM=e.ref(0),KM=e.ref({}),iN=e.ref(""),oN=e.ref({});function xM(QM,CM,pM){console.log(QM),hM.value=QM.pageX,AM.value=QM.pageY,DM.value=!0,KM.value=CM,iN.value=pM}const EM=()=>{iN.value=""};function TN(QM){KM.value.soulclass="soul-icon-filter-asc",jM(QM,KM.value.key,"asc",!0)}function mM(QM){KM.value.soulclass="soul-icon-filter-desc",jM(QM,KM.value.key,"desc",!0)}function cD(QM){oN.value[QM.key]=QM.list,console.log("\u7B5B\u9009\u4E8B\u4EF6",oN.value,oN.value.length)}return e.watch(oN,()=>{console.log("sxlist\u66F4\u65B0")}),e.watch([()=>oN,()=>N.dataSource],(QM,CM)=>{if(Object.keys(oN.value).length==0)return;let pM=[...N.dataSource],PM=[];for(let YM in oN.value)for(let zN in pM)pM[zN]!=""&&oN.value[YM].length!=0&&(oN.value[YM].includes(pM[zN][YM])||(pM[zN]=""));for(let YM of pM)YM!=""&&PM.push(YM);!N.page||N.serverpage?e.nextTick(()=>{t.value=PM}):(a.value=PM,Q({limit:N.page.limit,current:N.page.current,isReload:!0}))},{deep:!0}),window.addEventListener("click",EM),(QM,CM)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableRef",ref:j},[up,e.createElementVNode("div",{class:e.normalizeClass(["layui-form layui-border-box layui-table-view",e.unref(OM)])},[M.defaultToolbar||e.unref(i).toolbar?(e.openBlock(),e.createElementBlock("div",ap,[e.createElementVNode("div",rp,[e.renderSlot(QM.$slots,"toolbar")]),M.defaultToolbar?(e.openBlock(),e.createElementBlock("div",gp,[zM("filter")?(e.openBlock(),e.createBlock(OD,{key:0,updateAtScroll:"",style:e.normalizeStyle(TM("filter"))},{content:e.withCtx(()=>[e.createElementVNode("div",np,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value[0],pM=>(e.openBlock(),e.createBlock(fe,{modelValue:o.value,"onUpdate:modelValue":CM[0]||(CM[0]=PM=>o.value=PM),skin:"primary",disabled:pM.children,key:pM.key,value:pM.key},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(pM.title),1)]),_:2},1032,["modelValue","disabled","value"]))),128))])]),default:e.withCtx(()=>[Tp]),_:1},8,["style"])):e.createCommentVNode("",!0),zM("export")?(e.openBlock(),e.createElementBlock("div",{key:1,class:"layui-inline",title:"\u5BFC\u51FA","lay-event":"",style:e.normalizeStyle(TM("export")),onClick:CM[1]||(CM[1]=pM=>NM())},cp,4)):e.createCommentVNode("",!0),zM("print")?(e.openBlock(),e.createElementBlock("div",{key:2,style:e.normalizeStyle(TM("print")),class:"layui-inline",title:"\u6253\u5370","lay-event":"",onClick:CM[2]||(CM[2]=pM=>W())},sp,4)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.unref(i).header?(e.openBlock(),e.createElementBlock("div",yp,[e.renderSlot(QM.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",Lp,[e.createElementVNode("div",{class:"layui-table-header",style:e.normalizeStyle([{"padding-right":`${e.unref(J)}px`}])},[e.createElementVNode("div",{class:"layui-table-header-wrapper",ref_key:"tableHeader",ref:tM},[e.createElementVNode("table",{class:"layui-table","lay-size":M.size,"lay-skin":M.skin,ref_key:"tableHeaderTable",ref:R},[e.createElementVNode("colgroup",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,pM=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:pM},[o.value.includes(pM.key)?(e.openBlock(),e.createElementBlock("col",{key:0,width:pM.width,style:e.normalizeStyle({minWidth:pM.minWidth?pM.minWidth:"50px"})},null,12,lp)):e.createCommentVNode("",!0)],64))),128))]),e.createElementVNode("thead",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(pM,PM)=>(e.openBlock(),e.createElementBlock("tr",{key:PM},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pM,(YM,zN)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:YM},[o.value.includes(YM.key)?(e.openBlock(),e.createElementBlock("th",{key:0,colspan:YM.colspan,rowspan:YM.rowspan,class:e.normalizeClass(["layui-table-cell",[v(YM,zN),YM.fixed?`layui-table-fixed-${YM.fixed}`:"",YM.type=="checkbox"?"layui-table-cell-checkbox":"",YM.type=="radio"?"layui-table-cell-radio":"",YM.type=="number"?"layui-table-cell-number":""]]),style:e.normalizeStyle([{textAlign:YM.align},G(YM,zN,pM)])},[YM.type=="checkbox"?(e.openBlock(),e.createBlock(fe,{key:0,modelValue:u.value,"onUpdate:modelValue":CM[3]||(CM[3]=rN=>u.value=rN),"is-indeterminate":!z.value,skin:"primary",value:"all",onChange:k},null,8,["modelValue","is-indeterminate"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,[YM.titleSlot?e.renderSlot(QM.$slots,YM.titleSlot,{key:0}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(YM.title),1)],64))]),YM.sort?(e.openBlock(),e.createElementBlock("span",Op,[e.createElementVNode("i",{onClick:e.withModifiers(rN=>jM(rN,YM.key,"asc"),["stop"]),class:"layui-edge layui-table-sort-asc",title:"\u5347\u5E8F"},null,8,wp),e.createElementVNode("i",{onClick:e.withModifiers(rN=>jM(rN,YM.key,"desc"),["stop"]),class:"layui-edge layui-table-sort-desc",title:"\u964D\u5E8F"},null,8,Ap)])):e.createCommentVNode("",!0),YM.soul?(e.openBlock(),e.createElementBlock("span",Ep,[e.createElementVNode("i",{class:e.normalizeClass(["soul-icon soul-box",YM.soulclass||"soul-icon-filter"]),onClick:e.withModifiers(rN=>xM(rN,YM,YM.key),["stop"])},null,10,xp)])):e.createCommentVNode("",!0)],64))],14,Ip)):e.createCommentVNode("",!0)],64))),128))]))),128))])],8,op)],512)],4),e.createElementVNode("div",{class:"layui-table-body layui-table-main",style:e.normalizeStyle({height:M.height,maxHeight:M.maxHeight}),ref_key:"tableBody",ref:aM},[t.value.length>0&&M.loading==!1?(e.openBlock(),e.createElementBlock("table",{key:0,class:e.normalizeClass(["layui-table",{"layui-table-even":N.even}]),"lay-size":M.size,"lay-skin":M.skin},[e.createElementVNode("colgroup",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.value,(pM,PM)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:PM},[o.value.includes(pM.key)?(e.openBlock(),e.createElementBlock("col",{key:0,width:pM.width,style:e.normalizeStyle({minWidth:pM.minWidth?pM.minWidth:"50px"})},null,12,Yp)):e.createCommentVNode("",!0)],64))),128))]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(pM,PM)=>(e.openBlock(),e.createBlock(BS,{key:PM,id:M.id,index:PM,data:pM,columns:T.value,"indent-size":M.indentSize,currentIndentSize:eM.value,tableColumnKeys:o.value,expandSpace:e.unref(uM),expandIndex:M.expandIndex,cellStyle:M.cellStyle,cellClassName:M.cellClassName,rowStyle:M.rowStyle,rowClassName:M.rowClassName,spanMethod:M.spanMethod,defaultExpandAll:M.defaultExpandAll,getCheckboxProps:M.getCheckboxProps,getRadioProps:M.getRadioProps,expandKeys:w.value,"onUpdate:expandKeys":CM[4]||(CM[4]=YM=>w.value=YM),selectedKeys:O.value,"onUpdate:selectedKeys":CM[5]||(CM[5]=YM=>O.value=YM),selectedKey:e.unref(A),"onUpdate:selectedKey":CM[6]||(CM[6]=YM=>e.isRef(A)?A.value=YM:null),onRow:x,onRowDouble:f,onRowContextmenu:C,page:M.page},e.createSlots({_:2},[e.renderList(bM.value,YM=>({name:YM,fn:e.withCtx(({data:zN})=>[e.renderSlot(QM.$slots,YM,{data:zN})])})),e.unref(i).expand?{name:"expand",fn:e.withCtx(({data:YM})=>[e.renderSlot(QM.$slots,"expand",{data:YM})]),key:"0"}:void 0]),1032,["id","index","data","columns","indent-size","currentIndentSize","tableColumnKeys","expandSpace","expandIndex","cellStyle","cellClassName","rowStyle","rowClassName","spanMethod","defaultExpandAll","getCheckboxProps","getRadioProps","expandKeys","selectedKeys","selectedKey","page"]))),128)),e.unref(P)?(e.openBlock(),e.createElementBlock("tr",kp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.columns,(pM,PM)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:PM},[o.value.includes(pM.key)?(e.openBlock(),e.createElementBlock("td",{key:0,style:e.normalizeStyle([{textAlign:pM.align,whiteSpace:pM.ellipsisTooltip?"nowrap":"normal"},d(pM,PM)]),class:e.normalizeClass(["layui-table-cell",v(pM,PM),pM.fixed?`layui-table-fixed-${pM.fixed}`:""]),innerHTML:p(pM)},null,14,fp)):e.createCommentVNode("",!0)],64))),128))])):e.createCommentVNode("",!0)])],10,Qp)):e.createCommentVNode("",!0),t.value.length==0&&M.loading==!1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(ST),e.createElementVNode("div",{style:e.normalizeStyle({width:m.value})},null,4)],64)):e.createCommentVNode("",!0),M.loading==!0?(e.openBlock(),e.createElementBlock("div",dp,Cp)):e.createCommentVNode("",!0)],4),e.unref(i).footer?(e.openBlock(),e.createElementBlock("div",Up,[e.renderSlot(QM.$slots,"footer")])):e.createCommentVNode("",!0)]),M.page&&M.page.total>0?(e.openBlock(),e.createElementBlock("div",Sp,[e.createVNode(JS,{total:M.page.total,pages:M.page.pages,theme:M.page.theme,limits:M.page.limits,showSkip:M.page.showSkip,"show-page":M.page.showPage,showRefresh:M.page.showRefresh,showLimit:M.page.showLimit,showCount:M.page.showCount,count:M.page.count,current:M.page.current,"onUpdate:current":CM[7]||(CM[7]=pM=>M.page.current=pM),limit:M.page.limit,"onUpdate:limit":CM[8]||(CM[8]=pM=>M.page.limit=pM),onChange:Q},null,8,["total","pages","theme","limits","showSkip","show-page","showRefresh","showLimit","showCount","count","current","limit"])])):e.createCommentVNode("",!0)],2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(pM,PM)=>(e.openBlock(),e.createElementBlock("div",{key:PM},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(pM,(YM,zN)=>(e.openBlock(),e.createElementBlock("div",{key:YM},[e.withDirectives(e.createVNode(zp,{top:AM.value,left:hM.value,show:iN.value==YM.key,onAsc:TN,onDesc:mM,onDaochu:NM,list:t.value,soulkey:YM.key,onSx:cD},null,8,["top","left","show","list","soulkey"]),[[e.vShow,iN.value==YM.key]])]))),128))]))),128))],512))}}),ws=JM(hp),As=JM(Os);var K8=(()=>`:root{--button-primary-text-color: #fff;--button-primary-background-color: var(--global-primary-color);--button-primary-border-color: var(--global-primary-color);--button-normal-text-color: #fff;--button-normal-background-color: var(--global-normal-color);--button-normal-border-color: var(--global-normal-color);--button-warm-text-color: #fff;--button-warm-background-color: var(--global-warm-color);--button-warm-border-color: var(--global-warm-color);--button-danger-text-color: #fff;--button-danger-background-color: var(--global-danger-color);--button-danger-border-color: var(--global-danger-color);--button-border-radius: var(--global-border-radius);--button-border-color: var(--global-neutral-color-6);--button-background-color: 0 0;--button-text-color: #666}.layui-btn{height:38px;line-height:36px;padding:0 18px;font-size:14px;text-align:center;white-space:nowrap;color:var(--button-text-color);background:var(--button-background-color);border-radius:var(--button-border-radius);border-color:var(--button-border-color);border-width:1px;border-style:solid;cursor:pointer}.layui-btn-primary{color:var(--button-primary-text-color);background-color:var(--button-primary-background-color);border-color:var(--button-primary-border-color)}.layui-btn-normal{color:var(--button-normal-text-color);background-color:var(--button-normal-background-color);border-color:var(--button-normal-border-color)}.layui-btn-warm{color:var(--button-warm-text-color);background-color:var(--button-warm-background-color);border-color:var(--button-warm-border-color)}.layui-btn-danger{color:var(--button-danger-text-color);background-color:var(--button-danger-background-color);border-color:var(--button-danger-border-color)}.layui-btn:hover{opacity:.8;filter:alpha(opacity=80)}.layui-btn:active{opacity:1;filter:alpha(opacity=100)}.layui-btn-lg{height:44px;line-height:44px;padding:0 25px;font-size:16px}.layui-btn-sm{height:30px;line-height:30px;padding:0 10px;font-size:12px}.layui-btn-xs{height:22px;line-height:22px;padding:0 5px;font-size:12px}.layui-btn-xs i{font-size:12px!important}.layui-btn-fluid{width:100%}.layui-btn-radius{border-radius:100px}.layui-btn-disabled,.layui-btn-disabled:active,.layui-btn-disabled:hover{border-color:#eee!important;background-color:#fbfbfb!important;color:#d2d2d2!important;cursor:not-allowed!important;opacity:1}.layui-btn+.layui-btn{margin-left:10px}.layui-btn .layui-icon{padding:0 2px;vertical-align:middle\\ ;vertical-align:bottom}.layui-checkbox[size=lg]{height:18px;line-height:18px}.layui-checkbox[size=lg] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:18px;height:18px;font-size:16px}.layui-checkbox[size=lg] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:18px;line-height:18px;font-size:16px}.layui-checkbox[size=md]{height:16px;line-height:16px}.layui-checkbox[size=md] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:16px;height:16px;font-size:14px}.layui-checkbox[size=md] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:16px;line-height:16px;font-size:14px}.layui-checkbox[size=sm]{height:14px;line-height:14px}.layui-checkbox[size=sm] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:14px;height:14px;font-size:12px}.layui-checkbox[size=sm] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:14px;line-height:14px;font-size:12px}.layui-checkbox[size=xs]{height:12px;line-height:12px}.layui-checkbox[size=xs] .layui-form-checkbox[lay-skin=primary] .layui-icon{width:12px;height:12px;font-size:10px}.layui-checkbox[size=xs] .layui-form-checkbox[lay-skin=primary] .layui-checkbox-label{height:12px;line-height:12px;font-size:10px}.layui-checkbox input[type=checkbox]{display:none}.layui-form-checkbox{position:relative;height:30px;line-height:30px;margin-right:10px;padding-right:30px;cursor:pointer;font-size:0;-webkit-transition:.1s linear;transition:.1s linear;box-sizing:border-box}.layui-form-checkbox span{padding:0 10px;height:100%;font-size:14px;border-radius:2px 0 0 2px;background-color:var(--global-neutral-color-6);color:#fff;overflow:hidden}.layui-form-checkbox:hover span{background-color:var(--global-neutral-color-8)}.layui-form-checkbox i{top:0;right:0;width:29px;height:28px;position:absolute;border-top:1px solid var(--global-neutral-color-6);border-bottom:1px solid var(--global-neutral-color-6);border-right:1px solid var(--global-neutral-color-6);border-radius:0 2px 2px 0;color:#fff;font-size:20px;text-align:center}.layui-form-checkbox:hover i{border-color:var(--global-neutral-color-8);color:var(--global-neutral-color-8)}.layui-form-checkbox[lay-skin=primary]{height:auto!important;line-height:normal!important;min-width:18px;min-height:18px;border:none!important;margin-right:0;padding-left:28px;padding-right:0;background:0 0}.layui-form-checkbox[lay-skin=primary] span{padding-left:0;padding-right:15px;line-height:18px;background:0 0;color:#666}.layui-form-checkbox[lay-skin=primary] i{right:auto;left:0;width:16px;height:16px;line-height:16px;border:1px solid var(--global-neutral-color-6);font-size:12px;border-radius:2px;background-color:#fff;-webkit-transition:.1s linear;transition:.1s linear}.layui-form-checkbox[lay-skin=primary]:hover i{border-color:var(--global-checked-color);color:#fff}.layui-form-checked,.layui-form-checked:hover{border-color:var(--global-checked-color)}.layui-form-checked i,.layui-form-checked:hover i{color:var(--global-checked-color)}.layui-form-checked span,.layui-form-checked:hover span{background-color:var(--global-checked-color)}.layui-form-checked[lay-skin=primary] i{border-color:var(--global-checked-color);background-color:var(--global-checked-color);color:#fff}.layui-form-checked[lay-skin=primary] span{background:0 0!important}.layui-checkbox-disabled[lay-skin=primary] span{background:0 0!important;color:var(--global-neutral-color-8)!important}.layui-checkbox-disabled[lay-skin=primary]:hover i{border-color:var(--global-neutral-color-6)}.layui-checkbox-disabled,.layui-checkbox-disabled i{border-color:var(--global-neutral-color-3)!important}.layui-checkbox-disabled span{background-color:var(--global-neutral-color-3)!important}.layui-checkbox-disabled em{color:var(--global-neutral-color-6)!important}.layui-checkbox-disabled:hover i{color:#fff!important}.layui-checkbox-disabled .layui-icon-ok,.layui-checkbox-disabled .layui-icon-subtraction{background-color:var(--global-neutral-color-3)!important;border-color:var(--global-neutral-color-3)!important}:root{--transfer-box-border-radius: var(--global-border-radius)}.layui-transfer{display:flex}.layui-transfer .layui-btn+.layui-btn{margin-left:0}.layui-transfer-box,.layui-transfer-header,.layui-transfer-search{border-width:0;border-style:solid;border-color:#eee}.layui-transfer-box{position:relative;border-width:1px;display:flex;flex-direction:column;border-radius:var(--transfer-box-border-radius);background-color:#fff}.layui-transfer-box .layui-form-checkbox{width:100%;margin:0!important}.layui-transfer-header{height:38px;line-height:38px;padding:0 10px;border-bottom-width:1px;flex:0}.layui-transfer-search{position:relative;padding:10px;border-bottom-width:1px;flex:0}.layui-transfer-search .layui-input{height:35px;padding-left:2px;font-size:13px;letter-spacing:1px}.layui-transfer-search .layui-icon-search{color:#666}.layui-transfer-active{margin:0 15px}.layui-transfer-active .layui-btn{display:block;margin:0;padding:0 15px;background-color:#5fb878;border-color:#5fb878;color:#fff}.layui-transfer-active .layui-btn-disabled{background-color:#fbfbfb;border-color:#eee;color:#d2d2d2}.layui-transfer-active .layui-btn:first-child{margin-bottom:15px}.layui-transfer-active .layui-btn .layui-icon{margin:0;font-size:14px!important}.layui-transfer-data{padding:5px 0;overflow:auto;flex:1}.layui-transfer-data li{height:32px;line-height:32px;padding:0 10px}.layui-transfer-data li:hover{background-color:#f6f6f6;transition:.5s all}.layui-transfer-data .layui-none{padding:15px 10px;text-align:center;color:#999}.layui-transfer-active{display:flex;align-items:center;justify-items:center}.layui-transfer-footer{flex:0;height:38px;line-height:38px;border-top:1px solid #eee;padding:0 10px} `)();const mp={class:"layui-transfer layui-form layui-border-box"},Bp={class:"layui-transfer-header"},bp={key:0,class:"layui-transfer-search"},vp={class:"layui-transfer-data"},Fp={key:1,class:"layui-transfer-footer"},_p={class:"layui-transfer-active"},Pp={class:"layui-transfer-button-group"},Rp=e.createElementVNode("i",{class:"layui-icon layui-icon-next"},null,-1),Gp=e.createElementVNode("i",{class:"layui-icon layui-icon-prev"},null,-1),Wp={class:"layui-transfer-header"},Vp={key:0,class:"layui-transfer-search"},Hp={class:"layui-transfer-data"},Zp={key:1,class:"layui-transfer-footer"},Xp={name:"LayTransfer"},Jp=e.defineComponent({...Xp,props:{id:{default:"id"},title:{default:()=>["\u4E3B\u5217\u8868","\u526F\u5217\u8868"]},width:{default:"200px"},height:{default:"360px"},showSearch:{default:!1},dataSource:{default:()=>[]},modelValue:{default:()=>[]}},emits:["update:modelValue","change"],setup(M,{emit:D}){const N=M,i=e.useSlots(),j=e.ref([]),t=e.ref([]),z=e.ref([]),u=e.ref([]),a=e.ref([]),r=e.ref([]),g=e.ref(!1),T=e.ref(!1),n=e.ref(!1),s=e.ref(!1),y=k=>{if(k){const x=j.value.filter(f=>!f.disabled).map(f=>f[N.id]);a.value=[...x]}else a.value=[]};e.watch(()=>[N.modelValue,N.dataSource],()=>{let k=[];N.dataSource.forEach(Q=>{N.modelValue.includes(Q[N.id])&&k.push(Q)}),j.value=N.dataSource.filter(Q=>!N.modelValue.includes(Q[N.id])),z.value=N.dataSource.filter(Q=>!N.modelValue.includes(Q[N.id])),t.value=[...k],u.value=[...k]},{immediate:!0}),e.watch(a,()=>{j.value.length===a.value.length&&j.value.length!=0?g.value=!0:g.value=!1,a.value.length>0&&j.value.length!=0?n.value=!0:n.value=!1},{deep:!0});const o=k=>{if(k){const x=t.value.filter(f=>!f.disabled).map(f=>f[N.id]);r.value=[...x]}else r.value=[]};e.watch(r,()=>{t.value.length===r.value.length&&t.value.length>0?T.value=!0:T.value=!1,r.value.length>0&&t.value.length!=0?s.value=!0:s.value=!1},{deep:!0});const I=()=>{if(a.value.length===0)return;let k=[];j.value.forEach(Q=>{a.value.indexOf(Q[N.id])!=-1&&k.push(Q[N.id])}),t.value.forEach(Q=>{k.push(Q[N.id])}),D("change",k),D("update:modelValue",k),a.value=[]},L=()=>{if(r.value.length===0)return;let k=[];t.value.forEach(Q=>{r.value.indexOf(Q[N.id])==-1&&k.push(Q[N.id])}),D("change",k),D("update:modelValue",k),r.value=[]},O=k=>{k===""&&(j.value=z.value),j.value=z.value.filter(Q=>{if(Q.title.indexOf(k)!=-1)return Q})},w=k=>{k===""&&(t.value=u.value),t.value=u.value.filter(Q=>{if(Q.title.indexOf(k)!=-1)return Q})},A=e.computed(()=>({width:N.width,height:N.height}));return(k,Q)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",mp,[e.createElementVNode("div",{class:"layui-transfer-box",style:e.normalizeStyle(e.unref(A))},[e.createElementVNode("div",Bp,[e.createVNode(fe,{modelValue:n.value,"onUpdate:modelValue":Q[0]||(Q[0]=x=>n.value=x),"is-indeterminate":!g.value,skin:"primary",value:"all",onChange:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(M.title[0]),1)]),_:1},8,["modelValue","is-indeterminate"])]),M.showSearch?(e.openBlock(),e.createElementBlock("div",bp,[e.createVNode(Ye,{"prefix-icon":"layui-icon-search",onInput:O,placeholder:"\u5173\u952E\u8BCD\u641C\u7D22"})])):e.createCommentVNode("",!0),e.createElementVNode("ul",vp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(j.value,x=>(e.openBlock(),e.createElementBlock("li",{key:x},[e.createVNode(fe,{modelValue:a.value,"onUpdate:modelValue":Q[1]||(Q[1]=f=>a.value=f),skin:"primary",disabled:x.disabled,value:x[M.id]},{default:e.withCtx(()=>[e.unref(i).item?e.renderSlot(k.$slots,"item",{key:0,data:x}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(x.title),1)],64))]),_:2},1032,["modelValue","disabled","value"])]))),128))]),e.unref(i).leftFooter?(e.openBlock(),e.createElementBlock("div",Fp,[e.renderSlot(k.$slots,"leftFooter")])):e.createCommentVNode("",!0)],4),e.createElementVNode("div",_p,[e.createElementVNode("div",Pp,[e.createVNode(gj,{type:"primary",disabled:a.value.length==0,onClick:I},{default:e.withCtx(()=>[Rp]),_:1},8,["disabled"]),e.createVNode(gj,{type:"primary",disabled:r.value.length==0,onClick:L},{default:e.withCtx(()=>[Gp]),_:1},8,["disabled"])])]),e.createElementVNode("div",{class:"layui-transfer-box",style:e.normalizeStyle(e.unref(A))},[e.createElementVNode("div",Wp,[e.createVNode(fe,{modelValue:s.value,"onUpdate:modelValue":Q[2]||(Q[2]=x=>s.value=x),"is-indeterminate":!T.value,skin:"primary",value:"all",onChange:o},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(M.title[1]),1)]),_:1},8,["modelValue","is-indeterminate"])]),M.showSearch?(e.openBlock(),e.createElementBlock("div",Vp,[e.createVNode(Ye,{"prefix-icon":"layui-icon-search",onInput:w,placeholder:"\u5173\u952E\u8BCD\u641C\u7D22"})])):e.createCommentVNode("",!0),e.createElementVNode("ul",Hp,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,x=>(e.openBlock(),e.createElementBlock("li",{key:x},[e.createVNode(fe,{skin:"primary",modelValue:r.value,"onUpdate:modelValue":Q[3]||(Q[3]=f=>r.value=f),disabled:x.disabled,value:x[M.id]},{default:e.withCtx(()=>[e.unref(i).item?e.renderSlot(k.$slots,"item",{key:0,data:x}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(x.title),1)],64))]),_:2},1032,["modelValue","disabled","value"])]))),128))]),e.unref(i).rightFooter?(e.openBlock(),e.createElementBlock("div",Zp,[e.renderSlot(k.$slots,"rightFooter")])):e.createCommentVNode("",!0)],4)])]))}}),Es=JM(Jp);var q8=(()=>`.layui-popper{position:fixed;padding:10px;border-radius:3px;word-wrap:break-word;min-width:12px;min-height:12px;font-size:14px;box-sizing:border-box;box-shadow:0 2px 12px #00000026;background-color:#fff;color:#3a3a3a;border:1px solid #cecece;max-width:300px;z-index:99999}.layui-popper[position=top]{margin-bottom:6px}.layui-popper[position=top] .layui-popper-arrow{bottom:-6px;border-bottom-width:0;border-top-color:#cecece}.layui-popper[position=top] .layui-popper-arrow:after{bottom:1px;border-bottom-width:0;margin-left:-6px;border-top-color:#fff}.layui-popper[position=bottom]{margin-top:6px}.layui-popper[position=bottom] .layui-popper-arrow{top:-6px;border-top-width:0;border-bottom-color:#cecece}.layui-popper[position=bottom] .layui-popper-arrow:after{top:1px;border-top-width:0;margin-left:-6px;border-bottom-color:#fff}.layui-popper[position=right]{margin-left:6px}.layui-popper[position=right] .layui-popper-arrow{left:-6px;border-left-width:0;border-right-color:#cecece}.layui-popper[position=right] .layui-popper-arrow:after{left:1px;border-left-width:0;margin-top:-6px;border-right-color:#fff}.layui-popper[position=left]{margin-right:6px}.layui-popper[position=left] .layui-popper-arrow{right:-6px;border-right-width:0;border-left-color:#cecece}.layui-popper[position=left] .layui-popper-arrow:after{right:1px;border-right-width:0;margin-top:-6px;border-left-color:#fff}.layui-popper[position=top] .layui-popper-arrow,.layui-popper[position=bottom] .layui-popper-arrow{left:-moz-calc(44%);left:-webkit-calc(44%);left:calc(50% - 6px)}.layui-popper[position=left] .layui-popper-arrow,.layui-popper[position=right] .layui-popper-arrow{top:-moz-calc(44%);top:-webkit-calc(44%);top:calc(50% - 6px)}.layui-popper:after{content:" ";position:absolute;display:block}.layui-popper[position=top]:after{bottom:-7px;left:0;width:100%;height:7px}.layui-popper[position=bottom]:after{top:-7px;left:0;width:100%;height:7px}.layui-popper[position=left]:after{right:-7px;bottom:0;height:100%;width:7px}.layui-popper[position=right]:after{left:-7px;bottom:0;height:100%;width:7px}.layui-popper .layui-popper-arrow,.layui-popper .layui-popper-arrow:after{position:absolute;display:block;width:0;height:0;border-width:6px;border-style:solid;border-color:transparent}.layui-popper .layui-popper-arrow:after{content:" "}.layui-popper.layui-dark{background-color:#353535;color:#fff;border:1px solid #353535}.layui-popper.layui-dark[position=top]{margin-bottom:6px}.layui-popper.layui-dark[position=top] .layui-popper-arrow{bottom:-6px;border-bottom-width:0;border-top-color:#353535}.layui-popper.layui-dark[position=top] .layui-popper-arrow:after{bottom:1px;border-bottom-width:0;margin-left:-6px;border-top-color:#353535}.layui-popper.layui-dark[position=bottom]{margin-top:6px}.layui-popper.layui-dark[position=bottom] .layui-popper-arrow{top:-6px;border-top-width:0;border-bottom-color:#353535}.layui-popper.layui-dark[position=bottom] .layui-popper-arrow:after{top:1px;border-top-width:0;margin-left:-6px;border-bottom-color:#353535}.layui-popper.layui-dark[position=right]{margin-left:6px}.layui-popper.layui-dark[position=right] .layui-popper-arrow{left:-6px;border-left-width:0;border-right-color:#353535}.layui-popper.layui-dark[position=right] .layui-popper-arrow:after{left:1px;border-left-width:0;margin-top:-6px;border-right-color:#353535}.layui-popper.layui-dark[position=left]{margin-right:6px}.layui-popper.layui-dark[position=left] .layui-popper-arrow{right:-6px;border-right-width:0;border-left-color:#353535}.layui-popper.layui-dark[position=left] .layui-popper-arrow:after{right:1px;border-right-width:0;margin-top:-6px;border-left-color:#353535}.layui-slider-v{width:100%;height:18px;margin-bottom:8px}.layui-slider-track-v{width:100%;height:16px;position:relative;cursor:pointer;z-index:30}.layui-slider-btn-v{width:12px;height:12px;background-color:#fff;position:absolute;border:2px solid var(--global-primary-color);border-radius:50%;cursor:pointer;left:0%;z-index:2}.layui-slider-rate-v{width:0%;height:4px;position:absolute;top:6px;left:0;background-color:var(--global-primary-color);z-index:1}.layui-slider-line-v{width:100%;height:4px;background-color:#ccc;position:absolute;top:6px}.layui-slider-disabled{cursor:not-allowed!important}.layui-slider-disabled .disable-line{background-color:#c2c2c2!important}.layui-slider-disabled .disable-btn{border:2px solid #333333}.layui-slider-disabled-rate{background-color:var(--global-primary-color)!important}.layui-slider-vertical{width:18px;height:200px}.layui-slider-vertical-track{width:100%;height:100%;position:relative}.layui-slider-vertical-btn{width:12px;height:12px;background-color:#fff;position:absolute;border:2px solid var(--global-primary-color);border-radius:50%;cursor:pointer;bottom:0%;left:1px;z-index:2}.layui-slider-vertical-rate{width:4px;height:30%;position:absolute;bottom:0;left:7px;background-color:var(--global-primary-color);z-index:1}.layui-slider-vertical-line{width:4px;height:100%;position:absolute;left:7px;background-color:#eee}.layui-slider-srange,.layui-slider-vrange{width:100%;height:100%;position:relative;cursor:pointer}.layui-slider-dots{margin-top:4px;width:8px;height:8px;background-color:#fff;border-radius:5px;position:absolute;top:0;z-index:1}.layui-slider-vertical-dots{width:8px;height:8px;background-color:#fff;border-radius:5px;position:absolute;z-index:1;margin-left:5px} `)();const $p={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function Kp(M,D,N){if(M==="mousemoveoutside"){const i=j=>{D.contains(j.target)||N(j)};return{mousemove:i,touchstart:i}}else if(M==="clickoutside"){let i=!1;const j=z=>{i=!D.contains(z.target)},t=z=>{!i||D.contains(z.target)||N(z)};return{mousedown:j,mouseup:t,touchstart:j,touchend:t}}return console.error(`[evtd/create-trap-handler]: name \`${M}\` is invalid. This could be a bug of evtd.`),{}}function xs(M,D,N){const i=$p[M];let j=i.get(D);j===void 0&&i.set(D,j=new WeakMap);let t=j.get(N);return t===void 0&&j.set(N,t=Kp(M,D,N)),t}function qp(M,D,N,i){if(M==="mousemoveoutside"||M==="clickoutside"){const j=xs(M,D,N);return Object.keys(j).forEach(t=>{re(t,document,j[t],i)}),!0}return!1}function Mh(M,D,N,i){if(M==="mousemoveoutside"||M==="clickoutside"){const j=xs(M,D,N);return Object.keys(j).forEach(t=>{ge(t,document,j[t],i)}),!0}return!1}function Nh(){if(typeof window=="undefined")return{on:()=>{},off:()=>{}};const M=new WeakMap,D=new WeakMap;function N(){M.set(this,!0)}function i(){M.set(this,!0),D.set(this,!0)}function j(x,f,C){const W=x[f];return x[f]=function(){return C.apply(x,arguments),W.apply(x,arguments)},x}function t(x,f){x[f]=Event.prototype[f]}const z=new WeakMap,u=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function a(){var x;return(x=z.get(this))!==null&&x!==void 0?x:null}function r(x,f){u!==void 0&&Object.defineProperty(x,"currentTarget",{configurable:!0,enumerable:!0,get:f!=null?f:u.get})}const g={bubble:{},capture:{}},T={};function n(){const x=function(f){const{type:C,eventPhase:W,target:MM,bubbles:NM}=f;if(W===2)return;const jM=W===1?"capture":"bubble";let aM=MM;const tM=[];for(;aM===null&&(aM=window),tM.push(aM),aM!==window;)aM=aM.parentNode||null;const R=g.capture[C],m=g.bubble[C];if(j(f,"stopPropagation",N),j(f,"stopImmediatePropagation",i),r(f,a),jM==="capture"){if(R===void 0)return;for(let J=tM.length-1;J>=0&&!M.has(f);--J){const K=tM[J],rM=R.get(K);if(rM!==void 0){z.set(f,K);for(const IM of rM){if(D.has(f))break;IM(f)}}if(J===0&&!NM&&m!==void 0){const IM=m.get(K);if(IM!==void 0)for(const OM of IM){if(D.has(f))break;OM(f)}}}}else if(jM==="bubble"){if(m===void 0)return;for(let J=0;JNM(f))};return x.displayName="evtdUnifiedWindowEventHandler",x}const y=n(),o=s();function I(x,f){const C=g[x];return C[f]===void 0&&(C[f]=new Map,window.addEventListener(f,y,x==="capture")),C[f]}function L(x){return T[x]===void 0&&(T[x]=new Set,window.addEventListener(x,o)),T[x]}function O(x,f){let C=x.get(f);return C===void 0&&x.set(f,C=new Set),C}function w(x,f,C,W){const MM=g[f][C];if(MM!==void 0){const NM=MM.get(x);if(NM!==void 0&&NM.has(W))return!0}return!1}function A(x,f){const C=T[x];return!!(C!==void 0&&C.has(f))}function k(x,f,C,W){let MM;if(typeof W=="object"&&W.once===!0?MM=R=>{Q(x,f,MM,W),C(R)}:MM=C,qp(x,f,MM,W))return;const jM=W===!0||typeof W=="object"&&W.capture===!0?"capture":"bubble",aM=I(jM,x),tM=O(aM,f);if(tM.has(MM)||tM.add(MM),f===window){const R=L(x);R.has(MM)||R.add(MM)}}function Q(x,f,C,W){if(Mh(x,f,C,W))return;const NM=W===!0||typeof W=="object"&&W.capture===!0,jM=NM?"capture":"bubble",aM=I(jM,x),tM=O(aM,f);if(f===window&&!w(f,NM?"bubble":"capture",x,C)&&A(x,C)){const m=T[x];m.delete(C),m.size===0&&(window.removeEventListener(x,o),T[x]=void 0)}tM.has(C)&&tM.delete(C),tM.size===0&&aM.delete(f),aM.size===0&&(window.removeEventListener(x,y,jM==="capture"),g[jM][x]=void 0)}return{on:k,off:Q}}const{on:re,off:ge}=Nh();function Hz(M){let D=null;return function(N){D||(D=setTimeout(()=>{D=null,M(N)},30))}}function Qs(M){M.preventDefault()}function K4(M){if(M.step===0)return[];let D=0,N=[0],i=Math.floor(100/M.step)-1;for(let j=0;jN.max&&(u.value=N.max)}D("link-val-hook",u.value)}function g(s,y){if(typeof s=="undefined")return!1;if(typeof y.value=="number"){let o=s-y.value;if(Math.abs(o){D("link-val-hook",s)};return(s,y)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tracker",ref:z,onMousedown:e.withModifiers(t,["stop"]),class:e.normalizeClass(["layui-slider-track-v",[M.disabled?"layui-slider-disabled":""]])},[e.createVNode(ke,{content:""+M.val,"is-can-hide":a.value},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({left:M.val+"%"}),class:e.normalizeClass(["layui-slider-btn-v",[M.disabled?"layui-slider-disabled disable-btn":""]])},null,6)]),_:1},8,["content","is-can-hide"]),e.createElementVNode("div",{style:e.normalizeStyle({width:M.val+"%"}),class:e.normalizeClass(["layui-slider-rate-v",[M.disabled?"layui-slider-disabled disable-line":""]])},null,6),e.createElementVNode("div",{class:"layui-slider-line-v",style:e.normalizeStyle({backgroundColor:N.backgroundColor})},null,4),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(T),(o,I)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:L=>n(o),class:"layui-slider-dots",key:I,style:e.normalizeStyle({left:o+"%"})},null,12,eh)),[[e.vShow,M.showDots]])),128))],42,Dh))}}),th=["onMousedown"],zh=e.createElementVNode("div",{class:"layui-slider-line-v"},null,-1),uh=["onClick"],ah={name:"StandardRange"},rh=e.defineComponent({...ah,props:{rangeValue:null,disabled:{type:Boolean,default:!1},step:{default:0},min:{default:0},max:{default:100},showDots:{type:Boolean,default:!0}},emits:["link-val-hook"],setup(M,{emit:D}){const N=M;let i=e.toRef(N,"rangeValue");const j=Hz(T);let t=-1;function z(){t=-1,g.value=!1,re("selectstart",window,a,{once:!0}),re("mouseup",window,u),re("mousemove",window,j)}function u(){g.value=!0,ge("selectstart",document,a),ge("mouseup",window,u),ge("mousemove",window,j)}function a(L){L.preventDefault()}const r=e.ref(null),g=e.ref(!0);function T(L){if(!r.value)return;let O=r.value.getBoundingClientRect(),w=O.left,k=L.clientX-w;if(kN.max&&(i.value[1]=N.max),i.value[0]A?1:0}function s(L,O,w=-1){if(typeof L=="undefined")return!1;if(typeof O.value=="object"){let A=L-O.value[w];if(Math.abs(A)L.value[1]){let O=L.value[0];L.value[0]=L.value[1],L.value[1]=O,t=t===0?1:0}}const o=K4(N),I=L=>{let O=n(L,i);i.value[O]=L,D("link-val-hook",i.value)};return(L,O)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tracker",ref:r,onMousedown:e.withModifiers(z,["stop"]),class:e.normalizeClass(["layui-slider-srange",[M.disabled?"layui-slider-disabled":""]])},[e.createVNode(ke,{content:""+e.unref(i)[0],"is-can-hide":g.value},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({left:e.unref(i)[0]+"%"}),class:e.normalizeClass(["layui-slider-btn-v",[N.disabled?"layui-slider-disabled disable-btn":""]])},null,6)]),_:1},8,["content","is-can-hide"]),e.createVNode(ke,{content:""+e.unref(i)[1],"is-can-hide":g.value},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({left:e.unref(i)[1]+"%"}),class:e.normalizeClass(["layui-slider-btn-v",[N.disabled?"layui-slider-disabled disable-btn":""]])},null,6)]),_:1},8,["content","is-can-hide"]),zh,e.createElementVNode("div",{style:e.normalizeStyle({width:e.unref(i)[1]-e.unref(i)[0]+"%",left:e.unref(i)[0]+"%"}),class:e.normalizeClass(["layui-slider-rate-v",[N.disabled?"layui-slider-disabled disable-line":""]])},null,6),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),(w,A)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:k=>I(w),class:"layui-slider-dots",key:A,style:e.normalizeStyle({left:w+"%"})},null,12,uh)),[[e.vShow,M.showDots]])),128))],42,th))}}),gh={class:"layui-slider-vertical"},Th=["onMousedown"],nh=e.createElementVNode("div",{class:"layui-slider-vertical-line"},null,-1),ch=["onClick"],sh={name:"Vertical"},yh=e.defineComponent({...sh,props:{val:{default:0},disabled:{type:Boolean,default:!0},step:{default:0},min:{default:0},max:{default:100},showDots:{type:Boolean,default:!1}},emits:["link-val-hook"],setup(M,{emit:D}){const N=M,i=Hz(g);function j(){ge("selectstart",document,t),ge("mouseup",window,j),ge("mousemove",window,i),r.value=!0}function t(o){o.preventDefault()}function z(){re("selectstart",window,t,{once:!0}),re("mouseup",window,j),re("mousemove",window,i)}const u=e.ref(null);let a=e.ref(N.val);const r=e.ref(!0);function g(o){if(r.value=!1,!u.value)return;let I=u.value.getBoundingClientRect(),L=I.bottom,w=(o.clientY-L)*-1;if(wN.max&&(a.value=N.max)}D("link-val-hook",a.value)}function T(o,I){if(typeof o=="undefined")return!1;if(typeof I.value=="number"){let L=o-I.value;if(Math.abs(L){if(N.step===0)return[];let o=0,I=[],L=Math.floor(100/N.step)-1;for(let O=0;O{D("link-val-hook",o)};return(o,I)=>(e.openBlock(),e.createElementBlock("div",gh,[e.createElementVNode("div",{onMousedown:e.withModifiers(z,["stop"]),ref_key:"tracker",ref:u,class:e.normalizeClass([[M.disabled?"layui-slider-disabled":""],"layui-slider-vertical-track"])},[e.createVNode(ke,{content:""+M.val,"is-can-hide":r.value},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({bottom:M.val+"%"}),class:e.normalizeClass([[N.disabled?"layui-slider-disabled disable-btn":""],"layui-slider-vertical-btn"])},null,6)]),_:1},8,["content","is-can-hide"]),e.createElementVNode("div",{style:e.normalizeStyle({height:M.val+"%"}),class:e.normalizeClass([[N.disabled?"layui-slider-disabled disable-line":""],"layui-slider-vertical-rate"])},null,6),nh,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(s),(L,O)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:w=>y(L),class:"layui-slider-vertical-dots",key:O,style:e.normalizeStyle({bottom:L+"%"})},null,12,ch)),[[e.vShow,M.showDots]])),128))],42,Th)]))}}),Lh={class:"layui-slider-vertical"},oh=["onMousedown"],lh=e.createElementVNode("div",{class:"layui-slider-vertical-line"},null,-1),Ih=["onClick"],Oh={name:"VerticalRange"},wh=e.defineComponent({...Oh,props:{rangeValue:null,disabled:{type:Boolean,default:!1},step:{default:0},min:{default:0},max:{default:100},showDots:{type:Boolean,default:!1}},emits:["link-val-hook"],setup(M,{emit:D}){const N=M;let i=e.toRef(N,"rangeValue");const j=Hz(T);let t=-1;function z(){t=-1,g.value=!1,re("selectstart",window,a,{once:!0}),re("mouseup",window,u),re("mousemove",window,j)}function u(){g.value=!0,ge("selectstart",document,a),ge("mouseup",window,u),ge("mousemove",window,j)}function a(L){L.preventDefault()}const r=e.ref(null),g=e.ref(!0);function T(L){if(!r.value)return;let O=r.value.getBoundingClientRect(),w=O.bottom,k=(L.clientY-w)*-1;if(kN.max&&(i.value[1]=N.max),i.value[0]A?1:0}function s(L,O,w=-1){if(typeof L=="undefined")return!1;if(typeof O.value=="object"){let A=L-O.value[w];if(Math.abs(A)L.value[1]){let O=L.value[0];L.value[0]=L.value[1],L.value[1]=O,t=t===0?1:0}}const o=K4(N),I=L=>{let O=n(L,i);i.value[O]=L,D("link-val-hook",i.value)};return(L,O)=>(e.openBlock(),e.createElementBlock("div",Lh,[e.createElementVNode("div",{ref_key:"tracker",ref:r,onMousedown:e.withModifiers(z,["stop"]),class:e.normalizeClass(["layui-slider-vrange",[M.disabled?"layui-slider-disabled":""]])},[e.createVNode(ke,{content:""+e.unref(i)[1],"is-can-hide":g.value},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({bottom:e.unref(i)[1]+"%"}),class:e.normalizeClass(["layui-slider-vertical-btn",[N.disabled?"layui-slider-disabled disable-btn":""]])},null,6)]),_:1},8,["content","is-can-hide"]),e.createVNode(ke,{content:""+e.unref(i)[0],"is-can-hide":g.value},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({bottom:e.unref(i)[0]+"%"}),class:e.normalizeClass(["layui-slider-vertical-btn",[N.disabled?"layui-slider-disabled disable-btn":""]])},null,6)]),_:1},8,["content","is-can-hide"]),lh,e.createElementVNode("div",{style:e.normalizeStyle({height:e.unref(i)[1]-e.unref(i)[0]+"%",bottom:e.unref(i)[0]+"%"}),class:e.normalizeClass(["layui-slider-vertical-rate",[N.disabled?"layui-slider-disabled disable-line":""]])},null,6),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(o),(w,A)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{onClick:k=>I(w),class:"layui-slider-vertical-dots",key:A,style:e.normalizeStyle({bottom:w+"%"})},null,12,Ih)),[[e.vShow,M.showDots]])),128))],42,oh)]))}}),Ah={key:0},Eh={key:0},xh={key:1},Qh={key:1},Yh={key:0},kh={key:1},fh={name:"LaySlider"},dh=e.defineComponent({...fh,props:{vertical:{type:Boolean,default:!1},modelValue:{default:0},min:{default:0},max:{default:100},step:{default:0},disabled:{type:Boolean,default:!1},range:{type:Boolean},rangeValue:null,showDots:{type:Boolean,default:!1},backgroundColor:{default:"#ccc"}},emits:["update:modelValue"],setup(M,{emit:D}){const N=M;let i=e.toRef(N,"rangeValue");function j(t){D("update:modelValue",t)}return(t,z)=>(e.openBlock(),e.createElementBlock("div",null,[M.vertical?(e.openBlock(),e.createElementBlock("div",Ah,[M.range?(e.openBlock(),e.createElementBlock("div",Eh,[e.createVNode(wh,{step:M.step,onLinkValHook:j,disabled:M.disabled,rangeValue:e.unref(i),min:M.min,max:M.max,showDots:M.showDots},null,8,["step","disabled","rangeValue","min","max","showDots"])])):(e.openBlock(),e.createElementBlock("div",xh,[e.createVNode(yh,{step:M.step,onLinkValHook:j,disabled:M.disabled,val:M.modelValue,min:M.min,max:M.max,showDots:M.showDots},null,8,["step","disabled","val","min","max","showDots"])]))])):(e.openBlock(),e.createElementBlock("div",Qh,[M.range?(e.openBlock(),e.createElementBlock("div",Yh,[e.createVNode(rh,{step:M.step,onLinkValHook:j,disabled:M.disabled,rangeValue:e.unref(i),min:M.min,max:M.max,showDots:M.showDots},null,8,["step","disabled","rangeValue","min","max","showDots"])])):(e.openBlock(),e.createElementBlock("div",kh,[e.createVNode(jh,{val:M.modelValue,onLinkValHook:j,disabled:M.disabled,step:M.step,min:M.min,max:M.max,showDots:M.showDots,backgroundColor:N.backgroundColor},null,8,["val","disabled","step","min","max","showDots","backgroundColor"])]))]))]))}}),Ys=JM(dh);var M_=(()=>`.layui-carousel{position:relative;left:0;top:0;background-color:#f8f8f8}.layui-carousel>[carousel-item]{position:relative;width:100%;height:100%;overflow:hidden}.layui-carousel>[carousel-item]:before{position:absolute;content:"\\e63d";left:50%;top:50%;width:100px;line-height:20px;margin:-10px 0 0 -50px;text-align:center;color:var(--global-neutral-color-8);font-family:layui-icon!important;font-size:30px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.layui-carousel>[carousel-item]>*{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f8f8f8;transition-duration:.3s;-webkit-transition-duration:.3s;overflow:hidden;visibility:hidden}.layui-carousel-updown>*{-webkit-transition:.3s ease-in-out up;transition:.3s ease-in-out up}.layui-carousel-arrow{display:none\\ ;opacity:0;position:absolute;left:10px;top:50%;margin-top:-18px;width:36px;height:36px;line-height:36px;text-align:center;font-size:20px;border:0;border-radius:50%;background-color:#0003;color:#fff;-webkit-transition-duration:.3s;transition-duration:.3s;cursor:pointer}.layui-carousel-arrow[lay-type=add]{left:auto!important;right:10px}.layui-carousel:hover .layui-carousel-arrow[lay-type=add],.layui-carousel[lay-arrow=always] .layui-carousel-arrow[lay-type=add]{right:20px}.layui-carousel[lay-arrow=always] .layui-carousel-arrow{opacity:1;left:20px}.layui-carousel[lay-arrow=none] .layui-carousel-arrow{display:none}.layui-carousel-arrow:hover,.layui-carousel-ind ul:hover{background-color:#00000059}.layui-carousel:hover .layui-carousel-arrow{display:block\\ ;opacity:1;left:20px}.layui-carousel-ind{position:relative;top:-35px;width:100%;line-height:0!important;text-align:center;font-size:0}.layui-carousel[lay-indicator=outside]{margin-bottom:30px}.layui-carousel[lay-indicator=outside] .layui-carousel-ind{top:10px}.layui-carousel[lay-indicator=outside] .layui-carousel-ind ul{background-color:#00000080}.layui-carousel[lay-indicator=none] .layui-carousel-ind{display:none}.layui-carousel-ind ul{display:inline-block;padding:5px;background-color:#0003;border-radius:10px;-webkit-transition-duration:.3s;transition-duration:.3s}.layui-carousel-ind li{display:inline-block;width:10px;height:10px;margin:0 3px;font-size:14px;background-color:var(--global-neutral-color-3);background-color:#ffffff80;border-radius:50%;cursor:pointer;-webkit-transition-duration:.3s;transition-duration:.3s}.layui-carousel-ind li:hover{background-color:#ffffffb3}.layui-carousel-ind li.layui-this{background-color:#fff}.layui-carousel>[carousel-item]>.layui-carousel-next,.layui-carousel>[carousel-item]>.layui-carousel-prev,.layui-carousel>[carousel-item]>.layui-this{display:block}.layui-carousel>[carousel-item]>.layui-this{left:0}.layui-carousel>[carousel-item]>.layui-carousel-prev{left:-100%}.layui-carousel>[carousel-item]>.layui-carousel-next{left:100%}.layui-carousel>[carousel-item]>.layui-carousel-next.layui-carousel-left,.layui-carousel>[carousel-item]>.layui-carousel-prev.layui-carousel-right{left:0}.layui-carousel>[carousel-item]>.layui-this.layui-carousel-left{left:-100%}.layui-carousel>[carousel-item]>.layui-this.layui-carousel-right{left:100%}.layui-carousel[lay-anim=updown] .layui-carousel-arrow{left:50%!important;top:20px;margin:0 0 0 -18px}.layui-carousel[lay-anim=updown]>[carousel-item]>*,.layui-carousel[lay-anim=fade]>[carousel-item]>*{left:0!important}.layui-carousel[lay-anim=updown] .layui-carousel-arrow[lay-type=add]{top:auto!important;bottom:20px}.layui-carousel[lay-anim=updown] .layui-carousel-ind{position:absolute;top:50%;right:20px;width:auto;height:auto;transform:translateY(-50%)}.layui-carousel[lay-anim=updown] .layui-carousel-ind ul{padding:3px 5px}.layui-carousel[lay-anim=updown] .layui-carousel-ind li{display:block;margin:6px 0}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-this{top:0}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-carousel-prev{top:-100%}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-carousel-next{top:100%}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-carousel-next.layui-carousel-left,.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-carousel-prev.layui-carousel-right{top:0}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-this.layui-carousel-left{top:-100%}.layui-carousel[lay-anim=updown]>[carousel-item]>.layui-this.layui-carousel-right{top:100%}.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-carousel-next,.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-carousel-prev{opacity:0}.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-carousel-next.layui-carousel-left,.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-carousel-prev.layui-carousel-right{opacity:1}.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-this.layui-carousel-left,.layui-carousel[lay-anim=fade]>[carousel-item]>.layui-this.layui-carousel-right{opacity:0} `)();const Ch=["data-id"],Uh={name:"LayCarouselItem"},q4=e.defineComponent({...Uh,props:{id:null},setup(M){const D=M,N=e.inject("active"),i=e.inject("slotsChange");i.value=!i.value;const j=e.inject("anim"),t=e.ref(),z=e.computed(()=>{if(t.value){let u=t.value.parentNode.children,a=u.length,r=0,g=0;for(let y=0;y0?r-1:a-1,n=r+1(e.openBlock(),e.createElementBlock("li",{ref_key:"item",ref:t,style:e.normalizeStyle(e.unref(z)),"data-id":M.id},[e.renderSlot(u.$slots,"default")],12,Ch))}}),Sh=["lay-anim","lay-indicator","lay-arrow"],ph={"carousel-item":""},hh={class:"layui-carousel-ind"},mh=["onClick"],Bh={name:"LayCarousel"},ks=e.defineComponent({...Bh,props:{width:{default:"100%"},height:{default:"280px"},modelValue:null,autoplay:{type:Boolean,default:!0},arrow:{default:"hover"},anim:{default:"default"},indicator:{default:"inside"},pauseOnHover:{type:Boolean,default:!0},interval:{default:3e3}},emits:["update:modelValue","change"],setup(M,{emit:D}){const N=M,i=e.useSlots(),j=i.default&&i.default(),t=e.computed({get(){return N.modelValue},set(O){D("update:modelValue",O)}}),z=e.computed(()=>N.anim),u=function(O){D("change",O),t.value=O},a=e.ref([]),r=e.ref(!0),g=function(O){const w=O==null?void 0:O.filter(A=>A.children!="v-if");w==null||w.map(A=>{A.type.name!=q4.name?g(A.children):a.value.push(A)})};e.watch(r,()=>{a.value=[],g(i.default&&i.default())},{immediate:!0,deep:!0});const T=()=>{var w,A,k;for(var O=0;O{var w,A,k;for(var O=0;O{var w,A,k;for(var O=0;O{y&&(window.clearInterval(y),y=0)},I=()=>{N.autoplay&&N.pauseOnHover&&o()},L=()=>{N.autoplay&&N.pauseOnHover&&(y=window.setInterval(s,N.interval))};return e.watch(()=>N.autoplay,()=>{N.autoplay&&(y=window.setInterval(s,N.interval))},{immediate:!0}),e.provide("active",t),e.provide("slotsChange",r),e.provide("anim",z),(O,w)=>(e.openBlock(),e.createElementBlock("div",{class:"layui-carousel","lay-anim":e.unref(z),"lay-indicator":M.indicator,"lay-arrow":M.arrow,style:e.normalizeStyle({width:M.width,height:M.height}),onMouseenter:I,onMouseleave:L},[e.createElementVNode("div",ph,[e.renderSlot(O.$slots,"default")]),e.createElementVNode("div",hh,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(A,k)=>{var Q;return e.openBlock(),e.createElementBlock("li",{key:k,class:e.normalizeClass([((Q=A.props)==null?void 0:Q.id)===e.unref(t)?"layui-this":""]),onClick:e.withModifiers(x=>{var f;return u((f=A.props)==null?void 0:f.id)},["stop"])},null,10,mh)}),128))])]),e.createElementVNode("button",{class:"layui-icon layui-carousel-arrow","lay-type":"sub",onClick:T},e.toDisplayString(e.unref(z)==="updown"?"\uE619":"\uE603"),1),e.createElementVNode("button",{class:"layui-icon layui-carousel-arrow","lay-type":"add",onClick:n},e.toDisplayString(e.unref(z)==="updown"?"\uE61A":"\uE602"),1)],44,Sh))}}),fs=JM(ks),ds=JM(q4);var N_=(()=>`.layui-dropdown{position:relative;display:inline-block}.layui-dropdown-content{position:absolute;z-index:99999;background-color:#fff;box-sizing:border-box;border:1px solid #e4e7ed;border-radius:2px;box-shadow:0 2px 12px #0000001a}.layui-dropdown-content>.layui-dropdown-menu{border-radius:var(--global-border-radius);margin:5px 0}.layui-dropdown-content .layui-menu{position:relative;background-color:#fff}.layui-dropdown-content .layui-menu li,.layui-dropdown-content .layui-menu-body-title a{padding:5px 15px}.layui-dropdown-content .layui-menu li{position:relative;display:flex;margin:1px 0;line-height:26px;color:#000c;font-size:14px;white-space:nowrap;cursor:pointer}.layui-dropdown-content .layui-menu li:hover{background-color:var(--global-neutral-color-2)}.layui-dropdown-content .layui-menu-body-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.layui-dropdown-menu-prefix{margin-right:8px}.layui-dropdown-menu-suffix{margin-left:15px}.layui-dropdown-content .layui-menu li.layui-disabled:hover{background-color:inherit}.layui-color-picker{position:relative;user-select:none;width:320px;background:#fff;padding:8px}.saturation-value{cursor:pointer;width:100%;height:200px;position:relative;margin-bottom:10px;box-shadow:1px 1px 1px #0000001a}.saturation-value>div{position:absolute;top:0;left:0;width:100%;height:100%}.point{box-sizing:border-box;width:6px;height:6px;background-color:transparent;border:2px solid #ccc;border-radius:50%;transform:translate(-50%,-50%);position:absolute;z-index:9}.saturation-value-2{background:linear-gradient(to right,white,#ffffff00)}.saturation-value-3{background:linear-gradient(to top,black,#ffffff00)}.layui-color-picker-middle{width:100%;display:flex;margin-bottom:10px}.hue-slider{position:relative;margin-bottom:6px;height:10px;background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);box-shadow:1px 1px 1px #0000001a}.alpha-slider{position:relative;height:10px;box-shadow:1px 1px 1px #0000001a;background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAWElEQVRIiWM8fubkfwYygKWJOSM5+mCAhRLNoxaPWjxq8ajFoxbTyeL/DAfJ0Xjs3Cl7Siwmu4Yht1aDgZEYx6MWj1o8avGoxaMWD3qLya5X//4nqx6HAQC7RBGFzolqTAAAAABJRU5ErkJggg==);background-size:10px 10px}.slider{position:absolute;box-shadow:0 0 2px #0009;box-sizing:border-box;width:6px;height:100%;background-color:#fff}.color-diamond{position:relative;margin-left:5px;width:26px;height:26px;border-radius:2px;overflow:hidden;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAWElEQVRIiWM8fubkfwYygKWJOSM5+mCAhRLNoxaPWjxq8ajFoxbTyeL/DAfJ0Xjs3Cl7Siwmu4Yht1aDgZEYx6MWj1o8avGoxaMWD3qLya5X//4nqx6HAQC7RBGFzolqTAAAAABJRU5ErkJggg==);background-size:10px 10px}.layui-colorpicker>span{width:26px;height:26px;display:block;border-radius:var(--global-border-radius);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAWElEQVRIiWM8fubkfwYygKWJOSM5+mCAhRLNoxaPWjxq8ajFoxbTyeL/DAfJ0Xjs3Cl7Siwmu4Yht1aDgZEYx6MWj1o8avGoxaMWD3qLya5X//4nqx6HAQC7RBGFzolqTAAAAABJRU5ErkJggg==);background-size:10px 10px}.color-value{width:100%;display:flex;justify-content:space-between}.color-value div{padding:0 3px;text-align:center}.color-value input{font-size:12px;box-sizing:border-box;width:34px;height:24px;padding:0;margin:0;outline:none;text-align:center;border-radius:2px;border:1px solid #eee}.color-value p{font-size:12px;margin:3px 0 0}.color-value .rgba-a{padding-right:0}.color-value .hex{flex:1;padding-left:0}.color-value .hex input{width:100%;height:24px}.preset{width:100%;padding:0;margin:10px 0 0;list-style:none;display:flex;flex-wrap:wrap;justify-content:flex-start}.preset li{width:20px;height:20px;padding:0;margin-right:6px;margin-bottom:6px;border:1px solid #eee;border-radius:2px}.layui-colorpicker{border:1px solid var(--global-neutral-color-3);padding:5px;border-radius:var(--global-border-radius);line-height:24px;display:inline-block;cursor:pointer;transition:all .3s;-webkit-transition:all .3s}.layui-colorpicker:hover{border-color:var(--global-neutral-color-6)}.layui-colorpicker.layui-colorpicker-lg{width:34px;height:34px;line-height:32px}.layui-colorpicker.layui-colorpicker-sm{width:24px;height:24px;line-height:22px}.layui-colorpicker.layui-colorpicker-xs{width:22px;height:22px;line-height:20px}.layui-colorpicker-trigger-bgcolor{display:block;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);border-radius:2px}.layui-colorpicker-trigger-span{display:block;height:100%;box-sizing:border-box;border:1px solid rgba(0,0,0,.15);border-radius:var(--global-border-radius);text-align:center}.layui-colorpicker-trigger-i{display:inline-block;color:#fff;font-size:12px}.layui-colorpicker-trigger-i.layui-icon-close{color:#999}.layui-colorpicker-main{position:absolute;left:-999999px;top:-999999px;z-index:66666666;width:280px;margin:5px 0;padding:7px;background:#fff;border:1px solid var(--global-neutral-color-6);border-radius:2px;box-shadow:0 2px 4px #0000001f}.layui-colorpicker-main-wrapper{height:180px;position:relative}.layui-colorpicker-basis{width:260px;height:100%;position:relative}.layui-colorpicker-basis-white{width:100%;height:100%;position:absolute;top:0;left:0;background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.layui-colorpicker-basis-black{width:100%;height:100%;position:absolute;top:0;left:0;background:linear-gradient(0deg,#000,transparent)}.layui-colorpicker-basis-cursor{width:10px;height:10px;border:1px solid #fff;border-radius:50%;position:absolute;top:-3px;right:-3px;cursor:pointer}.layui-colorpicker-side{position:absolute;top:0;right:0;width:12px;height:100%;background:linear-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.layui-colorpicker-side-slider{width:100%;height:5px;box-shadow:0 0 1px #888;background:#fff;border-radius:1px;border:1px solid #f0f0f0;cursor:pointer;position:absolute;left:0}.layui-colorpicker-main-alpha{display:none;height:12px;margin-top:7px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.layui-colorpicker-alpha-bgcolor{height:100%;position:relative}.layui-colorpicker-alpha-slider{width:5px;height:100%;box-shadow:0 0 1px #888;background:#fff;border-radius:1px;border:1px solid #f0f0f0;cursor:pointer;position:absolute;top:0}.layui-colorpicker-main-pre{padding-top:7px;font-size:0}.layui-colorpicker-pre{width:20px;height:20px;border-radius:2px;display:inline-block;margin-left:6px;margin-bottom:7px;cursor:pointer}.layui-colorpicker-pre:nth-child(11n + 1){margin-left:0}.layui-colorpicker-pre-isalpha{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.layui-colorpicker-pre.layui-this{box-shadow:0 0 3px 2px #00000026}.layui-colorpicker-pre>div{height:100%;border-radius:2px}.layui-colorpicker-main-input{text-align:right;padding-top:7px}.layui-colorpicker-main-input .layui-btn-container .layui-btn{margin:0 0 0 10px}.layui-colorpicker-main-input div.layui-inline{float:left;margin-right:10px;font-size:14px}.layui-colorpicker-main-input input.layui-input{width:150px;height:30px;color:#666}.layui-colorpicker-disabled{opacity:.6}.layui-colorpicker-disabled,.layui-colorpicker-disabled *{cursor:not-allowed!important} @@ -256,7 +256,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ***************************************************************************** */var i=function(){return i=Object.assign||function(l){for(var E,Y=1,b=arguments.length;Y0&&h[h.length-1])&&(gM[0]===6||gM[0]===2)){E=0;continue}if(gM[0]===3&&(!h||gM[1]>h[0]&&gM[1]=c.length&&(c=void 0),{value:c&&c[Y++],done:!c}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(c,l){var E=typeof Symbol=="function"&&c[Symbol.iterator];if(!E)return c;var Y=E.call(c),b,h=[],F;try{for(;(l===void 0||l-- >0)&&!(b=Y.next()).done;)h.push(b.value)}catch(q){F={error:q}}finally{try{b&&!b.done&&(E=Y.return)&&E.call(Y)}finally{if(F)throw F.error}}return h}function a(c,l,E){if(E||arguments.length===2)for(var Y=0,b=l.length,h;Y Promise))`.","See if using `DarkReader.setFetchMethod(window.fetch)`","before `DarkReader.enable()` works."].join(" ")))]})})},C=f;function W(c){c?C=c:C=f}function MM(c){return j(this,void 0,void 0,function(){return t(this,function(l){switch(l.label){case 0:return[4,C(c)];case 1:return[2,l.sent()]}})})}function NM(){if(typeof chrome=="undefined")return;typeof window!="undefined"&&!window.chrome&&(window.chrome={}),typeof chrome!="undefined"&&!chrome.runtime&&(chrome.runtime={});var c=new Set;function l(){for(var h=[],F=0;F=Y){if(HM-gMhM)return!0;for(var l=0,E=0;EhM)return!0;return!1}function iN(c){var l=new Set,E=new Set,Y=new Set;c.forEach(function(F){m(F.addedNodes,function(q){q instanceof Element&&q.isConnected&&l.add(q)}),m(F.removedNodes,function(q){q instanceof Element&&(q.isConnected?(Y.add(q),l.delete(q)):E.add(q))})});var b=[],h=[];return l.forEach(function(F){l.has(F.parentElement)&&b.push(F)}),E.forEach(function(F){E.has(F.parentElement)&&h.push(F)}),b.forEach(function(F){return l.delete(F)}),h.forEach(function(F){return E.delete(F)}),{additions:l,moves:Y,deletions:E}}var oN=new Map,xM=new WeakMap;function EM(c,l){var E,Y,b;if(oN.has(c))E=oN.get(c),Y=xM.get(E);else{var h=!1,F=!1;E=new MutationObserver(function(q){if(KM(q))!h||G()?Y.forEach(function(gM){var wM=gM.onHugeMutations;return wM(c)}):F||(b=function(){return Y.forEach(function(gM){var wM=gM.onHugeMutations;return wM(c)})},P(b),F=!0),h=!0;else{var nM=iN(q);Y.forEach(function(gM){var wM=gM.onMinorMutations;return wM(nM)})}}),E.observe(c,{childList:!0,subtree:!0}),oN.set(c,E),Y=new Set,xM.set(E,Y)}return Y.add(l),{disconnect:function(){Y.delete(l),b&&p(b),Y.size===0&&(E.disconnect(),xM.delete(E),oN.delete(c))}}}var TN,mM=new Map;function cD(c){return TN||(TN=document.createElement("a")),TN.href=c,TN.href}function QM(c,l){l===void 0&&(l=null);var E=""+c+(l?";"+l:"");if(mM.has(E))return mM.get(E);if(l){var Y=new URL(c,cD(l));return mM.set(E,Y),Y}var b=new URL(cD(c));return mM.set(c,b),b}function CM(c,l){if(l.match(/^data\\?\:/))return l;if(/^\/\//.test(l))return""+location.protocol+l;var E=QM(c),Y=QM(l,E.href);return Y.href}function pM(c){if(c.startsWith("data:"))return!0;var l=QM(c);return l.protocol!==location.protocol||l.hostname!==location.hostname||l.port!==location.port?!1:l.pathname===location.pathname}function _M(c,l,E){m(c,function(Y){if(Y.selectorText)l(Y);else if(Y.href)try{_M(Y.styleSheet.cssRules,l,E)}catch{E&&E()}else if(Y.media){var b=Array.from(Y.media),h=b.some(function(q){return q.startsWith("screen")||q.startsWith("all")||q.startsWith("(")}),F=b.some(function(q){return q.startsWith("print")||q.startsWith("speech")});(h||!F)&&_M(Y.cssRules,l,E)}else Y.conditionText?CSS.supports(Y.conditionText)&&_M(Y.cssRules,l,E):void 0})}var YM=["background","border","border-color","border-bottom","border-left","border-right","border-top","outline","outline-color"],zN=o?YM.map(function(c){var l=new RegExp(c+":\\s*(.*?)\\s*;");return[c,l]}):null;function rN(c,l){m(c,function(Y){var b=c.getPropertyValue(Y).trim();!b||l(Y,b)});var E=c.cssText;E.includes("var(")&&(o?zN.forEach(function(Y){var b=u(Y,2),h=b[0],F=b[1],q=E.match(F);if(q&&q[1]){var nM=q[1].trim();l(h,nM)}}):YM.forEach(function(Y){var b=c.getPropertyValue(Y);b&&b.includes("var(")&&l(Y,b)}))}var mD=/url\((('.+?')|(".+?")|([^\)]*?))\)/g,GN=/@import\s*(url\()?(('.+?')|(".+?")|([^\)]*?))\)? ?(screen)?;?/g;function sD(c){return c.replace(/^url\((.*)\)$/,"$1").trim().replace(/^"(.*)"$/,"$1").replace(/^'(.*)'$/,"$1")}function zi(c){var l=QM(c);return""+l.origin+l.pathname.replace(/\?.*$/,"").replace(/(\/)([^\/]+)$/i,"$1")}function Oa(c,l){return c.replace(mD,function(E){var Y=sD(E);try{return'url("'+CM(l,Y)+'")'}catch{return E}})}var qz=/\/\*[\s\S]*?\*\//g;function Mu(c){return c.replace(qz,"")}var Nu=/@font-face\s*{[^}]*}/g;function wa(c){return c.replace(Nu,"")}function Du(c){var l=c.h,E=c.s,Y=c.l,b=c.a,h=b===void 0?1:b;if(E===0){var F=u([Y,Y,Y].map(function(HM){return Math.round(HM*255)}),3),q=F[0],nM=F[1],gM=F[2];return{r:q,g:gM,b:nM,a:h}}var wM=(1-Math.abs(2*Y-1))*E,dM=wM*(1-Math.abs(l/60%2-1)),$M=Y-wM/2,WM=u((l<60?[wM,dM,0]:l<120?[dM,wM,0]:l<180?[0,wM,dM]:l<240?[0,dM,wM]:l<300?[dM,0,wM]:[wM,0,dM]).map(function(HM){return Math.round((HM+$M)*255)}),3),GM=WM[0],fM=WM[1],UM=WM[2];return{r:GM,g:fM,b:UM,a:h}}function ui(c){var l=c.r,E=c.g,Y=c.b,b=c.a,h=b===void 0?1:b,F=l/255,q=E/255,nM=Y/255,gM=Math.max(F,q,nM),wM=Math.min(F,q,nM),dM=gM-wM,$M=(gM+wM)/2;if(dM===0)return{h:0,s:0,l:$M,a:h};var WM=(gM===F?(q-nM)/dM%6:gM===q?(nM-F)/dM+2:(F-q)/dM+4)*60;WM<0&&(WM+=360);var GM=dM/(1-Math.abs(2*$M-1));return{h:WM,s:GM,l:$M,a:h}}function BD(c,l){l===void 0&&(l=0);var E=c.toFixed(l);if(l===0)return E;var Y=E.indexOf(".");if(Y>=0){var b=E.match(/0+$/);if(b)return b.index===Y+1?E.substring(0,Y):E.substring(0,b.index)}return E}function Aa(c){var l=c.r,E=c.g,Y=c.b,b=c.a;return b!=null&&b<1?"rgba("+BD(l)+", "+BD(E)+", "+BD(Y)+", "+BD(b,2)+")":"rgb("+BD(l)+", "+BD(E)+", "+BD(Y)+")"}function Ea(c){var l=c.r,E=c.g,Y=c.b,b=c.a;return"#"+(b!=null&&b<1?[l,E,Y,Math.round(b*255)]:[l,E,Y]).map(function(h){return(h<16?"0":"")+h.toString(16)}).join("")}function qi(c){var l=c.h,E=c.s,Y=c.l,b=c.a;return b!=null&&b<1?"hsla("+BD(l)+", "+BD(E*100)+"%, "+BD(Y*100)+"%, "+BD(b,2)+")":"hsl("+BD(l)+", "+BD(E*100)+"%, "+BD(Y*100)+"%)"}var xa=/^rgba?\([^\(\)]+\)$/,Qa=/^hsla?\([^\(\)]+\)$/,Ya=/^#[0-9a-f]+$/i;function ai(c){var l=c.trim().toLowerCase();if(l.match(xa))return S(l);if(l.match(Qa))return _(l);if(l.match(Ya))return H(l);if(yM.has(l))return X(l);if(PM.has(l))return LM(l);if(c==="transparent")return{r:0,g:0,b:0,a:0};throw new Error("Unable to parse "+c)}function dt(c){var l=[],E=0,Y=!1,b=c.indexOf("(");c=c.substring(b+1,c.length-1);for(var h=0;h="0"&&F<="9"||F==="."||F==="+"||F==="-"?Y=!0:Y&&(F===" "||F===",")?(l.push(c.substring(E,h)),Y=!1,E=h+1):Y||(E=h+1)}return Y&&l.push(c.substring(E,c.length)),l}function eu(c,l,E){var Y=dt(c),b=Object.entries(E),h=Y.map(function(F){return F.trim()}).map(function(F,q){var nM,gM=b.find(function(wM){var dM=u(wM,1),$M=dM[0];return F.endsWith($M)});return gM?nM=parseFloat(F.substring(0,F.length-gM[0].length))/gM[1]*l[q]:nM=parseFloat(F),l[q]>1?Math.round(nM):nM});return h}var ka=[255,255,255,1],fa={"%":100};function S(c){var l=u(eu(c,ka,fa),4),E=l[0],Y=l[1],b=l[2],h=l[3],F=h===void 0?1:h;return{r:E,g:Y,b,a:F}}var V=[360,1,1,1],B={"%":100,deg:360,rad:2*Math.PI,turn:1};function _(c){var l=u(eu(c,V,B),4),E=l[0],Y=l[1],b=l[2],h=l[3],F=h===void 0?1:h;return Du({h:E,s:Y,l:b,a:F})}function H(c){var l=c.substring(1);switch(l.length){case 3:case 4:{var E=u([0,1,2].map(function(nM){return parseInt(""+l[nM]+l[nM],16)}),3),Y=E[0],b=E[1],h=E[2],F=l.length===3?1:parseInt(""+l[3]+l[3],16)/255;return{r:Y,g:b,b:h,a:F}}case 6:case 8:{var q=u([0,2,4].map(function($M){return parseInt(l.substring($M,$M+2),16)}),3),Y=q[0],b=q[1],h=q[2],F=l.length===6?1:parseInt(l.substring(6,8),16)/255;return{r:Y,g:b,b:h,a:F}}}throw new Error("Unable to parse "+c)}function X(c){var l=yM.get(c);return{r:l>>16&255,g:l>>8&255,b:l>>0&255,a:1}}function LM(c){var l=PM.get(c);return{r:l>>16&255,g:l>>8&255,b:l>>0&255,a:1}}var kM=function(c){return c>="0"&&c<="9"},cM=function(c){return Math.floor(Math.log10(c))+1};function lM(c){for(var l=0,E=function(gM,wM,dM){c=c.substring(0,gM)+dM+c.substring(wM)},Y=function(){for(var gM=0,wM=1;wM<4;wM++){var dM=c[l+wM];if(dM===" ")break;if(kM(dM))gM*=10,gM+=Number(dM);else break}var $M=cM(gM);l+=$M;var WM=c[l+1];if(WM==="%")return l++,gM};(l=c.indexOf("calc("))!==0;){var b=l;l+=4;var h=Y();if(!h||c[l+1]!==" ")break;l++;var F=c[l+1];if(F!=="+"&&F!=="-"||(l++,c[l+1]!==" "))break;l++;var q=Y();if(!q)break;var nM=void 0;F==="+"?nM=h+q+"%":nM=h-q+"%",E(b,l+2,nM)}return c}var yM=new Map(Object.entries({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074})),PM=new Map(Object.entries({ActiveBorder:3906044,ActiveCaption:0,AppWorkspace:11184810,Background:6513614,ButtonFace:16777215,ButtonHighlight:15329769,ButtonShadow:10461343,ButtonText:0,CaptionText:0,GrayText:8355711,Highlight:11720703,HighlightText:0,InactiveBorder:16777215,InactiveCaption:16777215,InactiveCaptionText:0,InfoBackground:16514245,InfoText:0,Menu:16185078,MenuText:16777215,Scrollbar:11184810,ThreeDDarkShadow:0,ThreeDFace:12632256,ThreeDHighlight:16777215,ThreeDLightShadow:16777215,ThreeDShadow:0,Window:15527148,WindowFrame:11184810,WindowText:0,"-webkit-focus-ring-color":15046400}).map(function(c){var l=u(c,2),E=l[0],Y=l[1];return[E.toLowerCase(),Y]}));function RM(c,l,E,Y,b){return(c-l)*(b-Y)/(E-l)+Y}function qM(c,l,E){return Math.min(E,Math.max(l,c))}function vM(c,l){for(var E=[],Y=0,b=c.length;Y0&&h[h.length-1])&&(gM[0]===6||gM[0]===2)){E=0;continue}if(gM[0]===3&&(!h||gM[1]>h[0]&&gM[1]=c.length&&(c=void 0),{value:c&&c[Y++],done:!c}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(c,l){var E=typeof Symbol=="function"&&c[Symbol.iterator];if(!E)return c;var Y=E.call(c),b,h=[],F;try{for(;(l===void 0||l-- >0)&&!(b=Y.next()).done;)h.push(b.value)}catch(q){F={error:q}}finally{try{b&&!b.done&&(E=Y.return)&&E.call(Y)}finally{if(F)throw F.error}}return h}function a(c,l,E){if(E||arguments.length===2)for(var Y=0,b=l.length,h;Y Promise))`.","See if using `DarkReader.setFetchMethod(window.fetch)`","before `DarkReader.enable()` works."].join(" ")))]})})},C=f;function W(c){c?C=c:C=f}function MM(c){return j(this,void 0,void 0,function(){return t(this,function(l){switch(l.label){case 0:return[4,C(c)];case 1:return[2,l.sent()]}})})}function NM(){if(typeof chrome=="undefined")return;typeof window!="undefined"&&!window.chrome&&(window.chrome={}),typeof chrome!="undefined"&&!chrome.runtime&&(chrome.runtime={});var c=new Set;function l(){for(var h=[],F=0;F=Y){if(HM-gMhM)return!0;for(var l=0,E=0;EhM)return!0;return!1}function iN(c){var l=new Set,E=new Set,Y=new Set;c.forEach(function(F){m(F.addedNodes,function(q){q instanceof Element&&q.isConnected&&l.add(q)}),m(F.removedNodes,function(q){q instanceof Element&&(q.isConnected?(Y.add(q),l.delete(q)):E.add(q))})});var b=[],h=[];return l.forEach(function(F){l.has(F.parentElement)&&b.push(F)}),E.forEach(function(F){E.has(F.parentElement)&&h.push(F)}),b.forEach(function(F){return l.delete(F)}),h.forEach(function(F){return E.delete(F)}),{additions:l,moves:Y,deletions:E}}var oN=new Map,xM=new WeakMap;function EM(c,l){var E,Y,b;if(oN.has(c))E=oN.get(c),Y=xM.get(E);else{var h=!1,F=!1;E=new MutationObserver(function(q){if(KM(q))!h||G()?Y.forEach(function(gM){var wM=gM.onHugeMutations;return wM(c)}):F||(b=function(){return Y.forEach(function(gM){var wM=gM.onHugeMutations;return wM(c)})},P(b),F=!0),h=!0;else{var nM=iN(q);Y.forEach(function(gM){var wM=gM.onMinorMutations;return wM(nM)})}}),E.observe(c,{childList:!0,subtree:!0}),oN.set(c,E),Y=new Set,xM.set(E,Y)}return Y.add(l),{disconnect:function(){Y.delete(l),b&&p(b),Y.size===0&&(E.disconnect(),xM.delete(E),oN.delete(c))}}}var TN,mM=new Map;function cD(c){return TN||(TN=document.createElement("a")),TN.href=c,TN.href}function QM(c,l){l===void 0&&(l=null);var E=""+c+(l?";"+l:"");if(mM.has(E))return mM.get(E);if(l){var Y=new URL(c,cD(l));return mM.set(E,Y),Y}var b=new URL(cD(c));return mM.set(c,b),b}function CM(c,l){if(l.match(/^data\\?\:/))return l;if(/^\/\//.test(l))return""+location.protocol+l;var E=QM(c),Y=QM(l,E.href);return Y.href}function pM(c){if(c.startsWith("data:"))return!0;var l=QM(c);return l.protocol!==location.protocol||l.hostname!==location.hostname||l.port!==location.port?!1:l.pathname===location.pathname}function PM(c,l,E){m(c,function(Y){if(Y.selectorText)l(Y);else if(Y.href)try{PM(Y.styleSheet.cssRules,l,E)}catch{E&&E()}else if(Y.media){var b=Array.from(Y.media),h=b.some(function(q){return q.startsWith("screen")||q.startsWith("all")||q.startsWith("(")}),F=b.some(function(q){return q.startsWith("print")||q.startsWith("speech")});(h||!F)&&PM(Y.cssRules,l,E)}else Y.conditionText?CSS.supports(Y.conditionText)&&PM(Y.cssRules,l,E):void 0})}var YM=["background","border","border-color","border-bottom","border-left","border-right","border-top","outline","outline-color"],zN=o?YM.map(function(c){var l=new RegExp(c+":\\s*(.*?)\\s*;");return[c,l]}):null;function rN(c,l){m(c,function(Y){var b=c.getPropertyValue(Y).trim();!b||l(Y,b)});var E=c.cssText;E.includes("var(")&&(o?zN.forEach(function(Y){var b=u(Y,2),h=b[0],F=b[1],q=E.match(F);if(q&&q[1]){var nM=q[1].trim();l(h,nM)}}):YM.forEach(function(Y){var b=c.getPropertyValue(Y);b&&b.includes("var(")&&l(Y,b)}))}var mD=/url\((('.+?')|(".+?")|([^\)]*?))\)/g,GN=/@import\s*(url\()?(('.+?')|(".+?")|([^\)]*?))\)? ?(screen)?;?/g;function sD(c){return c.replace(/^url\((.*)\)$/,"$1").trim().replace(/^"(.*)"$/,"$1").replace(/^'(.*)'$/,"$1")}function zi(c){var l=QM(c);return""+l.origin+l.pathname.replace(/\?.*$/,"").replace(/(\/)([^\/]+)$/i,"$1")}function Oa(c,l){return c.replace(mD,function(E){var Y=sD(E);try{return'url("'+CM(l,Y)+'")'}catch{return E}})}var qz=/\/\*[\s\S]*?\*\//g;function Mu(c){return c.replace(qz,"")}var Nu=/@font-face\s*{[^}]*}/g;function wa(c){return c.replace(Nu,"")}function Du(c){var l=c.h,E=c.s,Y=c.l,b=c.a,h=b===void 0?1:b;if(E===0){var F=u([Y,Y,Y].map(function(HM){return Math.round(HM*255)}),3),q=F[0],nM=F[1],gM=F[2];return{r:q,g:gM,b:nM,a:h}}var wM=(1-Math.abs(2*Y-1))*E,dM=wM*(1-Math.abs(l/60%2-1)),$M=Y-wM/2,WM=u((l<60?[wM,dM,0]:l<120?[dM,wM,0]:l<180?[0,wM,dM]:l<240?[0,dM,wM]:l<300?[dM,0,wM]:[wM,0,dM]).map(function(HM){return Math.round((HM+$M)*255)}),3),GM=WM[0],fM=WM[1],UM=WM[2];return{r:GM,g:fM,b:UM,a:h}}function ui(c){var l=c.r,E=c.g,Y=c.b,b=c.a,h=b===void 0?1:b,F=l/255,q=E/255,nM=Y/255,gM=Math.max(F,q,nM),wM=Math.min(F,q,nM),dM=gM-wM,$M=(gM+wM)/2;if(dM===0)return{h:0,s:0,l:$M,a:h};var WM=(gM===F?(q-nM)/dM%6:gM===q?(nM-F)/dM+2:(F-q)/dM+4)*60;WM<0&&(WM+=360);var GM=dM/(1-Math.abs(2*$M-1));return{h:WM,s:GM,l:$M,a:h}}function BD(c,l){l===void 0&&(l=0);var E=c.toFixed(l);if(l===0)return E;var Y=E.indexOf(".");if(Y>=0){var b=E.match(/0+$/);if(b)return b.index===Y+1?E.substring(0,Y):E.substring(0,b.index)}return E}function Aa(c){var l=c.r,E=c.g,Y=c.b,b=c.a;return b!=null&&b<1?"rgba("+BD(l)+", "+BD(E)+", "+BD(Y)+", "+BD(b,2)+")":"rgb("+BD(l)+", "+BD(E)+", "+BD(Y)+")"}function Ea(c){var l=c.r,E=c.g,Y=c.b,b=c.a;return"#"+(b!=null&&b<1?[l,E,Y,Math.round(b*255)]:[l,E,Y]).map(function(h){return(h<16?"0":"")+h.toString(16)}).join("")}function qi(c){var l=c.h,E=c.s,Y=c.l,b=c.a;return b!=null&&b<1?"hsla("+BD(l)+", "+BD(E*100)+"%, "+BD(Y*100)+"%, "+BD(b,2)+")":"hsl("+BD(l)+", "+BD(E*100)+"%, "+BD(Y*100)+"%)"}var xa=/^rgba?\([^\(\)]+\)$/,Qa=/^hsla?\([^\(\)]+\)$/,Ya=/^#[0-9a-f]+$/i;function ai(c){var l=c.trim().toLowerCase();if(l.match(xa))return S(l);if(l.match(Qa))return _(l);if(l.match(Ya))return H(l);if(yM.has(l))return X(l);if(_M.has(l))return LM(l);if(c==="transparent")return{r:0,g:0,b:0,a:0};throw new Error("Unable to parse "+c)}function dt(c){var l=[],E=0,Y=!1,b=c.indexOf("(");c=c.substring(b+1,c.length-1);for(var h=0;h="0"&&F<="9"||F==="."||F==="+"||F==="-"?Y=!0:Y&&(F===" "||F===",")?(l.push(c.substring(E,h)),Y=!1,E=h+1):Y||(E=h+1)}return Y&&l.push(c.substring(E,c.length)),l}function eu(c,l,E){var Y=dt(c),b=Object.entries(E),h=Y.map(function(F){return F.trim()}).map(function(F,q){var nM,gM=b.find(function(wM){var dM=u(wM,1),$M=dM[0];return F.endsWith($M)});return gM?nM=parseFloat(F.substring(0,F.length-gM[0].length))/gM[1]*l[q]:nM=parseFloat(F),l[q]>1?Math.round(nM):nM});return h}var ka=[255,255,255,1],fa={"%":100};function S(c){var l=u(eu(c,ka,fa),4),E=l[0],Y=l[1],b=l[2],h=l[3],F=h===void 0?1:h;return{r:E,g:Y,b,a:F}}var V=[360,1,1,1],B={"%":100,deg:360,rad:2*Math.PI,turn:1};function _(c){var l=u(eu(c,V,B),4),E=l[0],Y=l[1],b=l[2],h=l[3],F=h===void 0?1:h;return Du({h:E,s:Y,l:b,a:F})}function H(c){var l=c.substring(1);switch(l.length){case 3:case 4:{var E=u([0,1,2].map(function(nM){return parseInt(""+l[nM]+l[nM],16)}),3),Y=E[0],b=E[1],h=E[2],F=l.length===3?1:parseInt(""+l[3]+l[3],16)/255;return{r:Y,g:b,b:h,a:F}}case 6:case 8:{var q=u([0,2,4].map(function($M){return parseInt(l.substring($M,$M+2),16)}),3),Y=q[0],b=q[1],h=q[2],F=l.length===6?1:parseInt(l.substring(6,8),16)/255;return{r:Y,g:b,b:h,a:F}}}throw new Error("Unable to parse "+c)}function X(c){var l=yM.get(c);return{r:l>>16&255,g:l>>8&255,b:l>>0&255,a:1}}function LM(c){var l=_M.get(c);return{r:l>>16&255,g:l>>8&255,b:l>>0&255,a:1}}var kM=function(c){return c>="0"&&c<="9"},cM=function(c){return Math.floor(Math.log10(c))+1};function lM(c){for(var l=0,E=function(gM,wM,dM){c=c.substring(0,gM)+dM+c.substring(wM)},Y=function(){for(var gM=0,wM=1;wM<4;wM++){var dM=c[l+wM];if(dM===" ")break;if(kM(dM))gM*=10,gM+=Number(dM);else break}var $M=cM(gM);l+=$M;var WM=c[l+1];if(WM==="%")return l++,gM};(l=c.indexOf("calc("))!==0;){var b=l;l+=4;var h=Y();if(!h||c[l+1]!==" ")break;l++;var F=c[l+1];if(F!=="+"&&F!=="-"||(l++,c[l+1]!==" "))break;l++;var q=Y();if(!q)break;var nM=void 0;F==="+"?nM=h+q+"%":nM=h-q+"%",E(b,l+2,nM)}return c}var yM=new Map(Object.entries({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074})),_M=new Map(Object.entries({ActiveBorder:3906044,ActiveCaption:0,AppWorkspace:11184810,Background:6513614,ButtonFace:16777215,ButtonHighlight:15329769,ButtonShadow:10461343,ButtonText:0,CaptionText:0,GrayText:8355711,Highlight:11720703,HighlightText:0,InactiveBorder:16777215,InactiveCaption:16777215,InactiveCaptionText:0,InfoBackground:16514245,InfoText:0,Menu:16185078,MenuText:16777215,Scrollbar:11184810,ThreeDDarkShadow:0,ThreeDFace:12632256,ThreeDHighlight:16777215,ThreeDLightShadow:16777215,ThreeDShadow:0,Window:15527148,WindowFrame:11184810,WindowText:0,"-webkit-focus-ring-color":15046400}).map(function(c){var l=u(c,2),E=l[0],Y=l[1];return[E.toLowerCase(),Y]}));function RM(c,l,E,Y,b){return(c-l)*(b-Y)/(E-l)+Y}function qM(c,l,E){return Math.min(E,Math.max(l,c))}function vM(c,l){for(var E=[],Y=0,b=c.length;Y.5,dM=function(WM){return i(i({},gM),{l:qM(gM.l+WM,0,1)})},$M=function(WM){return i(i({},gM),{l:qM(gM.l-WM,0,1)})};E=qi($M(.4)),Y=qi(wM?$M(.4):dM(.4)),b=qi(gM),h=qi(dM(.1)),F=qi(dM(.2))}return l.push("::-webkit-scrollbar {"),l.push(" background-color: "+E+";"),l.push(" color: "+Y+";"),l.push("}"),l.push("::-webkit-scrollbar-thumb {"),l.push(" background-color: "+b+";"),l.push("}"),l.push("::-webkit-scrollbar-thumb:hover {"),l.push(" background-color: "+h+";"),l.push("}"),l.push("::-webkit-scrollbar-thumb:active {"),l.push(" background-color: "+F+";"),l.push("}"),l.push("::-webkit-scrollbar-corner {"),l.push(" background-color: "+q+";"),l.push("}"),y&&(l.push("* {"),l.push(" scrollbar-color: "+b+" "+E+";"),l.push("}")),l.join(` `)}function ba(c,l){var E=l.strict,Y=[],b=location.hostname.endsWith("microsoft.com");return Y.push("html, body, "+(E?"body :not(iframe)"+(b?':not(div[style^="position:absolute;top:0;left:-"]':""):"body > :not(iframe)")+" {"),Y.push(" background-color: "+bD({r:255,g:255,b:255},c)+" !important;"),Y.push(" border-color: "+Ut({r:64,g:64,b:64},c)+" !important;"),Y.push(" color: "+Xe({r:0,g:0,b:0},c)+" !important;"),Y.push("}"),Y.join(` -`)}var B6=new Set(["inherit","transparent","initial","currentcolor","none","unset"]),ju=new Map;function Vy(c){if(c=c.trim(),ju.has(c))return ju.get(c);c.includes("calc(")&&(c=lM(c));var l=ai(c);return ju.set(c,l),l}function fi(c){try{return Vy(c)}catch{return null}}function b6(c,l){if(B6.has(l.toLowerCase()))return l;try{var E=Vy(l);return c.includes("background")?function(Y){return bD(E,Y)}:c.includes("border")||c.includes("outline")?function(Y){return Ut(E,Y)}:function(Y){return Xe(E,Y)}}catch{return null}}var v6=/[\-a-z]+gradient\(([^\(\)]*(\(([^\(\)]*(\(.*?\)))*[^\(\)]*\))){0,15}[^\(\)]*\)/g,tu=new Map,Ti=new Map;function F6(c,l){if(!c||l.length===0)return!1;if(l.some(function(F){return F==="*"}))return!0;for(var E=c.split(/,\s*/g),Y=function(F){var q=l[F];if(E.some(function(nM){return nM===q}))return{value:!0}},b=0;b2){""+GM.src;var EN=Ba(GM,i(i({},fM),{sepia:qM(fM.sepia+10,0,100)}));aN='url("'+EN+'")'}else if(HM&&!eN&&fM.mode===1)if(jN)aN="none";else{""+GM.src;var JN=Ba(GM,fM);aN='url("'+JN+'")'}else if(fM.mode===0&&HM&&!jN){""+GM.src;var $N=Ba(GM,i(i({},fM),{brightness:qM(fM.brightness-10,5,200),sepia:qM(fM.sepia+10,0,100)}));aN='url("'+$N+'")'}else aN=null;return aN},$M=[],WM=0;return nM.forEach(function(GM,fM){var UM=GM.match,HM=GM.type,eN=GM.index,jN=WM,sN=eN+UM.length;WM=sN,$M.push(function(){return c.substring(jN,eN)}),$M.push(HM==="url"?wM(UM):gM(UM)),fM===nM.length-1&&$M.push(function(){return c.substring(sN)})}),function(GM){var fM=$M.filter(Boolean).map(function(UM){return UM(GM)});return fM.some(function(UM){return UM instanceof Promise})?Promise.all(fM).then(function(UM){return UM.join("")}):fM.join("")}}catch{return null}}function Zy(c){try{var l=0,E=XM(/(^|\s)(?!calc)([a-z]+\(.+?\)|#[0-9a-f]+|[a-z]+)(.*?(inset|outset)?($|,))/ig,c,2),Y=0,b=E.map(function(h,F){var q=l,nM=c.indexOf(h,l),gM=nM+h.length;l=gM;var wM=fi(h);return wM?function(dM){return""+c.substring(q,nM)+I6(wM,dM)+(F===E.length-1?c.substring(gM):"")}:(Y++,function(){return c.substring(q,gM)})});return function(h){var F=b.map(function(q){return q(h)}).join("");return{matchesLength:E.length,unparseableMatchesLength:Y,result:F}}}catch{return null}}function _6(c){var l=Zy(c);return l?function(E){return l(E).result}:null}function P6(c,l,E,Y,b,h){return c.getModifierForVariable({varName:l,sourceValue:E,rule:Y,ignoredImgSelectors:b,isCancelled:h})}function R6(c,l,E){return c.getModifierForVarDependant(l,E)}function G6(){ju.clear(),r6(),tu.clear(),S6(),Ti.clear()}var he=1<<0,Fj=1<<1,_j=1<<2,pt=1<<3,W6=function(){function c(){this.varTypes=new Map,this.rulesQueue=[],this.definedVars=new Set,this.varRefs=new Map,this.unknownColorVars=new Set,this.unknownBgVars=new Set,this.undefinedVars=new Set,this.initialVarTypes=new Map,this.changedTypeVars=new Set,this.typeChangeSubscriptions=new Map,this.unstableVarValues=new Map}return c.prototype.clear=function(){this.varTypes.clear(),this.rulesQueue.splice(0),this.definedVars.clear(),this.varRefs.clear(),this.unknownColorVars.clear(),this.unknownBgVars.clear(),this.undefinedVars.clear(),this.initialVarTypes.clear(),this.changedTypeVars.clear(),this.typeChangeSubscriptions.clear(),this.unstableVarValues.clear()},c.prototype.isVarType=function(l,E){return this.varTypes.has(l)&&(this.varTypes.get(l)&E)>0},c.prototype.addRulesForMatching=function(l){this.rulesQueue.push(l)},c.prototype.matchVariablesAndDependants=function(){var l=this;this.changedTypeVars.clear(),this.initialVarTypes=new Map(this.varTypes),this.collectRootVariables(),this.collectVariablesAndVarDep(this.rulesQueue),this.rulesQueue.splice(0),this.collectRootVarDependants(),this.varRefs.forEach(function(E,Y){E.forEach(function(b){l.varTypes.has(Y)&&l.resolveVariableType(b,l.varTypes.get(Y))})}),this.unknownColorVars.forEach(function(E){l.unknownBgVars.has(E)?(l.unknownColorVars.delete(E),l.unknownBgVars.delete(E),l.resolveVariableType(E,he)):l.isVarType(E,he|Fj|_j)?l.unknownColorVars.delete(E):l.undefinedVars.add(E)}),this.unknownBgVars.forEach(function(E){var Y=l.findVarRef(E,function(b){return l.unknownColorVars.has(b)||l.isVarType(b,Fj|_j)})!=null;Y?l.itarateVarRefs(E,function(b){l.resolveVariableType(b,he)}):l.isVarType(E,he|pt)?l.unknownBgVars.delete(E):l.undefinedVars.add(E)}),this.changedTypeVars.forEach(function(E){l.typeChangeSubscriptions.has(E)&&l.typeChangeSubscriptions.get(E).forEach(function(Y){Y()})}),this.changedTypeVars.clear()},c.prototype.getModifierForVariable=function(l){var E=this;return function(Y){var b=l.varName,h=l.sourceValue,F=l.rule,q=l.ignoredImgSelectors,nM=l.isCancelled,gM=function(){var WM=[],GM=function(eN,jN,sN){if(!!E.isVarType(b,eN)){var yN=jN(b),aN;if(Mj(h))if(Ky(h)){var EN=Pa(h,E.unstableVarValues);EN||(EN=eN===he?"#ffffff":"#000000"),aN=sN(EN,Y)}else aN=di(h,function(JN){return jN(JN)},function(JN){return sN(JN,Y)});else aN=sN(h,Y);WM.push({property:yN,value:aN})}};if(GM(he,ht,Pj),GM(Fj,va,uu),GM(_j,Fa,au),E.isVarType(b,pt)){var fM=$y(b),UM=h;Mj(h)&&(UM=di(h,function(eN){return ht(eN)},function(eN){return Pj(eN,Y)}));var HM=Hy(UM,F,q,nM);UM=typeof HM=="function"?HM(Y):HM,WM.push({property:fM,value:UM})}return WM},wM=new Set,dM=function(WM){var GM=function(){var fM=gM();WM(fM)};wM.add(GM),E.subscribeForVarTypeChange(b,GM)},$M=function(){wM.forEach(function(WM){E.unsubscribeFromVariableTypeChanges(b,WM)})};return{declarations:gM(),onTypeChange:{addListener:dM,removeListeners:$M}}}},c.prototype.getModifierForVarDependant=function(l,E){var Y=this;if(E.match(/^\s*(rgb|hsl)a?\(/)){var b=l.startsWith("background"),h=l==="color"||l==="caret-color";return function(F){var q=Pa(E,Y.unstableVarValues);q||(q=b?"#ffffff":"#000000");var nM=b?Pj:h?uu:au;return nM(q,F)}}return l==="background-color"?function(F){return di(E,function(q){return ht(q)},function(q){return Pj(q,F)})}:l==="color"||l==="caret-color"?function(F){return di(E,function(q){return va(q)},function(q){return uu(q,F)})}:l==="background"||l==="background-image"||l==="box-shadow"?function(F){var q=new Set,nM=function(){var wM=di(E,function(WM){return Y.isVarType(WM,he)?ht(WM):Y.isVarType(WM,pt)?$y(WM):(q.add(WM),WM)},function(WM){return Pj(WM,F)});if(l==="box-shadow"){var dM=Zy(wM),$M=dM(F);if($M.unparseableMatchesLength!==$M.matchesLength)return $M.result}return wM},gM=nM();return q.size>0?new Promise(function(wM){var dM=q.values().next().value,$M=function(){Y.unsubscribeFromVariableTypeChanges(dM,$M);var WM=nM();wM(WM)};Y.subscribeForVarTypeChange(dM,$M)}):gM}:l.startsWith("border")||l.startsWith("outline")?function(F){return di(E,function(q){return Fa(q)},function(q){return au(q,F)})}:null},c.prototype.subscribeForVarTypeChange=function(l,E){this.typeChangeSubscriptions.has(l)||this.typeChangeSubscriptions.set(l,new Set);var Y=this.typeChangeSubscriptions.get(l);Y.has(E)||Y.add(E)},c.prototype.unsubscribeFromVariableTypeChanges=function(l,E){this.typeChangeSubscriptions.has(l)&&this.typeChangeSubscriptions.get(l).delete(E)},c.prototype.collectVariablesAndVarDep=function(l){var E=this;l.forEach(function(Y){_M(Y,function(b){b.style&&rN(b.style,function(h,F){zu(h)&&E.inspectVariable(h,F),Mj(F)&&E.inspectVarDependant(h,F)})})})},c.prototype.collectRootVariables=function(){var l=this;rN(document.documentElement.style,function(E,Y){zu(E)&&l.inspectVariable(E,Y)})},c.prototype.inspectVariable=function(l,E){if(this.unstableVarValues.set(l,E),Mj(E)&&Ky(E)&&(this.unknownColorVars.add(l),this.definedVars.add(l)),!this.definedVars.has(l)){this.definedVars.add(l);var Y=fi(E);Y?this.unknownColorVars.add(l):(E.includes("url(")||E.includes("linear-gradient(")||E.includes("radial-gradient("))&&this.resolveVariableType(l,pt)}},c.prototype.resolveVariableType=function(l,E){var Y=this.initialVarTypes.get(l)||0,b=this.varTypes.get(l)||0,h=b|E;this.varTypes.set(l,h),(h!==Y||this.undefinedVars.has(l))&&(this.changedTypeVars.add(l),this.undefinedVars.delete(l)),this.unknownColorVars.delete(l),this.unknownBgVars.delete(l)},c.prototype.collectRootVarDependants=function(){var l=this;rN(document.documentElement.style,function(E,Y){Mj(Y)&&l.inspectVarDependant(E,Y)})},c.prototype.inspectVarDependant=function(l,E){var Y=this;zu(l)?this.iterateVarDeps(E,function(b){Y.varRefs.has(l)||Y.varRefs.set(l,new Set),Y.varRefs.get(l).add(b)}):l==="background-color"||l==="box-shadow"?this.iterateVarDeps(E,function(b){return Y.resolveVariableType(b,he)}):l==="color"||l==="caret-color"?this.iterateVarDeps(E,function(b){return Y.resolveVariableType(b,Fj)}):l.startsWith("border")||l.startsWith("outline")?this.iterateVarDeps(E,function(b){return Y.resolveVariableType(b,_j)}):(l==="background"||l==="background-image")&&this.iterateVarDeps(E,function(b){if(!Y.isVarType(b,he|pt)){var h=Y.findVarRef(b,function(F){return Y.unknownColorVars.has(F)||Y.isVarType(F,Fj|_j)})!=null;Y.itarateVarRefs(b,function(F){h?Y.resolveVariableType(F,he):Y.unknownBgVars.add(F)})}})},c.prototype.iterateVarDeps=function(l,E){var Y=new Set;Z6(l,function(b){return Y.add(b)}),Y.forEach(function(b){return E(b)})},c.prototype.findVarRef=function(l,E,Y){var b,h;if(Y===void 0&&(Y=new Set),Y.has(l))return null;Y.add(l);var F=E(l);if(F)return l;var q=this.varRefs.get(l);if(!q||q.size===0)return null;try{for(var nM=z(q),gM=nM.next();!gM.done;gM=nM.next()){var wM=gM.value,dM=this.findVarRef(wM,E,Y);if(dM)return dM}}catch($M){b={error:$M}}finally{try{gM&&!gM.done&&(h=nM.return)&&h.call(nM)}finally{if(b)throw b.error}}return null},c.prototype.itarateVarRefs=function(l,E){this.findVarRef(l,function(Y){return E(Y),!1})},c.prototype.setOnRootVariableChange=function(l){this.onRootVariableDefined=l},c.prototype.putRootVars=function(l,E){var Y,b,h=this,F=l.sheet;F.cssRules.length>0&&F.deleteRule(0);var q=new Map;rN(document.documentElement.style,function(fM,UM){zu(fM)&&(h.isVarType(fM,he)&&q.set(ht(fM),Pj(UM,E)),h.isVarType(fM,Fj)&&q.set(va(fM),uu(UM,E)),h.isVarType(fM,_j)&&q.set(Fa(fM),au(UM,E)),h.subscribeForVarTypeChange(fM,h.onRootVariableDefined))});var nM=[];nM.push(":root {");try{for(var gM=z(q),wM=gM.next();!wM.done;wM=gM.next()){var dM=u(wM.value,2),$M=dM[0],WM=dM[1];nM.push(" "+$M+": "+WM+";")}}catch(fM){Y={error:fM}}finally{try{wM&&!wM.done&&(b=gM.return)&&b.call(gM)}finally{if(Y)throw Y.error}}nM.push("}");var GM=nM.join(` +`)}var B6=new Set(["inherit","transparent","initial","currentcolor","none","unset"]),ju=new Map;function Vy(c){if(c=c.trim(),ju.has(c))return ju.get(c);c.includes("calc(")&&(c=lM(c));var l=ai(c);return ju.set(c,l),l}function fi(c){try{return Vy(c)}catch{return null}}function b6(c,l){if(B6.has(l.toLowerCase()))return l;try{var E=Vy(l);return c.includes("background")?function(Y){return bD(E,Y)}:c.includes("border")||c.includes("outline")?function(Y){return Ut(E,Y)}:function(Y){return Xe(E,Y)}}catch{return null}}var v6=/[\-a-z]+gradient\(([^\(\)]*(\(([^\(\)]*(\(.*?\)))*[^\(\)]*\))){0,15}[^\(\)]*\)/g,tu=new Map,Ti=new Map;function F6(c,l){if(!c||l.length===0)return!1;if(l.some(function(F){return F==="*"}))return!0;for(var E=c.split(/,\s*/g),Y=function(F){var q=l[F];if(E.some(function(nM){return nM===q}))return{value:!0}},b=0;b2){""+GM.src;var EN=Ba(GM,i(i({},fM),{sepia:qM(fM.sepia+10,0,100)}));aN='url("'+EN+'")'}else if(HM&&!eN&&fM.mode===1)if(jN)aN="none";else{""+GM.src;var JN=Ba(GM,fM);aN='url("'+JN+'")'}else if(fM.mode===0&&HM&&!jN){""+GM.src;var $N=Ba(GM,i(i({},fM),{brightness:qM(fM.brightness-10,5,200),sepia:qM(fM.sepia+10,0,100)}));aN='url("'+$N+'")'}else aN=null;return aN},$M=[],WM=0;return nM.forEach(function(GM,fM){var UM=GM.match,HM=GM.type,eN=GM.index,jN=WM,sN=eN+UM.length;WM=sN,$M.push(function(){return c.substring(jN,eN)}),$M.push(HM==="url"?wM(UM):gM(UM)),fM===nM.length-1&&$M.push(function(){return c.substring(sN)})}),function(GM){var fM=$M.filter(Boolean).map(function(UM){return UM(GM)});return fM.some(function(UM){return UM instanceof Promise})?Promise.all(fM).then(function(UM){return UM.join("")}):fM.join("")}}catch{return null}}function Zy(c){try{var l=0,E=XM(/(^|\s)(?!calc)([a-z]+\(.+?\)|#[0-9a-f]+|[a-z]+)(.*?(inset|outset)?($|,))/ig,c,2),Y=0,b=E.map(function(h,F){var q=l,nM=c.indexOf(h,l),gM=nM+h.length;l=gM;var wM=fi(h);return wM?function(dM){return""+c.substring(q,nM)+I6(wM,dM)+(F===E.length-1?c.substring(gM):"")}:(Y++,function(){return c.substring(q,gM)})});return function(h){var F=b.map(function(q){return q(h)}).join("");return{matchesLength:E.length,unparseableMatchesLength:Y,result:F}}}catch{return null}}function _6(c){var l=Zy(c);return l?function(E){return l(E).result}:null}function P6(c,l,E,Y,b,h){return c.getModifierForVariable({varName:l,sourceValue:E,rule:Y,ignoredImgSelectors:b,isCancelled:h})}function R6(c,l,E){return c.getModifierForVarDependant(l,E)}function G6(){ju.clear(),r6(),tu.clear(),S6(),Ti.clear()}var he=1<<0,Fj=1<<1,_j=1<<2,pt=1<<3,W6=function(){function c(){this.varTypes=new Map,this.rulesQueue=[],this.definedVars=new Set,this.varRefs=new Map,this.unknownColorVars=new Set,this.unknownBgVars=new Set,this.undefinedVars=new Set,this.initialVarTypes=new Map,this.changedTypeVars=new Set,this.typeChangeSubscriptions=new Map,this.unstableVarValues=new Map}return c.prototype.clear=function(){this.varTypes.clear(),this.rulesQueue.splice(0),this.definedVars.clear(),this.varRefs.clear(),this.unknownColorVars.clear(),this.unknownBgVars.clear(),this.undefinedVars.clear(),this.initialVarTypes.clear(),this.changedTypeVars.clear(),this.typeChangeSubscriptions.clear(),this.unstableVarValues.clear()},c.prototype.isVarType=function(l,E){return this.varTypes.has(l)&&(this.varTypes.get(l)&E)>0},c.prototype.addRulesForMatching=function(l){this.rulesQueue.push(l)},c.prototype.matchVariablesAndDependants=function(){var l=this;this.changedTypeVars.clear(),this.initialVarTypes=new Map(this.varTypes),this.collectRootVariables(),this.collectVariablesAndVarDep(this.rulesQueue),this.rulesQueue.splice(0),this.collectRootVarDependants(),this.varRefs.forEach(function(E,Y){E.forEach(function(b){l.varTypes.has(Y)&&l.resolveVariableType(b,l.varTypes.get(Y))})}),this.unknownColorVars.forEach(function(E){l.unknownBgVars.has(E)?(l.unknownColorVars.delete(E),l.unknownBgVars.delete(E),l.resolveVariableType(E,he)):l.isVarType(E,he|Fj|_j)?l.unknownColorVars.delete(E):l.undefinedVars.add(E)}),this.unknownBgVars.forEach(function(E){var Y=l.findVarRef(E,function(b){return l.unknownColorVars.has(b)||l.isVarType(b,Fj|_j)})!=null;Y?l.itarateVarRefs(E,function(b){l.resolveVariableType(b,he)}):l.isVarType(E,he|pt)?l.unknownBgVars.delete(E):l.undefinedVars.add(E)}),this.changedTypeVars.forEach(function(E){l.typeChangeSubscriptions.has(E)&&l.typeChangeSubscriptions.get(E).forEach(function(Y){Y()})}),this.changedTypeVars.clear()},c.prototype.getModifierForVariable=function(l){var E=this;return function(Y){var b=l.varName,h=l.sourceValue,F=l.rule,q=l.ignoredImgSelectors,nM=l.isCancelled,gM=function(){var WM=[],GM=function(eN,jN,sN){if(!!E.isVarType(b,eN)){var yN=jN(b),aN;if(Mj(h))if(Ky(h)){var EN=Pa(h,E.unstableVarValues);EN||(EN=eN===he?"#ffffff":"#000000"),aN=sN(EN,Y)}else aN=di(h,function(JN){return jN(JN)},function(JN){return sN(JN,Y)});else aN=sN(h,Y);WM.push({property:yN,value:aN})}};if(GM(he,ht,Pj),GM(Fj,va,uu),GM(_j,Fa,au),E.isVarType(b,pt)){var fM=$y(b),UM=h;Mj(h)&&(UM=di(h,function(eN){return ht(eN)},function(eN){return Pj(eN,Y)}));var HM=Hy(UM,F,q,nM);UM=typeof HM=="function"?HM(Y):HM,WM.push({property:fM,value:UM})}return WM},wM=new Set,dM=function(WM){var GM=function(){var fM=gM();WM(fM)};wM.add(GM),E.subscribeForVarTypeChange(b,GM)},$M=function(){wM.forEach(function(WM){E.unsubscribeFromVariableTypeChanges(b,WM)})};return{declarations:gM(),onTypeChange:{addListener:dM,removeListeners:$M}}}},c.prototype.getModifierForVarDependant=function(l,E){var Y=this;if(E.match(/^\s*(rgb|hsl)a?\(/)){var b=l.startsWith("background"),h=l==="color"||l==="caret-color";return function(F){var q=Pa(E,Y.unstableVarValues);q||(q=b?"#ffffff":"#000000");var nM=b?Pj:h?uu:au;return nM(q,F)}}return l==="background-color"?function(F){return di(E,function(q){return ht(q)},function(q){return Pj(q,F)})}:l==="color"||l==="caret-color"?function(F){return di(E,function(q){return va(q)},function(q){return uu(q,F)})}:l==="background"||l==="background-image"||l==="box-shadow"?function(F){var q=new Set,nM=function(){var wM=di(E,function(WM){return Y.isVarType(WM,he)?ht(WM):Y.isVarType(WM,pt)?$y(WM):(q.add(WM),WM)},function(WM){return Pj(WM,F)});if(l==="box-shadow"){var dM=Zy(wM),$M=dM(F);if($M.unparseableMatchesLength!==$M.matchesLength)return $M.result}return wM},gM=nM();return q.size>0?new Promise(function(wM){var dM=q.values().next().value,$M=function(){Y.unsubscribeFromVariableTypeChanges(dM,$M);var WM=nM();wM(WM)};Y.subscribeForVarTypeChange(dM,$M)}):gM}:l.startsWith("border")||l.startsWith("outline")?function(F){return di(E,function(q){return Fa(q)},function(q){return au(q,F)})}:null},c.prototype.subscribeForVarTypeChange=function(l,E){this.typeChangeSubscriptions.has(l)||this.typeChangeSubscriptions.set(l,new Set);var Y=this.typeChangeSubscriptions.get(l);Y.has(E)||Y.add(E)},c.prototype.unsubscribeFromVariableTypeChanges=function(l,E){this.typeChangeSubscriptions.has(l)&&this.typeChangeSubscriptions.get(l).delete(E)},c.prototype.collectVariablesAndVarDep=function(l){var E=this;l.forEach(function(Y){PM(Y,function(b){b.style&&rN(b.style,function(h,F){zu(h)&&E.inspectVariable(h,F),Mj(F)&&E.inspectVarDependant(h,F)})})})},c.prototype.collectRootVariables=function(){var l=this;rN(document.documentElement.style,function(E,Y){zu(E)&&l.inspectVariable(E,Y)})},c.prototype.inspectVariable=function(l,E){if(this.unstableVarValues.set(l,E),Mj(E)&&Ky(E)&&(this.unknownColorVars.add(l),this.definedVars.add(l)),!this.definedVars.has(l)){this.definedVars.add(l);var Y=fi(E);Y?this.unknownColorVars.add(l):(E.includes("url(")||E.includes("linear-gradient(")||E.includes("radial-gradient("))&&this.resolveVariableType(l,pt)}},c.prototype.resolveVariableType=function(l,E){var Y=this.initialVarTypes.get(l)||0,b=this.varTypes.get(l)||0,h=b|E;this.varTypes.set(l,h),(h!==Y||this.undefinedVars.has(l))&&(this.changedTypeVars.add(l),this.undefinedVars.delete(l)),this.unknownColorVars.delete(l),this.unknownBgVars.delete(l)},c.prototype.collectRootVarDependants=function(){var l=this;rN(document.documentElement.style,function(E,Y){Mj(Y)&&l.inspectVarDependant(E,Y)})},c.prototype.inspectVarDependant=function(l,E){var Y=this;zu(l)?this.iterateVarDeps(E,function(b){Y.varRefs.has(l)||Y.varRefs.set(l,new Set),Y.varRefs.get(l).add(b)}):l==="background-color"||l==="box-shadow"?this.iterateVarDeps(E,function(b){return Y.resolveVariableType(b,he)}):l==="color"||l==="caret-color"?this.iterateVarDeps(E,function(b){return Y.resolveVariableType(b,Fj)}):l.startsWith("border")||l.startsWith("outline")?this.iterateVarDeps(E,function(b){return Y.resolveVariableType(b,_j)}):(l==="background"||l==="background-image")&&this.iterateVarDeps(E,function(b){if(!Y.isVarType(b,he|pt)){var h=Y.findVarRef(b,function(F){return Y.unknownColorVars.has(F)||Y.isVarType(F,Fj|_j)})!=null;Y.itarateVarRefs(b,function(F){h?Y.resolveVariableType(F,he):Y.unknownBgVars.add(F)})}})},c.prototype.iterateVarDeps=function(l,E){var Y=new Set;Z6(l,function(b){return Y.add(b)}),Y.forEach(function(b){return E(b)})},c.prototype.findVarRef=function(l,E,Y){var b,h;if(Y===void 0&&(Y=new Set),Y.has(l))return null;Y.add(l);var F=E(l);if(F)return l;var q=this.varRefs.get(l);if(!q||q.size===0)return null;try{for(var nM=z(q),gM=nM.next();!gM.done;gM=nM.next()){var wM=gM.value,dM=this.findVarRef(wM,E,Y);if(dM)return dM}}catch($M){b={error:$M}}finally{try{gM&&!gM.done&&(h=nM.return)&&h.call(nM)}finally{if(b)throw b.error}}return null},c.prototype.itarateVarRefs=function(l,E){this.findVarRef(l,function(Y){return E(Y),!1})},c.prototype.setOnRootVariableChange=function(l){this.onRootVariableDefined=l},c.prototype.putRootVars=function(l,E){var Y,b,h=this,F=l.sheet;F.cssRules.length>0&&F.deleteRule(0);var q=new Map;rN(document.documentElement.style,function(fM,UM){zu(fM)&&(h.isVarType(fM,he)&&q.set(ht(fM),Pj(UM,E)),h.isVarType(fM,Fj)&&q.set(va(fM),uu(UM,E)),h.isVarType(fM,_j)&&q.set(Fa(fM),au(UM,E)),h.subscribeForVarTypeChange(fM,h.onRootVariableDefined))});var nM=[];nM.push(":root {");try{for(var gM=z(q),wM=gM.next();!wM.done;wM=gM.next()){var dM=u(wM.value,2),$M=dM[0],WM=dM[1];nM.push(" "+$M+": "+WM+";")}}catch(fM){Y={error:fM}}finally{try{wM&&!wM.done&&(b=gM.return)&&b.call(gM)}finally{if(Y)throw Y.error}}nM.push("}");var GM=nM.join(` `);F.insertRule(GM)},c}(),qD=new W6;function V6(c,l){l===void 0&&(l=0);var E=c.indexOf("var(",l);if(E>=0){var Y=hN(c,E+3);return Y?{start:E,end:Y.end}:null}}function H6(c){for(var l=[],E=0,Y;Y=V6(c,E);){var b=Y.start,h=Y.end;l.push({start:b,end:h,value:c.substring(b,h)}),E=Y.end+1}return l}function Xy(c,l){var E=H6(c),Y=E.length;if(Y===0)return c;var b=c.length,h=E.map(function(wM){return l(wM.value)}),F=[];F.push(c.substring(0,E[0].start));for(var q=0;q=0?(E=c.substring(4,l).trim(),Y=c.substring(l+1,c.length-1).trim()):(E=c.substring(4,c.length-1).trim(),Y=""),{name:E,fallback:Y}}function di(c,l,E){var Y=function(b){var h=Jy(b),F=h.name,q=h.fallback,nM=l(F);if(!q)return"var("+nM+")";var gM;return Mj(q)?gM=di(q,l,E):E?gM=E(q):gM=q,"var("+nM+", "+gM+")"};return Xy(c,Y)}function Z6(c,l){di(c,function(E){return l(E),E})}function ht(c){return"--darkreader-bg"+c}function va(c){return"--darkreader-text"+c}function Fa(c){return"--darkreader-border"+c}function $y(c){return"--darkreader-bgimg"+c}function zu(c){return c.startsWith("--")}function Mj(c){return c.includes("var(")}function Ky(c){return c.match(/^\s*(rgb|hsl)a?\(/)}var X6=/^\d{1,3}, ?\d{1,3}, ?\d{1,3}$/;function J6(c){if(X6.test(c)){var l=c.split(","),E="rgb(";return l.forEach(function(Y){E+=Y.trim()+", "}),E=E.substr(0,E.length-2),E+=")",{isRaw:!0,color:E}}return{isRaw:!1,color:c}}function _a(c,l,E){var Y=J6(c),b=Y.isRaw,h=Y.color,F=fi(h);if(F){var q=E(F,l);if(b){var nM=fi(q);return nM?nM.r+", "+nM.g+", "+nM.b:q}return q}return h}function Pj(c,l){return _a(c,l,bD)}function uu(c,l){return _a(c,l,Xe)}function au(c,l){return _a(c,l,Ut)}function Pa(c,l,E){E===void 0&&(E=new Set);var Y=!1,b=function(F){var q=Jy(F),nM=q.name,gM=q.fallback;if(E.has(nM))return Y=!0,null;E.add(nM);var wM=l.get(nM)||gM,dM=null;return wM&&(Mj(wM)?dM=Pa(wM,l,E):dM=wM),dM||(Y=!0,null)},h=Xy(c,b);return Y?null:h}var Rj={"background-color":{customProp:"--darkreader-inline-bgcolor",cssProp:"background-color",dataAttr:"data-darkreader-inline-bgcolor"},"background-image":{customProp:"--darkreader-inline-bgimage",cssProp:"background-image",dataAttr:"data-darkreader-inline-bgimage"},"border-color":{customProp:"--darkreader-inline-border",cssProp:"border-color",dataAttr:"data-darkreader-inline-border"},"border-bottom-color":{customProp:"--darkreader-inline-border-bottom",cssProp:"border-bottom-color",dataAttr:"data-darkreader-inline-border-bottom"},"border-left-color":{customProp:"--darkreader-inline-border-left",cssProp:"border-left-color",dataAttr:"data-darkreader-inline-border-left"},"border-right-color":{customProp:"--darkreader-inline-border-right",cssProp:"border-right-color",dataAttr:"data-darkreader-inline-border-right"},"border-top-color":{customProp:"--darkreader-inline-border-top",cssProp:"border-top-color",dataAttr:"data-darkreader-inline-border-top"},"box-shadow":{customProp:"--darkreader-inline-boxshadow",cssProp:"box-shadow",dataAttr:"data-darkreader-inline-boxshadow"},color:{customProp:"--darkreader-inline-color",cssProp:"color",dataAttr:"data-darkreader-inline-color"},fill:{customProp:"--darkreader-inline-fill",cssProp:"fill",dataAttr:"data-darkreader-inline-fill"},stroke:{customProp:"--darkreader-inline-stroke",cssProp:"stroke",dataAttr:"data-darkreader-inline-stroke"},"outline-color":{customProp:"--darkreader-inline-outline",cssProp:"outline-color",dataAttr:"data-darkreader-inline-outline"},"stop-color":{customProp:"--darkreader-inline-stopcolor",cssProp:"stop-color",dataAttr:"data-darkreader-inline-stopcolor"}},Ra=Object.values(Rj),qy={};Ra.forEach(function(c){var l=c.cssProp,E=c.customProp;return qy[E]=l});var ru=["style","fill","stop-color","stroke","bgcolor","color"],mt=ru.map(function(c){return"["+c+"]"}).join(", ");function ML(){return Ra.map(function(c){var l=c.dataAttr,E=c.customProp,Y=c.cssProp;return["["+l+"] {"," "+Y+": var("+E+") !important;","}"].join(` `)}).join(` -`)}function $6(c){var l=[];return c instanceof Element&&c.matches(mt)&&l.push(c),(c instanceof Element||O&&c instanceof ShadowRoot||c instanceof Document)&&J(l,c.querySelectorAll(mt)),l}var Bt=new Map,gu=new Map;function K6(c,l){Ga(document,c,l),d(document.documentElement,function(E){Ga(E.shadowRoot,c,l)})}function Ga(c,l,E){Bt.has(c)&&(Bt.get(c).disconnect(),gu.get(c).disconnect());var Y=new WeakSet;function b(fM){$6(fM).forEach(function(UM){Y.has(UM)||(Y.add(UM),l(UM))}),d(fM,function(UM){Y.has(fM)||(Y.add(fM),E(UM.shadowRoot),Ga(UM.shadowRoot,l,E))})}var h=EM(c,{onMinorMutations:function(fM){var UM=fM.additions;UM.forEach(function(HM){return b(HM)})},onHugeMutations:function(){b(c)}});Bt.set(c,h);var F=0,q=null,nM=bM({seconds:10}),gM=bM({seconds:2}),wM=50,dM=[],$M=null,WM=OM(function(fM){fM.forEach(function(UM){ru.includes(UM.attributeName)&&l(UM.target)})}),GM=new MutationObserver(function(fM){if($M){dM.push.apply(dM,a([],u(fM),!1));return}F++;var UM=Date.now();if(q==null)q=UM;else if(F>=wM){if(UM-q0&&NF(c,E)){h.forEach(function(dM){c.removeAttribute(Rj[dM].dataAttr)});return}if(c.hasAttribute("bgcolor")){var q=c.getAttribute("bgcolor");(q.match(/^[0-9a-f]{3}$/i)||q.match(/^[0-9a-f]{6}$/i))&&(q="#"+q),F("background-color","background-color",q)}if(c.hasAttribute("color")&&c.rel!=="mask-icon"){var q=c.getAttribute("color");(q.match(/^[0-9a-f]{3}$/i)||q.match(/^[0-9a-f]{6}$/i))&&(q="#"+q),F("color","color",q)}if(c instanceof SVGElement){if(c.hasAttribute("fill")){var nM=32,gM=c.getAttribute("fill");if(gM!=="none")if(c instanceof SVGTextElement)F("fill","color",gM);else{var wM=function(){var dM=c.getBoundingClientRect(),$M=dM.width,WM=dM.height,GM=$M>nM||WM>nM;F("fill",GM?"background-color":"color",gM)};Z()?wM():TM(wM)}}c.hasAttribute("stop-color")&&F("stop-color","background-color",c.getAttribute("stop-color"))}if(c.hasAttribute("stroke")){var q=c.getAttribute("stroke");F("stroke",c instanceof SVGLineElement||c instanceof SVGTextElement?"border-color":"color",q)}c.style&&rN(c.style,function(dM,$M){if(!(dM==="background-image"&&$M.includes("url")))if(Rj.hasOwnProperty(dM))F(dM,dM,$M);else{var WM=qy[dM];if(WM&&!c.style.getPropertyValue(WM)&&!c.hasAttribute(WM)){if(WM==="background-color"&&c.hasAttribute("bgcolor"))return;c.style.setProperty(dM,"")}}}),c.style&&c instanceof SVGTextElement&&c.style.fill&&F("fill","color",c.style.getPropertyValue("fill")),m(h,function(dM){c.removeAttribute(Rj[dM].dataAttr)}),NL.set(c,DL(c,l))}var eL="theme-color",iL='meta[name="'+eL+'"]',bt=null,ni=null;function jL(c,l){bt=bt||c.content;try{var E=ai(bt);c.content=bD(E,l)}catch{}}function DF(c){var l=document.querySelector(iL);l?jL(l,c):(ni&&ni.disconnect(),ni=new MutationObserver(function(E){M:for(var Y=0;Y0){var iD=IN.parentRule;UN={selector:IN.selectorText,declarations:CN,parentRule:iD},sN.push(UN)}E.set(kN,UN)},function(){h=!0}),HM.forEach(function(IN){l.delete(IN),E.delete(IN)}),b=eN,!WM&&!UM&&!jN)return;c++;function yN(IN,kN,WN){var CN=WN.selector,UN=WN.declarations,iD=function(Te){var xe=Te.property,HD=Te.value,Me=Te.important,vD=Te.sourceValue;return xe+": "+(HD==null?vD:HD)+(Me?" !important":"")+";"},vN="";UN.forEach(function(Te){vN+=iD(Te)+" "});var Be=CN+" { "+vN+" }";IN.insertRule(Be,kN)}var aN=new Map,EN=new Map,JN=0,$N=0,VD={rule:null,rules:[],isGroup:!0},ej=new WeakMap;function Si(IN){if(IN==null)return VD;if(ej.has(IN))return ej.get(IN);var kN={rule:IN,rules:[],isGroup:!0};ej.set(IN,kN);var WN=Si(IN.parentRule);return WN.rules.push(kN),kN}Y.forEach(function(IN){return IN()}),Y.clear(),sN.filter(function(IN){return IN}).forEach(function(IN){var kN=IN.selector,WN=IN.declarations,CN=IN.parentRule,UN=Si(CN),iD={selector:kN,declarations:[],isGroup:!1},vN=iD.declarations;UN.rules.push(iD);function Be(xe,HD,Me,vD){var Qe=++JN,ne={property:xe,value:null,important:Me,asyncKey:Qe,sourceValue:vD};vN.push(ne);var ij=c;HD.then(function(uN){!uN||fM()||ij!==c||(ne.value=uN,tF.add(function(){fM()||ij!==c||Nr(Qe)}))})}function Te(xe,HD,Me,vD){var Qe=HD,ne=Qe.declarations,ij=Qe.onTypeChange,uN=++$N,Ne=c,YD=vN.length,uD=[];if(ne.length===0){var ce={property:xe,value:vD,important:Me,sourceValue:vD,varKey:uN};vN.push(ce),uD=[ce]}ne.forEach(function(ZD){if(ZD.value instanceof Promise)Be(ZD.property,ZD.value,Me,vD);else{var LD={property:ZD.property,value:ZD.value,important:Me,sourceValue:vD,varKey:uN};vN.push(LD),uD.push(LD)}}),ij.addListener(function(ZD){if(!(fM()||Ne!==c)){var LD=ZD.map(function(Dr){return{property:Dr.property,value:Dr.value,important:Me,sourceValue:vD,varKey:uN}}),aD=vN.indexOf(uD[0],YD);vN.splice.apply(vN,a([aD,uD.length],u(LD),!1)),uD=LD,Gt(uN)}}),Y.add(function(){return ij.removeListeners()})}WN.forEach(function(xe){var HD=xe.property,Me=xe.value,vD=xe.important,Qe=xe.sourceValue;if(typeof Me=="function"){var ne=Me(dM);ne instanceof Promise?Be(HD,ne,vD,Qe):HD.startsWith("--")?Te(HD,ne,vD,Qe):vN.push({property:HD,value:ne,important:vD,sourceValue:Qe})}else vN.push({property:HD,value:Me,important:vD,sourceValue:Qe})})});var Rt=GM();function ou(){function IN(WN,CN){var UN=WN.rule;if(UN instanceof CSSMediaRule){var iD=UN.media,vN=CN.cssRules.length;return CN.insertRule("@media "+iD.mediaText+" {}",vN),CN.cssRules[vN]}return CN}function kN(WN,CN,UN){WN.rules.forEach(function(iD){if(iD.isGroup){var vN=IN(iD,CN);kN(iD,vN,UN)}else UN(iD,CN)})}kN(VD,Rt,function(WN,CN){var UN=CN.cssRules.length;WN.declarations.forEach(function(iD){var vN=iD.asyncKey,Be=iD.varKey;vN!=null&&aN.set(vN,{rule:WN,target:CN,index:UN}),Be!=null&&EN.set(Be,{rule:WN,target:CN,index:UN})}),yN(CN,UN,WN)})}function Nr(IN){var kN=aN.get(IN),WN=kN.rule,CN=kN.target,UN=kN.index;CN.deleteRule(UN),yN(CN,UN,WN),aN.delete(IN)}function Gt(IN){var kN=EN.get(IN),WN=kN.rule,CN=kN.target,UN=kN.index;CN.deleteRule(UN),yN(CN,UN,WN)}ou()}return{modifySheet:nM,shouldRebuildStyle:q}}var zF='style, link[rel*="stylesheet" i]:not([disabled])';function zL(c){return(c instanceof HTMLStyleElement||c instanceof SVGStyleElement||c instanceof HTMLLinkElement&&c.rel&&c.rel.toLowerCase().includes("stylesheet")&&!c.disabled&&(y?!c.href.startsWith("moz-extension://"):!0))&&!c.classList.contains("darkreader")&&c.media.toLowerCase()!=="print"&&!c.classList.contains("stylus")}function Ci(c,l,E){return l===void 0&&(l=[]),E===void 0&&(E=!0),zL(c)?l.push(c):(c instanceof Element||O&&c instanceof ShadowRoot||c===document)&&(m(c.querySelectorAll(zF),function(Y){return Ci(Y,l,!1)}),E&&d(c,function(Y){return Ci(Y.shadowRoot,l,!1)})),l}var uL=new WeakSet,aL=new WeakSet,Tu=!1;typeof document!="undefined"&&document.addEventListener("__darkreader__inlineScriptsAllowed",function(){Tu=!0});var uF=0,Gj=new Map;function aF(){Gj.clear()}function rF(c,l){for(var E=l.update,Y=l.loadingStart,b=l.loadingEnd,h=[],F=c;(F=F.nextElementSibling)&&F.matches(".darkreader");)h.push(F);var q=h.find(function(uN){return uN.matches(".darkreader--cors")&&!aL.has(uN)})||null,nM=h.find(function(uN){return uN.matches(".darkreader--sync")&&!uL.has(uN)})||null,gM=null,wM=null,dM=!1,$M=!0,WM=tL(),GM=new MutationObserver(function(){E()}),fM={attributes:!0,childList:!0,subtree:!0,characterData:!0};function UM(){return c instanceof HTMLStyleElement&&c.textContent.trim().match(GN)}function HM(uN,Ne){var YD=!1;if(uN){var uD=void 0;M:for(var ce=0,ZD=uN.length;ce=0;aD--)LD.deleteRule(aD)}function ce(){nM||sN(),wM&&wM.stop(),jN(),nM.sheet==null&&(nM.textContent="");var LD=nM.sheet;return uD(LD),wM?wM.run():wM=uM(nM,"prev-sibling",function(){VD=!0,ZD()}),nM.sheet}function ZD(){var LD=VD;VD=!1,WM.modifySheet({prepareSheet:ce,sourceCSSRules:YD,theme:uN,ignoreImageAnalysis:Ne,force:LD,isAsyncCancelled:function(){return dM}}),$M=nM.sheet.cssRules.length===0,WM.shouldRebuildStyle()&&TM(function(){return E()})}ZD()}function Si(){try{return c.sheet==null?[null,null]:[c.sheet.cssRules,null]}catch(uN){return[null,uN]}}function Rt(uN){return uN&&uN.message&&uN.message.includes("loading")}function ou(){var uN=u(Si(),2),Ne=uN[0],YD=uN[1];return YD?null:Ne}function Nr(){Be(),!s&&!(Tu&&c.sheet)&&CN()}var Gt=null,IN=null;function kN(){var uN=ou();return uN?uN.length:null}function WN(){return kN()!==Gt}function CN(){Gt=kN(),UN();var uN=function(){if(WN()&&(Gt=kN(),E()),Tu&&c.sheet){UN();return}IN=requestAnimationFrame(uN)};uN()}function UN(){cancelAnimationFrame(IN)}var iD=!1;function vN(){if(Tu=!0,UN(),iD)return;function uN(){iD=!1,!dM&&E()}iD=!0,typeof queueMicrotask=="function"?queueMicrotask(uN):requestAnimationFrame(uN)}function Be(){c.addEventListener("__darkreader__updateSheet",vN)}function Te(){c.removeEventListener("__darkreader__updateSheet",vN)}function xe(){Te(),UN()}function HD(){GM.disconnect(),dM=!0,gM&&gM.stop(),wM&&wM.stop(),xe()}function Me(){if(HD(),eM(q),eM(nM),b(),Gj.has(EN)){var uN=Gj.get(EN);Gj.delete(EN),uN&&uN()}}function vD(){GM.observe(c,fM),c instanceof HTMLStyleElement&&Nr()}var Qe=10,ne=0;function ij(){!nM||(ne++,!(ne>Qe)&&(jN(),gM&&gM.skip(),wM&&wM.skip(),$M||(VD=!0,E())))}return{details:$N,render:ej,pause:HD,destroy:Me,watch:vD,restore:ij}}function gF(c,l){return j(this,void 0,void 0,function(){return t(this,function(E){return[2,new Promise(function(Y,b){var h=function(){c.removeEventListener("load",F),c.removeEventListener("error",q),Gj.delete(l)},F=function(){h(),Y()},q=function(){h(),b("Linkelement "+l+" couldn't be loaded. "+c.href)};Gj.set(l,function(){h(),b()}),c.addEventListener("load",F),c.addEventListener("error",q),c.href||q()})]})})}function TF(c){return sD(c.substring(7).trim().replace(/;$/,"").replace(/screen$/,""))}function rL(c){return j(this,void 0,void 0,function(){return t(this,function(l){switch(l.label){case 0:return c.startsWith("data:")?[4,fetch(c)]:[3,3];case 1:return[4,l.sent().text()];case 2:return[2,l.sent()];case 3:return[4,Ry({url:c,responseType:"text",mimeType:"text/css",origin:window.location.origin})];case 4:return[2,l.sent()]}})})}function gL(c,l,E){return E===void 0&&(E=new Map),j(this,void 0,void 0,function(){var Y,b,h,F,q,nM,gM,wM,dM,$M;return t(this,function(WM){switch(WM.label){case 0:c=Mu(c),c=wa(c),c=Oa(c,l),Y=XM(GN,c),WM.label=1;case 1:WM.trys.push([1,10,11,12]),b=z(Y),h=b.next(),WM.label=2;case 2:return h.done?[3,9]:(F=h.value,q=TF(F),nM=CM(l,q),gM=void 0,E.has(nM)?(gM=E.get(nM),[3,7]):[3,3]);case 3:return WM.trys.push([3,6,,7]),[4,rL(nM)];case 4:return gM=WM.sent(),E.set(nM,gM),[4,gL(gM,zi(nM),E)];case 5:return gM=WM.sent(),[3,7];case 6:return WM.sent(),gM="",[3,7];case 7:c=c.split(F).join(gM),WM.label=8;case 8:return h=b.next(),[3,2];case 9:return[3,12];case 10:return wM=WM.sent(),dM={error:wM},[3,12];case 11:try{h&&!h.done&&($M=b.return)&&$M.call(b)}finally{if(dM)throw dM.error}return[7];case 12:return c=c.trim(),[2,c]}})})}function nF(c,l){if(!l)return null;var E=document.createElement("style");return E.classList.add("darkreader"),E.classList.add("darkreader--cors"),E.media="screen",E.textContent=l,c.parentNode.insertBefore(E,c.nextSibling),E.sheet.disabled=!0,aL.add(E),E}var nu=[],Va,Nj=new Map,cu;function su(c){!A||m(c.querySelectorAll(":not(:defined)"),function(l){var E=l.tagName.toLowerCase();if(!E.includes("-")){var Y=l.getAttribute("is");if(Y)E=Y;else return}Nj.has(E)||(Nj.set(E,new Set),cF(E).then(function(){if(cu){var b=Nj.get(E);Nj.delete(E),cu(Array.from(b))}})),Nj.get(E).add(l)})}var Ha=!1;typeof document!="undefined"&&document.addEventListener("__darkreader__inlineScriptsAllowed",function(){Ha=!0});var Za=new Map;function TL(c){if(Ha=!0,Za.has(c.detail.tag)){var l=Za.get(c.detail.tag);l()}}function cF(c){return j(this,void 0,void 0,function(){return t(this,function(l){return[2,new Promise(function(E){if(window.customElements&&typeof customElements.whenDefined=="function")customElements.whenDefined(c).then(function(){return E()});else if(Ha)Za.set(c,E),document.dispatchEvent(new CustomEvent("__darkreader__addUndefinedResolver",{detail:{tag:c}}));else{var Y=function(){var b=Nj.get(c);b&&b.size>0&&(b.values().next().value.matches(":defined")?E():requestAnimationFrame(Y))};requestAnimationFrame(Y)}})]})})}function sF(c){cu=c}function yF(){cu=null,Nj.clear(),document.removeEventListener("__darkreader__isDefined",TL)}function LF(c,l,E){nL();var Y=new Set(c),b=new WeakMap,h=new WeakMap;function F(fM){b.set(fM,fM.previousElementSibling),h.set(fM,fM.nextElementSibling)}function q(fM){b.delete(fM),h.delete(fM)}function nM(fM){return fM.previousElementSibling!==b.get(fM)||fM.nextElementSibling!==h.get(fM)}c.forEach(F);function gM(fM){var UM=fM.createdStyles,HM=fM.removedStyles,eN=fM.movedStyles;UM.forEach(function(jN){return F(jN)}),eN.forEach(function(jN){return F(jN)}),HM.forEach(function(jN){return q(jN)}),UM.forEach(function(jN){return Y.add(jN)}),HM.forEach(function(jN){return Y.delete(jN)}),UM.size+HM.size+eN.size>0&&l({created:Array.from(UM),removed:Array.from(HM),moved:Array.from(eN),updated:[]})}function wM(fM){var UM=fM.additions,HM=fM.moves,eN=fM.deletions,jN=new Set,sN=new Set,yN=new Set;UM.forEach(function(aN){return Ci(aN).forEach(function(EN){return jN.add(EN)})}),eN.forEach(function(aN){return Ci(aN).forEach(function(EN){return sN.add(EN)})}),HM.forEach(function(aN){return Ci(aN).forEach(function(EN){return yN.add(EN)})}),gM({createdStyles:jN,removedStyles:sN,movedStyles:yN}),UM.forEach(function(aN){d(aN,GM),su(aN)})}function dM(fM){var UM=new Set(Ci(fM)),HM=new Set,eN=new Set,jN=new Set;UM.forEach(function(sN){Y.has(sN)||HM.add(sN)}),Y.forEach(function(sN){UM.has(sN)||eN.add(sN)}),UM.forEach(function(sN){!HM.has(sN)&&!eN.has(sN)&&nM(sN)&&jN.add(sN)}),gM({createdStyles:HM,removedStyles:eN,movedStyles:jN}),d(fM,GM),su(fM)}function $M(fM){var UM=new Set,HM=new Set;fM.forEach(function(eN){var jN=eN.target;jN.isConnected&&(zL(jN)?UM.add(jN):jN instanceof HTMLLinkElement&&jN.disabled&&HM.add(jN))}),UM.size+HM.size>0&&l({updated:Array.from(UM),created:[],removed:Array.from(HM),moved:[]})}function WM(fM){var UM=EM(fM,{onMinorMutations:wM,onHugeMutations:dM}),HM=new MutationObserver($M);HM.observe(fM,{attributes:!0,attributeFilter:["rel","disabled","media"],subtree:!0}),nu.push(UM,HM),Va.add(fM)}function GM(fM){var UM=fM.shadowRoot;UM==null||Va.has(UM)||(WM(UM),E(UM))}WM(document),d(document.documentElement,GM),sF(function(fM){var UM=[];fM.forEach(function(HM){return J(UM,Ci(HM.shadowRoot))}),l({created:UM,updated:[],removed:[],moved:[]}),fM.forEach(function(HM){var eN=HM.shadowRoot;eN!=null&&(GM(HM),d(eN,GM),su(eN))})}),document.addEventListener("__darkreader__isDefined",TL),su(document)}function oF(){nu.forEach(function(c){return c.disconnect()}),nu.splice(0,nu.length),Va=new WeakSet}function nL(){oF(),yF()}function lF(c){return(c<16?"0":"")+c.toString(16)}function IF(){if(typeof crypto=="undefined")return"xxx-xxxx";if("randomUUID"in crypto){var c=crypto.randomUUID();return c.substring(0,8)+c.substring(9,13)+c.substring(14,18)+c.substring(19,23)+c.substring(24)}return Array.from(crypto.getRandomValues(new Uint8Array(16))).map(function(l){return lF(l)}).join("")}var cL=new WeakMap,yu=new WeakSet;function OF(c){var l=!1;function E(h,F){var q=a([],u(c.adoptedStyleSheets),!1),nM=q.indexOf(h),gM=q.indexOf(F);nM!==gM-1&&(gM>=0&&q.splice(gM,1),q.splice(nM+1,0,F),c.adoptedStyleSheets=q)}function Y(){l=!0;var h=a([],u(c.adoptedStyleSheets),!1);c.adoptedStyleSheets.forEach(function(F){if(yu.has(F)){var q=h.indexOf(F);q>=0&&h.splice(q,1),cL.delete(F),yu.delete(F)}}),c.adoptedStyleSheets=h}function b(h,F){c.adoptedStyleSheets.forEach(function(q){if(yu.has(q))return;var nM=q.rules,gM=new CSSStyleSheet;function wM(){for(var $M=gM.cssRules.length-1;$M>=0;$M--)gM.deleteRule($M);return E(q,gM),cL.set(q,gM),yu.add(gM),gM}var dM=tL();dM.modifySheet({prepareSheet:wM,sourceCSSRules:nM,theme:h,ignoreImageAnalysis:F,force:!1,isAsyncCancelled:function(){return l}})})}return{render:b,destroy:Y}}function wF(c){document.dispatchEvent(new CustomEvent("__darkreader__inlineScriptsAllowed"));var l=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"addRule"),E=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"insertRule"),Y=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"deleteRule"),b=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"removeRule"),h=c?Object.getOwnPropertyDescriptor(Document.prototype,"styleSheets"):null,F=location.hostname.endsWith("baidu.com"),q=F?Object.getOwnPropertyDescriptor(Element.prototype,"getElementsByTagName"):null,nM=function(){Object.defineProperty(CSSStyleSheet.prototype,"addRule",l),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",E),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",Y),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",b),document.removeEventListener("__darkreader__cleanUp",nM),document.removeEventListener("__darkreader__addUndefinedResolver",gM),c&&Object.defineProperty(Document.prototype,"styleSheets",h),F&&Object.defineProperty(Element.prototype,"getElementsByTagName",q)},gM=function(HM){customElements.whenDefined(HM.detail.tag).then(function(){document.dispatchEvent(new CustomEvent("__darkreader__isDefined",{detail:{tag:HM.detail.tag}}))})};document.addEventListener("__darkreader__cleanUp",nM),document.addEventListener("__darkreader__addUndefinedResolver",gM);var wM=new Event("__darkreader__updateSheet");function dM(HM,eN,jN){return l.value.call(this,HM,eN,jN),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(wM),-1}function $M(HM,eN){var jN=E.value.call(this,HM,eN);return this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(wM),jN}function WM(HM){Y.value.call(this,HM),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(wM)}function GM(HM){b.value.call(this,HM),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(wM)}function fM(){var HM=h.get.call(this),eN=a([],u(HM),!1).filter(function(jN){return!jN.ownerNode.classList.contains("darkreader")});return Object.setPrototypeOf(eN,StyleSheetList.prototype)}function UM(HM){var eN=this;if(HM!=="style")return q.value.call(this,HM);var jN=function(){var aN=q.value.call(eN,HM);return Object.setPrototypeOf(a([],u(aN),!1).filter(function(EN){return!EN.classList.contains("darkreader")}),NodeList.prototype)},sN=jN(),yN={get:function(aN,EN){return jN()[Number(EN)]}};return sN=new Proxy(sN,yN),sN}Object.defineProperty(CSSStyleSheet.prototype,"addRule",Object.assign({},l,{value:dM})),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",Object.assign({},E,{value:$M})),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",Object.assign({},Y,{value:WM})),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",Object.assign({},b,{value:GM})),c&&Object.defineProperty(Document.prototype,"styleSheets",Object.assign({},h,{get:fM})),F&&Object.defineProperty(Element.prototype,"getElementsByTagName",Object.assign({},q,{value:UM}))}var sL=IF(),Ae=new Map,Lu=[],lN=null,ZN=null,yL=null,me=null,vt=null;function Ee(c,l){l===void 0&&(l=document.head||document);var E=l.querySelector("."+c);return E||(E=document.createElement("style"),E.classList.add("darkreader"),E.classList.add(c),E.media="screen",E.textContent=""),E}function AF(c,l){l===void 0&&(l=document.head||document);var E=l.querySelector("."+c);return E||(E=document.createElement("script"),E.classList.add("darkreader"),E.classList.add(c)),E}var Ft=new Map;function Dj(c,l){Ft.has(l)&&Ft.get(l).stop(),Ft.set(l,uM(c,"parent"))}function EF(){m(Ft.values(),function(c){return c.stop()}),Ft.clear()}function xF(){var c=Ee("darkreader--fallback",document);c.textContent=ba(lN,{strict:!0}),document.head.insertBefore(c,document.head.firstChild),Dj(c,"fallback");var l=Ee("darkreader--user-agent");l.textContent=p6(lN,yL,lN.styleSystemControls),document.head.insertBefore(l,c.nextSibling),Dj(l,"user-agent");var E=Ee("darkreader--text");lN.useFont||lN.textStroke>0?E.textContent=O6(lN):E.textContent="",document.head.insertBefore(E,c.nextSibling),Dj(E,"text");var Y=Ee("darkreader--invert");ZN&&Array.isArray(ZN.invert)&&ZN.invert.length>0?Y.textContent=[ZN.invert.join(", ")+" {"," filter: "+Py(i(i({},lN),{contrast:lN.mode===0?lN.contrast:qM(lN.contrast-10,0,100)}))+" !important;","}"].join(` +`)}function $6(c){var l=[];return c instanceof Element&&c.matches(mt)&&l.push(c),(c instanceof Element||O&&c instanceof ShadowRoot||c instanceof Document)&&J(l,c.querySelectorAll(mt)),l}var Bt=new Map,gu=new Map;function K6(c,l){Ga(document,c,l),d(document.documentElement,function(E){Ga(E.shadowRoot,c,l)})}function Ga(c,l,E){Bt.has(c)&&(Bt.get(c).disconnect(),gu.get(c).disconnect());var Y=new WeakSet;function b(fM){$6(fM).forEach(function(UM){Y.has(UM)||(Y.add(UM),l(UM))}),d(fM,function(UM){Y.has(fM)||(Y.add(fM),E(UM.shadowRoot),Ga(UM.shadowRoot,l,E))})}var h=EM(c,{onMinorMutations:function(fM){var UM=fM.additions;UM.forEach(function(HM){return b(HM)})},onHugeMutations:function(){b(c)}});Bt.set(c,h);var F=0,q=null,nM=bM({seconds:10}),gM=bM({seconds:2}),wM=50,dM=[],$M=null,WM=OM(function(fM){fM.forEach(function(UM){ru.includes(UM.attributeName)&&l(UM.target)})}),GM=new MutationObserver(function(fM){if($M){dM.push.apply(dM,a([],u(fM),!1));return}F++;var UM=Date.now();if(q==null)q=UM;else if(F>=wM){if(UM-q0&&NF(c,E)){h.forEach(function(dM){c.removeAttribute(Rj[dM].dataAttr)});return}if(c.hasAttribute("bgcolor")){var q=c.getAttribute("bgcolor");(q.match(/^[0-9a-f]{3}$/i)||q.match(/^[0-9a-f]{6}$/i))&&(q="#"+q),F("background-color","background-color",q)}if(c.hasAttribute("color")&&c.rel!=="mask-icon"){var q=c.getAttribute("color");(q.match(/^[0-9a-f]{3}$/i)||q.match(/^[0-9a-f]{6}$/i))&&(q="#"+q),F("color","color",q)}if(c instanceof SVGElement){if(c.hasAttribute("fill")){var nM=32,gM=c.getAttribute("fill");if(gM!=="none")if(c instanceof SVGTextElement)F("fill","color",gM);else{var wM=function(){var dM=c.getBoundingClientRect(),$M=dM.width,WM=dM.height,GM=$M>nM||WM>nM;F("fill",GM?"background-color":"color",gM)};Z()?wM():TM(wM)}}c.hasAttribute("stop-color")&&F("stop-color","background-color",c.getAttribute("stop-color"))}if(c.hasAttribute("stroke")){var q=c.getAttribute("stroke");F("stroke",c instanceof SVGLineElement||c instanceof SVGTextElement?"border-color":"color",q)}c.style&&rN(c.style,function(dM,$M){if(!(dM==="background-image"&&$M.includes("url")))if(Rj.hasOwnProperty(dM))F(dM,dM,$M);else{var WM=qy[dM];if(WM&&!c.style.getPropertyValue(WM)&&!c.hasAttribute(WM)){if(WM==="background-color"&&c.hasAttribute("bgcolor"))return;c.style.setProperty(dM,"")}}}),c.style&&c instanceof SVGTextElement&&c.style.fill&&F("fill","color",c.style.getPropertyValue("fill")),m(h,function(dM){c.removeAttribute(Rj[dM].dataAttr)}),NL.set(c,DL(c,l))}var eL="theme-color",iL='meta[name="'+eL+'"]',bt=null,ni=null;function jL(c,l){bt=bt||c.content;try{var E=ai(bt);c.content=bD(E,l)}catch{}}function DF(c){var l=document.querySelector(iL);l?jL(l,c):(ni&&ni.disconnect(),ni=new MutationObserver(function(E){M:for(var Y=0;Y0){var iD=IN.parentRule;UN={selector:IN.selectorText,declarations:CN,parentRule:iD},sN.push(UN)}E.set(kN,UN)},function(){h=!0}),HM.forEach(function(IN){l.delete(IN),E.delete(IN)}),b=eN,!WM&&!UM&&!jN)return;c++;function yN(IN,kN,WN){var CN=WN.selector,UN=WN.declarations,iD=function(Te){var xe=Te.property,HD=Te.value,Me=Te.important,vD=Te.sourceValue;return xe+": "+(HD==null?vD:HD)+(Me?" !important":"")+";"},vN="";UN.forEach(function(Te){vN+=iD(Te)+" "});var Be=CN+" { "+vN+" }";IN.insertRule(Be,kN)}var aN=new Map,EN=new Map,JN=0,$N=0,VD={rule:null,rules:[],isGroup:!0},ej=new WeakMap;function Si(IN){if(IN==null)return VD;if(ej.has(IN))return ej.get(IN);var kN={rule:IN,rules:[],isGroup:!0};ej.set(IN,kN);var WN=Si(IN.parentRule);return WN.rules.push(kN),kN}Y.forEach(function(IN){return IN()}),Y.clear(),sN.filter(function(IN){return IN}).forEach(function(IN){var kN=IN.selector,WN=IN.declarations,CN=IN.parentRule,UN=Si(CN),iD={selector:kN,declarations:[],isGroup:!1},vN=iD.declarations;UN.rules.push(iD);function Be(xe,HD,Me,vD){var Qe=++JN,ne={property:xe,value:null,important:Me,asyncKey:Qe,sourceValue:vD};vN.push(ne);var ij=c;HD.then(function(uN){!uN||fM()||ij!==c||(ne.value=uN,tF.add(function(){fM()||ij!==c||Nr(Qe)}))})}function Te(xe,HD,Me,vD){var Qe=HD,ne=Qe.declarations,ij=Qe.onTypeChange,uN=++$N,Ne=c,YD=vN.length,uD=[];if(ne.length===0){var ce={property:xe,value:vD,important:Me,sourceValue:vD,varKey:uN};vN.push(ce),uD=[ce]}ne.forEach(function(ZD){if(ZD.value instanceof Promise)Be(ZD.property,ZD.value,Me,vD);else{var LD={property:ZD.property,value:ZD.value,important:Me,sourceValue:vD,varKey:uN};vN.push(LD),uD.push(LD)}}),ij.addListener(function(ZD){if(!(fM()||Ne!==c)){var LD=ZD.map(function(Dr){return{property:Dr.property,value:Dr.value,important:Me,sourceValue:vD,varKey:uN}}),aD=vN.indexOf(uD[0],YD);vN.splice.apply(vN,a([aD,uD.length],u(LD),!1)),uD=LD,Gt(uN)}}),Y.add(function(){return ij.removeListeners()})}WN.forEach(function(xe){var HD=xe.property,Me=xe.value,vD=xe.important,Qe=xe.sourceValue;if(typeof Me=="function"){var ne=Me(dM);ne instanceof Promise?Be(HD,ne,vD,Qe):HD.startsWith("--")?Te(HD,ne,vD,Qe):vN.push({property:HD,value:ne,important:vD,sourceValue:Qe})}else vN.push({property:HD,value:Me,important:vD,sourceValue:Qe})})});var Rt=GM();function ou(){function IN(WN,CN){var UN=WN.rule;if(UN instanceof CSSMediaRule){var iD=UN.media,vN=CN.cssRules.length;return CN.insertRule("@media "+iD.mediaText+" {}",vN),CN.cssRules[vN]}return CN}function kN(WN,CN,UN){WN.rules.forEach(function(iD){if(iD.isGroup){var vN=IN(iD,CN);kN(iD,vN,UN)}else UN(iD,CN)})}kN(VD,Rt,function(WN,CN){var UN=CN.cssRules.length;WN.declarations.forEach(function(iD){var vN=iD.asyncKey,Be=iD.varKey;vN!=null&&aN.set(vN,{rule:WN,target:CN,index:UN}),Be!=null&&EN.set(Be,{rule:WN,target:CN,index:UN})}),yN(CN,UN,WN)})}function Nr(IN){var kN=aN.get(IN),WN=kN.rule,CN=kN.target,UN=kN.index;CN.deleteRule(UN),yN(CN,UN,WN),aN.delete(IN)}function Gt(IN){var kN=EN.get(IN),WN=kN.rule,CN=kN.target,UN=kN.index;CN.deleteRule(UN),yN(CN,UN,WN)}ou()}return{modifySheet:nM,shouldRebuildStyle:q}}var zF='style, link[rel*="stylesheet" i]:not([disabled])';function zL(c){return(c instanceof HTMLStyleElement||c instanceof SVGStyleElement||c instanceof HTMLLinkElement&&c.rel&&c.rel.toLowerCase().includes("stylesheet")&&!c.disabled&&(y?!c.href.startsWith("moz-extension://"):!0))&&!c.classList.contains("darkreader")&&c.media.toLowerCase()!=="print"&&!c.classList.contains("stylus")}function Ci(c,l,E){return l===void 0&&(l=[]),E===void 0&&(E=!0),zL(c)?l.push(c):(c instanceof Element||O&&c instanceof ShadowRoot||c===document)&&(m(c.querySelectorAll(zF),function(Y){return Ci(Y,l,!1)}),E&&d(c,function(Y){return Ci(Y.shadowRoot,l,!1)})),l}var uL=new WeakSet,aL=new WeakSet,Tu=!1;typeof document!="undefined"&&document.addEventListener("__darkreader__inlineScriptsAllowed",function(){Tu=!0});var uF=0,Gj=new Map;function aF(){Gj.clear()}function rF(c,l){for(var E=l.update,Y=l.loadingStart,b=l.loadingEnd,h=[],F=c;(F=F.nextElementSibling)&&F.matches(".darkreader");)h.push(F);var q=h.find(function(uN){return uN.matches(".darkreader--cors")&&!aL.has(uN)})||null,nM=h.find(function(uN){return uN.matches(".darkreader--sync")&&!uL.has(uN)})||null,gM=null,wM=null,dM=!1,$M=!0,WM=tL(),GM=new MutationObserver(function(){E()}),fM={attributes:!0,childList:!0,subtree:!0,characterData:!0};function UM(){return c instanceof HTMLStyleElement&&c.textContent.trim().match(GN)}function HM(uN,Ne){var YD=!1;if(uN){var uD=void 0;M:for(var ce=0,ZD=uN.length;ce=0;aD--)LD.deleteRule(aD)}function ce(){nM||sN(),wM&&wM.stop(),jN(),nM.sheet==null&&(nM.textContent="");var LD=nM.sheet;return uD(LD),wM?wM.run():wM=uM(nM,"prev-sibling",function(){VD=!0,ZD()}),nM.sheet}function ZD(){var LD=VD;VD=!1,WM.modifySheet({prepareSheet:ce,sourceCSSRules:YD,theme:uN,ignoreImageAnalysis:Ne,force:LD,isAsyncCancelled:function(){return dM}}),$M=nM.sheet.cssRules.length===0,WM.shouldRebuildStyle()&&TM(function(){return E()})}ZD()}function Si(){try{return c.sheet==null?[null,null]:[c.sheet.cssRules,null]}catch(uN){return[null,uN]}}function Rt(uN){return uN&&uN.message&&uN.message.includes("loading")}function ou(){var uN=u(Si(),2),Ne=uN[0],YD=uN[1];return YD?null:Ne}function Nr(){Be(),!s&&!(Tu&&c.sheet)&&CN()}var Gt=null,IN=null;function kN(){var uN=ou();return uN?uN.length:null}function WN(){return kN()!==Gt}function CN(){Gt=kN(),UN();var uN=function(){if(WN()&&(Gt=kN(),E()),Tu&&c.sheet){UN();return}IN=requestAnimationFrame(uN)};uN()}function UN(){cancelAnimationFrame(IN)}var iD=!1;function vN(){if(Tu=!0,UN(),iD)return;function uN(){iD=!1,!dM&&E()}iD=!0,typeof queueMicrotask=="function"?queueMicrotask(uN):requestAnimationFrame(uN)}function Be(){c.addEventListener("__darkreader__updateSheet",vN)}function Te(){c.removeEventListener("__darkreader__updateSheet",vN)}function xe(){Te(),UN()}function HD(){GM.disconnect(),dM=!0,gM&&gM.stop(),wM&&wM.stop(),xe()}function Me(){if(HD(),eM(q),eM(nM),b(),Gj.has(EN)){var uN=Gj.get(EN);Gj.delete(EN),uN&&uN()}}function vD(){GM.observe(c,fM),c instanceof HTMLStyleElement&&Nr()}var Qe=10,ne=0;function ij(){!nM||(ne++,!(ne>Qe)&&(jN(),gM&&gM.skip(),wM&&wM.skip(),$M||(VD=!0,E())))}return{details:$N,render:ej,pause:HD,destroy:Me,watch:vD,restore:ij}}function gF(c,l){return j(this,void 0,void 0,function(){return t(this,function(E){return[2,new Promise(function(Y,b){var h=function(){c.removeEventListener("load",F),c.removeEventListener("error",q),Gj.delete(l)},F=function(){h(),Y()},q=function(){h(),b("Linkelement "+l+" couldn't be loaded. "+c.href)};Gj.set(l,function(){h(),b()}),c.addEventListener("load",F),c.addEventListener("error",q),c.href||q()})]})})}function TF(c){return sD(c.substring(7).trim().replace(/;$/,"").replace(/screen$/,""))}function rL(c){return j(this,void 0,void 0,function(){return t(this,function(l){switch(l.label){case 0:return c.startsWith("data:")?[4,fetch(c)]:[3,3];case 1:return[4,l.sent().text()];case 2:return[2,l.sent()];case 3:return[4,Ry({url:c,responseType:"text",mimeType:"text/css",origin:window.location.origin})];case 4:return[2,l.sent()]}})})}function gL(c,l,E){return E===void 0&&(E=new Map),j(this,void 0,void 0,function(){var Y,b,h,F,q,nM,gM,wM,dM,$M;return t(this,function(WM){switch(WM.label){case 0:c=Mu(c),c=wa(c),c=Oa(c,l),Y=XM(GN,c),WM.label=1;case 1:WM.trys.push([1,10,11,12]),b=z(Y),h=b.next(),WM.label=2;case 2:return h.done?[3,9]:(F=h.value,q=TF(F),nM=CM(l,q),gM=void 0,E.has(nM)?(gM=E.get(nM),[3,7]):[3,3]);case 3:return WM.trys.push([3,6,,7]),[4,rL(nM)];case 4:return gM=WM.sent(),E.set(nM,gM),[4,gL(gM,zi(nM),E)];case 5:return gM=WM.sent(),[3,7];case 6:return WM.sent(),gM="",[3,7];case 7:c=c.split(F).join(gM),WM.label=8;case 8:return h=b.next(),[3,2];case 9:return[3,12];case 10:return wM=WM.sent(),dM={error:wM},[3,12];case 11:try{h&&!h.done&&($M=b.return)&&$M.call(b)}finally{if(dM)throw dM.error}return[7];case 12:return c=c.trim(),[2,c]}})})}function nF(c,l){if(!l)return null;var E=document.createElement("style");return E.classList.add("darkreader"),E.classList.add("darkreader--cors"),E.media="screen",E.textContent=l,c.parentNode.insertBefore(E,c.nextSibling),E.sheet.disabled=!0,aL.add(E),E}var nu=[],Va,Nj=new Map,cu;function su(c){!A||m(c.querySelectorAll(":not(:defined)"),function(l){var E=l.tagName.toLowerCase();if(!E.includes("-")){var Y=l.getAttribute("is");if(Y)E=Y;else return}Nj.has(E)||(Nj.set(E,new Set),cF(E).then(function(){if(cu){var b=Nj.get(E);Nj.delete(E),cu(Array.from(b))}})),Nj.get(E).add(l)})}var Ha=!1;typeof document!="undefined"&&document.addEventListener("__darkreader__inlineScriptsAllowed",function(){Ha=!0});var Za=new Map;function TL(c){if(Ha=!0,Za.has(c.detail.tag)){var l=Za.get(c.detail.tag);l()}}function cF(c){return j(this,void 0,void 0,function(){return t(this,function(l){return[2,new Promise(function(E){if(window.customElements&&typeof customElements.whenDefined=="function")customElements.whenDefined(c).then(function(){return E()});else if(Ha)Za.set(c,E),document.dispatchEvent(new CustomEvent("__darkreader__addUndefinedResolver",{detail:{tag:c}}));else{var Y=function(){var b=Nj.get(c);b&&b.size>0&&(b.values().next().value.matches(":defined")?E():requestAnimationFrame(Y))};requestAnimationFrame(Y)}})]})})}function sF(c){cu=c}function yF(){cu=null,Nj.clear(),document.removeEventListener("__darkreader__isDefined",TL)}function LF(c,l,E){nL();var Y=new Set(c),b=new WeakMap,h=new WeakMap;function F(fM){b.set(fM,fM.previousElementSibling),h.set(fM,fM.nextElementSibling)}function q(fM){b.delete(fM),h.delete(fM)}function nM(fM){return fM.previousElementSibling!==b.get(fM)||fM.nextElementSibling!==h.get(fM)}c.forEach(F);function gM(fM){var UM=fM.createdStyles,HM=fM.removedStyles,eN=fM.movedStyles;UM.forEach(function(jN){return F(jN)}),eN.forEach(function(jN){return F(jN)}),HM.forEach(function(jN){return q(jN)}),UM.forEach(function(jN){return Y.add(jN)}),HM.forEach(function(jN){return Y.delete(jN)}),UM.size+HM.size+eN.size>0&&l({created:Array.from(UM),removed:Array.from(HM),moved:Array.from(eN),updated:[]})}function wM(fM){var UM=fM.additions,HM=fM.moves,eN=fM.deletions,jN=new Set,sN=new Set,yN=new Set;UM.forEach(function(aN){return Ci(aN).forEach(function(EN){return jN.add(EN)})}),eN.forEach(function(aN){return Ci(aN).forEach(function(EN){return sN.add(EN)})}),HM.forEach(function(aN){return Ci(aN).forEach(function(EN){return yN.add(EN)})}),gM({createdStyles:jN,removedStyles:sN,movedStyles:yN}),UM.forEach(function(aN){d(aN,GM),su(aN)})}function dM(fM){var UM=new Set(Ci(fM)),HM=new Set,eN=new Set,jN=new Set;UM.forEach(function(sN){Y.has(sN)||HM.add(sN)}),Y.forEach(function(sN){UM.has(sN)||eN.add(sN)}),UM.forEach(function(sN){!HM.has(sN)&&!eN.has(sN)&&nM(sN)&&jN.add(sN)}),gM({createdStyles:HM,removedStyles:eN,movedStyles:jN}),d(fM,GM),su(fM)}function $M(fM){var UM=new Set,HM=new Set;fM.forEach(function(eN){var jN=eN.target;jN.isConnected&&(zL(jN)?UM.add(jN):jN instanceof HTMLLinkElement&&jN.disabled&&HM.add(jN))}),UM.size+HM.size>0&&l({updated:Array.from(UM),created:[],removed:Array.from(HM),moved:[]})}function WM(fM){var UM=EM(fM,{onMinorMutations:wM,onHugeMutations:dM}),HM=new MutationObserver($M);HM.observe(fM,{attributes:!0,attributeFilter:["rel","disabled","media"],subtree:!0}),nu.push(UM,HM),Va.add(fM)}function GM(fM){var UM=fM.shadowRoot;UM==null||Va.has(UM)||(WM(UM),E(UM))}WM(document),d(document.documentElement,GM),sF(function(fM){var UM=[];fM.forEach(function(HM){return J(UM,Ci(HM.shadowRoot))}),l({created:UM,updated:[],removed:[],moved:[]}),fM.forEach(function(HM){var eN=HM.shadowRoot;eN!=null&&(GM(HM),d(eN,GM),su(eN))})}),document.addEventListener("__darkreader__isDefined",TL),su(document)}function oF(){nu.forEach(function(c){return c.disconnect()}),nu.splice(0,nu.length),Va=new WeakSet}function nL(){oF(),yF()}function lF(c){return(c<16?"0":"")+c.toString(16)}function IF(){if(typeof crypto=="undefined")return"xxx-xxxx";if("randomUUID"in crypto){var c=crypto.randomUUID();return c.substring(0,8)+c.substring(9,13)+c.substring(14,18)+c.substring(19,23)+c.substring(24)}return Array.from(crypto.getRandomValues(new Uint8Array(16))).map(function(l){return lF(l)}).join("")}var cL=new WeakMap,yu=new WeakSet;function OF(c){var l=!1;function E(h,F){var q=a([],u(c.adoptedStyleSheets),!1),nM=q.indexOf(h),gM=q.indexOf(F);nM!==gM-1&&(gM>=0&&q.splice(gM,1),q.splice(nM+1,0,F),c.adoptedStyleSheets=q)}function Y(){l=!0;var h=a([],u(c.adoptedStyleSheets),!1);c.adoptedStyleSheets.forEach(function(F){if(yu.has(F)){var q=h.indexOf(F);q>=0&&h.splice(q,1),cL.delete(F),yu.delete(F)}}),c.adoptedStyleSheets=h}function b(h,F){c.adoptedStyleSheets.forEach(function(q){if(yu.has(q))return;var nM=q.rules,gM=new CSSStyleSheet;function wM(){for(var $M=gM.cssRules.length-1;$M>=0;$M--)gM.deleteRule($M);return E(q,gM),cL.set(q,gM),yu.add(gM),gM}var dM=tL();dM.modifySheet({prepareSheet:wM,sourceCSSRules:nM,theme:h,ignoreImageAnalysis:F,force:!1,isAsyncCancelled:function(){return l}})})}return{render:b,destroy:Y}}function wF(c){document.dispatchEvent(new CustomEvent("__darkreader__inlineScriptsAllowed"));var l=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"addRule"),E=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"insertRule"),Y=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"deleteRule"),b=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"removeRule"),h=c?Object.getOwnPropertyDescriptor(Document.prototype,"styleSheets"):null,F=location.hostname.endsWith("baidu.com"),q=F?Object.getOwnPropertyDescriptor(Element.prototype,"getElementsByTagName"):null,nM=function(){Object.defineProperty(CSSStyleSheet.prototype,"addRule",l),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",E),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",Y),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",b),document.removeEventListener("__darkreader__cleanUp",nM),document.removeEventListener("__darkreader__addUndefinedResolver",gM),c&&Object.defineProperty(Document.prototype,"styleSheets",h),F&&Object.defineProperty(Element.prototype,"getElementsByTagName",q)},gM=function(HM){customElements.whenDefined(HM.detail.tag).then(function(){document.dispatchEvent(new CustomEvent("__darkreader__isDefined",{detail:{tag:HM.detail.tag}}))})};document.addEventListener("__darkreader__cleanUp",nM),document.addEventListener("__darkreader__addUndefinedResolver",gM);var wM=new Event("__darkreader__updateSheet");function dM(HM,eN,jN){return l.value.call(this,HM,eN,jN),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(wM),-1}function $M(HM,eN){var jN=E.value.call(this,HM,eN);return this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(wM),jN}function WM(HM){Y.value.call(this,HM),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(wM)}function GM(HM){b.value.call(this,HM),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(wM)}function fM(){var HM=h.get.call(this),eN=a([],u(HM),!1).filter(function(jN){return!jN.ownerNode.classList.contains("darkreader")});return Object.setPrototypeOf(eN,StyleSheetList.prototype)}function UM(HM){var eN=this;if(HM!=="style")return q.value.call(this,HM);var jN=function(){var aN=q.value.call(eN,HM);return Object.setPrototypeOf(a([],u(aN),!1).filter(function(EN){return!EN.classList.contains("darkreader")}),NodeList.prototype)},sN=jN(),yN={get:function(aN,EN){return jN()[Number(EN)]}};return sN=new Proxy(sN,yN),sN}Object.defineProperty(CSSStyleSheet.prototype,"addRule",Object.assign({},l,{value:dM})),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",Object.assign({},E,{value:$M})),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",Object.assign({},Y,{value:WM})),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",Object.assign({},b,{value:GM})),c&&Object.defineProperty(Document.prototype,"styleSheets",Object.assign({},h,{get:fM})),F&&Object.defineProperty(Element.prototype,"getElementsByTagName",Object.assign({},q,{value:UM}))}var sL=IF(),Ae=new Map,Lu=[],lN=null,ZN=null,yL=null,me=null,vt=null;function Ee(c,l){l===void 0&&(l=document.head||document);var E=l.querySelector("."+c);return E||(E=document.createElement("style"),E.classList.add("darkreader"),E.classList.add(c),E.media="screen",E.textContent=""),E}function AF(c,l){l===void 0&&(l=document.head||document);var E=l.querySelector("."+c);return E||(E=document.createElement("script"),E.classList.add("darkreader"),E.classList.add(c)),E}var Ft=new Map;function Dj(c,l){Ft.has(l)&&Ft.get(l).stop(),Ft.set(l,uM(c,"parent"))}function EF(){m(Ft.values(),function(c){return c.stop()}),Ft.clear()}function xF(){var c=Ee("darkreader--fallback",document);c.textContent=ba(lN,{strict:!0}),document.head.insertBefore(c,document.head.firstChild),Dj(c,"fallback");var l=Ee("darkreader--user-agent");l.textContent=p6(lN,yL,lN.styleSystemControls),document.head.insertBefore(l,c.nextSibling),Dj(l,"user-agent");var E=Ee("darkreader--text");lN.useFont||lN.textStroke>0?E.textContent=O6(lN):E.textContent="",document.head.insertBefore(E,c.nextSibling),Dj(E,"text");var Y=Ee("darkreader--invert");ZN&&Array.isArray(ZN.invert)&&ZN.invert.length>0?Y.textContent=[ZN.invert.join(", ")+" {"," filter: "+Py(i(i({},lN),{contrast:lN.mode===0?lN.contrast:qM(lN.contrast-10,0,100)}))+" !important;","}"].join(` `):Y.textContent="",document.head.insertBefore(Y,E.nextSibling),Dj(Y,"invert");var b=Ee("darkreader--inline");b.textContent=ML(),document.head.insertBefore(b,Y.nextSibling),Dj(b,"inline");var h=Ee("darkreader--override");h.textContent=ZN&&ZN.css?LL(ZN.css):"",document.head.appendChild(h),Dj(h,"override");var F=Ee("darkreader--variables"),q=Wy(lN),nM=lN.darkSchemeBackgroundColor,gM=lN.darkSchemeTextColor,wM=lN.lightSchemeBackgroundColor,dM=lN.lightSchemeTextColor,$M=lN.mode,WM=$M===0?wM:nM,GM=$M===0?dM:gM;WM=bD(ai(WM),lN),GM=Xe(ai(GM),lN),F.textContent=[":root {"," --darkreader-neutral-background: "+WM+";"," --darkreader-neutral-text: "+GM+";"," --darkreader-selection-background: "+q.backgroundColorSelection+";"," --darkreader-selection-text: "+q.foregroundColorSelection+";","}"].join(` `),document.head.insertBefore(F,b.nextSibling),Dj(F,"variables");var fM=Ee("darkreader--root-vars");document.head.insertBefore(fM,F.nextSibling);var UM=AF("darkreader--proxy");UM.append("("+wF+")(!"+(ZN&&ZN.disableStyleSheetsProxy)+")"),document.head.insertBefore(UM,fM.nextSibling),UM.remove()}var Xa=new Set;function Ja(c){var l=Ee("darkreader--inline",c);l.textContent=ML(),c.insertBefore(l,c.firstChild);var E=Ee("darkreader--override",c);E.textContent=ZN&&ZN.css?LL(ZN.css):"",c.insertBefore(E,l.nextSibling);var Y=Ee("darkreader--invert",c);ZN&&Array.isArray(ZN.invert)&&ZN.invert.length>0?Y.textContent=[ZN.invert.join(", ")+" {"," filter: "+Py(i(i({},lN),{contrast:lN.mode===0?lN.contrast:qM(lN.contrast-10,0,100)}))+" !important;","}"].join(` `):Y.textContent="",c.insertBefore(Y,E.nextSibling),Xa.add(c)}function LL(c){return c.replace(/\${(.+?)}/g,function(l,E){var Y=fi(E);return Y?s6(Y,lN):E})}function $a(){var c=document.querySelector(".darkreader--fallback");c&&(c.textContent="")}function QF(){IL();var c=Ci(document),l=c.filter(function(Y){return!Ae.has(Y)}).map(function(Y){return oL(Y)});l.map(function(Y){return Y.details({secondRound:!1})}).filter(function(Y){return Y&&Y.rules.length>0}).forEach(function(Y){qD.addRulesForMatching(Y.rules)}),qD.matchVariablesAndDependants(),qD.setOnRootVariableChange(function(){qD.putRootVars(document.head.querySelector(".darkreader--root-vars"),lN)}),qD.putRootVars(document.head.querySelector(".darkreader--root-vars"),lN),Ae.forEach(function(Y){return Y.render(lN,me)}),Ui.size===0&&$a(),l.forEach(function(Y){return Y.watch()});var E=K(document.querySelectorAll(mt));d(document.documentElement,function(Y){Ja(Y.shadowRoot);var b=Y.shadowRoot.querySelectorAll(mt);b.length>0&&J(E,b)}),E.forEach(function(Y){return Wa(Y,lN,vt,me)}),xL(document)}var YF=0,Ui=new Set;function oL(c){var l=++YF;function E(){if(!G()||!wL){Ui.add(l),""+Ui.size;var F=document.querySelector(".darkreader--fallback");F.textContent||(F.textContent=ba(lN,{strict:!1}))}}function Y(){Ui.delete(l),""+l+Ui.size,Ui.size===0&&G()&&$a()}function b(){var F=h.details({secondRound:!0});!F||(qD.addRulesForMatching(F.rules),qD.matchVariablesAndDependants(),h.render(lN,me))}var h=rF(c,{update:b,loadingStart:E,loadingEnd:Y});return Ae.set(c,h),h}function lL(c){var l=Ae.get(c);l&&(l.destroy(),Ae.delete(c))}var kF=OM(function(c){Ae.forEach(function(l){return l.render(lN,me)}),Lu.forEach(function(l){return l.render(lN,me)}),c&&c()}),IL=function(){kF.cancel()};function OL(){if(Ui.size===0){$a();return}}var _t=null,wL=typeof document!="undefined"&&!document.hidden;function fF(c){var l=Boolean(_t);_t=function(){document.hidden||(AL(),c(),wL=!0)},l||document.addEventListener("visibilitychange",_t)}function AL(){document.removeEventListener("visibilitychange",_t),_t=null}function EL(){xF();function c(){QF(),dF()}document.hidden?fF(c):c(),DF(lN)}function xL(c){if(Array.isArray(c.adoptedStyleSheets)&&c.adoptedStyleSheets.length>0){var l=OF(c);Lu.push(l),l.render(lN,me)}}function dF(){var c=Array.from(Ae.keys());LF(c,function(l){var E=l.created,Y=l.updated,b=l.removed,h=l.moved,F=b,q=E.concat(Y).concat(h).filter(function(wM){return!Ae.has(wM)}),nM=h.filter(function(wM){return Ae.has(wM)});F.forEach(function(wM){return lL(wM)});var gM=q.map(function(wM){return oL(wM)});gM.map(function(wM){return wM.details({secondRound:!1})}).filter(function(wM){return wM&&wM.rules.length>0}).forEach(function(wM){qD.addRulesForMatching(wM.rules)}),qD.matchVariablesAndDependants(),gM.forEach(function(wM){return wM.render(lN,me)}),gM.forEach(function(wM){return wM.watch()}),nM.forEach(function(wM){return Ae.get(wM).restore()})},function(l){Ja(l),xL(l)}),K6(function(l){if(Wa(l,lN,vt,me),l===document.documentElement){var E=l.getAttribute("style");E.includes("--")&&(qD.matchVariablesAndDependants(),qD.putRootVars(document.head.querySelector(".darkreader--root-vars"),lN))}},function(l){Ja(l);var E=l.querySelectorAll(mt);E.length>0&&m(E,function(Y){return Wa(Y,lN,vt,me)})}),P(OL)}function CF(){Ae.forEach(function(c){return c.pause()}),EF(),nL(),q6(),p(OL),DM()}function UF(){var c=document.createElement("meta");c.name="darkreader",c.content=sL,document.head.appendChild(c)}function QL(){var c=document.querySelector('meta[name="darkreader"]');return c?c.content!==sL:(UF(),!1)}function SF(c,l,E){if(lN=c,ZN=l,ZN?(me=Array.isArray(ZN.ignoreImageAnalysis)?ZN.ignoreImageAnalysis:[],vt=Array.isArray(ZN.ignoreInlineStyle)?ZN.ignoreInlineStyle:[]):(me=[],vt=[]),yL=E,document.head){if(QL())return;document.documentElement.setAttribute("data-darkreader-mode","dynamic"),document.documentElement.setAttribute("data-darkreader-scheme",lN.mode?"dark":"dimmed"),EL()}else{if(!y){var Y=Ee("darkreader--fallback");document.documentElement.appendChild(Y),Y.textContent=ba(lN,{strict:!0})}var b=new MutationObserver(function(){if(document.head){if(b.disconnect(),QL()){YL();return}EL()}});b.observe(document,{childList:!0,subtree:!0})}}function pF(){document.dispatchEvent(new CustomEvent("__darkreader__cleanUp")),eM(document.head.querySelector(".darkreader--proxy"))}function YL(){document.documentElement.removeAttribute("data-darkreader-mode"),document.documentElement.removeAttribute("data-darkreader-scheme"),hF(),eM(document.querySelector(".darkreader--fallback")),document.head&&(eF(),eM(document.head.querySelector(".darkreader--user-agent")),eM(document.head.querySelector(".darkreader--text")),eM(document.head.querySelector(".darkreader--invert")),eM(document.head.querySelector(".darkreader--inline")),eM(document.head.querySelector(".darkreader--override")),eM(document.head.querySelector(".darkreader--variables")),eM(document.head.querySelector(".darkreader--root-vars")),eM(document.head.querySelector('meta[name="darkreader"]')),pF()),Xa.forEach(function(c){eM(c.querySelector(".darkreader--inline")),eM(c.querySelector(".darkreader--override"))}),Xa.clear(),m(Ae.keys(),function(c){return lL(c)}),Ui.clear(),aF(),m(document.querySelectorAll(".darkreader"),eM),Lu.forEach(function(c){c.destroy()}),Lu.splice(0)}function hF(){qD.clear(),mM.clear(),AL(),IL(),CF(),G6()}var kL=/url\(\"(blob\:.*?)\"\)/g;function mF(c){return j(this,void 0,void 0,function(){var l,E;return t(this,function(Y){switch(Y.label){case 0:return l=[],XM(kL,c,1).forEach(function(b){var h=Q(b);l.push(h)}),[4,Promise.all(l)];case 1:return E=Y.sent(),[2,c.replace(kL,function(){return'url("'+E.shift()+'")'})]}})})}var BF=`/*