main.js 364 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. (()=>{var __webpack_modules__={8185:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const r=n(7147);t.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},1107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const n=process.versions.node.split(".");if(void 0===n[0]||void 0===n[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const r=Number.parseInt(n[0],10),o=Number.parseInt(n[1],10),s=r>10,i=10===r&&o>=10;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=s||i},5923:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.scandirSync=t.scandir=void 0;const r=n(1411),o=n(3953),s=n(6913);function i(e={}){return e instanceof s.default?e:new s.default(e)}t.Settings=s.default,t.scandir=function(e,t,n){"function"!=typeof t?r.read(e,i(t),n):r.read(e,i(),t)},t.scandirSync=function(e,t){const n=i(t);return o.read(e,n)}},1411:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const r=n(6203),o=n(4595),s=n(1107),i=n(6582),a=n(4587);function c(e,t,n){t.fs.readdir(e,{withFileTypes:!0},((r,s)=>{if(null!==r)return void u(n,r);const c=s.map((n=>({dirent:n,name:n.name,path:a.joinPathSegments(e,n.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks)return void p(n,c);const l=c.map((e=>function(e,t){return n=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,((r,o)=>{if(null!==r)return t.throwErrorOnBrokenSymbolicLink?void n(r):void n(null,e);e.dirent=i.fs.createDirentFromStats(e.name,o),n(null,e)})):n(null,e)}}(e,t)));o(l,((e,t)=>{null===e?p(n,t):u(n,e)}))}))}function l(e,t,n){t.fs.readdir(e,((s,c)=>{if(null!==s)return void u(n,s);const l=c.map((n=>{const o=a.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{r.stat(o,t.fsStatSettings,((r,s)=>{if(null!==r)return void e(r);const a={name:n,path:o,dirent:i.fs.createDirentFromStats(n,s)};t.stats&&(a.stats=s),e(null,a)}))}}));o(l,((e,t)=>{null===e?p(n,t):u(n,e)}))}))}function u(e,t){e(t)}function p(e,t){e(null,t)}t.read=function(e,t,n){t.stats||!s.IS_SUPPORT_READDIR_WITH_FILE_TYPES?l(e,t,n):c(e,t,n)},t.readdirWithFileTypes=c,t.readdir=l},4587:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=void 0,t.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t}},3953:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const r=n(6203),o=n(1107),s=n(6582),i=n(4587);function a(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map((n=>{const r={dirent:n,name:n.name,path:i.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(r.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(r.path);r.dirent=s.fs.createDirentFromStats(r.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return r}))}function c(e,t){return t.fs.readdirSync(e).map((n=>{const o=i.joinPathSegments(e,n,t.pathSegmentSeparator),a=r.statSync(o,t.fsStatSettings),c={name:n,path:o,dirent:s.fs.createDirentFromStats(n,a)};return t.stats&&(c.stats=a),c}))}t.read=function(e,t){return!t.stats&&o.IS_SUPPORT_READDIR_WITH_FILE_TYPES?a(e,t):c(e,t)},t.readdirWithFileTypes=a,t.readdir=c},6913:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1017),o=n(6203),s=n(8185);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=s.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,r.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new o.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},322:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class n{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new n(e,t)}},6582:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fs=void 0;const r=n(322);t.fs=r},8980:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const r=n(7147);t.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},6203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statSync=t.stat=t.Settings=void 0;const r=n(2654),o=n(8946),s=n(8328);function i(e={}){return e instanceof s.default?e:new s.default(e)}t.Settings=s.default,t.stat=function(e,t,n){"function"!=typeof t?r.read(e,i(t),n):r.read(e,i(),t)},t.statSync=function(e,t){const n=i(t);return o.read(e,n)}},2654:(e,t)=>{"use strict";function n(e,t){e(t)}function r(e,t){e(null,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t,o){t.fs.lstat(e,((s,i)=>{null===s?i.isSymbolicLink()&&t.followSymbolicLink?t.fs.stat(e,((e,s)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?void n(o,e):void r(o,i);t.markSymbolicLink&&(s.isSymbolicLink=()=>!0),r(o,s)})):r(o,i):n(o,s)}))}},8946:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t){const n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{const n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}}},8328:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8980);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=r.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}}},5439:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.walkStream=t.walkSync=t.walk=void 0;const r=n(9346),o=n(215),s=n(4078),i=n(8690);function a(e={}){return e instanceof i.default?e:new i.default(e)}t.Settings=i.default,t.walk=function(e,t,n){"function"!=typeof t?new r.default(e,a(t)).read(n):new r.default(e,a()).read(t)},t.walkSync=function(e,t){const n=a(t);return new s.default(e,n).read()},t.walkStream=function(e,t){const n=a(t);return new o.default(e,n).read()}},9346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4714);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError((t=>{!function(e,t){e(t)}(e,t)})),this._reader.onEntry((e=>{this._storage.push(e)})),this._reader.onEnd((()=>{!function(e,t){e(null,t)}(e,this._storage)})),this._reader.read()}}},215:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2781),o=n(4714);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new o.default(this._root,this._settings),this._stream=new r.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError((e=>{this._stream.emit("error",e)})),this._reader.onEntry((e=>{this._stream.push(e)})),this._reader.onEnd((()=>{this._stream.push(null)})),this._reader.read(),this._stream}}},4078:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9555);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings)}read(){return this._reader.read()}}},4714:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2361),o=n(5923),s=n(373),i=n(6865),a=n(5274);class c extends a.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=o.scandir,this._emitter=new r.EventEmitter,this._queue=s(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)})),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const n={directory:e,base:t};this._queue.push(n,(e=>{null!==e&&this._handleError(e)}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((n,r)=>{if(null===n){for(const t of r)this._handleEntry(t,e.base);t(null,void 0)}else t(n,void 0)}))}_handleError(e){!this._isDestroyed&&i.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const n=e.path;void 0!==t&&(e.path=i.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),i.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&i.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}t.default=c},6865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0,t.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},t.isAppliedFilter=function(e,t){return null===e||e(t)},t.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},t.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t}},5274:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6865);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=r.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}},9555:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5923),o=n(6865),s=n(5274);class i extends s.default{constructor(){super(...arguments),this._scandir=r.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const n=this._scandir(e,this._settings.fsScandirSettings);for(const e of n)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(o.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=o.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),o.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&o.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}t.default=i},8690:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1017),o=n(5923);t.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,r.sep),this.fsScandirSettings=new o.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},5003:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BASE_TRANSITION:()=>p,CAMELIZE:()=>D,CAPITALIZE:()=>F,CREATE_BLOCK:()=>d,CREATE_COMMENT:()=>v,CREATE_ELEMENT_BLOCK:()=>h,CREATE_ELEMENT_VNODE:()=>m,CREATE_SLOTS:()=>A,CREATE_STATIC:()=>_,CREATE_TEXT:()=>y,CREATE_VNODE:()=>g,DOMDirectiveTransforms:()=>wr,DOMNodeTransforms:()=>Er,FRAGMENT:()=>a,GUARD_REACTIVE_PROPS:()=>N,IS_MEMO_SAME:()=>W,IS_REF:()=>U,KEEP_ALIVE:()=>u,MERGE_PROPS:()=>O,NORMALIZE_CLASS:()=>P,NORMALIZE_PROPS:()=>M,NORMALIZE_STYLE:()=>T,OPEN_BLOCK:()=>f,POP_SCOPE_ID:()=>j,PUSH_SCOPE_ID:()=>B,RENDER_LIST:()=>C,RENDER_SLOT:()=>k,RESOLVE_COMPONENT:()=>b,RESOLVE_DIRECTIVE:()=>E,RESOLVE_DYNAMIC_COMPONENT:()=>S,RESOLVE_FILTER:()=>w,SET_BLOCK_TRACKING:()=>V,SUSPENSE:()=>l,TELEPORT:()=>c,TO_DISPLAY_STRING:()=>R,TO_HANDLERS:()=>L,TO_HANDLER_KEY:()=>I,TRANSITION:()=>cr,TRANSITION_GROUP:()=>lr,UNREF:()=>H,V_MODEL_CHECKBOX:()=>tr,V_MODEL_DYNAMIC:()=>or,V_MODEL_RADIO:()=>er,V_MODEL_SELECT:()=>rr,V_MODEL_TEXT:()=>nr,V_ON_WITH_KEYS:()=>ir,V_ON_WITH_MODIFIERS:()=>sr,V_SHOW:()=>ar,WITH_CTX:()=>$,WITH_DIRECTIVES:()=>x,WITH_MEMO:()=>q,advancePositionWithClone:()=>Ce,advancePositionWithMutation:()=>ke,assert:()=>Ae,baseCompile:()=>Zn,baseParse:()=>Qe,buildProps:()=>An,buildSlots:()=>bn,checkCompatEnabled:()=>Ke,compile:()=>xr,createArrayExpression:()=>X,createAssignmentExpression:()=>ue,createBlockStatement:()=>ae,createCacheExpression:()=>ie,createCallExpression:()=>re,createCompilerError:()=>i,createCompoundExpression:()=>ne,createConditionalExpression:()=>se,createDOMCompilerError:()=>gr,createForLoopParams:()=>gn,createFunctionExpression:()=>oe,createIfStatement:()=>le,createInterpolation:()=>te,createObjectExpression:()=>Z,createObjectProperty:()=>Q,createReturnStatement:()=>fe,createRoot:()=>Y,createSequenceExpression:()=>pe,createSimpleExpression:()=>ee,createStructuralDirectiveTransform:()=>Dt,createTemplateLiteral:()=>ce,createTransformContext:()=>Mt,createVNodeCall:()=>J,extractIdentifiers:()=>Jt,findDir:()=>Re,findProp:()=>Oe,generate:()=>It,generateCodeFrame:()=>r.generateCodeFrame,getBaseTransformPreset:()=>Xn,getInnerRange:()=>xe,getMemoedVNodeCall:()=>Ue,getVNodeBlockHelper:()=>Ie,getVNodeHelper:()=>Fe,hasDynamicKeyVBind:()=>Te,hasScopeRef:()=>He,helperNameMap:()=>z,injectProp:()=>je,isBuiltInType:()=>he,isCoreComponent:()=>ge,isFunctionType:()=>Xt,isInDestructureAssignment:()=>Gt,isMemberExpression:()=>we,isMemberExpressionBrowser:()=>Se,isMemberExpressionNode:()=>Ee,isReferencedIdentifier:()=>zt,isSimpleIdentifier:()=>ve,isSlotOutlet:()=>De,isStaticArgOf:()=>Pe,isStaticExp:()=>de,isStaticProperty:()=>Zt,isStaticPropertyKey:()=>Qt,isTemplateNode:()=>Le,isText:()=>Me,isVSlot:()=>Ne,locStub:()=>K,makeBlock:()=>qe,noopDirectiveTransform:()=>Qn,parse:()=>Cr,parserOptions:()=>fr,processExpression:()=>tn,processFor:()=>ln,processIf:()=>rn,processSlotOutlet:()=>Ln,registerRuntimeHelpers:()=>G,resolveComponentType:()=>kn,toValidAssetId:()=>$e,trackSlotScopes:()=>vn,trackVForSlotScopes:()=>yn,transform:()=>Nt,transformBind:()=>In,transformElement:()=>Cn,transformExpression:()=>en,transformModel:()=>Hn,transformOn:()=>Fn,transformStyle:()=>dr,traverseNode:()=>Lt,walkBlockDeclarations:()=>Yt,walkFunctionParams:()=>Kt,walkIdentifiers:()=>Wt,warnDeprecation:()=>Ye});var r=n(3577);function o(e){throw e}function s(e){}function i(e,t,n,r){const o=new SyntaxError(String(e));return o.code=e,o.loc=t,o}const a=Symbol(""),c=Symbol(""),l=Symbol(""),u=Symbol(""),p=Symbol(""),f=Symbol(""),d=Symbol(""),h=Symbol(""),g=Symbol(""),m=Symbol(""),v=Symbol(""),y=Symbol(""),_=Symbol(""),b=Symbol(""),S=Symbol(""),E=Symbol(""),w=Symbol(""),x=Symbol(""),C=Symbol(""),k=Symbol(""),A=Symbol(""),R=Symbol(""),O=Symbol(""),P=Symbol(""),T=Symbol(""),M=Symbol(""),N=Symbol(""),L=Symbol(""),D=Symbol(""),F=Symbol(""),I=Symbol(""),V=Symbol(""),B=Symbol(""),j=Symbol(""),$=Symbol(""),H=Symbol(""),U=Symbol(""),q=Symbol(""),W=Symbol(""),z={[a]:"Fragment",[c]:"Teleport",[l]:"Suspense",[u]:"KeepAlive",[p]:"BaseTransition",[f]:"openBlock",[d]:"createBlock",[h]:"createElementBlock",[g]:"createVNode",[m]:"createElementVNode",[v]:"createCommentVNode",[y]:"createTextVNode",[_]:"createStaticVNode",[b]:"resolveComponent",[S]:"resolveDynamicComponent",[E]:"resolveDirective",[w]:"resolveFilter",[x]:"withDirectives",[C]:"renderList",[k]:"renderSlot",[A]:"createSlots",[R]:"toDisplayString",[O]:"mergeProps",[P]:"normalizeClass",[T]:"normalizeStyle",[M]:"normalizeProps",[N]:"guardReactiveProps",[L]:"toHandlers",[D]:"camelize",[F]:"capitalize",[I]:"toHandlerKey",[V]:"setBlockTracking",[B]:"pushScopeId",[j]:"popScopeId",[$]:"withCtx",[H]:"unref",[U]:"isRef",[q]:"withMemo",[W]:"isMemoSame"};function G(e){Object.getOwnPropertySymbols(e).forEach((t=>{z[t]=e[t]}))}const K={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Y(e,t=K){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function J(e,t,n,r,o,s,i,a=!1,c=!1,l=!1,u=K){return e&&(a?(e.helper(f),e.helper(Ie(e.inSSR,l))):e.helper(Fe(e.inSSR,l)),i&&e.helper(x)),{type:13,tag:t,props:n,children:r,patchFlag:o,dynamicProps:s,directives:i,isBlock:a,disableTracking:c,isComponent:l,loc:u}}function X(e,t=K){return{type:17,loc:t,elements:e}}function Z(e,t=K){return{type:15,loc:t,properties:e}}function Q(e,t){return{type:16,loc:K,key:(0,r.isString)(e)?ee(e,!0):e,value:t}}function ee(e,t=!1,n=K,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function te(e,t){return{type:5,loc:t,content:(0,r.isString)(e)?ee(e,!1,t):e}}function ne(e,t=K){return{type:8,loc:t,children:e}}function re(e,t=[],n=K){return{type:14,loc:n,callee:e,arguments:t}}function oe(e,t,n=!1,r=!1,o=K){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:o}}function se(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:K}}function ie(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:K}}function ae(e){return{type:21,body:e,loc:K}}function ce(e){return{type:22,elements:e,loc:K}}function le(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:K}}function ue(e,t){return{type:24,left:e,right:t,loc:K}}function pe(e){return{type:25,expressions:e,loc:K}}function fe(e){return{type:26,returns:e,loc:K}}const de=e=>4===e.type&&e.isStatic,he=(e,t)=>e===t||e===(0,r.hyphenate)(t);function ge(e){return he(e,"Teleport")?c:he(e,"Suspense")?l:he(e,"KeepAlive")?u:he(e,"BaseTransition")?p:void 0}const me=/^\d|[^\$\w]/,ve=e=>!me.test(e),ye=/[A-Za-z_$\xA0-\uFFFF]/,_e=/[\.\?\w$\xA0-\uFFFF]/,be=/\s+[.[]\s*|\s*[.[]\s+/g,Se=e=>{e=e.trim().replace(be,(e=>e.trim()));let t=0,n=[],r=0,o=0,s=null;for(let i=0;i<e.length;i++){const a=e.charAt(i);switch(t){case 0:if("["===a)n.push(t),t=1,r++;else if("("===a)n.push(t),t=2,o++;else if(!(0===i?ye:_e).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(n.push(t),t=3,s=a):"["===a?r++:"]"===a&&(--r||(t=n.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)n.push(t),t=3,s=a;else if("("===a)o++;else if(")"===a){if(i===e.length-1)return!1;--o||(t=n.pop())}break;case 3:a===s&&(t=n.pop(),s=null)}}return!r&&!o},Ee=r.NOOP,we=Se;function xe(e,t,n){const r={source:e.source.slice(t,t+n),start:Ce(e.start,e.source,t),end:e.end};return null!=n&&(r.end=Ce(e.start,e.source,t+n)),r}function Ce(e,t,n=t.length){return ke((0,r.extend)({},e),t,n)}function ke(e,t,n=t.length){let r=0,o=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(r++,o=e);return e.offset+=n,e.line+=r,e.column=-1===o?e.column+n:n-o,e}function Ae(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Re(e,t,n=!1){for(let o=0;o<e.props.length;o++){const s=e.props[o];if(7===s.type&&(n||s.exp)&&((0,r.isString)(t)?s.name===t:t.test(s.name)))return s}}function Oe(e,t,n=!1,r=!1){for(let o=0;o<e.props.length;o++){const s=e.props[o];if(6===s.type){if(n)continue;if(s.name===t&&(s.value||r))return s}else if("bind"===s.name&&(s.exp||r)&&Pe(s.arg,t))return s}}function Pe(e,t){return!(!e||!de(e)||e.content!==t)}function Te(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function Me(e){return 5===e.type||2===e.type}function Ne(e){return 7===e.type&&"slot"===e.name}function Le(e){return 1===e.type&&3===e.tagType}function De(e){return 1===e.type&&2===e.tagType}function Fe(e,t){return e||t?g:m}function Ie(e,t){return e||t?d:h}const Ve=new Set([M,N]);function Be(e,t=[]){if(e&&!(0,r.isString)(e)&&14===e.type){const n=e.callee;if(!(0,r.isString)(n)&&Ve.has(n))return Be(e.arguments[0],t.concat(e))}return[e,t]}function je(e,t,n){let o,s,i=13===e.type?e.props:e.arguments[2],a=[];if(i&&!(0,r.isString)(i)&&14===i.type){const e=Be(i);i=e[0],a=e[1],s=a[a.length-1]}if(null==i||(0,r.isString)(i))o=Z([t]);else if(14===i.type){const e=i.arguments[0];(0,r.isString)(e)||15!==e.type?i.callee===L?o=re(n.helper(O),[Z([t]),i]):i.arguments.unshift(Z([t])):e.properties.unshift(t),!o&&(o=i)}else if(15===i.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=i.properties.some((e=>4===e.key.type&&e.key.content===n))}e||i.properties.unshift(t),o=i}else o=re(n.helper(O),[Z([t]),i]),s&&s.callee===N&&(s=a[a.length-2]);13===e.type?s?s.arguments[0]=o:e.props=o:s?s.arguments[0]=o:e.arguments[2]=o}function $e(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function He(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const r=e.props[n];if(7===r.type&&(He(r.arg,t)||He(r.exp,t)))return!0}return e.children.some((e=>He(e,t)));case 11:return!!He(e.source,t)||e.children.some((e=>He(e,t)));case 9:return e.branches.some((e=>He(e,t)));case 10:return!!He(e.condition,t)||e.children.some((e=>He(e,t)));case 4:return!e.isStatic&&ve(e.content)&&!!t[e.content];case 8:return e.children.some((e=>(0,r.isObject)(e)&&He(e,t)));case 5:case 12:return He(e.content,t);default:return!1}}function Ue(e){return 14===e.type&&e.callee===q?e.arguments[1].returns:e}function qe(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Fe(r,e.isComponent)),t(f),t(Ie(r,e.isComponent)))}const We={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3.vuejs.org/guide/migration/filters.html"}};function ze(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,r=n&&n[e];return"MODE"===e?r||3:r}function Ge(e,t){const n=ze("MODE",t),r=ze(e,t);return 3===n?!0===r:!1!==r}function Ke(e,t,n,...r){return Ge(e,t)}function Ye(e,t,n,...r){if("suppress-warning"===ze(e,t))return;const{message:o,link:s}=We[e],i=`(deprecation ${e}) ${"function"==typeof o?o(...r):o}${s?`\n Details: ${s}`:""}`,a=new SyntaxError(i);a.code=e,n&&(a.loc=n),t.onWarn(a)}const Je=/&(gt|lt|amp|apos|quot);/g,Xe={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Ze={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:r.NO,isPreTag:r.NO,isCustomElement:r.NO,decodeEntities:e=>e.replace(Je,((e,t)=>Xe[t])),onError:o,onWarn:s,comments:!1};function Qe(e,t={}){const n=function(e,t){const n=(0,r.extend)({},Ze);let o;for(o in t)n[o]=void 0===t[o]?Ze[o]:t[o];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=dt(n);return Y(et(n,0,[]),ht(n,o))}function et(e,t,n){const o=gt(n),s=o?o.ns:0,i=[];for(;!St(e,t,n);){const a=e.source;let c;if(0===t||1===t)if(!e.inVPre&&mt(a,e.options.delimiters[0]))c=ut(e,t);else if(0===t&&"<"===a[0])if(1===a.length)bt(e,5,1);else if("!"===a[1])mt(a,"\x3c!--")?c=rt(e):mt(a,"<!DOCTYPE")?c=ot(e):mt(a,"<![CDATA[")?0!==s?c=nt(e,n):(bt(e,1),c=ot(e)):(bt(e,11),c=ot(e));else if("/"===a[1])if(2===a.length)bt(e,5,2);else{if(">"===a[2]){bt(e,14,2),vt(e,3);continue}if(/[a-z]/i.test(a[2])){bt(e,23),at(e,1,o);continue}bt(e,12,2),c=ot(e)}else/[a-z]/i.test(a[1])?(c=st(e,n),Ge("COMPILER_NATIVE_TEMPLATE",e)&&c&&"template"===c.tag&&!c.props.some((e=>7===e.type&&it(e.name)))&&(c=c.children)):"?"===a[1]?(bt(e,21,1),c=ot(e)):bt(e,12,1);if(c||(c=pt(e,t)),(0,r.isArray)(c))for(let e=0;e<c.length;e++)tt(i,c[e]);else tt(i,c)}let a=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let n=0;n<i.length;n++){const r=i[n];if(e.inPre||2!==r.type)3!==r.type||e.options.comments||(a=!0,i[n]=null);else if(/[^\t\r\n\f ]/.test(r.content))t&&(r.content=r.content.replace(/[\t\r\n\f ]+/g," "));else{const e=i[n-1],o=i[n+1];!e||!o||t&&(3===e.type||3===o.type||1===e.type&&1===o.type&&/[\r\n]/.test(r.content))?(a=!0,i[n]=null):r.content=" "}}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return a?i.filter(Boolean):i}function tt(e,t){if(2===t.type){const n=gt(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function nt(e,t){vt(e,9);const n=et(e,3,t);return 0===e.source.length?bt(e,6):vt(e,3),n}function rt(e){const t=dt(e);let n;const r=/--(\!)?>/.exec(e.source);if(r){r.index<=3&&bt(e,0),r[1]&&bt(e,10),n=e.source.slice(4,r.index);const t=e.source.slice(0,r.index);let o=1,s=0;for(;-1!==(s=t.indexOf("\x3c!--",o));)vt(e,s-o+1),s+4<t.length&&bt(e,16),o=s+1;vt(e,r.index+r[0].length-o+1)}else n=e.source.slice(4),vt(e,e.source.length),bt(e,7);return{type:3,content:n,loc:ht(e,t)}}function ot(e){const t=dt(e),n="?"===e.source[1]?1:2;let r;const o=e.source.indexOf(">");return-1===o?(r=e.source.slice(n),vt(e,e.source.length)):(r=e.source.slice(n,o),vt(e,o+1)),{type:3,content:r,loc:ht(e,t)}}function st(e,t){const n=e.inPre,r=e.inVPre,o=gt(t),s=at(e,0,o),i=e.inPre&&!n,a=e.inVPre&&!r;if(s.isSelfClosing||e.options.isVoidTag(s.tag))return i&&(e.inPre=!1),a&&(e.inVPre=!1),s;t.push(s);const c=e.options.getTextMode(s,o),l=et(e,c,t);t.pop();{const t=s.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&Ke("COMPILER_INLINE_TEMPLATE",e,t.loc)){const n=ht(e,s.loc.end);t.value={type:2,content:n.source,loc:n}}}if(s.children=l,Et(e.source,s.tag))at(e,1,o);else if(bt(e,24,0,s.loc.start),0===e.source.length&&"script"===s.tag.toLowerCase()){const t=l[0];t&&mt(t.loc.source,"\x3c!--")&&bt(e,8)}return s.loc=ht(e,s.loc.start),i&&(e.inPre=!1),a&&(e.inVPre=!1),s}const it=(0,r.makeMap)("if,else,else-if,for,slot");function at(e,t,n){const o=dt(e),s=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=s[1],a=e.options.getNamespace(i,n);vt(e,s[0].length),yt(e);const c=dt(e),l=e.source;e.options.isPreTag(i)&&(e.inPre=!0);let u=ct(e,t);0===t&&!e.inVPre&&u.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,(0,r.extend)(e,c),e.source=l,u=ct(e,t).filter((e=>"v-pre"!==e.name)));let p=!1;if(0===e.source.length?bt(e,9):(p=mt(e.source,"/>"),1===t&&p&&bt(e,4),vt(e,p?2:1)),1===t)return;let f=0;return e.inVPre||("slot"===i?f=2:"template"===i?u.some((e=>7===e.type&&it(e.name)))&&(f=3):function(e,t,n){const r=n.options;if(r.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||ge(e)||r.isBuiltInComponent&&r.isBuiltInComponent(e)||r.isNativeTag&&!r.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const r=t[e];if(6===r.type){if("is"===r.name&&r.value){if(r.value.content.startsWith("vue:"))return!0;if(Ke("COMPILER_IS_ON_ELEMENT",n,r.loc))return!0}}else{if("is"===r.name)return!0;if("bind"===r.name&&Pe(r.arg,"is")&&Ke("COMPILER_IS_ON_ELEMENT",n,r.loc))return!0}}}(i,u,e)&&(f=1)),{type:1,ns:a,tag:i,tagType:f,props:u,isSelfClosing:p,children:[],loc:ht(e,o),codegenNode:void 0}}function ct(e,t){const n=[],r=new Set;for(;e.source.length>0&&!mt(e.source,">")&&!mt(e.source,"/>");){if(mt(e.source,"/")){bt(e,22),vt(e,1),yt(e);continue}1===t&&bt(e,3);const o=lt(e,r);6===o.type&&o.value&&"class"===o.name&&(o.value.content=o.value.content.replace(/\s+/g," ").trim()),0===t&&n.push(o),/^[^\t\r\n\f />]/.test(e.source)&&bt(e,15),yt(e)}return n}function lt(e,t){const n=dt(e),r=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(r)&&bt(e,2),t.add(r),"="===r[0]&&bt(e,19);{const t=/["'<]/g;let n;for(;n=t.exec(r);)bt(e,17,n.index)}let o;vt(e,r.length),/^[\t\r\n\f ]*=/.test(e.source)&&(yt(e),vt(e,1),yt(e),o=function(e){const t=dt(e);let n;const r=e.source[0],o='"'===r||"'"===r;if(o){vt(e,1);const t=e.source.indexOf(r);-1===t?n=ft(e,e.source.length,4):(n=ft(e,t,4),vt(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const r=/["'<=`]/g;let o;for(;o=r.exec(t[0]);)bt(e,18,o.index);n=ft(e,t[0].length,4)}return{content:n,isQuoted:o,loc:ht(e,t)}}(e),o||bt(e,13));const s=ht(e,n);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(r)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(r);let i,a=mt(r,"."),c=t[1]||(a||mt(r,":")?"bind":mt(r,"@")?"on":"slot");if(t[2]){const o="slot"===c,s=r.lastIndexOf(t[2]),a=ht(e,_t(e,n,s),_t(e,n,s+t[2].length+(o&&t[3]||"").length));let l=t[2],u=!0;l.startsWith("[")?(u=!1,l.endsWith("]")?l=l.slice(1,l.length-1):(bt(e,27),l=l.slice(1))):o&&(l+=t[3]||""),i={type:4,content:l,isStatic:u,constType:u?3:0,loc:a}}if(o&&o.isQuoted){const e=o.loc;e.start.offset++,e.start.column++,e.end=Ce(e.start,o.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].slice(1).split("."):[];return a&&l.push("prop"),"bind"===c&&i&&l.includes("sync")&&Ke("COMPILER_V_BIND_SYNC",e,0,i.loc.source)&&(c="model",l.splice(l.indexOf("sync"),1)),{type:7,name:c,exp:o&&{type:4,content:o.content,isStatic:!1,constType:0,loc:o.loc},arg:i,modifiers:l,loc:s}}return!e.inVPre&&mt(r,"v-")&&bt(e,26),{type:6,name:r,value:o&&{type:2,content:o.content,loc:o.loc},loc:s}}function ut(e,t){const[n,r]=e.options.delimiters,o=e.source.indexOf(r,n.length);if(-1===o)return void bt(e,25);const s=dt(e);vt(e,n.length);const i=dt(e),a=dt(e),c=o-n.length,l=e.source.slice(0,c),u=ft(e,c,t),p=u.trim(),f=u.indexOf(p);f>0&&ke(i,l,f);return ke(a,l,c-(u.length-p.length-f)),vt(e,r.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:p,loc:ht(e,i,a)},loc:ht(e,s)}}function pt(e,t){const n=3===t?["]]>"]:["<",e.options.delimiters[0]];let r=e.source.length;for(let t=0;t<n.length;t++){const o=e.source.indexOf(n[t],1);-1!==o&&r>o&&(r=o)}const o=dt(e);return{type:2,content:ft(e,r,t),loc:ht(e,o)}}function ft(e,t,n){const r=e.source.slice(0,t);return vt(e,t),2===n||3===n||-1===r.indexOf("&")?r:e.options.decodeEntities(r,4===n)}function dt(e){const{column:t,line:n,offset:r}=e;return{column:t,line:n,offset:r}}function ht(e,t,n){return{start:t,end:n=n||dt(e),source:e.originalSource.slice(t.offset,n.offset)}}function gt(e){return e[e.length-1]}function mt(e,t){return e.startsWith(t)}function vt(e,t){const{source:n}=e;ke(e,n,t),e.source=n.slice(t)}function yt(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&vt(e,t[0].length)}function _t(e,t,n){return Ce(t,e.originalSource.slice(t.offset,n),n)}function bt(e,t,n,r=dt(e)){n&&(r.offset+=n,r.column+=n),e.options.onError(i(t,{start:r,end:r,source:""}))}function St(e,t,n){const r=e.source;switch(t){case 0:if(mt(r,"</"))for(let e=n.length-1;e>=0;--e)if(Et(r,n[e].tag))return!0;break;case 1:case 2:{const e=gt(n);if(e&&Et(r,e.tag))return!0;break}case 3:if(mt(r,"]]>"))return!0}return!r}function Et(e,t){return mt(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function wt(e,t){Ct(e,t,xt(e,e.children[0]))}function xt(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!De(t)}function Ct(e,t,n=!1){const{children:o}=e,s=o.length;let i=0;for(let e=0;e<o.length;e++){const r=o[e];if(1===r.type&&0===r.tagType){const e=n?0:kt(r,t);if(e>0){if(e>=2){r.codegenNode.patchFlag="-1",r.codegenNode=t.hoist(r.codegenNode),i++;continue}}else{const e=r.codegenNode;if(13===e.type){const n=Tt(e);if((!n||512===n||1===n)&&Ot(r,t)>=2){const n=Pt(r);n&&(e.props=t.hoist(n))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}else 12===r.type&&kt(r.content,t)>=2&&(r.codegenNode=t.hoist(r.codegenNode),i++);if(1===r.type){const e=1===r.tagType;e&&t.scopes.vSlot++,Ct(r,t),e&&t.scopes.vSlot--}else if(11===r.type)Ct(r,t,1===r.children.length);else if(9===r.type)for(let e=0;e<r.branches.length;e++)Ct(r.branches[e],t,1===r.branches[e].children.length)}i&&t.transformHoist&&t.transformHoist(o,t,e),i&&i===s&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&(0,r.isArray)(e.codegenNode.children)&&(e.codegenNode.children=t.hoist(X(e.codegenNode.children)))}function kt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const s=e.codegenNode;if(13!==s.type)return 0;if(s.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(Tt(s))return n.set(e,0),0;{let r=3;const o=Ot(e,t);if(0===o)return n.set(e,0),0;o<r&&(r=o);for(let o=0;o<e.children.length;o++){const s=kt(e.children[o],t);if(0===s)return n.set(e,0),0;s<r&&(r=s)}if(r>1)for(let o=0;o<e.props.length;o++){const s=e.props[o];if(7===s.type&&"bind"===s.name&&s.exp){const o=kt(s.exp,t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}}return s.isBlock&&(t.removeHelper(f),t.removeHelper(Ie(t.inSSR,s.isComponent)),s.isBlock=!1,t.helper(Fe(t.inSSR,s.isComponent))),n.set(e,r),r}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return kt(e.content,t);case 4:return e.constType;case 8:let i=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if((0,r.isString)(o)||(0,r.isSymbol)(o))continue;const s=kt(o,t);if(0===s)return 0;s<i&&(i=s)}return i}}const At=new Set([P,T,M,N]);function Rt(e,t){if(14===e.type&&!(0,r.isString)(e.callee)&&At.has(e.callee)){const n=e.arguments[0];if(4===n.type)return kt(n,t);if(14===n.type)return Rt(n,t)}return 0}function Ot(e,t){let n=3;const r=Pt(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:o,value:s}=e[r],i=kt(o,t);if(0===i)return i;let a;if(i<n&&(n=i),a=4===s.type?kt(s,t):14===s.type?Rt(s,t):0,0===a)return a;a<n&&(n=a)}}return n}function Pt(e){const t=e.codegenNode;if(13===t.type)return t.props}function Tt(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Mt(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:i=!1,cacheHandlers:a=!1,nodeTransforms:c=[],directiveTransforms:l={},transformHoist:u=null,isBuiltInComponent:p=r.NOOP,isCustomElement:f=r.NOOP,expressionPlugins:d=[],scopeId:h=null,slotted:g=!0,ssr:m=!1,inSSR:v=!1,ssrCssVars:y="",bindingMetadata:_=r.EMPTY_OBJ,inline:b=!1,isTS:S=!1,onError:E=o,onWarn:w=s,compatConfig:x}){const C=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),k={selfName:C&&(0,r.capitalize)((0,r.camelize)(C[1])),prefixIdentifiers:n,hoistStatic:i,cacheHandlers:a,nodeTransforms:c,directiveTransforms:l,transformHoist:u,isBuiltInComponent:p,isCustomElement:f,expressionPlugins:d,scopeId:h,slotted:g,ssr:m,inSSR:v,ssrCssVars:y,bindingMetadata:_,inline:b,isTS:S,onError:E,onWarn:w,compatConfig:x,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=k.helpers.get(e)||0;return k.helpers.set(e,t+1),e},removeHelper(e){const t=k.helpers.get(e);if(t){const n=t-1;n?k.helpers.set(e,n):k.helpers.delete(e)}},helperString:e=>`_${z[k.helper(e)]}`,replaceNode(e){k.parent.children[k.childIndex]=k.currentNode=e},removeNode(e){const t=k.parent.children,n=e?t.indexOf(e):k.currentNode?k.childIndex:-1;e&&e!==k.currentNode?k.childIndex>n&&(k.childIndex--,k.onNodeRemoved()):(k.currentNode=null,k.onNodeRemoved()),k.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){(0,r.isString)(e)&&(e=ee(e)),k.hoists.push(e);const t=ee(`_hoisted_${k.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>ie(k.cached++,e,t)};return k.filters=new Set,k}function Nt(e,t){const n=Mt(e,t);Lt(e,n),t.hoistStatic&&wt(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(xt(e,n)&&n.codegenNode){const r=n.codegenNode;13===r.type&&qe(r,t),e.codegenNode=r}else e.codegenNode=n}else if(o.length>1){let o=64;r.PatchFlagNames[64];0,e.codegenNode=J(t,n(a),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Lt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let s=0;s<n.length;s++){const i=n[s](e,t);if(i&&((0,r.isArray)(i)?o.push(...i):o.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(v);break;case 5:t.ssr||t.helper(R);break;case 9:for(let n=0;n<e.branches.length;n++)Lt(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const s=e.children[n];(0,r.isString)(s)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Lt(s,t))}}(e,t)}t.currentNode=e;let s=o.length;for(;s--;)o[s]()}function Dt(e,t){const n=(0,r.isString)(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:o}=e;if(3===e.tagType&&o.some(Ne))return;const s=[];for(let i=0;i<o.length;i++){const a=o[i];if(7===a.type&&n(a.name)){o.splice(i,1),i--;const n=t(e,a,r);n&&s.push(n)}}return s}}}const Ft="/*#__PURE__*/";function It(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:o="template.vue.html",scopeId:s=null,optimizeImports:i=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:u=!1,isTS:p=!1,inSSR:f=!1}){const d={mode:t,prefixIdentifiers:n,sourceMap:r,filename:o,scopeId:s,optimizeImports:i,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:u,isTS:p,inSSR:f,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${z[e]}`,push(e,t){d.code+=e},indent(){h(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:h(--d.indentLevel)},newline(){h(d.indentLevel)}};function h(e){d.push("\n"+" ".repeat(e))}return d}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:o,prefixIdentifiers:s,indent:i,deindent:a,newline:c,scopeId:l,ssr:u}=n,p=e.helpers.length>0,f=!s&&"module"!==r;!function(e,t){const{ssr:n,prefixIdentifiers:r,push:o,newline:s,runtimeModuleName:i,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=a,u=e=>`${z[e]}: _${z[e]}`;if(e.helpers.length>0&&(o(`const _Vue = ${l}\n`),e.hoists.length)){o(`const { ${[g,m,v,y,_].filter((t=>e.helpers.includes(t))).map(u).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r,helper:o,scopeId:s,mode:i}=t;r();for(let o=0;o<e.length;o++){const s=e[o];s&&(n(`const _hoisted_${o+1} = `),$t(s,t),r())}t.pure=!1})(e.hoists,t),s(),o("return ")}(e,n);if(o(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),f&&(o("with (_ctx) {"),i(),p&&(o(`const { ${e.helpers.map((e=>`${z[e]}: _${z[e]}`)).join(", ")} } = _Vue`),o("\n"),c())),e.components.length&&(Vt(e.components,"component",n),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Vt(e.directives,"directive",n),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),Vt(e.filters,"filter",n),c()),e.temps>0){o("let ");for(let t=0;t<e.temps;t++)o(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(o("\n"),c()),u||o("return "),e.codegenNode?$t(e.codegenNode,n):o("null"),f&&(a(),o("}")),a(),o("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Vt(e,t,{helper:n,push:r,newline:o,isTS:s}){const i=n("filter"===t?w:"component"===t?b:E);for(let n=0;n<e.length;n++){let a=e[n];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),r(`const ${$e(a,t)} = ${i}(${JSON.stringify(a)}${c?", true":""})${s?"!":""}`),n<e.length-1&&o()}}function Bt(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),jt(e,t,n),n&&t.deindent(),t.push("]")}function jt(e,t,n=!1,o=!0){const{push:s,newline:i}=t;for(let a=0;a<e.length;a++){const c=e[a];(0,r.isString)(c)?s(c):(0,r.isArray)(c)?Bt(c,t):$t(c,t),a<e.length-1&&(n?(o&&s(","),i()):o&&s(", "))}}function $t(e,t){if((0,r.isString)(e))t.push(e);else if((0,r.isSymbol)(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:$t(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Ht(e,t);break;case 5:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(Ft);n(`${r(R)}(`),$t(e.content,t),n(")")}(e,t);break;case 8:Ut(e,t);break;case 3:!function(e,t){const{push:n,helper:r,pure:o}=t;o&&n(Ft);n(`${r(v)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:r,pure:o}=t,{tag:s,props:i,children:a,patchFlag:c,dynamicProps:l,directives:u,isBlock:p,disableTracking:d,isComponent:h}=e;u&&n(r(x)+"(");p&&n(`(${r(f)}(${d?"true":""}), `);o&&n(Ft);const g=p?Ie(t.inSSR,h):Fe(t.inSSR,h);n(r(g)+"(",e),jt(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([s,i,a,c,l]),t),n(")"),p&&n(")");u&&(n(", "),$t(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:s}=t,i=(0,r.isString)(e.callee)?e.callee:o(e.callee);s&&n(Ft);n(i+"(",e),jt(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:o,newline:s}=t,{properties:i}=e;if(!i.length)return void n("{}",e);const a=i.length>1||!1;n(a?"{":"{ "),a&&r();for(let e=0;e<i.length;e++){const{key:r,value:o}=i[e];qt(r,t),n(": "),$t(o,t),e<i.length-1&&(n(","),s())}a&&o(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){Bt(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:s}=t,{params:i,returns:a,body:c,newline:l,isSlot:u}=e;u&&n(`_${z[$]}(`);n("(",e),(0,r.isArray)(i)?jt(i,t):i&&$t(i,t);n(") => "),(l||c)&&(n("{"),o());a?(l&&n("return "),(0,r.isArray)(a)?Bt(a,t):$t(a,t)):c&&$t(c,t);(l||c)&&(s(),n("}"));u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:o,newline:s}=e,{push:i,indent:a,deindent:c,newline:l}=t;if(4===n.type){const e=!ve(n.content);e&&i("("),Ht(n,t),e&&i(")")}else i("("),$t(n,t),i(")");s&&a(),t.indentLevel++,s||i(" "),i("? "),$t(r,t),t.indentLevel--,s&&l(),s||i(" "),i(": ");const u=19===o.type;u||t.indentLevel++;$t(o,t),u||t.indentLevel--;s&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:o,deindent:s,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(o(),n(`${r(V)}(-1),`),i());n(`_cache[${e.index}] = `),$t(e.value,t),e.isVNode&&(n(","),i(),n(`${r(V)}(1),`),i(),n(`_cache[${e.index}]`),s());n(")")}(e,t);break;case 21:jt(e.body,t,!0,!1)}}function Ht(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,e)}function Ut(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];(0,r.isString)(o)?t.push(o):$t(o,t)}}function qt(e,t){const{push:n}=t;if(8===e.type)n("["),Ut(e,t),n("]");else if(e.isStatic){n(ve(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}function Wt(e,t,n=!1,r=[],o=Object.create(null)){}function zt(e,t,n){return!1}function Gt(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function Kt(e,t){for(const n of e.params)for(const e of Jt(n))t(e)}function Yt(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of Jt(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}}function Jt(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const n of e.properties)"RestElement"===n.type?Jt(n.argument,t):Jt(n.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&Jt(e,t)}));break;case"RestElement":Jt(e.argument,t);break;case"AssignmentPattern":Jt(e.left,t)}return t}const Xt=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Zt=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Qt=(e,t)=>Zt(t)&&t.key===e;new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const en=(e,t)=>{if(5===e.type)e.content=tn(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const r=e.props[n];if(7===r.type&&"for"!==r.name){const e=r.exp,n=r.arg;!e||4!==e.type||"on"===r.name&&n||(r.exp=tn(e,t,"slot"===r.name)),n&&4===n.type&&!n.isStatic&&(r.arg=tn(n,t))}}};function tn(e,t,n=!1,r=!1,o=Object.create(t.identifiers)){return e}const nn=Dt(/^(if|else|else-if)$/,((e,t,n)=>rn(e,t,n,((e,t,r)=>{const o=n.parent.children;let s=o.indexOf(e),i=0;for(;s-- >=0;){const e=o[s];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(r)e.codegenNode=sn(t,i,n);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=sn(t,i+e.branches.length-1,n)}}}))));function rn(e,t,n,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(i(28,t.loc)),t.exp=ee("true",!1,r)}if("if"===t.name){const o=on(e,t),s={type:9,loc:e.loc,branches:[o]};if(n.replaceNode(s),r)return r(s,o,!0)}else{const o=n.parent.children;let s=o.indexOf(e);for(;s-- >=-1;){const a=o[s];if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===t.name&&void 0===a.branches[a.branches.length-1].condition&&n.onError(i(30,e.loc)),n.removeNode();const o=on(e,t);0,a.branches.push(o);const s=r&&r(a,o,!1);Lt(o,n),s&&s(),n.currentNode=null}else n.onError(i(30,e.loc));break}n.removeNode(a)}}}function on(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||Re(e,"for")?[e]:e.children,userKey:Oe(e,"key")}}function sn(e,t,n){return e.condition?se(e.condition,an(e,t,n),re(n.helper(v),['""',"true"])):an(e,t,n)}function an(e,t,n){const{helper:o}=n,s=Q("key",ee(`${t}`,!1,K,2)),{children:i}=e,c=i[0];if(1!==i.length||1!==c.type){if(1===i.length&&11===c.type){const e=c.codegenNode;return je(e,s,n),e}{let t=64;r.PatchFlagNames[64];return J(n,o(a),Z([s]),i,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=c.codegenNode,t=Ue(e);return 13===t.type&&qe(t,n),je(t,s,n),e}}const cn=Dt("for",((e,t,n)=>{const{helper:r,removeHelper:o}=n;return ln(e,t,n,(t=>{const s=re(r(C),[t.source]),i=Re(e,"memo"),c=Oe(e,"key"),l=c&&(6===c.type?ee(c.value.content,!0):c.exp),u=c?Q("key",l):null,p=4===t.source.type&&t.source.constType>0,d=p?64:c?128:256;return t.codegenNode=J(n,r(a),void 0,s,d+"",void 0,void 0,!0,!p,!1,e.loc),()=>{let c;const d=Le(e),{children:h}=t;const g=1!==h.length||1!==h[0].type,m=De(e)?e:d&&1===e.children.length&&De(e.children[0])?e.children[0]:null;if(m?(c=m.codegenNode,d&&u&&je(c,u,n)):g?c=J(n,r(a),u?Z([u]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=h[0].codegenNode,d&&u&&je(c,u,n),c.isBlock!==!p&&(c.isBlock?(o(f),o(Ie(n.inSSR,c.isComponent))):o(Fe(n.inSSR,c.isComponent))),c.isBlock=!p,c.isBlock?(r(f),r(Ie(n.inSSR,c.isComponent))):r(Fe(n.inSSR,c.isComponent))),i){const e=oe(gn(t.parseResult,[ee("_cached")]));e.body=ae([ne(["const _memo = (",i.exp,")"]),ne(["if (_cached",...l?[" && _cached.key === ",l]:[],` && ${n.helperString(W)}(_cached, _memo)) return _cached`]),ne(["const _item = ",c]),ee("_item.memo = _memo"),ee("return _item")]),s.arguments.push(e,ee("_cache"),ee(String(n.cached++)))}else s.arguments.push(oe(gn(t.parseResult),c,!0))}}))}));function ln(e,t,n,r){if(!t.exp)return void n.onError(i(31,t.loc));const o=dn(t.exp,n);if(!o)return void n.onError(i(32,t.loc));const{addIdentifiers:s,removeIdentifiers:a,scopes:c}=n,{source:l,value:u,key:p,index:f}=o,d={type:11,loc:t.loc,source:l,valueAlias:u,keyAlias:p,objectIndexAlias:f,parseResult:o,children:Le(e)?e.children:[e]};n.replaceNode(d),c.vFor++;const h=r&&r(d);return()=>{c.vFor--,h&&h()}}const un=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,pn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,fn=/^\(|\)$/g;function dn(e,t){const n=e.loc,r=e.content,o=r.match(un);if(!o)return;const[,s,i]=o,a={source:hn(n,i.trim(),r.indexOf(i,s.length)),value:void 0,key:void 0,index:void 0};let c=s.trim().replace(fn,"").trim();const l=s.indexOf(c),u=c.match(pn);if(u){c=c.replace(pn,"").trim();const e=u[1].trim();let t;if(e&&(t=r.indexOf(e,l+c.length),a.key=hn(n,e,t)),u[2]){const o=u[2].trim();o&&(a.index=hn(n,o,r.indexOf(o,a.key?t+e.length:l+c.length)))}}return c&&(a.value=hn(n,c,l)),a}function hn(e,t,n){return ee(t,!1,xe(e,n,t.length))}function gn({value:e,key:t,index:n},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||ee("_".repeat(t+1),!1)))}([e,t,n,...r])}const mn=ee("undefined",!1),vn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=Re(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},yn=(e,t)=>{let n;if(Le(e)&&e.props.some(Ne)&&(n=Re(e,"for"))){const e=n.parseResult=dn(n.exp);if(e){const{value:n,key:r,index:o}=e,{addIdentifiers:s,removeIdentifiers:i}=t;return n&&s(n),r&&s(r),o&&s(o),()=>{n&&i(n),r&&i(r),o&&i(o)}}}},_n=(e,t,n)=>oe(e,t,!1,!0,t.length?t[0].loc:n);function bn(e,t,n=_n){t.helper($);const{children:r,loc:o}=e,s=[],a=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;const l=Re(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!de(e)&&(c=!0),s.push(Q(e||ee("default",!0),n(t,r,o)))}let u=!1,p=!1;const f=[],d=new Set;for(let e=0;e<r.length;e++){const o=r[e];let h;if(!Le(o)||!(h=Re(o,"slot",!0))){3!==o.type&&f.push(o);continue}if(l){t.onError(i(37,h.loc));break}u=!0;const{children:g,loc:m}=o,{arg:v=ee("default",!0),exp:y,loc:_}=h;let b;de(v)?b=v?v.content:"default":c=!0;const S=n(y,g,m);let E,w,x;if(E=Re(o,"if"))c=!0,a.push(se(E.exp,Sn(v,S),mn));else if(w=Re(o,/^else(-if)?$/,!0)){let n,o=e;for(;o--&&(n=r[o],3===n.type););if(n&&Le(n)&&Re(n,"if")){r.splice(e,1),e--;let t=a[a.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=w.exp?se(w.exp,Sn(v,S),mn):Sn(v,S)}else t.onError(i(30,w.loc))}else if(x=Re(o,"for")){c=!0;const e=x.parseResult||dn(x.exp);e?a.push(re(t.helper(C),[e.source,oe(gn(e),Sn(v,S),!0)])):t.onError(i(32,x.loc))}else{if(b){if(d.has(b)){t.onError(i(38,_));continue}d.add(b),"default"===b&&(p=!0)}s.push(Q(v,S))}}if(!l){const e=(e,r)=>{const s=n(e,r,o);return t.compatConfig&&(s.isNonScopedSlot=!0),Q("default",s)};u?f.length&&f.some((e=>wn(e)))&&(p?t.onError(i(39,f[0].loc)):s.push(e(void 0,f))):s.push(e(void 0,r))}const h=c?2:En(e.children)?3:1;let g=Z(s.concat(Q("_",ee(h+"",!1))),o);return a.length&&(g=re(t.helper(A),[g,X(a)])),{slots:g,hasDynamicSlots:c}}function Sn(e,t){return Z([Q("name",e),Q("fn",t)])}function En(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||En(n.children))return!0;break;case 9:if(En(n.branches))return!0;break;case 10:case 11:if(En(n.children))return!0}}return!1}function wn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():wn(e.content))}const xn=new WeakMap,Cn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,s=1===e.tagType;let i=s?kn(e,t):`"${n}"`;let a,p,f,d,h,g,m=0,v=(0,r.isObject)(i)&&i.callee===S||i===c||i===l||!s&&("svg"===n||"foreignObject"===n);if(o.length>0){const n=An(e,t);a=n.props,m=n.patchFlag,h=n.dynamicPropNames;const r=n.directives;g=r&&r.length?X(r.map((e=>function(e,t){const n=[],r=xn.get(e);r?n.push(t.helperString(r)):(t.helper(E),t.directives.add(e.name),n.push($e(e.name,"directive")));const{loc:o}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=ee("true",!1,o);n.push(Z(e.modifiers.map((e=>Q(e,t))),o))}return X(n,e.loc)}(e,t)))):void 0,n.shouldUseBlock&&(v=!0)}if(e.children.length>0){i===u&&(v=!0,m|=1024);if(s&&i!==c&&i!==u){const{slots:n,hasDynamicSlots:r}=bn(e,t);p=n,r&&(m|=1024)}else if(1===e.children.length&&i!==c){const n=e.children[0],r=n.type,o=5===r||8===r;o&&0===kt(n,t)&&(m|=1),p=o||2===r?n:e.children}else p=e.children}0!==m&&(f=String(m),h&&h.length&&(d=function(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}(h))),e.codegenNode=J(t,i,a,p,f,d,g,!!v,!1,s,e.loc)};function kn(e,t,n=!1){let{tag:r}=e;const o=Pn(r),s=Oe(e,"is");if(s)if(o||Ge("COMPILER_IS_ON_ELEMENT",t)){const e=6===s.type?s.value&&ee(s.value.content,!0):s.exp;if(e)return re(t.helper(S),[e])}else 6===s.type&&s.value.content.startsWith("vue:")&&(r=s.value.content.slice(4));const i=!o&&Re(e,"is");if(i&&i.exp)return re(t.helper(S),[i.exp]);const a=ge(r)||t.isBuiltInComponent(r);return a?(n||t.helper(a),a):(t.helper(b),t.components.add(r),$e(r,"component"))}function An(e,t,n=e.props,o=!1){const{tag:s,loc:a,children:c}=e,l=1===e.tagType;let u=[];const p=[],f=[],d=c.length>0;let h=!1,g=0,m=!1,v=!1,y=!1,_=!1,b=!1,S=!1;const E=[],w=({key:e,value:n})=>{if(de(e)){const o=e.content,s=(0,r.isOn)(o);if(l||!s||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||(0,r.isReservedProp)(o)||(_=!0),s&&(0,r.isReservedProp)(o)&&(S=!0),20===n.type||(4===n.type||8===n.type)&&kt(n,t)>0)return;"ref"===o?m=!0:"class"===o?v=!0:"style"===o?y=!0:"key"===o||E.includes(o)||E.push(o),!l||"class"!==o&&"style"!==o||E.includes(o)||E.push(o)}else b=!0};for(let c=0;c<n.length;c++){const g=n[c];if(6===g.type){const{loc:e,name:n,value:r}=g;let o=!0;if("ref"===n&&(m=!0,t.scopes.vFor>0&&u.push(Q(ee("ref_for",!0),ee("true")))),"is"===n&&(Pn(s)||r&&r.content.startsWith("vue:")||Ge("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(Q(ee(n,!0,xe(e,0,n.length)),ee(r?r.content:"",o,r?r.loc:e)))}else{const{name:n,arg:c,exp:m,loc:v}=g,y="bind"===n,_="on"===n;if("slot"===n){l||t.onError(i(40,v));continue}if("once"===n||"memo"===n)continue;if("is"===n||y&&Pe(c,"is")&&(Pn(s)||Ge("COMPILER_IS_ON_ELEMENT",t)))continue;if(_&&o)continue;if((y&&Pe(c,"key")||_&&d&&Pe(c,"vue:before-update"))&&(h=!0),y&&Pe(c,"ref")&&t.scopes.vFor>0&&u.push(Q(ee("ref_for",!0),ee("true"))),!c&&(y||_)){if(b=!0,m)if(u.length&&(p.push(Z(Rn(u),a)),u=[]),y){if(Ge("COMPILER_V_BIND_OBJECT_ORDER",t)){p.unshift(m);continue}p.push(m)}else p.push({type:14,loc:v,callee:t.helper(L),arguments:[m]});else t.onError(i(y?34:35,v));continue}const S=t.directiveTransforms[n];if(S){const{props:n,needRuntime:s}=S(g,e,t);!o&&n.forEach(w),u.push(...n),s&&(f.push(g),(0,r.isSymbol)(s)&&xn.set(g,s))}else f.push(g),d&&(h=!0)}}let x;if(p.length?(u.length&&p.push(Z(Rn(u),a)),x=p.length>1?re(t.helper(O),p,a):p[0]):u.length&&(x=Z(Rn(u),a)),b?g|=16:(v&&!l&&(g|=2),y&&!l&&(g|=4),E.length&&(g|=8),_&&(g|=32)),h||0!==g&&32!==g||!(m||S||f.length>0)||(g|=512),!t.inSSR&&x)switch(x.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<x.properties.length;t++){const o=x.properties[t].key;de(o)?"class"===o.content?e=t:"style"===o.content&&(n=t):o.isHandlerKey||(r=!0)}const o=x.properties[e],s=x.properties[n];r?x=re(t.helper(M),[x]):(o&&!de(o.value)&&(o.value=re(t.helper(P),[o.value])),!s||de(s.value)||!y&&17!==s.value.type||(s.value=re(t.helper(T),[s.value])));break;case 14:break;default:x=re(t.helper(M),[re(t.helper(N),[x])])}return{props:x,directives:f,patchFlag:g,dynamicPropNames:E,shouldUseBlock:h}}function Rn(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const s=e[o];if(8===s.key.type||!s.key.isStatic){n.push(s);continue}const i=s.key.content,a=t.get(i);a?("style"===i||"class"===i||(0,r.isOn)(i))&&On(a,s):(t.set(i,s),n.push(s))}return n}function On(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=X([e.value,t.value],e.loc)}function Pn(e){return"component"===e||"Component"===e}const Tn=/-(\w)/g,Mn=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.replace(Tn,((e,t)=>t?t.toUpperCase():"")))),Nn=(e,t)=>{if(De(e)){const{children:n,loc:r}=e,{slotName:o,slotProps:s}=Ln(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",o,"{}","undefined","true"];let a=2;s&&(i[2]=s,a=3),n.length&&(i[3]=oe([],n,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),i.splice(a),e.codegenNode=re(t.helper(k),i,r)}};function Ln(e,t){let n,r='"default"';const o=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];6===n.type?n.value&&("name"===n.name?r=JSON.stringify(n.value.content):(n.name=Mn(n.name),o.push(n))):"bind"===n.name&&Pe(n.arg,"name")?n.exp&&(r=n.exp):("bind"===n.name&&n.arg&&de(n.arg)&&(n.arg.content=Mn(n.arg.content)),o.push(n))}if(o.length>0){const{props:r,directives:s}=An(e,t,o);n=r,s.length&&t.onError(i(36,s[0].loc))}return{slotName:r,slotProps:n}}const Dn=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Fn=(e,t,n,o)=>{const{loc:s,modifiers:a,arg:c}=e;let l;if(e.exp||a.length||n.onError(i(35,s)),4===c.type)if(c.isStatic){let e=c.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),l=ee((0,r.toHandlerKey)((0,r.camelize)(e)),!0,c.loc)}else l=ne([`${n.helperString(I)}(`,c,")"]);else l=c,l.children.unshift(`${n.helperString(I)}(`),l.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let p=n.cacheHandlers&&!u&&!n.inVOnce;if(u){const e=we(u.content),t=!(e||Dn.test(u.content)),n=u.content.includes(";");0,(t||p&&e)&&(u=ne([`${t?"$event":"(...args)"} => ${n?"{":"("}`,u,n?"}":")"]))}let f={props:[Q(l,u||ee("() => {}",!1,s))]};return o&&(f=o(f)),p&&(f.props[0].value=n.cache(f.props[0].value)),f.props.forEach((e=>e.key.isHandlerKey=!0)),f},In=(e,t,n)=>{const{exp:o,modifiers:s,loc:a}=e,c=e.arg;return 4!==c.type?(c.children.unshift("("),c.children.push(') || ""')):c.isStatic||(c.content=`${c.content} || ""`),s.includes("camel")&&(4===c.type?c.isStatic?c.content=(0,r.camelize)(c.content):c.content=`${n.helperString(D)}(${c.content})`:(c.children.unshift(`${n.helperString(D)}(`),c.children.push(")"))),n.inSSR||(s.includes("prop")&&Vn(c,"."),s.includes("attr")&&Vn(c,"^")),!o||4===o.type&&!o.content.trim()?(n.onError(i(34,a)),{props:[Q(c,ee("",!0,a))]}):{props:[Q(c,o)]}},Vn=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Bn=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,o=!1;for(let e=0;e<n.length;e++){const t=n[e];if(Me(t)){o=!0;for(let o=e+1;o<n.length;o++){const s=n[o];if(!Me(s)){r=void 0;break}r||(r=n[e]={type:8,loc:t.loc,children:[t]}),r.children.push(" + ",s),n.splice(o,1),o--}}}if(o&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const r=n[e];if(Me(r)||8===r.type){const o=[];2===r.type&&" "===r.content||o.push(r),t.ssr||0!==kt(r,t)||o.push("1"),n[e]={type:12,content:r,loc:r.loc,codegenNode:re(t.helper(y),o)}}}}},jn=new WeakSet,$n=(e,t)=>{if(1===e.type&&Re(e,"once",!0)){if(jn.has(e)||t.inVOnce)return;return jn.add(e),t.inVOnce=!0,t.helper(V),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Hn=(e,t,n)=>{const{exp:r,arg:o}=e;if(!r)return n.onError(i(41,e.loc)),Un();const s=r.loc.source,a=4===r.type?r.content:s;n.bindingMetadata[s];if(!a.trim()||!we(a))return n.onError(i(42,r.loc)),Un();const c=o||ee("modelValue",!0),l=o?de(o)?`onUpdate:${o.content}`:ne(['"onUpdate:" + ',o]):"onUpdate:modelValue";let u;u=ne([`${n.isTS?"($event: any)":"$event"} => ((`,r,") = $event)"]);const p=[Q(c,e.exp),Q(l,u)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(ve(e)?e:JSON.stringify(e))+": true")).join(", "),n=o?de(o)?`${o.content}Modifiers`:ne([o,' + "Modifiers"']):"modelModifiers";p.push(Q(n,ee(`{ ${t} }`,!1,e.loc,2)))}return Un(p)};function Un(e=[]){return{props:e}}const qn=/[\w).+\-_$\]]/,Wn=(e,t)=>{Ge("COMPILER_FILTER",t)&&(5===e.type&&zn(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&zn(e.exp,t)})))};function zn(e,t){if(4===e.type)Gn(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];"object"==typeof r&&(4===r.type?Gn(r,t):8===r.type?zn(e,t):5===r.type&&zn(r.content,t))}}function Gn(e,t){const n=e.content;let r,o,s,i,a=!1,c=!1,l=!1,u=!1,p=0,f=0,d=0,h=0,g=[];for(s=0;s<n.length;s++)if(o=r,r=n.charCodeAt(s),a)39===r&&92!==o&&(a=!1);else if(c)34===r&&92!==o&&(c=!1);else if(l)96===r&&92!==o&&(l=!1);else if(u)47===r&&92!==o&&(u=!1);else if(124!==r||124===n.charCodeAt(s+1)||124===n.charCodeAt(s-1)||p||f||d){switch(r){case 34:c=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:p++;break;case 125:p--}if(47===r){let e,t=s-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&qn.test(e)||(u=!0)}}else void 0===i?(h=s+1,i=n.slice(0,s).trim()):m();function m(){g.push(n.slice(h,s).trim()),h=s+1}if(void 0===i?i=n.slice(0,s).trim():0!==h&&m(),g.length){for(s=0;s<g.length;s++)i=Kn(i,g[s],t);e.content=i}}function Kn(e,t,n){n.helper(w);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${$e(t,"filter")}(${e})`;{const o=t.slice(0,r),s=t.slice(r+1);return n.filters.add(o),`${$e(o,"filter")}(${e}${")"!==s?","+s:s}`}}const Yn=new WeakSet,Jn=(e,t)=>{if(1===e.type){const n=Re(e,"memo");if(!n||Yn.has(e))return;return Yn.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&qe(r,t),e.codegenNode=re(t.helper(q),[n.exp,oe(void 0,r),"_cache",String(t.cached++)]))}}};function Xn(e){return[[$n,nn,Jn,cn,Wn,Nn,Cn,vn,Bn],{on:Fn,bind:In,model:Hn}]}function Zn(e,t={}){const n=t.onError||o,s="module"===t.mode;!0===t.prefixIdentifiers?n(i(46)):s&&n(i(47));t.cacheHandlers&&n(i(48)),t.scopeId&&!s&&n(i(49));const a=(0,r.isString)(e)?Qe(e,t):e,[c,l]=Xn();return Nt(a,(0,r.extend)({},t,{prefixIdentifiers:false,nodeTransforms:[...c,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},l,t.directiveTransforms||{})})),It(a,(0,r.extend)({},t,{prefixIdentifiers:false}))}const Qn=()=>({props:[]}),er=Symbol(""),tr=Symbol(""),nr=Symbol(""),rr=Symbol(""),or=Symbol(""),sr=Symbol(""),ir=Symbol(""),ar=Symbol(""),cr=Symbol(""),lr=Symbol("");let ur;G({[er]:"vModelRadio",[tr]:"vModelCheckbox",[nr]:"vModelText",[rr]:"vModelSelect",[or]:"vModelDynamic",[sr]:"withModifiers",[ir]:"withKeys",[ar]:"vShow",[cr]:"Transition",[lr]:"TransitionGroup"});const pr=(0,r.makeMap)("style,iframe,script,noscript",!0),fr={isVoidTag:r.isVoidTag,isNativeTag:e=>(0,r.isHTMLTag)(e)||(0,r.isSVGTag)(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return ur||(ur=document.createElement("div")),t?(ur.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,ur.children[0].getAttribute("foo")):(ur.innerHTML=e,ur.textContent)},isBuiltInComponent:e=>he(e,"Transition")?cr:he(e,"TransitionGroup")?lr:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(pr(e))return 2}return 0}},dr=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:ee("style",!0,t.loc),exp:hr(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},hr=(e,t)=>{const n=(0,r.parseStringStyle)(e);return ee(JSON.stringify(n),!1,t,3)};function gr(e,t){return i(e,t)}const mr=(0,r.makeMap)("passive,once,capture"),vr=(0,r.makeMap)("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),yr=(0,r.makeMap)("left,right"),_r=(0,r.makeMap)("onkeyup,onkeydown,onkeypress",!0),br=(e,t)=>de(e)&&"onclick"===e.content.toLowerCase()?ee(t,!0):4!==e.type?ne(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const Sr=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(gr(60,e.loc)),t.removeNode())},Er=[dr],wr={cloak:Qn,html:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(gr(50,o)),t.children.length&&(n.onError(gr(51,o)),t.children.length=0),{props:[Q(ee("innerHTML",!0,o),r||ee("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(gr(52,o)),t.children.length&&(n.onError(gr(53,o)),t.children.length=0),{props:[Q(ee("textContent",!0),r?re(n.helperString(R),[r],o):ee("",!0))]}},model:(e,t,n)=>{const r=Hn(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(gr(55,e.arg.loc));const{tag:o}=t,s=n.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||s){let i=nr,a=!1;if("input"===o||s){const r=Oe(t,"type");if(r){if(7===r.type)i=or;else if(r.value)switch(r.value.content){case"radio":i=er;break;case"checkbox":i=tr;break;case"file":a=!0,n.onError(gr(56,e.loc))}}else Te(t)&&(i=or)}else"select"===o&&(i=rr);a||(r.needRuntime=n.helper(i))}else n.onError(gr(54,e.loc));return r.props=r.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),r},on:(e,t,n)=>Fn(e,t,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:s,value:i}=t.props[0];const{keyModifiers:a,nonKeyModifiers:c,eventOptionModifiers:l}=((e,t,n,r)=>{const o=[],s=[],i=[];for(let r=0;r<t.length;r++){const a=t[r];"native"===a&&Ke("COMPILER_V_ON_NATIVE",n)||mr(a)?i.push(a):yr(a)?de(e)?_r(e.content)?o.push(a):s.push(a):(o.push(a),s.push(a)):vr(a)?s.push(a):o.push(a)}return{keyModifiers:o,nonKeyModifiers:s,eventOptionModifiers:i}})(s,o,n,e.loc);if(c.includes("right")&&(s=br(s,"onContextmenu")),c.includes("middle")&&(s=br(s,"onMouseup")),c.length&&(i=re(n.helper(sr),[i,JSON.stringify(c)])),!a.length||de(s)&&!_r(s.content)||(i=re(n.helper(ir),[i,JSON.stringify(a)])),l.length){const e=l.map(r.capitalize).join("");s=de(s)?ee(`${s.content}${e}`,!0):ne(["(",s,`) + "${e}"`])}return{props:[Q(s,i)]}})),show:(e,t,n)=>{const{exp:r,loc:o}=e;return r||n.onError(gr(58,o)),{props:[],needRuntime:n.helper(ar)}}};function xr(e,t={}){return Zn(e,(0,r.extend)({},fr,t,{nodeTransforms:[Sr,...Er,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},wr,t.directiveTransforms||{}),transformHoist:null}))}function Cr(e,t={}){return Qe(e,(0,r.extend)({},fr,t))}},1229:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseTransition:()=>Rt,Comment:()=>ar,EffectScope:()=>i,Fragment:()=>sr,KeepAlive:()=>jt,ReactiveEffect:()=>S,Static:()=>cr,Suspense:()=>yt,Teleport:()=>Xn,Text:()=>ir,Transition:()=>Gs,TransitionGroup:()=>fi,VueElement:()=>js,callWithAsyncErrorHandling:()=>So,callWithErrorHandling:()=>bo,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>Or,compatUtils:()=>_s,computed:()=>Xe,createApp:()=>Ui,createBlock:()=>yr,createCommentVNode:()=>Mr,createElementBlock:()=>vr,createElementVNode:()=>Cr,createHydrationRenderer:()=>Hn,createPropsRestProxy:()=>cs,createRenderer:()=>$n,createSSRApp:()=>qi,createSlots:()=>Br,createStaticVNode:()=>Tr,createTextVNode:()=>Pr,createVNode:()=>kr,customRef:()=>ze,defineAsyncComponent:()=>It,defineComponent:()=>Dt,defineCustomElement:()=>Is,defineEmits:()=>ts,defineExpose:()=>ns,defineProps:()=>es,defineSSRCustomElement:()=>Vs,devtools:()=>Ze,effect:()=>w,effectScope:()=>a,getCurrentInstance:()=>Xr,getCurrentScope:()=>l,getTransitionRawChildren:()=>Lt,guardReactiveProps:()=>Rr,h:()=>us,handleError:()=>Eo,hydrate:()=>Hi,initCustomFormatter:()=>ds,initDirectivesForSSR:()=>Gi,inject:()=>Ct,isMemoSame:()=>gs,isProxy:()=>Oe,isReactive:()=>Ae,isReadonly:()=>Re,isRef:()=>Fe,isRuntimeOnly:()=>ao,isVNode:()=>_r,markRaw:()=>Te,mergeDefaults:()=>as,mergeProps:()=>Fr,nextTick:()=>Fo,normalizeClass:()=>r.normalizeClass,normalizeProps:()=>r.normalizeProps,normalizeStyle:()=>r.normalizeStyle,onActivated:()=>Ht,onBeforeMount:()=>Jt,onBeforeUnmount:()=>en,onBeforeUpdate:()=>Zt,onDeactivated:()=>Ut,onErrorCaptured:()=>sn,onMounted:()=>Xt,onRenderTracked:()=>on,onRenderTriggered:()=>rn,onScopeDispose:()=>u,onServerPrefetch:()=>nn,onUnmounted:()=>tn,onUpdated:()=>Qt,openBlock:()=>pr,popScopeId:()=>lt,provide:()=>xt,proxyRefs:()=>qe,pushScopeId:()=>ct,queuePostFlushCb:()=>jo,reactive:()=>Ee,readonly:()=>xe,ref:()=>Ie,registerRuntimeCompiler:()=>io,render:()=>$i,renderList:()=>Vr,renderSlot:()=>jr,resolveComponent:()=>Qn,resolveDirective:()=>nr,resolveDynamicComponent:()=>tr,resolveFilter:()=>ys,resolveTransitionHooks:()=>Pt,setBlockTracking:()=>gr,setDevtoolsHook:()=>tt,setTransitionHooks:()=>Nt,shallowReactive:()=>we,shallowReadonly:()=>Ce,shallowRef:()=>Ve,ssrContextKey:()=>ps,ssrUtils:()=>vs,stop:()=>x,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>Hr,toRaw:()=>Pe,toRef:()=>Ye,toRefs:()=>Ge,transformVNodeArgs:()=>Sr,triggerRef:()=>$e,unref:()=>He,useAttrs:()=>ss,useCssModule:()=>$s,useCssVars:()=>Hs,useSSRContext:()=>fs,useSlots:()=>os,useTransitionState:()=>kt,vModelCheckbox:()=>bi,vModelDynamic:()=>Ai,vModelRadio:()=>Ei,vModelSelect:()=>wi,vModelText:()=>_i,vShow:()=>Li,version:()=>ms,warn:()=>vo,watch:()=>Yo,watchEffect:()=>Wo,watchPostEffect:()=>zo,watchSyncEffect:()=>Go,withAsyncContext:()=>ls,withCtx:()=>pt,withDefaults:()=>rs,withDirectives:()=>Pn,withKeys:()=>Ni,withMemo:()=>hs,withModifiers:()=>Ti,withScopeId:()=>ut});var r=n(3577);let o;const s=[];class i{constructor(e=!1){this.active=!0,this.effects=[],this.cleanups=[],!e&&o&&(this.parent=o,this.index=(o.scopes||(o.scopes=[])).push(this)-1)}run(e){if(this.active)try{return this.on(),e()}finally{this.off()}else 0}on(){this.active&&(s.push(this),o=this)}off(){this.active&&(s.pop(),o=s[s.length-1])}stop(e){if(this.active){if(this.effects.forEach((e=>e.stop())),this.cleanups.forEach((e=>e())),this.scopes&&this.scopes.forEach((e=>e.stop(!0))),this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.active=!1}}}function a(e){return new i(e)}function c(e,t){(t=t||o)&&t.active&&t.effects.push(e)}function l(){return o}function u(e){o&&o.cleanups.push(e)}const p=e=>{const t=new Set(e);return t.w=0,t.n=0,t},f=e=>(e.w&m)>0,d=e=>(e.n&m)>0,h=new WeakMap;let g=0,m=1;const v=[];let y;const _=Symbol(""),b=Symbol("");class S{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],c(this,n)}run(){if(!this.active)return this.fn();if(!v.includes(this))try{return v.push(y=this),k.push(C),C=!0,m=1<<++g,g<=30?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=m})(this):E(this),this.fn()}finally{g<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];f(o)&&!d(o)?o.delete(e):t[n++]=o,o.w&=~m,o.n&=~m}t.length=n}})(this),m=1<<--g,R(),v.pop();const e=v.length;y=e>0?v[e-1]:void 0}}stop(){this.active&&(E(this),this.onStop&&this.onStop(),this.active=!1)}}function E(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function w(e,t){e.effect&&(e=e.effect.fn);const n=new S(e);t&&((0,r.extend)(n,t),t.scope&&c(n,t.scope)),t&&t.lazy||n.run();const o=n.run.bind(n);return o.effect=n,o}function x(e){e.effect.stop()}let C=!0;const k=[];function A(){k.push(C),C=!1}function R(){const e=k.pop();C=void 0===e||e}function O(e,t,n){if(!P())return;let r=h.get(e);r||h.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=p());T(o,undefined)}function P(){return C&&void 0!==y}function T(e,t){let n=!1;g<=30?d(e)||(e.n|=m,n=!f(e)):n=!e.has(y),n&&(e.add(y),y.deps.push(e))}function M(e,t,n,o,s,i){const a=h.get(e);if(!a)return;let c=[];if("clear"===t)c=[...a.values()];else if("length"===n&&(0,r.isArray)(e))a.forEach(((e,t)=>{("length"===t||t>=o)&&c.push(e)}));else switch(void 0!==n&&c.push(a.get(n)),t){case"add":(0,r.isArray)(e)?(0,r.isIntegerKey)(n)&&c.push(a.get("length")):(c.push(a.get(_)),(0,r.isMap)(e)&&c.push(a.get(b)));break;case"delete":(0,r.isArray)(e)||(c.push(a.get(_)),(0,r.isMap)(e)&&c.push(a.get(b)));break;case"set":(0,r.isMap)(e)&&c.push(a.get(_))}if(1===c.length)c[0]&&N(c[0]);else{const e=[];for(const t of c)t&&e.push(...t);N(p(e))}}function N(e,t){for(const t of(0,r.isArray)(e)?e:[...e])(t!==y||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const L=(0,r.makeMap)("__proto__,__v_isRef,__isVue"),D=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(r.isSymbol)),F=H(),I=H(!1,!0),V=H(!0),B=H(!0,!0),j=$();function $(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Pe(this);for(let e=0,t=this.length;e<t;e++)O(n,0,e+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(Pe)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){A();const n=Pe(this)[t].apply(this,e);return R(),n}})),e}function H(e=!1,t=!1){return function(n,o,s){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&s===(e?t?Se:be:t?_e:ye).get(n))return n;const i=(0,r.isArray)(n);if(!e&&i&&(0,r.hasOwn)(j,o))return Reflect.get(j,o,s);const a=Reflect.get(n,o,s);if((0,r.isSymbol)(o)?D.has(o):L(o))return a;if(e||O(n,0,o),t)return a;if(Fe(a)){return!i||!(0,r.isIntegerKey)(o)?a.value:a}return(0,r.isObject)(a)?e?xe(a):Ee(a):a}}const U=W(),q=W(!0);function W(e=!1){return function(t,n,o,s){let i=t[n];if(!e&&!Re(o)&&(o=Pe(o),i=Pe(i),!(0,r.isArray)(t)&&Fe(i)&&!Fe(o)))return i.value=o,!0;const a=(0,r.isArray)(t)&&(0,r.isIntegerKey)(n)?Number(n)<t.length:(0,r.hasOwn)(t,n),c=Reflect.set(t,n,o,s);return t===Pe(s)&&(a?(0,r.hasChanged)(o,i)&&M(t,"set",n,o):M(t,"add",n,o)),c}}const z={get:F,set:U,deleteProperty:function(e,t){const n=(0,r.hasOwn)(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&M(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return(0,r.isSymbol)(t)&&D.has(t)||O(e,0,t),n},ownKeys:function(e){return O(e,0,(0,r.isArray)(e)?"length":_),Reflect.ownKeys(e)}},G={get:V,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},K=(0,r.extend)({},z,{get:I,set:q}),Y=(0,r.extend)({},G,{get:B}),J=e=>e,X=e=>Reflect.getPrototypeOf(e);function Z(e,t,n=!1,r=!1){const o=Pe(e=e.__v_raw),s=Pe(t);t!==s&&!n&&O(o,0,t),!n&&O(o,0,s);const{has:i}=X(o),a=r?J:n?Ne:Me;return i.call(o,t)?a(e.get(t)):i.call(o,s)?a(e.get(s)):void(e!==o&&e.get(t))}function Q(e,t=!1){const n=this.__v_raw,r=Pe(n),o=Pe(e);return e!==o&&!t&&O(r,0,e),!t&&O(r,0,o),e===o?n.has(e):n.has(e)||n.has(o)}function ee(e,t=!1){return e=e.__v_raw,!t&&O(Pe(e),0,_),Reflect.get(e,"size",e)}function te(e){e=Pe(e);const t=Pe(this);return X(t).has.call(t,e)||(t.add(e),M(t,"add",e,e)),this}function ne(e,t){t=Pe(t);const n=Pe(this),{has:o,get:s}=X(n);let i=o.call(n,e);i||(e=Pe(e),i=o.call(n,e));const a=s.call(n,e);return n.set(e,t),i?(0,r.hasChanged)(t,a)&&M(n,"set",e,t):M(n,"add",e,t),this}function re(e){const t=Pe(this),{has:n,get:r}=X(t);let o=n.call(t,e);o||(e=Pe(e),o=n.call(t,e));r&&r.call(t,e);const s=t.delete(e);return o&&M(t,"delete",e,void 0),s}function oe(){const e=Pe(this),t=0!==e.size,n=e.clear();return t&&M(e,"clear",void 0,void 0),n}function se(e,t){return function(n,r){const o=this,s=o.__v_raw,i=Pe(s),a=t?J:e?Ne:Me;return!e&&O(i,0,_),s.forEach(((e,t)=>n.call(r,a(e),a(t),o)))}}function ie(e,t,n){return function(...o){const s=this.__v_raw,i=Pe(s),a=(0,r.isMap)(i),c="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,u=s[e](...o),p=n?J:t?Ne:Me;return!t&&O(i,0,l?b:_),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[p(e[0]),p(e[1])]:p(e),done:t}},[Symbol.iterator](){return this}}}}function ae(e){return function(...t){return"delete"!==e&&this}}function ce(){const e={get(e){return Z(this,e)},get size(){return ee(this)},has:Q,add:te,set:ne,delete:re,clear:oe,forEach:se(!1,!1)},t={get(e){return Z(this,e,!1,!0)},get size(){return ee(this)},has:Q,add:te,set:ne,delete:re,clear:oe,forEach:se(!1,!0)},n={get(e){return Z(this,e,!0)},get size(){return ee(this,!0)},has(e){return Q.call(this,e,!0)},add:ae("add"),set:ae("set"),delete:ae("delete"),clear:ae("clear"),forEach:se(!0,!1)},r={get(e){return Z(this,e,!0,!0)},get size(){return ee(this,!0)},has(e){return Q.call(this,e,!0)},add:ae("add"),set:ae("set"),delete:ae("delete"),clear:ae("clear"),forEach:se(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=ie(o,!1,!1),n[o]=ie(o,!0,!1),t[o]=ie(o,!1,!0),r[o]=ie(o,!0,!0)})),[e,n,t,r]}const[le,ue,pe,fe]=ce();function de(e,t){const n=t?e?fe:pe:e?ue:le;return(t,o,s)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.hasOwn)(n,o)&&o in t?n:t,o,s)}const he={get:de(!1,!1)},ge={get:de(!1,!0)},me={get:de(!0,!1)},ve={get:de(!0,!0)};const ye=new WeakMap,_e=new WeakMap,be=new WeakMap,Se=new WeakMap;function Ee(e){return e&&e.__v_isReadonly?e:ke(e,!1,z,he,ye)}function we(e){return ke(e,!1,K,ge,_e)}function xe(e){return ke(e,!0,G,me,be)}function Ce(e){return ke(e,!0,Y,ve,Se)}function ke(e,t,n,o,s){if(!(0,r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const a=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,r.toRawType)(c));var c;if(0===a)return e;const l=new Proxy(e,2===a?o:n);return s.set(e,l),l}function Ae(e){return Re(e)?Ae(e.__v_raw):!(!e||!e.__v_isReactive)}function Re(e){return!(!e||!e.__v_isReadonly)}function Oe(e){return Ae(e)||Re(e)}function Pe(e){const t=e&&e.__v_raw;return t?Pe(t):e}function Te(e){return(0,r.def)(e,"__v_skip",!0),e}const Me=e=>(0,r.isObject)(e)?Ee(e):e,Ne=e=>(0,r.isObject)(e)?xe(e):e;function Le(e){P()&&((e=Pe(e)).dep||(e.dep=p()),T(e.dep))}function De(e,t){(e=Pe(e)).dep&&N(e.dep)}function Fe(e){return Boolean(e&&!0===e.__v_isRef)}function Ie(e){return Be(e,!1)}function Ve(e){return Be(e,!0)}function Be(e,t){return Fe(e)?e:new je(e,t)}class je{constructor(e,t){this._shallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Pe(e),this._value=t?e:Me(e)}get value(){return Le(this),this._value}set value(e){e=this._shallow?e:Pe(e),(0,r.hasChanged)(e,this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:Me(e),De(this))}}function $e(e){De(e)}function He(e){return Fe(e)?e.value:e}const Ue={get:(e,t,n)=>He(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Fe(o)&&!Fe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function qe(e){return Ae(e)?e:new Proxy(e,Ue)}class We{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Le(this)),(()=>De(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function ze(e){return new We(e)}function Ge(e){const t=(0,r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Ye(e,n);return t}class Ke{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}}function Ye(e,t,n){const r=e[t];return Fe(r)?r:new Ke(e,t,n)}class Je{constructor(e,t,n){this._setter=t,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new S(e,(()=>{this._dirty||(this._dirty=!0,De(this))})),this.__v_isReadonly=n}get value(){const e=Pe(this);return Le(e),e._dirty&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Xe(e,t){let n,o;const s=(0,r.isFunction)(e);s?(n=e,o=r.NOOP):(n=e.get,o=e.set);return new Je(n,o,s||!o)}Promise.resolve();new Set;new Map;let Ze,Qe=[],et=!1;function tt(e,t){var n,r;if(Ze=e,Ze)Ze.enabled=!0,Qe.forEach((({event:e,args:t})=>Ze.emit(e,...t))),Qe=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null===(r=null===(n=window.navigator)||void 0===n?void 0:n.userAgent)||void 0===r?void 0:r.includes("jsdom"))){(t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{tt(e,t)})),setTimeout((()=>{Ze||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,et=!0,Qe=[])}),3e3)}else et=!0,Qe=[]}function nt(e,t,...n){const o=e.vnode.props||r.EMPTY_OBJ;let s=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in o){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:i}=o[e]||r.EMPTY_OBJ;i?s=n.map((e=>e.trim())):t&&(s=n.map(r.toNumber))}let c;let l=o[c=(0,r.toHandlerKey)(t)]||o[c=(0,r.toHandlerKey)((0,r.camelize)(t))];!l&&i&&(l=o[c=(0,r.toHandlerKey)((0,r.hyphenate)(t))]),l&&So(l,e,6,s);const u=o[c+"Once"];if(u){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,So(u,e,6,s)}}function rt(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(void 0!==s)return s;const i=e.emits;let a={},c=!1;if(!(0,r.isFunction)(e)){const o=e=>{const n=rt(e,t,!0);n&&(c=!0,(0,r.extend)(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||c?((0,r.isArray)(i)?i.forEach((e=>a[e]=null)):(0,r.extend)(a,i),o.set(e,a),a):(o.set(e,null),null)}function ot(e,t){return!(!e||!(0,r.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,r.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||(0,r.hasOwn)(e,(0,r.hyphenate)(t))||(0,r.hasOwn)(e,t))}let st=null,it=null;function at(e){const t=st;return st=e,it=e&&e.type.__scopeId||null,t}function ct(e){it=e}function lt(){it=null}const ut=e=>pt;function pt(e,t=st,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&gr(-1);const o=at(t),s=e(...n);return at(o),r._d&&gr(1),s};return r._n=!0,r._c=!0,r._d=!0,r}function ft(e){const{type:t,vnode:n,proxy:o,withProxy:s,props:i,propsOptions:[a],slots:c,attrs:l,emit:u,render:p,renderCache:f,data:d,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const _=at(e);try{if(4&n.shapeFlag){const e=s||o;v=Nr(p.call(e,e,f,i,h,d,g)),y=l}else{const e=t;0,v=Nr(e.length>1?e(i,{attrs:l,slots:c,emit:u}):e(i,null)),y=t.props?l:ht(l)}}catch(t){lr.length=0,Eo(t,e,1),v=kr(ar)}let b=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(a&&e.some(r.isModelListener)&&(y=gt(y,a)),b=Or(b,y))}return n.dirs&&(b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,at(_),v}function dt(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(!_r(r))return;if(r.type!==ar||"v-if"===r.children){if(t)return;t=r}}return t}const ht=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,r.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},gt=(e,t)=>{const n={};for(const o in e)(0,r.isModelListener)(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function mt(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!ot(n,s))return!0}return!1}function vt({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const yt={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,c,l){null==e?function(e,t,n,r,o,s,i,a,c){const{p:l,o:{createElement:u}}=c,p=u("div"),f=e.suspense=bt(e,o,r,t,p,n,s,i,a,c);l(null,f.pendingBranch=e.ssContent,p,null,r,f,s,i),f.deps>0?(_t(e,"onPending"),_t(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,i),wt(f,e.ssFallback)):f.resolve()}(t,n,r,o,s,i,a,c,l):function(e,t,n,r,o,s,i,a,{p:c,um:l,o:{createElement:u}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:m,isHydrating:v}=p;if(g)p.pendingBranch=f,br(f,g)?(c(g,f,p.hiddenContainer,null,o,p,s,i,a),p.deps<=0?p.resolve():m&&(c(h,d,n,r,o,null,s,i,a),wt(p,d))):(p.pendingId++,v?(p.isHydrating=!1,p.activeBranch=g):l(g,o,p),p.deps=0,p.effects.length=0,p.hiddenContainer=u("div"),m?(c(null,f,p.hiddenContainer,null,o,p,s,i,a),p.deps<=0?p.resolve():(c(h,d,n,r,o,null,s,i,a),wt(p,d))):h&&br(f,h)?(c(h,f,n,r,o,p,s,i,a),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,o,p,s,i,a),p.deps<=0&&p.resolve()));else if(h&&br(f,h))c(h,f,n,r,o,p,s,i,a),wt(p,f);else if(_t(t,"onPending"),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,o,p,s,i,a),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(d)}),e):0===e&&p.fallback(d)}}(e,t,n,r,o,i,a,c,l)},hydrate:function(e,t,n,r,o,s,i,a,c){const l=t.suspense=bt(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,s,i);0===l.deps&&l.resolve();return u},create:bt,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=St(r?n.default:n),e.ssFallback=r?St(n.fallback):kr(ar)}};function _t(e,t){const n=e.props&&e.props[t];(0,r.isFunction)(n)&&n()}function bt(e,t,n,o,s,i,a,c,l,u,p=!1){const{p:f,m:d,um:h,n:g,o:{parentNode:m,remove:v}}=u,y=(0,r.toNumber)(e.props&&e.props.timeout),_={vnode:e,parent:t,parentComponent:n,isSVG:a,container:o,hiddenContainer:s,anchor:i,deps:0,pendingId:0,timeout:"number"==typeof y?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:p,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:r,pendingId:o,effects:s,parentComponent:i,container:a}=_;if(_.isHydrating)_.isHydrating=!1;else if(!e){const e=n&&r.transition&&"out-in"===r.transition.mode;e&&(n.transition.afterLeave=()=>{o===_.pendingId&&d(r,a,t,0)});let{anchor:t}=_;n&&(t=g(n),h(n,i,_,!0)),e||d(r,a,t,0)}wt(_,r),_.pendingBranch=null,_.isInFallback=!1;let c=_.parent,l=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),l=!0;break}c=c.parent}l||jo(s),_.effects=[],_t(t,"onResolve")},fallback(e){if(!_.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:o,isSVG:s}=_;_t(t,"onFallback");const i=g(n),a=()=>{_.isInFallback&&(f(null,e,o,i,r,null,s,c,l),wt(_,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),_.isInFallback=!0,h(n,r,null,!0),u||a()},move(e,t,n){_.activeBranch&&d(_.activeBranch,e,t,n),_.container=e},next:()=>_.activeBranch&&g(_.activeBranch),registerDep(e,t){const n=!!_.pendingBranch;n&&_.deps++;const r=e.vnode.el;e.asyncDep.catch((t=>{Eo(t,e,0)})).then((o=>{if(e.isUnmounted||_.isUnmounted||_.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:s}=e;so(e,o,!1),r&&(s.el=r);const i=!r&&e.subTree.el;t(e,s,m(r||e.subTree.el),r?null:g(e.subTree),_,a,l),i&&v(i),vt(e,s.el),n&&0==--_.deps&&_.resolve()}))},unmount(e,t){_.isUnmounted=!0,_.activeBranch&&h(_.activeBranch,n,e,t),_.pendingBranch&&h(_.pendingBranch,n,e,t)}};return _}function St(e){let t;if((0,r.isFunction)(e)){const n=hr&&e._c;n&&(e._d=!1,pr()),e=e(),n&&(e._d=!0,t=ur,fr())}if((0,r.isArray)(e)){const t=dt(e);0,e=t}return e=Nr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Et(e,t){t&&t.pendingBranch?(0,r.isArray)(e)?t.effects.push(...e):t.effects.push(e):jo(e)}function wt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,vt(r,o))}function xt(e,t){if(Jr){let n=Jr.provides;const r=Jr.parent&&Jr.parent.provides;r===n&&(n=Jr.provides=Object.create(r)),n[e]=t}else 0}function Ct(e,t,n=!1){const o=Jr||st;if(o){const s=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&(0,r.isFunction)(t)?t.call(o.proxy):t}else 0}function kt(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xt((()=>{e.isMounted=!0})),en((()=>{e.isUnmounting=!0})),e}const At=[Function,Array],Rt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:At,onEnter:At,onAfterEnter:At,onEnterCancelled:At,onBeforeLeave:At,onLeave:At,onAfterLeave:At,onLeaveCancelled:At,onBeforeAppear:At,onAppear:At,onAfterAppear:At,onAppearCancelled:At},setup(e,{slots:t}){const n=Xr(),r=kt();let o;return()=>{const s=t.default&&Lt(t.default(),!0);if(!s||!s.length)return;const i=Pe(e),{mode:a}=i;const c=s[0];if(r.isLeaving)return Tt(c);const l=Mt(c);if(!l)return Tt(c);const u=Pt(l,i,r,n);Nt(l,u);const p=n.subTree,f=p&&Mt(p);let d=!1;const{getTransitionKey:h}=l.type;if(h){const e=h();void 0===o?o=e:e!==o&&(o=e,d=!0)}if(f&&f.type!==ar&&(!br(l,f)||d)){const e=Pt(f,i,r,n);if(Nt(f,e),"out-in"===a)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.update()},Tt(c);"in-out"===a&&l.type!==ar&&(e.delayLeave=(e,t,n)=>{Ot(r,f)[String(f.key)]=f,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return c}}};function Ot(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Pt(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:p,onLeave:f,onAfterLeave:d,onLeaveCancelled:h,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:y}=t,_=String(e.key),b=Ot(n,e),S=(e,t)=>{e&&So(e,r,9,t)},E={mode:s,persisted:i,beforeEnter(t){let r=a;if(!n.isMounted){if(!o)return;r=g||a}t._leaveCb&&t._leaveCb(!0);const s=b[_];s&&br(e,s)&&s.el._leaveCb&&s.el._leaveCb(),S(r,[t])},enter(e){let t=c,r=l,s=u;if(!n.isMounted){if(!o)return;t=m||c,r=v||l,s=y||u}let i=!1;const a=e._enterCb=t=>{i||(i=!0,S(t?s:r,[e]),E.delayedLeave&&E.delayedLeave(),e._enterCb=void 0)};t?(t(e,a),t.length<=1&&a()):a()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();S(p,[t]);let s=!1;const i=t._leaveCb=n=>{s||(s=!0,r(),S(n?h:d,[t]),t._leaveCb=void 0,b[o]===e&&delete b[o])};b[o]=e,f?(f(t,i),f.length<=1&&i()):i()},clone:e=>Pt(e,t,n,r)};return E}function Tt(e){if(Bt(e))return(e=Or(e)).children=null,e}function Mt(e){return Bt(e)?e.children?e.children[0]:void 0:e}function Nt(e,t){6&e.shapeFlag&&e.component?Nt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Lt(e,t=!1){let n=[],r=0;for(let o=0;o<e.length;o++){const s=e[o];s.type===sr?(128&s.patchFlag&&r++,n=n.concat(Lt(s.children,t))):(t||s.type!==ar)&&n.push(s)}if(r>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}function Dt(e){return(0,r.isFunction)(e)?{setup:e,name:e.name}:e}const Ft=e=>!!e.type.__asyncLoader;function It(e){(0,r.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:s=200,timeout:i,suspensible:a=!0,onError:c}=e;let l,u=null,p=0;const f=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),c)return new Promise(((t,n)=>{c(e,(()=>t((p++,u=null,f()))),(()=>n(e)),p+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return Dt({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return l},setup(){const e=Jr;if(l)return()=>Vt(l,e);const t=t=>{u=null,Eo(t,e,13,!o)};if(a&&e.suspense||ro)return f().then((t=>()=>Vt(t,e))).catch((e=>(t(e),()=>o?kr(o,{error:e}):null)));const r=Ie(!1),c=Ie(),p=Ie(!!s);return s&&setTimeout((()=>{p.value=!1}),s),null!=i&&setTimeout((()=>{if(!r.value&&!c.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),c.value=e}}),i),f().then((()=>{r.value=!0,e.parent&&Bt(e.parent.vnode)&&Io(e.parent.update)})).catch((e=>{t(e),c.value=e})),()=>r.value&&l?Vt(l,e):c.value&&o?kr(o,{error:c.value}):n&&!p.value?kr(n):void 0}})}function Vt(e,{vnode:{ref:t,props:n,children:r}}){const o=kr(e,n,r);return o.ref=t,o}const Bt=e=>e.type.__isKeepAlive,jt={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Xr(),o=n.ctx;if(!o.renderer)return t.default;const s=new Map,i=new Set;let a=null;const c=n.suspense,{renderer:{p:l,m:u,um:p,o:{createElement:f}}}=o,d=f("div");function h(e){zt(e),p(e,n,c)}function g(e){s.forEach(((t,n)=>{const r=fo(t.type);!r||e&&e(r)||m(n)}))}function m(e){const t=s.get(e);a&&t.type===a.type?a&&zt(a):h(t),s.delete(e),i.delete(e)}o.activate=(e,t,n,o,s)=>{const i=e.component;u(e,t,n,0,c),l(i.vnode,e,t,n,i,c,o,e.slotScopeIds,s),jn((()=>{i.isDeactivated=!1,i.a&&(0,r.invokeArrayFns)(i.a);const t=e.props&&e.props.onVnodeMounted;t&&Ir(t,i.parent,e)}),c)},o.deactivate=e=>{const t=e.component;u(e,d,null,1,c),jn((()=>{t.da&&(0,r.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&Ir(n,t.parent,e),t.isDeactivated=!0}),c)},Yo((()=>[e.include,e.exclude]),(([e,t])=>{e&&g((t=>$t(e,t))),t&&g((e=>!$t(t,e)))}),{flush:"post",deep:!0});let v=null;const y=()=>{null!=v&&s.set(v,Gt(n.subTree))};return Xt(y),Qt(y),en((()=>{s.forEach((e=>{const{subTree:t,suspense:r}=n,o=Gt(t);if(e.type!==o.type)h(e);else{zt(o);const e=o.component.da;e&&jn(e,r)}}))})),()=>{if(v=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return a=null,n;if(!(_r(r)&&(4&r.shapeFlag||128&r.shapeFlag)))return a=null,r;let o=Gt(r);const c=o.type,l=fo(Ft(o)?o.type.__asyncResolved||{}:c),{include:u,exclude:p,max:f}=e;if(u&&(!l||!$t(u,l))||p&&l&&$t(p,l))return a=o,r;const d=null==o.key?c:o.key,h=s.get(d);return o.el&&(o=Or(o),128&r.shapeFlag&&(r.ssContent=o)),v=d,h?(o.el=h.el,o.component=h.component,o.transition&&Nt(o,o.transition),o.shapeFlag|=512,i.delete(d),i.add(d)):(i.add(d),f&&i.size>parseInt(f,10)&&m(i.values().next().value)),o.shapeFlag|=256,a=o,r}}};function $t(e,t){return(0,r.isArray)(e)?e.some((e=>$t(e,t))):(0,r.isString)(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function Ht(e,t){qt(e,"a",t)}function Ut(e,t){qt(e,"da",t)}function qt(e,t,n=Jr){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Kt(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Bt(e.parent.vnode)&&Wt(r,t,n,e),e=e.parent}}function Wt(e,t,n,o){const s=Kt(t,e,o,!0);tn((()=>{(0,r.remove)(o[t],s)}),n)}function zt(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function Gt(e){return 128&e.shapeFlag?e.ssContent:e}function Kt(e,t,n=Jr,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;A(),Zr(n);const o=So(t,n,e,r);return Qr(),R(),o});return r?o.unshift(s):o.push(s),s}}const Yt=e=>(t,n=Jr)=>(!ro||"sp"===e)&&Kt(e,t,n),Jt=Yt("bm"),Xt=Yt("m"),Zt=Yt("bu"),Qt=Yt("u"),en=Yt("bum"),tn=Yt("um"),nn=Yt("sp"),rn=Yt("rtg"),on=Yt("rtc");function sn(e,t=Jr){Kt("ec",e,t)}let an=!0;function cn(e){const t=pn(e),n=e.proxy,o=e.ctx;an=!1,t.beforeCreate&&ln(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:a,watch:c,provide:l,inject:u,created:p,beforeMount:f,mounted:d,beforeUpdate:h,updated:g,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:_,destroyed:b,unmounted:S,render:E,renderTracked:w,renderTriggered:x,errorCaptured:C,serverPrefetch:k,expose:A,inheritAttrs:R,components:O,directives:P,filters:T}=t;if(u&&function(e,t,n=r.NOOP,o=!1){(0,r.isArray)(e)&&(e=gn(e));for(const n in e){const s=e[n];let i;i=(0,r.isObject)(s)?"default"in s?Ct(s.from||n,s.default,!0):Ct(s.from||n):Ct(s),Fe(i)&&o?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}(u,o,null,e.appContext.config.unwrapInjectedRef),a)for(const e in a){const t=a[e];(0,r.isFunction)(t)&&(o[e]=t.bind(n))}if(s){0;const t=s.call(n,n);0,(0,r.isObject)(t)&&(e.data=Ee(t))}if(an=!0,i)for(const e in i){const t=i[e];0;const s=Xe({get:(0,r.isFunction)(t)?t.bind(n,n):(0,r.isFunction)(t.get)?t.get.bind(n,n):r.NOOP,set:!(0,r.isFunction)(t)&&(0,r.isFunction)(t.set)?t.set.bind(n):r.NOOP});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(c)for(const e in c)un(c[e],o,n,e);if(l){const e=(0,r.isFunction)(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{xt(t,e[t])}))}function M(e,t){(0,r.isArray)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&ln(p,e,"c"),M(Jt,f),M(Xt,d),M(Zt,h),M(Qt,g),M(Ht,m),M(Ut,v),M(sn,C),M(on,w),M(rn,x),M(en,_),M(tn,S),M(nn,k),(0,r.isArray)(A))if(A.length){const t=e.exposed||(e.exposed={});A.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});E&&e.render===r.NOOP&&(e.render=E),null!=R&&(e.inheritAttrs=R),O&&(e.components=O),P&&(e.directives=P)}function ln(e,t,n){So((0,r.isArray)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function un(e,t,n,o){const s=o.includes(".")?Zo(n,o):()=>n[o];if((0,r.isString)(e)){const n=t[e];(0,r.isFunction)(n)&&Yo(s,n)}else if((0,r.isFunction)(e))Yo(s,e.bind(n));else if((0,r.isObject)(e))if((0,r.isArray)(e))e.forEach((e=>un(e,t,n,o)));else{const o=(0,r.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];(0,r.isFunction)(o)&&Yo(s,o,e)}else 0}function pn(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let c;return a?c=a:o.length||n||r?(c={},o.length&&o.forEach((e=>fn(c,e,i,!0))),fn(c,t,i)):c=t,s.set(t,c),c}function fn(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&fn(e,s,n,!0),o&&o.forEach((t=>fn(e,t,n,!0)));for(const o in t)if(r&&"expose"===o);else{const r=dn[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const dn={data:hn,props:vn,emits:vn,methods:vn,computed:vn,beforeCreate:mn,created:mn,beforeMount:mn,mounted:mn,beforeUpdate:mn,updated:mn,beforeDestroy:mn,beforeUnmount:mn,destroyed:mn,unmounted:mn,activated:mn,deactivated:mn,errorCaptured:mn,serverPrefetch:mn,components:vn,directives:vn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=(0,r.extend)(Object.create(null),e);for(const r in t)n[r]=mn(e[r],t[r]);return n},provide:hn,inject:function(e,t){return vn(gn(e),gn(t))}};function hn(e,t){return t?e?function(){return(0,r.extend)((0,r.isFunction)(e)?e.call(this,this):e,(0,r.isFunction)(t)?t.call(this,this):t)}:t:e}function gn(e){if((0,r.isArray)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mn(e,t){return e?[...new Set([].concat(e,t))]:t}function vn(e,t){return e?(0,r.extend)((0,r.extend)(Object.create(null),e),t):t}function yn(e,t,n,o){const[s,i]=e.propsOptions;let a,c=!1;if(t)for(let l in t){if((0,r.isReservedProp)(l))continue;const u=t[l];let p;s&&(0,r.hasOwn)(s,p=(0,r.camelize)(l))?i&&i.includes(p)?(a||(a={}))[p]=u:n[p]=u:ot(e.emitsOptions,l)||l in o&&u===o[l]||(o[l]=u,c=!0)}if(i){const t=Pe(n),o=a||r.EMPTY_OBJ;for(let a=0;a<i.length;a++){const c=i[a];n[c]=_n(s,t,c,o[c],e,!(0,r.hasOwn)(o,c))}}return c}function _n(e,t,n,o,s,i){const a=e[n];if(null!=a){const e=(0,r.hasOwn)(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&(0,r.isFunction)(e)){const{propsDefaults:r}=s;n in r?o=r[n]:(Zr(s),o=r[n]=e.call(null,t),Qr())}else o=e}a[0]&&(i&&!e?o=!1:!a[1]||""!==o&&o!==(0,r.hyphenate)(n)||(o=!0))}return o}function bn(e,t,n=!1){const o=t.propsCache,s=o.get(e);if(s)return s;const i=e.props,a={},c=[];let l=!1;if(!(0,r.isFunction)(e)){const o=e=>{l=!0;const[n,o]=bn(e,t,!0);(0,r.extend)(a,n),o&&c.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!i&&!l)return o.set(e,r.EMPTY_ARR),r.EMPTY_ARR;if((0,r.isArray)(i))for(let e=0;e<i.length;e++){0;const t=(0,r.camelize)(i[e]);Sn(t)&&(a[t]=r.EMPTY_OBJ)}else if(i){0;for(const e in i){const t=(0,r.camelize)(e);if(Sn(t)){const n=i[e],o=a[t]=(0,r.isArray)(n)||(0,r.isFunction)(n)?{type:n}:n;if(o){const e=xn(Boolean,o.type),n=xn(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||(0,r.hasOwn)(o,"default"))&&c.push(t)}}}}const u=[a,c];return o.set(e,u),u}function Sn(e){return"$"!==e[0]}function En(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function wn(e,t){return En(e)===En(t)}function xn(e,t){return(0,r.isArray)(t)?t.findIndex((t=>wn(t,e))):(0,r.isFunction)(t)&&wn(t,e)?0:-1}const Cn=e=>"_"===e[0]||"$stable"===e,kn=e=>(0,r.isArray)(e)?e.map(Nr):[Nr(e)],An=(e,t,n)=>{const r=pt(((...e)=>kn(t(...e))),n);return r._c=!1,r},Rn=(e,t,n)=>{const o=e._ctx;for(const n in e){if(Cn(n))continue;const s=e[n];if((0,r.isFunction)(s))t[n]=An(0,s,o);else if(null!=s){0;const e=kn(s);t[n]=()=>e}}},On=(e,t)=>{const n=kn(t);e.slots.default=()=>n};function Pn(e,t){if(null===st)return e;const n=st.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[s,i,a,c=r.EMPTY_OBJ]=t[e];(0,r.isFunction)(s)&&(s={mounted:s,updated:s}),s.deep&&Qo(i),o.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:c})}return e}function Tn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let c=a.dir[r];c&&(A(),So(c,n,8,[e.el,a,e,t]),R())}}function Mn(){return{app:null,config:{isNativeTag:r.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Nn=0;function Ln(e,t){return function(n,o=null){null==o||(0,r.isObject)(o)||(o=null);const s=Mn(),i=new Set;let a=!1;const c=s.app={_uid:Nn++,_component:n,_props:o,_container:null,_context:s,_instance:null,version:ms,get config(){return s.config},set config(e){0},use:(e,...t)=>(i.has(e)||(e&&(0,r.isFunction)(e.install)?(i.add(e),e.install(c,...t)):(0,r.isFunction)(e)&&(i.add(e),e(c,...t))),c),mixin:e=>(s.mixins.includes(e)||s.mixins.push(e),c),component:(e,t)=>t?(s.components[e]=t,c):s.components[e],directive:(e,t)=>t?(s.directives[e]=t,c):s.directives[e],mount(r,i,l){if(!a){const u=kr(n,o);return u.appContext=s,i&&t?t(u,r):e(u,r,l),a=!0,c._container=r,r.__vue_app__=c,uo(u.component)||u.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide:(e,t)=>(s.provides[e]=t,c)};return c}}function Dn(e,t,n,o,s=!1){if((0,r.isArray)(e))return void e.forEach(((e,i)=>Dn(e,t&&((0,r.isArray)(t)?t[i]:t),n,o,s)));if(Ft(o)&&!s)return;const i=4&o.shapeFlag?uo(o.component)||o.component.proxy:o.el,a=s?null:i,{i:c,r:l}=e;const u=t&&t.r,p=c.refs===r.EMPTY_OBJ?c.refs={}:c.refs,f=c.setupState;if(null!=u&&u!==l&&((0,r.isString)(u)?(p[u]=null,(0,r.hasOwn)(f,u)&&(f[u]=null)):Fe(u)&&(u.value=null)),(0,r.isFunction)(l))bo(l,c,12,[a,p]);else{const t=(0,r.isString)(l),o=Fe(l);if(t||o){const o=()=>{if(e.f){const n=t?p[l]:l.value;s?(0,r.isArray)(n)&&(0,r.remove)(n,i):(0,r.isArray)(n)?n.includes(i)||n.push(i):t?p[l]=[i]:(l.value=[i],e.k&&(p[e.k]=l.value))}else t?(p[l]=a,(0,r.hasOwn)(f,l)&&(f[l]=a)):Fe(l)&&(l.value=a,e.k&&(p[e.k]=a))};a?(o.id=-1,jn(o,n)):o()}else 0}}let Fn=!1;const In=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,Vn=e=>8===e.nodeType;function Bn(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:s,parentNode:i,remove:a,insert:c,createComment:l}}=e,u=(n,r,o,a,c,l=!1)=>{const m=Vn(n)&&"["===n.data,v=()=>h(n,r,o,a,c,m),{type:y,ref:_,shapeFlag:b}=r,S=n.nodeType;r.el=n;let E=null;switch(y){case ir:3!==S?E=v():(n.data!==r.children&&(Fn=!0,n.data=r.children),E=s(n));break;case ar:E=8!==S||m?v():s(n);break;case cr:if(1===S){E=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=E.outerHTML),t===r.staticCount-1&&(r.anchor=E),E=s(E);return E}E=v();break;case sr:E=m?d(n,r,o,a,c,l):v();break;default:if(1&b)E=1!==S||r.type.toLowerCase()!==n.tagName.toLowerCase()?v():p(n,r,o,a,c,l);else if(6&b){r.slotScopeIds=c;const e=i(n);if(t(r,e,null,o,a,In(e),l),E=m?g(n):s(n),Ft(r)){let t;m?(t=kr(sr),t.anchor=E?E.previousSibling:e.lastChild):t=3===n.nodeType?Pr(""):kr("div"),t.el=n,r.component.subTree=t}}else 64&b?E=8!==S?v():r.type.hydrate(n,r,o,a,c,l,e,f):128&b&&(E=r.type.hydrate(n,r,o,a,In(i(n)),c,l,e,u))}return null!=_&&Dn(_,null,a,r),E},p=(e,t,n,s,i,c)=>{c=c||!!t.dynamicChildren;const{type:l,props:u,patchFlag:p,shapeFlag:d,dirs:h}=t,g="input"===l&&h||"option"===l;if(g||-1!==p){if(h&&Tn(t,null,n,"created"),u)if(g||!c||48&p)for(const t in u)(g&&t.endsWith("value")||(0,r.isOn)(t)&&!(0,r.isReservedProp)(t))&&o(e,t,null,u[t],!1,void 0,n);else u.onClick&&o(e,"onClick",null,u.onClick,!1,void 0,n);let l;if((l=u&&u.onVnodeBeforeMount)&&Ir(l,n,t),h&&Tn(t,null,n,"beforeMount"),((l=u&&u.onVnodeMounted)||h)&&Et((()=>{l&&Ir(l,n,t),h&&Tn(t,null,n,"mounted")}),s),16&d&&(!u||!u.innerHTML&&!u.textContent)){let r=f(e.firstChild,t,e,n,s,i,c);for(;r;){Fn=!0;const e=r;r=r.nextSibling,a(e)}}else 8&d&&e.textContent!==t.children&&(Fn=!0,e.textContent=t.children)}return e.nextSibling},f=(e,t,r,o,s,i,a)=>{a=a||!!t.dynamicChildren;const c=t.children,l=c.length;for(let t=0;t<l;t++){const l=a?c[t]:c[t]=Nr(c[t]);if(e)e=u(e,l,o,s,i,a);else{if(l.type===ir&&!l.children)continue;Fn=!0,n(null,l,r,null,o,s,In(r),i)}}return e},d=(e,t,n,r,o,a)=>{const{slotScopeIds:u}=t;u&&(o=o?o.concat(u):u);const p=i(e),d=f(s(e),t,p,n,r,o,a);return d&&Vn(d)&&"]"===d.data?s(t.anchor=d):(Fn=!0,c(t.anchor=l("]"),p,d),d)},h=(e,t,r,o,c,l)=>{if(Fn=!0,t.el=null,l){const t=g(e);for(;;){const n=s(e);if(!n||n===t)break;a(n)}}const u=s(e),p=i(e);return a(e),n(null,t,p,u,r,o,In(p),c),u},g=e=>{let t=0;for(;e;)if((e=s(e))&&Vn(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return s(e);t--}return e};return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),void Ho();Fn=!1,u(t.firstChild,e,null,null,null),Ho()},u]}const jn=Et;function $n(e){return Un(e)}function Hn(e){return Un(e,Bn)}function Un(e,t){(0,r.getGlobalThis)().__VUE__=!0;const{insert:n,remove:o,patchProp:s,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:p,nextSibling:f,setScopeId:d=r.NOOP,cloneNode:h,insertStaticContent:g}=e,m=(e,t,n,r=null,o=null,s=null,i=!1,a=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!br(e,t)&&(r=G(e),H(e,o,s,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:l,ref:u,shapeFlag:p}=t;switch(l){case ir:v(e,t,n,r);break;case ar:y(e,t,n,r);break;case cr:null==e&&_(t,n,r,i);break;case sr:T(e,t,n,r,o,s,i,a,c);break;default:1&p?E(e,t,n,r,o,s,i,a,c):6&p?N(e,t,n,r,o,s,i,a,c):(64&p||128&p)&&l.process(e,t,n,r,o,s,i,a,c,Y)}null!=u&&o&&Dn(u,e&&e.ref,s,t||e,!t)},v=(e,t,r,o)=>{if(null==e)n(t.el=a(t.children),r,o);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},y=(e,t,r,o)=>{null==e?n(t.el=c(t.children||""),r,o):t.el=e.el},_=(e,t,n,r)=>{[e.el,e.anchor]=g(e.children,t,n,r)},b=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)},E=(e,t,n,r,o,s,i,a,c)=>{i=i||"svg"===t.type,null==e?w(t,n,r,o,s,i,a,c):k(e,t,o,s,i,a,c)},w=(e,t,o,a,c,l,p,f)=>{let d,g;const{type:m,props:v,shapeFlag:y,transition:_,patchFlag:b,dirs:S}=e;if(e.el&&void 0!==h&&-1===b)d=e.el=h(e.el);else{if(d=e.el=i(e.type,l,v&&v.is,v),8&y?u(d,e.children):16&y&&C(e.children,d,null,a,c,l&&"foreignObject"!==m,p,f),S&&Tn(e,null,a,"created"),v){for(const t in v)"value"===t||(0,r.isReservedProp)(t)||s(d,t,null,v[t],l,e.children,a,c,z);"value"in v&&s(d,"value",null,v.value),(g=v.onVnodeBeforeMount)&&Ir(g,a,e)}x(d,e,e.scopeId,p,a)}S&&Tn(e,null,a,"beforeMount");const E=(!c||c&&!c.pendingBranch)&&_&&!_.persisted;E&&_.beforeEnter(d),n(d,t,o),((g=v&&v.onVnodeMounted)||E||S)&&jn((()=>{g&&Ir(g,a,e),E&&_.enter(d),S&&Tn(e,null,a,"mounted")}),c)},x=(e,t,n,r,o)=>{if(n&&d(e,n),r)for(let t=0;t<r.length;t++)d(e,r[t]);if(o){if(t===o.subTree){const t=o.vnode;x(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},C=(e,t,n,r,o,s,i,a,c=0)=>{for(let l=c;l<e.length;l++){const c=e[l]=a?Lr(e[l]):Nr(e[l]);m(null,c,t,n,r,o,s,i,a)}},k=(e,t,n,o,i,a,c)=>{const l=t.el=e.el;let{patchFlag:p,dynamicChildren:f,dirs:d}=t;p|=16&e.patchFlag;const h=e.props||r.EMPTY_OBJ,g=t.props||r.EMPTY_OBJ;let m;n&&qn(n,!1),(m=g.onVnodeBeforeUpdate)&&Ir(m,n,t,e),d&&Tn(t,e,n,"beforeUpdate"),n&&qn(n,!0);const v=i&&"foreignObject"!==t.type;if(f?O(e.dynamicChildren,f,l,n,o,v,a):c||V(e,t,l,null,n,o,v,a,!1),p>0){if(16&p)P(l,t,h,g,n,o,i);else if(2&p&&h.class!==g.class&&s(l,"class",null,g.class,i),4&p&&s(l,"style",h.style,g.style,i),8&p){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const a=r[t],c=h[a],u=g[a];u===c&&"value"!==a||s(l,a,c,u,i,e.children,n,o,z)}}1&p&&e.children!==t.children&&u(l,t.children)}else c||null!=f||P(l,t,h,g,n,o,i);((m=g.onVnodeUpdated)||d)&&jn((()=>{m&&Ir(m,n,t,e),d&&Tn(t,e,n,"updated")}),o)},O=(e,t,n,r,o,s,i)=>{for(let a=0;a<t.length;a++){const c=e[a],l=t[a],u=c.el&&(c.type===sr||!br(c,l)||70&c.shapeFlag)?p(c.el):n;m(c,l,u,null,r,o,s,i,!0)}},P=(e,t,n,o,i,a,c)=>{if(n!==o){for(const l in o){if((0,r.isReservedProp)(l))continue;const u=o[l],p=n[l];u!==p&&"value"!==l&&s(e,l,p,u,c,t.children,i,a,z)}if(n!==r.EMPTY_OBJ)for(const l in n)(0,r.isReservedProp)(l)||l in o||s(e,l,n[l],null,c,t.children,i,a,z);"value"in o&&s(e,"value",n.value,o.value)}},T=(e,t,r,o,s,i,c,l,u)=>{const p=t.el=e?e.el:a(""),f=t.anchor=e?e.anchor:a("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(p,r,o),n(f,r,o),C(t.children,r,f,s,i,c,l,u)):d>0&&64&d&&h&&e.dynamicChildren?(O(e.dynamicChildren,h,r,s,i,c,l),(null!=t.key||s&&t===s.subTree)&&Wn(e,t,!0)):V(e,t,r,f,s,i,c,l,u)},N=(e,t,n,r,o,s,i,a,c)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,c):L(t,n,r,o,s,i,c):D(e,t,c)},L=(e,t,n,r,o,s,i)=>{const a=e.component=Yr(e,r,o);if(Bt(e)&&(a.ctx.renderer=Y),oo(a),a.asyncDep){if(o&&o.registerDep(a,F),!e.el){const e=a.subTree=kr(ar);y(null,e,t,n)}}else F(a,e,t,n,o,s,i)},D=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:c}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&c>=0))return!(!o&&!a||a&&a.$stable)||r!==i&&(r?!i||mt(r,i,l):!!i);if(1024&c)return!0;if(16&c)return r?mt(r,i,l):!!i;if(8&c){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==r[n]&&!ot(l,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void I(r,t,n);r.next=t,function(e){const t=Co.indexOf(e);t>ko&&Co.splice(t,1)}(r.update),r.update()}else t.component=e.component,t.el=e.el,r.vnode=t},F=(e,t,n,o,s,i,a)=>{const c=e.effect=new S((()=>{if(e.isMounted){let t,{next:n,bu:o,u:c,parent:l,vnode:u}=e,f=n;0,qn(e,!1),n?(n.el=u.el,I(e,n,a)):n=u,o&&(0,r.invokeArrayFns)(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Ir(t,l,n,u),qn(e,!0);const d=ft(e);0;const h=e.subTree;e.subTree=d,m(h,d,p(h.el),G(h),e,s,i),n.el=d.el,null===f&&vt(e,d.el),c&&jn(c,s),(t=n.props&&n.props.onVnodeUpdated)&&jn((()=>Ir(t,l,n,u)),s)}else{let a;const{el:c,props:l}=t,{bm:u,m:p,parent:f}=e,d=Ft(t);if(qn(e,!1),u&&(0,r.invokeArrayFns)(u),!d&&(a=l&&l.onVnodeBeforeMount)&&Ir(a,f,t),qn(e,!0),c&&X){const n=()=>{e.subTree=ft(e),X(c,e.subTree,e,s,null)};d?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=ft(e);0,m(null,r,n,o,e,s,i),t.el=r.el}if(p&&jn(p,s),!d&&(a=l&&l.onVnodeMounted)){const e=t;jn((()=>Ir(a,f,e)),s)}256&t.shapeFlag&&e.a&&jn(e.a,s),e.isMounted=!0,t=n=o=null}}),(()=>Io(e.update)),e.scope),l=e.update=c.run.bind(c);l.id=e.uid,qn(e,!0),l()},I=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:s,attrs:i,vnode:{patchFlag:a}}=e,c=Pe(s),[l]=e.propsOptions;let u=!1;if(!(o||a>0)||16&a){let o;yn(e,t,s,i)&&(u=!0);for(const i in c)t&&((0,r.hasOwn)(t,i)||(o=(0,r.hyphenate)(i))!==i&&(0,r.hasOwn)(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(s[i]=_n(l,c,i,void 0,e,!0)):delete s[i]);if(i!==c)for(const e in i)t&&(0,r.hasOwn)(t,e)||(delete i[e],u=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];const p=t[a];if(l)if((0,r.hasOwn)(i,a))p!==i[a]&&(i[a]=p,u=!0);else{const t=(0,r.camelize)(a);s[t]=_n(l,c,t,p,e,!1)}else p!==i[a]&&(i[a]=p,u=!0)}}u&&M(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:s}=e;let i=!0,a=r.EMPTY_OBJ;if(32&o.shapeFlag){const e=t._;e?n&&1===e?i=!1:((0,r.extend)(s,t),n||1!==e||delete s._):(i=!t.$stable,Rn(t,s)),a=t}else t&&(On(e,t),a={default:1});if(i)for(const e in s)Cn(e)||e in a||delete s[e]})(e,t.children,n),A(),$o(void 0,e.update),R()},V=(e,t,n,r,o,s,i,a,c=!1)=>{const l=e&&e.children,p=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void j(l,f,n,r,o,s,i,a,c);if(256&d)return void B(l,f,n,r,o,s,i,a,c)}8&h?(16&p&&z(l,o,s),f!==l&&u(n,f)):16&p?16&h?j(l,f,n,r,o,s,i,a,c):z(l,o,s,!0):(8&p&&u(n,""),16&h&&C(f,n,r,o,s,i,a,c))},B=(e,t,n,o,s,i,a,c,l)=>{e=e||r.EMPTY_ARR,t=t||r.EMPTY_ARR;const u=e.length,p=t.length,f=Math.min(u,p);let d;for(d=0;d<f;d++){const r=t[d]=l?Lr(t[d]):Nr(t[d]);m(e[d],r,n,null,s,i,a,c,l)}u>p?z(e,s,i,!0,!1,f):C(t,n,o,s,i,a,c,l,f)},j=(e,t,n,o,s,i,a,c,l)=>{let u=0;const p=t.length;let f=e.length-1,d=p-1;for(;u<=f&&u<=d;){const r=e[u],o=t[u]=l?Lr(t[u]):Nr(t[u]);if(!br(r,o))break;m(r,o,n,null,s,i,a,c,l),u++}for(;u<=f&&u<=d;){const r=e[f],o=t[d]=l?Lr(t[d]):Nr(t[d]);if(!br(r,o))break;m(r,o,n,null,s,i,a,c,l),f--,d--}if(u>f){if(u<=d){const e=d+1,r=e<p?t[e].el:o;for(;u<=d;)m(null,t[u]=l?Lr(t[u]):Nr(t[u]),n,r,s,i,a,c,l),u++}}else if(u>d)for(;u<=f;)H(e[u],s,i,!0),u++;else{const h=u,g=u,v=new Map;for(u=g;u<=d;u++){const e=t[u]=l?Lr(t[u]):Nr(t[u]);null!=e.key&&v.set(e.key,u)}let y,_=0;const b=d-g+1;let S=!1,E=0;const w=new Array(b);for(u=0;u<b;u++)w[u]=0;for(u=h;u<=f;u++){const r=e[u];if(_>=b){H(r,s,i,!0);continue}let o;if(null!=r.key)o=v.get(r.key);else for(y=g;y<=d;y++)if(0===w[y-g]&&br(r,t[y])){o=y;break}void 0===o?H(r,s,i,!0):(w[o-g]=u+1,o>=E?E=o:S=!0,m(r,t[o],n,null,s,i,a,c,l),_++)}const x=S?function(e){const t=e.slice(),n=[0];let r,o,s,i,a;const c=e.length;for(r=0;r<c;r++){const c=e[r];if(0!==c){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}s=n.length,i=n[s-1];for(;s-- >0;)n[s]=i,i=t[i];return n}(w):r.EMPTY_ARR;for(y=x.length-1,u=b-1;u>=0;u--){const e=g+u,r=t[e],f=e+1<p?t[e+1].el:o;0===w[u]?m(null,r,n,f,s,i,a,c,l):S&&(y<0||u!==x[y]?$(r,n,f,2):y--)}}},$=(e,t,r,o,s=null)=>{const{el:i,type:a,transition:c,children:l,shapeFlag:u}=e;if(6&u)return void $(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void a.move(e,t,r,Y);if(a===sr){n(i,t,r);for(let e=0;e<l.length;e++)$(l[e],t,r,o);return void n(e.anchor,t,r)}if(a===cr)return void(({el:e,anchor:t},r,o)=>{let s;for(;e&&e!==t;)s=f(e),n(e,r,o),e=s;n(t,r,o)})(e,t,r);if(2!==o&&1&u&&c)if(0===o)c.beforeEnter(i),n(i,t,r),jn((()=>c.enter(i)),s);else{const{leave:e,delayLeave:o,afterLeave:s}=c,a=()=>n(i,t,r),l=()=>{e(i,(()=>{a(),s&&s()}))};o?o(i,a,l):l()}else n(i,t,r)},H=(e,t,n,r=!1,o=!1)=>{const{type:s,props:i,ref:a,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:p,dirs:f}=e;if(null!=a&&Dn(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const d=1&u&&f,h=!Ft(e);let g;if(h&&(g=i&&i.onVnodeBeforeUnmount)&&Ir(g,t,e),6&u)W(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);d&&Tn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,Y,r):l&&(s!==sr||p>0&&64&p)?z(l,t,n,!1,!0):(s===sr&&384&p||!o&&16&u)&&z(c,t,n),r&&U(e)}(h&&(g=i&&i.onVnodeUnmounted)||d)&&jn((()=>{g&&Ir(g,t,e),d&&Tn(e,null,t,"unmounted")}),n)},U=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===sr)return void q(n,r);if(t===cr)return void b(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:r}=s,o=()=>t(n,i);r?r(e.el,i,o):o()}else i()},q=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},W=(e,t,n)=>{const{bum:o,scope:s,update:i,subTree:a,um:c}=e;o&&(0,r.invokeArrayFns)(o),s.stop(),i&&(i.active=!1,H(a,e,t,n)),c&&jn(c,t),jn((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},z=(e,t,n,r=!1,o=!1,s=0)=>{for(let i=s;i<e.length;i++)H(e[i],t,n,r,o)},G=e=>6&e.shapeFlag?G(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),K=(e,t,n)=>{null==e?t._vnode&&H(t._vnode,null,null,!0):m(t._vnode||null,e,t,null,null,null,n),Ho(),t._vnode=e},Y={p:m,um:H,m:$,r:U,mt:L,mc:C,pc:V,pbc:O,n:G,o:e};let J,X;return t&&([J,X]=t(Y)),{render:K,hydrate:J,createApp:Ln(K,J)}}function qn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wn(e,t,n=!1){const o=e.children,s=t.children;if((0,r.isArray)(o)&&(0,r.isArray)(s))for(let e=0;e<o.length;e++){const t=o[e];let r=s[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=s[e]=Lr(s[e]),r.el=t.el),n||Wn(t,r))}}const zn=e=>e&&(e.disabled||""===e.disabled),Gn=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Kn=(e,t)=>{const n=e&&e.to;if((0,r.isString)(n)){if(t){const e=t(n);return e}return null}return n},Yn={__isTeleport:!0,process(e,t,n,r,o,s,i,a,c,l){const{mc:u,pc:p,pbc:f,o:{insert:d,querySelector:h,createText:g,createComment:m}}=l,v=zn(t.props);let{shapeFlag:y,children:_,dynamicChildren:b}=t;if(null==e){const e=t.el=g(""),l=t.anchor=g("");d(e,n,r),d(l,n,r);const p=t.target=Kn(t.props,h),f=t.targetAnchor=g("");p&&(d(f,p),i=i||Gn(p));const m=(e,t)=>{16&y&&u(_,e,t,o,s,i,a,c)};v?m(n,l):p&&m(p,f)}else{t.el=e.el;const r=t.anchor=e.anchor,u=t.target=e.target,d=t.targetAnchor=e.targetAnchor,g=zn(e.props),m=g?n:u,y=g?r:d;if(i=i||Gn(u),b?(f(e.dynamicChildren,b,m,o,s,i,a),Wn(e,t,!0)):c||p(e,t,m,y,o,s,i,a,!1),v)g||Jn(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Kn(t.props,h);e&&Jn(t,e,null,l,0)}else g&&Jn(t,u,d,l,1)}},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:p,props:f}=e;if(p&&s(u),(i||!zn(f))&&(s(l),16&a))for(let e=0;e<c.length;e++){const r=c[e];o(r,t,n,!0,!!r.dynamicChildren)}},move:Jn,hydrate:function(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:c}},l){const u=t.target=Kn(t.props,c);if(u){const c=u._lpa||u.firstChild;16&t.shapeFlag&&(zn(t.props)?(t.anchor=l(i(e),t,a(e),n,r,o,s),t.targetAnchor=c):(t.anchor=i(e),t.targetAnchor=l(c,t,u,n,r,o,s)),u._lpa=t.targetAnchor&&i(t.targetAnchor))}return t.anchor&&i(t.anchor)}};function Jn(e,t,n,{o:{insert:r},m:o},s=2){0===s&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:c,children:l,props:u}=e,p=2===s;if(p&&r(i,t,n),(!p||zn(u))&&16&c)for(let e=0;e<l.length;e++)o(l[e],t,n,2);p&&r(a,t,n)}const Xn=Yn,Zn="components";function Qn(e,t){return rr(Zn,e,!0,t)||e}const er=Symbol();function tr(e){return(0,r.isString)(e)?rr(Zn,e,!1)||e:e||er}function nr(e){return rr("directives",e)}function rr(e,t,n=!0,o=!1){const s=st||Jr;if(s){const n=s.type;if(e===Zn){const e=fo(n);if(e&&(e===t||e===(0,r.camelize)(t)||e===(0,r.capitalize)((0,r.camelize)(t))))return n}const i=or(s[e]||n[e],t)||or(s.appContext[e],t);return!i&&o?n:i}}function or(e,t){return e&&(e[t]||e[(0,r.camelize)(t)]||e[(0,r.capitalize)((0,r.camelize)(t))])}const sr=Symbol(void 0),ir=Symbol(void 0),ar=Symbol(void 0),cr=Symbol(void 0),lr=[];let ur=null;function pr(e=!1){lr.push(ur=e?null:[])}function fr(){lr.pop(),ur=lr[lr.length-1]||null}let dr,hr=1;function gr(e){hr+=e}function mr(e){return e.dynamicChildren=hr>0?ur||r.EMPTY_ARR:null,fr(),hr>0&&ur&&ur.push(e),e}function vr(e,t,n,r,o,s){return mr(Cr(e,t,n,r,o,s,!0))}function yr(e,t,n,r,o){return mr(kr(e,t,n,r,o,!0))}function _r(e){return!!e&&!0===e.__v_isVNode}function br(e,t){return e.type===t.type&&e.key===t.key}function Sr(e){dr=e}const Er="__vInternal",wr=({key:e})=>null!=e?e:null,xr=({ref:e,ref_key:t,ref_for:n})=>null!=e?(0,r.isString)(e)||Fe(e)||(0,r.isFunction)(e)?{i:st,r:e,k:t,f:!!n}:e:null;function Cr(e,t=null,n=null,o=0,s=null,i=(e===sr?0:1),a=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wr(t),ref:t&&xr(t),scopeId:it,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null};return c?(Dr(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=(0,r.isString)(n)?8:16),hr>0&&!a&&ur&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&ur.push(l),l}const kr=Ar;function Ar(e,t=null,n=null,o=0,s=null,i=!1){if(e&&e!==er||(e=ar),_r(e)){const r=Or(e,t,!0);return n&&Dr(r,n),r}if(go(e)&&(e=e.__vccOpts),t){t=Rr(t);let{class:e,style:n}=t;e&&!(0,r.isString)(e)&&(t.class=(0,r.normalizeClass)(e)),(0,r.isObject)(n)&&(Oe(n)&&!(0,r.isArray)(n)&&(n=(0,r.extend)({},n)),t.style=(0,r.normalizeStyle)(n))}return Cr(e,t,n,o,s,(0,r.isString)(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:(0,r.isObject)(e)?4:(0,r.isFunction)(e)?2:0,i,!0)}function Rr(e){return e?Oe(e)||Er in e?(0,r.extend)({},e):e:null}function Or(e,t,n=!1){const{props:o,ref:s,patchFlag:i,children:a}=e,c=t?Fr(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&wr(c),ref:t&&t.ref?n&&s?(0,r.isArray)(s)?s.concat(xr(t)):[s,xr(t)]:xr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==sr?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Or(e.ssContent),ssFallback:e.ssFallback&&Or(e.ssFallback),el:e.el,anchor:e.anchor}}function Pr(e=" ",t=0){return kr(ir,null,e,t)}function Tr(e,t){const n=kr(cr,null,e);return n.staticCount=t,n}function Mr(e="",t=!1){return t?(pr(),yr(ar,null,e)):kr(ar,null,e)}function Nr(e){return null==e||"boolean"==typeof e?kr(ar):(0,r.isArray)(e)?kr(sr,null,e.slice()):"object"==typeof e?Lr(e):kr(ir,null,String(e))}function Lr(e){return null===e.el||e.memo?e:Or(e)}function Dr(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if((0,r.isArray)(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Dr(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Er in t?3===r&&st&&(1===st.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=st}}else(0,r.isFunction)(t)?(t={default:t,_ctx:st},n=32):(t=String(t),64&o?(n=16,t=[Pr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fr(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=(0,r.normalizeClass)([t.class,o.class]));else if("style"===e)t.style=(0,r.normalizeStyle)([t.style,o.style]);else if((0,r.isOn)(e)){const n=t[e],s=o[e];n===s||(0,r.isArray)(n)&&n.includes(s)||(t[e]=n?[].concat(n,s):s)}else""!==e&&(t[e]=o[e])}return t}function Ir(e,t,n,r=null){So(e,t,7,[n,r])}function Vr(e,t,n,o){let s;const i=n&&n[o];if((0,r.isArray)(e)||(0,r.isString)(e)){s=new Array(e.length);for(let n=0,r=e.length;n<r;n++)s[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){0,s=new Array(e);for(let n=0;n<e;n++)s[n]=t(n+1,n,void 0,i&&i[n])}else if((0,r.isObject)(e))if(e[Symbol.iterator])s=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);s=new Array(n.length);for(let r=0,o=n.length;r<o;r++){const o=n[r];s[r]=t(e[o],o,r,i&&i[r])}}else s=[];return n&&(n[o]=s),s}function Br(e,t){for(let n=0;n<t.length;n++){const o=t[n];if((0,r.isArray)(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.fn)}return e}function jr(e,t,n={},r,o){if(st.isCE)return kr("slot","default"===t?null:{name:t},r&&r());let s=e[t];s&&s._c&&(s._d=!1),pr();const i=s&&$r(s(n)),a=yr(sr,{key:n.key||`_${t}`},i||(r?r():[]),i&&1===e._?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function $r(e){return e.some((e=>!_r(e)||e.type!==ar&&!(e.type===sr&&!$r(e.children))))?e:null}function Hr(e){const t={};for(const n in e)t[(0,r.toHandlerKey)(n)]=e[n];return t}const Ur=e=>e?eo(e)?uo(e)||e.proxy:Ur(e.parent):null,qr=(0,r.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ur(e.parent),$root:e=>Ur(e.root),$emit:e=>e.emit,$options:e=>pn(e),$forceUpdate:e=>()=>Io(e.update),$nextTick:e=>Fo.bind(e.proxy),$watch:e=>Xo.bind(e)}),Wr={get({_:e},t){const{ctx:n,setupState:o,data:s,props:i,accessCache:a,type:c,appContext:l}=e;let u;if("$"!==t[0]){const c=a[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t))return a[t]=1,o[t];if(s!==r.EMPTY_OBJ&&(0,r.hasOwn)(s,t))return a[t]=2,s[t];if((u=e.propsOptions[0])&&(0,r.hasOwn)(u,t))return a[t]=3,i[t];if(n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t))return a[t]=4,n[t];an&&(a[t]=0)}}const p=qr[t];let f,d;return p?("$attrs"===t&&O(e,0,t),p(e)):(f=c.__cssModules)&&(f=f[t])?f:n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t)?(a[t]=4,n[t]):(d=l.config.globalProperties,(0,r.hasOwn)(d,t)?d[t]:void 0)},set({_:e},t,n){const{data:o,setupState:s,ctx:i}=e;if(s!==r.EMPTY_OBJ&&(0,r.hasOwn)(s,t))s[t]=n;else if(o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t))o[t]=n;else if((0,r.hasOwn)(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:i}},a){let c;return!!n[a]||e!==r.EMPTY_OBJ&&(0,r.hasOwn)(e,a)||t!==r.EMPTY_OBJ&&(0,r.hasOwn)(t,a)||(c=i[0])&&(0,r.hasOwn)(c,a)||(0,r.hasOwn)(o,a)||(0,r.hasOwn)(qr,a)||(0,r.hasOwn)(s.config.globalProperties,a)}};const zr=(0,r.extend)({},Wr,{get(e,t){if(t!==Symbol.unscopables)return Wr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!(0,r.isGloballyWhitelisted)(t)});const Gr=Mn();let Kr=0;function Yr(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||Gr,a={uid:Kr++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new i(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bn(o,s),emitsOptions:rt(o,s),emit:null,emitted:null,propsDefaults:r.EMPTY_OBJ,inheritAttrs:o.inheritAttrs,ctx:r.EMPTY_OBJ,data:r.EMPTY_OBJ,props:r.EMPTY_OBJ,attrs:r.EMPTY_OBJ,slots:r.EMPTY_OBJ,refs:r.EMPTY_OBJ,setupState:r.EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=nt.bind(null,a),e.ce&&e.ce(a),a}let Jr=null;const Xr=()=>Jr||st,Zr=e=>{Jr=e,e.scope.on()},Qr=()=>{Jr&&Jr.scope.off(),Jr=null};function eo(e){return 4&e.vnode.shapeFlag}let to,no,ro=!1;function oo(e,t=!1){ro=t;const{props:n,children:o}=e.vnode,s=eo(e);!function(e,t,n,o=!1){const s={},i={};(0,r.def)(i,Er,1),e.propsDefaults=Object.create(null),yn(e,t,s,i);for(const t in e.propsOptions[0])t in s||(s[t]=void 0);n?e.props=o?s:we(s):e.type.props?e.props=s:e.props=i,e.attrs=i}(e,n,s,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Pe(t),(0,r.def)(t,"_",n)):Rn(t,e.slots={})}else e.slots={},t&&On(e,t);(0,r.def)(e.slots,Er,1)})(e,o);const i=s?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=Te(new Proxy(e.ctx,Wr)),!1;const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?lo(e):null;Zr(e),A();const s=bo(o,e,0,[e.props,n]);if(R(),Qr(),(0,r.isPromise)(s)){if(s.then(Qr,Qr),t)return s.then((n=>{so(e,n,t)})).catch((t=>{Eo(t,e,0)}));e.asyncDep=s}else so(e,s,t)}else co(e,t)}(e,t):void 0;return ro=!1,i}function so(e,t,n){(0,r.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,r.isObject)(t)&&(e.setupState=qe(t)),co(e,n)}function io(e){to=e,no=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,zr))}}const ao=()=>!to;function co(e,t,n){const o=e.type;if(!e.render){if(!t&&to&&!o.render){const t=o.template;if(t){0;const{isCustomElement:n,compilerOptions:s}=e.appContext.config,{delimiters:i,compilerOptions:a}=o,c=(0,r.extend)((0,r.extend)({isCustomElement:n,delimiters:i},s),a);o.render=to(t,c)}}e.render=o.render||r.NOOP,no&&no(e)}Zr(e),A(),cn(e),R(),Qr()}function lo(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=function(e){return new Proxy(e.attrs,{get:(t,n)=>(O(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t}}function uo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(qe(Te(e.exposed)),{get:(t,n)=>n in t?t[n]:n in qr?qr[n](e):void 0}))}const po=/(?:^|[-_])(\w)/g;function fo(e){return(0,r.isFunction)(e)&&e.displayName||e.name}function ho(e,t,n=!1){let r=fo(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?r.replace(po,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function go(e){return(0,r.isFunction)(e)&&"__vccOpts"in e}const mo=[];function vo(e,...t){A();const n=mo.length?mo[mo.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=function(){let e=mo[mo.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)bo(r,n,11,[e+t.join(""),n&&n.proxy,o.map((({vnode:e})=>`at <${ho(n,e.type)}>`)).join("\n"),o]);else{const n=[`[Vue warn]: ${e}`,...t];o.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,o=` at <${ho(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...yo(e.props),s]:[o+s]}(e))})),t}(o))}R()}function yo(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(..._o(n,e[n]))})),n.length>3&&t.push(" ..."),t}function _o(e,t,n){return(0,r.isString)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Fe(t)?(t=_o(e,Pe(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):(0,r.isFunction)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Pe(t),n?t:[`${e}=`,t])}function bo(e,t,n,r){let o;try{o=r?e(...r):e()}catch(e){Eo(e,t,n)}return o}function So(e,t,n,o){if((0,r.isFunction)(e)){const s=bo(e,t,n,o);return s&&(0,r.isPromise)(s)&&s.catch((e=>{Eo(e,t,n)})),s}const s=[];for(let r=0;r<e.length;r++)s.push(So(e[r],t,n,o));return s}function Eo(e,t,n,r=!0){t&&t.vnode;if(t){let r=t.parent;const o=t.proxy,s=n;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,s))return;r=r.parent}const i=t.appContext.config.errorHandler;if(i)return void bo(i,null,10,[e,o,s])}}let wo=!1,xo=!1;const Co=[];let ko=0;const Ao=[];let Ro=null,Oo=0;const Po=[];let To=null,Mo=0;const No=Promise.resolve();let Lo=null,Do=null;function Fo(e){const t=Lo||No;return e?t.then(this?e.bind(this):e):t}function Io(e){Co.length&&Co.includes(e,wo&&e.allowRecurse?ko+1:ko)||e===Do||(null==e.id?Co.push(e):Co.splice(function(e){let t=ko+1,n=Co.length;for(;t<n;){const r=t+n>>>1;Uo(Co[r])<e?t=r+1:n=r}return t}(e.id),0,e),Vo())}function Vo(){wo||xo||(xo=!0,Lo=No.then(qo))}function Bo(e,t,n,o){(0,r.isArray)(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),Vo()}function jo(e){Bo(e,To,Po,Mo)}function $o(e,t=null){if(Ao.length){for(Do=t,Ro=[...new Set(Ao)],Ao.length=0,Oo=0;Oo<Ro.length;Oo++)Ro[Oo]();Ro=null,Oo=0,Do=null,$o(e,t)}}function Ho(e){if(Po.length){const e=[...new Set(Po)];if(Po.length=0,To)return void To.push(...e);for(To=e,To.sort(((e,t)=>Uo(e)-Uo(t))),Mo=0;Mo<To.length;Mo++)To[Mo]();To=null,Mo=0}}const Uo=e=>null==e.id?1/0:e.id;function qo(e){xo=!1,wo=!0,$o(e),Co.sort(((e,t)=>Uo(e)-Uo(t)));r.NOOP;try{for(ko=0;ko<Co.length;ko++){const e=Co[ko];e&&!1!==e.active&&bo(e,null,14)}}finally{ko=0,Co.length=0,Ho(),wo=!1,Lo=null,(Co.length||Ao.length||Po.length)&&qo(e)}}function Wo(e,t){return Jo(e,null,t)}function zo(e,t){return Jo(e,null,{flush:"post"})}function Go(e,t){return Jo(e,null,{flush:"sync"})}const Ko={};function Yo(e,t,n){return Jo(e,t,n)}function Jo(e,t,{immediate:n,deep:o,flush:s,onTrack:i,onTrigger:a}=r.EMPTY_OBJ){const c=Jr;let l,u,p=!1,f=!1;if(Fe(e)?(l=()=>e.value,p=!!e._shallow):Ae(e)?(l=()=>e,o=!0):(0,r.isArray)(e)?(f=!0,p=e.some(Ae),l=()=>e.map((e=>Fe(e)?e.value:Ae(e)?Qo(e):(0,r.isFunction)(e)?bo(e,c,2):void 0))):l=(0,r.isFunction)(e)?t?()=>bo(e,c,2):()=>{if(!c||!c.isUnmounted)return u&&u(),So(e,c,3,[d])}:r.NOOP,t&&o){const e=l;l=()=>Qo(e())}let d=e=>{u=v.onStop=()=>{bo(e,c,4)}};if(ro)return d=r.NOOP,t?n&&So(t,c,3,[l(),f?[]:void 0,d]):l(),r.NOOP;let h=f?[]:Ko;const g=()=>{if(v.active)if(t){const e=v.run();(o||p||(f?e.some(((e,t)=>(0,r.hasChanged)(e,h[t]))):(0,r.hasChanged)(e,h)))&&(u&&u(),So(t,c,3,[e,h===Ko?void 0:h,d]),h=e)}else v.run()};let m;g.allowRecurse=!!t,m="sync"===s?g:"post"===s?()=>jn(g,c&&c.suspense):()=>{!c||c.isMounted?function(e){Bo(e,Ro,Ao,Oo)}(g):g()};const v=new S(l,m);return t?n?g():h=v.run():"post"===s?jn(v.run.bind(v),c&&c.suspense):v.run(),()=>{v.stop(),c&&c.scope&&(0,r.remove)(c.scope.effects,v)}}function Xo(e,t,n){const o=this.proxy,s=(0,r.isString)(e)?e.includes(".")?Zo(o,e):()=>o[e]:e.bind(o,o);let i;(0,r.isFunction)(t)?i=t:(i=t.handler,n=t);const a=Jr;Zr(this);const c=Jo(s,i.bind(o),n);return a?Zr(a):Qr(),c}function Zo(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Qo(e,t){if(!(0,r.isObject)(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Fe(e))Qo(e.value,t);else if((0,r.isArray)(e))for(let n=0;n<e.length;n++)Qo(e[n],t);else if((0,r.isSet)(e)||(0,r.isMap)(e))e.forEach((e=>{Qo(e,t)}));else if((0,r.isPlainObject)(e))for(const n in e)Qo(e[n],t);return e}function es(){return null}function ts(){return null}function ns(e){0}function rs(e,t){return null}function os(){return is().slots}function ss(){return is().attrs}function is(){const e=Xr();return e.setupContext||(e.setupContext=lo(e))}function as(e,t){const n=(0,r.isArray)(e)?e.reduce(((e,t)=>(e[t]={},e)),{}):e;for(const e in t){const o=n[e];o?(0,r.isArray)(o)||(0,r.isFunction)(o)?n[e]={type:o,default:t[e]}:o.default=t[e]:null===o&&(n[e]={default:t[e]})}return n}function cs(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function ls(e){const t=Xr();let n=e();return Qr(),(0,r.isPromise)(n)&&(n=n.catch((e=>{throw Zr(t),e}))),[n,()=>Zr(t)]}function us(e,t,n){const o=arguments.length;return 2===o?(0,r.isObject)(t)&&!(0,r.isArray)(t)?_r(t)?kr(e,null,[t]):kr(e,t):kr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&_r(n)&&(n=[n]),kr(e,t,n))}const ps=Symbol(""),fs=()=>{{const e=Ct(ps);return e||vo("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function ds(){return void 0}function hs(e,t,n,r){const o=n[r];if(o&&gs(o,e))return o;const s=t();return s.memo=e.slice(),n[r]=s}function gs(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(n[e]!==t[e])return!1;return hr>0&&ur&&ur.push(e),!0}const ms="3.2.26",vs={createComponentInstance:Yr,setupComponent:oo,renderComponentRoot:ft,setCurrentRenderingInstance:at,isVNode:_r,normalizeVNode:Nr},ys=null,_s=null,bs="undefined"!=typeof document?document:null,Ss=new Map,Es={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?bs.createElementNS("http://www.w3.org/2000/svg",e):bs.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>bs.createTextNode(e),createComment:e=>bs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bs.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r){const o=n?n.previousSibling:t.lastChild;let s=Ss.get(e);if(!s){const t=bs.createElement("template");if(t.innerHTML=r?`<svg>${e}</svg>`:e,s=t.content,r){const e=s.firstChild;for(;e.firstChild;)s.appendChild(e.firstChild);s.removeChild(e)}Ss.set(e,s)}return t.insertBefore(s.cloneNode(!0),n),[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};const ws=/\s*!important$/;function xs(e,t,n){if((0,r.isArray)(n))n.forEach((n=>xs(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ks[t];if(n)return n;let o=(0,r.camelize)(t);if("filter"!==o&&o in e)return ks[t]=o;o=(0,r.capitalize)(o);for(let n=0;n<Cs.length;n++){const r=Cs[n]+o;if(r in e)return ks[t]=r}return t}(e,t);ws.test(n)?e.setProperty((0,r.hyphenate)(o),n.replace(ws,""),"important"):e[o]=n}}const Cs=["Webkit","Moz","ms"],ks={};const As="http://www.w3.org/1999/xlink";let Rs=Date.now,Os=!1;if("undefined"!=typeof window){Rs()>document.createEvent("Event").timeStamp&&(Rs=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Os=!!(e&&Number(e[1])<=53)}let Ps=0;const Ts=Promise.resolve(),Ms=()=>{Ps=0};function Ns(e,t,n,r){e.addEventListener(t,n,r)}function Ls(e,t,n,o,s=null){const i=e._vei||(e._vei={}),a=i[t];if(o&&a)a.value=o;else{const[n,c]=function(e){let t;if(Ds.test(e)){let n;for(t={};n=e.match(Ds);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[(0,r.hyphenate)(e.slice(2)),t]}(t);if(o){const a=i[t]=function(e,t){const n=e=>{const o=e.timeStamp||Rs();(Os||o>=n.attached-1)&&So(function(e,t){if((0,r.isArray)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Ps||(Ts.then(Ms),Ps=Rs()))(),n}(o,s);Ns(e,n,a,c)}else a&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,a,c),i[t]=void 0)}}const Ds=/(?:Once|Passive|Capture)$/;const Fs=/^on[a-z]/;function Is(e,t){const n=Dt(e);class r extends js{constructor(e){super(n,e,t)}}return r.def=n,r}const Vs=e=>Is(e,Hi),Bs="undefined"!=typeof HTMLElement?HTMLElement:class{};class js extends Bs{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Fo((()=>{this._connected||($i(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})).observe(this,{attributes:!0});const e=e=>{const{props:t,styles:n}=e,o=!(0,r.isArray)(t),s=t?o?Object.keys(t):t:[];let i;if(o)for(const e in this._props){const n=t[e];(n===Number||n&&n.type===Number)&&(this._props[e]=(0,r.toNumber)(this._props[e]),(i||(i=Object.create(null)))[e]=!0)}this._numberProps=i;for(const e of Object.keys(this))"_"!==e[0]&&this._setProp(e,this[e],!0,!1);for(const e of s.map(r.camelize))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t)}});this._applyStyles(n),this._update()},t=this._def.__asyncLoader;t?t().then(e):e(this._def)}_setAttr(e){let t=this.getAttribute(e);this._numberProps&&this._numberProps[e]&&(t=(0,r.toNumber)(t)),this._setProp((0,r.camelize)(e),t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,o=!0){t!==this._props[e]&&(this._props[e]=t,o&&this._instance&&this._update(),n&&(!0===t?this.setAttribute((0,r.hyphenate)(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute((0,r.hyphenate)(e),t+""):t||this.removeAttribute((0,r.hyphenate)(e))))}_update(){$i(this._createVNode(),this.shadowRoot)}_createVNode(){const e=kr(this._def,(0,r.extend)({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0,e.emit=(e,...t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof js){e.parent=t._instance;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function $s(e="$style"){{const t=Xr();if(!t)return r.EMPTY_OBJ;const n=t.type.__cssModules;if(!n)return r.EMPTY_OBJ;const o=n[e];return o||r.EMPTY_OBJ}}function Hs(e){const t=Xr();if(!t)return;const n=()=>Us(t.subTree,e(t.proxy));zo(n),Xt((()=>{const e=new MutationObserver(n);e.observe(t.subTree.el.parentNode,{childList:!0}),tn((()=>e.disconnect()))}))}function Us(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Us(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)qs(e.el,t);else if(e.type===sr)e.children.forEach((e=>Us(e,t)));else if(e.type===cr){let{el:n,anchor:r}=e;for(;n&&(qs(n,t),n!==r);)n=n.nextSibling}}function qs(e,t){if(1===e.nodeType){const n=e.style;for(const e in t)n.setProperty(`--${e}`,t[e])}}const Ws="transition",zs="animation",Gs=(e,{slots:t})=>us(Rt,Zs(e),t);Gs.displayName="Transition";const Ks={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ys=Gs.props=(0,r.extend)({},Rt.props,Ks),Js=(e,t=[])=>{(0,r.isArray)(e)?e.forEach((e=>e(...t))):e&&e(...t)},Xs=e=>!!e&&((0,r.isArray)(e)?e.some((e=>e.length>1)):e.length>1);function Zs(e){const t={};for(const n in e)n in Ks||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:o,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:p=c,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if((0,r.isObject)(e))return[Qs(e.enter),Qs(e.leave)];{const t=Qs(e);return[t,t]}}(s),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:b,onLeave:S,onLeaveCancelled:E,onBeforeAppear:w=y,onAppear:x=_,onAppearCancelled:C=b}=t,k=(e,t,n)=>{ti(e,t?p:c),ti(e,t?u:a),n&&n()},A=(e,t)=>{ti(e,h),ti(e,d),t&&t()},R=e=>(t,n)=>{const r=e?x:_,s=()=>k(t,e,n);Js(r,[t,s]),ni((()=>{ti(t,e?l:i),ei(t,e?p:c),Xs(r)||oi(t,o,m,s)}))};return(0,r.extend)(t,{onBeforeEnter(e){Js(y,[e]),ei(e,i),ei(e,a)},onBeforeAppear(e){Js(w,[e]),ei(e,l),ei(e,u)},onEnter:R(!1),onAppear:R(!0),onLeave(e,t){const n=()=>A(e,t);ei(e,f),ci(),ei(e,d),ni((()=>{ti(e,f),ei(e,h),Xs(S)||oi(e,o,v,n)})),Js(S,[e,n])},onEnterCancelled(e){k(e,!1),Js(b,[e])},onAppearCancelled(e){k(e,!0),Js(C,[e])},onLeaveCancelled(e){A(e),Js(E,[e])}})}function Qs(e){return(0,r.toNumber)(e)}function ei(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function ti(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ni(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let ri=0;function oi(e,t,n,r){const o=e._endId=++ri,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:c}=si(e,t);if(!i)return r();const l=i+"end";let u=0;const p=()=>{e.removeEventListener(l,f),s()},f=t=>{t.target===e&&++u>=c&&p()};setTimeout((()=>{u<c&&p()}),a+1),e.addEventListener(l,f)}function si(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r("transitionDelay"),s=r("transitionDuration"),i=ii(o,s),a=r("animationDelay"),c=r("animationDuration"),l=ii(a,c);let u=null,p=0,f=0;t===Ws?i>0&&(u=Ws,p=i,f=s.length):t===zs?l>0&&(u=zs,p=l,f=c.length):(p=Math.max(i,l),u=p>0?i>l?Ws:zs:null,f=u?u===Ws?s.length:c.length:0);return{type:u,timeout:p,propCount:f,hasTransform:u===Ws&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function ii(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>ai(t)+ai(e[n]))))}function ai(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ci(){return document.body.offsetHeight}const li=new WeakMap,ui=new WeakMap,pi={name:"TransitionGroup",props:(0,r.extend)({},Ys,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Xr(),r=kt();let o,s;return Qt((()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:s}=si(r);return o.removeChild(r),s}(o[0].el,n.vnode.el,t))return;o.forEach(di),o.forEach(hi);const r=o.filter(gi);ci(),r.forEach((e=>{const n=e.el,r=n.style;ei(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,ti(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const i=Pe(e),a=Zs(i);let c=i.tag||sr;o=s,s=t.default?Lt(t.default()):[];for(let e=0;e<s.length;e++){const t=s[e];null!=t.key&&Nt(t,Pt(t,a,r,n))}if(o)for(let e=0;e<o.length;e++){const t=o[e];Nt(t,Pt(t,a,r,n)),li.set(t,t.el.getBoundingClientRect())}return kr(c,null,s)}}},fi=pi;function di(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function hi(e){ui.set(e,e.el.getBoundingClientRect())}function gi(e){const t=li.get(e),n=ui.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${o}px)`,t.transitionDuration="0s",e}}const mi=e=>{const t=e.props["onUpdate:modelValue"];return(0,r.isArray)(t)?e=>(0,r.invokeArrayFns)(t,e):t};function vi(e){e.target.composing=!0}function yi(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const _i={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e._assign=mi(s);const i=o||s.props&&"number"===s.props.type;Ns(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():i&&(o=(0,r.toNumber)(o)),e._assign(o)})),n&&Ns(e,"change",(()=>{e.value=e.value.trim()})),t||(Ns(e,"compositionstart",vi),Ns(e,"compositionend",yi),Ns(e,"change",yi))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:s}},i){if(e._assign=mi(i),e.composing)return;if(document.activeElement===e){if(n)return;if(o&&e.value.trim()===t)return;if((s||"number"===e.type)&&(0,r.toNumber)(e.value)===t)return}const a=null==t?"":t;e.value!==a&&(e.value=a)}},bi={deep:!0,created(e,t,n){e._assign=mi(n),Ns(e,"change",(()=>{const t=e._modelValue,n=Ci(e),o=e.checked,s=e._assign;if((0,r.isArray)(t)){const e=(0,r.looseIndexOf)(t,n),i=-1!==e;if(o&&!i)s(t.concat(n));else if(!o&&i){const n=[...t];n.splice(e,1),s(n)}}else if((0,r.isSet)(t)){const e=new Set(t);o?e.add(n):e.delete(n),s(e)}else s(ki(e,o))}))},mounted:Si,beforeUpdate(e,t,n){e._assign=mi(n),Si(e,t,n)}};function Si(e,{value:t,oldValue:n},o){e._modelValue=t,(0,r.isArray)(t)?e.checked=(0,r.looseIndexOf)(t,o.props.value)>-1:(0,r.isSet)(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=(0,r.looseEqual)(t,ki(e,!0)))}const Ei={created(e,{value:t},n){e.checked=(0,r.looseEqual)(t,n.props.value),e._assign=mi(n),Ns(e,"change",(()=>{e._assign(Ci(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=mi(o),t!==n&&(e.checked=(0,r.looseEqual)(t,o.props.value))}},wi={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const s=(0,r.isSet)(t);Ns(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,r.toNumber)(Ci(e)):Ci(e)));e._assign(e.multiple?s?new Set(t):t:t[0])})),e._assign=mi(o)},mounted(e,{value:t}){xi(e,t)},beforeUpdate(e,t,n){e._assign=mi(n)},updated(e,{value:t}){xi(e,t)}};function xi(e,t){const n=e.multiple;if(!n||(0,r.isArray)(t)||(0,r.isSet)(t)){for(let o=0,s=e.options.length;o<s;o++){const s=e.options[o],i=Ci(s);if(n)(0,r.isArray)(t)?s.selected=(0,r.looseIndexOf)(t,i)>-1:s.selected=t.has(i);else if((0,r.looseEqual)(Ci(s),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Ci(e){return"_value"in e?e._value:e.value}function ki(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ai={created(e,t,n){Ri(e,t,n,null,"created")},mounted(e,t,n){Ri(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ri(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ri(e,t,n,r,"updated")}};function Ri(e,t,n,r,o){let s;switch(e.tagName){case"SELECT":s=wi;break;case"TEXTAREA":s=_i;break;default:switch(n.props&&n.props.type){case"checkbox":s=bi;break;case"radio":s=Ei;break;default:s=_i}}const i=s[o];i&&i(e,t,n,r)}const Oi=["ctrl","shift","alt","meta"],Pi={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Oi.some((n=>e[`${n}Key`]&&!t.includes(n)))},Ti=(e,t)=>(n,...r)=>{for(let e=0;e<t.length;e++){const r=Pi[t[e]];if(r&&r(n,t))return}return e(n,...r)},Mi={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ni=(e,t)=>n=>{if(!("key"in n))return;const o=(0,r.hyphenate)(n.key);return t.some((e=>e===o||Mi[e]===o))?e(n):void 0},Li={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Di(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Di(e,!0),r.enter(e)):r.leave(e,(()=>{Di(e,!1)})):Di(e,t))},beforeUnmount(e,{value:t}){Di(e,t)}};function Di(e,t){e.style.display=t?e._vod:"none"}const Fi=(0,r.extend)({patchProp:(e,t,n,o,s=!1,i,a,c,l)=>{"class"===t?function(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,s):"style"===t?function(e,t,n){const o=e.style,s=(0,r.isString)(n);if(n&&!s){for(const e in n)xs(o,e,n[e]);if(t&&!(0,r.isString)(t))for(const e in t)null==n[e]&&xs(o,e,"")}else{const r=o.display;s?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}(e,n,o):(0,r.isOn)(t)?(0,r.isModelListener)(t)||Ls(e,t,0,o,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&Fs.test(t)&&(0,r.isFunction)(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(Fs.test(t)&&(0,r.isString)(n))return!1;return t in e}(e,t,o,s))?function(e,t,n,o,s,i,a){if("innerHTML"===t||"textContent"===t)return o&&a(o,s,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName&&!e.tagName.includes("-")){e._value=n;const r=null==n?"":n;return e.value===r&&"OPTION"!==e.tagName||(e.value=r),void(null==n&&e.removeAttribute(t))}if(""===n||null==n){const o=typeof e[t];if("boolean"===o)return void(e[t]=(0,r.includeBooleanAttr)(n));if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o){try{e[t]=0}catch(e){}return void e.removeAttribute(t)}}try{e[t]=n}catch(e){}}(e,t,o,i,a,c,l):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,s){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(As,t.slice(6,t.length)):e.setAttributeNS(As,t,n);else{const o=(0,r.isSpecialBooleanAttr)(t);null==n||o&&!(0,r.includeBooleanAttr)(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,s))}},Es);let Ii,Vi=!1;function Bi(){return Ii||(Ii=$n(Fi))}function ji(){return Ii=Vi?Ii:Hn(Fi),Vi=!0,Ii}const $i=(...e)=>{Bi().render(...e)},Hi=(...e)=>{ji().hydrate(...e)},Ui=(...e)=>{const t=Bi().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=Wi(e);if(!o)return;const s=t._component;(0,r.isFunction)(s)||s.render||s.template||(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},qi=(...e)=>{const t=ji().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=Wi(e);if(t)return n(t,!0,t instanceof SVGElement)},t};function Wi(e){if((0,r.isString)(e)){return document.querySelector(e)}return e}let zi=!1;const Gi=()=>{zi||(zi=!0,_i.getSSRProps=({value:e})=>({value:e}),Ei.getSSRProps=({value:e},t)=>{if(t.props&&(0,r.looseEqual)(t.props.value,e))return{checked:!0}},bi.getSSRProps=({value:e},t)=>{if((0,r.isArray)(e)){if(t.props&&(0,r.looseIndexOf)(e,t.props.value)>-1)return{checked:!0}}else if((0,r.isSet)(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Li.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})}},3577:(e,t,n)=>{"use strict";function r(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.r(t),n.d(t,{EMPTY_ARR:()=>V,EMPTY_OBJ:()=>I,NO:()=>j,NOOP:()=>B,PatchFlagNames:()=>o,camelize:()=>pe,capitalize:()=>he,def:()=>ye,escapeHtml:()=>P,escapeHtmlComment:()=>M,extend:()=>q,generateCodeFrame:()=>a,getGlobalThis:()=>Se,hasChanged:()=>me,hasOwn:()=>G,hyphenate:()=>de,includeBooleanAttr:()=>p,invokeArrayFns:()=>ve,isArray:()=>K,isBooleanAttr:()=>u,isDate:()=>X,isFunction:()=>Z,isGloballyWhitelisted:()=>i,isHTMLTag:()=>k,isIntegerKey:()=>ae,isKnownHtmlAttr:()=>v,isKnownSvgAttr:()=>y,isMap:()=>Y,isModelListener:()=>U,isNoUnitNumericStyleProp:()=>m,isObject:()=>te,isOn:()=>H,isPlainObject:()=>ie,isPromise:()=>ne,isReservedProp:()=>ce,isSSRSafeAttrName:()=>h,isSVGTag:()=>A,isSet:()=>J,isSpecialBooleanAttr:()=>l,isString:()=>Q,isSymbol:()=>ee,isVoidTag:()=>R,looseEqual:()=>N,looseIndexOf:()=>L,makeMap:()=>r,normalizeClass:()=>x,normalizeProps:()=>C,normalizeStyle:()=>_,objectToString:()=>re,parseStringStyle:()=>E,propsToAttrMap:()=>g,remove:()=>W,slotFlagsText:()=>s,stringifyStyle:()=>w,toDisplayString:()=>D,toHandlerKey:()=>ge,toNumber:()=>_e,toRawType:()=>se,toTypeString:()=>oe});const o={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},s={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},i=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function a(e,t=0,n=e.length){let r=e.split(/(\r?\n)/);const o=r.filter(((e,t)=>t%2==1));r=r.filter(((e,t)=>t%2==0));let s=0;const i=[];for(let e=0;e<r.length;e++)if(s+=r[e].length+(o[e]&&o[e].length||0),s>=t){for(let a=e-2;a<=e+2||n>s;a++){if(a<0||a>=r.length)continue;const c=a+1;i.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${r[a]}`);const l=r[a].length,u=o[a]&&o[a].length||0;if(a===e){const e=t-(s-(l+u)),r=Math.max(1,n>s?l-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(a>e){if(n>s){const e=Math.max(Math.min(n-s,l),1);i.push(" | "+"^".repeat(e))}s+=l+u}}break}return i.join("\n")}const c="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",l=r(c),u=r(c+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function p(e){return!!e||""===e}const f=/[>/="'\u0009\u000a\u000c\u0020]/,d={};function h(e){if(d.hasOwnProperty(e))return d[e];const t=f.test(e);return d[e]=!t}const g={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},m=r("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),v=r("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),y=r("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function _(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Q(r)?E(r):_(r);if(o)for(const e in o)t[e]=o[e]}return t}return Q(e)||te(e)?e:void 0}const b=/;(?![^(]*\))/g,S=/:(.+)/;function E(e){const t={};return e.split(b).forEach((e=>{if(e){const n=e.split(S);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function w(e){let t="";if(!e||Q(e))return t;for(const n in e){const r=e[n],o=n.startsWith("--")?n:de(n);(Q(r)||"number"==typeof r&&m(o))&&(t+=`${o}:${r};`)}return t}function x(e){let t="";if(Q(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const r=x(e[n]);r&&(t+=r+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function C(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Q(t)&&(e.class=x(t)),n&&(e.style=_(n)),e}const k=r("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),A=r("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),R=r("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),O=/["'&<>]/;function P(e){const t=""+e,n=O.exec(t);if(!n)return t;let r,o,s="",i=0;for(o=n.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}i!==o&&(s+=t.slice(i,o)),i=o+1,s+=r}return i!==o?s+t.slice(i,o):s}const T=/^-?>|<!--|-->|--!>|<!-$/g;function M(e){return e.replace(T,"")}function N(e,t){if(e===t)return!0;let n=X(e),r=X(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=K(e),r=K(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=N(e[r],t[r]);return n}(e,t);if(n=te(e),r=te(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!N(e[n],t[n]))return!1}}return String(e)===String(t)}function L(e,t){return e.findIndex((e=>N(e,t)))}const D=e=>null==e?"":K(e)||te(e)&&(e.toString===re||!Z(e.toString))?JSON.stringify(e,F,2):String(e),F=(e,t)=>t&&t.__v_isRef?F(e,t.value):Y(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:J(t)?{[`Set(${t.size})`]:[...t.values()]}:!te(t)||K(t)||ie(t)?t:String(t),I={},V=[],B=()=>{},j=()=>!1,$=/^on[^a-z]/,H=e=>$.test(e),U=e=>e.startsWith("onUpdate:"),q=Object.assign,W=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},z=Object.prototype.hasOwnProperty,G=(e,t)=>z.call(e,t),K=Array.isArray,Y=e=>"[object Map]"===oe(e),J=e=>"[object Set]"===oe(e),X=e=>e instanceof Date,Z=e=>"function"==typeof e,Q=e=>"string"==typeof e,ee=e=>"symbol"==typeof e,te=e=>null!==e&&"object"==typeof e,ne=e=>te(e)&&Z(e.then)&&Z(e.catch),re=Object.prototype.toString,oe=e=>re.call(e),se=e=>oe(e).slice(8,-1),ie=e=>"[object Object]"===oe(e),ae=e=>Q(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,ce=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),le=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ue=/-(\w)/g,pe=le((e=>e.replace(ue,((e,t)=>t?t.toUpperCase():"")))),fe=/\B([A-Z])/g,de=le((e=>e.replace(fe,"-$1").toLowerCase())),he=le((e=>e.charAt(0).toUpperCase()+e.slice(1))),ge=le((e=>e?`on${he(e)}`:"")),me=(e,t)=>!Object.is(e,t),ve=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ye=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},_e=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let be;const Se=()=>be||(be="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})},3755:e=>{"use strict";e.exports=(...e)=>[...new Set([].concat(...e))]},9669:(e,t,n)=>{e.exports=n(1609)},7970:(e,t,n)=>{"use strict";var r=n(4867),o=n(6026),s=n(4097),i=n(5327),a=n(3685),c=n(5687),l=n(938).http,u=n(938).https,p=n(7310),f=n(9796),d=n(7288).version,h=n(5061),g=n(481),m=n(7874),v=n(5263),y=/https:?/;function _(e,t,n){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=n,t.auth){var r=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+r}e.beforeRedirect=function(e){e.headers.host=e.host,_(e,t,e.href)}}e.exports=function(e){return new Promise((function(t,n){var b;function S(){e.cancelToken&&e.cancelToken.unsubscribe(b),e.signal&&e.signal.removeEventListener("abort",b)}var E=function(e){S(),t(e)},w=!1,x=function(e){S(),w=!0,n(e)},C=e.data,k=e.headers,A={};if(Object.keys(k).forEach((function(e){A[e.toLowerCase()]=e})),"user-agent"in A?k[A["user-agent"]]||delete k[A["user-agent"]]:k["User-Agent"]="axios/"+d,C&&!r.isStream(C)){if(Buffer.isBuffer(C));else if(r.isArrayBuffer(C))C=Buffer.from(new Uint8Array(C));else{if(!r.isString(C))return x(h("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));C=Buffer.from(C,"utf-8")}if(e.maxBodyLength>-1&&C.length>e.maxBodyLength)return x(h("Request body larger than maxBodyLength limit",e));A["content-length"]||(k["Content-Length"]=C.length)}var R=void 0;e.auth&&(R=(e.auth.username||"")+":"+(e.auth.password||""));var O=s(e.baseURL,e.url),P=p.parse(O),T=P.protocol||"http:";if(!R&&P.auth){var M=P.auth.split(":");R=(M[0]||"")+":"+(M[1]||"")}R&&A.authorization&&delete k[A.authorization];var N=y.test(T),L=N?e.httpsAgent:e.httpAgent;try{i(P.path,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){var D=new Error(t.message);D.config=e,D.url=e.url,D.exists=!0,x(D)}var F={path:i(P.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:k,agent:L,agents:{http:e.httpAgent,https:e.httpsAgent},auth:R};e.socketPath?F.socketPath=e.socketPath:(F.hostname=P.hostname,F.port=P.port);var I,V=e.proxy;if(!V&&!1!==V){var B=T.slice(0,-1)+"_proxy",j=process.env[B]||process.env[B.toUpperCase()];if(j){var $=p.parse(j),H=process.env.no_proxy||process.env.NO_PROXY,U=!0;if(H)U=!H.split(",").map((function(e){return e.trim()})).some((function(e){return!!e&&("*"===e||("."===e[0]&&P.hostname.substr(P.hostname.length-e.length)===e||P.hostname===e))}));if(U&&(V={host:$.hostname,port:$.port,protocol:$.protocol},$.auth)){var q=$.auth.split(":");V.auth={username:q[0],password:q[1]}}}}V&&(F.headers.host=P.hostname+(P.port?":"+P.port:""),_(F,V,T+"//"+P.hostname+(P.port?":"+P.port:"")+F.path));var W=N&&(!V||y.test(V.protocol));e.transport?I=e.transport:0===e.maxRedirects?I=W?c:a:(e.maxRedirects&&(F.maxRedirects=e.maxRedirects),I=W?u:l),e.maxBodyLength>-1&&(F.maxBodyLength=e.maxBodyLength),e.insecureHTTPParser&&(F.insecureHTTPParser=e.insecureHTTPParser);var z=I.request(F,(function(t){if(!z.aborted){var n=t,s=t.req||z;if(204!==t.statusCode&&"HEAD"!==s.method&&!1!==e.decompress)switch(t.headers["content-encoding"]){case"gzip":case"compress":case"deflate":n=n.pipe(f.createUnzip()),delete t.headers["content-encoding"]}var i={status:t.statusCode,statusText:t.statusMessage,headers:t.headers,config:e,request:s};if("stream"===e.responseType)i.data=n,o(E,x,i);else{var a=[],c=0;n.on("data",(function(t){a.push(t),c+=t.length,e.maxContentLength>-1&&c>e.maxContentLength&&(w=!0,n.destroy(),x(h("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,s)))})),n.on("aborted",(function(){w||(n.destroy(),x(h("error request aborted",e,"ERR_REQUEST_ABORTED",s)))})),n.on("error",(function(t){z.aborted||x(g(t,e,null,s))})),n.on("end",(function(){try{var t=1===a.length?a[0]:Buffer.concat(a);"arraybuffer"!==e.responseType&&(t=t.toString(e.responseEncoding),e.responseEncoding&&"utf8"!==e.responseEncoding||(t=r.stripBOM(t))),i.data=t}catch(t){x(g(t,e,t.code,i.request,i))}o(E,x,i)}))}}}));if(z.on("error",(function(t){z.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==t.code||x(g(t,e,null,z))})),z.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){var G=parseInt(e.timeout,10);if(isNaN(G))return void x(h("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",z));z.setTimeout(G,(function(){z.abort();var t="";t=e.timeoutErrorMessage?e.timeoutErrorMessage:"timeout of "+e.timeout+"ms exceeded";var n=e.transitional||m;x(h(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",z))}))}(e.cancelToken||e.signal)&&(b=function(e){z.aborted||(z.abort(),x(!e||e&&e.type?new v("canceled"):e))},e.cancelToken&&e.cancelToken.subscribe(b),e.signal&&(e.signal.aborted?b():e.signal.addEventListener("abort",b))),r.isStream(C)?C.on("error",(function(t){x(g(t,e,null,z))})).pipe(z):z.end(C)}))}},5448:(e,t,n)=>{"use strict";var r=n(4867),o=n(6026),s=n(4372),i=n(5327),a=n(4097),c=n(4109),l=n(7985),u=n(5061),p=n(7874),f=n(5263);e.exports=function(e){return new Promise((function(t,n){var d,h=e.data,g=e.headers,m=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}r.isFormData(h)&&delete g["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var _=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(_+":"+b)}var S=a(e.baseURL,e.url);function E(){if(y){var r="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,s={data:m&&"text"!==m&&"json"!==m?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:r,config:e,request:y};o((function(e){t(e),v()}),(function(e){n(e),v()}),s),y=null}}if(y.open(e.method.toUpperCase(),i(S,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=E:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(E)},y.onabort=function(){y&&(n(u("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){n(u("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||p;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},r.isStandardBrowserEnv()){var w=(e.withCredentials||l(S))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;w&&(g[e.xsrfHeaderName]=w)}"setRequestHeader"in y&&r.forEach(g,(function(e,t){void 0===h&&"content-type"===t.toLowerCase()?delete g[t]:y.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),m&&"json"!==m&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){y&&(n(!e||e&&e.type?new f("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),h||(h=null),y.send(h)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),o=n(1849),s=n(321),i=n(7185);var a=function e(t){var n=new s(t),a=o(s.prototype.request,n);return r.extend(a,s.prototype,n),r.extend(a,n),a.create=function(n){return e(i(t,n))},a}(n(5546));a.Axios=s,a.Cancel=n(5263),a.CancelToken=n(4972),a.isCancel=n(6502),a.VERSION=n(7288).version,a.all=function(e){return Promise.all(e)},a.spread=n(8713),a.isAxiosError=n(6268),e.exports=a,e.exports.default=a},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var r=n(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),o=n(5327),s=n(782),i=n(3572),a=n(7185),c=n(4875),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new s,response:new s}}u.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=a(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var s,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var p=[i,void 0];for(Array.prototype.unshift.apply(p,r),p=p.concat(u),s=Promise.resolve(t);p.length;)s=s.then(p.shift(),p.shift());return s}for(var f=t;r.length;){var d=r.shift(),h=r.shift();try{f=d(f)}catch(e){h(e);break}}try{s=i(f)}catch(e){return Promise.reject(e)}for(;u.length;)s=s.then(u.shift(),u.shift());return s},u.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=u},782:(e,t,n)=>{"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:(e,t,n)=>{"use strict";var r=n(1793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},5061:(e,t,n)=>{"use strict";var r=n(481);e.exports=function(e,t,n,o,s){var i=new Error(e);return r(i,t,n,o,s)}},3572:(e,t,n)=>{"use strict";var r=n(4867),o=n(8527),s=n(6502),i=n(5546),a=n(5263);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new a("canceled")}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={};function o(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(e[n],t[n])}function i(e){if(!r.isUndefined(t[e]))return o(void 0,t[e])}function a(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:o(void 0,e[n]):o(void 0,t[n])}function c(n){return n in t?o(e[n],t[n]):n in e?o(void 0,e[n]):void 0}var l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||s,o=t(e);r.isUndefined(o)&&t!==c||(n[e]=o)})),n}},6026:(e,t,n)=>{"use strict";var r=n(5061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var r=n(4867),o=n(5546);e.exports=function(e,t,n){var s=this||o;return r.forEach(n,(function(n){e=n.call(s,e,t)})),e}},5546:(e,t,n)=>{"use strict";var r=n(4867),o=n(6016),s=n(481),i=n(7874),a={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,u={transitional:i,adapter:("undefined"!=typeof XMLHttpRequest?l=n(5448):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(l=n(7970)),l),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw s(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(a)})),e.exports=u},7874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},7288:e=>{e.exports={version:"0.26.1"}},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},5327:(e,t,n)=>{"use strict";var r=n(4867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var s;if(n)s=n(t);else if(r.isURLSearchParams(t))s=t.toString();else{var i=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),s=i.join("&")}if(s){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,s,i){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(o)&&a.push("path="+o),r.isString(s)&&a.push("domain="+s),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6268:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:(e,t,n)=>{"use strict";var r=n(4867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,s,i={};return e?(r.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),n=r.trim(e.substr(s+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}})),i):i}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:(e,t,n)=>{"use strict";var r=n(7288).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};o.transitional=function(e,t,n){return function(o,i,a){if(!1===e)throw new Error(function(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}(i," has been removed"+(t?" in "+t:"")));return t&&!s[i]&&(s[i]=!0),!e||e(o,i,a)}},e.exports={assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var s=r[o],i=t[s];if(i){var a=e[s],c=void 0===a||i(a,s,e);if(!0!==c)throw new TypeError("option "+s+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+s)}},validators:o}},4867:(e,t,n)=>{"use strict";var r=n(1849),o=Object.prototype.toString;function s(e){return Array.isArray(e)}function i(e){return void 0===e}function a(e){return"[object ArrayBuffer]"===o.call(e)}function c(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function p(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),s(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:s,isArrayBuffer:a,isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&a(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:l,isUndefined:i,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return c(e)&&u(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:p,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):s(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)p(arguments[r],n);return t},extend:function(e,t,n){return p(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},6744:(e,t,n)=>{"use strict";const r=n(3349),o=n(7529),s=n(8050),i=n(4339),a=(e,t={})=>{let n=[];if(Array.isArray(e))for(let r of e){let e=a.create(r,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(a.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};a.parse=(e,t={})=>i(e,t),a.stringify=(e,t={})=>r("string"==typeof e?a.parse(e,t):e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),o(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let n=s(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},a.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?a.compile(e,t):a.expand(e,t),e.exports=a},7529:(e,t,n)=>{"use strict";const r=n(2664),o=n(3083);e.exports=(e,t={})=>{let n=(e,s={})=>{let i=o.isInvalidBrace(s),a=!0===e.invalid&&!0===t.escapeInvalid,c=!0===i||!0===a,l=!0===t.escapeInvalid?"\\":"",u="";if(!0===e.isOpen)return l+e.value;if(!0===e.isClose)return l+e.value;if("open"===e.type)return c?l+e.value:"(";if("close"===e.type)return c?l+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let n=o.reduce(e.nodes),s=r(...n,{...t,wrap:!1,toRegex:!0});if(0!==s.length)return n.length>1&&s.length>1?`(${s})`:s}if(e.nodes)for(let t of e.nodes)u+=n(t,e);return u};return n(e)}},6611:e=>{"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},8050:(e,t,n)=>{"use strict";const r=n(2664),o=n(3349),s=n(3083),i=(e="",t="",n=!1)=>{let r=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?s.flatten(t).map((e=>`{${e}}`)):t;for(let o of e)if(Array.isArray(o))for(let e of o)r.push(i(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),r.push(Array.isArray(e)?i(o,e,n):o+e);return s.flatten(r)};e.exports=(e,t={})=>{let n=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,c={})=>{e.queue=[];let l=c,u=c.queue;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,u=l.queue;if(e.invalid||e.dollar)return void u.push(i(u.pop(),o(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void u.push(i(u.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=s.reduce(e.nodes);if(s.exceedsLimit(...a,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=r(...a,t);return 0===c.length&&(c=o(e,t)),u.push(i(u.pop(),c)),void(e.nodes=[])}let p=s.encloseBrace(e),f=e.queue,d=e;for(;"brace"!==d.type&&"root"!==d.type&&d.parent;)d=d.parent,f=d.queue;for(let t=0;t<e.nodes.length;t++){let n=e.nodes[t];"comma"!==n.type||"brace"!==e.type?"close"!==n.type?n.value&&"open"!==n.type?f.push(i(f.pop(),n.value)):n.nodes&&a(n,e):u.push(i(u.pop(),f,p)):(1===t&&f.push(""),f.push(""))}return f};return s.flatten(a(e))}},4339:(e,t,n)=>{"use strict";const r=n(3349),{MAX_LENGTH:o,CHAR_BACKSLASH:s,CHAR_BACKTICK:i,CHAR_COMMA:a,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_RIGHT_CURLY_BRACE:f,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:h,CHAR_DOUBLE_QUOTE:g,CHAR_SINGLE_QUOTE:m,CHAR_NO_BREAK_SPACE:v,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=n(6611);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let n=t||{},_="number"==typeof n.maxLength?Math.min(o,n.maxLength):o;if(e.length>_)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${_})`);let b,S={type:"root",input:e,nodes:[]},E=[S],w=S,x=S,C=0,k=e.length,A=0,R=0;const O=()=>e[A++],P=e=>{if("text"===e.type&&"dot"===x.type&&(x.type="text"),!x||"text"!==x.type||"text"!==e.type)return w.nodes.push(e),e.parent=w,e.prev=x,x=e,e;x.value+=e.value};for(P({type:"bos"});A<k;)if(w=E[E.length-1],b=O(),b!==y&&b!==v)if(b!==s)if(b!==h)if(b!==d)if(b!==l)if(b!==u)if(b!==g&&b!==m&&b!==i)if(b!==p)if(b!==f)if(b===a&&R>0){if(w.ranges>0){w.ranges=0;let e=w.nodes.shift();w.nodes=[e,{type:"text",value:r(w)}]}P({type:"comma",value:b}),w.commas++}else if(b===c&&R>0&&0===w.commas){let e=w.nodes;if(0===R||0===e.length){P({type:"text",value:b});continue}if("dot"===x.type){if(w.range=[],x.value+=b,x.type="range",3!==w.nodes.length&&5!==w.nodes.length){w.invalid=!0,w.ranges=0,x.type="text";continue}w.ranges++,w.args=[];continue}if("range"===x.type){e.pop();let t=e[e.length-1];t.value+=x.value+b,x=t,w.ranges--;continue}P({type:"dot",value:b})}else P({type:"text",value:b});else{if("brace"!==w.type){P({type:"text",value:b});continue}let e="close";w=E.pop(),w.close=!0,P({type:e,value:b}),R--,w=E[E.length-1]}else{R++;let e=x.value&&"$"===x.value.slice(-1)||!0===w.dollar;w=P({type:"brace",open:!0,close:!1,dollar:e,depth:R,commas:0,ranges:0,nodes:[]}),E.push(w),P({type:"open",value:b})}else{let e,n=b;for(!0!==t.keepQuotes&&(b="");A<k&&(e=O());)if(e!==s){if(e===n){!0===t.keepQuotes&&(b+=e);break}b+=e}else b+=e+O();P({type:"text",value:b})}else{if("paren"!==w.type){P({type:"text",value:b});continue}w=E.pop(),P({type:"text",value:b}),w=E[E.length-1]}else w=P({type:"paren",nodes:[]}),E.push(w),P({type:"text",value:b});else{C++;let e;for(;A<k&&(e=O());)if(b+=e,e!==d)if(e!==s){if(e===h&&(C--,0===C))break}else b+=O();else C++;P({type:"text",value:b})}else P({type:"text",value:"\\"+b});else P({type:"text",value:(t.keepEscaping?b:"")+O()});do{if(w=E.pop(),"root"!==w.type){w.nodes.forEach((e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)}));let e=E[E.length-1],t=e.nodes.indexOf(w);e.nodes.splice(t,1,...w.nodes)}}while(E.length>0);return P({type:"eos"}),S}},3349:(e,t,n)=>{"use strict";const r=n(3083);e.exports=(e,t={})=>{let n=(e,o={})=>{let s=t.escapeInvalid&&r.isInvalidBrace(o),i=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(s||i)&&r.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=n(t);return a};return n(e)}},3083:(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find((e=>e.type===t)),t.exceedsLimit=(e,n,r=1,o)=>!1!==o&&(!(!t.isInteger(e)||!t.isInteger(n))&&(Number(n)-Number(e))/Number(r)>=o),t.escapeNode=(e,t=0,n)=>{let r=e.nodes[t];r&&(n&&r.type===n||"open"===r.type||"close"===r.type)&&!0!==r.escaped&&(r.value="\\"+r.value,r.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&(e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0)),t.isInvalidBrace=e=>"brace"===e.type&&(!(!0!==e.invalid&&!e.dollar)||(e.commas>>0+e.ranges>>0==0||!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0)),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||(!0===e.open||!0===e.close),t.reduce=e=>e.reduce(((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e)),[]),t.flatten=(...e)=>{const t=[],n=e=>{for(let r=0;r<e.length;r++){let o=e[r];Array.isArray(o)?n(o,t):void 0!==o&&t.push(o)}return t};return n(e),t}},5792:function(e){
  2. /**
  3. * chroma.js - JavaScript library for color conversions
  4. *
  5. * Copyright (c) 2011-2019, Gregor Aisch
  6. * All rights reserved.
  7. *
  8. * Redistribution and use in source and binary forms, with or without
  9. * modification, are permitted provided that the following conditions are met:
  10. *
  11. * 1. Redistributions of source code must retain the above copyright notice, this
  12. * list of conditions and the following disclaimer.
  13. *
  14. * 2. Redistributions in binary form must reproduce the above copyright notice,
  15. * this list of conditions and the following disclaimer in the documentation
  16. * and/or other materials provided with the distribution.
  17. *
  18. * 3. The name Gregor Aisch may not be used to endorse or promote products
  19. * derived from this software without specific prior written permission.
  20. *
  21. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  22. * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  23. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  24. * DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  25. * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  26. * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  27. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
  28. * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  29. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  30. * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  31. *
  32. * -------------------------------------------------------
  33. *
  34. * chroma.js includes colors from colorbrewer2.org, which are released under
  35. * the following license:
  36. *
  37. * Copyright (c) 2002 Cynthia Brewer, Mark Harrower,
  38. * and The Pennsylvania State University.
  39. *
  40. * Licensed under the Apache License, Version 2.0 (the "License");
  41. * you may not use this file except in compliance with the License.
  42. * You may obtain a copy of the License at
  43. * http://www.apache.org/licenses/LICENSE-2.0
  44. *
  45. * Unless required by applicable law or agreed to in writing,
  46. * software distributed under the License is distributed on an
  47. * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
  48. * either express or implied. See the License for the specific
  49. * language governing permissions and limitations under the License.
  50. *
  51. * ------------------------------------------------------
  52. *
  53. * Named colors are taken from X11 Color Names.
  54. * http://www.w3.org/TR/css3-color/#svg-color
  55. *
  56. * @preserve
  57. */
  58. e.exports=function(){"use strict";for(var e=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e<t?t:e>n?n:e},t=function(t){t._clipped=!1,t._unclipped=t.slice(0);for(var n=0;n<=3;n++)n<3?((t[n]<0||t[n]>255)&&(t._clipped=!0),t[n]=e(t[n],0,255)):3===n&&(t[n]=e(t[n],0,1));return t},n={},r=0,o=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];r<o.length;r+=1){var s=o[r];n["[object "+s+"]"]=s.toLowerCase()}var i=function(e){return n[Object.prototype.toString.call(e)]||"object"},a=function(e,t){return void 0===t&&(t=null),e.length>=3?Array.prototype.slice.call(e):"object"==i(e[0])&&t?t.split("").filter((function(t){return void 0!==e[0][t]})).map((function(t){return e[0][t]})):e[0]},c=function(e){if(e.length<2)return null;var t=e.length-1;return"string"==i(e[t])?e[t].toLowerCase():null},l=Math.PI,u={clip_rgb:t,limit:e,type:i,unpack:a,last:c,PI:l,TWOPI:2*l,PITHIRD:l/3,DEG2RAD:l/180,RAD2DEG:180/l},p={format:{},autodetect:[]},f=u.last,d=u.clip_rgb,h=u.type,g=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this;if("object"===h(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var r=f(e),o=!1;if(!r){o=!0,p.sorted||(p.autodetect=p.autodetect.sort((function(e,t){return t.p-e.p})),p.sorted=!0);for(var s=0,i=p.autodetect;s<i.length;s+=1){var a=i[s];if(r=a.test.apply(a,e))break}}if(!p.format[r])throw new Error("unknown format: "+e);var c=p.format[r].apply(null,o?e:e.slice(0,-1));n._rgb=d(c),3===n._rgb.length&&n._rgb.push(1)};g.prototype.toString=function(){return"function"==h(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var m=g,v=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(v.Color,[null].concat(e)))};v.Color=m,v.version="2.1.2";var y=v,_=u.unpack,b=Math.max,S=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=_(e,"rgb"),r=n[0],o=n[1],s=n[2],i=1-b(r/=255,b(o/=255,s/=255)),a=i<1?1/(1-i):0;return[(1-r-i)*a,(1-o-i)*a,(1-s-i)*a,i]},E=S,w=u.unpack,x=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=w(e,"cmyk"))[0],r=e[1],o=e[2],s=e[3],i=e.length>4?e[4]:1;return 1===s?[0,0,0,i]:[n>=1?0:255*(1-n)*(1-s),r>=1?0:255*(1-r)*(1-s),o>=1?0:255*(1-o)*(1-s),i]},C=x,k=u.unpack,A=u.type;m.prototype.cmyk=function(){return E(this._rgb)},y.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["cmyk"])))},p.format.cmyk=C,p.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=k(e,"cmyk"),"array"===A(e)&&4===e.length)return"cmyk"}});var R=u.unpack,O=u.last,P=function(e){return Math.round(100*e)/100},T=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=R(e,"hsla"),r=O(e)||"lsa";return n[0]=P(n[0]||0),n[1]=P(100*n[1])+"%",n[2]=P(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},M=T,N=u.unpack,L=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=N(e,"rgba"))[0],r=e[1],o=e[2];n/=255,r/=255,o/=255;var s,i,a=Math.min(n,r,o),c=Math.max(n,r,o),l=(c+a)/2;return c===a?(s=0,i=Number.NaN):s=l<.5?(c-a)/(c+a):(c-a)/(2-c-a),n==c?i=(r-o)/(c-a):r==c?i=2+(o-n)/(c-a):o==c&&(i=4+(n-r)/(c-a)),(i*=60)<0&&(i+=360),e.length>3&&void 0!==e[3]?[i,s,l,e[3]]:[i,s,l]},D=L,F=u.unpack,I=u.last,V=Math.round,B=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=F(e,"rgba"),r=I(e)||"rgb";return"hsl"==r.substr(0,3)?M(D(n),r):(n[0]=V(n[0]),n[1]=V(n[1]),n[2]=V(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")},j=B,$=u.unpack,H=Math.round,U=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r,o,s,i=(t=$(t,"hsl"))[0],a=t[1],c=t[2];if(0===a)r=o=s=255*c;else{var l=[0,0,0],u=[0,0,0],p=c<.5?c*(1+a):c+a-c*a,f=2*c-p,d=i/360;l[0]=d+1/3,l[1]=d,l[2]=d-1/3;for(var h=0;h<3;h++)l[h]<0&&(l[h]+=1),l[h]>1&&(l[h]-=1),6*l[h]<1?u[h]=f+6*(p-f)*l[h]:2*l[h]<1?u[h]=p:3*l[h]<2?u[h]=f+(p-f)*(2/3-l[h])*6:u[h]=f;r=(e=[H(255*u[0]),H(255*u[1]),H(255*u[2])])[0],o=e[1],s=e[2]}return t.length>3?[r,o,s,t[3]]:[r,o,s,1]},q=U,W=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,z=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,G=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,K=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Y=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,J=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,X=Math.round,Z=function(e){var t;if(e=e.toLowerCase().trim(),p.format.named)try{return p.format.named(e)}catch(e){}if(t=e.match(W)){for(var n=t.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(t=e.match(z)){for(var o=t.slice(1,5),s=0;s<4;s++)o[s]=+o[s];return o}if(t=e.match(G)){for(var i=t.slice(1,4),a=0;a<3;a++)i[a]=X(2.55*i[a]);return i[3]=1,i}if(t=e.match(K)){for(var c=t.slice(1,5),l=0;l<3;l++)c[l]=X(2.55*c[l]);return c[3]=+c[3],c}if(t=e.match(Y)){var u=t.slice(1,4);u[1]*=.01,u[2]*=.01;var f=q(u);return f[3]=1,f}if(t=e.match(J)){var d=t.slice(1,4);d[1]*=.01,d[2]*=.01;var h=q(d);return h[3]=+t[4],h}};Z.test=function(e){return W.test(e)||z.test(e)||G.test(e)||K.test(e)||Y.test(e)||J.test(e)};var Q=Z,ee=u.type;m.prototype.css=function(e){return j(this._rgb,e)},y.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["css"])))},p.format.css=Q,p.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===ee(e)&&Q.test(e))return"css"}});var te=u.unpack;p.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=te(e,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},y.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["gl"])))},m.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var ne=u.unpack,re=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=ne(e,"rgb"),o=r[0],s=r[1],i=r[2],a=Math.min(o,s,i),c=Math.max(o,s,i),l=c-a,u=100*l/255,p=a/(255-l)*100;return 0===l?n=Number.NaN:(o===c&&(n=(s-i)/l),s===c&&(n=2+(i-o)/l),i===c&&(n=4+(o-s)/l),(n*=60)<0&&(n+=360)),[n,u,p]},oe=re,se=u.unpack,ie=Math.floor,ae=function(){for(var e,t,n,r,o,s,i=[],a=arguments.length;a--;)i[a]=arguments[a];var c,l,u,p=(i=se(i,"hcg"))[0],f=i[1],d=i[2];d*=255;var h=255*f;if(0===f)c=l=u=d;else{360===p&&(p=0),p>360&&(p-=360),p<0&&(p+=360);var g=ie(p/=60),m=p-g,v=d*(1-f),y=v+h*(1-m),_=v+h*m,b=v+h;switch(g){case 0:c=(e=[b,_,v])[0],l=e[1],u=e[2];break;case 1:c=(t=[y,b,v])[0],l=t[1],u=t[2];break;case 2:c=(n=[v,b,_])[0],l=n[1],u=n[2];break;case 3:c=(r=[v,y,b])[0],l=r[1],u=r[2];break;case 4:c=(o=[_,v,b])[0],l=o[1],u=o[2];break;case 5:c=(s=[b,v,y])[0],l=s[1],u=s[2]}}return[c,l,u,i.length>3?i[3]:1]},ce=ae,le=u.unpack,ue=u.type;m.prototype.hcg=function(){return oe(this._rgb)},y.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hcg"])))},p.format.hcg=ce,p.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=le(e,"hcg"),"array"===ue(e)&&3===e.length)return"hcg"}});var pe=u.unpack,fe=u.last,de=Math.round,he=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=pe(e,"rgba"),r=n[0],o=n[1],s=n[2],i=n[3],a=fe(e)||"auto";void 0===i&&(i=1),"auto"===a&&(a=i<1?"rgba":"rgb");var c="000000"+((r=de(r))<<16|(o=de(o))<<8|(s=de(s))).toString(16);c=c.substr(c.length-6);var l="0"+de(255*i).toString(16);switch(l=l.substr(l.length-2),a.toLowerCase()){case"rgba":return"#"+c+l;case"argb":return"#"+l+c;default:return"#"+c}},ge=he,me=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,ve=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,ye=function(e){if(e.match(me)){4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(ve)){5!==e.length&&9!==e.length||(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var n=parseInt(e,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+e)},_e=u.type;m.prototype.hex=function(e){return ge(this._rgb,e)},y.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hex"])))},p.format.hex=ye,p.autodetect.push({p:4,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===_e(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var be=u.unpack,Se=u.TWOPI,Ee=Math.min,we=Math.sqrt,xe=Math.acos,Ce=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=be(e,"rgb"),o=r[0],s=r[1],i=r[2],a=Ee(o/=255,s/=255,i/=255),c=(o+s+i)/3,l=c>0?1-a/c:0;return 0===l?n=NaN:(n=(o-s+(o-i))/2,n/=we((o-s)*(o-s)+(o-i)*(s-i)),n=xe(n),i>s&&(n=Se-n),n/=Se),[360*n,l,c]},ke=Ce,Ae=u.unpack,Re=u.limit,Oe=u.TWOPI,Pe=u.PITHIRD,Te=Math.cos,Me=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,s=(e=Ae(e,"hsi"))[0],i=e[1],a=e[2];return isNaN(s)&&(s=0),isNaN(i)&&(i=0),s>360&&(s-=360),s<0&&(s+=360),(s/=360)<1/3?r=1-((o=(1-i)/3)+(n=(1+i*Te(Oe*s)/Te(Pe-Oe*s))/3)):s<2/3?o=1-((n=(1-i)/3)+(r=(1+i*Te(Oe*(s-=1/3))/Te(Pe-Oe*s))/3)):n=1-((r=(1-i)/3)+(o=(1+i*Te(Oe*(s-=2/3))/Te(Pe-Oe*s))/3)),[255*(n=Re(a*n*3)),255*(r=Re(a*r*3)),255*(o=Re(a*o*3)),e.length>3?e[3]:1]},Ne=Me,Le=u.unpack,De=u.type;m.prototype.hsi=function(){return ke(this._rgb)},y.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hsi"])))},p.format.hsi=Ne,p.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Le(e,"hsi"),"array"===De(e)&&3===e.length)return"hsi"}});var Fe=u.unpack,Ie=u.type;m.prototype.hsl=function(){return D(this._rgb)},y.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hsl"])))},p.format.hsl=q,p.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Fe(e,"hsl"),"array"===Ie(e)&&3===e.length)return"hsl"}});var Ve=u.unpack,Be=Math.min,je=Math.max,$e=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,s=(e=Ve(e,"rgb"))[0],i=e[1],a=e[2],c=Be(s,i,a),l=je(s,i,a),u=l-c;return o=l/255,0===l?(n=Number.NaN,r=0):(r=u/l,s===l&&(n=(i-a)/u),i===l&&(n=2+(a-s)/u),a===l&&(n=4+(s-i)/u),(n*=60)<0&&(n+=360)),[n,r,o]},He=$e,Ue=u.unpack,qe=Math.floor,We=function(){for(var e,t,n,r,o,s,i=[],a=arguments.length;a--;)i[a]=arguments[a];var c,l,u,p=(i=Ue(i,"hsv"))[0],f=i[1],d=i[2];if(d*=255,0===f)c=l=u=d;else{360===p&&(p=0),p>360&&(p-=360),p<0&&(p+=360);var h=qe(p/=60),g=p-h,m=d*(1-f),v=d*(1-f*g),y=d*(1-f*(1-g));switch(h){case 0:c=(e=[d,y,m])[0],l=e[1],u=e[2];break;case 1:c=(t=[v,d,m])[0],l=t[1],u=t[2];break;case 2:c=(n=[m,d,y])[0],l=n[1],u=n[2];break;case 3:c=(r=[m,v,d])[0],l=r[1],u=r[2];break;case 4:c=(o=[y,m,d])[0],l=o[1],u=o[2];break;case 5:c=(s=[d,m,v])[0],l=s[1],u=s[2]}}return[c,l,u,i.length>3?i[3]:1]},ze=We,Ge=u.unpack,Ke=u.type;m.prototype.hsv=function(){return He(this._rgb)},y.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hsv"])))},p.format.hsv=ze,p.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ge(e,"hsv"),"array"===Ke(e)&&3===e.length)return"hsv"}});var Ye={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},Je=u.unpack,Xe=Math.pow,Ze=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Je(e,"rgb"),r=n[0],o=n[1],s=n[2],i=tt(r,o,s),a=i[0],c=i[1],l=116*c-16;return[l<0?0:l,500*(a-c),200*(c-i[2])]},Qe=function(e){return(e/=255)<=.04045?e/12.92:Xe((e+.055)/1.055,2.4)},et=function(e){return e>Ye.t3?Xe(e,1/3):e/Ye.t2+Ye.t0},tt=function(e,t,n){return e=Qe(e),t=Qe(t),n=Qe(n),[et((.4124564*e+.3575761*t+.1804375*n)/Ye.Xn),et((.2126729*e+.7151522*t+.072175*n)/Ye.Yn),et((.0193339*e+.119192*t+.9503041*n)/Ye.Zn)]},nt=Ze,rt=u.unpack,ot=Math.pow,st=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o,s=(e=rt(e,"lab"))[0],i=e[1],a=e[2];return r=(s+16)/116,n=isNaN(i)?r:r+i/500,o=isNaN(a)?r:r-a/200,r=Ye.Yn*at(r),n=Ye.Xn*at(n),o=Ye.Zn*at(o),[it(3.2404542*n-1.5371385*r-.4985314*o),it(-.969266*n+1.8760108*r+.041556*o),it(.0556434*n-.2040259*r+1.0572252*o),e.length>3?e[3]:1]},it=function(e){return 255*(e<=.00304?12.92*e:1.055*ot(e,1/2.4)-.055)},at=function(e){return e>Ye.t1?e*e*e:Ye.t2*(e-Ye.t0)},ct=st,lt=u.unpack,ut=u.type;m.prototype.lab=function(){return nt(this._rgb)},y.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["lab"])))},p.format.lab=ct,p.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=lt(e,"lab"),"array"===ut(e)&&3===e.length)return"lab"}});var pt=u.unpack,ft=u.RAD2DEG,dt=Math.sqrt,ht=Math.atan2,gt=Math.round,mt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=pt(e,"lab"),r=n[0],o=n[1],s=n[2],i=dt(o*o+s*s),a=(ht(s,o)*ft+360)%360;return 0===gt(1e4*i)&&(a=Number.NaN),[r,i,a]},vt=mt,yt=u.unpack,_t=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=yt(e,"rgb"),r=n[0],o=n[1],s=n[2],i=nt(r,o,s),a=i[0],c=i[1],l=i[2];return vt(a,c,l)},bt=_t,St=u.unpack,Et=u.DEG2RAD,wt=Math.sin,xt=Math.cos,Ct=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=St(e,"lch"),r=n[0],o=n[1],s=n[2];return isNaN(s)&&(s=0),[r,xt(s*=Et)*o,wt(s)*o]},kt=Ct,At=u.unpack,Rt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=(e=At(e,"lch"))[0],r=e[1],o=e[2],s=kt(n,r,o),i=s[0],a=s[1],c=s[2],l=ct(i,a,c);return[l[0],l[1],l[2],e.length>3?e[3]:1]},Ot=Rt,Pt=u.unpack,Tt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Pt(e,"hcl").reverse();return Ot.apply(void 0,n)},Mt=Tt,Nt=u.unpack,Lt=u.type;m.prototype.lch=function(){return bt(this._rgb)},m.prototype.hcl=function(){return bt(this._rgb).reverse()},y.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["lch"])))},y.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["hcl"])))},p.format.lch=Ot,p.format.hcl=Mt,["lch","hcl"].forEach((function(e){return p.autodetect.push({p:2,test:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];if(t=Nt(t,e),"array"===Lt(t)&&3===t.length)return e}})}));var Dt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Ft=u.type;m.prototype.name=function(){for(var e=ge(this._rgb,"rgb"),t=0,n=Object.keys(Dt);t<n.length;t+=1){var r=n[t];if(Dt[r]===e)return r.toLowerCase()}return e},p.format.named=function(e){if(e=e.toLowerCase(),Dt[e])return ye(Dt[e]);throw new Error("unknown color name: "+e)},p.autodetect.push({p:5,test:function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];if(!t.length&&"string"===Ft(e)&&Dt[e.toLowerCase()])return"named"}});var It=u.unpack,Vt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=It(e,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},Bt=Vt,jt=u.type,$t=function(e){if("number"==jt(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw new Error("unknown num color: "+e)},Ht=u.type;m.prototype.num=function(){return Bt(this._rgb)},y.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["num"])))},p.format.num=$t,p.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===Ht(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var Ut=u.unpack,qt=u.type,Wt=Math.round;m.prototype.rgb=function(e){return void 0===e&&(e=!0),!1===e?this._rgb.slice(0,3):this._rgb.slice(0,3).map(Wt)},m.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map((function(t,n){return n<3?!1===e?t:Wt(t):t}))},y.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["rgb"])))},p.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=Ut(e,"rgba");return void 0===n[3]&&(n[3]=1),n},p.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(e=Ut(e,"rgba"),"array"===qt(e)&&(3===e.length||4===e.length&&"number"==qt(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var zt=Math.log,Gt=function(e){var t,n,r,o=e/100;return o<66?(t=255,n=-155.25485562709179-.44596950469579133*(n=o-2)+104.49216199393888*zt(n),r=o<20?0:.8274096064007395*(r=o-10)-254.76935184120902+115.67994401066147*zt(r)):(t=351.97690566805693+.114206453784165*(t=o-55)-40.25366309332127*zt(t),n=325.4494125711974+.07943456536662342*(n=o-50)-28.0852963507957*zt(n),r=255),[t,n,r,1]},Kt=u.unpack,Yt=Math.round,Jt=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n,r=Kt(e,"rgb"),o=r[0],s=r[2],i=1e3,a=4e4,c=.4;a-i>c;){var l=Gt(n=.5*(a+i));l[2]/l[0]>=s/o?a=n:i=n}return Yt(n)},Xt=Jt;m.prototype.temp=m.prototype.kelvin=m.prototype.temperature=function(){return Xt(this._rgb)},y.temp=y.kelvin=y.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(m,[null].concat(e,["temp"])))},p.format.temp=p.format.kelvin=p.format.temperature=Gt;var Zt=u.type;m.prototype.alpha=function(e,t){return void 0===t&&(t=!1),void 0!==e&&"number"===Zt(e)?t?(this._rgb[3]=e,this):new m([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},m.prototype.clipped=function(){return this._rgb._clipped||!1},m.prototype.darken=function(e){void 0===e&&(e=1);var t=this,n=t.lab();return n[0]-=Ye.Kn*e,new m(n,"lab").alpha(t.alpha(),!0)},m.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},m.prototype.darker=m.prototype.darken,m.prototype.brighter=m.prototype.brighten,m.prototype.get=function(e){var t=e.split("."),n=t[0],r=t[1],o=this[n]();if(r){var s=n.indexOf(r);if(s>-1)return o[s];throw new Error("unknown channel "+r+" in mode "+n)}return o};var Qt=u.type,en=Math.pow,tn=1e-7,nn=20;m.prototype.luminance=function(e){if(void 0!==e&&"number"===Qt(e)){if(0===e)return new m([0,0,0,this._rgb[3]],"rgb");if(1===e)return new m([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),n="rgb",r=nn,o=function(t,s){var i=t.interpolate(s,.5,n),a=i.luminance();return Math.abs(e-a)<tn||!r--?i:a>e?o(t,i):o(i,s)},s=(t>e?o(new m([0,0,0]),this):o(this,new m([255,255,255]))).rgb();return new m(s.concat([this._rgb[3]]))}return rn.apply(void 0,this._rgb.slice(0,3))};var rn=function(e,t,n){return.2126*(e=on(e))+.7152*(t=on(t))+.0722*(n=on(n))},on=function(e){return(e/=255)<=.03928?e/12.92:en((e+.055)/1.055,2.4)},sn={},an=u.type,cn=function(e,t,n){void 0===n&&(n=.5);for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var s=r[0]||"lrgb";if(sn[s]||r.length||(s=Object.keys(sn)[0]),!sn[s])throw new Error("interpolation mode "+s+" is not defined");return"object"!==an(e)&&(e=new m(e)),"object"!==an(t)&&(t=new m(t)),sn[s](e,t,n).alpha(e.alpha()+n*(t.alpha()-e.alpha()))};m.prototype.mix=m.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return cn.apply(void 0,[this,e,t].concat(n))},m.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,n=t[3];return e?(this._rgb=[t[0]*n,t[1]*n,t[2]*n,n],this):new m([t[0]*n,t[1]*n,t[2]*n,n],"rgb")},m.prototype.saturate=function(e){void 0===e&&(e=1);var t=this,n=t.lch();return n[1]+=Ye.Kn*e,n[1]<0&&(n[1]=0),new m(n,"lch").alpha(t.alpha(),!0)},m.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var ln=u.type;m.prototype.set=function(e,t,n){void 0===n&&(n=!1);var r=e.split("."),o=r[0],s=r[1],i=this[o]();if(s){var a=o.indexOf(s);if(a>-1){if("string"==ln(t))switch(t.charAt(0)){case"+":case"-":i[a]+=+t;break;case"*":i[a]*=+t.substr(1);break;case"/":i[a]/=+t.substr(1);break;default:i[a]=+t}else{if("number"!==ln(t))throw new Error("unsupported value for Color.set");i[a]=t}var c=new m(i,o);return n?(this._rgb=c._rgb,this):c}throw new Error("unknown channel "+s+" in mode "+o)}return i};var un=function(e,t,n){var r=e._rgb,o=t._rgb;return new m(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"rgb")};sn.rgb=un;var pn=Math.sqrt,fn=Math.pow,dn=function(e,t,n){var r=e._rgb,o=r[0],s=r[1],i=r[2],a=t._rgb,c=a[0],l=a[1],u=a[2];return new m(pn(fn(o,2)*(1-n)+fn(c,2)*n),pn(fn(s,2)*(1-n)+fn(l,2)*n),pn(fn(i,2)*(1-n)+fn(u,2)*n),"rgb")};sn.lrgb=dn;var hn=function(e,t,n){var r=e.lab(),o=t.lab();return new m(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"lab")};sn.lab=hn;var gn=function(e,t,n,r){var o,s,i,a,c,l,u,p,f,d,h,g;return"hsl"===r?(i=e.hsl(),a=t.hsl()):"hsv"===r?(i=e.hsv(),a=t.hsv()):"hcg"===r?(i=e.hcg(),a=t.hcg()):"hsi"===r?(i=e.hsi(),a=t.hsi()):"lch"!==r&&"hcl"!==r||(r="hcl",i=e.hcl(),a=t.hcl()),"h"===r.substr(0,1)&&(c=(o=i)[0],u=o[1],f=o[2],l=(s=a)[0],p=s[1],d=s[2]),isNaN(c)||isNaN(l)?isNaN(c)?isNaN(l)?g=Number.NaN:(g=l,1!=f&&0!=f||"hsv"==r||(h=p)):(g=c,1!=d&&0!=d||"hsv"==r||(h=u)):g=c+n*(l>c&&l-c>180?l-(c+360):l<c&&c-l>180?l+360-c:l-c),void 0===h&&(h=u+n*(p-u)),new m([g,h,f+n*(d-f)],r)},mn=function(e,t,n){return gn(e,t,n,"lch")};sn.lch=mn,sn.hcl=mn;var vn=function(e,t,n){var r=e.num(),o=t.num();return new m(r+n*(o-r),"num")};sn.num=vn;var yn=function(e,t,n){return gn(e,t,n,"hcg")};sn.hcg=yn;var _n=function(e,t,n){return gn(e,t,n,"hsi")};sn.hsi=_n;var bn=function(e,t,n){return gn(e,t,n,"hsl")};sn.hsl=bn;var Sn=function(e,t,n){return gn(e,t,n,"hsv")};sn.hsv=Sn;var En=u.clip_rgb,wn=Math.pow,xn=Math.sqrt,Cn=Math.PI,kn=Math.cos,An=Math.sin,Rn=Math.atan2,On=function(e,t,n){void 0===t&&(t="lrgb"),void 0===n&&(n=null);var r=e.length;n||(n=Array.from(new Array(r)).map((function(){return 1})));var o=r/n.reduce((function(e,t){return e+t}));if(n.forEach((function(e,t){n[t]*=o})),e=e.map((function(e){return new m(e)})),"lrgb"===t)return Pn(e,n);for(var s=e.shift(),i=s.get(t),a=[],c=0,l=0,u=0;u<i.length;u++)if(i[u]=(i[u]||0)*n[0],a.push(isNaN(i[u])?0:n[0]),"h"===t.charAt(u)&&!isNaN(i[u])){var p=i[u]/180*Cn;c+=kn(p)*n[0],l+=An(p)*n[0]}var f=s.alpha()*n[0];e.forEach((function(e,r){var o=e.get(t);f+=e.alpha()*n[r+1];for(var s=0;s<i.length;s++)if(!isNaN(o[s]))if(a[s]+=n[r+1],"h"===t.charAt(s)){var u=o[s]/180*Cn;c+=kn(u)*n[r+1],l+=An(u)*n[r+1]}else i[s]+=o[s]*n[r+1]}));for(var d=0;d<i.length;d++)if("h"===t.charAt(d)){for(var h=Rn(l/a[d],c/a[d])/Cn*180;h<0;)h+=360;for(;h>=360;)h-=360;i[d]=h}else i[d]=i[d]/a[d];return f/=r,new m(i,t).alpha(f>.99999?1:f,!0)},Pn=function(e,t){for(var n=e.length,r=[0,0,0,0],o=0;o<e.length;o++){var s=e[o],i=t[o]/n,a=s._rgb;r[0]+=wn(a[0],2)*i,r[1]+=wn(a[1],2)*i,r[2]+=wn(a[2],2)*i,r[3]+=a[3]*i}return r[0]=xn(r[0]),r[1]=xn(r[1]),r[2]=xn(r[2]),r[3]>.9999999&&(r[3]=1),new m(En(r))},Tn=u.type,Mn=Math.pow,Nn=function(e){var t="rgb",n=y("#ccc"),r=0,o=[0,1],s=[],i=[0,0],a=!1,c=[],l=!1,u=0,p=1,f=!1,d={},h=!0,g=1,m=function(e){if((e=e||["#fff","#000"])&&"string"===Tn(e)&&y.brewer&&y.brewer[e.toLowerCase()]&&(e=y.brewer[e.toLowerCase()]),"array"===Tn(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=y(e[t]);s.length=0;for(var n=0;n<e.length;n++)s.push(n/(e.length-1))}return E(),c=e},v=function(e){if(null!=a){for(var t=a.length-1,n=0;n<t&&e>=a[n];)n++;return n-1}return 0},_=function(e){return e},b=function(e){return e},S=function(e,r){var o,l;if(null==r&&(r=!1),isNaN(e)||null===e)return n;l=r?e:a&&a.length>2?v(e)/(a.length-2):p!==u?(e-u)/(p-u):1,l=b(l),r||(l=_(l)),1!==g&&(l=Mn(l,g)),l=i[0]+l*(1-i[0]-i[1]),l=Math.min(1,Math.max(0,l));var f=Math.floor(1e4*l);if(h&&d[f])o=d[f];else{if("array"===Tn(c))for(var m=0;m<s.length;m++){var S=s[m];if(l<=S){o=c[m];break}if(l>=S&&m===s.length-1){o=c[m];break}if(l>S&&l<s[m+1]){l=(l-S)/(s[m+1]-S),o=y.interpolate(c[m],c[m+1],l,t);break}}else"function"===Tn(c)&&(o=c(l));h&&(d[f]=o)}return o},E=function(){return d={}};m(e);var w=function(e){var t=y(S(e));return l&&t[l]?t[l]():t};return w.classes=function(e){if(null!=e){if("array"===Tn(e))a=e,o=[e[0],e[e.length-1]];else{var t=y.analyze(o);a=0===e?[t.min,t.max]:y.limits(t,"e",e)}return w}return a},w.domain=function(e){if(!arguments.length)return o;u=e[0],p=e[e.length-1],s=[];var t=c.length;if(e.length===t&&u!==p)for(var n=0,r=Array.from(e);n<r.length;n+=1){var i=r[n];s.push((i-u)/(p-u))}else{for(var a=0;a<t;a++)s.push(a/(t-1));if(e.length>2){var l=e.map((function(t,n){return n/(e.length-1)})),f=e.map((function(e){return(e-u)/(p-u)}));f.every((function(e,t){return l[t]===e}))||(b=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=f[t+1];)t++;var n=(e-f[t])/(f[t+1]-f[t]);return l[t]+n*(l[t+1]-l[t])})}}return o=[u,p],w},w.mode=function(e){return arguments.length?(t=e,E(),w):t},w.range=function(e,t){return m(e,t),w},w.out=function(e){return l=e,w},w.spread=function(e){return arguments.length?(r=e,w):r},w.correctLightness=function(e){return null==e&&(e=!0),f=e,E(),_=f?function(e){for(var t=S(0,!0).lab()[0],n=S(1,!0).lab()[0],r=t>n,o=S(e,!0).lab()[0],s=t+(n-t)*e,i=o-s,a=0,c=1,l=20;Math.abs(i)>.01&&l-- >0;)r&&(i*=-1),i<0?(a=e,e+=.5*(c-e)):(c=e,e+=.5*(a-e)),o=S(e,!0).lab()[0],i=o-s;return e}:function(e){return e},w},w.padding=function(e){return null!=e?("number"===Tn(e)&&(e=[e,e]),i=e,w):i},w.colors=function(t,n){arguments.length<2&&(n="hex");var r=[];if(0===arguments.length)r=c.slice(0);else if(1===t)r=[w(.5)];else if(t>1){var s=o[0],i=o[1]-s;r=Ln(0,t,!1).map((function(e){return w(s+e/(t-1)*i)}))}else{e=[];var l=[];if(a&&a.length>2)for(var u=1,p=a.length,f=1<=p;f?u<p:u>p;f?u++:u--)l.push(.5*(a[u-1]+a[u]));else l=o;r=l.map((function(e){return w(e)}))}return y[n]&&(r=r.map((function(e){return e[n]()}))),r},w.cache=function(e){return null!=e?(h=e,w):h},w.gamma=function(e){return null!=e?(g=e,w):g},w.nodata=function(e){return null!=e?(n=y(e),w):n},w};function Ln(e,t,n){for(var r=[],o=e<t,s=n?o?t+1:t-1:t,i=e;o?i<s:i>s;o?i++:i--)r.push(i);return r}var Dn=function(e){var t,n,r,o,s,i,a;if(2===(e=e.map((function(e){return new m(e)}))).length)t=e.map((function(e){return e.lab()})),s=t[0],i=t[1],o=function(e){var t=[0,1,2].map((function(t){return s[t]+e*(i[t]-s[t])}));return new m(t,"lab")};else if(3===e.length)n=e.map((function(e){return e.lab()})),s=n[0],i=n[1],a=n[2],o=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*s[t]+2*(1-e)*e*i[t]+e*e*a[t]}));return new m(t,"lab")};else if(4===e.length){var c;r=e.map((function(e){return e.lab()})),s=r[0],i=r[1],a=r[2],c=r[3],o=function(e){var t=[0,1,2].map((function(t){return(1-e)*(1-e)*(1-e)*s[t]+3*(1-e)*(1-e)*e*i[t]+3*(1-e)*e*e*a[t]+e*e*e*c[t]}));return new m(t,"lab")}}else if(5===e.length){var l=Dn(e.slice(0,3)),u=Dn(e.slice(2,5));o=function(e){return e<.5?l(2*e):u(2*(e-.5))}}return o},Fn=function(e){var t=Dn(e);return t.scale=function(){return Nn(t)},t},In=function(e,t,n){if(!In[n])throw new Error("unknown blend mode "+n);return In[n](e,t)},Vn=function(e){return function(t,n){var r=y(n).rgb(),o=y(t).rgb();return y.rgb(e(r,o))}},Bn=function(e){return function(t,n){var r=[];return r[0]=e(t[0],n[0]),r[1]=e(t[1],n[1]),r[2]=e(t[2],n[2]),r}},jn=function(e){return e},$n=function(e,t){return e*t/255},Hn=function(e,t){return e>t?t:e},Un=function(e,t){return e>t?e:t},qn=function(e,t){return 255*(1-(1-e/255)*(1-t/255))},Wn=function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))},zn=function(e,t){return 255*(1-(1-t/255)/(e/255))},Gn=function(e,t){return 255===e||(e=t/255*255/(1-e/255))>255?255:e};In.normal=Vn(Bn(jn)),In.multiply=Vn(Bn($n)),In.screen=Vn(Bn(qn)),In.overlay=Vn(Bn(Wn)),In.darken=Vn(Bn(Hn)),In.lighten=Vn(Bn(Un)),In.dodge=Vn(Bn(Gn)),In.burn=Vn(Bn(zn));for(var Kn=In,Yn=u.type,Jn=u.clip_rgb,Xn=u.TWOPI,Zn=Math.pow,Qn=Math.sin,er=Math.cos,tr=function(e,t,n,r,o){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===o&&(o=[0,1]);var s,i=0;"array"===Yn(o)?s=o[1]-o[0]:(s=0,o=[o,o]);var a=function(a){var c=Xn*((e+120)/360+t*a),l=Zn(o[0]+s*a,r),u=(0!==i?n[0]+a*i:n)*l*(1-l)/2,p=er(c),f=Qn(c);return y(Jn([255*(l+u*(-.14861*p+1.78277*f)),255*(l+u*(-.29227*p-.90649*f)),255*(l+u*(1.97294*p)),1]))};return a.start=function(t){return null==t?e:(e=t,a)},a.rotations=function(e){return null==e?t:(t=e,a)},a.gamma=function(e){return null==e?r:(r=e,a)},a.hue=function(e){return null==e?n:("array"===Yn(n=e)?0==(i=n[1]-n[0])&&(n=n[1]):i=0,a)},a.lightness=function(e){return null==e?o:("array"===Yn(e)?(o=e,s=e[1]-e[0]):(o=[e,e],s=0),a)},a.scale=function(){return y.scale(a)},a.hue(n),a},nr="0123456789abcdef",rr=Math.floor,or=Math.random,sr=function(){for(var e="#",t=0;t<6;t++)e+=nr.charAt(rr(16*or()));return new m(e,"hex")},ir=Math.log,ar=Math.pow,cr=Math.floor,lr=Math.abs,ur=function(e,t){void 0===t&&(t=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===i(e)&&(e=Object.values(e)),e.forEach((function(e){t&&"object"===i(e)&&(e=e[t]),null==e||isNaN(e)||(n.values.push(e),n.sum+=e,e<n.min&&(n.min=e),e>n.max&&(n.max=e),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(e,t){return pr(n,e,t)},n},pr=function(e,t,n){void 0===t&&(t="equal"),void 0===n&&(n=7),"array"==i(e)&&(e=ur(e));var r=e.min,o=e.max,s=e.values.sort((function(e,t){return e-t}));if(1===n)return[r,o];var a=[];if("c"===t.substr(0,1)&&(a.push(r),a.push(o)),"e"===t.substr(0,1)){a.push(r);for(var c=1;c<n;c++)a.push(r+c/n*(o-r));a.push(o)}else if("l"===t.substr(0,1)){if(r<=0)throw new Error("Logarithmic scales are only possible for values > 0");var l=Math.LOG10E*ir(r),u=Math.LOG10E*ir(o);a.push(r);for(var p=1;p<n;p++)a.push(ar(10,l+p/n*(u-l)));a.push(o)}else if("q"===t.substr(0,1)){a.push(r);for(var f=1;f<n;f++){var d=(s.length-1)*f/n,h=cr(d);if(h===d)a.push(s[h]);else{var g=d-h;a.push(s[h]*(1-g)+s[h+1]*g)}}a.push(o)}else if("k"===t.substr(0,1)){var m,v=s.length,y=new Array(v),_=new Array(n),b=!0,S=0,E=null;(E=[]).push(r);for(var w=1;w<n;w++)E.push(r+w/n*(o-r));for(E.push(o);b;){for(var x=0;x<n;x++)_[x]=0;for(var C=0;C<v;C++)for(var k=s[C],A=Number.MAX_VALUE,R=void 0,O=0;O<n;O++){var P=lr(E[O]-k);P<A&&(A=P,R=O),_[R]++,y[C]=R}for(var T=new Array(n),M=0;M<n;M++)T[M]=null;for(var N=0;N<v;N++)null===T[m=y[N]]?T[m]=s[N]:T[m]+=s[N];for(var L=0;L<n;L++)T[L]*=1/_[L];b=!1;for(var D=0;D<n;D++)if(T[D]!==E[D]){b=!0;break}E=T,++S>200&&(b=!1)}for(var F={},I=0;I<n;I++)F[I]=[];for(var V=0;V<v;V++)F[m=y[V]].push(s[V]);for(var B=[],j=0;j<n;j++)B.push(F[j][0]),B.push(F[j][F[j].length-1]);B=B.sort((function(e,t){return e-t})),a.push(B[0]);for(var $=1;$<B.length;$+=2){var H=B[$];isNaN(H)||-1!==a.indexOf(H)||a.push(H)}}return a},fr={analyze:ur,limits:pr},dr=function(e,t){e=new m(e),t=new m(t);var n=e.luminance(),r=t.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},hr=Math.sqrt,gr=Math.atan2,mr=Math.abs,vr=Math.cos,yr=Math.PI,_r=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1),e=new m(e),t=new m(t);for(var o=Array.from(e.lab()),s=o[0],i=o[1],a=o[2],c=Array.from(t.lab()),l=c[0],u=c[1],p=c[2],f=hr(i*i+a*a),d=hr(u*u+p*p),h=s<16?.511:.040975*s/(1+.01765*s),g=.0638*f/(1+.0131*f)+.638,v=f<1e-6?0:180*gr(a,i)/yr;v<0;)v+=360;for(;v>=360;)v-=360;var y=v>=164&&v<=345?.56+mr(.2*vr(yr*(v+168)/180)):.36+mr(.4*vr(yr*(v+35)/180)),_=f*f*f*f,b=hr(_/(_+1900)),S=g*(b*y+1-b),E=f-d,w=i-u,x=a-p,C=(s-l)/(n*h),k=E/(r*g);return hr(C*C+k*k+(w*w+x*x-E*E)/(S*S))},br=function(e,t,n){void 0===n&&(n="lab"),e=new m(e),t=new m(t);var r=e.get(n),o=t.get(n),s=0;for(var i in r){var a=(r[i]||0)-(o[i]||0);s+=a*a}return Math.sqrt(s)},Sr=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(m,[null].concat(e))),!0}catch(e){return!1}},Er={cool:function(){return Nn([y.hsl(180,1,.9),y.hsl(250,.7,.4)])},hot:function(){return Nn(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")}},wr={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},xr=0,Cr=Object.keys(wr);xr<Cr.length;xr+=1){var kr=Cr[xr];wr[kr.toLowerCase()]=wr[kr]}var Ar=wr;return y.average=On,y.bezier=Fn,y.blend=Kn,y.cubehelix=tr,y.mix=y.interpolate=cn,y.random=sr,y.scale=Nn,y.analyze=fr.analyze,y.contrast=dr,y.deltaE=_r,y.distance=br,y.limits=fr.limits,y.valid=Sr,y.scales=Er,y.colors=Dt,y.brewer=Ar,y}()},9435:e=>{var t=1e3,n=60*t,r=60*n,o=24*r,s=7*o,i=365.25*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var s=Math.abs(e);if(s>=o)return a(e,s,o,"day");if(s>=r)return a(e,s,r,"hour");if(s>=n)return a(e,s,n,"minute");if(s>=t)return a(e,s,t,"second");return e+" ms"}(e):function(e){var s=Math.abs(e);if(s>=o)return Math.round(e/o)+"d";if(s>=r)return Math.round(e/r)+"h";if(s>=n)return Math.round(e/n)+"m";if(s>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},1227:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0)}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(2447)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2447:(e,t,n)=>{e.exports=function(e){function t(e){let n,o,s,i=null;function a(...e){if(!a.enabled)return;const r=a,o=Number(new Date),s=o-(n||o);r.diff=s,r.prev=n,r.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";i++;const s=t.formatters[o];if("function"==typeof s){const t=e[i];n=s.call(r,t),e.splice(i,1),i--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,s=t.enabled(e)),s),set:e=>{i=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(9435),t.destroy=function(){},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},5158:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(1227):e.exports=n(39)},39:(e,t,n)=>{const r=n(6224),o=n(3837);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let r=0;r<n.length;r++)e.inspectOpts[n[r]]=t.inspectOpts[n[r]]},t.log=function(...e){return process.stderr.write(o.format(...e)+"\n")},t.formatArgs=function(n){const{namespace:r,useColors:o}=this;if(o){const t=this.color,o="[3"+(t<8?t:"8;5;"+t),s=` ${o};1m${r} `;n[0]=s+n[0].split("\n").join("\n"+s),n.push(o+"m+"+e.exports.humanize(this.diff)+"")}else n[0]=function(){if(t.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+r+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):r.isatty(process.stderr.fd)},t.destroy=o.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(2130);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e}),{}),e.exports=n(2447)(t);const{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},367:(e,t,n)=>{"use strict";const r=n(1017),o=n(9847),s=e=>e.length>1?`{${e.join(",")}}`:e[0],i=(e,t)=>{const n="!"===e[0]?e.slice(1):e;return r.isAbsolute(n)?n:r.join(t,n)},a=(e,t)=>{if(t.files&&!Array.isArray(t.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof t.files}\``);if(t.extensions&&!Array.isArray(t.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof t.extensions}\``);return t.files&&t.extensions?t.files.map((n=>{return r.posix.join(e,(o=n,i=t.extensions,r.extname(o)?`**/${o}`:`**/${o}.${s(i)}`));var o,i})):t.files?t.files.map((t=>r.posix.join(e,`**/${t}`))):t.extensions?[r.posix.join(e,`**/*.${s(t.extensions)}`)]:[r.posix.join(e,"**")]};e.exports=async(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=await Promise.all([].concat(e).map((async e=>await o.isDirectory(i(e,t.cwd))?a(e,t):e)));return[].concat.apply([],n)},e.exports.sync=(e,t)=>{if("string"!=typeof(t={cwd:process.cwd(),...t}).cwd)throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof t.cwd}\``);const n=[].concat(e).map((e=>o.isDirectorySync(i(e,t.cwd))?a(e,t):e));return[].concat.apply([],n)}},3294:(e,t,n)=>{"use strict";const r=n(5135),o=n(7888),s=n(3456),i=n(3403),a=n(4113),c=n(3862),l=n(4426);async function u(e,t){f(e);const n=p(e,s.default,t),r=await Promise.all(n);return l.array.flatten(r)}function p(e,t,n){const s=o.transform([].concat(e)),i=new c.default(n),a=r.generate(s,i),l=new t(i);return a.map(l.read,l)}function f(e){if(![].concat(e).every((e=>l.string.isString(e)&&!l.string.isEmpty(e))))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){e.sync=function(e,t){f(e);const n=p(e,a.default,t);return l.array.flatten(n)},e.stream=function(e,t){f(e);const n=p(e,i.default,t);return l.stream.merge(n)},e.generateTasks=function(e,t){f(e);const n=o.transform([].concat(e)),s=new c.default(t);return r.generate(n,s)},e.isDynamicPattern=function(e,t){f(e);const n=new c.default(t);return l.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return f(e),l.path.escape(e)}}(u||(u={})),e.exports=u},7888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeDuplicateSlashes=t.transform=void 0;const n=/(?!^)\/{2,}/g;function r(e){return e.replace(n,"/")}t.transform=function(e){return e.map((e=>r(e)))},t.removeDuplicateSlashes=r},5135:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const r=n(4426);function o(e,t,n){const o=[],s=r.pattern.getPatternsOutsideCurrentDirectory(e),i=r.pattern.getPatternsInsideCurrentDirectory(e),u=a(s),p=a(i);return o.push(...c(u,t,n)),"."in p?o.push(l(".",i,t,n)):o.push(...c(p,t,n)),o}function s(e){return r.pattern.getPositivePatterns(e)}function i(e,t){return r.pattern.getNegativePatterns(e).concat(t).map(r.pattern.convertToPositivePattern)}function a(e){return e.reduce(((e,t)=>{const n=r.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e}),{})}function c(e,t,n){return Object.keys(e).map((r=>l(r,e[r],t,n)))}function l(e,t,n,o){return{dynamic:o,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(r.pattern.convertToNegativePattern))}}t.generate=function(e,t){const n=s(e),a=i(e,t.ignore),c=n.filter((e=>r.pattern.isStaticPattern(e,t))),l=n.filter((e=>r.pattern.isDynamicPattern(e,t))),u=o(c,a,!1),p=o(l,a,!0);return u.concat(p)},t.convertPatternsToTasks=o,t.getPositivePatterns=s,t.getNegativePatternsAsPositive=i,t.groupPatternsByBaseDirectory=a,t.convertPatternGroupsToTasks=c,t.convertPatternGroupToTask=l},3456:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9086),o=n(466);class s extends o.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),r=[];return new Promise(((o,s)=>{const i=this.api(t,e,n);i.once("error",s),i.on("data",(e=>r.push(n.transform(e)))),i.once("end",(()=>o(r)))}))}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=s},346:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4426),o=n(7769);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){const r=this._getMatcher(t),o=this._getNegativePatternsRe(n);return t=>this._filter(e,t,r,o)}_getMatcher(e){return new o.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(r.pattern.isAffectDepthOfReadingPattern);return r.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,n,o){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const s=r.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(s,n)&&this._isSkippedByNegativePatterns(s,o)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const n=t.split("/").length;if(""===e)return n;return n-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!r.pattern.matchAny(e,t)}}},7026:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4426);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=r.pattern.convertPatternsToRe(e,this._micromatchOptions),o=r.pattern.convertPatternsToRe(t,this._micromatchOptions);return e=>this._filter(e,n,o)}_filter(e,t,n){if(this._settings.unique&&this._isDuplicateEntry(e))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(e.path,n))return!1;const r=this._settings.baseNameMatch?e.name:e.path,o=this._isMatchToPatterns(r,t)&&!this._isMatchToPatterns(e.path,n);return this._settings.unique&&o&&this._createIndexRecord(e),o}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const n=r.path.makeAbsolute(this._settings.cwd,e);return r.pattern.matchAny(n,t)}_isMatchToPatterns(e,t){const n=r.path.removeLeadingDotSegment(e);return r.pattern.matchAny(n,t)||r.pattern.matchAny(n+"/",t)}}},3046:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4426);t.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return r.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},92:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4426);t.default=class{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){const e=r.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const t of e){const e=this._getPatternSegments(t),n=this._splitSegmentsIntoSections(e);this._storage.push({complete:n.length<=1,pattern:t,segments:e,sections:n})}}_getPatternSegments(e){return r.pattern.getPatternParts(e,this._micromatchOptions).map((e=>r.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:r.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e}))}_splitSegmentsIntoSections(e){return r.array.splitWhen(e,(e=>e.dynamic&&r.pattern.hasGlobStar(e.pattern)))}}},7769:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(92);class o extends r.default{match(e){const t=e.split("/"),n=t.length,r=this._storage.filter((e=>!e.complete||e.segments.length>n));for(const e of r){const r=e.sections[0];if(!e.complete&&n>r.length)return!0;if(t.every(((t,n)=>{const r=e.segments[n];return!(!r.dynamic||!r.patternRe.test(t))||!r.dynamic&&r.pattern===t})))return!0}return!1}}t.default=o},466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1017),o=n(346),s=n(7026),i=n(3046),a=n(218);t.default=class{constructor(e){this._settings=e,this.errorFilter=new i.default(this._settings),this.entryFilter=new s.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new o.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new a.default(this._settings)}_getRootDirectory(e){return r.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}},3403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2781),o=n(9086),s=n(466);class i extends s.default{constructor(){super(...arguments),this._reader=new o.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),o=this.api(t,e,n),s=new r.Readable({objectMode:!0,read:()=>{}});return o.once("error",(e=>s.emit("error",e))).on("data",(e=>s.emit("data",n.transform(e)))).once("end",(()=>s.emit("end"))),s.once("close",(()=>o.destroy())),s}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=i},4113:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(112),o=n(466);class s extends o.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=s},218:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4426);t.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=r.path.makeAbsolute(this._settings.cwd,t),t=r.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}},2117:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1017),o=n(6203),s=n(4426);t.default=class{constructor(e){this._settings=e,this._fsStatSettings=new o.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return r.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:s.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!s.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}},9086:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2781),o=n(6203),s=n(5439),i=n(2117);class a extends i.default{constructor(){super(...arguments),this._walkStream=s.walkStream,this._stat=o.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),o=new r.PassThrough({objectMode:!0});o._write=(r,s,i)=>this._getEntry(n[r],e[r],t).then((e=>{null!==e&&t.entryFilter(e)&&o.push(e),r===n.length-1&&o.end(),i()})).catch(i);for(let e=0;e<n.length;e++)o.write(e);return o}_getEntry(e,t,n){return this._getStat(e).then((e=>this._makeEntry(e,t))).catch((e=>{if(n.errorFilter(e))return null;throw e}))}_getStat(e){return new Promise(((t,n)=>{this._stat(e,this._fsStatSettings,((e,r)=>null===e?t(r):n(e)))}))}}t.default=a},112:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6203),o=n(5439),s=n(2117);class i extends s.default{constructor(){super(...arguments),this._walkSync=o.walkSync,this._statSync=r.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const n=[];for(const r of e){const e=this._getFullEntryPath(r),o=this._getEntry(e,r,t);null!==o&&t.entryFilter(o)&&n.push(o)}return n}_getEntry(e,t,n){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=i},3862:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const r=n(7147),o=n(2037),s=Math.max(o.cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:r.lstat,lstatSync:r.lstatSync,stat:r.stat,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync};t.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,s),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},4825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitWhen=t.flatten=void 0,t.flatten=function(e){return e.reduce(((e,t)=>[].concat(e,t)),[])},t.splitWhen=function(e,t){const n=[[]];let r=0;for(const o of e)t(o)?(r++,n[r]=[]):n[r].push(o);return n}},7843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0,t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},6334:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class n{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new n(e,t)}},4426:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;const r=n(4825);t.array=r;const o=n(7843);t.errno=o;const s=n(6334);t.fs=s;const i=n(2003);t.path=i;const a=n(57);t.pattern=a;const c=n(6242);t.stream=c;const l=n(3021);t.string=l},2003:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLeadingDotSegment=t.escape=t.makeAbsolute=t.unixify=void 0;const r=n(1017),o=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return r.resolve(e,t)},t.escape=function(e){return e.replace(o,"\\$2")},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e}},57:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.isPatternRelatedToParentDirectory=t.getPatternsOutsideCurrentDirectory=t.getPatternsInsideCurrentDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;const r=n(1017),o=n(7647),s=n(850),i=/[*?]|^!/,a=/\[[^[]*]/,c=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,l=/[!*+?@]\([^(]*\)/,u=/{[^,.{]*(?:,|\.\.)[^,.{]*}/;function p(e,t={}){return!f(e,t)}function f(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes("\\"))||(!!(i.test(e)||a.test(e)||c.test(e))||(!(!1===t.extglob||!l.test(e))||!(!1===t.braceExpansion||!u.test(e)))))}function d(e){return e.startsWith("!")&&"("!==e[1]}function h(e){return!d(e)}function g(e){return e.startsWith("..")||e.startsWith("./..")}function m(e){return e.endsWith("/**")}function v(e){return s.braces(e,{expand:!0,nodupes:!0})}function y(e,t){return s.makeRe(e,t)}t.isStaticPattern=p,t.isDynamicPattern=f,t.convertToPositivePattern=function(e){return d(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=d,t.isPositivePattern=h,t.getNegativePatterns=function(e){return e.filter(d)},t.getPositivePatterns=function(e){return e.filter(h)},t.getPatternsInsideCurrentDirectory=function(e){return e.filter((e=>!g(e)))},t.getPatternsOutsideCurrentDirectory=function(e){return e.filter(g)},t.isPatternRelatedToParentDirectory=g,t.getBaseDirectory=function(e){return o(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes("**")},t.endsWithSlashGlobStar=m,t.isAffectDepthOfReadingPattern=function(e){const t=r.basename(e);return m(e)||p(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce(((e,t)=>e.concat(v(t))),[])},t.expandBraceExpansion=v,t.getPatternParts=function(e,t){let{parts:n}=s.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},t.makeRe=y,t.convertPatternsToRe=function(e,t){return e.map((e=>y(e,t)))},t.matchAny=function(e,t){return t.some((t=>t.test(e)))}},6242:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const r=n(155);function o(e){e.forEach((e=>e.emit("close")))}t.merge=function(e){const t=r(e);return e.forEach((e=>{e.once("error",(e=>t.emit("error",e)))})),t.once("close",(()=>o(e))),t.once("end",(()=>o(e))),t}},3021:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0,t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},373:(e,t,n)=>{"use strict";var r=n(3650);function o(e,t,n){if("function"==typeof e&&(n=t,t=e,e=null),n<1)throw new Error("fastqueue concurrency must be greater than 1");var o=r(i),a=null,c=null,l=0,u=null,p={push:function(n,r){var i=o.get();i.context=e,i.release=f,i.value=n,i.callback=r||s,i.errorHandler=u,l===p.concurrency||p.paused?c?(c.next=i,c=i):(a=i,c=i,p.saturated()):(l++,t.call(e,i.value,i.worked))},drain:s,saturated:s,pause:function(){p.paused=!0},paused:!1,concurrency:n,running:function(){return l},resume:function(){if(!p.paused)return;p.paused=!1;for(var e=0;e<p.concurrency;e++)l++,f()},idle:function(){return 0===l&&0===p.length()},length:function(){var e=a,t=0;for(;e;)e=e.next,t++;return t},getQueue:function(){var e=a,t=[];for(;e;)t.push(e.value),e=e.next;return t},unshift:function(n,r){var i=o.get();i.context=e,i.release=f,i.value=n,i.callback=r||s,l===p.concurrency||p.paused?a?(i.next=a,a=i):(a=i,c=i,p.saturated()):(l++,t.call(e,i.value,i.worked))},empty:s,kill:function(){a=null,c=null,p.drain=s},killAndDrain:function(){a=null,c=null,p.drain(),p.drain=s},error:function(e){u=e}};return p;function f(n){n&&o.release(n);var r=a;r?p.paused?l--:(c===a&&(c=null),a=r.next,r.next=null,t.call(e,r.value,r.worked),null===c&&p.empty()):0==--l&&p.drain()}}function s(){}function i(){this.value=null,this.callback=s,this.next=null,this.release=s,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var r=e.callback,o=e.errorHandler,i=e.value;e.value=null,e.callback=s,e.errorHandler&&o(t,i),r.call(e.context,t,n),e.release(e)}}e.exports=o,e.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var r=o(e,(function(e,n){t.call(this,e).then((function(e){n(null,e)}),n)}),n),i=r.push,a=r.unshift;return r.push=function(e){var t=new Promise((function(t,n){i(e,(function(e,r){e?n(e):t(r)}))}));return t.catch(s),t},r.unshift=function(e){var t=new Promise((function(t,n){a(e,(function(e,r){e?n(e):t(r)}))}));return t.catch(s),t},r.drained=function(){var e=r.drain;return new Promise((function(t){r.drain=function(){e(),t()}}))},r}},2664:(e,t,n)=>{"use strict";
  59. /*!
  60. * fill-range <https://github.com/jonschlinkert/fill-range>
  61. *
  62. * Copyright (c) 2014-present, Jon Schlinkert.
  63. * Licensed under the MIT License.
  64. */const r=n(3837),o=n(5702),s=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),i=e=>"number"==typeof e||"string"==typeof e&&""!==e,a=e=>Number.isInteger(+e),c=e=>{let t=`${e}`,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},l=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},u=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return n?"-"+e:e},p=(e,t,n,r)=>{if(n)return o(e,t,{wrap:!1,...r});let s=String.fromCharCode(e);return e===t?s:`[${s}-${String.fromCharCode(t)}]`},f=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,r=n.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return o(e,t,n)},d=(...e)=>new RangeError("Invalid range arguments: "+r.inspect(...e)),h=(e,t,n)=>{if(!0===n.strictRanges)throw d([e,t]);return[]},g=(e,t,n=1,r={})=>{let o=Number(e),s=Number(t);if(!Number.isInteger(o)||!Number.isInteger(s)){if(!0===r.strictRanges)throw d([e,t]);return[]}0===o&&(o=0),0===s&&(s=0);let i=o>s,a=String(e),h=String(t),g=String(n);n=Math.max(Math.abs(n),1);let m=c(a)||c(h)||c(g),v=m?Math.max(a.length,h.length,g.length):0,y=!1===m&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,r),_=r.transform||(e=>t=>!0===e?Number(t):String(t))(y);if(r.toRegex&&1===n)return p(u(e,v),u(t,v),!0,r);let b={negatives:[],positives:[]},S=[],E=0;for(;i?o>=s:o<=s;)!0===r.toRegex&&n>1?b[(w=o)<0?"negatives":"positives"].push(Math.abs(w)):S.push(l(_(o,E),v,y)),o=i?o-n:o+n,E++;var w;return!0===r.toRegex?n>1?((e,t)=>{e.negatives.sort(((e,t)=>e<t?-1:e>t?1:0)),e.positives.sort(((e,t)=>e<t?-1:e>t?1:0));let n,r=t.capture?"":"?:",o="",s="";return e.positives.length&&(o=e.positives.join("|")),e.negatives.length&&(s=`-(${r}${e.negatives.join("|")})`),n=o&&s?`${o}|${s}`:o||s,t.wrap?`(${r}${n})`:n})(b,r):f(S,null,{wrap:!1,...r}):S},m=(e,t,n,r={})=>{if(null==t&&i(e))return[e];if(!i(e)||!i(t))return h(e,t,r);if("function"==typeof n)return m(e,t,1,{transform:n});if(s(n))return m(e,t,0,n);let o={...r};return!0===o.capture&&(o.wrap=!0),n=n||o.step||1,a(n)?a(e)&&a(t)?g(e,t,n,o):((e,t,n=1,r={})=>{if(!a(e)&&e.length>1||!a(t)&&t.length>1)return h(e,t,r);let o=r.transform||(e=>String.fromCharCode(e)),s=`${e}`.charCodeAt(0),i=`${t}`.charCodeAt(0),c=s>i,l=Math.min(s,i),u=Math.max(s,i);if(r.toRegex&&1===n)return p(l,u,!1,r);let d=[],g=0;for(;c?s>=i:s<=i;)d.push(o(s,g)),s=c?s-n:s+n,g++;return!0===r.toRegex?f(d,null,{wrap:!1,options:r}):d})(e,t,Math.max(Math.abs(n),1),o):null==n||s(n)?m(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,o)};e.exports=m},2261:(e,t,n)=>{var r;e.exports=function(){if(!r){try{r=n(5158)("follow-redirects")}catch(e){}"function"!=typeof r&&(r=function(){})}r.apply(null,arguments)}},938:(e,t,n)=>{var r=n(7310),o=r.URL,s=n(3685),i=n(5687),a=n(2781).Writable,c=n(9491),l=n(2261),u=["abort","aborted","connect","error","socket","timeout"],p=Object.create(null);u.forEach((function(e){p[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}}));var f=S("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),d=S("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),h=S("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),g=S("ERR_STREAM_WRITE_AFTER_END","write after end");function m(e,t){a.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){n._processResponse(e)},this._performRequest()}function v(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(s){var i=s+":",a=n[i]=e[s],u=t[s]=Object.create(a);Object.defineProperties(u,{request:{value:function(e,s,a){if("string"==typeof e){var u=e;try{e=_(new o(u))}catch(t){e=r.parse(u)}}else o&&e instanceof o?e=_(e):(a=s,s=e,e={protocol:i});return"function"==typeof s&&(a=s,s=null),(s=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,s)).nativeProtocols=n,c.equal(s.protocol,i,"protocol mismatch"),l("options",s),new m(s,a)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var r=u.request(e,t,n);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})})),t}function y(){}function _(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return""!==e.port&&(t.port=Number(e.port)),t}function b(e,t){var n;for(var r in t)e.test(r)&&(n=t[r],delete t[r]);return null==n?void 0:String(n).trim()}function S(e,t){function n(e){Error.captureStackTrace(this,this.constructor),e?(this.message=t+": "+e.message,this.cause=e):this.message=t}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+e+"]",n.prototype.code=e,n}function E(e){for(var t of u)e.removeListener(t,p[t]);e.on("error",y),e.abort()}m.prototype=Object.create(a.prototype),m.prototype.abort=function(){E(this._currentRequest),this.emit("abort")},m.prototype.write=function(e,t,n){if(this._ending)throw new g;if(!("string"==typeof e||"object"==typeof e&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof t&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new h),this.abort()):n&&n()},m.prototype.end=function(e,t,n){if("function"==typeof e?(n=e,e=t=null):"function"==typeof t&&(n=t,t=null),e){var r=this,o=this._currentRequest;this.write(e,t,(function(){r._ended=!0,o.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},m.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},m.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},m.prototype.setTimeout=function(e,t){var n=this;function r(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function o(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),s()}),e),r(t)}function s(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",s),n.removeListener("error",s),n.removeListener("response",s),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",o)}return t&&this.on("timeout",t),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",r),this.on("abort",s),this.on("error",s),this.on("response",s),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){m.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(m.prototype,e,{get:function(){return this._currentRequest[e]}})})),m.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},m.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(t){if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var o=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var s of(o._redirectable=this,u))o.on(s,p[s]);if(this._currentUrl=/^\//.test(this._options.path)?r.format(this._options):this._currentUrl=this._options.path,this._isRedirect){var i=0,a=this,c=this._requestBodyBuffers;!function e(t){if(o===a._currentRequest)if(t)a.emit("error",t);else if(i<c.length){var n=c[i++];o.finished||o.write(n.data,n.encoding,e)}else a._ended&&o.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+e))},m.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n=e.headers.location;if(!n||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(E(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new d);else{var o,s=this._options.beforeRedirect;s&&(o=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var i=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],b(/^content-/i,this._options.headers));var a,c=b(/^host$/i,this._options.headers),u=r.parse(this._currentUrl),p=c||u.host,h=/^\w+:/.test(n)?this._currentUrl:r.format(Object.assign(u,{host:p}));try{a=r.resolve(h,n)}catch(e){return void this.emit("error",new f(e))}l("redirecting to",a),this._isRedirect=!0;var g=r.parse(a);if(Object.assign(this._options,g),(g.protocol!==u.protocol&&"https:"!==g.protocol||g.host!==p&&!function(e,t){const n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(g.host,p))&&b(/^(?:authorization|cookie)$/i,this._options.headers),"function"==typeof s){var m={headers:e.headers,statusCode:t},v={url:h,method:i,headers:o};try{s(this._options,m,v)}catch(e){return void this.emit("error",e)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(e){this.emit("error",new f(e))}}},e.exports=v({http:s,https:i}),e.exports.wrap=v},7647:(e,t,n)=>{"use strict";var r=n(6830),o=n(1017).posix.dirname,s="win32"===n(2037).platform(),i=/\\/g,a=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&s&&e.indexOf("/")<0&&(e=e.replace(i,"/")),a.test(e)&&(e+="/"),e+="a";do{e=o(e)}while(r(e)||c.test(e));return e.replace(l,"$1")}},623:(e,t,n)=>{"use strict";const{promisify:r}=n(3837),o=n(7147),s=n(1017),i=n(3294),a=n(501),c=n(3859),l=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],u=r(o.readFile),p=(e,t)=>{const n=c(s.relative(t.cwd,s.dirname(t.fileName)));return e.split(/\r?\n/).filter(Boolean).filter((e=>!e.startsWith("#"))).map((e=>t=>t.startsWith("!")?"!"+s.posix.join(e,t.slice(1)):s.posix.join(e,t))(n))},f=e=>{const t=a();for(const n of e)t.add(p(n.content,{cwd:n.cwd,fileName:n.filePath}));return t},d=(e,t)=>n=>e.ignores(c(s.relative(t,((e,t)=>{if(e=c(e),s.isAbsolute(t)){if(c(t).startsWith(e))return t;throw new Error(`Path ${t} is not in cwd ${e}`)}return s.join(e,t)})(t,n.path||n)))),h=({ignore:e=[],cwd:t=c(process.cwd())}={})=>({ignore:e,cwd:t});e.exports=async e=>{e=h(e);const t=await i("**/.gitignore",{ignore:l.concat(e.ignore),cwd:e.cwd}),n=await Promise.all(t.map((t=>(async(e,t)=>{const n=s.join(t,e);return{cwd:t,filePath:n,content:await u(n,"utf8")}})(t,e.cwd)))),r=f(n);return d(r,e.cwd)},e.exports.sync=e=>{e=h(e);const t=i.sync("**/.gitignore",{ignore:l.concat(e.ignore),cwd:e.cwd}).map((t=>((e,t)=>{const n=s.join(t,e);return{cwd:t,filePath:n,content:o.readFileSync(n,"utf8")}})(t,e.cwd))),n=f(t);return d(n,e.cwd)}},5839:(e,t,n)=>{"use strict";const r=n(7147),o=n(3755),s=n(155),i=n(3294),a=n(367),c=n(623),{FilterStream:l,UniqueStream:u}=n(438),p=()=>!1,f=e=>"!"===e[0],d=(e,t)=>{(e=>{if(!e.every((e=>"string"==typeof e)))throw new TypeError("Patterns must be a string or an array of strings")})(e=o([].concat(e))),((e={})=>{if(!e.cwd)return;let t;try{t=r.statSync(e.cwd)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")})(t);const n=[];t={ignore:[],expandDirectories:!0,...t};for(const[r,o]of e.entries()){if(f(o))continue;const s=e.slice(r).filter((e=>f(e))).map((e=>e.slice(1))),i={...t,ignore:t.ignore.concat(s)};n.push({pattern:o,options:i})}return n},h=(e,t)=>e.options.expandDirectories?((e,t)=>{let n={};return e.options.cwd&&(n.cwd=e.options.cwd),Array.isArray(e.options.expandDirectories)?n={...n,files:e.options.expandDirectories}:"object"==typeof e.options.expandDirectories&&(n={...n,...e.options.expandDirectories}),t(e.pattern,n)})(e,t):[e.pattern],g=e=>e&&e.gitignore?c.sync({cwd:e.cwd,ignore:e.ignore}):p,m=e=>t=>{const{options:n}=e;return n.ignore&&Array.isArray(n.ignore)&&n.expandDirectories&&(n.ignore=a.sync(n.ignore)),{pattern:t,options:n}};e.exports=async(e,t)=>{const n=d(e,t),[s,l]=await Promise.all([(async()=>t&&t.gitignore?c({cwd:t.cwd,ignore:t.ignore}):p)(),(async()=>{const e=await Promise.all(n.map((async e=>{const t=await h(e,a);return Promise.all(t.map(m(e)))})));return o(...e)})()]),u=await Promise.all(l.map((e=>i(e.pattern,e.options))));return o(...u).filter((e=>{return!s((t=e,t.stats instanceof r.Stats?t.path:t));var t}))},e.exports.sync=(e,t)=>{const n=d(e,t),r=[];for(const e of n){const t=h(e,a.sync).map(m(e));r.push(...t)}const s=g(t);let c=[];for(const e of r)c=o(c,i.sync(e.pattern,e.options));return c.filter((e=>!s(e)))},e.exports.stream=(e,t)=>{const n=d(e,t),r=[];for(const e of n){const t=h(e,a.sync).map(m(e));r.push(...t)}const o=g(t),c=new l((e=>!o(e))),p=new u;return s(r.map((e=>i.stream(e.pattern,e.options)))).pipe(c).pipe(p)},e.exports.generateGlobTasks=d,e.exports.hasMagic=(e,t)=>[].concat(e).some((e=>i.isDynamicPattern(e,t))),e.exports.gitignore=c},501:e=>{function t(e){return Array.isArray(e)?e:[e]}const n=/^\s+$/,r=/^\\!/,o=/^\\#/,s=/\r?\n/g,i=/^\.*\/|^\.+$/,a="undefined"!=typeof Symbol?Symbol.for("node-ignore"):"node-ignore",c=/([0-z])-([0-z])/g,l=()=>!1,u=[[/\\?\s+$/,e=>0===e.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6<n.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)\\\*(?=.+)/g,(e,t)=>`${t}[^\\/]*`],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,r,o)=>"\\"===t?`\\[${n}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(r)}${o}`:"]"===o&&r.length%2==0?`[${(e=>e.replace(c,((e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:"")))(n)}${r}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],p=Object.create(null),f=e=>"string"==typeof e;class d{constructor(e,t,n,r){this.origin=e,this.pattern=t,this.negative=n,this.regex=r}}const h=(e,t)=>{const n=e;let s=!1;0===e.indexOf("!")&&(s=!0,e=e.substr(1));const i=((e,t)=>{let n=p[e];return n||(n=u.reduce(((t,n)=>t.replace(n[0],n[1].bind(e))),e),p[e]=n),t?new RegExp(n,"i"):new RegExp(n)})(e=e.replace(r,"!").replace(o,"#"),t);return new d(n,e,s,i)},g=(e,t)=>{throw new t(e)},m=(e,t,n)=>{if(!f(e))return n(`path must be a string, but got \`${t}\``,TypeError);if(!e)return n("path must not be empty",TypeError);if(m.isNotRelative(e)){return n(`path should be a ${"`path.relative()`d"} string, but got "${t}"`,RangeError)}return!0},v=e=>i.test(e);m.isNotRelative=v,m.convert=e=>e;class y{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){var r,o,s;r=this,o=a,s=!0,Object.defineProperty(r,o,{value:s}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[a])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&f(e)&&!n.test(e)&&0!==e.indexOf("#"))(e)){const t=h(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,t(f(e)?(e=>e.split(s))(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let n=!1,r=!1;return this._rules.forEach((o=>{const{negative:s}=o;if(r===s&&n!==r||s&&!n&&!r&&!t)return;o.regex.test(e)&&(n=!s,r=s)})),{ignored:n,unignored:r}}_test(e,t,n,r){const o=e&&m.convert(e);return m(o,e,this._allowRelativePaths?l:g),this._t(o,t,n,r)}_t(e,t,n,r){if(e in t)return t[e];if(r||(r=e.split("/")),r.pop(),!r.length)return t[e]=this._testOne(e,n);const o=this._t(r.join("/")+"/",t,n,r);return t[e]=o.ignored?o:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return t(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const _=e=>new y(e);if(_.isPathValid=e=>m(e&&m.convert(e),e,l),_.default=_,e.exports=_,"undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");m.convert=e;const t=/^[a-z]:\//i;m.isNotRelative=e=>t.test(e)||v(e)}},438:(e,t,n)=>{"use strict";const{Transform:r}=n(2781);class o extends r{constructor(){super({objectMode:!0})}}e.exports={FilterStream:class extends o{constructor(e){super(),this._filter=e}_transform(e,t,n){this._filter(e)&&this.push(e),n()}},UniqueStream:class extends o{constructor(){super(),this._pushed=new Set}_transform(e,t,n){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),n()}}}},6560:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)}},2428:e=>{
  65. /*!
  66. * is-extglob <https://github.com/jonschlinkert/is-extglob>
  67. *
  68. * Copyright (c) 2014-2016, Jon Schlinkert.
  69. * Licensed under the MIT License.
  70. */
  71. e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},6830:(e,t,n)=>{
  72. /*!
  73. * is-glob <https://github.com/jonschlinkert/is-glob>
  74. *
  75. * Copyright (c) 2014-2017, Jon Schlinkert.
  76. * Released under the MIT License.
  77. */
  78. var r=n(2428),o={"{":"}","(":")","[":"]"},s=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,r=-2,s=-2,i=-2,a=-2;t<e.length;){if("*"===e[t])return!0;if("?"===e[t+1]&&/[\].+)]/.test(e[t]))return!0;if(-1!==r&&"["===e[t]&&"]"!==e[t+1]&&(r<t&&(r=e.indexOf("]",t)),r>t)){if(-1===a||a>r)return!0;if(-1===(a=e.indexOf("\\",t))||a>r)return!0}if(-1!==s&&"{"===e[t]&&"}"!==e[t+1]&&(s=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>s))return!0;if(-1!==i&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(i=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>i))return!0;if(-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(n<t&&(n=e.indexOf("|",t)),-1!==n&&")"!==e[n+1]&&(i=e.indexOf(")",n))>n&&(-1===(a=e.indexOf("\\",n))||a>i)))return!0;if("\\"===e[t]){var c=e[t+1];t+=2;var l=o[c];if(l){var u=e.indexOf(l,t);-1!==u&&(t=u+1)}if("!"===e[t])return!0}else t++}return!1},i=function(e){if("!"===e[0])return!0;for(var t=0;t<e.length;){if(/[*?{}()[\]]/.test(e[t]))return!0;if("\\"===e[t]){var n=e[t+1];t+=2;var r=o[n];if(r){var s=e.indexOf(r,t);-1!==s&&(t=s+1)}if("!"===e[t])return!0}else t++}return!1};e.exports=function(e,t){if("string"!=typeof e||""===e)return!1;if(r(e))return!0;var n=s;return t&&!1===t.strict&&(n=i),n(e)}},9924:e=>{"use strict";
  79. /*!
  80. * is-number <https://github.com/jonschlinkert/is-number>
  81. *
  82. * Copyright (c) 2014-present, Jon Schlinkert.
  83. * Released under the MIT License.
  84. */e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},155:(e,t,n)=>{"use strict";const r=n(2781).PassThrough,o=Array.prototype.slice;function s(e,t){if(Array.isArray(e))for(let n=0,r=e.length;n<r;n++)e[n]=s(e[n],t);else{if(!e._readableState&&e.pipe&&(e=e.pipe(r(t))),!e._readableState||!e.pause||!e.pipe)throw new Error("Only readable stream can be merged.");e.pause()}return e}e.exports=function(){const e=[],t=o.call(arguments);let n=!1,i=t[t.length-1];i&&!Array.isArray(i)&&null==i.pipe?t.pop():i={};const a=!1!==i.end,c=!0===i.pipeError;null==i.objectMode&&(i.objectMode=!0);null==i.highWaterMark&&(i.highWaterMark=65536);const l=r(i);function u(){for(let t=0,n=arguments.length;t<n;t++)e.push(s(arguments[t],i));return p(),this}function p(){if(n)return;n=!0;let t=e.shift();if(!t)return void process.nextTick(f);Array.isArray(t)||(t=[t]);let r=t.length+1;function o(){--r>0||(n=!1,p())}function s(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),c&&e.removeListener("error",n),o()}function n(e){l.emit("error",e)}if(e._readableState.endEmitted)return o();e.on("merge2UnpipeEnd",t),e.on("end",t),c&&e.on("error",n),e.pipe(l,{end:!1}),e.resume()}for(let e=0;e<t.length;e++)s(t[e]);o()}function f(){n=!1,l.emit("queueDrain"),a&&l.end()}l.setMaxListeners(0),l.add=u,l.on("unpipe",(function(e){e.emit("merge2UnpipeEnd")})),t.length&&u.apply(null,t);return l}},850:(e,t,n)=>{"use strict";const r=n(3837),o=n(6744),s=n(9444),i=n(8702),a=e=>""===e||"./"===e,c=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let r=new Set,o=new Set,i=new Set,a=0,c=e=>{i.add(e.output),n&&n.onResult&&n.onResult(e)};for(let i=0;i<t.length;i++){let l=s(String(t[i]),{...n,onResult:c},!0),u=l.state.negated||l.state.negatedExtglob;u&&a++;for(let t of e){let e=l(t,!0);(u?!e.isMatch:e.isMatch)&&(u?r.add(e.output):(r.delete(e.output),o.add(e.output)))}}let l=(a===t.length?[...i]:[...o]).filter((e=>!r.has(e)));if(n&&0===l.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map((e=>e.replace(/\\/g,""))):t}return l};c.match=c,c.matcher=(e,t)=>s(e,t),c.any=c.isMatch=(e,t,n)=>s(t,n)(e),c.not=(e,t,n={})=>{t=[].concat(t).map(String);let r=new Set,o=[],s=c(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),o.push(e.output)}});for(let e of o)s.includes(e)||r.add(e);return[...r]},c.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${r.inspect(e)}"`);if(Array.isArray(t))return t.some((t=>c.contains(e,t,n)));if("string"==typeof t){if(a(e)||a(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return c.isMatch(e,t,{...n,contains:!0})},c.matchKeys=(e,t,n)=>{if(!i.isObject(e))throw new TypeError("Expected the first argument to be an object");let r=c(Object.keys(e),t,n),o={};for(let t of r)o[t]=e[t];return o},c.some=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),n);if(r.some((e=>t(e))))return!0}return!1},c.every=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),n);if(!r.every((e=>t(e))))return!1}return!0},c.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${r.inspect(e)}"`);return[].concat(t).every((t=>s(t,n)(e)))},c.capture=(e,t,n)=>{let r=i.isWindows(n),o=s.makeRe(String(e),{...n,capture:!0}).exec(r?i.toPosixSlashes(t):t);if(o)return o.slice(1).map((e=>void 0===e?"":e))},c.makeRe=(...e)=>s.makeRe(...e),c.scan=(...e)=>s.scan(...e),c.parse=(e,t)=>{let n=[];for(let r of[].concat(e||[]))for(let e of o(String(r),t))n.push(s.parse(e,t));return n},c.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:o(e,t)},c.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return c.braces(e,{...t,expand:!0})},e.exports=c},9847:(e,t,n)=>{"use strict";const{promisify:r}=n(3837),o=n(7147);async function s(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await r(o[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function i(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return o[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}t.isFile=s.bind(null,"stat","isFile"),t.isDirectory=s.bind(null,"stat","isDirectory"),t.isSymlink=s.bind(null,"lstat","isSymbolicLink"),t.isFileSync=i.bind(null,"statSync","isFile"),t.isDirectorySync=i.bind(null,"statSync","isDirectory"),t.isSymlinkSync=i.bind(null,"lstatSync","isSymbolicLink")},9444:(e,t,n)=>{"use strict";e.exports=n(6087)},1006:(e,t,n)=>{"use strict";const r=n(1017),o="[^\\\\/]",s="\\.",i="\\/",a="[^/]",c="(?:\\/|$)",l="(?:^|\\/)",u="\\.{1,2}(?:\\/|$)",p={DOT_LITERAL:s,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:i,ONE_CHAR:"(?=.)",QMARK:a,END_ANCHOR:c,DOTS_SLASH:u,NO_DOT:"(?!\\.)",NO_DOTS:`(?!(?:^|\\/)${u})`,NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:`(?!${u})`,QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:l},f={...p,SLASH_LITERAL:"[\\\\/]",QMARK:o,STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?f:p}},3376:(e,t,n)=>{"use strict";const r=n(1006),o=n(8702),{MAX_LENGTH:s,POSIX_REGEX_SOURCE:i,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=r,u=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map((e=>o.escapeRegex(e))).join("..")}return n},p=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,f=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=l[e]||e;const n={...t},d="number"==typeof n.maxLength?Math.min(s,n.maxLength):s;let h=e.length;if(h>d)throw new SyntaxError(`Input length: ${h}, exceeds maximum allowed length: ${d}`);const g={type:"bos",value:"",output:n.prepend||""},m=[g],v=n.capture?"":"?:",y=o.isWindows(t),_=r.globChars(y),b=r.extglobChars(_),{DOT_LITERAL:S,PLUS_LITERAL:E,SLASH_LITERAL:w,ONE_CHAR:x,DOTS_SLASH:C,NO_DOT:k,NO_DOT_SLASH:A,NO_DOTS_SLASH:R,QMARK:O,QMARK_NO_DOT:P,STAR:T,START_ANCHOR:M}=_,N=e=>`(${v}(?:(?!${M}${e.dot?C:S}).)*?)`,L=n.dot?"":k,D=n.dot?O:P;let F=!0===n.bash?N(n):T;n.capture&&(F=`(${F})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const I={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:m};e=o.removePrefix(e,I),h=e.length;const V=[],B=[],j=[];let $,H=g;const U=()=>I.index===h-1,q=I.peek=(t=1)=>e[I.index+t],W=I.advance=()=>e[++I.index]||"",z=()=>e.slice(I.index+1),G=(e="",t=0)=>{I.consumed+=e,I.index+=t},K=e=>{I.output+=null!=e.output?e.output:e.value,G(e.value)},Y=()=>{let e=1;for(;"!"===q()&&("("!==q(2)||"?"===q(3));)W(),I.start++,e++;return e%2!=0&&(I.negated=!0,I.start++,!0)},J=e=>{I[e]++,j.push(e)},X=e=>{I[e]--,j.pop()},Z=e=>{if("globstar"===H.type){const t=I.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||V.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(I.output=I.output.slice(0,-H.output.length),H.type="star",H.value="*",H.output=F,I.output+=H.output)}if(V.length&&"paren"!==e.type&&(V[V.length-1].inner+=e.value),(e.value||e.output)&&K(e),H&&"text"===H.type&&"text"===e.type)return H.value+=e.value,void(H.output=(H.output||"")+e.value);e.prev=H,m.push(e),H=e},Q=(e,t)=>{const r={...b[t],conditions:1,inner:""};r.prev=H,r.parens=I.parens,r.output=I.output;const o=(n.capture?"(":"")+r.open;J("parens"),Z({type:e,value:t,output:I.output?"":x}),Z({type:"paren",extglob:!0,value:W(),output:o}),V.push(r)},ee=e=>{let r,o=e.close+(n.capture?")":"");if("negate"===e.type){let s=F;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(s=N(n)),(s!==F||U()||/^\)+$/.test(z()))&&(o=e.close=`)$))${s}`),e.inner.includes("*")&&(r=z())&&/^\.[^\\/.]+$/.test(r)){const n=f(r,{...t,fastpaths:!1}).output;o=e.close=`)${n})${s})`}"bos"===e.prev.type&&(I.negatedExtglob=!0)}Z({type:"paren",extglob:!0,value:$,output:o}),X("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=!1,s=e.replace(c,((e,t,n,o,s,i)=>"\\"===o?(r=!0,e):"?"===o?t?t+o+(s?O.repeat(s.length):""):0===i?D+(s?O.repeat(s.length):""):O.repeat(n.length):"."===o?S.repeat(n.length):"*"===o?t?t+o+(s?F:""):F:t?e:`\\${e}`));return!0===r&&(s=!0===n.unescape?s.replace(/\\/g,""):s.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),s===e&&!0===n.contains?(I.output=e,I):(I.output=o.wrapOutput(s,I,t),I)}for(;!U();){if($=W(),"\0"===$)continue;if("\\"===$){const e=q();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){$+="\\",Z({type:"text",value:$});continue}const t=/^\\+/.exec(z());let r=0;if(t&&t[0].length>2&&(r=t[0].length,I.index+=r,r%2!=0&&($+="\\")),!0===n.unescape?$=W():$+=W(),0===I.brackets){Z({type:"text",value:$});continue}}if(I.brackets>0&&("]"!==$||"["===H.value||"[^"===H.value)){if(!1!==n.posix&&":"===$){const e=H.value.slice(1);if(e.includes("[")&&(H.posix=!0,e.includes(":"))){const e=H.value.lastIndexOf("["),t=H.value.slice(0,e),n=H.value.slice(e+2),r=i[n];if(r){H.value=t+r,I.backtrack=!0,W(),g.output||1!==m.indexOf(H)||(g.output=x);continue}}}("["===$&&":"!==q()||"-"===$&&"]"===q())&&($=`\\${$}`),"]"!==$||"["!==H.value&&"[^"!==H.value||($=`\\${$}`),!0===n.posix&&"!"===$&&"["===H.value&&($="^"),H.value+=$,K({value:$});continue}if(1===I.quotes&&'"'!==$){$=o.escapeRegex($),H.value+=$,K({value:$});continue}if('"'===$){I.quotes=1===I.quotes?0:1,!0===n.keepQuotes&&Z({type:"text",value:$});continue}if("("===$){J("parens"),Z({type:"paren",value:$});continue}if(")"===$){if(0===I.parens&&!0===n.strictBrackets)throw new SyntaxError(p("opening","("));const e=V[V.length-1];if(e&&I.parens===e.parens+1){ee(V.pop());continue}Z({type:"paren",value:$,output:I.parens?")":"\\)"}),X("parens");continue}if("["===$){if(!0!==n.nobracket&&z().includes("]"))J("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));$=`\\${$}`}Z({type:"bracket",value:$});continue}if("]"===$){if(!0===n.nobracket||H&&"bracket"===H.type&&1===H.value.length){Z({type:"text",value:$,output:`\\${$}`});continue}if(0===I.brackets){if(!0===n.strictBrackets)throw new SyntaxError(p("opening","["));Z({type:"text",value:$,output:`\\${$}`});continue}X("brackets");const e=H.value.slice(1);if(!0===H.posix||"^"!==e[0]||e.includes("/")||($=`/${$}`),H.value+=$,K({value:$}),!1===n.literalBrackets||o.hasRegexChars(e))continue;const t=o.escapeRegex(H.value);if(I.output=I.output.slice(0,-H.value.length),!0===n.literalBrackets){I.output+=t,H.value=t;continue}H.value=`(${v}${t}|${H.value})`,I.output+=H.value;continue}if("{"===$&&!0!==n.nobrace){J("braces");const e={type:"brace",value:$,output:"(",outputIndex:I.output.length,tokensIndex:I.tokens.length};B.push(e),Z(e);continue}if("}"===$){const e=B[B.length-1];if(!0===n.nobrace||!e){Z({type:"text",value:$,output:$});continue}let t=")";if(!0===e.dots){const e=m.slice(),r=[];for(let t=e.length-1;t>=0&&(m.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&r.unshift(e[t].value);t=u(r,n),I.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=I.output.slice(0,e.outputIndex),r=I.tokens.slice(e.tokensIndex);e.value=e.output="\\{",$=t="\\}",I.output=n;for(const e of r)I.output+=e.output||e.value}Z({type:"brace",value:$,output:t}),X("braces"),B.pop();continue}if("|"===$){V.length>0&&V[V.length-1].conditions++,Z({type:"text",value:$});continue}if(","===$){let e=$;const t=B[B.length-1];t&&"braces"===j[j.length-1]&&(t.comma=!0,e="|"),Z({type:"comma",value:$,output:e});continue}if("/"===$){if("dot"===H.type&&I.index===I.start+1){I.start=I.index+1,I.consumed="",I.output="",m.pop(),H=g;continue}Z({type:"slash",value:$,output:w});continue}if("."===$){if(I.braces>0&&"dot"===H.type){"."===H.value&&(H.output=S);const e=B[B.length-1];H.type="dots",H.output+=$,H.value+=$,e.dots=!0;continue}if(I.braces+I.parens===0&&"bos"!==H.type&&"slash"!==H.type){Z({type:"text",value:$,output:S});continue}Z({type:"dot",value:$,output:S});continue}if("?"===$){if(!(H&&"("===H.value)&&!0!==n.noextglob&&"("===q()&&"?"!==q(2)){Q("qmark",$);continue}if(H&&"paren"===H.type){const e=q();let t=$;if("<"===e&&!o.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===H.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(z()))&&(t=`\\${$}`),Z({type:"text",value:$,output:t});continue}if(!0!==n.dot&&("slash"===H.type||"bos"===H.type)){Z({type:"qmark",value:$,output:P});continue}Z({type:"qmark",value:$,output:O});continue}if("!"===$){if(!0!==n.noextglob&&"("===q()&&("?"!==q(2)||!/[!=<:]/.test(q(3)))){Q("negate",$);continue}if(!0!==n.nonegate&&0===I.index){Y();continue}}if("+"===$){if(!0!==n.noextglob&&"("===q()&&"?"!==q(2)){Q("plus",$);continue}if(H&&"("===H.value||!1===n.regex){Z({type:"plus",value:$,output:E});continue}if(H&&("bracket"===H.type||"paren"===H.type||"brace"===H.type)||I.parens>0){Z({type:"plus",value:$});continue}Z({type:"plus",value:E});continue}if("@"===$){if(!0!==n.noextglob&&"("===q()&&"?"!==q(2)){Z({type:"at",extglob:!0,value:$,output:""});continue}Z({type:"text",value:$});continue}if("*"!==$){"$"!==$&&"^"!==$||($=`\\${$}`);const e=a.exec(z());e&&($+=e[0],I.index+=e[0].length),Z({type:"text",value:$});continue}if(H&&("globstar"===H.type||!0===H.star)){H.type="star",H.star=!0,H.value+=$,H.output=F,I.backtrack=!0,I.globstar=!0,G($);continue}let t=z();if(!0!==n.noextglob&&/^\([^?]/.test(t)){Q("star",$);continue}if("star"===H.type){if(!0===n.noglobstar){G($);continue}const r=H.prev,o=r.prev,s="slash"===r.type||"bos"===r.type,i=o&&("star"===o.type||"globstar"===o.type);if(!0===n.bash&&(!s||t[0]&&"/"!==t[0])){Z({type:"star",value:$,output:""});continue}const a=I.braces>0&&("comma"===r.type||"brace"===r.type),c=V.length&&("pipe"===r.type||"paren"===r.type);if(!s&&"paren"!==r.type&&!a&&!c){Z({type:"star",value:$,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[I.index+4];if(n&&"/"!==n)break;t=t.slice(3),G("/**",3)}if("bos"===r.type&&U()){H.type="globstar",H.value+=$,H.output=N(n),I.output=H.output,I.globstar=!0,G($);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!i&&U()){I.output=I.output.slice(0,-(r.output+H.output).length),r.output=`(?:${r.output}`,H.type="globstar",H.output=N(n)+(n.strictSlashes?")":"|$)"),H.value+=$,I.globstar=!0,I.output+=r.output+H.output,G($);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";I.output=I.output.slice(0,-(r.output+H.output).length),r.output=`(?:${r.output}`,H.type="globstar",H.output=`${N(n)}${w}|${w}${e})`,H.value+=$,I.output+=r.output+H.output,I.globstar=!0,G($+W()),Z({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===t[0]){H.type="globstar",H.value+=$,H.output=`(?:^|${w}|${N(n)}${w})`,I.output=H.output,I.globstar=!0,G($+W()),Z({type:"slash",value:"/",output:""});continue}I.output=I.output.slice(0,-H.output.length),H.type="globstar",H.output=N(n),H.value+=$,I.output+=H.output,I.globstar=!0,G($);continue}const r={type:"star",value:$,output:F};!0!==n.bash?!H||"bracket"!==H.type&&"paren"!==H.type||!0!==n.regex?(I.index!==I.start&&"slash"!==H.type&&"dot"!==H.type||("dot"===H.type?(I.output+=A,H.output+=A):!0===n.dot?(I.output+=R,H.output+=R):(I.output+=L,H.output+=L),"*"!==q()&&(I.output+=x,H.output+=x)),Z(r)):(r.output=$,Z(r)):(r.output=".*?","bos"!==H.type&&"slash"!==H.type||(r.output=L+r.output),Z(r))}for(;I.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));I.output=o.escapeLast(I.output,"["),X("brackets")}for(;I.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing",")"));I.output=o.escapeLast(I.output,"("),X("parens")}for(;I.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","}"));I.output=o.escapeLast(I.output,"{"),X("braces")}if(!0===n.strictSlashes||"star"!==H.type&&"bracket"!==H.type||Z({type:"maybe_slash",value:"",output:`${w}?`}),!0===I.backtrack){I.output="";for(const e of I.tokens)I.output+=null!=e.output?e.output:e.value,e.suffix&&(I.output+=e.suffix)}return I};f.fastpaths=(e,t)=>{const n={...t},i="number"==typeof n.maxLength?Math.min(s,n.maxLength):s,a=e.length;if(a>i)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${i}`);e=l[e]||e;const c=o.isWindows(t),{DOT_LITERAL:u,SLASH_LITERAL:p,ONE_CHAR:f,DOTS_SLASH:d,NO_DOT:h,NO_DOTS:g,NO_DOTS_SLASH:m,STAR:v,START_ANCHOR:y}=r.globChars(c),_=n.dot?g:h,b=n.dot?m:h,S=n.capture?"":"?:";let E=!0===n.bash?".*?":v;n.capture&&(E=`(${E})`);const w=e=>!0===e.noglobstar?E:`(${S}(?:(?!${y}${e.dot?d:u}).)*?)`,x=e=>{switch(e){case"*":return`${_}${f}${E}`;case".*":return`${u}${f}${E}`;case"*.*":return`${_}${E}${u}${f}${E}`;case"*/*":return`${_}${E}${p}${f}${b}${E}`;case"**":return _+w(n);case"**/*":return`(?:${_}${w(n)}${p})?${b}${f}${E}`;case"**/*.*":return`(?:${_}${w(n)}${p})?${b}${E}${u}${f}${E}`;case"**/.*":return`(?:${_}${w(n)}${p})?${u}${f}${E}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=x(t[1]);if(!n)return;return n+u+t[2]}}},C=o.removePrefix(e,{negated:!1,prefix:""});let k=x(C);return k&&!0!==n.strictSlashes&&(k+=`${p}?`),k},e.exports=f},6087:(e,t,n)=>{"use strict";const r=n(1017),o=n(3921),s=n(3376),i=n(8702),a=n(1006),c=(e,t,n=!1)=>{if(Array.isArray(e)){const r=e.map((e=>c(e,t,n))),o=e=>{for(const t of r){const n=t(e);if(n)return n}return!1};return o}const r=(o=e)&&"object"==typeof o&&!Array.isArray(o)&&e.tokens&&e.input;var o;if(""===e||"string"!=typeof e&&!r)throw new TypeError("Expected pattern to be a non-empty string");const s=t||{},a=i.isWindows(t),l=r?c.compileRe(e,t):c.makeRe(e,t,!1,!0),u=l.state;delete l.state;let p=()=>!1;if(s.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=c(s.ignore,e,n)}const f=(n,r=!1)=>{const{isMatch:o,match:i,output:f}=c.test(n,l,t,{glob:e,posix:a}),d={glob:e,state:u,regex:l,posix:a,input:n,output:f,match:i,isMatch:o};return"function"==typeof s.onResult&&s.onResult(d),!1===o?(d.isMatch=!1,!!r&&d):p(n)?("function"==typeof s.onIgnore&&s.onIgnore(d),d.isMatch=!1,!!r&&d):("function"==typeof s.onMatch&&s.onMatch(d),!r||d)};return n&&(f.state=u),f};c.test=(e,t,n,{glob:r,posix:o}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const s=n||{},a=s.format||(o?i.toPosixSlashes:null);let l=e===r,u=l&&a?a(e):e;return!1===l&&(u=a?a(e):e,l=u===r),!1!==l&&!0!==s.capture||(l=!0===s.matchBase||!0===s.basename?c.matchBase(e,t,n,o):t.exec(u)),{isMatch:Boolean(l),match:l,output:u}},c.matchBase=(e,t,n,o=i.isWindows(n))=>(t instanceof RegExp?t:c.makeRe(t,n)).test(r.basename(e)),c.isMatch=(e,t,n)=>c(t,n)(e),c.parse=(e,t)=>Array.isArray(e)?e.map((e=>c.parse(e,t))):s(e,{...t,fastpaths:!1}),c.scan=(e,t)=>o(e,t),c.compileRe=(e,t,n=!1,r=!1)=>{if(!0===n)return e.output;const o=t||{},s=o.contains?"":"^",i=o.contains?"":"$";let a=`${s}(?:${e.output})${i}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const l=c.toRegex(a,t);return!0===r&&(l.state=e),l},c.makeRe=(e,t={},n=!1,r=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let o={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(o.output=s.fastpaths(e,t)),o.output||(o=s(e,t)),c.compileRe(o,t,n,r)},c.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=a,e.exports=c},3921:(e,t,n)=>{"use strict";const r=n(8702),{CHAR_ASTERISK:o,CHAR_AT:s,CHAR_BACKWARD_SLASH:i,CHAR_COMMA:a,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_LEFT_PARENTHESES:f,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:h,CHAR_QUESTION_MARK:g,CHAR_RIGHT_CURLY_BRACE:m,CHAR_RIGHT_PARENTHESES:v,CHAR_RIGHT_SQUARE_BRACKET:y}=n(1006),_=e=>e===u||e===i,b=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const n=t||{},S=e.length-1,E=!0===n.parts||!0===n.scanToEnd,w=[],x=[],C=[];let k,A,R=e,O=-1,P=0,T=0,M=!1,N=!1,L=!1,D=!1,F=!1,I=!1,V=!1,B=!1,j=!1,$=!1,H=0,U={value:"",depth:0,isGlob:!1};const q=()=>O>=S,W=()=>(k=A,R.charCodeAt(++O));for(;O<S;){let e;if(A=W(),A!==i){if(!0===I||A===p){for(H++;!0!==q()&&(A=W());)if(A!==i)if(A!==p){if(!0!==I&&A===c&&(A=W())===c){if(M=U.isBrace=!0,L=U.isGlob=!0,$=!0,!0===E)continue;break}if(!0!==I&&A===a){if(M=U.isBrace=!0,L=U.isGlob=!0,$=!0,!0===E)continue;break}if(A===m&&(H--,0===H)){I=!1,M=U.isBrace=!0,$=!0;break}}else H++;else V=U.backslashes=!0,W();if(!0===E)continue;break}if(A!==u){if(!0!==n.noext){if(!0===(A===h||A===s||A===o||A===g||A===l)&&R.charCodeAt(O+1)===f){if(L=U.isGlob=!0,D=U.isExtglob=!0,$=!0,A===l&&O===P&&(j=!0),!0===E){for(;!0!==q()&&(A=W());)if(A!==i){if(A===v){L=U.isGlob=!0,$=!0;break}}else V=U.backslashes=!0,A=W();continue}break}}if(A===o){if(k===o&&(F=U.isGlobstar=!0),L=U.isGlob=!0,$=!0,!0===E)continue;break}if(A===g){if(L=U.isGlob=!0,$=!0,!0===E)continue;break}if(A===d){for(;!0!==q()&&(e=W());)if(e!==i){if(e===y){N=U.isBracket=!0,L=U.isGlob=!0,$=!0;break}}else V=U.backslashes=!0,W();if(!0===E)continue;break}if(!0===n.nonegate||A!==l||O!==P){if(!0!==n.noparen&&A===f){if(L=U.isGlob=!0,!0===E){for(;!0!==q()&&(A=W());)if(A!==f){if(A===v){$=!0;break}}else V=U.backslashes=!0,A=W();continue}break}if(!0===L){if($=!0,!0===E)continue;break}}else B=U.negated=!0,P++}else{if(w.push(O),x.push(U),U={value:"",depth:0,isGlob:!1},!0===$)continue;if(k===c&&O===P+1){P+=2;continue}T=O+1}}else V=U.backslashes=!0,A=W(),A===p&&(I=!0)}!0===n.noext&&(D=!1,L=!1);let z=R,G="",K="";P>0&&(G=R.slice(0,P),R=R.slice(P),T-=P),z&&!0===L&&T>0?(z=R.slice(0,T),K=R.slice(T)):!0===L?(z="",K=R):z=R,z&&""!==z&&"/"!==z&&z!==R&&_(z.charCodeAt(z.length-1))&&(z=z.slice(0,-1)),!0===n.unescape&&(K&&(K=r.removeBackslashes(K)),z&&!0===V&&(z=r.removeBackslashes(z)));const Y={prefix:G,input:e,start:P,base:z,glob:K,isBrace:M,isBracket:N,isGlob:L,isExtglob:D,isGlobstar:F,negated:B,negatedExtglob:j};if(!0===n.tokens&&(Y.maxDepth=0,_(A)||x.push(U),Y.tokens=x),!0===n.parts||!0===n.tokens){let t;for(let r=0;r<w.length;r++){const o=t?t+1:P,s=w[r],i=e.slice(o,s);n.tokens&&(0===r&&0!==P?(x[r].isPrefix=!0,x[r].value=G):x[r].value=i,b(x[r]),Y.maxDepth+=x[r].depth),0===r&&""===i||C.push(i),t=s}if(t&&t+1<e.length){const r=e.slice(t+1);C.push(r),n.tokens&&(x[x.length-1].value=r,b(x[x.length-1]),Y.maxDepth+=x[x.length-1].depth)}Y.slashes=w,Y.parts=C}return Y}},8702:(e,t,n)=>{"use strict";const r=n(1017),o="win32"===process.platform,{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:c}=n(1006);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(s,"/"),t.removeBackslashes=e=>e.replace(i,(e=>"\\"===e?"":e)),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===o||"\\"===r.sep,t.escapeLast=(e,n,r)=>{const o=e.lastIndexOf(n,r);return-1===o?e:"\\"===e[o-1]?t.escapeLast(e,n,o-1):`${e.slice(0,o)}\\${e.slice(o)}`},t.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},t.wrapOutput=(e,t={},n={})=>{let r=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(r=`(?:^(?!${r}).*$)`),r}},4375:e=>{
  85. /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
  86. let t;e.exports="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:global):e=>(t||(t=Promise.resolve())).then(e).catch((e=>setTimeout((()=>{throw e}),0)))},3650:e=>{"use strict";e.exports=function(e){var t=new e,n=t;return{get:function(){var r=t;return r.next?t=r.next:(t=new e,n=t),r.next=null,r},release:function(e){n.next=e,n=e}}}},4595:(e,t,n)=>{
  87. /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
  88. e.exports=function(e,t){let n,o,s,i=!0;Array.isArray(e)?(n=[],o=e.length):(s=Object.keys(e),n={},o=s.length);function a(e){function o(){t&&t(e,n),t=null}i?r(o):o()}function c(e,t,r){n[e]=r,(0==--o||t)&&a(t)}o?s?s.forEach((function(t){e[t]((function(e,n){c(t,e,n)}))})):e.forEach((function(e,t){e((function(e,n){c(t,e,n)}))})):a(null);i=!1};const r=n(4375)},3859:e=>{"use strict";e.exports=e=>{const t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},2130:(e,t,n)=>{"use strict";const r=n(2037),o=n(6224),s=n(6560),{env:i}=process;let a;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===a)return 0;if(s("color=16m")||s("color=full")||s("color=truecolor"))return 3;if(s("color=256"))return 2;if(e&&!t&&void 0===a)return 0;const n=a||0;if("dumb"===i.TERM)return n;if("win32"===process.platform){const e=r.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||"codeship"===i.CI_NAME?1:n;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if("truecolor"===i.COLORTERM)return 3;if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:n}s("no-color")||s("no-colors")||s("color=false")||s("color=never")?a=0:(s("color")||s("colors")||s("color=true")||s("color=always"))&&(a=1),"FORCE_COLOR"in i&&(a="true"===i.FORCE_COLOR?1:"false"===i.FORCE_COLOR?0:0===i.FORCE_COLOR.length?1:Math.min(parseInt(i.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(l(e,e&&e.isTTY))},stdout:c(l(!0,o.isatty(1))),stderr:c(l(!0,o.isatty(2)))}},4279:e=>{function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var s=0,i=r.length;s<i;s++)r[s].fn!==t&&r[s].fn._!==t&&o.push(r[s]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t},5702:(e,t,n)=>{"use strict";
  89. /*!
  90. * to-regex-range <https://github.com/micromatch/to-regex-range>
  91. *
  92. * Copyright (c) 2015-present, Jon Schlinkert.
  93. * Released under the MIT License.
  94. */const r=n(9924),o=(e,t,n)=>{if(!1===r(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===r(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let s={relaxZeros:!0,...n};"boolean"==typeof s.strictZeros&&(s.relaxZeros=!1===s.strictZeros);let c=e+":"+t+"="+String(s.relaxZeros)+String(s.shorthand)+String(s.capture)+String(s.wrap);if(o.cache.hasOwnProperty(c))return o.cache[c].result;let l=Math.min(e,t),u=Math.max(e,t);if(1===Math.abs(l-u)){let n=e+"|"+t;return s.capture?`(${n})`:!1===s.wrap?n:`(?:${n})`}let p=h(e)||h(t),f={min:e,max:t,a:l,b:u},d=[],g=[];if(p&&(f.isPadded=p,f.maxLen=String(f.max).length),l<0){g=i(u<0?Math.abs(u):1,Math.abs(l),f,s),l=f.a=0}return u>=0&&(d=i(l,u,f,s)),f.negatives=g,f.positives=d,f.result=function(e,t,n){let r=a(e,t,"-",!1,n)||[],o=a(t,e,"",!1,n)||[],s=a(e,t,"-?",!0,n)||[];return r.concat(s).concat(o).join("|")}(g,d,s),!0===s.capture?f.result=`(${f.result})`:!1!==s.wrap&&d.length+g.length>1&&(f.result=`(?:${f.result})`),o.cache[c]=f,f.result};function s(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let r=function(e,t){let n=[];for(let r=0;r<e.length;r++)n.push([e[r],t[r]]);return n}(e,t),o=r.length,s="",i=0;for(let e=0;e<o;e++){let[t,o]=r[e];t===o?s+=t:"0"!==t||"9"!==o?s+=d(t,o,n):i++}return i&&(s+=!0===n.shorthand?"\\d":"[0-9]"),{pattern:s,count:[i],digits:o}}function i(e,t,n,r){let o,i=function(e,t){let n=1,r=1,o=u(e,n),s=new Set([t]);for(;e<=o&&o<=t;)s.add(o),n+=1,o=u(e,n);for(o=p(t+1,r)-1;e<o&&o<=t;)s.add(o),r+=1,o=p(t+1,r)-1;return s=[...s],s.sort(c),s}(e,t),a=[],l=e;for(let e=0;e<i.length;e++){let t=i[e],c=s(String(l),String(t),r),u="";n.isPadded||!o||o.pattern!==c.pattern?(n.isPadded&&(u=g(t,n,r)),c.string=u+c.pattern+f(c.count),a.push(c),l=t+1,o=c):(o.count.length>1&&o.count.pop(),o.count.push(c.count[0]),o.string=o.pattern+f(o.count),l=t+1)}return a}function a(e,t,n,r,o){let s=[];for(let o of e){let{string:e}=o;r||l(t,"string",e)||s.push(n+e),r&&l(t,"string",e)&&s.push(n+e)}return s}function c(e,t){return e>t?1:t>e?-1:0}function l(e,t,n){return e.some((e=>e[t]===n))}function u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function p(e,t){return e-e%Math.pow(10,t)}function f(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function d(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function h(e){return/^-?(0+)\d/.test(e)}function g(e,t,n){if(!t.isPadded)return e;let r=Math.abs(t.maxLen-String(e).length),o=!1!==n.relaxZeros;switch(r){case 0:return"";case 1:return o?"0?":"0";case 2:return o?"0{0,2}":"00";default:return o?`0{0,${r}}`:`0{${r}}`}}o.cache={},o.clearCache=()=>o.cache={},e.exports=o},2403:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ZP:()=>__WEBPACK_DEFAULT_EXPORT__});var _declare__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4620),_version_api__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4217),fs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(7147),fs__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(fs__WEBPACK_IMPORTED_MODULE_2__),axios__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9669),axios__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_3__),_ui_packages_cc_menu__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7409),__awaiter=function(e,t,n,r){return new(n||(n=Promise))((function(o,s){function i(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((r=r.apply(e,t||[])).next())}))};const{V246,V247,V248,V249}=_version_api__WEBPACK_IMPORTED_MODULE_1__.L,Path=__webpack_require__(1017),URL=__webpack_require__(7310);let config,options,adaptation;class Project{get path(){return adaptation.Env.isPluginV2?(0,_version_api__WEBPACK_IMPORTED_MODULE_1__.N)(adaptation.CCEditor.version,[{version:[V246,V247,V248,V249],fn:()=>Editor.Project.path}],(()=>Editor.projectInfo.path)):Editor.Project.path}}class Util{fspathToUrl(e){if(adaptation.Env.isPluginV2)return Editor.assetdb.remote.fspathToUrl(e);{const t=adaptation.Project.path,n=Path.join(t,"extensions"),r=Path.join(t,"assets");return e.includes(n)?e.replace(n,"packages:/"):e.includes(r)?e.replace(r,"db:/"):null}}urlToFspath(e){let t=URL.parse(e),n=t.pathname?Path.join(t.hostname,t.pathname):Path.join(t.hostname);if(adaptation.Env.isPluginV2)throw new Error("没有实现的接口");if(adaptation.Env.isWeb){if("packages:"===t.protocol){const e=config.manifest.name;n.startsWith("/")&&(n=n.substring(1,n.length)),n.startsWith(e)&&(n=n.substring(e.length,n.length))}return n}return"packages:"===t.protocol?Path.join(adaptation.Project.path,"extensions",n):"db:"===t.protocol||"project:"===t.protocol?Path.join(adaptation.Project.path,n):null}}const Electron=__webpack_require__(9496);class Shell{showItem(e){var t,n,r,o;adaptation.Env.isPluginV2?null===(n=null===(t=Electron.remote)||void 0===t?void 0:t.shell)||void 0===n||n.showItemInFolder(e):null===(o=null===(r=Electron.remote)||void 0===r?void 0:r.shell)||void 0===o||o.showItemInFolder(e)}beep(){var e,t,n,r;adaptation.Env.isPluginV2?null===(t=null===(e=Electron.remote)||void 0===e?void 0:e.shell)||void 0===t||t.beep():null===(r=null===(n=Electron.remote)||void 0===n?void 0:n.shell)||void 0===r||r.beep()}openUrl(e){adaptation.Env.isWeb?window.open(e):Electron.shell.openExternal(e)}}class Panel{open(e){var t;const n=e.split(".");if(n.length>=2){let[e,r]=n;if(!config)throw new Error("未设置config");const{manifest:o,options:s}=config;if("self"===e&&(e=o.name,!(null===(t=null==o?void 0:o.panels)||void 0===t?void 0:t.find((e=>e.name===r)))))return;Editor.Panel.open(`${e}.${r}`)}}close(){}}class Builder{isNativePlatform(e){return!![_declare__WEBPACK_IMPORTED_MODULE_0__.t4.Android,_declare__WEBPACK_IMPORTED_MODULE_0__.t4.Ios,_declare__WEBPACK_IMPORTED_MODULE_0__.t4.Mac,_declare__WEBPACK_IMPORTED_MODULE_0__.t4.Win32].includes(e)}getConfig(){return __awaiter(this,void 0,void 0,(function*(){let e=[];if(adaptation.Env.isPluginV2){const t=Path.join(adaptation.Project.path,"local/builder.json");if(fs__WEBPACK_IMPORTED_MODULE_2__.existsSync(t)){const n=JSON.parse(fs__WEBPACK_IMPORTED_MODULE_2__.readFileSync(t,"utf-8")),r=Path.join(adaptation.Project.path,n.buildPath);if(this.isNativePlatform(n.platform)){let t=Path.join(r,`jsb-${n.template}`);e.push({buildPath:r,outputPath:t,platform:n.platform,md5Cache:!1})}else{let t=Path.join(r,n.platform);e.push({buildPath:r,outputPath:t,platform:n.platform,md5Cache:!1})}}}else{let t=yield Editor.Profile.getConfig("builder","BuildTaskManager.taskMap","local");Object.keys(t).forEach((n=>{const r=t[n].options;if(r){const t=adaptation.Util.urlToFspath(r.buildPath),n=t?Path.join(t,r.outputName):r.buildPath;e.push({buildPath:t,outputPath:n,platform:r.platform,md5Cache:r.md5Cache})}}))}return e}))}}class Env{constructor(){this._type=null}init(e){this._type=e}get isWeb(){return this._type===_declare__WEBPACK_IMPORTED_MODULE_0__.zV.Web}get isPluginV2(){return this._type===_declare__WEBPACK_IMPORTED_MODULE_0__.zV.PluginV2}get isPluginV3(){return this._type===_declare__WEBPACK_IMPORTED_MODULE_0__.zV.PluginV3}get isWin(){return"win32"===process.platform}get isMac(){return"darwin"===process.platform}}class Simulator{get path(){if(adaptation.Env.isPluginV2)return Path.join(adaptation.CCEditor.path,"cocos2d-x/simulator/");if(adaptation.Env.isWin)throw new Error("没有适配");return adaptation.Env.isMac?Path.join(adaptation.CCEditor.path,"resources/3d/engine-native/simulator/Debug/"):""}get remoteAssetDir(){const e="Contents/Resources/remote-asset";if(adaptation.Env.isPluginV2){if(adaptation.Env.isWin)return Path.join(this.path,"win32/remote-asset");if(adaptation.Env.isMac)return Path.join(this.path,"mac/Simulator.app/",e)}else{if(adaptation.Env.isWin)throw new Error("没有适配");if(adaptation.Env.isMac)return Path.join(this.path,"SimulatorApp-Mac.app",e)}}}class CCEditor{constructor(){this._version=""}get path(){return adaptation.Env.isPluginV2?Path.dirname(Editor.appPath):Path.dirname(Editor.App.path)}get version(){return this._version||(adaptation.Env.isPluginV2?this._version=Editor.remote.App.version:this._version=Editor.App.version),this._version}}class AssetDB{refresh(e){adaptation.Env.isPluginV2&&Editor.assetdb.refresh(e)}fileData(e){return __awaiter(this,void 0,void 0,(function*(){let t=adaptation.Util.urlToFspath(e);if(t&&adaptation.Env.isWeb){if(Path.extname(t)){return(yield axios__WEBPACK_IMPORTED_MODULE_3___default().get(t)).data}return""}return""}))}}class Log{error(e){adaptation.Env.isWeb}log(e){adaptation.Env.isWeb}info(e){adaptation.Env.isWeb}}class Dialog{readPng(e){return __awaiter(this,void 0,void 0,(function*(){return new Promise(((t,n)=>{const r=new FileReader;if(r.onload=e=>{t(e.target.result)},"image/png"!==e.type)return"";r.readAsDataURL(e)}))}))}select(e){return __awaiter(this,void 0,void 0,(function*(){if(adaptation.Env.isWeb)return new Promise(((t,n)=>{var r;const o=document.createElement("input");if(o.type="file",null===(r=e.filters)||void 0===r?void 0:r.length){const t=[".png",".txt"];let n=[];e.filters[0].extensions.forEach((e=>{e=e.startsWith(".")?e:`.${e}`;const r=t.find((t=>t===e));r&&n.push(r)})),o.accept=n.join(",")}o.multiple=!!e.multi,o.addEventListener("change",(()=>__awaiter(this,void 0,void 0,(function*(){let e={};for(let t=0;t<o.files.length;t++){let n=o.files[t];e[n.name.toString()]=yield this.readPng(n)}t(e)})))),o.dispatchEvent(new MouseEvent("click"))}));if(adaptation.Env.isPluginV2){let t="";"directory"===e.type?t="openDirectory":"file"===e.type&&(t="openFile");const n=Editor.Dialog.openFile({title:e.title,defaultPath:e.path,properties:[t]});if(-1===n)return{};const r={};return(n||[]).forEach((e=>{r[e]=null})),r}{const t={};return((yield Editor.Dialog.select(e)).filePaths||[]).forEach((e=>{t[e]=null})),t}}))}}class Menu{popup(e,t){if(t=t.map((e=>new _ui_packages_cc_menu__WEBPACK_IMPORTED_MODULE_4__.W6(e.name,e.callback||null,e.enabled))),adaptation.Env.isWeb)(0,_ui_packages_cc_menu__WEBPACK_IMPORTED_MODULE_4__.Y7)(e,t);else{const{Menu:e,MenuItem:n,getCurrentWindow:r}=Electron.remote;let o=new e;for(let e=0;e<t.length;e++){let r=t[e];o.append(new n({label:r.name,click:r.callback}))}o.popup(r())}}}class Adaptation{constructor(){this.Util=new Util,this.Env=new Env,this.Simulator=new Simulator,this.Project=new Project,this.Panel=new Panel,this.CCEditor=new CCEditor,this.AssetDB=new AssetDB,this.Shell=new Shell,this.Dialog=new Dialog,this.Builder=new Builder,this.Log=new Log,this.Menu=new Menu}require(name){if(adaptation.Env.isPluginV2)return Editor.require(`packages://${config.manifest.name}/node_modules/${name}`);{const url=`packages://${config.manifest.name}/node_modules/${name}`,fsPath=adaptation.Util.urlToFspath(url);return fsPath?eval("require(`${fsPath}`)"):null}}url(e){return adaptation.Env.isPluginV2?Editor.url(e):adaptation.Util.urlToFspath(e)}log(e){adaptation.Env.isPluginV2&&Editor.log(e)}init(e,t){config=e,this.Env.init(t)}}adaptation=new Adaptation;const __WEBPACK_DEFAULT_EXPORT__=adaptation},7357:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1808);class o{constructor(){this.isConn=!1,this.reloadCallback=null;const e=new r.Socket;e.on("data",(e=>{const t=e.toString();this.onMessage(t)})),e.on("close",(()=>{this.isConn=!1})),e.on("error",(e=>{this.isConn=!1})),this.client=e}setReloadCallback(e){this.reloadCallback=e}onMessage(e){"reload"===e&&this.client.end((()=>{this.reloadCallback&&this.reloadCallback()}))}connect(e){const{client:t}=this;t.connect(e,"127.0.0.1",(()=>{this.isConn=!0,this.send("hi server")}))}send(e){this.client&&this.isConn&&this.client.write(e)}}},4217:(e,t,n)=>{"use strict";n.d(t,{L:()=>r,N:()=>o});const r={V232:"2.3.2",V233:"2.3.3",V234:"2.3.4",V240:"2.4.0",V241:"2.4.1",V242:"2.4.2",V243:"2.4.3",V244:"2.4.4",V245:"2.4.5",V246:"2.4.6",V247:"2.4.7",V248:"2.4.8",V249:"2.4.9",V300:"3.0.0",V301:"3.0.1",V310:"3.1.0",V311:"3.1.1",V312:"3.1.2",V320:"3.2.0",V321:"3.2.1",V330:"3.3.0",V331:"3.3.1",V332:"3.3.2",V340:"3.4.0",V341:"3.4.1",V342:"3.4.2",V350:"3.5.0",V351:"3.5.1",V352:"3.5.2"};function o(e,t,n){let r=t.find((t=>(Array.isArray(t.version)||(t.version=[t.version]),t.version.find((t=>t===e)))));return r?r.fn():n()}},4620:(e,t,n)=>{"use strict";n.d(t,{s_:()=>r,zV:()=>o,w1:()=>s,t4:()=>i});const r={Type:{Dockable:"dockable",Simple:"simple"}};var o;!function(e){e[e.PluginV2=0]="PluginV2",e[e.PluginV3=1]="PluginV3",e[e.Web=2]="Web",e[e.Electron=3]="Electron",e[e.Vscode=4]="Vscode"}(o||(o={}));const s={outputProject:"./",output:"./dist",type:o.PluginV2,server:{enabled:!1,port:2022},watchBuild:!1,min:!1},i={WebMobile:"web-mobile",WebDesktop:"web-desktop",Android:"android",Ios:"ios",Mac:"mac",Win32:"win32"}},7409:(e,t,n)=>{"use strict";n.d(t,{W6:()=>o,Y7:()=>i});var r=n(8247);class o{constructor(e,t=null,n=!0){this.name="",this.enabled=!0,this.callback=null,this.name=e,this.callback=t,this.enabled=n}}const s="show-menu";function i(e,t){const n={x:e.clientX+2,y:Math.abs(e.clientY)};r.Q.emit(s,n,t||[])}},8247:(e,t,n)=>{"use strict";n.d(t,{Q:()=>D,Z:()=>F});var r={};n.r(r),n.d(r,{Button:()=>h,Input:()=>x,Prop:()=>A,Section:()=>_,Select:()=>T,Textarea:()=>L});const o=(e,t)=>{const n=e;return n.install=(r,o)=>{const s=n.name||"";r.component(t||o||s,e)},n};var s=n(7245);const i={class:"text"};var a=n(5792),c=n.n(a);class l extends class{onMouseup(e){}onMousedown(e){}onMouseenter(e){}onMouseleave(e){}}{constructor(e){super(),this.color="",this.color=this._getColor(e.color||"#4e4e4e")}_getColor(e){switch(e){case"red":e="#b54344";break;case"green":e="#6b9e51";break;case"blue":e="#4281b6"}return e}onMouseup(e){e.background=this.color}onMousedown(e){e.background=c()(this.color).darken(.5).hex()}onMouseenter(e){e.background=c()(this.color).brighten(.3).hex()}onMouseleave(e){e.background=this.color}}class u{onMousedown(){}onMouseenter(){}onMouseleave(){}onMouseup(){}}class p{constructor(e,t){if(this.instance=null,this.theme=(0,s.reactive)({background:""}),"sprite"===e)this.instance=new u;else if("color"===e){const e=new l(t);this.theme.background=e.color,this.instance=e}}onMousedown(){this.instance&&this.instance.onMousedown(this.theme)}onMouseenter(){this.instance&&this.instance.onMouseenter(this.theme)}onMouseleave(){this.instance&&this.instance.onMouseleave(this.theme)}onMouseup(){this.instance&&this.instance.onMouseup(this.theme)}}const f=(0,s.defineComponent)({name:"cc-button",props:{transition:{type:String,default:"color",validator:e=>!!["color","sprite"].find((t=>t===e))},color:{type:String},texture:{type:String}},emits:[],setup(e,{emit:t}){const n=(0,s.ref)(!1),r=(0,s.ref)(!1),o=new p(e.transition,e);return{theme:o.theme,isClick:n,onMouseup(){n.value=!1,o.onMouseup()},onMousedown(){n.value=!0,o.onMousedown()},onMouseenter(){r.value=!0,o.onMouseenter()},onMouseleave(){r.value=!1,o.onMouseleave()}}}});var d=n(3744);const h=o((0,d.Z)(f,[["render",function(e,t,n,r,o,a){return(0,s.openBlock)(),(0,s.createElementBlock)("div",{class:(0,s.normalizeClass)(["btn",{click:e.isClick}]),style:(0,s.normalizeStyle)({background:`${e.theme.background}`}),onMouseup:t[0]||(t[0]=(...t)=>e.onMouseup&&e.onMouseup(...t)),onMousedown:t[1]||(t[1]=(...t)=>e.onMousedown&&e.onMousedown(...t)),onMouseenter:t[2]||(t[2]=(...t)=>e.onMouseenter&&e.onMouseenter(...t)),onMouseleave:t[3]||(t[3]=(...t)=>e.onMouseleave&&e.onMouseleave(...t))},[(0,s.createElementVNode)("div",i,[(0,s.renderSlot)(e.$slots,"default",{},void 0,!0)])],38)}],["__scopeId","data-v-6de347ad"]])),g={class:"cc-section"},m={class:"header"},v={class:"title"};const y=(0,s.defineComponent)({name:"cc-section",props:{name:{type:String}},setup:(e,{emit:t})=>({fold:(0,s.ref)(!1),name:(0,s.ref)(e.name||"")})}),_=o((0,d.Z)(y,[["render",function(e,t,n,r,o,i){return(0,s.openBlock)(),(0,s.createElementBlock)("div",g,[(0,s.createElementVNode)("div",m,[(0,s.createElementVNode)("div",{class:"left",onClick:t[0]||(t[0]=(0,s.withModifiers)((t=>e.fold=!e.fold),["stop"]))},[(0,s.createElementVNode)("div",{class:(0,s.normalizeClass)(["fold",e.fold?"arrow-right":"arrow-down"])},null,2),(0,s.createElementVNode)("div",v,(0,s.toDisplayString)(e.name),1)]),(0,s.renderSlot)(e.$slots,"header",{},void 0,!0)]),e.fold?(0,s.createCommentVNode)("v-if",!0):(0,s.renderSlot)(e.$slots,"default",{key:0},void 0,!0)])}],["__scopeId","data-v-bec250fe"]])),b={class:"cc-input"},S={style:{display:"flex",flex:"1"}},E=["readonly","disabled"];const w=(0,s.defineComponent)({name:"cc-input",props:{value:{type:String,default:""},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:value","change"],setup(e,{emit:t}){const n=(0,s.ref)("transparent"),r=(0,s.ref)(e.value||"");return(0,s.watch)((()=>e.value),(e=>{r.value=e})),{text:r,borderColor:n,onFocusin(){n.value="#fd942b"},onFocusout(){n.value="transparent"},onBlur(){t("update:value",r.value),t("change")}}}}),x=o((0,d.Z)(w,[["render",function(e,t,n,r,o,i){return(0,s.openBlock)(),(0,s.createElementBlock)("div",b,[(0,s.createElementVNode)("label",S,[(0,s.withDirectives)((0,s.createElementVNode)("input",{onFocusout:t[0]||(t[0]=(...t)=>e.onFocusout&&e.onFocusout(...t)),class:(0,s.normalizeClass)({readonly:e.readonly,disabled:e.disabled}),onFocusin:t[1]||(t[1]=(...t)=>e.onFocusin&&e.onFocusin(...t)),onBlur:t[2]||(t[2]=(...t)=>e.onBlur&&e.onBlur(...t)),readonly:e.readonly,disabled:e.disabled,"onUpdate:modelValue":t[3]||(t[3]=t=>e.text=t),type:"text"},null,42,E),[[s.vModelText,e.text]])]),(0,s.renderSlot)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-0fdce90a"]])),C={class:"value"};const k=(0,s.defineComponent)({name:"cc-prop",props:{name:{type:String}},setup:(e,{emit:t})=>({name:(0,s.ref)(e.name||""),isHove:(0,s.ref)(!1)})}),A=o((0,d.Z)(k,[["render",function(e,t,n,r,o,i){return(0,s.openBlock)(),(0,s.createElementBlock)("div",{class:"cc-prop",onMouseenter:t[0]||(t[0]=t=>e.isHove=!0),onMouseleave:t[1]||(t[1]=t=>e.isHove=!1)},[(0,s.createElementVNode)("div",{class:(0,s.normalizeClass)(["name",e.isHove?"name-blue":""])},(0,s.toDisplayString)(e.name),3),(0,s.createElementVNode)("div",C,[(0,s.renderSlot)(e.$slots,"default",{style:"flex:1;"},void 0,!0)])],32)}],["__scopeId","data-v-9166cee6"]])),R={class:"cc-select"},O=["value"];const P=(0,s.defineComponent)({name:"cc-select",props:{data:{type:Array,required:!0,default:()=>[]},value:[String,Number]},emits:["change","update:data","update:value"],setup(e,{emit:t}){var n;const r=(0,s.ref)((null===(n=e.value)||void 0===n?void 0:n.toString())||"");return(0,s.watch)((()=>e.value),(e=>{r.value=e.toString()})),{curValue:r,onSelectChange(){const e=r.value.toString();t("update:value",e),t("change",e)}}}}),T=o((0,d.Z)(P,[["render",function(e,t,n,r,o,i){return(0,s.openBlock)(),(0,s.createElementBlock)("div",R,[(0,s.createElementVNode)("div",null,[(0,s.createElementVNode)("label",null,[(0,s.withDirectives)((0,s.createElementVNode)("select",{onChange:t[0]||(t[0]=(...t)=>e.onSelectChange&&e.onSelectChange(...t)),"onUpdate:modelValue":t[1]||(t[1]=t=>e.curValue=t)},[((0,s.openBlock)(!0),(0,s.createElementBlock)(s.Fragment,null,(0,s.renderList)(e.data,((e,t)=>((0,s.openBlock)(),(0,s.createElementBlock)("option",{key:t,value:e.value},(0,s.toDisplayString)(e.label),9,O)))),128))],544),[[s.vModelSelect,e.curValue]])])]),(0,s.renderSlot)(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-179fbecd"]])),M={class:"cc-textarea"};const N=(0,s.defineComponent)({name:"cc-textarea",setup:()=>({})}),L=o((0,d.Z)(N,[["render",function(e,t,n,r,o,i){return(0,s.openBlock)(),(0,s.createElementBlock)("div",M)}],["__scopeId","data-v-1df3787a"]]));const D=new(n(4279).TinyEmitter),F={install:e=>{Object.keys(r).forEach((t=>{e.use(r[t])}))}}},3744:(e,t)=>{"use strict";t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n}},4812:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5003),o=n(1229),s=n(3577);function i(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){t[n]=e[n]})),t.default=e,Object.freeze(t)}var a=i(o);const c=Object.create(null);function l(e,t){if(!s.isString(e)){if(!e.nodeType)return s.NOOP;e=e.innerHTML}const n=e,o=c[n];if(o)return o;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const{code:i}=r.compile(e,s.extend({hoistStatic:!0,onError:void 0,onWarn:s.NOOP},t)),l=new Function("Vue",i)(a);return l._rc=!0,c[n]=l}o.registerRuntimeCompiler(l),Object.keys(o).forEach((function(e){"default"!==e&&(t[e]=o[e])})),t.compile=l},6765:(e,t,n)=>{"use strict";e.exports=n(4812)},9496:e=>{"use strict";e.exports=require("electron")},6860:e=>{"use strict";e.exports=require("express")},9491:e=>{"use strict";e.exports=require("assert")},6113:e=>{"use strict";e.exports=require("crypto")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},1808:e=>{"use strict";e.exports=require("net")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},2781:e=>{"use strict";e.exports=require("stream")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},7245:(e,t,n)=>{"use strict";var r=n(6765);n.o(r,"Fragment")&&n.d(t,{Fragment:function(){return r.Fragment}}),n.o(r,"createApp")&&n.d(t,{createApp:function(){return r.createApp}}),n.o(r,"createBlock")&&n.d(t,{createBlock:function(){return r.createBlock}}),n.o(r,"createCommentVNode")&&n.d(t,{createCommentVNode:function(){return r.createCommentVNode}}),n.o(r,"createElementBlock")&&n.d(t,{createElementBlock:function(){return r.createElementBlock}}),n.o(r,"createElementVNode")&&n.d(t,{createElementVNode:function(){return r.createElementVNode}}),n.o(r,"createTextVNode")&&n.d(t,{createTextVNode:function(){return r.createTextVNode}}),n.o(r,"createVNode")&&n.d(t,{createVNode:function(){return r.createVNode}}),n.o(r,"defineComponent")&&n.d(t,{defineComponent:function(){return r.defineComponent}}),n.o(r,"nextTick")&&n.d(t,{nextTick:function(){return r.nextTick}}),n.o(r,"normalizeClass")&&n.d(t,{normalizeClass:function(){return r.normalizeClass}}),n.o(r,"normalizeStyle")&&n.d(t,{normalizeStyle:function(){return r.normalizeStyle}}),n.o(r,"onMounted")&&n.d(t,{onMounted:function(){return r.onMounted}}),n.o(r,"openBlock")&&n.d(t,{openBlock:function(){return r.openBlock}}),n.o(r,"reactive")&&n.d(t,{reactive:function(){return r.reactive}}),n.o(r,"ref")&&n.d(t,{ref:function(){return r.ref}}),n.o(r,"renderList")&&n.d(t,{renderList:function(){return r.renderList}}),n.o(r,"renderSlot")&&n.d(t,{renderSlot:function(){return r.renderSlot}}),n.o(r,"resolveComponent")&&n.d(t,{resolveComponent:function(){return r.resolveComponent}}),n.o(r,"toDisplayString")&&n.d(t,{toDisplayString:function(){return r.toDisplayString}}),n.o(r,"vModelSelect")&&n.d(t,{vModelSelect:function(){return r.vModelSelect}}),n.o(r,"vModelText")&&n.d(t,{vModelText:function(){return r.vModelText}}),n.o(r,"vShow")&&n.d(t,{vShow:function(){return r.vShow}}),n.o(r,"watch")&&n.d(t,{watch:function(){return r.watch}}),n.o(r,"withCtx")&&n.d(t,{withCtx:function(){return r.withCtx}}),n.o(r,"withDirectives")&&n.d(t,{withDirectives:function(){return r.withDirectives}}),n.o(r,"withModifiers")&&n.d(t,{withModifiers:function(){return r.withModifiers}})}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>He});var e=__webpack_require__(7245);const t={class:"panel"},n={class:"view scroll"},r={class:"section"},o={style:{width:"100%",height:"200px",margin:"0 0 0 0"}},s=(0,e.createElementVNode)("hr",{class:"margin0"},null,-1),i=(0,e.createElementVNode)("h2",{class:"margin0"},"日志:",-1),a={style:{display:"flex","flex-direction":"row-reverse"}};var c=__webpack_require__(4620);const l=new class{constructor(){this.manifest=null,this.options=null,this.builtinMenu={project:""}}init(e,t){this.manifest=e,this.options=t;const{type:n}=t;n===c.zV.PluginV2?this.builtinMenu.project=this.toi18n("MAIN_MENU.project.title"):n===c.zV.PluginV3&&(this.builtinMenu.project=this.toi18n("menu.project"))}i18n(e){const t=this.manifest.name;return this.toi18n(`${t}.${e}`)}toi18n(e){return`i18n:${e}`}},u=l;let p={name:"hot-update-tools",version:"1.0.5",description:"hotUpdateTools",author:"xu_yanfeng",main:"./src/main.ts",panels:[{name:"main",type:c.s_.Type.Dockable,main:"./src/panel/index.ts",title:"热更工具",width:900,height:900,minWidth:550,minHeight:400}],menus:[],i18n_en:"./src/en.ts",i18n_zh:"./src/zh.ts"};const f={type:c.zV.PluginV2,server:{enabled:!1,port:1123},watchBuild:!1,outputProject:{v2:"",v3:""}};u.init(p,f),p.menus.push({icon:"icon.png",accelerator:"CmdOrCtrl+u",path:`${u.builtinMenu.project}/${u.i18n("title")}`,message:{name:"showPanel"}});const d={manifest:p,options:f};const h=new(__webpack_require__(4279).TinyEmitter),g="log",m=require("fs-extra");var v=__webpack_require__(1017),y=__webpack_require__(2403);const _="profile";const b=new class{constructor(){this.data={},this.pluginConfig=null}init(e){this.pluginConfig=e}setDefaultData(e){this.data=e}save(){if(this.isWeb){const e=JSON.stringify(this.data);localStorage.setItem(_,e)}}get isWeb(){if(this.pluginConfig){const{type:e}=this.pluginConfig.options;return e===c.zV.Web}return!1}load(e,t){if(this.pluginConfig&&this.isWeb){const e=localStorage.getItem(_);if(e)try{this.data=JSON.parse(e)}catch(e){return t("parse data failed",this)}return t(null,this)}return t("profile not init!",this)}};const S=new class{constructor(){this.manifest=null,this.options=null,this.Adaptation=y.ZP}init(e,t){const{type:n}=e.options;this.Adaptation.init(e,n||c.zV.PluginV2),this.manifest=e.manifest,this.options=Object.assign(c.w1,e.options),b.init(e);const{enabled:r,port:o}=this.options.server;if(r){let e=()=>{var e;if((null===(e=this.options)||void 0===e?void 0:e.type)===c.zV.Web);else{let e=new(0,__webpack_require__(7357).Z);e.setReloadCallback((()=>{this.Adaptation.Env.isPluginV2;__webpack_require__(9496).remote.getCurrentWindow().reload()})),e.connect(o)}};const n=t.ready||(()=>{});t.ready=(t,r)=>{e(),n(t,r)}}if(n===c.zV.Web){let e=document.body.querySelector("#app");e&&t.ready&&t.ready(e,null)}return t}builder(){}},E=S,w={get rootDir(){return v.join(E.Adaptation.Project.path,d.manifest.name)},get manifestDir(){return v.join(this.rootDir,"manifest")},get testServerDir(){return v.join(this.rootDir,"test-server")},get versionsDir(){return v.join(this.rootDir,"versions")},initialization(){m.ensureDirSync(this.rootDir),m.ensureDirSync(this.manifestDir),m.ensureDirSync(this.testServerDir),m.ensureDirSync(this.versionsDir)}};const x=new class{constructor(){this.cfgData={version:"",serverRootDir:"",resourceRootDir:"",genManifestDir:"",localServerPath:"",hotAddressArray:[],buildTime:null,genTime:null,genVersion:null}}_save(){m.ensureFileSync(this.cfgFile),m.writeFileSync(this.cfgFile,JSON.stringify(this.cfgData,null,4))}saveLocalServerDir(e){this.cfgData.localServerPath=e,this._save()}get cfgFile(){return v.join(w.rootDir,"cfg.json")}initCfg(e){if(w.initialization(),m.existsSync(this.cfgFile)){const t=this._getConfigData();if(t)this.cfgData=t;else{const t=`配置文件格式异常,请检查配置文件是否为json格式:${this.cfgFile}`;e&&e(t)}}else this._save();return this.cfgData}_getConfigData(){try{return JSON.parse(m.readFileSync(this.cfgFile,"utf-8"))}catch(e){return null}}updateBuildTimeByMain(e){let t=this.cfgFile;if(m.existsSync(t)){let n=this._getConfigData();n&&(n.buildTime=e,n.genTime=e,m.writeFileSync(t,JSON.stringify(n,null,4)))}else E.Adaptation.log("热更新配置文件不存在: "+t)}updateBuildTime(e){this.cfgData.buildTime=e,this.cfgData.genTime=e,this._save()}updateGenTime(e,t){this.cfgData.genTime=e,this.cfgData.genVersion=t,this._save()}getBuildTimeGenTime(){let e={buildTime:null,genTime:null},t=this.cfgFile;if(m.existsSync(t)){let n=m.readFileSync(t,"utf-8"),r=JSON.parse(n);e.buildTime=r.buildTime,e.genTime=r.genTime,this.cfgData.buildTime=r.buildTime,this.cfgData.genTime=r.genTime}return e}saveConfig(e){this.cfgData.version=e.version,this.cfgData.serverRootDir=e.serverRootDir,this.cfgData.resourceRootDir=e.resourceRootDir,this.cfgData.localServerPath=e.localServerPath,this.cfgData.hotAddressArray=e.hotAddressArray,this._save()}},C=x,k={class:"buttons"},A=(0,e.createTextVNode)("文档"),R={class:"content"},O=(0,e.createTextVNode)("使用本机IP"),P=(0,e.createTextVNode)("使用 "),T=(0,e.createTextVNode)(" 删除 "),M={class:"buttons"},N=(0,e.createTextVNode)("..."),L=(0,e.createElementVNode)("i",{class:"iconfont icon-folder"},null,-1),D={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center"}},F=(0,e.createElementVNode)("i",{class:"iconfont icon-folder"},null,-1),I={class:"operation"},V=(0,e.createTextVNode)("生成热更包"),B=(0,e.createElementVNode)("i",{class:"fa fa-folder-open"},"打开热更包目录",-1);const j={manifestResDir:null,getLocalIP(){let e="",t=__webpack_require__(2037).networkInterfaces();return Object.keys(t).forEach((n=>{t[n].forEach((t=>{"IPv4"===t.family&&!1===t.internal&&(e=t.address)}))})),e}};var $=__webpack_require__(2037);const H=require("child_process");var U=__webpack_require__(7147);__webpack_require__(9496);function q(e){h.emit(g,e)}function W(e){if(!U.existsSync(e))return;U.statSync(e).isFile()&&(e=v.dirname(e));let t="";switch($.platform()){case"win32":t=`start "" "${e}"`;break;case"darwin":t=`open "${e}"`}t?(0,H.exec)(t):E.Adaptation.Shell.showItem(e),E.Adaptation.Shell.beep()}const z=require("universal-analytics"),G=require("uuid"),{name:K,version:Y}=d.manifest,J={nodeStorage:null,user:null,init(){const{JSONStorage:e}=E.Adaptation.require("node-localstorage"),{app:t}=__webpack_require__(9496).remote;this.nodeStorage=new e(t.getPath("userData"));const n=this.nodeStorage.getItem("userId")||(0,G.v4)();this.nodeStorage.setItem("userId",n),this.user=z("UA-134924925-1",n)},event(e){this.user&&this.user.event({ec:`${K} : V${Y}`,ea:e||"",el:"",ev:0}).send()},eventOpen(){this.event("open")},eventDoc(){this.event(`${K}-doc`)},eventQQ(){this.event(`${K}-qq`)},eventCustom(e){this.event(e)}};var X=function(e,t,n,r){return new(n||(n=Promise))((function(o,s){function i(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((r=r.apply(e,t||[])).next())}))};const Z=__webpack_require__(9496),Q=(0,e.defineComponent)({name:"manifest-gen",setup(t,{emit:n}){const r=(0,e.ref)(""),o=(0,e.ref)(""),s=(0,e.ref)(""),i=(0,e.ref)([]),a=(0,e.ref)(""),c=(0,e.ref)(""),l=(0,e.ref)(""),u=(0,e.ref)(!1),p=(0,e.ref)(!1);function f(e,t){if(null==e||null==t)return!1;let n=e.split("."),r=t.split("."),o=n.length>r.length?n.length:r.length;for(let e=0;e<o;e++){let t=n[e],o=r[e];if(void 0===t&&void 0!==o)return!1;if(void 0!==t&&void 0===o)return!0;if(t&&o&&parseInt(t)>parseInt(o))return!0}return!1}function d(){p.value=!0,u.value=o.value!==S.value}function h(){if(o.value.length<=0)return;s.value=null;let e=o.value+"/version.manifest",t=new XMLHttpRequest;t.onreadystatechange=()=>{if(4===t.readyState&&t.status>=200&&t.status<400){let e=t.responseText,n=null;try{n=JSON.parse(e)}catch(e){return void q("获取远程版本号失败!")}s.value=n.version}else t.status};try{t.open("get",e,!0),t.setRequestHeader("If-Modified-Since","0"),t.send()}catch(e){}}function g(){let e=o.value;if("http://"===e||"https://"===e||"http"===e||"https"===e||"http:"===e||"https:"===e)return;let t=e.indexOf("http://"),n=e.indexOf("https://");if(-1===t&&-1===n){/^([hH][tT]{2}[pP]:\/\/|[hH][tT]{2}[pP][sS]:\/\/)(([A-Za-z0-9-~]+)\.)+([A-Za-z0-9-~\/])+$/.test(e)||(q(e+" 不是以http://https://开头,或者不是网址, 已经自动修改"),o.value="http://"+o.value,h())}else h();var r;r=o.value,i.value.find((e=>e.value===r))||(i.value.push({label:r,value:r}),q("[HotAddress]历史记录添加成功:"+r)),d(),m()}function m(){let e={version:r.value,serverRootDir:o.value,resourceRootDir:c.value,genManifestDir:w.manifestDir,localServerPath:a.value,hotAddressArray:i.value};C.saveConfig(e)}function y(e,t){let n=U.readdirSync(e);for(let r=0;r<n.length;r++){let o=n[r],s=v.join(e,o),i=U.statSync(s);i.isFile()?t.file(o,U.readFileSync(s)):i.isDirectory()&&y(s,t.folder(o))}}function _(){let{manifestResDir:e}=j;q("[Pack] 开始打包版本 ...");let t=new(E.Adaptation.require("jszip"));const n=v.join(l.value,"version.manifest");t.file("version.manifest",U.readFileSync(n));const o=v.join(l.value,"project.manifest");t.file("project.manifest",U.readFileSync(o)),y(v.join(c.value,"src"),t.folder("src")),y(v.join(c.value,e),t.folder(e));let s=U.readFileSync(n,"utf-8"),i=JSON.parse(s).version;if(q("[Pack] 打包版本:"+i),i!==r.value)return void q("[Pack] 打包版本和当前填写的版本不一致,出现异常,停止打包!");i=i.replace(".","_");let a="ver_"+i+".zip",u=w.versionsDir,p=v.join(u,a);U.existsSync(p)&&(U.unlinkSync(p),q("[Pack] 发现该版本的zip, 已经删除!")),t.generateNodeStream({type:"nodebuffer",streamFiles:!0}).pipe(U.createWriteStream(p)).on("finish",(()=>{q("[Pack] 打包成功: "+p)})).on("error",(e=>{q("[Pack] 打包失败:"+e.message)}))}function b(e){if(U.existsSync(e)){let t=v.join(e,"src");if(!U.existsSync(t))return q(`没有发现 ${t}, 请先构建项目.`),!1;let n=["res","assets"];for(let t=0;t<n.length;t++){let r=n[t];if(U.existsSync(v.join(e,r))){j.manifestResDir=r;break}}return j.manifestResDir?(c.value=e,m(),!0):(q(`没有发现资源目录${n.toString()}, 请先构建项目.`),!1)}return q(`没有发现 ${e}, 请先构建项目.`),!1}(0,e.onMounted)((()=>{(0,e.nextTick)((()=>X(this,void 0,void 0,(function*(){let e=C.cfgData;e&&(r.value=e.version,o.value=e.serverRootDir,c.value=e.resourceRootDir,i.value=e.hotAddressArray||[],function(){i.value.length&&(S.value=i.value[0].value);d()}()),l.value=w.manifestDir,h(),yield function(){return X(this,void 0,void 0,(function*(){let e=null;const t=yield E.Adaptation.Builder.getConfig();if(t.length)if(E.Adaptation.Env.isPluginV2){const n=t.find((e=>E.Adaptation.Builder.isNativePlatform(e.platform)));n&&U.existsSync(n.outputPath)&&(e=n.outputPath),e||(e=t[0].outputPath)}else e=t[0].outputPath;e?b(e):q("发现没有构建项目, 使用前请先构建项目!")}))}()}))))}));const S=(0,e.ref)("");return{address:S,version:r,serverRootDir:o,remoteServerVersion:s,hotAddressArray:i,localServerPath:a,resourceRootDir:c,genManifestDir:l,isShowDelAddrBtn:p,isShowUseAddrBtn:u,onInputVersionOver:function(){let e=C.cfgData.genVersion,t=(C.cfgData.buildTime,C.cfgData.genTime,s.value);null!=t&&(f(r.value,t)?(q("上次构建时版本号: "+e),f(r.value,e)?q("版本通过验证!"):q("[Warning] 要构建的版本低于上次构建版本: "+r.value+"<="+e)):q("[Warning] version 填写的版本低于远程版本")),m()},onInPutUrlOver:g,isValidResDir:function(){return!(!c.value||!U.existsSync(c.value))},onBtnClickHelpDoc:function(){J.eventDoc(),Z.shell.openExternal("https://tidys.gitee.io/doc")},onBtnClickTellMe:function(){J.eventQQ(),Z.shell.openExternal("http://wpa.qq.com/msgrd?v=3&uin=774177933&site=qq&menu=yes")},userLocalIP:function(){J.eventCustom("useLocalIP");let e=j.getLocalIP();e.length>0&&(o.value="http://"+e,g())},onBtnClickUseSelectedHotAddress:function(){o.value=S.value,g(),d()},onBtnClickDelSelectedHotAddress:function(){const e=i.value;if(e.length){let t=!1;const n=e.findIndex((e=>e.value===S.value));if(-1!==n){const r=e.splice(n,1)[0];t=!0,q(`删除历史地址成功: ${r.value}`),S.value===r.value&&e.length&&(S.value=e[0].value)}t&&(d(),m())}else q("历史地址已经为空")},onChangeSelectHotAddress:function(e){J.eventCustom("ChangeSelectHotAddress"),d()},onSelectResourceRootDir:function(){return X(this,void 0,void 0,(function*(){let e=yield E.Adaptation.Dialog.select({title:"选择构建后的根目录",path:E.Adaptation.Project.path,type:"directory"});const t=Object.keys(e);if(t.length){let e=t[0];b(e)&&(c.value=e,m())}}))},onOpenResourceDir:function(){W(c.value)},onOpenManifestDir:function(){W(l.value)},onClickGenCfg:function(e){J.eventCustom("GenManifest"),!r.value||r.value.length<=0?q("[生成] 版本号未填写"):!o.value||o.value.length<=0?q("[生成] 服务器地址未填写"):0!==c.value.length?b(c.value)&&(!l.value||l.value.length<=0?q("[生成] manifest文件生成地址未填写"):U.existsSync(l.value)?(m(),function(e,t,n,r){q("[Build] 开始生成manifest配置文件....");let o="project.manifest",s="version.manifest",i={version:e,packageUrl:t,remoteManifestUrl:"",remoteVersionUrl:"",assets:{},searchPaths:[]};"/"===t[t.length-1]?(i.remoteManifestUrl=t+o,i.remoteVersionUrl=t+s):(i.remoteManifestUrl=t+"/"+o,i.remoteVersionUrl=t+"/"+s);let a=r,c=n,l=(e,t)=>{let n=U.statSync(e);if(!n.isDirectory())return;let r,o,s,i,a,u=U.readdirSync(e);for(let p=0;p<u.length;++p)"."!==u[p][0]&&(r=v.join(e,u[p]),n=U.statSync(r),n.isDirectory()?l(r,t):n.isFile()&&(o=n.size,s=__webpack_require__(6113).createHash("md5").update(U.readFileSync(r)).digest("hex"),i=".zip"===v.extname(r).toLowerCase(),a=v.relative(c,r),a=a.replace(/\\/g,"/"),a=encodeURI(a),t[a]={size:o,md5:s},i&&(t[a].compressed=!0)))},u=e=>{try{U.mkdirSync(e)}catch(e){if("EEXIST"!==e.code)throw e}};l(v.join(c,"src"),i.assets),l(v.join(c,j.manifestResDir),i.assets);let p=v.join(a,"project.manifest"),f=v.join(a,"version.manifest");u(a),U.writeFileSync(p,JSON.stringify(i)),q("[Build] 生成 project.manifest成功"),delete i.assets,delete i.searchPaths,U.writeFileSync(f,JSON.stringify(i)),q("[Build] 生成 version.manifest成功"),_()}(r.value,o.value,c.value,l.value)):q("[生成] manifest存储目录不存在: "+l.value)):q("[生成] 请先指定 <build项目资源文件目录>")},onClickOpenVersionDir:function(){W(w.versionsDir)}}}});var ee=__webpack_require__(3744);const te=(0,ee.Z)(Q,[["render",function(t,n,r,o,s,i){const a=(0,e.resolveComponent)("cc-button"),c=(0,e.resolveComponent)("cc-input"),l=(0,e.resolveComponent)("cc-prop"),u=(0,e.resolveComponent)("cc-select"),p=(0,e.resolveComponent)("cc-section");return(0,e.openBlock)(),(0,e.createBlock)(p,{name:"生成Manifest配置",class:"manifest-gen"},{header:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",k,[(0,e.createVNode)(a,{onClick:(0,e.withModifiers)(t.onBtnClickHelpDoc,["stop"])},{default:(0,e.withCtx)((()=>[A])),_:1},8,["onClick"]),(0,e.createVNode)(a,{onClick:(0,e.withModifiers)(t.onBtnClickTellMe,["stop"]),class:"QQ"},null,8,["onClick"])])])),default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",R,[(0,e.createVNode)(l,{name:"版本号"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(c,{onChange:t.onInputVersionOver,value:t.version,"onUpdate:value":n[0]||(n[0]=e=>t.version=e)},null,8,["onChange","value"])])),_:1}),(0,e.createVNode)(l,{name:"资源服务器url",tooltip:"游戏热更新服务器的url"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(c,{onChange:t.onInPutUrlOver,value:t.serverRootDir,"onUpdate:value":n[1]||(n[1]=e=>t.serverRootDir=e)},null,8,["onChange","value"]),t.remoteServerVersion?((0,e.openBlock)(),(0,e.createBlock)(c,{key:0,readonly:!0,value:t.remoteServerVersion,"onUpdate:value":n[2]||(n[2]=e=>t.remoteServerVersion=e)},null,8,["value"])):(0,e.createCommentVNode)("v-if",!0),(0,e.createVNode)(a,{onClick:t.userLocalIP},{default:(0,e.withCtx)((()=>[O])),_:1},8,["onClick"])])),_:1}),(0,e.createCommentVNode)("----------------------------配置历史------------------------------"),(0,e.createVNode)(l,{name:"资源服务器url配置历史"},{default:(0,e.withCtx)((()=>[(0,e.createVNode)(u,{data:t.hotAddressArray,value:t.address,"onUpdate:value":n[3]||(n[3]=e=>t.address=e),onChange:t.onChangeSelectHotAddress},null,8,["data","value","onChange"]),(0,e.withDirectives)((0,e.createVNode)(a,{class:"green",onClick:t.onBtnClickUseSelectedHotAddress},{default:(0,e.withCtx)((()=>[P])),_:1},8,["onClick"]),[[e.vShow,t.isShowUseAddrBtn]]),(0,e.withDirectives)((0,e.createVNode)(a,{color:"red",onClick:t.onBtnClickDelSelectedHotAddress},{default:(0,e.withCtx)((()=>[T])),_:1},8,["onClick"]),[[e.vShow,t.isShowDelAddrBtn]])])),_:1}),(0,e.createVNode)(l,{name:"build项目资源文件目录",tooltip:"项目构建后的目录"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",M,[(0,e.createVNode)(c,{style:{flex:"1"},readonly:!0,disabled:!0,value:t.resourceRootDir,"onUpdate:value":n[4]||(n[4]=e=>t.resourceRootDir=e)},null,8,["value"]),(0,e.createVNode)(a,{onClick:t.onSelectResourceRootDir},{default:(0,e.withCtx)((()=>[N])),_:1},8,["onClick"]),t.isValidResDir?((0,e.openBlock)(),(0,e.createBlock)(a,{key:0,onClick:t.onOpenResourceDir},{default:(0,e.withCtx)((()=>[L])),_:1},8,["onClick"])):(0,e.createCommentVNode)("v-if",!0)])])),_:1}),(0,e.createVNode)(l,{name:"manifest存储目录"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",D,[(0,e.createVNode)(c,{style:{flex:"1"},readonly:!0,disabled:!0,value:t.genManifestDir,"onUpdate:value":n[5]||(n[5]=e=>t.genManifestDir=e)},null,8,["value"]),(0,e.createVNode)(a,{onClick:t.onOpenManifestDir},{default:(0,e.withCtx)((()=>[F])),_:1},8,["onClick"])])])),_:1}),(0,e.createElementVNode)("div",I,[(0,e.createVNode)(a,{color:"green",onClick:t.onClickGenCfg},{default:(0,e.withCtx)((()=>[V])),_:1},8,["onClick"]),(0,e.createVNode)(a,{color:"blue",onClick:t.onClickOpenVersionDir},{default:(0,e.withCtx)((()=>[B])),_:1},8,["onClick"])])])])),_:1})}]]),ne={style:{display:"flex","flex-direction":"column"}},re={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center"}},oe=(0,e.createTextVNode)("..."),se=(0,e.createElementVNode)("i",{class:"iconfont icon-folder"},null,-1),ie=(0,e.createTextVNode)("部署"),ae={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center"}},ce={style:{flex:"1"}},le=(0,e.createTextVNode)(" 开启服务 "),ue=(0,e.createElementVNode)("i",{class:"iconfont icon-trash",title:"删除win32模拟器热更新资源"},null,-1),pe=(0,e.createTextVNode)(" 清理模拟器缓存 "),fe={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center"}},de={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center"}},he={style:{flex:"1"}},ge=(0,e.createElementVNode)("i",{class:"iconfont icon-refresh"},null,-1);var me=__webpack_require__(3685),ve=__webpack_require__(1808),ye=function(e,t,n,r){return new(n||(n=Promise))((function(o,s){function i(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((r=r.apply(e,t||[])).next())}))};const{shell:_e}=__webpack_require__(9496),be=__webpack_require__(6860),Se=(0,e.defineComponent)({name:"env-test",setup(){const t=be(),n=me.createServer(t),r=(0,e.ref)(!1),o=(0,e.ref)(""),s=(0,e.ref)(""),i=(0,e.ref)(""),a=(0,e.ref)(""),c=(0,e.ref)("");function l(e,t){let n=ve.createServer().listen(e);n.on("listening",(()=>{n.once("close",(()=>{t&&t(e)})),n.close()})),n.on("error",(n=>{l(e+1,t)}))}function u(){if(s.value.length>0){let e={"version.manifest":null,"project.manifest":null};for(let t in e){let n=v.join(s.value,t);U.existsSync(n)?e[t]=JSON.parse(U.readFileSync(n,"utf-8")):q(`测试环境:未发现文件${t}`)}let t=e["version.manifest"],n=e["project.manifest"];t&&n?t.version===n.version&&t.packageUrl===n.packageUrl&&(i.value=n.version,a.value=n.packageUrl):t&&!n?(i.value=t.version,a.value=t.packageUrl):!t&&n?(i.value=n.version,a.value=n.packageUrl):t||n||q("测试环境: 无法获取到本地测试服务器版本号")}else q("请选择本机server物理路径")}return(0,e.onMounted)((()=>{(0,e.nextTick)((()=>{let e=C.cfgData;e&&(s.value=e.localServerPath||""),s.value.length>0||(s.value=w.testServerDir),u()}))})),{isServerRunning:r,serverUrl:o,localServerPath:s,serverVersion:i,serverPackageUrl:a,remoteServerVersion:c,onClickPackageUrl:function(){let e=`${a.value}/version.manifest`;_e&&_e.openExternal(e)},onClickServerUrl:function(){_e&&_e.openExternal(o.value)},onSelectLocalServerPath:function(e){return ye(this,void 0,void 0,(function*(){let e=E.Adaptation.Project.path;U.existsSync(null==s?void 0:s.value)&&(e=s.value);const t=yield E.Adaptation.Dialog.select({title:"选择本地测试服务器目录",path:e,type:"directory"}),o=Object.keys(t);if(o.length){const e=o[0];e!==s.value&&(null==n||n.close((()=>{r.value=!1})),s.value=e,C.saveLocalServerDir(s.value),u())}}))},onOpenLocalServer:function(){W(s.value)},onCopyFileToLocalServer:function(){J.eventCustom("copyFileToLocalServer");const e=s.value,{manifestResDir:t}=j;if(!t)return q("未发现构建后的资源目录");let{resourceRootDir:n}=C.cfgData,{manifestDir:r}=w;if(!U.existsSync(e))return void q("本地测试服务器目录不存在:"+e);let o=v.join(n,"src"),i=v.join(n,t);if(!U.existsSync(n))return void q("资源目录不存在: "+n+", 请先构建项目");if(!U.existsSync(o))return void q(n+"不存在src目录, 无法拷贝文件");if(!U.existsSync(i))return void q(n+"不存在res目录, 无法拷贝文件");let a="project.manifest",c="version.manifest",l=v.join(r,a),p=v.join(r,c);!r||r.length<=0?q("manifest文件生成地址未填写"):U.existsSync(l)?U.existsSync(p)?(m.emptyDirSync(e),m.copySync(o,v.join(e,"src")),m.copySync(i,v.join(e,t)),m.copyFileSync(l,v.join(e,a)),m.copyFileSync(p,v.join(e,c)),q(`已经将热更包copy到: ${e}`),u()):q(p+"不存在, 请点击生成热更包"):q(l+"不存在, 请点击生成热更包")},onBtnClickOpenStaticFileServer:function(){const e=s.value;e&&U.existsSync(e)&&(t.use(be.static(e)),r.value||l(5520,(t=>{n.listen(t,(()=>{r.value=!0}));const s=j.getLocalIP();o.value=`http://${s}:${t}/`,q(`Http文件服务开启: ${e}`)})))},onCleanSimRemoteRes:function(){const e=E.Adaptation.Simulator.remoteAssetDir;e&&(U.existsSync(e)?(m.emptyDirSync(e),q("[清理热更缓存] 清空目录 "+e+" 成功.")):q("[清理热更缓存] 目录不存在: "+e))},refreshLocalServerVersion:function(){u()}}}}),Ee=(0,ee.Z)(Se,[["render",function(t,n,r,o,s,i){const a=(0,e.resolveComponent)("cc-input"),c=(0,e.resolveComponent)("cc-button"),l=(0,e.resolveComponent)("cc-prop"),u=(0,e.resolveComponent)("cc-section");return(0,e.openBlock)(),(0,e.createBlock)(u,{name:"项目测试环境manifest信息"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",ne,[(0,e.createVNode)(l,{name:"server dir"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",re,[(0,e.createVNode)(a,{style:{flex:"1"},readonly:!0,value:t.localServerPath,"onUpdate:value":n[0]||(n[0]=e=>t.localServerPath=e)},null,8,["value"]),(0,e.createVNode)(c,{onClick:t.onSelectLocalServerPath},{default:(0,e.withCtx)((()=>[oe])),_:1},8,["onClick"]),(0,e.createVNode)(c,{onClick:t.onOpenLocalServer},{default:(0,e.withCtx)((()=>[se])),_:1},8,["onClick"]),(0,e.createVNode)(c,{class:"green",onClick:t.onCopyFileToLocalServer},{default:(0,e.withCtx)((()=>[ie])),_:1},8,["onClick"])])])),_:1}),(0,e.createVNode)(l,{name:"server url",tooltip:"如果你开启了服务,请确保 package url 和 server url 一致,否则测试环境可能无法正常工作"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",ae,[(0,e.createElementVNode)("div",ce,[(0,e.withDirectives)((0,e.createElementVNode)("a",{onClick:n[1]||(n[1]=(...e)=>t.onClickServerUrl&&t.onClickServerUrl(...e))},[(0,e.createElementVNode)("span",null,(0,e.toDisplayString)(t.serverUrl),1)],512),[[e.vShow,t.isServerRunning]]),(0,e.withDirectives)((0,e.createElementVNode)("span",null,"--",512),[[e.vShow,!t.isServerRunning]])]),(0,e.withDirectives)((0,e.createVNode)(c,{color:"green",onClick:t.onBtnClickOpenStaticFileServer},{default:(0,e.withCtx)((()=>[le])),_:1},8,["onClick"]),[[e.vShow,!t.isServerRunning]]),(0,e.createVNode)(c,{color:"red",onClick:t.onCleanSimRemoteRes},{default:(0,e.withCtx)((()=>[ue,pe])),_:1},8,["onClick"])])])),_:1}),(0,e.createVNode)(l,{name:"package url",tooltip:"点击打开 URL/version.manifest"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",fe,[(0,e.createElementVNode)("a",{onClick:n[2]||(n[2]=(...e)=>t.onClickPackageUrl&&t.onClickPackageUrl(...e)),style:{"white-space":"nowrap",flex:"1"}},(0,e.toDisplayString)(t.serverPackageUrl),1)])])),_:1}),(0,e.createVNode)(l,{name:"version"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",de,[(0,e.createElementVNode)("h4",he,(0,e.toDisplayString)(t.serverVersion),1),(0,e.createVNode)(c,{class:"end-justified",onClick:t.refreshLocalServerVersion},{default:(0,e.withCtx)((()=>[ge])),_:1},8,["onClick"])])])),_:1})])])),_:1})}]]),we={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center",overflow:"hidden"}},xe=(0,e.createElementVNode)("div",{style:{color:"#ff1500",flex:"1",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}}," 未发现manifest热更新配置文件,请生成一份后导入到项目 ",-1),Ce=(0,e.createTextVNode)(" 导入 "),ke={style:{display:"flex","flex-direction":"column"}},Ae={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center"}},Re={style:{flex:"1"}},Oe=(0,e.createTextVNode)(" 导入manifest "),Pe=(0,e.createElementVNode)("i",{class:"iconfont icon-refresh"},null,-1),Te={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center"}},Me={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center"}},Ne=(0,e.createElementVNode)("i",{class:"iconfont icon-folder"},null,-1),Le={style:{display:"flex",flex:"1","flex-direction":"row","align-items":"center","justify-content":"center"}},De=(0,e.createElementVNode)("i",{class:"iconfont icon-folder"},null,-1);const{shell:Fe}=__webpack_require__(9496),Ie=(0,e.defineComponent)({name:"env-project",setup(){const t=(0,e.ref)("-"),n=(0,e.ref)(""),r=(0,e.ref)(""),o=(0,e.ref)("");function s(){const e=__webpack_require__(5839);let s=E.Adaptation.url("db://assets"),i=v.join(s,"**/*.manifest");i=v.normalize(i).replace(/\\/g,"/");let a=e.sync([i]),c="",l="";if(a.forEach((e=>{"version.manifest"===v.basename(e)?c=e:"project.manifest"===v.basename(e)&&(l=e)})),0===c.length)return void q("项目中没有配置文件: version.manifest");if(0===l.length)return void q("项目中没有配置文件: project.manifest");o.value=c,r.value=l;let u=null,p=null;if(U.existsSync(c))try{u=JSON.parse(U.readFileSync(c,"utf-8"))}catch(e){return void q(`配置数据异常,不是json格式:${c}`)}else q("读取项目中的配置文件失败: "+c);if(U.existsSync(l))try{p=JSON.parse(U.readFileSync(l,"utf-8"))}catch(e){return void q(`配置数据异常,不是json格式:${l}`)}else q("读取项目中的配置文件失败: "+l);p&&u&&p.version&&u.version&&p.version===u.version?(t.value=p.version,n.value=p.packageUrl):q("游戏中的 project.manifest 和 version.manifest 中的数据异常,请检查配置文件")}return(0,e.onMounted)((()=>{s()})),{localGameVersion:t,localGamePackageUrl:n,localGameProjectManifest:r,localGameVersionManifest:o,openDir:W,onClickLocalPackageUrl:function(){let e=`${n.value}/version.manifest`;Fe&&Fe.openExternal(e)},importManifestToGame:function(){let e={project:"project.manifest",version:"version.manifest"},t=v.join(w.manifestDir,e.project);if(!U.existsSync(t))return void q(`[${e.project}]文件不存在: ${t}`);let n=v.join(w.manifestDir,e.version);if(!U.existsSync(n))return void q(`[${e.version}]文件不存在: ${n}`);let o=null;o=U.existsSync(r.value)?v.dirname(r.value):E.Adaptation.url("db://assets");for(let t in e){let n=v.join(w.manifestDir,e[t]),r=v.join(o,e[t]);m.copyFileSync(n,r);const s=E.Adaptation.Util.fspathToUrl(r);s&&E.Adaptation.AssetDB.refresh(s)}s()},initLocalGameVersion:s}}}),Ve=(0,ee.Z)(Ie,[["render",function(t,n,r,o,s,i){const a=(0,e.resolveComponent)("cc-button"),c=(0,e.resolveComponent)("cc-prop"),l=(0,e.resolveComponent)("cc-input"),u=(0,e.resolveComponent)("cc-section");return(0,e.openBlock)(),(0,e.createBlock)(u,{name:"当前项目manifest信息"},{default:(0,e.withCtx)((()=>[(0,e.withDirectives)((0,e.createVNode)(c,{name:"热更配置(检测提示)"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",we,[xe,(0,e.createVNode)(a,{title:"将生成的2个manifest文件导入到项目中",class:"end-justified red",onClick:t.importManifestToGame},{default:(0,e.withCtx)((()=>[Ce])),_:1},8,["onClick"])])])),_:1},512),[[e.vShow,0===t.localGameProjectManifest.length||null===t.localGameProjectManifest]]),(0,e.withDirectives)((0,e.createElementVNode)("div",ke,[(0,e.createVNode)(c,{name:"游戏版本号:"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",Ae,[(0,e.createElementVNode)("h4",Re,(0,e.toDisplayString)(t.localGameVersion),1),(0,e.createVNode)(a,{title:"将生成的2个manifest文件导入到项目中",class:"end-justified blue",onClick:t.importManifestToGame},{default:(0,e.withCtx)((()=>[Oe])),_:1},8,["onClick"]),(0,e.createVNode)(a,{class:"end-justified",onClick:t.initLocalGameVersion},{default:(0,e.withCtx)((()=>[Pe])),_:1},8,["onClick"])])])),_:1}),(0,e.createVNode)(c,{name:"package url:",tooltip:"点击打开 URL/version.manifest"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",Te,[(0,e.createElementVNode)("a",{style:{flex:"1","white-space":"nowrap"},onClick:n[0]||(n[0]=(...e)=>t.onClickLocalPackageUrl&&t.onClickLocalPackageUrl(...e))},(0,e.toDisplayString)(t.localGamePackageUrl),1)])])),_:1}),(0,e.createVNode)(c,{name:"热更配置(project.mainfest)"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",Me,[(0,e.createVNode)(l,{style:{flex:"1"},disabled:!0,value:t.localGameProjectManifest,"onUpdate:value":n[1]||(n[1]=e=>t.localGameProjectManifest=e)},null,8,["value"]),(0,e.createVNode)(a,{onClick:n[2]||(n[2]=e=>t.openDir(t.localGameProjectManifest))},{default:(0,e.withCtx)((()=>[Ne])),_:1})])])),_:1}),(0,e.createVNode)(c,{name:"热更配置(version.mainfest)"},{default:(0,e.withCtx)((()=>[(0,e.createElementVNode)("div",Le,[(0,e.createVNode)(l,{style:{flex:"1"},disabled:!0,value:t.localGameVersionManifest,"onUpdate:value":n[3]||(n[3]=e=>t.localGameVersionManifest=e)},null,8,["value"]),(0,e.createVNode)(a,{onClick:n[4]||(n[4]=e=>t.openDir(t.localGameVersionManifest))},{default:(0,e.withCtx)((()=>[De])),_:1})])])),_:1})],512),[[e.vShow,t.localGameProjectManifest.length>0]])])),_:1})}]]),Be=(0,e.defineComponent)({name:"index",components:{ManifestGen:te,EnvTest:Ee,EnvProject:Ve},setup(t,{emit:n}){const r=(0,e.ref)(""),o=(0,e.ref)(""),s=(0,e.ref)(null);function i(t){let n=new Date;o.value+=`[${n.toLocaleString()}]: ${t}\n`,(0,e.nextTick)((()=>{const e=s.value;e.scrollTop=e.scrollHeight}))}return(0,e.onMounted)((()=>{r.value=`版本号:V${d.manifest.version}`,h.on(g,i),C.initCfg(i)})),{logDom:s,version:r,logView:o,log:i}}}),je=(0,ee.Z)(Be,[["render",function(c,l,u,p,f,d){const h=(0,e.resolveComponent)("manifest-gen"),g=(0,e.resolveComponent)("env-project"),m=(0,e.resolveComponent)("env-test");return(0,e.openBlock)(),(0,e.createElementBlock)("div",t,[(0,e.createElementVNode)("div",n,[(0,e.createElementVNode)("div",r,[(0,e.createVNode)(h),(0,e.createVNode)(g),(0,e.createVNode)(m)])]),(0,e.createElementVNode)("div",o,[s,i,(0,e.createElementVNode)("label",null,[(0,e.withDirectives)((0,e.createElementVNode)("textarea",{class:"log","onUpdate:modelValue":l[0]||(l[0]=e=>c.logView=e),ref:"logDom"},null,512),[[e.vModelText,c.logView]])])]),(0,e.createElementVNode)("div",a,(0,e.toDisplayString)(c.version),1)])}]]);var $e=__webpack_require__(8247);const He=E.init(d,{ready:function(t,n){J.init(),J.eventOpen();const r=(0,e.createApp)(je);r.use($e.Z),r.mount(t)}})})();var __webpack_export_target__=exports;for(var i in __webpack_exports__)__webpack_export_target__[i]=__webpack_exports__[i];__webpack_exports__.__esModule&&Object.defineProperty(__webpack_export_target__,"__esModule",{value:!0})})();