From 3a4997348b96dc1bb26231f2242d830281daa2b7 Mon Sep 17 00:00:00 2001 From: sarthakvk Date: Mon, 20 Nov 2023 22:53:04 +0530 Subject: [PATCH] added build --- css/app.6d1f8546.css | 1 - css/app.7dba1f14.css | 1 + index.html | 2 +- js/app.186bacc7.js | 2 ++ js/app.186bacc7.js.map | 1 + js/app.c6c46d78.js | 2 -- js/app.c6c46d78.js.map | 1 - js/chunk-vendors.8a33184f.js | 19 ------------------- js/chunk-vendors.8a33184f.js.map | 1 - js/chunk-vendors.901d68c9.js | 13 +++++++++++++ js/chunk-vendors.901d68c9.js.map | 1 + 11 files changed, 19 insertions(+), 25 deletions(-) delete mode 100644 css/app.6d1f8546.css create mode 100644 css/app.7dba1f14.css create mode 100644 js/app.186bacc7.js create mode 100644 js/app.186bacc7.js.map delete mode 100644 js/app.c6c46d78.js delete mode 100644 js/app.c6c46d78.js.map delete mode 100644 js/chunk-vendors.8a33184f.js delete mode 100644 js/chunk-vendors.8a33184f.js.map create mode 100644 js/chunk-vendors.901d68c9.js create mode 100644 js/chunk-vendors.901d68c9.js.map diff --git a/css/app.6d1f8546.css b/css/app.6d1f8546.css deleted file mode 100644 index 902b8eb..0000000 --- a/css/app.6d1f8546.css +++ /dev/null @@ -1 +0,0 @@ -.configuration{align-self:center;justify-items:center;margin-top:5px;margin-bottom:5px}.configuration,.table-container{display:flex;justify-content:center;align-items:center}.table{border-collapse:collapse}.pathEndpoints{background-color:red}.table td,.table tr{margin:0;padding:0;display:flex;border:1px solid #000}.matrix-checkbox{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:20px;height:20px;border:1px solid #3498db;border-radius:0;margin:0;padding:0;outline:none;transition:background-color .9s}.blocked{background-color:purple}.findPathButton{font-size:large;background-color:#3498db;color:#000} \ No newline at end of file diff --git a/css/app.7dba1f14.css b/css/app.7dba1f14.css new file mode 100644 index 0000000..7d0ecdd --- /dev/null +++ b/css/app.7dba1f14.css @@ -0,0 +1 @@ +.configuration{display:flex;justify-content:center;align-items:center;align-self:center;justify-items:center;margin-top:5px;margin-bottom:5px}.configuration button{margin-right:5px;margin-left:5px}.table-container{display:flex;justify-content:center;align-items:center}.table{border-collapse:collapse}.pathEndpoints{background-color:red}.table td,.table tr{margin:0;padding:0;display:flex;border:1px solid #000}.matrix-checkbox{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:20px;height:20px;border:1px solid #3498db;border-radius:0;margin:0;padding:0;outline:none;transition:background-color .9s}.blocked{background-color:purple}.findPathButton{font-size:large;background-color:#3498db;color:#000} \ No newline at end of file diff --git a/index.html b/index.html index 9ea8d87..acfaa11 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -pathfinder-visualizer
\ No newline at end of file +pathfinder-visualizer
\ No newline at end of file diff --git a/js/app.186bacc7.js b/js/app.186bacc7.js new file mode 100644 index 0000000..bb17c61 --- /dev/null +++ b/js/app.186bacc7.js @@ -0,0 +1,2 @@ +(function(){"use strict";var t={5057:function(t,e,i){var s=i(9242),r=i(3396);function n(t,e){const i=(0,r.up)("router-view");return(0,r.wg)(),(0,r.j4)(i)}var l=i(89);const a={},o=(0,l.Z)(a,[["render",n]]);var h=o,u=i(2483);const c=(0,r._)("option",{selected:"",value:"bfs"},"BFS",-1),d=(0,r._)("option",{value:"dijkstra"},"Dijkstra",-1),v=[c,d];function f(t,e,i,n,l,a){const o=(0,r.up)("GridComponent");return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r.wy)((0,r._)("select",{"onUpdate:modelValue":e[0]||(e[0]=e=>t.algo=e),required:"",name:"algorithm"},v,512),[[s.bM,t.algo]]),(0,r.Wm)(o,{algorithm:t.algo},null,8,["algorithm"])],64)}var p=i(4870),_=i(7139);const g={class:"configuration"},m={key:0},w={key:1},x={key:2},y={key:0,class:"table-container"},b=["id"],k=["onUpdate:modelValue","onClick","onMousedown","onMouseover"],S={class:"configuration"},C=["disabled"];function M(t,e,i,n,l,a){return(0,r.wg)(),(0,r.iD)(r.HY,null,[(0,r._)("div",g,[null===t.start?((0,r.wg)(),(0,r.iD)("h3",m," Select the starting point")):null===t.end?((0,r.wg)(),(0,r.iD)("h3",w," Select the end point")):((0,r.wg)(),(0,r.iD)("h3",x,"Click and hover to block the cell, path can't have a blocked cell")),(0,r.wy)((0,r._)("input",{type:"number",name:"Rows","onUpdate:modelValue":e[0]||(e[0]=e=>t.M=e),onInput:e[1]||(e[1]=(...e)=>t.initializeMatrix&&t.initializeMatrix(...e))},null,544),[[s.nr,t.M]]),(0,r.wy)((0,r._)("input",{type:"number",name:"Columns","onUpdate:modelValue":e[2]||(e[2]=e=>t.N=e),onInput:e[3]||(e[3]=(...e)=>t.initializeMatrix&&t.initializeMatrix(...e))},null,544),[[s.nr,t.N]])]),t.M>0&&t.N>0&&t.matrix.length==t.M&&t.matrix[0].length==t.N?((0,r.wg)(),(0,r.iD)("div",y,[(0,r._)("table",{class:"table",onMouseleave:e[5]||(e[5]=e=>t.canSelectBlockedCellByHover=!1)},[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.M,((i,n)=>((0,r.wg)(),(0,r.iD)("tr",null,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(t.N,((i,l)=>((0,r.wg)(),(0,r.iD)("td",{class:(0,_.C_)({pathEndpoints:t.matrix[n][l],blocked:t.isBlocked(n,l)}),id:`${n}-${l}`},[(0,r.wy)((0,r._)("input",{class:"matrix-checkbox","onUpdate:modelValue":e=>t.matrix[n][l]=e,onClick:(0,s.iM)((e=>t.markPoint(n,l)),["prevent"]),onMousedown:e=>t.markBlocked(n,l),onMouseup:e[4]||(e[4]=e=>t.canSelectBlockedCellByHover=!1),onMouseover:e=>t.canSelectBlockedCellByHover&&t.markBlocked(n,l),type:"checkbox"},null,40,k),[[s.e8,t.matrix[n][l]]])],10,b)))),256))])))),256))],32)])):(0,r.kq)("",!0),(0,r._)("div",S,[(0,r._)("button",{class:"findPathButton",onClick:e[6]||(e[6]=(...e)=>t.createShortestPath&&t.createShortestPath(...e)),disabled:!t.start||!t.end},"Find the shortest path",8,C),(0,r._)("button",{class:"findPathButton",onClick:e[7]||(e[7]=(...e)=>t.initializeMatrix&&t.initializeMatrix(...e))},"Reset")])],64)}var Z=i(7327);i(560);class j{constructor(t){(0,Z.Z)(this,"grid",void 0),(0,Z.Z)(this,"shortest_path_parent_refs",{}),this.grid=t}shortestPath(t,e){let i=this.search(t,e);if(!i)return[];let s=[],r=e;while(void 0!==this.shortest_path_parent_refs[r.toString()])s.push(r),r=this.shortest_path_parent_refs[r.toString()];return s.push(r),s.reverse()}search(t,e){let i={};i[t.toString()]=!0;let s=[];for(let r of t.adjecent)this.shortest_path_parent_refs[r.toString()]=t,s.push(r);while(s.length>0){let t=[];for(let r=0;rt)),i.sort(((t,e)=>t[0]!==e[0]?t[0]-e[0]:t[1]-e[1]));for(let s=0;s=0&&e>=0&&tt));let i=t.length-1;for(let r=0;r<=i;r++)this.values_index[this.values_list[r].toString()]=r;let s=(i+i%2)/2-1;for(let r=s;r>=0;r--)this.heapifyDown(r)}extractRoot(){let t=this.values_list.length;this.replace(0,t-1);let e=this.values_list.pop();if(void 0!==e&&null!==e)return delete this.values_index[e.toString()],this.heapifyDown(0),e}insert(t){this.values_list.push(t);let e=this.values_list.length-1;this.values_index[t.toString()]=e,this.heapifyUp(e)}getRoot(){let t=this.values_list.length;if(t>0)return this.values_list[0]}resyncElement(t){let e=this.values_index[t.toString()];if(void 0===e)throw Error("Element doesn't exist");this.heapifyUp(e),this.heapifyDown(e)}heapifyUp(t){if(0===t)return;let e=(t+t%2)/2-1,i=this.values_list[e],s=this.values_list[t];this.compare_fn(i,s)||(this.replace(e,t),this.heapifyUp(e))}replace(t,e){let i=this.values_list.length-1;if(t>i||e>i)return;let s=this.values_list[t],r=this.values_list[e];this.values_list[t]=r,this.values_list[e]=s,this.values_index[s.toString()]=e,this.values_index[r.toString()]=t}heapifyDown(t){let e=2*t+1,i=e+1,s=this.values_list.length-1;if(e>s)return;let r,n=this.values_list[t],l=this.values_list[e];i<=s&&(r=this.values_list[i]),void 0===r?this.compare_fn(n,l)||(this.replace(t,e),this.heapifyDown(e)):this.compare_fn(r,l)&&!this.compare_fn(n,r)?(this.replace(t,i),this.heapifyDown(i)):this.compare_fn(l,r)&&!this.compare_fn(n,l)&&(this.replace(t,e),this.heapifyDown(e))}}class E{constructor(t,e,i=D){(0,Z.Z)(this,"data",void 0),(0,Z.Z)(this,"compare_fn",void 0),this.data=new i(t,e),this.compare_fn=e}peek(){return this.data.getRoot()}getMaxPriorityElement(){return this.data.extractRoot()}resyncElement(t){this.data.resyncElement(t)}isEmpty(){let t=this.data.getRoot();return void 0===t}insert(t){this.data.insert(t)}}class B{constructor(t,e){(0,Z.Z)(this,"grid",void 0),(0,Z.Z)(this,"source_cell",void 0),(0,Z.Z)(this,"shortest_path_parent_refs",{}),(0,Z.Z)(this,"shortest_distances",{}),(0,Z.Z)(this,"vertex_queue",void 0),this.grid=t;let i=t.getCell(e[0],e[1]);i.distance_from_source=0,this.source_cell=i;let s=t.getAllCells();this.vertex_queue=new E(s,((t,e)=>t.distance_from_source<=e.distance_from_source))}findAllShortestPaths(){while(!this.vertex_queue.isEmpty()){let t=this.vertex_queue.getMaxPriorityElement();this.shortest_distances[t.toString()]=t.distance_from_source;for(let e of t.adjecent)void 0===this.shortest_distances[e.toString()]&&this.relax(e,t)}}findShortestPath(t){let e=this.grid.getCell(...t);while(!this.vertex_queue.isEmpty()){let t=this.vertex_queue.getMaxPriorityElement(),i=t.distance_from_source;if(this.shortest_distances[t.toString()]=i,t===e)return this.buildPath(t);for(let e of t.adjecent)void 0===this.shortest_distances[e.toString()]&&this.relax(e,t)}return[]}buildPath(t){if(t.distance_from_source===1/0)return[];let e=[],i=t;while(void 0!==this.shortest_path_parent_refs[i.toString()])e.push(i),i=this.shortest_path_parent_refs[i.toString()];return e.push(this.source_cell),e.reverse()}relax(t,e){let i=t.distance_from_source>e.distance_from_source+e.weight;i&&(t.distance_from_source=e.distance_from_source+e.weight,this.shortest_path_parent_refs[t.toString()]=e,this.vertex_queue.resyncElement(t))}}var H=(0,r.aZ)({props:{algorithm:{type:String,default:"bfs"}},setup(t){const e=(0,p.iH)(null),i=(0,p.iH)(null);let s=(0,p.iH)(0),n=(0,p.iH)(0);const l=(0,p.iH)([]),a=(0,p.iH)({}),o=(0,p.iH)(!1);(0,r.bv)((()=>{s.value=30,n.value=30,h()}));const h=()=>{e.value=null,i.value=null,a.value={},l.value=Array.from({length:s.value},(()=>Array.from({length:n.value},(()=>!1))))},u=(t,s)=>{if(!e.value||!i.value)return;o.value=!0;const r=a.value[t]?{...a.value[t]}:{};r[s]=!r[s],a.value[t]=r},c=(t,s)=>{null===e.value?(e.value=[t,s],l.value[t][s]=!0):null===i.value&&(i.value=[t,s],l.value[t][s]=!0)},d=(t,e)=>!!a.value[t]&&!!a.value[t][e],v=()=>{const t=a.value,e=Object.keys(t).flatMap((e=>Object.keys(t[parseInt(e,10)]).filter((i=>t[parseInt(e,10)][parseInt(i,10)])).map((t=>[parseInt(e,10),parseInt(t,10)]))));return e},f=()=>{e.value&&i.value&&l.value.forEach(((t,s)=>t.forEach(((t,r)=>{s===e.value[0]&&r===e.value[1]||s===i.value[0]&&r===i.value[1]||(l.value[s][r]=!1)}))))},_=async()=>{f();let r=v(),a=new z(s.value,n.value,r),o=a.getCell(...e.value),h=a.getCell(...i.value),u=[];if("bfs"===t.algorithm){let t=new j(a);u=t.shortestPath(o,h)}else if("dijkstra"==t.algorithm){let t=new B(a,e.value);u=t.findShortestPath(i.value)}const c=t=>new Promise((e=>setTimeout(e,t)));for(const t of u)l.value[t.x][t.y]=!0,await c(50)};return{start:e,end:i,M:s,N:n,matrix:l,blocked:a,canSelectBlockedCellByHover:o,initializeMatrix:h,markBlocked:u,markPoint:c,isBlocked:d,getBlockedList:v,clearPath:f,createShortestPath:_}}});const I=(0,l.Z)(H,[["render",M]]);var O=I,R=(0,r.aZ)({components:{GridComponent:O},setup(){const t=(0,p.iH)("bfs");return{algo:t}}});const q=(0,l.Z)(R,[["render",f]]);var U=q;const V=[{path:"/",name:"home",component:U}],A=(0,u.p7)({history:(0,u.PO)("/pathfinder-visualizer/"),routes:V});var N=A;(0,s.ri)(h).use(N).mount("#app")}},e={};function i(s){var r=e[s];if(void 0!==r)return r.exports;var n=e[s]={exports:{}};return t[s].call(n.exports,n,n.exports,i),n.exports}i.m=t,function(){var t=[];i.O=function(e,s,r,n){if(!s){var l=1/0;for(u=0;u=n)&&Object.keys(i.O).every((function(t){return i.O[t](s[o])}))?s.splice(o--,1):(a=!1,n0&&t[u-1][2]>n;u--)t[u]=t[u-1];t[u]=[s,r,n]}}(),function(){i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,{a:e}),e}}(),function(){i.d=function(t,e){for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){var t={143:0};i.O.j=function(e){return 0===t[e]};var e=function(e,s){var r,n,l=s[0],a=s[1],o=s[2],h=0;if(l.some((function(e){return 0!==t[e]}))){for(r in a)i.o(a,r)&&(i.m[r]=a[r]);if(o)var u=o(i)}for(e&&e(s);h\n \n\n\n\n","import { render } from \"./App.vue?vue&type=template&id=734173f6\"\nconst script = {}\n\nimport exportComponent from \"../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, vModelSelect as _vModelSelect, withDirectives as _withDirectives, resolveComponent as _resolveComponent, createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"option\", {\n selected: \"\",\n value: \"bfs\"\n}, \"BFS\", -1)\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"option\", { value: \"dijkstra\" }, \"Dijkstra\", -1)\nconst _hoisted_3 = [\n _hoisted_1,\n _hoisted_2\n]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_GridComponent = _resolveComponent(\"GridComponent\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _withDirectives(_createElementVNode(\"select\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.algo) = $event)),\n required: \"\",\n name: \"algorithm\"\n }, _hoisted_3, 512), [\n [_vModelSelect, _ctx.algo]\n ]),\n _createVNode(_component_GridComponent, { algorithm: _ctx.algo }, null, 8, [\"algorithm\"])\n ], 64))\n}","\n\n\n","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vModelText as _vModelText, createElementVNode as _createElementVNode, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, vModelCheckbox as _vModelCheckbox, withModifiers as _withModifiers, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"configuration\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = { key: 2 }\nconst _hoisted_5 = {\n key: 0,\n class: \"table-container\"\n}\nconst _hoisted_6 = [\"id\"]\nconst _hoisted_7 = [\"onUpdate:modelValue\", \"onClick\", \"onMousedown\", \"onMouseover\"]\nconst _hoisted_8 = { class: \"configuration\" }\nconst _hoisted_9 = [\"disabled\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.start === null)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_2, \" Select the starting point\"))\n : (_ctx.end === null)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_3, \" Select the end point\"))\n : (_openBlock(), _createElementBlock(\"h3\", _hoisted_4, \"Click and hover to block the cell, path can't have a blocked cell\")),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"number\",\n name: \"Rows\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.M) = $event)),\n onInput: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.initializeMatrix && _ctx.initializeMatrix(...args)))\n }, null, 544), [\n [_vModelText, _ctx.M]\n ]),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"number\",\n name: \"Columns\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.N) = $event)),\n onInput: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.initializeMatrix && _ctx.initializeMatrix(...args)))\n }, null, 544), [\n [_vModelText, _ctx.N]\n ])\n ]),\n (_ctx.M > 0 && _ctx.N > 0 && _ctx.matrix.length == _ctx.M && _ctx.matrix[0].length == _ctx.N)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"table\", {\n class: \"table\",\n onMouseleave: _cache[5] || (_cache[5] = ($event: any) => (_ctx.canSelectBlockedCellByHover = false))\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.M, (row, i) => {\n return (_openBlock(), _createElementBlock(\"tr\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.N, (col, j) => {\n return (_openBlock(), _createElementBlock(\"td\", {\n class: _normalizeClass({ pathEndpoints: _ctx.matrix[i][j], blocked: _ctx.isBlocked(i, j) }),\n id: `${i}-${j}`\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n class: \"matrix-checkbox\",\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.matrix[i][j]) = $event),\n onClick: _withModifiers(($event: any) => (_ctx.markPoint(i, j)), [\"prevent\"]),\n onMousedown: ($event: any) => (_ctx.markBlocked(i, j)),\n onMouseup: _cache[4] || (_cache[4] = ($event: any) => (_ctx.canSelectBlockedCellByHover = false)),\n onMouseover: ($event: any) => (_ctx.canSelectBlockedCellByHover && _ctx.markBlocked(i, j)),\n type: \"checkbox\"\n }, null, 40, _hoisted_7), [\n [_vModelCheckbox, _ctx.matrix[i][j]]\n ])\n ], 10, _hoisted_6))\n }), 256))\n ]))\n }), 256))\n ], 32)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"button\", {\n class: \"findPathButton\",\n onClick: _cache[6] || (_cache[6] = \n//@ts-ignore\n(...args) => (_ctx.createShortestPath && _ctx.createShortestPath(...args))),\n disabled: !!!_ctx.start || !!!_ctx.end\n }, \"Find the shortest path\", 8, _hoisted_9),\n _createElementVNode(\"button\", {\n class: \"findPathButton\",\n onClick: _cache[7] || (_cache[7] = \n//@ts-ignore\n(...args) => (_ctx.initializeMatrix && _ctx.initializeMatrix(...args)))\n }, \"Reset\")\n ])\n ], 64))\n}","\n\n\n\n\n","import { Grid, GridCell } from '../data_structures/grid';\n\nexport class BFS {\n private grid: Grid;\n private shortest_path_parent_refs: { [key: string]: GridCell } = {};\n\n constructor(grid: Grid) {\n this.grid = grid;\n }\n\n\n public shortestPath(start: GridCell, end: GridCell) {\n let path_exist = this.search(start, end);\n\n if (!path_exist)\n return [];\n\n let path: GridCell[] = [];\n let child = end;\n\n while (this.shortest_path_parent_refs[child.toString()] !== undefined) {\n path.push(child);\n child = this.shortest_path_parent_refs[child.toString()]\n }\n path.push(child);\n\n return path.reverse();\n }\n\n\n public search(start: GridCell, end: GridCell) {\n let visited: { [key: string]: boolean } = {};\n\n visited[start.toString()] = true;\n\n let cellsToVisit: GridCell[] = [];\n\n for (let child of start.adjecent) {\n this.shortest_path_parent_refs[child.toString()] = start;\n cellsToVisit.push(child);\n }\n\n while (cellsToVisit.length > 0) {\n let nextCellsToVisit: GridCell[] = [];\n\n for (let i = 0; i < cellsToVisit.length; i++) {\n let cell: GridCell = cellsToVisit[i];\n\n if (visited[cell.toString()] !== undefined)\n continue;\n\n if (cell === end) {\n return true;\n }\n\n for (let child of cell.adjecent) {\n if (visited[child.toString()] === undefined) {\n this.shortest_path_parent_refs[child.toString()] = cell;\n nextCellsToVisit.push(child);\n }\n }\n\n visited[cell.toString()] = true;\n }\n cellsToVisit = nextCellsToVisit;\n }\n\n return false\n }\n}\n","export class GridCell {\n x: number;\n y: number;\n reachable: boolean;\n weight: number;\n adjecent: GridCell[];\n distance_from_source: number;\n\n constructor(x: number, y: number, reachable: boolean = true, weight: number = 1) {\n if (x < 0 || y < 0) {\n throw new Error(\"grid cell dimentions should be positive\")\n }\n this.x = x;\n this.y = y;\n this.reachable = reachable;\n this.weight = weight;\n this.adjecent = [];\n this.distance_from_source = Infinity;\n }\n\n toString(): string {\n return `${this.x}-${this.y}`\n }\n}\n\n\nexport class Grid {\n data: GridCell[][] = []\n row_size: number;\n col_size: number;\n\n constructor(M: number, N: number, blocked: [number, number][] = []) {\n this.row_size = M;\n this.col_size = N;\n blocked = blocked.map((val) => val) \n blocked.sort((n1, n2) => {\n if (n1[0] !== n2[0])\n return n1[0] - n2[0];\n else\n return n1[1] - n2[1];\n })\n\n for (let i = 0; i < M; i++) {\n let row: GridCell[] = [];\n for (let j = 0; j < N; j++) {\n let can_reach = true;\n if (blocked.length !== 0 && blocked[0][0] == i && blocked[0][1] == j) {\n can_reach = false;\n blocked.shift()\n }\n let cell = new GridCell(i, j, can_reach);\n row.push(cell);\n }\n this.data.push(row);\n }\n this.setAdjCells();\n }\n\n public getCell(row: number, col: number): GridCell {\n if (this.isValidIndex(row, col))\n return this.data[row][col]\n\n throw new Error(\"Invalid index\")\n }\n\n public getAllCells(): GridCell[]{\n let cells: GridCell[] = []\n for (let row of this.data) for (let cell of row) cells.push(cell);\n\n return cells;\n }\n public setCellWeight(row: number, col: number, weight: number){\n let cell = this.getCell(row, col);\n cell.weight = weight;\n }\n\n public isValidIndex(row: number, col: number): boolean {\n return (row >= 0 && col >= 0 && row < this.row_size && col < this.col_size)\n }\n\n public canReachIndex(row: number, col: number): boolean {\n if (this.isValidIndex(row, col)) {\n let cell = this.getCell(row, col);\n return cell.reachable;\n }\n\n return false\n }\n\n private setAdjCells() {\n for (let i = 0; i < this.row_size; i++) {\n for (let j = 0; j < this.col_size; j++) {\n let cell = this.data[i][j]\n\n if (!cell.reachable)\n continue\n\n if (this.canReachIndex(i - 1, j))\n cell.adjecent.push(this.getCell(i - 1, j))\n\n if (this.canReachIndex(i + 1, j))\n cell.adjecent.push(this.getCell(i + 1, j))\n\n if (this.canReachIndex(i, j - 1))\n cell.adjecent.push(this.getCell(i, j - 1))\n\n if (this.canReachIndex(i, j + 1))\n cell.adjecent.push(this.getCell(i, j + 1))\n }\n }\n }\n}\n","import { Heap, ToString } from \"./heap\";\n\nexport class BinaryHeap implements Heap{\n private values_list: Type[];\n private values_index: { [key: string]: number } = {}\n private compare_fn: (parent: Type, child: Type) => boolean;\n\n\n constructor(values: Type[], key: (parent: Type, child: Type) => boolean) {\n this.compare_fn = key;\n this.values_list = values.map((val) => val)\n let last_idx = values.length - 1;\n\n for (let i = 0; i <= last_idx; i++)\n this.values_index[this.values_list[i].toString()] = i\n\n let last_parent = (last_idx + last_idx % 2) / 2 - 1\n for (let i = last_parent; i >= 0; i--) {\n this.heapifyDown(i)\n }\n }\n\n\n public extractRoot(): Type | undefined {\n let heap_size = this.values_list.length;\n\n this.replace(0, heap_size - 1)\n let root = this.values_list.pop();\n\n if (root === undefined || root === null)\n return\n\n delete this.values_index[root.toString()]\n this.heapifyDown(0);\n\n return root;\n }\n\n\n public insert(value: Type) {\n this.values_list.push(value);\n let last_idx = this.values_list.length - 1;\n this.values_index[value.toString()] = last_idx;\n this.heapifyUp(last_idx);\n }\n\n\n public getRoot() {\n let heap_size = this.values_list.length;\n\n if (heap_size > 0)\n return this.values_list[0]\n\n }\n\n public resyncElement(element: Type) {\n let idx: number = this.values_index[element.toString()]\n\n if (idx === undefined)\n throw Error(\"Element doesn't exist\")\n\n this.heapifyUp(idx);\n this.heapifyDown(idx);\n }\n\n\n private heapifyUp(index: number) {\n if (index === 0)\n return\n\n // Child of Nth index will be left: 2N + 1 & right: 2N + 2\n // to get the parent of `i` we just need to get floor of (i - 1) / 2\n let parent_idx = (index + (index % 2)) / 2 - 1;\n\n let parent: Type = this.values_list[parent_idx]\n let child: Type = this.values_list[index]\n\n if (!this.compare_fn(parent, child)) {\n this.replace(parent_idx, index)\n this.heapifyUp(parent_idx);\n }\n\n }\n\n\n private replace(index1: number, index2: number) {\n let max_idx = this.values_list.length - 1;\n\n if (index1 > max_idx || index2 > max_idx)\n return\n\n let obj1: Type = this.values_list[index1];\n let obj2: Type = this.values_list[index2];\n\n this.values_list[index1] = obj2;\n this.values_list[index2] = obj1;\n\n // updating obj index map\n this.values_index[obj1.toString()] = index2;\n this.values_index[obj2.toString()] = index1;\n }\n\n\n private heapifyDown(index: number) {\n let left_child_idx = index * 2 + 1;\n let right_child_idx = left_child_idx + 1;\n let last_idx = this.values_list.length - 1;\n\n if (left_child_idx > last_idx)\n return\n\n let parent = this.values_list[index];\n let left_child = this.values_list[left_child_idx];\n let right_child: Type | undefined = undefined;\n\n if (right_child_idx <= last_idx)\n right_child = this.values_list[right_child_idx];\n\n if (right_child === undefined) {\n if (!this.compare_fn(parent, left_child)) {\n this.replace(index, left_child_idx)\n this.heapifyDown(left_child_idx);\n }\n }\n else {\n if (this.compare_fn(right_child, left_child) && !this.compare_fn(parent, right_child)) {\n this.replace(index, right_child_idx)\n this.heapifyDown(right_child_idx);\n }\n else if (this.compare_fn(left_child, right_child) && !this.compare_fn(parent, left_child)) {\n this.replace(index, left_child_idx)\n this.heapifyDown(left_child_idx);\n }\n }\n }\n}\n","import { BinaryHeap } from \"./binary_heap\";\nimport { Heap, ToString } from \"./heap\"\n\nexport class PriorityQueue {\n private data: Heap;\n private compare_fn: (high: Type, low: Type) => boolean;\n\n constructor(\n values_list: Type[],\n key: (high: Type, low: Type) => boolean,\n store_backend: new (values_list: Type[], key: (high: Type, low: Type) => boolean) => Heap = BinaryHeap\n ) {\n this.data = new store_backend(values_list, key);\n this.compare_fn = key;\n }\n\n public peek() {\n return this.data.getRoot();\n }\n\n public getMaxPriorityElement() {\n return this.data.extractRoot();\n }\n\n public resyncElement(element: Type) {\n this.data.resyncElement(element);\n }\n\n public isEmpty() {\n let root = this.data.getRoot();\n if (root === undefined)\n return true\n return false;\n }\n\n public insert(value: Type) {\n this.data.insert(value);\n }\n}\n","import { Grid, GridCell } from \"../data_structures/grid\";\nimport { PriorityQueue } from \"../data_structures/priority_queue\";\n\n\nexport class Dijkstra {\n private grid: Grid;\n private source_cell: GridCell;\n public shortest_path_parent_refs: { [key: string]: GridCell } = {};\n public shortest_distances: { [key: string]: number } = {};\n public vertex_queue: PriorityQueue;\n\n constructor(grid: Grid, source: [number, number]) {\n this.grid = grid;\n\n let source_cell = grid.getCell(source[0], source[1]);\n source_cell.distance_from_source = 0;\n this.source_cell = source_cell;\n\n let vertices = grid.getAllCells();\n this.vertex_queue = new PriorityQueue(vertices, (v1, v2) => v1.distance_from_source <= v2.distance_from_source);\n }\n\n public findAllShortestPaths() {\n while (!this.vertex_queue.isEmpty()) {\n let closest_vertex = this.vertex_queue.getMaxPriorityElement()!;\n\n this.shortest_distances[closest_vertex.toString()] = closest_vertex.distance_from_source;\n for (let adj of closest_vertex.adjecent) {\n if ((this.shortest_distances[adj.toString()] === undefined)) {\n this.relax(adj, closest_vertex);\n }\n }\n }\n }\n\n\n public findShortestPath(destination: [number, number]): GridCell[] {\n let destination_cell = this.grid.getCell(...destination);\n while (!this.vertex_queue.isEmpty()) {\n let closest_vertex = this.vertex_queue.getMaxPriorityElement()!;\n let distance = closest_vertex.distance_from_source;\n this.shortest_distances[closest_vertex.toString()] = distance;\n\n if (closest_vertex === destination_cell) {\n return this.buildPath(closest_vertex);\n }\n\n for (let adj of closest_vertex.adjecent) {\n if ((this.shortest_distances[adj.toString()] === undefined)) {\n this.relax(adj, closest_vertex);\n }\n }\n }\n return []\n }\n\n private buildPath(vertex: GridCell): GridCell[] {\n if (vertex.distance_from_source === Infinity)\n return []\n\n let path = [];\n let end_vertex = vertex;\n\n while (this.shortest_path_parent_refs[end_vertex.toString()] !== undefined) {\n path.push(end_vertex);\n end_vertex = this.shortest_path_parent_refs[end_vertex.toString()];\n }\n path.push(this.source_cell);\n\n return path.reverse();\n }\n\n private relax(vertex: GridCell, new_parent: GridCell) {\n let need_relaxing = vertex.distance_from_source > new_parent.distance_from_source + new_parent.weight;\n if (need_relaxing) {\n vertex.distance_from_source = new_parent.distance_from_source + new_parent.weight;\n this.shortest_path_parent_refs[vertex.toString()] = new_parent;\n this.vertex_queue.resyncElement(vertex);\n }\n }\n}\n","import { render } from \"./Grid.vue?vue&type=template&id=410399c6&ts=true\"\nimport script from \"./Grid.vue?vue&type=script&lang=ts\"\nexport * from \"./Grid.vue?vue&type=script&lang=ts\"\n\nimport \"./Grid.vue?vue&type=style&index=0&id=410399c6&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./PathFinder.vue?vue&type=template&id=6eceb18c&ts=true\"\nimport script from \"./PathFinder.vue?vue&type=script&lang=ts\"\nexport * from \"./PathFinder.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'\nimport PathFinder from '../views/PathFinder.vue';\n\nconst routes: Array = [\n {\n path: '/',\n name: 'home',\n component: PathFinder\n },\n]\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes\n})\n\nexport default router\n","import { createApp } from 'vue'\nimport App from './App.vue'\nimport router from './router'\n\ncreateApp(App).use(router).mount('#app')\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkpathfinder_visualizer\"] = self[\"webpackChunkpathfinder_visualizer\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(5057); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["_createBlock","_component_router_view","script","__exports__","render","_hoisted_1","_createElementVNode","selected","value","_hoisted_2","_hoisted_3","_ctx","_cache","$props","$setup","$data","$options","_component_GridComponent","_resolveComponent","_openBlock","_createElementBlock","_Fragment","_withDirectives","$event","algo","required","name","_vModelSelect","_createVNode","algorithm","class","key","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","start","end","type","M","onInput","args","initializeMatrix","_vModelText","N","matrix","length","onMouseleave","canSelectBlockedCellByHover","_renderList","row","i","col","j","_normalizeClass","pathEndpoints","blocked","isBlocked","id","onClick","_withModifiers","markPoint","onMousedown","markBlocked","onMouseup","onMouseover","_vModelCheckbox","_createCommentVNode","createShortestPath","disabled","BFS","constructor","grid","_defineProperty","this","shortestPath","path_exist","search","path","child","undefined","shortest_path_parent_refs","toString","push","reverse","visited","cellsToVisit","adjecent","nextCellsToVisit","cell","GridCell","x","y","reachable","weight","Error","distance_from_source","Infinity","Grid","row_size","col_size","map","val","sort","n1","n2","can_reach","shift","data","setAdjCells","getCell","isValidIndex","getAllCells","cells","setCellWeight","canReachIndex","BinaryHeap","values","compare_fn","values_list","last_idx","values_index","last_parent","heapifyDown","extractRoot","heap_size","replace","root","pop","insert","heapifyUp","getRoot","resyncElement","element","idx","index","parent_idx","parent","index1","index2","max_idx","obj1","obj2","left_child_idx","right_child_idx","right_child","left_child","PriorityQueue","store_backend","peek","getMaxPriorityElement","isEmpty","Dijkstra","source","source_cell","vertices","vertex_queue","v1","v2","findAllShortestPaths","closest_vertex","shortest_distances","adj","relax","findShortestPath","destination","destination_cell","distance","buildPath","vertex","end_vertex","new_parent","need_relaxing","defineComponent","props","String","default","setup","ref","onMounted","Array","from","column","blockedRows","getBlockedList","obj","blockedList","Object","keys","flatMap","outerKey","parseInt","filter","innerKey","clearPath","forEach","r","c","async","startCell","endCell","bfs","dj","timer","ms","Promise","res","setTimeout","components","GridComponent","routes","component","PathFinder","router","createRouter","history","createWebHistory","process","createApp","App","use","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","fulfilled","every","splice","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","Function","e","window","prop","prototype","hasOwnProperty","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/js/app.c6c46d78.js b/js/app.c6c46d78.js deleted file mode 100644 index b578bc3..0000000 --- a/js/app.c6c46d78.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){"use strict";var t={6077:function(t,e,i){var r=i(9242),n=i(3396);function s(t,e){const i=(0,n.up)("router-view");return(0,n.wg)(),(0,n.j4)(i)}var o=i(89);const l={},a=(0,o.Z)(l,[["render",s]]);var h=a,c=i(2483);function u(t,e,i,r,s,o){const l=(0,n.up)("GridComponent");return(0,n.wg)(),(0,n.j4)(l)}var d=i(7139);const f={class:"configuration"},p={key:0},v={key:1},g={key:2},w={class:"table-container"},m=["id"],b=["onUpdate:modelValue","onClick","onMousedown","onMouseover"],k={class:"configuration"},_=["disabled"];function x(t,e,i,s,o,l){return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("div",f,[null===t.start?((0,n.wg)(),(0,n.iD)("h3",p," Select the starting point")):null===t.end?((0,n.wg)(),(0,n.iD)("h3",v," Select the end point")):((0,n.wg)(),(0,n.iD)("h3",g,"Click and hover to block the cell, path can't have a blocked cell")),(0,n.wy)((0,n._)("input",{type:"number",name:"Rows","onUpdate:modelValue":e[0]||(e[0]=e=>t.M=e),onChange:e[1]||(e[1]=(...e)=>t.initializeMatrix&&t.initializeMatrix(...e))},null,544),[[r.nr,t.M]]),(0,n.wy)((0,n._)("input",{type:"number",name:"Columns","onUpdate:modelValue":e[2]||(e[2]=e=>t.N=e),onChange:e[3]||(e[3]=(...e)=>t.initializeMatrix&&t.initializeMatrix(...e))},null,544),[[r.nr,t.N]])]),(0,n._)("div",w,[(0,n._)("table",{class:"table",onMouseleave:e[5]||(e[5]=e=>t.canSelectBlockedCellByHover=!1)},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.M,((i,s)=>((0,n.wg)(),(0,n.iD)("tr",null,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(t.N,((i,o)=>((0,n.wg)(),(0,n.iD)("td",{class:(0,d.C_)({pathEndpoints:t.matrix[s][o],blocked:t.isBlocked(s,o)}),id:`${s}-${o}`},[(0,n.wy)((0,n._)("input",{class:"matrix-checkbox","onUpdate:modelValue":e=>t.matrix[s][o]=e,onClick:(0,r.iM)((e=>t.markPoint(s,o)),["prevent"]),onMousedown:e=>t.markBlocked(s,o),onMouseup:e[4]||(e[4]=e=>t.canSelectBlockedCellByHover=!1),onMouseover:e=>t.canSelectBlockedCellByHover&&t.markBlocked(s,o),type:"checkbox"},null,40,b),[[r.e8,t.matrix[s][o]]])],10,m)))),256))])))),256))],32)]),(0,n._)("div",k,[(0,n._)("button",{class:"findPathButton",onClick:e[6]||(e[6]=(...e)=>t.createShortestPath&&t.createShortestPath(...e)),disabled:!t.start||!t.end},"Find the shortest path",8,_)])],64)}var y=i(7327),C=i(6520);i(560);class j{constructor(t){(0,y.Z)(this,"grid",void 0),(0,y.Z)(this,"shortest_path_parent_refs",{}),this.grid=t}shortestPath(t,e){let i=this.search(t,e);if(!i)return[];let r=[],n=e;while(void 0!==this.shortest_path_parent_refs[n.toString()])r.push(n),n=this.shortest_path_parent_refs[n.toString()];return r.push(n),r.reverse()}search(t,e){let i={};i[t.toString()]=!0;let r=[];for(let n of t.adjecent)this.shortest_path_parent_refs[n.toString()]=t,r.push(n);while(r.length>0){let t=[];for(let n=0;nt)),i.sort(((t,e)=>t[0]!==e[0]?t[0]-e[0]:t[1]-e[1]));for(let r=0;r=0&&e>=0&&tArray.from({length:this.N},(()=>!1))))}markBlocked(t,e){if(!this.start||!this.end)return;this.canSelectBlockedCellByHover=!0;let i=this.blocked[t]?this.blocked[t]:{};i[e]=!i[e],this.blocked[t]=i}markPoint(t,e){null===this.start?(this.start=[t,e],this.matrix[t][e]=!0):null===this.end&&(this.end=[t,e],this.matrix[t][e]=!0)}isBlocked(t,e){return!!this.blocked[t]&&!!this.blocked[t][e]}getBlockedList(){let t=this.blocked,e=Object.keys(t).flatMap((e=>Object.keys(t[parseInt(e,10)]).filter((i=>t[parseInt(e,10)][parseInt(i,10)])).map((t=>[parseInt(e,10),parseInt(t,10)]))));return console.log(e),e}clearPath(){this.start&&this.end&&this.matrix.forEach(((t,e)=>t.forEach(((t,i)=>{e===this.start[0]&&i===this.start[1]||e===this.end[0]&&i===this.end[1]||(this.matrix[e][i]=!1)}))))}async createShortestPath(){this.clearPath();let t=this.getBlockedList(),e=new Z(this.M,this.N,t),i=e.getCell(...this.start),r=e.getCell(...this.end),n=new j(e),s=n.shortestPath(i,r);const o=t=>new Promise((e=>setTimeout(e,t)));for(let l of s)this.matrix[l.x][l.y]=!0,await o(50)}}const B=(0,o.Z)(S,[["render",x]]);var z=B,O=function(t,e,i,r){var n,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(t,e,i,r);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(o=(s<3?n(o):s>3?n(e,i,o):n(e,i))||o);return s>3&&o&&Object.defineProperty(e,i,o),o};let P=class extends C.w3{};P=O([(0,C.Ei)({components:{GridComponent:z}})],P);var I=P;const D=(0,o.Z)(I,[["render",u]]);var R=D;const H=[{path:"/",name:"home",component:R}],E=(0,c.p7)({history:(0,c.PO)("/pathfinder-visualizer/"),routes:H});var V=E;(0,r.ri)(h).use(V).mount("#app")}},e={};function i(r){var n=e[r];if(void 0!==n)return n.exports;var s=e[r]={exports:{}};return t[r].call(s.exports,s,s.exports,i),s.exports}i.m=t,function(){var t=[];i.O=function(e,r,n,s){if(!r){var o=1/0;for(c=0;c=s)&&Object.keys(i.O).every((function(t){return i.O[t](r[a])}))?r.splice(a--,1):(l=!1,s0&&t[c-1][2]>s;c--)t[c]=t[c-1];t[c]=[r,n,s]}}(),function(){i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,{a:e}),e}}(),function(){i.d=function(t,e){for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){var t={143:0};i.O.j=function(e){return 0===t[e]};var e=function(e,r){var n,s,o=r[0],l=r[1],a=r[2],h=0;if(o.some((function(e){return 0!==t[e]}))){for(n in l)i.o(l,n)&&(i.m[n]=l[n]);if(a)var c=a(i)}for(e&&e(r);h\n \n\n\n\n","import { render } from \"./App.vue?vue&type=template&id=734173f6\"\nconst script = {}\n\nimport exportComponent from \"../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_GridComponent = _resolveComponent(\"GridComponent\")!\n\n return (_openBlock(), _createBlock(_component_GridComponent))\n}","\n\n","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vModelText as _vModelText, createElementVNode as _createElementVNode, withDirectives as _withDirectives, renderList as _renderList, Fragment as _Fragment, vModelCheckbox as _vModelCheckbox, withModifiers as _withModifiers, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"configuration\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = { key: 2 }\nconst _hoisted_5 = { class: \"table-container\" }\nconst _hoisted_6 = [\"id\"]\nconst _hoisted_7 = [\"onUpdate:modelValue\", \"onClick\", \"onMousedown\", \"onMouseover\"]\nconst _hoisted_8 = { class: \"configuration\" }\nconst _hoisted_9 = [\"disabled\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.start === null)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_2, \" Select the starting point\"))\n : (_ctx.end === null)\n ? (_openBlock(), _createElementBlock(\"h3\", _hoisted_3, \" Select the end point\"))\n : (_openBlock(), _createElementBlock(\"h3\", _hoisted_4, \"Click and hover to block the cell, path can't have a blocked cell\")),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"number\",\n name: \"Rows\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.M) = $event)),\n onChange: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.initializeMatrix && _ctx.initializeMatrix(...args)))\n }, null, 544), [\n [_vModelText, _ctx.M]\n ]),\n _withDirectives(_createElementVNode(\"input\", {\n type: \"number\",\n name: \"Columns\",\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.N) = $event)),\n onChange: _cache[3] || (_cache[3] = \n//@ts-ignore\n(...args) => (_ctx.initializeMatrix && _ctx.initializeMatrix(...args)))\n }, null, 544), [\n [_vModelText, _ctx.N]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"table\", {\n class: \"table\",\n onMouseleave: _cache[5] || (_cache[5] = ($event: any) => (_ctx.canSelectBlockedCellByHover = false))\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.M, (row, i) => {\n return (_openBlock(), _createElementBlock(\"tr\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.N, (col, j) => {\n return (_openBlock(), _createElementBlock(\"td\", {\n class: _normalizeClass({ pathEndpoints: _ctx.matrix[i][j], blocked: _ctx.isBlocked(i, j) }),\n id: `${i}-${j}`\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n class: \"matrix-checkbox\",\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.matrix[i][j]) = $event),\n onClick: _withModifiers(($event: any) => (_ctx.markPoint(i, j)), [\"prevent\"]),\n onMousedown: ($event: any) => (_ctx.markBlocked(i, j)),\n onMouseup: _cache[4] || (_cache[4] = ($event: any) => (_ctx.canSelectBlockedCellByHover = false)),\n onMouseover: ($event: any) => (_ctx.canSelectBlockedCellByHover && _ctx.markBlocked(i, j)),\n type: \"checkbox\"\n }, null, 40, _hoisted_7), [\n [_vModelCheckbox, _ctx.matrix[i][j]]\n ])\n ], 10, _hoisted_6))\n }), 256))\n ]))\n }), 256))\n ], 32)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"button\", {\n class: \"findPathButton\",\n onClick: _cache[6] || (_cache[6] = \n//@ts-ignore\n(...args) => (_ctx.createShortestPath && _ctx.createShortestPath(...args))),\n disabled: !!!_ctx.start || !!!_ctx.end\n }, \"Find the shortest path\", 8, _hoisted_9)\n ])\n ], 64))\n}","\n\n\n\n","import { Grid, GridCell } from '../data_structures/grid';\n\nexport class BFS {\n private grid: Grid;\n private shortest_path_parent_refs: { [key: string]: GridCell } = {};\n\n constructor(grid: Grid) {\n this.grid = grid;\n }\n\n\n public shortestPath(start: GridCell, end: GridCell) {\n let path_exist = this.search(start, end);\n\n if (!path_exist)\n return [];\n\n let path: GridCell[] = [];\n let child = end;\n\n while (this.shortest_path_parent_refs[child.toString()] !== undefined) {\n path.push(child);\n child = this.shortest_path_parent_refs[child.toString()]\n }\n path.push(child);\n\n return path.reverse();\n }\n\n\n public search(start: GridCell, end: GridCell) {\n let visited: { [key: string]: boolean } = {};\n\n visited[start.toString()] = true;\n\n let cellsToVisit: GridCell[] = [];\n\n for (let child of start.adjecent) {\n this.shortest_path_parent_refs[child.toString()] = start;\n cellsToVisit.push(child);\n }\n\n while (cellsToVisit.length > 0) {\n let nextCellsToVisit: GridCell[] = [];\n\n for (let i = 0; i < cellsToVisit.length; i++) {\n let cell: GridCell = cellsToVisit[i];\n\n if (visited[cell.toString()] !== undefined)\n continue;\n\n if (cell === end) {\n return true;\n }\n\n for (let child of cell.adjecent) {\n if (visited[child.toString()] === undefined) {\n this.shortest_path_parent_refs[child.toString()] = cell;\n nextCellsToVisit.push(child);\n }\n }\n\n visited[cell.toString()] = true;\n }\n cellsToVisit = nextCellsToVisit;\n }\n\n return false\n }\n}\n","export class GridCell {\n x: number;\n y: number;\n reachable: boolean;\n weight: number;\n adjecent: GridCell[];\n distance_from_source: number;\n\n constructor(x: number, y: number, reachable: boolean = true, weight: number = 1) {\n if (x < 0 || y < 0) {\n throw new Error(\"grid cell dimentions should be positive\")\n }\n this.x = x;\n this.y = y;\n this.reachable = reachable;\n this.weight = weight;\n this.adjecent = [];\n this.distance_from_source = Infinity;\n }\n\n toString(): string {\n return `${this.x}-${this.y}`\n }\n}\n\n\nexport class Grid {\n data: GridCell[][] = []\n row_size: number;\n col_size: number;\n\n constructor(M: number, N: number, blocked: [number, number][] = []) {\n this.row_size = M;\n this.col_size = N;\n blocked = blocked.map((val) => val) \n blocked.sort((n1, n2) => {\n if (n1[0] !== n2[0])\n return n1[0] - n2[0];\n else\n return n1[1] - n2[1];\n })\n\n for (let i = 0; i < M; i++) {\n let row: GridCell[] = [];\n for (let j = 0; j < N; j++) {\n let can_reach = true;\n if (blocked.length !== 0 && blocked[0][0] == i && blocked[0][1] == j) {\n can_reach = false;\n blocked.shift()\n }\n let cell = new GridCell(i, j, can_reach);\n row.push(cell);\n }\n this.data.push(row);\n }\n this.setAdjCells();\n }\n\n public getCell(row: number, col: number): GridCell {\n if (this.isValidIndex(row, col))\n return this.data[row][col]\n\n throw new Error(\"Invalid index\")\n }\n\n public getAllCells(): GridCell[]{\n let cells: GridCell[] = []\n for (let row of this.data) for (let cell of row) cells.push(cell);\n\n return cells;\n }\n public setCellWeight(row: number, col: number, weight: number){\n let cell = this.getCell(row, col);\n cell.weight = weight;\n }\n\n public isValidIndex(row: number, col: number): boolean {\n return (row >= 0 && col >= 0 && row < this.row_size && col < this.col_size)\n }\n\n public canReachIndex(row: number, col: number): boolean {\n if (this.isValidIndex(row, col)) {\n let cell = this.getCell(row, col);\n return cell.reachable;\n }\n\n return false\n }\n\n private setAdjCells() {\n for (let i = 0; i < this.row_size; i++) {\n for (let j = 0; j < this.col_size; j++) {\n let cell = this.data[i][j]\n\n if (!cell.reachable)\n continue\n\n if (this.canReachIndex(i - 1, j))\n cell.adjecent.push(this.getCell(i - 1, j))\n\n if (this.canReachIndex(i + 1, j))\n cell.adjecent.push(this.getCell(i + 1, j))\n\n if (this.canReachIndex(i, j - 1))\n cell.adjecent.push(this.getCell(i, j - 1))\n\n if (this.canReachIndex(i, j + 1))\n cell.adjecent.push(this.getCell(i, j + 1))\n }\n }\n }\n}\n","import { render } from \"./Grid.vue?vue&type=template&id=f02b0f2a&ts=true\"\nimport script from \"./Grid.vue?vue&type=script&lang=ts\"\nexport * from \"./Grid.vue?vue&type=script&lang=ts\"\n\nimport \"./Grid.vue?vue&type=style&index=0&id=f02b0f2a&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./PathFinder.vue?vue&type=template&id=96befaac&ts=true\"\nimport script from \"./PathFinder.vue?vue&type=script&lang=ts\"\nexport * from \"./PathFinder.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'\nimport PathFinder from '../views/PathFinder.vue';\n\nconst routes: Array = [\n {\n path: '/',\n name: 'home',\n component: PathFinder\n },\n]\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes\n})\n\nexport default router\n","import { createApp } from 'vue'\nimport App from './App.vue'\nimport router from './router'\n\ncreateApp(App).use(router).mount('#app')\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t143: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkpathfinder_visualizer\"] = self[\"webpackChunkpathfinder_visualizer\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(6077); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["_createBlock","_component_router_view","script","__exports__","render","_ctx","_cache","$props","$setup","$data","$options","_component_GridComponent","_resolveComponent","_openBlock","_hoisted_1","class","_hoisted_2","key","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_createElementBlock","_Fragment","_createElementVNode","start","end","_withDirectives","type","name","$event","M","onChange","args","initializeMatrix","_vModelText","N","onMouseleave","canSelectBlockedCellByHover","_renderList","row","i","col","j","_normalizeClass","pathEndpoints","matrix","blocked","isBlocked","id","onClick","_withModifiers","markPoint","onMousedown","markBlocked","onMouseup","onMouseover","_vModelCheckbox","createShortestPath","disabled","BFS","constructor","grid","_defineProperty","this","shortestPath","path_exist","search","path","child","undefined","shortest_path_parent_refs","toString","push","reverse","visited","cellsToVisit","adjecent","length","nextCellsToVisit","cell","GridCell","x","y","reachable","weight","Error","distance_from_source","Infinity","Grid","row_size","col_size","map","val","sort","n1","n2","can_reach","shift","data","setAdjCells","getCell","isValidIndex","getAllCells","cells","setCellWeight","canReachIndex","GridComponent","Vue","created","Array","from","column","blocked_rows","getBlockedList","obj","blocked_list","Object","keys","flatMap","outerKey","parseInt","filter","innerKey","console","log","clearPath","forEach","r","c","start_cell","end_cell","bfs","timer","ms","Promise","res","setTimeout","PathFinder","__decorate","Options","components","routes","component","router","createRouter","history","createWebHistory","process","createApp","App","use","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","exports","module","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","fulfilled","every","splice","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","g","globalThis","Function","e","window","prop","prototype","hasOwnProperty","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/js/chunk-vendors.8a33184f.js b/js/chunk-vendors.8a33184f.js deleted file mode 100644 index 53fdea7..0000000 --- a/js/chunk-vendors.8a33184f.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict";(self["webpackChunkpathfinder_visualizer"]=self["webpackChunkpathfinder_visualizer"]||[]).push([[998],{4870:function(e,t,n){n.d(t,{Bj:function(){return i},Fl:function(){return Ue},IU:function(){return ke},Jd:function(){return O},PG:function(){return be},SU:function(){return Fe},Um:function(){return me},WL:function(){return $e},X$:function(){return j},X3:function(){return xe},XI:function(){return Te},Xl:function(){return Oe},dq:function(){return Pe},iH:function(){return Re},j:function(){return C},lk:function(){return S},nZ:function(){return c},qj:function(){return ve},qq:function(){return _},yT:function(){return we}});n(560);var r=n(7139);let o;class i{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},u=e=>(e.w&v)>0,a=e=>(e.n&v)>0,f=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{("length"===n||!(0,r.yk)(n)&&n>=e)&&u.push(t)}))}else switch(void 0!==n&&u.push(c.get(n)),t){case"add":(0,r.kJ)(e)?(0,r.S0)(n)&&u.push(c.get("length")):(u.push(c.get(y)),(0,r._N)(e)&&u.push(c.get(b)));break;case"delete":(0,r.kJ)(e)||(u.push(c.get(y)),(0,r._N)(e)&&u.push(c.get(b)));break;case"set":(0,r._N)(e)&&u.push(c.get(y));break}if(1===u.length)u[0]&&P(u[0]);else{const e=[];for(const t of u)t&&e.push(...t);P(l(e))}}function P(e,t){const n=(0,r.kJ)(e)?e:[...e];for(const r of n)r.computed&&R(r,t);for(const r of n)r.computed||R(r,t)}function R(e,t){(e!==g||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const T=(0,r.fY)("__proto__,__v_isRef,__isVue"),A=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.yk)),I=F();function F(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=ke(this);for(let t=0,o=this.length;t{e[t]=function(...e){O();const n=ke(this)[t].apply(this,e);return S(),n}})),e}function M(e){const t=ke(this);return C(t,"has",e),t.hasOwnProperty(e)}class ${constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const o=this._isReadonly,i=this._shallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t&&n===(o?i?pe:fe:i?ae:ue).get(e))return e;const s=(0,r.kJ)(e);if(!o){if(s&&(0,r.RI)(I,t))return Reflect.get(I,t,n);if("hasOwnProperty"===t)return M}const c=Reflect.get(e,t,n);return((0,r.yk)(t)?A.has(t):T(t))?c:(o||C(e,"get",t),i?c:Pe(c)?s&&(0,r.S0)(t)?c:c.value:(0,r.Kn)(c)?o?ge(c):ve(c):c)}}class L extends ${constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(_e(i)&&Pe(i)&&!Pe(n))return!1;if(!this._shallow&&(we(n)||_e(n)||(i=ke(i),n=ke(n)),!(0,r.kJ)(e)&&Pe(i)&&!Pe(n)))return i.value=n,!0;const s=(0,r.kJ)(e)&&(0,r.S0)(t)?Number(t)e,V=e=>Reflect.getPrototypeOf(e);function q(e,t,n=!1,o=!1){e=e["__v_raw"];const i=ke(e),s=ke(t);n||((0,r.aU)(t,s)&&C(i,"get",t),C(i,"get",s));const{has:c}=V(i),l=o?B:n?Ce:Se;return c.call(i,t)?l(e.get(t)):c.call(i,s)?l(e.get(s)):void(e!==i&&e.get(t))}function H(e,t=!1){const n=this["__v_raw"],o=ke(n),i=ke(e);return t||((0,r.aU)(e,i)&&C(o,"has",e),C(o,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function K(e,t=!1){return e=e["__v_raw"],!t&&C(ke(e),"iterate",y),Reflect.get(e,"size",e)}function W(e){e=ke(e);const t=ke(this),n=V(t),r=n.has.call(t,e);return r||(t.add(e),j(t,"add",e,e)),this}function G(e,t){t=ke(t);const n=ke(this),{has:o,get:i}=V(n);let s=o.call(n,e);s||(e=ke(e),s=o.call(n,e));const c=i.call(n,e);return n.set(e,t),s?(0,r.aU)(t,c)&&j(n,"set",e,t,c):j(n,"add",e,t),this}function z(e){const t=ke(this),{has:n,get:r}=V(t);let o=n.call(t,e);o||(e=ke(e),o=n.call(t,e));const i=r?r.call(t,e):void 0,s=t.delete(e);return o&&j(t,"delete",e,void 0,i),s}function Z(){const e=ke(this),t=0!==e.size,n=void 0,r=e.clear();return t&&j(e,"clear",void 0,void 0,n),r}function X(e,t){return function(n,r){const o=this,i=o["__v_raw"],s=ke(i),c=t?B:e?Ce:Se;return!e&&C(s,"iterate",y),i.forEach(((e,t)=>n.call(r,c(e),c(t),o)))}}function Y(e,t,n){return function(...o){const i=this["__v_raw"],s=ke(i),c=(0,r._N)(s),l="entries"===e||e===Symbol.iterator&&c,u="keys"===e&&c,a=i[e](...o),f=n?B:t?Ce:Se;return!t&&C(s,"iterate",u?b:y),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[f(e[0]),f(e[1])]:f(e),done:t}},[Symbol.iterator](){return this}}}}function Q(e){return function(...t){return"delete"!==e&&this}}function ee(){const e={get(e){return q(this,e)},get size(){return K(this)},has:H,add:W,set:G,delete:z,clear:Z,forEach:X(!1,!1)},t={get(e){return q(this,e,!1,!0)},get size(){return K(this)},has:H,add:W,set:G,delete:z,clear:Z,forEach:X(!1,!0)},n={get(e){return q(this,e,!0)},get size(){return K(this,!0)},has(e){return H.call(this,e,!0)},add:Q("add"),set:Q("set"),delete:Q("delete"),clear:Q("clear"),forEach:X(!0,!1)},r={get(e){return q(this,e,!0,!0)},get size(){return K(this,!0)},has(e){return H.call(this,e,!0)},add:Q("add"),set:Q("set"),delete:Q("delete"),clear:Q("clear"),forEach:X(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{e[o]=Y(o,!1,!1),n[o]=Y(o,!0,!1),t[o]=Y(o,!1,!0),r[o]=Y(o,!0,!0)})),[e,n,t,r]}const[te,ne,re,oe]=ee();function ie(e,t){const n=t?e?oe:re:e?ne:te;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.RI)(n,o)&&o in t?n:t,o,i)}const se={get:ie(!1,!1)},ce={get:ie(!1,!0)},le={get:ie(!0,!1)};const ue=new WeakMap,ae=new WeakMap,fe=new WeakMap,pe=new WeakMap;function de(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function he(e){return e["__v_skip"]||!Object.isExtensible(e)?0:de((0,r.W7)(e))}function ve(e){return _e(e)?e:ye(e,!1,D,se,ue)}function me(e){return ye(e,!1,J,ce,ae)}function ge(e){return ye(e,!0,N,le,fe)}function ye(e,t,n,o,i){if(!(0,r.Kn)(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const s=i.get(e);if(s)return s;const c=he(e);if(0===c)return e;const l=new Proxy(e,2===c?o:n);return i.set(e,l),l}function be(e){return _e(e)?be(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function _e(e){return!(!e||!e["__v_isReadonly"])}function we(e){return!(!e||!e["__v_isShallow"])}function xe(e){return be(e)||_e(e)}function ke(e){const t=e&&e["__v_raw"];return t?ke(t):e}function Oe(e){return(0,r.Nj)(e,"__v_skip",!0),e}const Se=e=>(0,r.Kn)(e)?ve(e):e,Ce=e=>(0,r.Kn)(e)?ge(e):e;function Ee(e){x&&g&&(e=ke(e),E(e.dep||(e.dep=l())))}function je(e,t){e=ke(e);const n=e.dep;n&&P(n)}function Pe(e){return!(!e||!0!==e.__v_isRef)}function Re(e){return Ae(e,!1)}function Te(e){return Ae(e,!0)}function Ae(e,t){return Pe(e)?e:new Ie(e,t)}class Ie{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:ke(e),this._value=t?e:Se(e)}get value(){return Ee(this),this._value}set value(e){const t=this.__v_isShallow||we(e)||_e(e);e=t?e:ke(e),(0,r.aU)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Se(e),je(this,e))}}function Fe(e){return Pe(e)?e.value:e}const Me={get:(e,t,n)=>Fe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function $e(e){return be(e)?e:new Proxy(e,Me)}class Le{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this["__v_isReadonly"]=!1,this._dirty=!0,this.effect=new _(e,(()=>{this._dirty||(this._dirty=!0,je(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const e=ke(this);return Ee(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function Ue(e,t,n=!1){let o,i;const s=(0,r.mf)(e);s?(o=e,i=r.dG):(o=e.get,i=e.set);const c=new Le(o,i,s||!i,n);return c}},3396:function(e,t,n){n.d(t,{$d:function(){return s},FN:function(){return gn},Fl:function(){return $n},HY:function(){return Lt},JJ:function(){return ut},Ko:function(){return Ue},P$:function(){return ue},Q6:function(){return ve},U2:function(){return fe},Us:function(){return Rt},Wm:function(){return nn},Y3:function(){return y},Y8:function(){return ie},YP:function(){return Z},_:function(){return tn},aZ:function(){return me},f3:function(){return at},h:function(){return Ln},iD:function(){return Gt},ic:function(){return Te},j4:function(){return zt},nJ:function(){return ce},nK:function(){return he},up:function(){return V},wg:function(){return Vt},wy:function(){return te}});n(560);var r=n(4870),o=n(7139);function i(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){c(i,t,n)}return o}function s(e,t,n,r){if((0,o.mf)(e)){const s=i(e,t,n,r);return s&&(0,o.tI)(s)&&s.catch((e=>{c(e,t,n)})),s}const l=[];for(let o=0;o>>1,o=f[r],i=C(o);ip&&f.splice(t,1)}function k(e){(0,o.kJ)(e)?d.push(...e):h&&h.includes(e,e.allowRecurse?v+1:v)||d.push(e),w()}function O(e,t=(u?p+1:0)){for(0;tC(e)-C(t))),v=0;vnull==e.id?1/0:e.id,E=(e,t)=>{const n=C(e)-C(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function j(e){a=!1,u=!0,f.sort(E);o.dG;try{for(p=0;p(0,o.HD)(e)?e.trim():e))),t&&(i=n.map(o.h5))}let u;let a=r[u=(0,o.hR)(t)]||r[u=(0,o.hR)((0,o._A)(t))];!a&&c&&(a=r[u=(0,o.hR)((0,o.rs)(t))]),a&&s(a,e,6,i);const f=r[u+"Once"];if(f){if(e.emitted){if(e.emitted[u])return}else e.emitted={};e.emitted[u]=!0,s(f,e,6,i)}}function R(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(void 0!==i)return i;const s=e.emits;let c={},l=!1;if(!(0,o.mf)(e)){const r=e=>{const n=R(e,t,!0);n&&(l=!0,(0,o.l7)(c,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return s||l?((0,o.kJ)(s)?s.forEach((e=>c[e]=null)):(0,o.l7)(c,s),(0,o.Kn)(e)&&r.set(e,c),c):((0,o.Kn)(e)&&r.set(e,null),null)}function T(e,t){return!(!e||!(0,o.F7)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,o.RI)(e,t[0].toLowerCase()+t.slice(1))||(0,o.RI)(e,(0,o.rs)(t))||(0,o.RI)(e,t))}let A=null,I=null;function F(e){const t=A;return A=e,I=e&&e.type.__scopeId||null,t}function M(e,t=A,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Kt(-1);const o=F(t);let i;try{i=e(...n)}finally{F(o),r._d&&Kt(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function $(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[l],slots:u,attrs:a,emit:f,render:p,renderCache:d,data:h,setupState:v,ctx:m,inheritAttrs:g}=e;let y,b;const _=F(e);try{if(4&n.shapeFlag){const e=i||r;y=ln(p.call(e,e,d,s,v,h,m)),b=a}else{const e=t;0,y=ln(e.length>1?e(s,{attrs:a,slots:u,emit:f}):e(s,null)),b=t.props?a:L(a)}}catch(x){Jt.length=0,c(x,e,1),y=nn(Dt)}let w=y;if(b&&!1!==g){const e=Object.keys(b),{shapeFlag:t}=w;e.length&&7&t&&(l&&e.some(o.tR)&&(b=U(b,l)),w=sn(w,b))}return n.dirs&&(w=sn(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),y=w,F(_),y}const L=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,o.F7)(n))&&((t||(t={}))[n]=e[n]);return t},U=(e,t)=>{const n={};for(const r in e)(0,o.tR)(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function D(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:c,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!o&&!c||c&&c.$stable)||r!==s&&(r?!s||N(r,s,u):!!s);if(1024&l)return!0;if(16&l)return r?N(r,s,u):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function G(e,t){t&&t.pendingBranch?(0,o.kJ)(e)?t.effects.push(...e):t.effects.push(e):k(e)}const z={};function Z(e,t,n){return X(e,t,n)}function X(e,t,{immediate:n,deep:c,flush:l,onTrack:u,onTrigger:a}=o.kT){var f;const p=(0,r.nZ)()===(null==(f=mn)?void 0:f.scope)?mn:null;let d,h,v=!1,m=!1;if((0,r.dq)(e)?(d=()=>e.value,v=(0,r.yT)(e)):(0,r.PG)(e)?(d=()=>e,c=!0):(0,o.kJ)(e)?(m=!0,v=e.some((e=>(0,r.PG)(e)||(0,r.yT)(e))),d=()=>e.map((e=>(0,r.dq)(e)?e.value:(0,r.PG)(e)?ee(e):(0,o.mf)(e)?i(e,p,2):void 0))):d=(0,o.mf)(e)?t?()=>i(e,p,2):()=>{if(!p||!p.isUnmounted)return h&&h(),s(e,p,3,[y])}:o.dG,t&&c){const e=d;d=()=>ee(e())}let g,y=e=>{h=k.onStop=()=>{i(e,p,4)}};if(Cn){if(y=o.dG,t?n&&s(t,p,3,[d(),m?[]:void 0,y]):d(),"sync"!==l)return o.dG;{const e=Dn();g=e.__watcherHandles||(e.__watcherHandles=[])}}let b=m?new Array(e.length).fill(z):z;const w=()=>{if(k.active)if(t){const e=k.run();(c||v||(m?e.some(((e,t)=>(0,o.aU)(e,b[t]))):(0,o.aU)(e,b)))&&(h&&h(),s(t,p,3,[e,b===z?void 0:m&&b[0]===z?[]:b,y]),b=e)}else k.run()};let x;w.allowRecurse=!!t,"sync"===l?x=w:"post"===l?x=()=>Pt(w,p&&p.suspense):(w.pre=!0,p&&(w.id=p.uid),x=()=>_(w));const k=new r.qq(d,x);t?n?w():b=k.run():"post"===l?Pt(k.run.bind(k),p&&p.suspense):k.run();const O=()=>{k.stop(),p&&p.scope&&(0,o.Od)(p.scope.effects,k)};return g&&g.push(O),O}function Y(e,t,n){const r=this.proxy,i=(0,o.HD)(e)?e.includes(".")?Q(r,e):()=>r[e]:e.bind(r,r);let s;(0,o.mf)(t)?s=t:(s=t.handler,n=t);const c=mn;wn(this);const l=X(i,s.bind(r),n);return c?wn(c):xn(),l}function Q(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{ee(e,t)}));else if((0,o.PO)(e))for(const n in e)ee(e[n],t);return e}function te(e,t){const n=A;if(null===n)return e;const r=In(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0})),Ae((()=>{e.isUnmounting=!0})),e}const se=[Function,Array],ce={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:se,onEnter:se,onAfterEnter:se,onEnterCancelled:se,onBeforeLeave:se,onLeave:se,onAfterLeave:se,onLeaveCancelled:se,onBeforeAppear:se,onAppear:se,onAfterAppear:se,onAppearCancelled:se},le={name:"BaseTransition",props:ce,setup(e,{slots:t}){const n=gn(),o=ie();let i;return()=>{const s=t.default&&ve(t.default(),!0);if(!s||!s.length)return;let c=s[0];if(s.length>1){let e=!1;for(const t of s)if(t.type!==Dt){0,c=t,e=!0;break}}const l=(0,r.IU)(e),{mode:u}=l;if(o.isLeaving)return pe(c);const a=de(c);if(!a)return pe(c);const f=fe(a,l,o,n);he(a,f);const p=n.subTree,d=p&&de(p);let h=!1;const{getTransitionKey:v}=a.type;if(v){const e=v();void 0===i?i=e:e!==i&&(i=e,h=!0)}if(d&&d.type!==Dt&&(!Xt(a,d)||h)){const e=fe(d,l,o,n);if(he(d,e),"out-in"===u)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},pe(c);"in-out"===u&&a.type!==Dt&&(e.delayLeave=(e,t,n)=>{const r=ae(o,d);r[String(d.key)]=d,e[re]=()=>{t(),e[re]=void 0,delete f.delayedLeave},f.delayedLeave=n})}return c}}},ue=le;function ae(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 fe(e,t,n,r){const{appear:i,mode:c,persisted:l=!1,onBeforeEnter:u,onEnter:a,onAfterEnter:f,onEnterCancelled:p,onBeforeLeave:d,onLeave:h,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=t,w=String(e.key),x=ae(n,e),k=(e,t)=>{e&&s(e,r,9,t)},O=(e,t)=>{const n=t[1];k(e,t),(0,o.kJ)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:c,persisted:l,beforeEnter(t){let r=u;if(!n.isMounted){if(!i)return;r=g||u}t[re]&&t[re](!0);const o=x[w];o&&Xt(e,o)&&o.el[re]&&o.el[re](),k(r,[t])},enter(e){let t=a,r=f,o=p;if(!n.isMounted){if(!i)return;t=y||a,r=b||f,o=_||p}let s=!1;const c=e[oe]=t=>{s||(s=!0,k(t?o:r,[e]),S.delayedLeave&&S.delayedLeave(),e[oe]=void 0)};t?O(t,[e,c]):c()},leave(t,r){const o=String(e.key);if(t[oe]&&t[oe](!0),n.isUnmounting)return r();k(d,[t]);let i=!1;const s=t[re]=n=>{i||(i=!0,r(),k(n?m:v,[t]),t[re]=void 0,x[o]===e&&delete x[o])};x[o]=e,h?O(h,[t,s]):s()},clone(e){return fe(e,t,n,r)}};return S}function pe(e){if(ye(e))return e=sn(e),e.children=null,e}function de(e){return ye(e)?e.children?e.children[0]:void 0:e}function he(e,t){6&e.shapeFlag&&e.component?he(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 ve(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;i(0,o.l7)({name:e.name},t,{setup:e}))():e}const ge=e=>!!e.type.__asyncLoader -/*! #__NO_SIDE_EFFECTS__ */;const ye=e=>e.type.__isKeepAlive;RegExp,RegExp;function be(e,t){return(0,o.kJ)(e)?e.some((e=>be(e,t))):(0,o.HD)(e)?e.split(",").includes(t):!!(0,o.Kj)(e)&&e.test(t)}function _e(e,t){xe(e,"a",t)}function we(e,t){xe(e,"da",t)}function xe(e,t,n=mn){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(Ce(t,r,n),n){let e=n.parent;while(e&&e.parent)ye(e.parent.vnode)&&ke(r,t,n,e),e=e.parent}}function ke(e,t,n,r){const i=Ce(t,e,r,!0);Ie((()=>{(0,o.Od)(r[t],i)}),n)}function Oe(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Se(e){return 128&e.shapeFlag?e.ssContent:e}function Ce(e,t,n=mn,o=!1){if(n){const i=n[e]||(n[e]=[]),c=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;(0,r.Jd)(),wn(n);const i=s(t,n,e,o);return xn(),(0,r.lk)(),i});return o?i.unshift(c):i.push(c),c}}const Ee=e=>(t,n=mn)=>(!Cn||"sp"===e)&&Ce(e,((...e)=>t(...e)),n),je=Ee("bm"),Pe=Ee("m"),Re=Ee("bu"),Te=Ee("u"),Ae=Ee("bum"),Ie=Ee("um"),Fe=Ee("sp"),Me=Ee("rtg"),$e=Ee("rtc");function Le(e,t=mn){Ce("ec",e,t)}function Ue(e,t,n,r){let i;const s=n&&n[r];if((0,o.kJ)(e)||(0,o.HD)(e)){i=new Array(e.length);for(let n=0,r=e.length;nt(e,n,void 0,s&&s[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let r=0,o=n.length;re?kn(e)?In(e)||e.proxy:De(e.parent):null,Ne=(0,o.l7)(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=>De(e.parent),$root:e=>De(e.root),$emit:e=>e.emit,$options:e=>ze(e),$forceUpdate:e=>e.f||(e.f=()=>_(e.update)),$nextTick:e=>e.n||(e.n=y.bind(e.proxy)),$watch:e=>Y.bind(e)}),Je=(e,t)=>e!==o.kT&&!e.__isScriptSetup&&(0,o.RI)(e,t),Be={get({_:e},t){const{ctx:n,setupState:i,data:s,props:c,accessCache:l,type:u,appContext:a}=e;let f;if("$"!==t[0]){const r=l[t];if(void 0!==r)switch(r){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return c[t]}else{if(Je(i,t))return l[t]=1,i[t];if(s!==o.kT&&(0,o.RI)(s,t))return l[t]=2,s[t];if((f=e.propsOptions[0])&&(0,o.RI)(f,t))return l[t]=3,c[t];if(n!==o.kT&&(0,o.RI)(n,t))return l[t]=4,n[t];qe&&(l[t]=0)}}const p=Ne[t];let d,h;return p?("$attrs"===t&&(0,r.j)(e,"get",t),p(e)):(d=u.__cssModules)&&(d=d[t])?d:n!==o.kT&&(0,o.RI)(n,t)?(l[t]=4,n[t]):(h=a.config.globalProperties,(0,o.RI)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return Je(i,t)?(i[t]=n,!0):r!==o.kT&&(0,o.RI)(r,t)?(r[t]=n,!0):!(0,o.RI)(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},c){let l;return!!n[c]||e!==o.kT&&(0,o.RI)(e,c)||Je(t,c)||(l=s[0])&&(0,o.RI)(l,c)||(0,o.RI)(r,c)||(0,o.RI)(Ne,c)||(0,o.RI)(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,o.RI)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ve(e){return(0,o.kJ)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let qe=!0;function He(e){const t=ze(e),n=e.proxy,i=e.ctx;qe=!1,t.beforeCreate&&We(t.beforeCreate,e,"bc");const{data:s,computed:c,methods:l,watch:u,provide:a,inject:f,created:p,beforeMount:d,mounted:h,beforeUpdate:v,updated:m,activated:g,deactivated:y,beforeDestroy:b,beforeUnmount:_,destroyed:w,unmounted:x,render:k,renderTracked:O,renderTriggered:S,errorCaptured:C,serverPrefetch:E,expose:j,inheritAttrs:P,components:R,directives:T,filters:A}=t,I=null;if(f&&Ke(f,i,I),l)for(const r in l){const e=l[r];(0,o.mf)(e)&&(i[r]=e.bind(n))}if(s){0;const t=s.call(n,n);0,(0,o.Kn)(t)&&(e.data=(0,r.qj)(t))}if(qe=!0,c)for(const r in c){const e=c[r],t=(0,o.mf)(e)?e.bind(n,n):(0,o.mf)(e.get)?e.get.bind(n,n):o.dG;0;const s=!(0,o.mf)(e)&&(0,o.mf)(e.set)?e.set.bind(n):o.dG,l=$n({get:t,set:s});Object.defineProperty(i,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(u)for(const r in u)Ge(u[r],i,n,r);if(a){const e=(0,o.mf)(a)?a.call(n):a;Reflect.ownKeys(e).forEach((t=>{ut(t,e[t])}))}function F(e,t){(0,o.kJ)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(p&&We(p,e,"c"),F(je,d),F(Pe,h),F(Re,v),F(Te,m),F(_e,g),F(we,y),F(Le,C),F($e,O),F(Me,S),F(Ae,_),F(Ie,x),F(Fe,E),(0,o.kJ)(j))if(j.length){const t=e.exposed||(e.exposed={});j.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===o.dG&&(e.render=k),null!=P&&(e.inheritAttrs=P),R&&(e.components=R),T&&(e.directives=T)}function Ke(e,t,n=o.dG){(0,o.kJ)(e)&&(e=et(e));for(const i in e){const n=e[i];let s;s=(0,o.Kn)(n)?"default"in n?at(n.from||i,n.default,!0):at(n.from||i):at(n),(0,r.dq)(s)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e}):t[i]=s}}function We(e,t,n){s((0,o.kJ)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ge(e,t,n,r){const i=r.includes(".")?Q(n,r):()=>n[r];if((0,o.HD)(e)){const n=t[e];(0,o.mf)(n)&&Z(i,n)}else if((0,o.mf)(e))Z(i,e.bind(n));else if((0,o.Kn)(e))if((0,o.kJ)(e))e.forEach((e=>Ge(e,t,n,r)));else{const r=(0,o.mf)(e.handler)?e.handler.bind(n):t[e.handler];(0,o.mf)(r)&&Z(i,r,e)}else 0}function ze(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:c}}=e.appContext,l=s.get(t);let u;return l?u=l:i.length||n||r?(u={},i.length&&i.forEach((e=>Ze(u,e,c,!0))),Ze(u,t,c)):u=t,(0,o.Kn)(t)&&s.set(t,u),u}function Ze(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Ze(e,i,n,!0),o&&o.forEach((t=>Ze(e,t,n,!0)));for(const s in t)if(r&&"expose"===s);else{const r=Xe[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const Xe={data:Ye,props:rt,emits:rt,methods:nt,computed:nt,beforeCreate:tt,created:tt,beforeMount:tt,mounted:tt,beforeUpdate:tt,updated:tt,beforeDestroy:tt,beforeUnmount:tt,destroyed:tt,unmounted:tt,activated:tt,deactivated:tt,errorCaptured:tt,serverPrefetch:tt,components:nt,directives:nt,watch:ot,provide:Ye,inject:Qe};function Ye(e,t){return t?e?function(){return(0,o.l7)((0,o.mf)(e)?e.call(this,this):e,(0,o.mf)(t)?t.call(this,this):t)}:t:e}function Qe(e,t){return nt(et(e),et(t))}function et(e){if((0,o.kJ)(e)){const t={};for(let n=0;n1)return n&&(0,o.mf)(t)?t.call(r&&r.proxy):t}else 0}function ft(e,t,n,i=!1){const s={},c={};(0,o.Nj)(c,Yt,1),e.propsDefaults=Object.create(null),dt(e,t,s,c);for(const r in e.propsOptions[0])r in s||(s[r]=void 0);n?e.props=i?s:(0,r.Um)(s):e.type.props?e.props=s:e.props=c,e.attrs=c}function pt(e,t,n,i){const{props:s,attrs:c,vnode:{patchFlag:l}}=e,u=(0,r.IU)(s),[a]=e.propsOptions;let f=!1;if(!(i||l>0)||16&l){let r;dt(e,t,s,c)&&(f=!0);for(const i in u)t&&((0,o.RI)(t,i)||(r=(0,o.rs)(i))!==i&&(0,o.RI)(t,r))||(a?!n||void 0===n[i]&&void 0===n[r]||(s[i]=ht(a,u,i,void 0,e,!0)):delete s[i]);if(c!==u)for(const e in c)t&&(0,o.RI)(t,e)||(delete c[e],f=!0)}else if(8&l){const n=e.vnode.dynamicProps;for(let r=0;r{u=!0;const[n,r]=vt(e,t,!0);(0,o.l7)(c,n),r&&l.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!s&&!u)return(0,o.Kn)(e)&&r.set(e,o.Z6),o.Z6;if((0,o.kJ)(s))for(let f=0;f-1,r[1]=n<0||e-1||(0,o.RI)(r,"default"))&&l.push(t)}}}}const a=[c,l];return(0,o.Kn)(e)&&r.set(e,a),a}function mt(e){return"$"!==e[0]}function gt(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function yt(e,t){return gt(e)===gt(t)}function bt(e,t){return(0,o.kJ)(t)?t.findIndex((t=>yt(t,e))):(0,o.mf)(t)&&yt(t,e)?0:-1}const _t=e=>"_"===e[0]||"$stable"===e,wt=e=>(0,o.kJ)(e)?e.map(ln):[ln(e)],xt=(e,t,n)=>{if(t._n)return t;const r=M(((...e)=>wt(t(...e))),n);return r._c=!1,r},kt=(e,t,n)=>{const r=e._ctx;for(const i in e){if(_t(i))continue;const n=e[i];if((0,o.mf)(n))t[i]=xt(i,n,r);else if(null!=n){0;const e=wt(n);t[i]=()=>e}}},Ot=(e,t)=>{const n=wt(t);e.slots.default=()=>n},St=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=(0,r.IU)(t),(0,o.Nj)(t,"_",n)):kt(t,e.slots={})}else e.slots={},t&&Ot(e,t);(0,o.Nj)(e.slots,Yt,1)},Ct=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,c=o.kT;if(32&r.shapeFlag){const e=t._;e?n&&1===e?s=!1:((0,o.l7)(i,t),n||1!==e||delete i._):(s=!t.$stable,kt(t,i)),c=t}else t&&(Ot(e,t),c={default:1});if(s)for(const o in i)_t(o)||null!=c[o]||delete i[o]};function Et(e,t,n,s,c=!1){if((0,o.kJ)(e))return void e.forEach(((e,r)=>Et(e,t&&((0,o.kJ)(t)?t[r]:t),n,s,c)));if(ge(s)&&!c)return;const l=4&s.shapeFlag?In(s.component)||s.component.proxy:s.el,u=c?null:l,{i:a,r:f}=e;const p=t&&t.r,d=a.refs===o.kT?a.refs={}:a.refs,h=a.setupState;if(null!=p&&p!==f&&((0,o.HD)(p)?(d[p]=null,(0,o.RI)(h,p)&&(h[p]=null)):(0,r.dq)(p)&&(p.value=null)),(0,o.mf)(f))i(f,a,12,[u,d]);else{const t=(0,o.HD)(f),i=(0,r.dq)(f);if(t||i){const r=()=>{if(e.f){const n=t?(0,o.RI)(h,f)?h[f]:d[f]:f.value;c?(0,o.kJ)(n)&&(0,o.Od)(n,l):(0,o.kJ)(n)?n.includes(l)||n.push(l):t?(d[f]=[l],(0,o.RI)(h,f)&&(h[f]=d[f])):(f.value=[l],e.k&&(d[e.k]=f.value))}else t?(d[f]=u,(0,o.RI)(h,f)&&(h[f]=u)):i&&(f.value=u,e.k&&(d[e.k]=u))};u?(r.id=-1,Pt(r,n)):r()}else 0}}function jt(){}const Pt=G;function Rt(e){return Tt(e)}function Tt(e,t){jt();const n=(0,o.E9)();n.__VUE__=!0;const{insert:i,remove:s,patchProp:c,createElement:l,createText:u,createComment:a,setText:f,setElementText:p,parentNode:d,nextSibling:h,setScopeId:v=o.dG,insertStaticContent:m}=e,g=(e,t,n,r=null,o=null,i=null,s=!1,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Xt(e,t)&&(r=Y(e),W(e,o,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:u,ref:a,shapeFlag:f}=t;switch(u){case Ut:y(e,t,n,r);break;case Dt:b(e,t,n,r);break;case Nt:null==e&&w(t,n,r,s);break;case Lt:F(e,t,n,r,o,i,s,c,l);break;default:1&f?E(e,t,n,r,o,i,s,c,l):6&f?M(e,t,n,r,o,i,s,c,l):(64&f||128&f)&&u.process(e,t,n,r,o,i,s,c,l,ee)}null!=a&&o&&Et(a,e&&e.ref,i,t||e,!t)},y=(e,t,n,r)=>{if(null==e)i(t.el=u(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{null==e?i(t.el=a(t.children||""),n,r):t.el=e.el},w=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},k=({el:e,anchor:t},n,r)=>{let o;while(e&&e!==t)o=h(e),i(e,n,r),e=o;i(t,n,r)},C=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=h(e),s(e),e=n;s(t)},E=(e,t,n,r,o,i,s,c,l)=>{s=s||"svg"===t.type,null==e?j(t,n,r,o,i,s,c,l):T(e,t,o,i,s,c,l)},j=(e,t,n,r,s,u,a,f)=>{let d,h;const{type:v,props:m,shapeFlag:g,transition:y,dirs:b}=e;if(d=e.el=l(e.type,u,m&&m.is,m),8&g?p(d,e.children):16&g&&R(e.children,d,null,r,s,u&&"foreignObject"!==v,a,f),b&&ne(e,null,r,"created"),P(d,e,e.scopeId,a,r),m){for(const t in m)"value"===t||(0,o.Gg)(t)||c(d,t,null,m[t],u,e.children,r,s,X);"value"in m&&c(d,"value",null,m.value),(h=m.onVnodeBeforeMount)&&pn(h,r,e)}b&&ne(e,null,r,"beforeMount");const _=It(s,y);_&&y.beforeEnter(d),i(d,t,n),((h=m&&m.onVnodeMounted)||_||b)&&Pt((()=>{h&&pn(h,r,e),_&&y.enter(d),b&&ne(e,null,r,"mounted")}),s)},P=(e,t,n,r,o)=>{if(n&&v(e,n),r)for(let i=0;i{for(let u=l;u{const u=t.el=e.el;let{patchFlag:a,dynamicChildren:f,dirs:d}=t;a|=16&e.patchFlag;const h=e.props||o.kT,v=t.props||o.kT;let m;n&&At(n,!1),(m=v.onVnodeBeforeUpdate)&&pn(m,n,t,e),d&&ne(t,e,n,"beforeUpdate"),n&&At(n,!0);const g=i&&"foreignObject"!==t.type;if(f?A(e.dynamicChildren,f,u,n,r,g,s):l||V(e,t,u,null,n,r,g,s,!1),a>0){if(16&a)I(u,t,h,v,n,r,i);else if(2&a&&h.class!==v.class&&c(u,"class",null,v.class,i),4&a&&c(u,"style",h.style,v.style,i),8&a){const o=t.dynamicProps;for(let t=0;t{m&&pn(m,n,t,e),d&&ne(t,e,n,"updated")}),r)},A=(e,t,n,r,o,i,s)=>{for(let c=0;c{if(n!==r){if(n!==o.kT)for(const u in n)(0,o.Gg)(u)||u in r||c(e,u,n[u],null,l,t.children,i,s,X);for(const u in r){if((0,o.Gg)(u))continue;const a=r[u],f=n[u];a!==f&&"value"!==u&&c(e,u,f,a,l,t.children,i,s,X)}"value"in r&&c(e,"value",n.value,r.value)}},F=(e,t,n,r,o,s,c,l,a)=>{const f=t.el=e?e.el:u(""),p=t.anchor=e?e.anchor:u("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:v}=t;v&&(l=l?l.concat(v):v),null==e?(i(f,n,r),i(p,n,r),R(t.children,n,p,o,s,c,l,a)):d>0&&64&d&&h&&e.dynamicChildren?(A(e.dynamicChildren,h,n,o,s,c,l),(null!=t.key||o&&t===o.subTree)&&Ft(e,t,!0)):V(e,t,n,p,o,s,c,l,a)},M=(e,t,n,r,o,i,s,c,l)=>{t.slotScopeIds=c,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,s,l):L(t,n,r,o,i,s,l):U(e,t,l)},L=(e,t,n,r,o,i,s)=>{const c=e.component=vn(e,r,o);if(ye(e)&&(c.ctx.renderer=ee),En(c),c.asyncDep){if(o&&o.registerDep(c,N),!e.el){const e=c.subTree=nn(Dt);b(null,e,t,n)}}else N(c,e,t,n,o,i,s)},U=(e,t,n)=>{const r=t.component=e.component;if(D(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void B(r,t,n);r.next=t,x(r.update),r.update()}else t.el=e.el,r.vnode=t},N=(e,t,n,i,s,c,l)=>{const u=()=>{if(e.isMounted){let t,{next:n,bu:r,u:i,parent:u,vnode:a}=e,f=n;0,At(e,!1),n?(n.el=a.el,B(e,n,l)):n=a,r&&(0,o.ir)(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&pn(t,u,n,a),At(e,!0);const p=$(e);0;const h=e.subTree;e.subTree=p,g(h,p,d(h.el),Y(h),e,s,c),n.el=p.el,null===f&&J(e,p.el),i&&Pt(i,s),(t=n.props&&n.props.onVnodeUpdated)&&Pt((()=>pn(t,u,n,a)),s)}else{let r;const{el:l,props:u}=t,{bm:a,m:f,parent:p}=e,d=ge(t);if(At(e,!1),a&&(0,o.ir)(a),!d&&(r=u&&u.onVnodeBeforeMount)&&pn(r,p,t),At(e,!0),l&&re){const n=()=>{e.subTree=$(e),re(l,e.subTree,e,s,null)};d?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=$(e);0,g(null,r,n,i,e,s,c),t.el=r.el}if(f&&Pt(f,s),!d&&(r=u&&u.onVnodeMounted)){const e=t;Pt((()=>pn(r,p,e)),s)}(256&t.shapeFlag||p&&ge(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&Pt(e.a,s),e.isMounted=!0,t=n=i=null}},a=e.effect=new r.qq(u,(()=>_(f)),e.scope),f=e.update=()=>a.run();f.id=e.uid,At(e,!0),f()},B=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,pt(e,t.props,o,n),Ct(e,t.children,n),(0,r.Jd)(),O(),(0,r.lk)()},V=(e,t,n,r,o,i,s,c,l=!1)=>{const u=e&&e.children,a=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:h}=t;if(d>0){if(128&d)return void H(u,f,n,r,o,i,s,c,l);if(256&d)return void q(u,f,n,r,o,i,s,c,l)}8&h?(16&a&&X(u,o,i),f!==u&&p(n,f)):16&a?16&h?H(u,f,n,r,o,i,s,c,l):X(u,o,i,!0):(8&a&&p(n,""),16&h&&R(f,n,r,o,i,s,c,l))},q=(e,t,n,r,i,s,c,l,u)=>{e=e||o.Z6,t=t||o.Z6;const a=e.length,f=t.length,p=Math.min(a,f);let d;for(d=0;df?X(e,i,s,!0,!1,p):R(t,n,r,i,s,c,l,u,p)},H=(e,t,n,r,i,s,c,l,u)=>{let a=0;const f=t.length;let p=e.length-1,d=f-1;while(a<=p&&a<=d){const r=e[a],o=t[a]=u?un(t[a]):ln(t[a]);if(!Xt(r,o))break;g(r,o,n,null,i,s,c,l,u),a++}while(a<=p&&a<=d){const r=e[p],o=t[d]=u?un(t[d]):ln(t[d]);if(!Xt(r,o))break;g(r,o,n,null,i,s,c,l,u),p--,d--}if(a>p){if(a<=d){const e=d+1,o=ed)while(a<=p)W(e[a],i,s,!0),a++;else{const h=a,v=a,m=new Map;for(a=v;a<=d;a++){const e=t[a]=u?un(t[a]):ln(t[a]);null!=e.key&&m.set(e.key,a)}let y,b=0;const _=d-v+1;let w=!1,x=0;const k=new Array(_);for(a=0;a<_;a++)k[a]=0;for(a=h;a<=p;a++){const r=e[a];if(b>=_){W(r,i,s,!0);continue}let o;if(null!=r.key)o=m.get(r.key);else for(y=v;y<=d;y++)if(0===k[y-v]&&Xt(r,t[y])){o=y;break}void 0===o?W(r,i,s,!0):(k[o-v]=a+1,o>=x?x=o:w=!0,g(r,t[o],n,null,i,s,c,l,u),b++)}const O=w?Mt(k):o.Z6;for(y=O.length-1,a=_-1;a>=0;a--){const e=v+a,o=t[e],p=e+1{const{el:s,type:c,transition:l,children:u,shapeFlag:a}=e;if(6&a)return void K(e.component.subTree,t,n,r);if(128&a)return void e.suspense.move(t,n,r);if(64&a)return void c.move(e,t,n,ee);if(c===Lt){i(s,t,n);for(let e=0;el.enter(s)),o);else{const{leave:e,delayLeave:r,afterLeave:o}=l,c=()=>i(s,t,n),u=()=>{e(s,(()=>{c(),o&&o()}))};r?r(s,c,u):u()}else i(s,t,n)},W=(e,t,n,r=!1,o=!1)=>{const{type:i,props:s,ref:c,children:l,dynamicChildren:u,shapeFlag:a,patchFlag:f,dirs:p}=e;if(null!=c&&Et(c,null,n,e,!0),256&a)return void t.ctx.deactivate(e);const d=1&a&&p,h=!ge(e);let v;if(h&&(v=s&&s.onVnodeBeforeUnmount)&&pn(v,t,e),6&a)Z(e.component,n,r);else{if(128&a)return void e.suspense.unmount(n,r);d&&ne(e,null,t,"beforeUnmount"),64&a?e.type.remove(e,t,n,o,ee,r):u&&(i!==Lt||f>0&&64&f)?X(u,t,n,!1,!0):(i===Lt&&384&f||!o&&16&a)&&X(l,t,n),r&&G(e)}(h&&(v=s&&s.onVnodeUnmounted)||d)&&Pt((()=>{v&&pn(v,t,e),d&&ne(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===Lt)return void z(n,r);if(t===Nt)return void C(e);const i=()=>{s(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,s=()=>t(n,i);r?r(e.el,i,s):s()}else i()},z=(e,t)=>{let n;while(e!==t)n=h(e),s(e),e=n;s(t)},Z=(e,t,n)=>{const{bum:r,scope:i,update:s,subTree:c,um:l}=e;r&&(0,o.ir)(r),i.stop(),s&&(s.active=!1,W(c,e,t,n)),l&&Pt(l,t),Pt((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},X=(e,t,n,r=!1,o=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():h(e.anchor||e.el),Q=(e,t,n)=>{null==e?t._vnode&&W(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),O(),S(),t._vnode=e},ee={p:g,um:W,m:K,r:G,mt:L,mc:R,pc:V,pbc:A,n:Y,o:e};let te,re;return t&&([te,re]=t(ee)),{render:Q,hydrate:te,createApp:ct(Q,te)}}function At({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function It(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ft(e,t,n=!1){const r=e.children,i=t.children;if((0,o.kJ)(r)&&(0,o.kJ)(i))for(let o=0;o>1,e[n[c]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];while(i-- >0)n[i]=s,s=t[s];return n}const $t=e=>e.__isTeleport;const Lt=Symbol.for("v-fgt"),Ut=Symbol.for("v-txt"),Dt=Symbol.for("v-cmt"),Nt=Symbol.for("v-stc"),Jt=[];let Bt=null;function Vt(e=!1){Jt.push(Bt=e?null:[])}function qt(){Jt.pop(),Bt=Jt[Jt.length-1]||null}let Ht=1;function Kt(e){Ht+=e}function Wt(e){return e.dynamicChildren=Ht>0?Bt||o.Z6:null,qt(),Ht>0&&Bt&&Bt.push(e),e}function Gt(e,t,n,r,o,i){return Wt(tn(e,t,n,r,o,i,!0))}function zt(e,t,n,r,o){return Wt(nn(e,t,n,r,o,!0))}function Zt(e){return!!e&&!0===e.__v_isVNode}function Xt(e,t){return e.type===t.type&&e.key===t.key}const Yt="__vInternal",Qt=({key:e})=>null!=e?e:null,en=({ref:e,ref_key:t,ref_for:n})=>("number"===typeof e&&(e=""+e),null!=e?(0,o.HD)(e)||(0,r.dq)(e)||(0,o.mf)(e)?{i:A,r:e,k:t,f:!!n}:e:null);function tn(e,t=null,n=null,r=0,i=null,s=(e===Lt?0:1),c=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qt(t),ref:t&&en(t),scopeId:I,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:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:A};return l?(an(u,n),128&s&&e.normalize(u)):n&&(u.shapeFlag|=(0,o.HD)(n)?8:16),Ht>0&&!c&&Bt&&(u.patchFlag>0||6&s)&&32!==u.patchFlag&&Bt.push(u),u}const nn=rn;function rn(e,t=null,n=null,i=0,s=null,c=!1){if(e&&e!==q||(e=Dt),Zt(e)){const r=sn(e,t,!0);return n&&an(r,n),Ht>0&&!c&&Bt&&(6&r.shapeFlag?Bt[Bt.indexOf(e)]=r:Bt.push(r)),r.patchFlag|=-2,r}if(Mn(e)&&(e=e.__vccOpts),t){t=on(t);let{class:e,style:n}=t;e&&!(0,o.HD)(e)&&(t.class=(0,o.C_)(e)),(0,o.Kn)(n)&&((0,r.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),t.style=(0,o.j5)(n))}const l=(0,o.HD)(e)?1:W(e)?128:$t(e)?64:(0,o.Kn)(e)?4:(0,o.mf)(e)?2:0;return tn(e,t,n,i,s,l,c,!0)}function on(e){return e?(0,r.X3)(e)||Yt in e?(0,o.l7)({},e):e:null}function sn(e,t,n=!1){const{props:r,ref:i,patchFlag:s,children:c}=e,l=t?fn(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Qt(l),ref:t&&t.ref?n&&i?(0,o.kJ)(i)?i.concat(en(t)):[i,en(t)]:en(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Lt?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sn(e.ssContent),ssFallback:e.ssFallback&&sn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u}function cn(e=" ",t=0){return nn(Ut,null,e,t)}function ln(e){return null==e||"boolean"===typeof e?nn(Dt):(0,o.kJ)(e)?nn(Lt,null,e.slice()):"object"===typeof e?un(e):nn(Ut,null,String(e))}function un(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:sn(e)}function an(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if((0,o.kJ)(t))n=16;else if("object"===typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),an(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Yt in t?3===r&&A&&(1===A.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=A}}else(0,o.mf)(t)?(t={default:t,_ctx:A},n=32):(t=String(t),64&r?(n=16,t=[cn(t)]):n=8);e.children=t,e.shapeFlag|=n}function fn(...e){const t={};for(let n=0;nmn||A;let yn,bn,_n="__VUE_INSTANCE_SETTERS__";(bn=(0,o.E9)()[_n])||(bn=(0,o.E9)()[_n]=[]),bn.push((e=>mn=e)),yn=e=>{bn.length>1?bn.forEach((t=>t(e))):bn[0](e)};const wn=e=>{yn(e),e.scope.on()},xn=()=>{mn&&mn.scope.off(),yn(null)};function kn(e){return 4&e.vnode.shapeFlag}let On,Sn,Cn=!1;function En(e,t=!1){Cn=t;const{props:n,children:r}=e.vnode,o=kn(e);ft(e,n,o,t),St(e,r);const i=o?jn(e,t):void 0;return Cn=!1,i}function jn(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=(0,r.Xl)(new Proxy(e.ctx,Be));const{setup:s}=n;if(s){const n=e.setupContext=s.length>1?An(e):null;wn(e),(0,r.Jd)();const l=i(s,e,0,[e.props,n]);if((0,r.lk)(),xn(),(0,o.tI)(l)){if(l.then(xn,xn),t)return l.then((n=>{Pn(e,n,t)})).catch((t=>{c(t,e,0)}));e.asyncDep=l}else Pn(e,l,t)}else Rn(e,t)}function Pn(e,t,n){(0,o.mf)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,o.Kn)(t)&&(e.setupState=(0,r.WL)(t)),Rn(e,n)}function Rn(e,t,n){const i=e.type;if(!e.render){if(!t&&On&&!i.render){const t=i.template||ze(e).template;if(t){0;const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:s,compilerOptions:c}=i,l=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:s},r),c);i.render=On(t,l)}}e.render=i.render||o.dG,Sn&&Sn(e)}wn(e),(0,r.Jd)();try{He(e)}finally{(0,r.lk)(),xn()}}function Tn(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return(0,r.j)(e,"get","$attrs"),t[n]}}))}function An(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return Tn(e)},slots:e.slots,emit:e.emit,expose:t}}function In(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(e.exposed)),{get(t,n){return n in t?t[n]:n in Ne?Ne[n](e):void 0},has(e,t){return t in e||t in Ne}}))}function Fn(e,t=!0){return(0,o.mf)(e)?e.displayName||e.name:e.name||t&&e.__name}function Mn(e){return(0,o.mf)(e)&&"__vccOpts"in e}const $n=(e,t)=>(0,r.Fl)(e,t,Cn);function Ln(e,t,n){const r=arguments.length;return 2===r?(0,o.Kn)(t)&&!(0,o.kJ)(t)?Zt(t)?nn(e,null,[t]):nn(e,t):nn(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Zt(n)&&(n=[n]),nn(e,t,n))}const Un=Symbol.for("v-scx"),Dn=()=>{{const e=at(Un);return e}};const Nn="3.3.8"},9242:function(e,t,n){n.d(t,{e8:function(){return ve},iM:function(){return we},nr:function(){return he},ri:function(){return Se}});n(560);var r=n(3396),o=n(7139),i=n(4870);const s="http://www.w3.org/2000/svg",c="undefined"!==typeof document?document:null,l=c&&c.createElement("template"),u={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?c.createElementNS(s,e):c.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>c.createTextNode(e),createComment:e=>c.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>c.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling)){while(1)if(t.insertBefore(o.cloneNode(!0),n),o===i||!(o=o.nextSibling))break}else{l.innerHTML=r?`${e}`:e;const o=l.content;if(r){const e=o.firstChild;while(e.firstChild)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},a="transition",f="animation",p=Symbol("_vtc"),d=(e,{slots:t})=>(0,r.h)(r.P$,y(e),t);d.displayName="Transition";const h={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},v=d.props=(0,o.l7)({},r.nJ,h),m=(e,t=[])=>{(0,o.kJ)(e)?e.forEach((e=>e(...t))):e&&e(...t)},g=e=>!!e&&((0,o.kJ)(e)?e.some((e=>e.length>1)):e.length>1);function y(e){const t={};for(const o in e)o in h||(t[o]=e[o]);if(!1===e.css)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=s,appearActiveClass:a=c,appearToClass:f=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,y=b(i),_=y&&y[0],O=y&&y[1],{onBeforeEnter:C,onEnter:E,onEnterCancelled:j,onLeave:R,onLeaveCancelled:T,onBeforeAppear:A=C,onAppear:I=E,onAppearCancelled:F=j}=t,M=(e,t,n)=>{x(e,t?f:l),x(e,t?a:c),n&&n()},$=(e,t)=>{e._isLeaving=!1,x(e,p),x(e,v),x(e,d),t&&t()},L=e=>(t,n)=>{const o=e?I:E,i=()=>M(t,e,n);m(o,[t,i]),k((()=>{x(t,e?u:s),w(t,e?f:l),g(o)||S(t,r,_,i)}))};return(0,o.l7)(t,{onBeforeEnter(e){m(C,[e]),w(e,s),w(e,c)},onBeforeAppear(e){m(A,[e]),w(e,u),w(e,a)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>$(e,t);w(e,p),P(),w(e,d),k((()=>{e._isLeaving&&(x(e,p),w(e,v),g(R)||S(e,r,O,n))})),m(R,[e,n])},onEnterCancelled(e){M(e,!1),m(j,[e])},onAppearCancelled(e){M(e,!0),m(F,[e])},onLeaveCancelled(e){$(e),m(T,[e])}})}function b(e){if(null==e)return null;if((0,o.Kn)(e))return[_(e.enter),_(e.leave)];{const t=_(e);return[t,t]}}function _(e){const t=(0,o.He)(e);return t}function w(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[p]||(e[p]=new Set)).add(t)}function x(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[p];n&&(n.delete(t),n.size||(e[p]=void 0))}function k(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let O=0;function S(e,t,n,r){const o=e._endId=++O,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:c,propCount:l}=C(e,t);if(!s)return r();const u=s+"end";let a=0;const f=()=>{e.removeEventListener(u,p),i()},p=t=>{t.target===e&&++a>=l&&f()};setTimeout((()=>{a(n[e]||"").split(", "),o=r(`${a}Delay`),i=r(`${a}Duration`),s=E(o,i),c=r(`${f}Delay`),l=r(`${f}Duration`),u=E(c,l);let p=null,d=0,h=0;t===a?s>0&&(p=a,d=s,h=i.length):t===f?u>0&&(p=f,d=u,h=l.length):(d=Math.max(s,u),p=d>0?s>u?a:f:null,h=p?p===a?i.length:l.length:0);const v=p===a&&/\b(transform|all)(,|$)/.test(r(`${a}Property`).toString());return{type:p,timeout:d,propCount:h,hasTransform:v}}function E(e,t){while(e.lengthj(t)+j(e[n]))))}function j(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function P(){return document.body.offsetHeight}function R(e,t,n){const r=e[p];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const T=Symbol("_vod");function A(e,t,n){const r=e.style,i=(0,o.HD)(n);if(n&&!i){if(t&&!(0,o.HD)(t))for(const e in t)null==n[e]&&F(r,e,"");for(const e in n)F(r,e,n[e])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),T in e&&(r.display=o)}}const I=/\s*!important$/;function F(e,t,n){if((0,o.kJ)(n))n.forEach((n=>F(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=L(e,t);I.test(n)?e.setProperty((0,o.rs)(r),n.replace(I,""),"important"):e[r]=n}}const M=["Webkit","Moz","ms"],$={};function L(e,t){const n=$[t];if(n)return n;let r=(0,o._A)(t);if("filter"!==r&&r in e)return $[t]=r;r=(0,o.kC)(r);for(let o=0;oW||(G.then((()=>W=0)),W=Date.now());function Z(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();(0,r.$d)(X(e,n.value),t,5,[e])};return n.value=e,n.attached=z(),n}function X(e,t){if((0,o.kJ)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}const Y=/^on[a-z]/,Q=(e,t,n,r,i=!1,s,c,l,u)=>{"class"===t?R(e,r,i):"style"===t?A(e,n,r):(0,o.F7)(t)?(0,o.tR)(t)||q(e,t,n,r,c):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):ee(e,t,r,i))?N(e,t,r,s,c,l,u):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),D(e,t,r,i))};function ee(e,t,n,r){return r?"innerHTML"===t||"textContent"===t||!!(t in e&&Y.test(t)&&(0,o.mf)(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!Y.test(t)||!(0,o.HD)(n))&&t in e))))} -/*! #__NO_SIDE_EFFECTS__ */ -/*! #__NO_SIDE_EFFECTS__ */ -"undefined"!==typeof HTMLElement&&HTMLElement;const te=new WeakMap,ne=new WeakMap,re=Symbol("_moveCb"),oe=Symbol("_enterCb"),ie={name:"TransitionGroup",props:(0,o.l7)({},v,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=(0,r.FN)(),o=(0,r.Y8)();let s,c;return(0,r.ic)((()=>{if(!s.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!ue(s[0].el,n.vnode.el,t))return;s.forEach(se),s.forEach(ce);const r=s.filter(le);P(),r.forEach((e=>{const n=e.el,r=n.style;w(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const o=n[re]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",o),n[re]=null,x(n,t))};n.addEventListener("transitionend",o)}))})),()=>{const l=(0,i.IU)(e),u=y(l);let a=l.tag||r.HY;s=c,c=t.default?(0,r.Q6)(t.default()):[];for(let e=0;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 i=1===t.nodeType?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=C(r);return i.removeChild(r),s}const ae=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,o.kJ)(t)?e=>(0,o.ir)(t,e):t};function fe(e){e.target.composing=!0}function pe(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const de=Symbol("_assign"),he={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[de]=ae(i);const s=r||i.props&&"number"===i.props.type;J(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),s&&(r=(0,o.h5)(r)),e[de](r)})),n&&J(e,"change",(()=>{e.value=e.value.trim()})),t||(J(e,"compositionstart",fe),J(e,"compositionend",pe),J(e,"change",pe))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:i}},s){if(e[de]=ae(s),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(r&&e.value.trim()===t)return;if((i||"number"===e.type)&&(0,o.h5)(e.value)===t)return}const c=null==t?"":t;e.value!==c&&(e.value=c)}},ve={deep:!0,created(e,t,n){e[de]=ae(n),J(e,"change",(()=>{const t=e._modelValue,n=ge(e),r=e.checked,i=e[de];if((0,o.kJ)(t)){const e=(0,o.hq)(t,n),s=-1!==e;if(r&&!s)i(t.concat(n));else if(!r&&s){const n=[...t];n.splice(e,1),i(n)}}else if((0,o.DM)(t)){const e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(ye(e,r))}))},mounted:me,beforeUpdate(e,t,n){e[de]=ae(n),me(e,t,n)}};function me(e,{value:t,oldValue:n},r){e._modelValue=t,(0,o.kJ)(t)?e.checked=(0,o.hq)(t,r.props.value)>-1:(0,o.DM)(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=(0,o.WV)(t,ye(e,!0)))}function ge(e){return"_value"in e?e._value:e.value}function ye(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const be=["ctrl","shift","alt","meta"],_e={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)=>be.some((n=>e[`${n}Key`]&&!t.includes(n)))},we=(e,t)=>(n,...r)=>{for(let e=0;e{const t=Oe().createApp(...e);const{mount:n}=t;return t.mount=e=>{const r=Ce(e);if(!r)return;const i=t._component;(0,o.mf)(i)||i.render||i.template||(i.template=r.innerHTML),r.innerHTML="";const s=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),s},t};function Ce(e){if((0,o.HD)(e)){const t=document.querySelector(e);return t}return e}},7139:function(e,t,n){n.d(t,{C_:function(){return Y},DM:function(){return g},E9:function(){return q},F7:function(){return u},Gg:function(){return R},HD:function(){return w},He:function(){return B},Kj:function(){return b},Kn:function(){return k},NO:function(){return c},Nj:function(){return N},Od:function(){return p},PO:function(){return j},Pq:function(){return ee},RI:function(){return h},S0:function(){return P},W7:function(){return E},WV:function(){return re},Z6:function(){return i},_A:function(){return I},_N:function(){return m},aU:function(){return U},dG:function(){return s},fY:function(){return r},h5:function(){return J},hR:function(){return L},hq:function(){return oe},ir:function(){return D},j5:function(){return W},kC:function(){return $},kJ:function(){return v},kT:function(){return o},l7:function(){return f},mf:function(){return _},rs:function(){return M},tI:function(){return O},tR:function(){return a},yA:function(){return te},yk:function(){return x},yl:function(){return K}});n(560);function r(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[e.toLowerCase()]:e=>!!n[e]}const o={},i=[],s=()=>{},c=()=>!1,l=/^on[^a-z]/,u=e=>l.test(e),a=e=>e.startsWith("onUpdate:"),f=Object.assign,p=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,h=(e,t)=>d.call(e,t),v=Array.isArray,m=e=>"[object Map]"===C(e),g=e=>"[object Set]"===C(e),y=e=>"[object Date]"===C(e),b=e=>"[object RegExp]"===C(e),_=e=>"function"===typeof e,w=e=>"string"===typeof e,x=e=>"symbol"===typeof e,k=e=>null!==e&&"object"===typeof e,O=e=>(k(e)||_(e))&&_(e.then)&&_(e.catch),S=Object.prototype.toString,C=e=>S.call(e),E=e=>C(e).slice(8,-1),j=e=>"[object Object]"===C(e),P=e=>w(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,R=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),T=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},A=/-(\w)/g,I=T((e=>e.replace(A,((e,t)=>t?t.toUpperCase():"")))),F=/\B([A-Z])/g,M=T((e=>e.replace(F,"-$1").toLowerCase())),$=T((e=>e.charAt(0).toUpperCase()+e.slice(1))),L=T((e=>{const t=e?`on${$(e)}`:"";return t})),U=(e,t)=>!Object.is(e,t),D=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},J=e=>{const t=parseFloat(e);return isNaN(t)?e:t},B=e=>{const t=w(e)?Number(e):NaN;return isNaN(t)?e:t};let V;const q=()=>V||(V="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});const H="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",K=r(H);function W(e){if(v(e)){const t={};for(let n=0;n{if(e){const n=e.split(z);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Y(e){let t="";if(w(e))t=e;else if(v(e))for(let n=0;nre(e,t)))}},6520:function(e,t,n){n.d(t,{Ei:function(){return P},w3:function(){return j}});n(560);var r=n(4870); -/** - * vue-class-component v8.0.0-rc.1 - * (c) 2015-present Evan You - * @license MIT - */ -function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1)n[t]=s[t];else{var r=Object.getOwnPropertyDescriptor(s,t);"function"!==typeof r.value?(r.get||r.set)&&(n.computed[t]={get:r.get,set:r.set}):n.methods[t]=r.value}})),n.setup=function(t,n){var o,i=new e(t,n),s=Object.keys(i),c={},l=null;return s.forEach((function(e){void 0===i[e]||i[e]&&i[e].__s||(c[e]=(0,r.iH)(i[e]),O(i,e,c))})),s.forEach((function(e){if(i[e]&&i[e].__s){var t=i[e].__s();t instanceof Promise?(l||(l=Promise.resolve(c)),l=l.then((function(){return t.then((function(t){return c[e]=(0,r.WL)(t),c}))}))):c[e]=(0,r.WL)(t)}})),null!==(o=l)&&void 0!==o?o:c};var c=C(e,"__d");c&&c.forEach((function(e){return e(n)}));var l=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return l.forEach((function(t){e[t]&&(n[t]=e[t])})),n}}]),e}();E.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var j=E;function P(e){return function(t){return t.__o=e,t}}},89:function(e,t){t.Z=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n}},509:function(e,t,n){var r=n(9985),o=n(3691),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5027:function(e,t,n){var r=n(8999),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},4328:function(e,t,n){var r=n(5290),o=n(7578),i=n(6310),s=function(e){return function(t,n,s){var c,l=r(t),u=i(l),a=o(s,u);if(e&&n!==n){while(u>a)if(c=l[a++],c!==c)return!0}else for(;u>a;a++)if((e||a in l)&&l[a]===n)return e||a||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},5649:function(e,t,n){var r=n(7697),o=n(2297),i=TypeError,s=Object.getOwnPropertyDescriptor,c=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=c?function(e,t){if(o(e)&&!s(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},6648:function(e,t,n){var r=n(8844),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},8758:function(e,t,n){var r=n(6812),o=n(9152),i=n(2474),s=n(2560);e.exports=function(e,t,n){for(var c=o(t),l=s.f,u=i.f,a=0;an)throw t("Maximum allowed index exceeded");return e}},71:function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3615:function(e,t,n){var r,o,i=n(9037),s=n(71),c=i.process,l=i.Deno,u=c&&c.versions||l&&l.version,a=u&&u.v8;a&&(r=a.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},2739:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9989:function(e,t,n){var r=n(9037),o=n(2474).f,i=n(5773),s=n(1880),c=n(5014),l=n(8758),u=n(5266);e.exports=function(e,t){var n,a,f,p,d,h,v=e.target,m=e.global,g=e.stat;if(a=m?r:g?r[v]||c(v,{}):(r[v]||{}).prototype,a)for(f in t){if(d=t[f],e.dontCallGetSet?(h=o(a,f),p=h&&h.value):p=a[f],n=u(m?f:v+(g?".":"#")+f,e.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;l(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),s(a,f,d,e)}}},3689:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},7215:function(e,t,n){var r=n(3689);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2615:function(e,t,n){var r=n(7215),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},1236:function(e,t,n){var r=n(7697),o=n(6812),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),l=c&&"something"===function(){}.name,u=c&&(!r||r&&s(i,"name").configurable);e.exports={EXISTS:c,PROPER:l,CONFIGURABLE:u}},8844:function(e,t,n){var r=n(7215),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);e.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}},6058:function(e,t,n){var r=n(9037),o=n(9985),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},4849:function(e,t,n){var r=n(509),o=n(981);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},9037:function(e,t,n){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||this||Function("return this")()},6812:function(e,t,n){var r=n(8844),o=n(690),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},7248:function(e){e.exports={}},8506:function(e,t,n){var r=n(7697),o=n(3689),i=n(6420);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},4413:function(e,t,n){var r=n(8844),o=n(3689),i=n(6648),s=Object,c=r("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):s(e)}:s},6738:function(e,t,n){var r=n(8844),o=n(9985),i=n(4091),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},618:function(e,t,n){var r,o,i,s=n(9834),c=n(9037),l=n(8999),u=n(5773),a=n(6812),f=n(4091),p=n(2713),d=n(7248),h="Object already initialized",v=c.TypeError,m=c.WeakMap,g=function(e){return i(e)?o(e):r(e,{})},y=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw new v("Incompatible receiver, "+e+" required");return n}};if(s||f.state){var b=f.state||(f.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw new v(h);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var _=p("state");d[_]=!0,r=function(e,t){if(a(e,_))throw new v(h);return t.facade=e,u(e,_,t),t},o=function(e){return a(e,_)?e[_]:{}},i=function(e){return a(e,_)}}e.exports={set:r,get:o,has:i,enforce:g,getterFor:y}},2297:function(e,t,n){var r=n(6648);e.exports=Array.isArray||function(e){return"Array"===r(e)}},9985:function(e,t,n){var r=n(2659),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},5266:function(e,t,n){var r=n(3689),o=n(9985),i=/#|\.prototype\./,s=function(e,t){var n=l[c(e)];return n===a||n!==u&&(o(t)?r(t):!!t)},c=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=s.data={},u=s.NATIVE="N",a=s.POLYFILL="P";e.exports=s},981:function(e){e.exports=function(e){return null===e||void 0===e}},8999:function(e,t,n){var r=n(9985),o=n(2659),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},3931:function(e){e.exports=!1},734:function(e,t,n){var r=n(6058),o=n(9985),i=n(3622),s=n(9525),c=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,c(e))}},6310:function(e,t,n){var r=n(3126);e.exports=function(e){return r(e.length)}},8702:function(e,t,n){var r=n(8844),o=n(3689),i=n(9985),s=n(6812),c=n(7697),l=n(1236).CONFIGURABLE,u=n(6738),a=n(618),f=a.enforce,p=a.get,d=String,h=Object.defineProperty,v=r("".slice),m=r("".replace),g=r([].join),y=c&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),_=e.exports=function(e,t,n){"Symbol("===v(d(t),0,7)&&(t="["+m(d(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||l&&e.name!==t)&&(c?h(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&s(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?c&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=f(e);return s(r,"source")||(r.source=g(b,"string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return i(this)&&p(this).source||u(this)}),"toString")},8828:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},2560:function(e,t,n){var r=n(7697),o=n(8506),i=n(5648),s=n(5027),c=n(8360),l=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";t.f=r?i?function(e,t,n){if(s(e),t=c(t),s(n),"function"===typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=a(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(s(e),t=c(t),s(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},2474:function(e,t,n){var r=n(7697),o=n(2615),i=n(9556),s=n(5684),c=n(5290),l=n(8360),u=n(6812),a=n(8506),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=c(e),t=l(t),a)try{return f(e,t)}catch(n){}if(u(e,t))return s(!o(i.f,e,t),e[t])}},2741:function(e,t,n){var r=n(4948),o=n(2739),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},7518:function(e,t){t.f=Object.getOwnPropertySymbols},3622:function(e,t,n){var r=n(8844);e.exports=r({}.isPrototypeOf)},4948:function(e,t,n){var r=n(8844),o=n(6812),i=n(5290),s=n(4328).indexOf,c=n(7248),l=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,a=[];for(n in r)!o(c,n)&&o(r,n)&&l(a,n);while(t.length>u)o(r,n=t[u++])&&(~s(a,n)||l(a,n));return a}},9556:function(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},5899:function(e,t,n){var r=n(2615),o=n(9985),i=n(8999),s=TypeError;e.exports=function(e,t){var n,c;if("string"===t&&o(n=e.toString)&&!i(c=r(n,e)))return c;if(o(n=e.valueOf)&&!i(c=r(n,e)))return c;if("string"!==t&&o(n=e.toString)&&!i(c=r(n,e)))return c;throw new s("Can't convert object to primitive value")}},9152:function(e,t,n){var r=n(6058),o=n(8844),i=n(2741),s=n(7518),c=n(5027),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(c(e)),n=s.f;return n?l(t,n(e)):t}},4684:function(e,t,n){var r=n(981),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},2713:function(e,t,n){var r=n(3430),o=n(4630),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},4091:function(e,t,n){var r=n(9037),o=n(5014),i="__core-js_shared__",s=r[i]||o(i,{});e.exports=s},3430:function(e,t,n){var r=n(3931),o=n(4091);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.2",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"})},146:function(e,t,n){var r=n(3615),o=n(3689),i=n(9037),s=i.String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7578:function(e,t,n){var r=n(8700),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5290:function(e,t,n){var r=n(4413),o=n(4684);e.exports=function(e){return r(o(e))}},8700:function(e,t,n){var r=n(8828);e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},3126:function(e,t,n){var r=n(8700),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},690:function(e,t,n){var r=n(4684),o=Object;e.exports=function(e){return o(r(e))}},8732:function(e,t,n){var r=n(2615),o=n(8999),i=n(734),s=n(4849),c=n(5899),l=n(4201),u=TypeError,a=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=s(e,a);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},8360:function(e,t,n){var r=n(8732),o=n(734);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},3691:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},4630:function(e,t,n){var r=n(8844),o=0,i=Math.random(),s=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},9525:function(e,t,n){var r=n(146);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5648:function(e,t,n){var r=n(7697),o=n(3689);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},9834:function(e,t,n){var r=n(9037),o=n(9985),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},4201:function(e,t,n){var r=n(9037),o=n(3430),i=n(6812),s=n(4630),c=n(146),l=n(9525),u=r.Symbol,a=o("wks"),f=l?u["for"]||u:u&&u.withoutSetter||s;e.exports=function(e){return i(a,e)||(a[e]=c&&i(u,e)?u[e]:f("Symbol."+e)),a[e]}},560:function(e,t,n){var r=n(9989),o=n(690),i=n(6310),s=n(5649),c=n(5565),l=n(3689),u=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),a=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},f=u||!a();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(e){var t=o(this),n=i(t),r=arguments.length;c(n+r);for(var l=0;l{},a=Array.isArray;const f=/\/$/,p=e=>e.replace(f,"");function d(e,t,n="/"){let r,o={},i="",s="";const c=t.indexOf("#");let l=t.indexOf("?");return c=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,c>-1?c:t.length),o=e(i)),c>-1&&(r=r||t.slice(0,c),s=t.slice(c,t.length)),r=w(null!=r?r:t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function h(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function v(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function m(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&g(t.matched[r],n.matched[o])&&y(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function g(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function y(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!b(e[n],t[n]))return!1;return!0}function b(e,t){return a(e)?_(e,t):a(t)?_(t,e):e===t}function _(e,t){return a(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}function w(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];".."!==o&&"."!==o||r.push("");let i,s,c=n.length-1;for(i=0;i1&&c--}return n.slice(0,c).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var x,k;(function(e){e["pop"]="pop",e["push"]="push"})(x||(x={})),function(e){e["back"]="back",e["forward"]="forward",e["unknown"]=""}(k||(k={}));function O(e){if(!e)if(i){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),p(e)}const S=/^[^#]+#/;function C(e,t){return e.replace(S,"#")+t}function E(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const j=()=>({left:window.pageXOffset,top:window.pageYOffset});function P(e){let t;if("el"in e){const n=e.el,r="string"===typeof n&&n.startsWith("#");0;const o="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=E(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function R(e,t){const n=history.state?history.state.position-t:-1;return n+e}const T=new Map;function A(e,t){T.set(e,t)}function I(e){const t=T.get(e);return T.delete(e),t}let F=()=>location.protocol+"//"+location.host;function M(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let t=o.includes(e.slice(i))?e.slice(i).length:1,n=o.slice(t);return"/"!==n[0]&&(n="/"+n),v(n,"")}const s=v(n,e);return s+r+o}function $(e,t,n,r){let o=[],i=[],s=null;const l=({state:i})=>{const c=M(e,location),l=n.value,u=t.value;let a=0;if(i){if(n.value=c,t.value=i,s&&s===l)return void(s=null);a=u?i.position-u.position:0}else r(c);o.forEach((e=>{e(n.value,l,{delta:a,type:x.pop,direction:a?a>0?k.forward:k.back:k.unknown})}))};function u(){s=n.value}function a(e){o.push(e);const t=()=>{const t=o.indexOf(e);t>-1&&o.splice(t,1)};return i.push(t),t}function f(){const{history:e}=window;e.state&&e.replaceState(c({},e.state,{scroll:j()}),"")}function p(){for(const e of i)e();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:u,listen:a,destroy:p}}function L(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?j():null}}function U(e){const{history:t,location:n}=window,r={value:M(e,n)},o={value:t.state};function i(r,i,s){const c=e.indexOf("#"),l=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+r:F()+e+r;try{t[s?"replaceState":"pushState"](i,"",l),o.value=i}catch(u){console.error(u),n[s?"replace":"assign"](l)}}function s(e,n){const s=c({},t.state,L(o.value.back,e,o.value.forward,!0),n,{position:o.value.position});i(e,s,!0),r.value=e}function l(e,n){const s=c({},o.value,t.state,{forward:e,scroll:j()});i(s.current,s,!0);const l=c({},L(r.value,e,null),{position:s.position+1},n);i(e,l,!1),r.value=e}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:l,replace:s}}function D(e){e=O(e);const t=U(e),n=$(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}const o=c({location:"",base:e,go:r,createHref:C.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function N(e){return"string"===typeof e||e&&"object"===typeof e}function J(e){return"string"===typeof e||"symbol"===typeof e}const B={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},V=Symbol("");var q;(function(e){e[e["aborted"]=4]="aborted",e[e["cancelled"]=8]="cancelled",e[e["duplicated"]=16]="duplicated"})(q||(q={}));function H(e,t){return c(new Error,{type:e,[V]:!0},t)}function K(e,t){return e instanceof Error&&V in e&&(null==t||!!(e.type&t))}const W="[^/]+?",G={sensitive:!1,strict:!1,start:!0,end:!0},z=/[.+*?^${}()[\]/\\]/g;function Z(e,t){const n=c({},G,t),r=[];let o=n.start?"^":"";const i=[];for(const c of e){const e=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let t=0;tt.length?1===t.length&&80===t[0]?1:-1:0}function Y(e,t){let n=0;const r=e.score,o=t.score;while(n0&&t[t.length-1]<0}const ee={type:0,value:""},te=/[a-zA-Z0-9_]/;function ne(e){if(!e)return[[]];if("/"===e)return[[ee]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${u}": ${e}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let c,l=0,u="",a="";function f(){u&&(0===n?i.push({type:0,value:u}):1===n||2===n||3===n?(i.length>1&&("*"===c||"+"===c)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:a,repeatable:"*"===c||"+"===c,optional:"*"===c||"?"===c})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}while(l{s(h)}:u}function s(e){if(J(e)){const t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(s),t.alias.forEach(s))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(s),e.alias.forEach(s))}}function l(){return n}function a(e){let t=0;while(t=0&&(e.record.path!==n[t].record.path||!fe(e,n[t])))t++;n.splice(t,0,e),e.record.name&&!le(e)&&r.set(e.record.name,e)}function f(e,t){let o,i,s,l={};if("name"in e&&e.name){if(o=r.get(e.name),!o)throw H(1,{location:e});0,s=o.record.name,l=c(ie(t.params,o.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params&&ie(e.params,o.keys.map((e=>e.name)))),i=o.stringify(l)}else if("path"in e)i=e.path,o=n.find((e=>e.re.test(i))),o&&(l=o.parse(i),s=o.record.name);else{if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw H(1,{location:e,currentLocation:t});s=o.record.name,l=c({},t.params,e.params),i=o.stringify(l)}const u=[];let a=o;while(a)u.unshift(a.record),a=a.parent;return{name:s,path:i,params:l,matched:u,meta:ue(u)}}return t=ae({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>i(e))),{addRoute:i,resolve:f,removeRoute:s,getRoutes:l,getRecordMatcher:o}}function ie(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function se(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ce(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function ce(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"===typeof n?n[r]:n;return t}function le(e){while(e){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ue(e){return e.reduce(((e,t)=>c(e,t.meta)),{})}function ae(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function fe(e,t){return t.children.some((t=>t===e||fe(e,t)))}const pe=/#/g,de=/&/g,he=/\//g,ve=/=/g,me=/\?/g,ge=/\+/g,ye=/%5B/g,be=/%5D/g,_e=/%5E/g,we=/%60/g,xe=/%7B/g,ke=/%7C/g,Oe=/%7D/g,Se=/%20/g;function Ce(e){return encodeURI(""+e).replace(ke,"|").replace(ye,"[").replace(be,"]")}function Ee(e){return Ce(e).replace(xe,"{").replace(Oe,"}").replace(_e,"^")}function je(e){return Ce(e).replace(ge,"%2B").replace(Se,"+").replace(pe,"%23").replace(de,"%26").replace(we,"`").replace(xe,"{").replace(Oe,"}").replace(_e,"^")}function Pe(e){return je(e).replace(ve,"%3D")}function Re(e){return Ce(e).replace(pe,"%23").replace(me,"%3F")}function Te(e){return null==e?"":Re(e).replace(he,"%2F")}function Ae(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ie(e){const t={};if(""===e||"?"===e)return t;const n="?"===e[0],r=(n?e.slice(1):e).split("&");for(let o=0;oe&&je(e))):[r&&je(r)];o.forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Me(e){const t={};for(const n in e){const r=e[n];void 0!==r&&(t[n]=a(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}const $e=Symbol(""),Le=Symbol(""),Ue=Symbol(""),De=Symbol(""),Ne=Symbol("");function Je(){let e=[];function t(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Be(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((s,c)=>{const l=e=>{!1===e?c(H(4,{from:n,to:t})):e instanceof Error?c(e):N(e)?c(H(2,{from:t,to:e})):(i&&r.enterCallbacks[o]===i&&"function"===typeof e&&i.push(e),s())},u=e.call(r&&r.instances[o],t,n,l);let a=Promise.resolve(u);e.length<3&&(a=a.then(l)),a.catch((e=>c(e)))}))}function Ve(e,t,n,r){const o=[];for(const i of e){0;for(const e in i.components){let c=i.components[e];if("beforeRouteEnter"===t||i.instances[e])if(qe(c)){const s=c.__vccOpts||c,l=s[t];l&&o.push(Be(l,n,r,i,e))}else{let l=c();0,o.push((()=>l.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${i.path}"`));const c=s(o)?o.default:o;i.components[e]=c;const l=c.__vccOpts||c,u=l[t];return u&&Be(u,n,r,i,e)()}))))}}}return o}function qe(e){return"object"===typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function He(e){const t=(0,r.f3)(Ue),n=(0,r.f3)(De),i=(0,r.Fl)((()=>t.resolve((0,o.SU)(e.to)))),s=(0,r.Fl)((()=>{const{matched:e}=i.value,{length:t}=e,r=e[t-1],o=n.matched;if(!r||!o.length)return-1;const s=o.findIndex(g.bind(null,r));if(s>-1)return s;const c=Ze(e[t-2]);return t>1&&Ze(r)===c&&o[o.length-1].path!==c?o.findIndex(g.bind(null,e[t-2])):s})),c=(0,r.Fl)((()=>s.value>-1&&ze(n.params,i.value.params))),l=(0,r.Fl)((()=>s.value>-1&&s.value===n.matched.length-1&&y(n.params,i.value.params)));function a(n={}){return Ge(n)?t[(0,o.SU)(e.replace)?"replace":"push"]((0,o.SU)(e.to)).catch(u):Promise.resolve()}return{route:i,href:(0,r.Fl)((()=>i.value.href)),isActive:c,isExactActive:l,navigate:a}}const Ke=(0,r.aZ)({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:He,setup(e,{slots:t}){const n=(0,o.qj)(He(e)),{options:i}=(0,r.f3)(Ue),s=(0,r.Fl)((()=>({[Xe(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Xe(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:(0,r.h)("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),We=Ke;function Ge(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ze(e,t){for(const n in t){const r=t[n],o=e[n];if("string"===typeof r){if(r!==o)return!1}else if(!a(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}return!0}function Ze(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xe=(e,t,n)=>null!=e?e:null!=t?t:n,Ye=(0,r.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=(0,r.f3)(Ne),s=(0,r.Fl)((()=>e.route||i.value)),l=(0,r.f3)(Le,0),u=(0,r.Fl)((()=>{let e=(0,o.SU)(l);const{matched:t}=s.value;let n;while((n=t[e])&&!n.components)e++;return e})),a=(0,r.Fl)((()=>s.value.matched[u.value]));(0,r.JJ)(Le,(0,r.Fl)((()=>u.value+1))),(0,r.JJ)($e,a),(0,r.JJ)(Ne,s);const f=(0,o.iH)();return(0,r.YP)((()=>[f.value,a.value,e.name]),(([e,t,n],[r,o,i])=>{t&&(t.instances[n]=e,o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),t.updateGuards.size||(t.updateGuards=o.updateGuards))),!e||!t||o&&g(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=s.value,i=e.name,l=a.value,u=l&&l.components[i];if(!u)return Qe(n.default,{Component:u,route:o});const p=l.props[i],d=p?!0===p?o.params:"function"===typeof p?p(o):p:null,h=e=>{e.component.isUnmounted&&(l.instances[i]=null)},v=(0,r.h)(u,c({},d,t,{onVnodeUnmounted:h,ref:f}));return Qe(n.default,{Component:v,route:o})||v}}});function Qe(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const et=Ye;function tt(e){const t=oe(e.routes,e),n=e.parseQuery||Ie,s=e.stringifyQuery||Fe,f=e.history;const p=Je(),v=Je(),g=Je(),y=(0,o.XI)(B);let b=B;i&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _=l.bind(null,(e=>""+e)),w=l.bind(null,Te),k=l.bind(null,Ae);function O(e,n){let r,o;return J(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)}function S(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function C(){return t.getRoutes().map((e=>e.record))}function E(e){return!!t.getRecordMatcher(e)}function T(e,r){if(r=c({},r||y.value),"string"===typeof e){const o=d(n,e,r.path),i=t.resolve({path:o.path},r),s=f.createHref(o.fullPath);return c(o,i,{params:k(i.params),hash:Ae(o.hash),redirectedFrom:void 0,href:s})}let o;if("path"in e)o=c({},e,{path:d(n,e.path,r.path).path});else{const t=c({},e.params);for(const e in t)null==t[e]&&delete t[e];o=c({},e,{params:w(t)}),r.params=w(r.params)}const i=t.resolve(o,r),l=e.hash||"";i.params=_(k(i.params));const u=h(s,c({},e,{hash:Ee(l),path:i.path})),a=f.createHref(u);return c({fullPath:u,hash:l,query:s===Fe?Me(e.query):e.query||{}},i,{redirectedFrom:void 0,href:a})}function F(e){return"string"===typeof e?d(n,e,y.value.path):c({},e)}function M(e,t){if(b!==e)return H(8,{from:t,to:e})}function $(e){return D(e)}function L(e){return $(c(F(e),{replace:!0}))}function U(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let r="function"===typeof n?n(e):n;return"string"===typeof r&&(r=r.includes("?")||r.includes("#")?r=F(r):{path:r},r.params={}),c({query:e.query,hash:e.hash,params:"path"in r?{}:e.params},r)}}function D(e,t){const n=b=T(e),r=y.value,o=e.state,i=e.force,l=!0===e.replace,u=U(n);if(u)return D(c(F(u),{state:"object"===typeof u?c({},o,u.state):o,force:i,replace:l}),t||n);const a=n;let f;return a.redirectedFrom=t,!i&&m(s,r,n)&&(f=H(16,{to:a,from:r}),re(r,r,!0,!1)),(f?Promise.resolve(f):q(a,r)).catch((e=>K(e)?K(e,2)?e:ne(e):ee(e,a,r))).then((e=>{if(e){if(K(e,2))return D(c({replace:l},F(e.to),{state:"object"===typeof e.to?c({},o,e.to.state):o,force:i}),t||a)}else e=G(a,r,!0,l,o);return W(a,r,e),e}))}function N(e,t){const n=M(e,t);return n?Promise.reject(n):Promise.resolve()}function V(e){const t=ce.values().next().value;return t&&"function"===typeof t.runWithContext?t.runWithContext(e):e()}function q(e,t){let n;const[r,o,i]=nt(e,t);n=Ve(r.reverse(),"beforeRouteLeave",e,t);for(const c of r)c.leaveGuards.forEach((r=>{n.push(Be(r,e,t))}));const s=N.bind(null,e,t);return n.push(s),ue(n).then((()=>{n=[];for(const r of p.list())n.push(Be(r,e,t));return n.push(s),ue(n)})).then((()=>{n=Ve(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{n.push(Be(r,e,t))}));return n.push(s),ue(n)})).then((()=>{n=[];for(const r of i)if(r.beforeEnter)if(a(r.beforeEnter))for(const o of r.beforeEnter)n.push(Be(o,e,t));else n.push(Be(r.beforeEnter,e,t));return n.push(s),ue(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Ve(i,"beforeRouteEnter",e,t),n.push(s),ue(n)))).then((()=>{n=[];for(const r of v.list())n.push(Be(r,e,t));return n.push(s),ue(n)})).catch((e=>K(e,8)?e:Promise.reject(e)))}function W(e,t,n){g.list().forEach((r=>V((()=>r(e,t,n)))))}function G(e,t,n,r,o){const s=M(e,t);if(s)return s;const l=t===B,u=i?history.state:{};n&&(r||l?f.replace(e.fullPath,c({scroll:l&&u&&u.scroll},o)):f.push(e.fullPath,o)),y.value=e,re(e,t,n,l),ne()}let z;function Z(){z||(z=f.listen(((e,t,n)=>{if(!le.listening)return;const r=T(e),o=U(r);if(o)return void D(c(o,{replace:!0}),r).catch(u);b=r;const s=y.value;i&&A(R(s.fullPath,n.delta),j()),q(r,s).catch((e=>K(e,12)?e:K(e,2)?(D(e.to,r).then((e=>{K(e,20)&&!n.delta&&n.type===x.pop&&f.go(-1,!1)})).catch(u),Promise.reject()):(n.delta&&f.go(-n.delta,!1),ee(e,r,s)))).then((e=>{e=e||G(r,s,!1),e&&(n.delta&&!K(e,8)?f.go(-n.delta,!1):n.type===x.pop&&K(e,20)&&f.go(-1,!1)),W(r,s,e)})).catch(u)})))}let X,Y=Je(),Q=Je();function ee(e,t,n){ne(e);const r=Q.list();return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}function te(){return X&&y.value!==B?Promise.resolve():new Promise(((e,t)=>{Y.add([e,t])}))}function ne(e){return X||(X=!e,Z(),Y.list().forEach((([t,n])=>e?n(e):t())),Y.reset()),e}function re(t,n,o,s){const{scrollBehavior:c}=e;if(!i||!c)return Promise.resolve();const l=!o&&I(R(t.fullPath,0))||(s||!o)&&history.state&&history.state.scroll||null;return(0,r.Y3)().then((()=>c(t,n,l))).then((e=>e&&P(e))).catch((e=>ee(e,t,n)))}const ie=e=>f.go(e);let se;const ce=new Set,le={currentRoute:y,listening:!0,addRoute:O,removeRoute:S,hasRoute:E,getRoutes:C,resolve:T,options:e,push:$,replace:L,go:ie,back:()=>ie(-1),forward:()=>ie(1),beforeEach:p.add,beforeResolve:v.add,afterEach:g.add,onError:Q.add,isReady:te,install(e){const t=this;e.component("RouterLink",We),e.component("RouterView",et),e.config.globalProperties.$router=t,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,o.SU)(y)}),i&&!se&&y.value===B&&(se=!0,$(f.location).catch((e=>{0})));const n={};for(const o in B)Object.defineProperty(n,o,{get:()=>y.value[o],enumerable:!0});e.provide(Ue,t),e.provide(De,(0,o.Um)(n)),e.provide(Ne,y);const r=e.unmount;ce.add(e),e.unmount=function(){ce.delete(e),ce.size<1&&(b=B,z&&z(),z=null,y.value=B,se=!1,X=!1),r()}}};function ue(e){return e.reduce(((e,t)=>e.then((()=>V(t)))),Promise.resolve())}return le}function nt(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;sg(e,i)))?r.push(i):n.push(i));const c=e.matched[s];c&&(t.matched.find((e=>g(e,c)))||o.push(c))}return[n,r,o]}}}]); -//# sourceMappingURL=chunk-vendors.8a33184f.js.map \ No newline at end of file diff --git a/js/chunk-vendors.8a33184f.js.map b/js/chunk-vendors.8a33184f.js.map deleted file mode 100644 index 14cc26c..0000000 --- a/js/chunk-vendors.8a33184f.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"js/chunk-vendors.8a33184f.js","mappings":"mpBAMA,IAAIA,EACJ,MAAMC,EACJC,WAAAA,CAAYC,GAAW,GACrBC,KAAKD,SAAWA,EAIhBC,KAAKC,SAAU,EAIfD,KAAKE,QAAU,GAIfF,KAAKG,SAAW,GAChBH,KAAKI,OAASR,GACTG,GAAYH,IACfI,KAAKK,OAAST,EAAkBU,SAAWV,EAAkBU,OAAS,KAAKC,KACzEP,MACE,EAER,CACA,UAAIQ,GACF,OAAOR,KAAKC,OACd,CACAQ,GAAAA,CAAIC,GACF,GAAIV,KAAKC,QAAS,CAChB,MAAMU,EAAqBf,EAC3B,IAEE,OADAA,EAAoBI,KACbU,GACT,CAAE,QACAd,EAAoBe,CACtB,CACF,MAAW,CAGb,CAKAC,EAAAA,GACEhB,EAAoBI,IACtB,CAKAa,GAAAA,GACEjB,EAAoBI,KAAKI,MAC3B,CACAU,IAAAA,CAAKC,GACH,GAAIf,KAAKC,QAAS,CAChB,IAAIe,EAAGC,EACP,IAAKD,EAAI,EAAGC,EAAIjB,KAAKE,QAAQgB,OAAQF,EAAIC,EAAGD,IAC1ChB,KAAKE,QAAQc,GAAGF,OAElB,IAAKE,EAAI,EAAGC,EAAIjB,KAAKG,SAASe,OAAQF,EAAIC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,EAAQmN,KACpD1B,EAAgB/1D,KAAKy3D,GAErB3B,EAAe91D,KAAKy3D,IAE5B,MAAMC,EAAWztC,EAAGg4B,QAAQxhD,GACxBi3D,IAEK/yC,EAAKs9B,QAAQkK,MAAK7B,GAAUnI,EAAkBmI,EAAQoN,MACvD1B,EAAgBh2D,KAAK03D,GAGjC,CACA,MAAO,CAAC5B,EAAgBC,EAAiBC,EAC7C,C","sources":["webpack://pathfinder-visualizer/./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js","webpack://pathfinder-visualizer/./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js","webpack://pathfinder-visualizer/./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","webpack://pathfinder-visualizer/./node_modules/@vue/shared/dist/shared.esm-bundler.js","webpack://pathfinder-visualizer/./node_modules/vue-class-component/dist/vue-class-component.esm-bundler.js","webpack://pathfinder-visualizer/./node_modules/vue-loader/dist/exportHelper.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/a-callable.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/an-object.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/array-includes.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/array-set-length.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/classof-raw.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/create-property-descriptor.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/define-built-in.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/define-global-property.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/descriptors.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/document-all.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/document-create-element.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/does-not-exceed-safe-integer.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/engine-user-agent.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/engine-v8-version.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/enum-bug-keys.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/export.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/fails.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/function-bind-native.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/function-call.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/function-name.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/function-uncurry-this.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/get-built-in.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/get-method.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/global.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/has-own-property.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/hidden-keys.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/ie8-dom-define.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/indexed-object.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/inspect-source.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/internal-state.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/is-array.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/is-callable.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/is-forced.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/is-object.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/is-pure.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/is-symbol.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/length-of-array-like.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/make-built-in.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/math-trunc.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/object-define-property.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/object-keys-internal.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/own-keys.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/require-object-coercible.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/shared-key.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/shared-store.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/shared.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/to-absolute-index.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/to-indexed-object.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/to-length.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/to-object.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/to-primitive.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/to-property-key.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/try-to-string.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/uid.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://pathfinder-visualizer/./node_modules/core-js/internals/well-known-symbol.js","webpack://pathfinder-visualizer/./node_modules/core-js/modules/es.array.push.js","webpack://pathfinder-visualizer/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://pathfinder-visualizer/./node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://pathfinder-visualizer/./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://pathfinder-visualizer/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://pathfinder-visualizer/./node_modules/vue-router/dist/vue-router.mjs"],"sourcesContent":["import { extend, isArray, isSymbol, isMap, isIntegerKey, hasOwn, hasChanged, isObject, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n }\n }\n get active() {\n return this._active;\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n this._active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nconst createDep = (effects) => {\n const dep = new Set(effects);\n dep.w = 0;\n dep.n = 0;\n return dep;\n};\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\nconst initDepMarkers = ({ deps }) => {\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].w |= trackOpBit;\n }\n }\n};\nconst finalizeDepMarkers = (effect) => {\n const { deps } = effect;\n if (deps.length) {\n let ptr = 0;\n for (let i = 0; i < deps.length; i++) {\n const dep = deps[i];\n if (wasTracked(dep) && !newTracked(dep)) {\n dep.delete(effect);\n } else {\n deps[ptr++] = dep;\n }\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\n\nconst targetMap = /* @__PURE__ */ new WeakMap();\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\nconst maxMarkerBits = 30;\nlet activeEffect;\nconst ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"iterate\" : \"\");\nconst MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"Map key iterate\" : \"\");\nclass ReactiveEffect {\n constructor(fn, scheduler = null, scope) {\n this.fn = fn;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n this.parent = void 0;\n recordEffectScope(this, scope);\n }\n run() {\n if (!this.active) {\n return this.fn();\n }\n let parent = activeEffect;\n let lastShouldTrack = shouldTrack;\n while (parent) {\n if (parent === this) {\n return;\n }\n parent = parent.parent;\n }\n try {\n this.parent = activeEffect;\n activeEffect = this;\n shouldTrack = true;\n trackOpBit = 1 << ++effectTrackDepth;\n if (effectTrackDepth <= maxMarkerBits) {\n initDepMarkers(this);\n } else {\n cleanupEffect(this);\n }\n return this.fn();\n } finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = void 0;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n if (activeEffect === this) {\n this.deferStop = true;\n } else if (this.active) {\n cleanupEffect(this);\n if (this.onStop) {\n this.onStop();\n }\n this.active = false;\n }\n }\n}\nfunction cleanupEffect(effect2) {\n const { deps } = effect2;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect2);\n }\n deps.length = 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect instanceof ReactiveEffect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn);\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = createDep());\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { effect: activeEffect, target, type, key } : void 0;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack2 = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit;\n shouldTrack2 = !wasTracked(dep);\n }\n } else {\n shouldTrack2 = !dep.has(activeEffect);\n }\n if (shouldTrack2) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if (!!(process.env.NODE_ENV !== \"production\") && activeEffect.onTrack) {\n activeEffect.onTrack(\n extend(\n {\n effect: activeEffect\n },\n debuggerEventExtraInfo\n )\n );\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n return;\n }\n let deps = [];\n if (type === \"clear\") {\n deps = [...depsMap.values()];\n } else if (key === \"length\" && isArray(target)) {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || !isSymbol(key2) && key2 >= newLength) {\n deps.push(dep);\n }\n });\n } else {\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n switch (type) {\n case \"add\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isIntegerKey(key)) {\n deps.push(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n const eventInfo = !!(process.env.NODE_ENV !== \"production\") ? { target, type, key, newValue, oldValue, oldTarget } : void 0;\n if (deps.length === 1) {\n if (deps[0]) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(deps[0], eventInfo);\n } else {\n triggerEffects(deps[0]);\n }\n }\n } else {\n const effects = [];\n for (const dep of deps) {\n if (dep) {\n effects.push(...dep);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(createDep(effects), eventInfo);\n } else {\n triggerEffects(createDep(effects));\n }\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n const effects = isArray(dep) ? dep : [...dep];\n for (const effect2 of effects) {\n if (effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n for (const effect2 of effects) {\n if (!effect2.computed) {\n triggerEffect(effect2, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect2, debuggerEventExtraInfo) {\n if (effect2 !== activeEffect || effect2.allowRecurse) {\n if (!!(process.env.NODE_ENV !== \"production\") && effect2.onTrigger) {\n effect2.onTrigger(extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n if (effect2.scheduler) {\n effect2.scheduler();\n } else {\n effect2.run();\n }\n }\n}\nfunction getDepFromReactive(object, key) {\n var _a;\n return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nconst arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n [\"includes\", \"indexOf\", \"lastIndexOf\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\", i + \"\");\n }\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n return arr[key](...args.map(toRaw));\n } else {\n return res;\n }\n };\n });\n [\"push\", \"pop\", \"shift\", \"unshift\", \"splice\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n pauseTracking();\n const res = toRaw(this)[key].apply(this, args);\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction hasOwnProperty(key) {\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nclass BaseReactiveHandler {\n constructor(_isReadonly = false, _shallow = false) {\n this._isReadonly = _isReadonly;\n this._shallow = _shallow;\n }\n get(target, key, receiver) {\n const isReadonly2 = this._isReadonly, shallow = this._shallow;\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return shallow;\n } else if (key === \"__v_raw\" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {\n return target;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n if (targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n }\n}\nclass MutableReactiveHandler extends BaseReactiveHandler {\n constructor(shallow = false) {\n super(false, shallow);\n }\n set(target, key, value, receiver) {\n let oldValue = target[key];\n if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {\n return false;\n }\n if (!this._shallow) {\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n }\n deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n }\n has(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n }\n ownKeys(target) {\n track(\n target,\n \"iterate\",\n isArray(target) ? \"length\" : ITERATE_KEY\n );\n return Reflect.ownKeys(target);\n }\n}\nclass ReadonlyReactiveHandler extends BaseReactiveHandler {\n constructor(shallow = false) {\n super(true, shallow);\n }\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n}\nconst mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();\nconst readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();\nconst shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(\n true\n);\nconst shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get(target, key, isReadonly = false, isShallow = false) {\n target = target[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has: has2 } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has2.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has2.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n}\nfunction has(key, isReadonly = false) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\"];\n !isReadonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n}\nfunction set(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2 ? get2.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\", void 0, void 0, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n console.warn(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations2 = {\n get(key) {\n return get(this, key);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations2 = {\n get(key) {\n return get(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = [\"keys\", \"values\", \"entries\", Symbol.iterator];\n iteratorMethods.forEach((method) => {\n mutableInstrumentations2[method] = createIterableMethod(\n method,\n false,\n false\n );\n readonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n false\n );\n shallowInstrumentations2[method] = createIterableMethod(\n method,\n false,\n true\n );\n shallowReadonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n true\n );\n });\n return [\n mutableInstrumentations2,\n readonlyInstrumentations2,\n shallowInstrumentations2,\n shallowReadonlyInstrumentations2\n ];\n}\nconst [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n] = /* @__PURE__ */ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has2, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has2.call(target, rawKey)) {\n const type = toRawType(target);\n console.warn(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n console.warn(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n def(value, \"__v_skip\", true);\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref2) {\n if (shouldTrack && activeEffect) {\n ref2 = toRaw(ref2);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n trackEffects(ref2.dep || (ref2.dep = createDep()), {\n target: ref2,\n type: \"get\",\n key: \"value\"\n });\n } else {\n trackEffects(ref2.dep || (ref2.dep = createDep()));\n }\n }\n}\nfunction triggerRefValue(ref2, newVal) {\n ref2 = toRaw(ref2);\n const dep = ref2.dep;\n if (dep) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n triggerEffects(dep, {\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: newVal\n });\n } else {\n triggerEffects(dep);\n }\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = void 0;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, newVal);\n }\n }\n}\nfunction triggerRef(ref2) {\n triggerRefValue(ref2, !!(process.env.NODE_ENV !== \"production\") ? ref2.value : void 0);\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = void 0;\n this.__v_isRef = true;\n const { get, set } = factory(\n () => trackRefValue(this),\n () => triggerRefValue(this)\n );\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this.__v_isRef = true;\n this.__v_isReadonly = true;\n }\n get value() {\n return this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);\n}\n\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = void 0;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = false;\n this._dirty = true;\n this.effect = new ReactiveEffect(getter, () => {\n if (!this._dirty) {\n this._dirty = true;\n triggerRefValue(this);\n }\n });\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\"] = isReadonly;\n }\n get value() {\n const self = toRaw(this);\n trackRefValue(self);\n if (self._dirty || !self._cacheable) {\n self._dirty = false;\n self._value = self.effect.run();\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n}\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = !!(process.env.NODE_ENV !== \"production\") ? () => {\n console.warn(\"Write operation failed: computed value is readonly\");\n } : NOOP;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nconst tick = /* @__PURE__ */ Promise.resolve();\nconst queue = [];\nlet queued = false;\nconst scheduler = (fn) => {\n queue.push(fn);\n if (!queued) {\n queued = true;\n tick.then(flush);\n }\n};\nconst flush = () => {\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n }\n queue.length = 0;\n queued = false;\n};\nclass DeferredComputedRefImpl {\n constructor(getter) {\n this.dep = void 0;\n this._dirty = true;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = true;\n let compareTarget;\n let hasCompareTarget = false;\n let scheduled = false;\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\n if (this.dep) {\n if (computedTrigger) {\n compareTarget = this._value;\n hasCompareTarget = true;\n } else if (!scheduled) {\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\n scheduled = true;\n hasCompareTarget = false;\n scheduler(() => {\n if (this.effect.active && this._get() !== valueToCompare) {\n triggerRefValue(this);\n }\n scheduled = false;\n });\n }\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(\n true\n /* computedTrigger */\n );\n }\n }\n }\n this._dirty = true;\n });\n this.effect.computed = this;\n }\n _get() {\n if (this._dirty) {\n this._dirty = false;\n return this._value = this.effect.run();\n }\n return this._value;\n }\n get value() {\n trackRefValue(this);\n return toRaw(this)._get();\n }\n}\nfunction deferredComputed(getter) {\n return new DeferredComputedRefImpl(getter);\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, getCurrentScope, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, proxyRefs, markRaw, EffectScope, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, toValue, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, looseToNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, capitalize, toNumber, hasChanged, remove, isSet, isMap, isPlainObject, isBuiltInDirective, invokeArrayFns, isRegExp, isGloballyAllowed, NO, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, normalizeClass, normalizeStyle } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn(msg, ...args) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n msg + args.join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\nfunction assertNumber(val, type) {\n if (!!!(process.env.NODE_ENV !== \"production\"))\n return;\n if (val === void 0) {\n return;\n } else if (typeof val !== \"number\") {\n warn(`${type} is not a valid number - got ${JSON.stringify(val)}.`);\n } else if (isNaN(val)) {\n warn(`${type} is NaN - the duration expression might be incorrect.`);\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n let res;\n try {\n res = args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n return res;\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] : type;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(\n appErrorHandler,\n null,\n 10,\n [err, exposedInstance, errorInfo]\n );\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n throw err;\n } else {\n console.error(err);\n }\n } else {\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJob = queue[middle];\n const middleJobId = getId(middleJob);\n if (middleJobId < id || middleJobId === id && middleJob.pre) {\n start = middle + 1;\n } else {\n end = middle;\n }\n }\n return start;\n}\nfunction queueJob(job) {\n if (!queue.length || !queue.includes(\n job,\n isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex\n )) {\n if (job.id == null) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs || !activePostFlushCbs.includes(\n cb,\n cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex\n )) {\n pendingPostFlushCbs.push(cb);\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(seen, i = isFlushing ? flushIndex + 1 : 0) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)];\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n queue.sort(comparator);\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n callWithErrorHandling(job, null, 14);\n }\n }\n } finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n } else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n warn(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`\n );\n return true;\n } else {\n seen.set(fn, count + 1);\n }\n }\n}\n\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = /* @__PURE__ */ new Set();\nif (!!(process.env.NODE_ENV !== \"production\")) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = /* @__PURE__ */ new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: /* @__PURE__ */ new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n record.initialDef.render = newRender;\n [...record.instances].forEach((instance) => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record)\n return;\n newComp = normalizeClassComponent(newComp);\n updateComponentDef(record.initialDef, newComp);\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n hmrDirtyComponents.add(oldComp);\n }\n instance.appContext.propsCache.delete(instance.type);\n instance.appContext.emitsCache.delete(instance.type);\n instance.appContext.optionsCache.delete(instance.type);\n if (instance.ceReload) {\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n } else if (instance.parent) {\n queueJob(instance.parent.update);\n } else if (instance.appContext.reload) {\n instance.appContext.reload();\n } else if (typeof window !== \"undefined\") {\n window.location.reload();\n } else {\n console.warn(\n \"[HMR] Root or manually mounted instance modified. Full reload required.\"\n );\n }\n }\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(\n normalizeClassComponent(instance.type)\n );\n }\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== \"__file\" && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n } catch (e) {\n console.error(e);\n console.warn(\n `[HMR] Something went wrong during Vue component hot-reload. Full reload required.`\n );\n }\n };\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit$1(\"app:unmount\" /* APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:added\" /* COMPONENT_ADDED */\n);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools && typeof devtools.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n component.parent ? component.parent.uid : void 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:start\" /* PERFORMANCE_START */\n);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:end\" /* PERFORMANCE_END */\n);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nfunction emit(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const {\n emitsOptions,\n propsOptions: [propsOptions]\n } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) && true) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn(\n `Component emitted event \"${event}\" but it is neither declared in the emits option nor as an \"${toHandlerKey(event)}\" prop.`\n );\n }\n } else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn(\n `Invalid event arguments: event validation failed for event \"${event}\".`\n );\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith(\"update:\");\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === \"modelValue\" ? \"model\" : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map((a) => isString(a) ? a.trim() : a);\n }\n if (number) {\n args = rawArgs.map(looseToNumber);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn(\n `Event \"${lowerCaseEvent}\" is emitted in component ${formatComponentName(\n instance,\n instance.type\n )} but the handler is registered for \"${event}\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`\n );\n }\n }\n let handlerName;\n let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)\n props[handlerName = toHandlerKey(camelize(event))];\n if (!handler && isModelListener) {\n handler = props[handlerName = toHandlerKey(hyphenate(event))];\n }\n if (handler) {\n callWithAsyncErrorHandling(\n handler,\n instance,\n 6,\n args\n );\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n } else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(\n onceHandler,\n instance,\n 6,\n args\n );\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== void 0) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw2) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach((key) => normalized[key] = null);\n } else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, \"\");\n return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\nfunction popScopeId() {\n currentScopeId = null;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx)\n return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const {\n type: Component,\n vnode,\n proxy,\n withProxy,\n props,\n propsOptions: [propsOptions],\n slots,\n attrs,\n emit,\n render,\n renderCache,\n data,\n setupState,\n ctx,\n inheritAttrs\n } = instance;\n let result;\n let fallthroughAttrs;\n const prev = setCurrentRenderingInstance(instance);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n accessedAttrs = false;\n }\n try {\n if (vnode.shapeFlag & 4) {\n const proxyToUse = withProxy || proxy;\n result = normalizeVNode(\n render.call(\n proxyToUse,\n proxyToUse,\n renderCache,\n props,\n setupState,\n data,\n ctx\n )\n );\n fallthroughAttrs = attrs;\n } else {\n const render2 = Component;\n if (!!(process.env.NODE_ENV !== \"production\") && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(\n render2.length > 1 ? render2(\n props,\n !!(process.env.NODE_ENV !== \"production\") ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n } : { attrs, slots, emit }\n ) : render2(\n props,\n null\n /* we know it doesn't need it */\n )\n );\n fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);\n }\n } catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1);\n result = createVNode(Comment);\n }\n let root = result;\n let setRoot = void 0;\n if (!!(process.env.NODE_ENV !== \"production\") && result.patchFlag > 0 && result.patchFlag & 2048) {\n [root, setRoot] = getChildRoot(result);\n }\n if (fallthroughAttrs && inheritAttrs !== false) {\n const keys = Object.keys(fallthroughAttrs);\n const { shapeFlag } = root;\n if (keys.length) {\n if (shapeFlag & (1 | 6)) {\n if (propsOptions && keys.some(isModelListener)) {\n fallthroughAttrs = filterModelListeners(\n fallthroughAttrs,\n propsOptions\n );\n }\n root = cloneVNode(root, fallthroughAttrs);\n } else if (!!(process.env.NODE_ENV !== \"production\") && !accessedAttrs && root.type !== Comment) {\n const allAttrs = Object.keys(attrs);\n const eventAttrs = [];\n const extraAttrs = [];\n for (let i = 0, l = allAttrs.length; i < l; i++) {\n const key = allAttrs[i];\n if (isOn(key)) {\n if (!isModelListener(key)) {\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n } else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(\n `Extraneous non-props attributes (${extraAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`\n );\n }\n if (eventAttrs.length) {\n warn(\n `Extraneous non-emits event listeners (${eventAttrs.join(\", \")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the \"emits\" option.`\n );\n }\n }\n }\n }\n if (vnode.dirs) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Runtime directive used on component with non-element root node. The directives will not function as intended.`\n );\n }\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n if (vnode.transition) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isElementRoot(root)) {\n warn(\n `Component inside renders non-element root node that cannot be animated.`\n );\n }\n root.transition = vnode.transition;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && setRoot) {\n setRoot(root);\n } else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\nconst getChildRoot = (vnode) => {\n const rawChildren = vnode.children;\n const dynamicChildren = vnode.dynamicChildren;\n const childRoot = filterSingleRoot(rawChildren);\n if (!childRoot) {\n return [vnode, void 0];\n }\n const index = rawChildren.indexOf(childRoot);\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\n const setRoot = (updatedRoot) => {\n rawChildren[index] = updatedRoot;\n if (dynamicChildren) {\n if (dynamicIndex > -1) {\n dynamicChildren[dynamicIndex] = updatedRoot;\n } else if (updatedRoot.patchFlag > 0) {\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\n }\n }\n };\n return [normalizeVNode(childRoot), setRoot];\n};\nfunction filterSingleRoot(children) {\n let singleRoot;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isVNode(child)) {\n if (child.type !== Comment || child.children === \"v-if\") {\n if (singleRoot) {\n return;\n } else {\n singleRoot = child;\n }\n }\n } else {\n return;\n }\n }\n return singleRoot;\n}\nconst getFunctionalFallthrough = (attrs) => {\n let res;\n for (const key in attrs) {\n if (key === \"class\" || key === \"style\" || isOn(key)) {\n (res || (res = {}))[key] = attrs[key];\n }\n }\n return res;\n};\nconst filterModelListeners = (attrs, props) => {\n const res = {};\n for (const key in attrs) {\n if (!isModelListener(key) || !(key.slice(9) in props)) {\n res[key] = attrs[key];\n }\n }\n return res;\n};\nconst isElementRoot = (vnode) => {\n return vnode.shapeFlag & (6 | 1) || vnode.type === Comment;\n};\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\n const { props: prevProps, children: prevChildren, component } = prevVNode;\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\n const emits = component.emitsOptions;\n if (!!(process.env.NODE_ENV !== \"production\") && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024) {\n return true;\n }\n if (patchFlag & 16) {\n if (!prevProps) {\n return !!nextProps;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n } else if (patchFlag & 8) {\n const dynamicProps = nextVNode.dynamicProps;\n for (let i = 0; i < dynamicProps.length; i++) {\n const key = dynamicProps[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n } else {\n if (prevChildren || nextChildren) {\n if (!nextChildren || !nextChildren.$stable) {\n return true;\n }\n }\n if (prevProps === nextProps) {\n return false;\n }\n if (!prevProps) {\n return !!nextProps;\n }\n if (!nextProps) {\n return true;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n return false;\n}\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\n const nextKeys = Object.keys(nextProps);\n if (nextKeys.length !== Object.keys(prevProps).length) {\n return true;\n }\n for (let i = 0; i < nextKeys.length; i++) {\n const key = nextKeys[i];\n if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({ vnode, parent }, el) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDynamicComponent(component) {\n if (isString(component)) {\n return resolveAsset(COMPONENTS, component, false) || component;\n } else {\n return component || NULL_DYNAMIC_COMPONENT;\n }\n}\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n /* do not include inferred name to avoid breaking existing code */\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nconst isSuspense = (type) => type.__isSuspense;\nconst SuspenseImpl = {\n name: \"Suspense\",\n // In order to make Suspense tree-shakable, we need to avoid importing it\n // directly in the renderer. The renderer checks for the __isSuspense flag\n // on a vnode's type and calls the `process` method, passing in renderer\n // internals.\n __isSuspense: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n if (n1 == null) {\n mountSuspense(\n n2,\n container,\n anchor,\n parentComponent,\n parentSuspense,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n } else {\n patchSuspense(\n n1,\n n2,\n container,\n anchor,\n parentComponent,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\nconst Suspense = SuspenseImpl ;\nfunction triggerEvent(vnode, name) {\n const eventListener = vnode.props && vnode.props[name];\n if (isFunction(eventListener)) {\n eventListener();\n }\n}\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n const {\n p: patch,\n o: { createElement }\n } = rendererInternals;\n const hiddenContainer = createElement(\"div\");\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n container,\n hiddenContainer,\n anchor,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals\n );\n patch(\n null,\n suspense.pendingBranch = vnode.ssContent,\n hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds\n );\n if (suspense.deps > 0) {\n triggerEvent(vnode, \"onPending\");\n triggerEvent(vnode, \"onFallback\");\n patch(\n null,\n vnode.ssFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds\n );\n setActiveBranch(suspense, vnode.ssFallback);\n } else {\n suspense.resolve(false, true);\n }\n}\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\n const suspense = n2.suspense = n1.suspense;\n suspense.vnode = n2;\n n2.el = n1.el;\n const newBranch = n2.ssContent;\n const newFallback = n2.ssFallback;\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\n if (pendingBranch) {\n suspense.pendingBranch = newBranch;\n if (isSameVNodeType(newBranch, pendingBranch)) {\n patch(\n pendingBranch,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else if (isInFallback) {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else {\n suspense.pendingId++;\n if (isHydrating) {\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n } else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n suspense.deps = 0;\n suspense.effects.length = 0;\n suspense.hiddenContainer = createElement(\"div\");\n if (isInFallback) {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n patch(\n activeBranch,\n newFallback,\n container,\n anchor,\n parentComponent,\n null,\n // fallback tree will not have suspense context\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newFallback);\n }\n } else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n suspense.resolve(true);\n } else {\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n } else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n patch(\n activeBranch,\n newBranch,\n container,\n anchor,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, newBranch);\n } else {\n triggerEvent(n2, \"onPending\");\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(\n null,\n newBranch,\n suspense.hiddenContainer,\n null,\n parentComponent,\n suspense,\n isSVG,\n slotScopeIds,\n optimized\n );\n if (suspense.deps <= 0) {\n suspense.resolve();\n } else {\n const { timeout, pendingId } = suspense;\n if (timeout > 0) {\n setTimeout(() => {\n if (suspense.pendingId === pendingId) {\n suspense.fallback(newFallback);\n }\n }, timeout);\n } else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n if (!!(process.env.NODE_ENV !== \"production\") && true && !hasWarned) {\n hasWarned = true;\n console[console.info ? \"info\" : \"log\"](\n ` is an experimental feature and its API will likely change.`\n );\n }\n const {\n p: patch,\n m: move,\n um: unmount,\n n: next,\n o: { parentNode, remove }\n } = rendererInternals;\n let parentSuspenseId;\n const isSuspensible = isVNodeSuspensible(vnode);\n if (isSuspensible) {\n if (parentSuspense == null ? void 0 : parentSuspense.pendingBranch) {\n parentSuspenseId = parentSuspense.pendingId;\n parentSuspense.deps++;\n }\n }\n const timeout = vnode.props ? toNumber(vnode.props.timeout) : void 0;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n assertNumber(timeout, `Suspense timeout`);\n }\n const suspense = {\n vnode,\n parent: parentSuspense,\n parentComponent,\n isSVG,\n container,\n hiddenContainer,\n anchor,\n deps: 0,\n pendingId: 0,\n timeout: typeof timeout === \"number\" ? timeout : -1,\n activeBranch: null,\n pendingBranch: null,\n isInFallback: true,\n isHydrating,\n isUnmounted: false,\n effects: [],\n resolve(resume = false, sync = false) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(\n `suspense.resolve() is called without a pending branch.`\n );\n }\n if (suspense.isUnmounted) {\n throw new Error(\n `suspense.resolve() is called on an already unmounted suspense boundary.`\n );\n }\n }\n const {\n vnode: vnode2,\n activeBranch,\n pendingBranch,\n pendingId,\n effects,\n parentComponent: parentComponent2,\n container: container2\n } = suspense;\n let delayEnter = false;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n } else if (!resume) {\n delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(pendingBranch, container2, anchor2, 0);\n queuePostFlushCb(effects);\n }\n };\n }\n let { anchor: anchor2 } = suspense;\n if (activeBranch) {\n anchor2 = next(activeBranch);\n unmount(activeBranch, parentComponent2, suspense, true);\n }\n if (!delayEnter) {\n move(pendingBranch, container2, anchor2, 0);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n if (!hasUnresolvedAncestor && !delayEnter) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n if (isSuspensible) {\n if (parentSuspense && parentSuspense.pendingBranch && parentSuspenseId === parentSuspense.pendingId) {\n parentSuspense.deps--;\n if (parentSuspense.deps === 0 && !sync) {\n parentSuspense.resolve();\n }\n }\n }\n triggerEvent(vnode2, \"onResolve\");\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const { vnode: vnode2, activeBranch, parentComponent: parentComponent2, container: container2, isSVG: isSVG2 } = suspense;\n triggerEvent(vnode2, \"onFallback\");\n const anchor2 = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n patch(\n null,\n fallbackVNode,\n container2,\n anchor2,\n parentComponent2,\n null,\n // fallback tree will not have suspense context\n isSVG2,\n slotScopeIds,\n optimized\n );\n setActiveBranch(suspense, fallbackVNode);\n };\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === \"out-in\";\n if (delayEnter) {\n activeBranch.transition.afterLeave = mountFallback;\n }\n suspense.isInFallback = true;\n unmount(\n activeBranch,\n parentComponent2,\n null,\n // no suspense so unmount hooks fire now\n true\n // shouldRemove\n );\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container2, anchor2, type) {\n suspense.activeBranch && move(suspense.activeBranch, container2, anchor2, type);\n suspense.container = container2;\n },\n next() {\n return suspense.activeBranch && next(suspense.activeBranch);\n },\n registerDep(instance, setupRenderEffect) {\n const isInPendingSuspense = !!suspense.pendingBranch;\n if (isInPendingSuspense) {\n suspense.deps++;\n }\n const hydratedEl = instance.vnode.el;\n instance.asyncDep.catch((err) => {\n handleError(err, instance, 0);\n }).then((asyncSetupResult) => {\n if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) {\n return;\n }\n instance.asyncResolved = true;\n const { vnode: vnode2 } = instance;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n pushWarningContext(vnode2);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n vnode2.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(\n instance,\n vnode2,\n // component may have been moved before resolve.\n // if this is not a hydration, instance.subTree will be the comment\n // placeholder.\n parentNode(hydratedEl || instance.subTree.el),\n // anchor will not be used if this is hydration, so only need to\n // consider the comment placeholder case.\n hydratedEl ? null : next(instance.subTree),\n suspense,\n isSVG,\n optimized\n );\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode2.el);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n popWarningContext();\n }\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense2, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(\n suspense.activeBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n if (suspense.pendingBranch) {\n unmount(\n suspense.pendingBranch,\n parentComponent,\n parentSuspense2,\n doRemove\n );\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n const suspense = vnode.suspense = createSuspenseBoundary(\n vnode,\n parentSuspense,\n parentComponent,\n node.parentNode,\n document.createElement(\"div\"),\n null,\n isSVG,\n slotScopeIds,\n optimized,\n rendererInternals,\n true\n /* hydrating */\n );\n const result = hydrateNode(\n node,\n suspense.pendingBranch = vnode.ssContent,\n parentComponent,\n suspense,\n slotScopeIds,\n optimized\n );\n if (suspense.deps === 0) {\n suspense.resolve(false, true);\n }\n return result;\n}\nfunction normalizeSuspenseChildren(vnode) {\n const { shapeFlag, children } = vnode;\n const isSlotChildren = shapeFlag & 32;\n vnode.ssContent = normalizeSuspenseSlot(\n isSlotChildren ? children.default : children\n );\n vnode.ssFallback = isSlotChildren ? normalizeSuspenseSlot(children.fallback) : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if (isFunction(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n s._d = false;\n openBlock();\n }\n s = s();\n if (trackBlock) {\n s._d = true;\n block = currentBlock;\n closeBlock();\n }\n }\n if (isArray(s)) {\n const singleChild = filterSingleRoot(s);\n if (!!(process.env.NODE_ENV !== \"production\") && !singleChild && s.filter((child) => child !== NULL_DYNAMIC_COMPONENT).length > 0) {\n warn(` slots expect a single root node.`);\n }\n s = singleChild;\n }\n s = normalizeVNode(s);\n if (block && !s.dynamicChildren) {\n s.dynamicChildren = block.filter((c) => c !== s);\n }\n return s;\n}\nfunction queueEffectWithSuspense(fn, suspense) {\n if (suspense && suspense.pendingBranch) {\n if (isArray(fn)) {\n suspense.effects.push(...fn);\n } else {\n suspense.effects.push(fn);\n }\n } else {\n queuePostFlushCb(fn);\n }\n}\nfunction setActiveBranch(suspense, branch) {\n suspense.activeBranch = branch;\n const { vnode, parentComponent } = suspense;\n const el = vnode.el = branch.el;\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\nfunction isVNodeSuspensible(vnode) {\n var _a;\n return ((_a = vnode.props) == null ? void 0 : _a.suspensible) != null && vnode.props.suspensible !== false;\n}\n\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"post\" }) : { flush: \"post\" }\n );\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"sync\" }) : { flush: \"sync\" }\n );\n}\nconst INITIAL_WATCHER_VALUE = {};\nfunction watch(source, cb, options) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isFunction(cb)) {\n warn(\n `\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`\n );\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\n var _a;\n if (!!(process.env.NODE_ENV !== \"production\") && !cb) {\n if (immediate !== void 0) {\n warn(\n `watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (deep !== void 0) {\n warn(\n `watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n }\n const warnInvalidSource = (s) => {\n warn(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const instance = getCurrentScope() === ((_a = currentInstance) == null ? void 0 : _a.scope) ? currentInstance : null;\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow$1(source);\n } else if (isReactive(source)) {\n getter = () => source;\n deep = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow$1(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return traverse(s);\n } else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2);\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = () => callWithErrorHandling(source, instance, 2);\n } else {\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(\n source,\n instance,\n 3,\n [onCleanup]\n );\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4);\n };\n };\n let ssrCleanup;\n if (isInSSRComponentSetup) {\n onCleanup = NOOP;\n if (!cb) {\n getter();\n } else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3, [\n getter(),\n isMultiSource ? [] : void 0,\n onCleanup\n ]);\n }\n if (flush === \"sync\") {\n const ctx = useSSRContext();\n ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);\n } else {\n return NOOP;\n }\n }\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue)) || false) {\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n } else {\n effect.run();\n }\n };\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === \"sync\") {\n scheduler = job;\n } else if (flush === \"post\") {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n } else {\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, scheduler);\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n if (cb) {\n if (immediate) {\n job();\n } else {\n oldValue = effect.run();\n }\n } else if (flush === \"post\") {\n queuePostRenderEffect(\n effect.run.bind(effect),\n instance && instance.suspense\n );\n } else {\n effect.run();\n }\n const unwatch = () => {\n effect.stop();\n if (instance && instance.scope) {\n remove(instance.scope.effects, effect);\n }\n };\n if (ssrCleanup)\n ssrCleanup.push(unwatch);\n return unwatch;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const cur = currentInstance;\n setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n if (cur) {\n setCurrentInstance(cur);\n } else {\n unsetCurrentInstance();\n }\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, seen) {\n if (!isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n seen = seen || /* @__PURE__ */ new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], seen);\n }\n }\n return value;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n const internalInstance = currentRenderingInstance;\n if (internalInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(internalInstance) || internalInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\nfunction invokeDirectiveHook(vnode, prevVNode, instance, name) {\n const bindings = vnode.dirs;\n const oldBindings = prevVNode && prevVNode.dirs;\n for (let i = 0; i < bindings.length; i++) {\n const binding = bindings[i];\n if (oldBindings) {\n binding.oldValue = oldBindings[i].value;\n }\n let hook = binding.dir[name];\n if (hook) {\n pauseTracking();\n callWithAsyncErrorHandling(hook, instance, 8, [\n vnode.el,\n binding,\n vnode,\n prevVNode\n ]);\n resetTracking();\n }\n }\n}\n\nconst leaveCbKey = Symbol(\"_leaveCb\");\nconst enterCbKey = Symbol(\"_enterCb\");\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: /* @__PURE__ */ new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionPropsValidators = {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n};\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: BaseTransitionPropsValidators,\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevTransitionKey;\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n for (const c of children) {\n if (c.type !== Comment) {\n if (!!(process.env.NODE_ENV !== \"production\") && hasFound) {\n warn(\n \" can only be used on a single element or component. Use for lists.\"\n );\n break;\n }\n child = c;\n hasFound = true;\n if (!!!(process.env.NODE_ENV !== \"production\"))\n break;\n }\n }\n }\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n if (!!(process.env.NODE_ENV !== \"production\") && mode && mode !== \"in-out\" && mode !== \"out-in\" && mode !== \"default\") {\n warn(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(\n innerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(innerChild, enterHooks);\n const oldChild = instance.subTree;\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\n let transitionKeyChanged = false;\n const { getTransitionKey } = innerChild.type;\n if (getTransitionKey) {\n const key = getTransitionKey();\n if (prevTransitionKey === void 0) {\n prevTransitionKey = key;\n } else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n if (oldInnerChild && oldInnerChild.type !== Comment && (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(\n oldInnerChild,\n rawProps,\n state,\n instance\n );\n setTransitionHooks(oldInnerChild, leavingHooks);\n if (mode === \"out-in\") {\n state.isLeaving = true;\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n if (instance.update.active !== false) {\n instance.update();\n }\n };\n return emptyPlaceholder(child);\n } else if (mode === \"in-out\" && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(\n state,\n oldInnerChild\n );\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n el[leaveCbKey] = () => {\n earlyRemove();\n el[leaveCbKey] = void 0;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = /* @__PURE__ */ Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const {\n appear,\n mode,\n persisted = false,\n onBeforeEnter,\n onEnter,\n onAfterEnter,\n onEnterCancelled,\n onBeforeLeave,\n onLeave,\n onAfterLeave,\n onLeaveCancelled,\n onBeforeAppear,\n onAppear,\n onAfterAppear,\n onAppearCancelled\n } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook && callWithAsyncErrorHandling(\n hook,\n instance,\n 9,\n args\n );\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every((hook2) => hook2.length <= 1))\n done();\n } else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n } else {\n return;\n }\n }\n if (el[leaveCbKey]) {\n el[leaveCbKey](\n true\n /* cancelled */\n );\n }\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el[leaveCbKey]) {\n leavingVNode.el[leaveCbKey]();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n } else {\n return;\n }\n }\n let called = false;\n const done = el[enterCbKey] = (cancelled) => {\n if (called)\n return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n } else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el[enterCbKey] = void 0;\n };\n if (hook) {\n callAsyncHook(hook, [el, done]);\n } else {\n done();\n }\n },\n leave(el, remove) {\n const key2 = String(vnode.key);\n if (el[enterCbKey]) {\n el[enterCbKey](\n true\n /* cancelled */\n );\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = el[leaveCbKey] = (cancelled) => {\n if (called)\n return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n } else {\n callHook(onAfterLeave, [el]);\n }\n el[leaveCbKey] = void 0;\n if (leavingVNodesCache[key2] === vnode) {\n delete leavingVNodesCache[key2];\n }\n };\n leavingVNodesCache[key2] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n } else {\n done();\n }\n },\n clone(vnode2) {\n return resolveTransitionHooks(vnode2, props, state, instance);\n }\n };\n return hooks;\n}\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getKeepAliveChild(vnode) {\n return isKeepAlive(vnode) ? vnode.children ? vnode.children[0] : void 0 : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n } else if (vnode.shapeFlag & 128) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n } else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i);\n if (child.type === Fragment) {\n if (child.patchFlag & 128)\n keyedFragmentCount++;\n ret = ret.concat(\n getTransitionRawChildren(child.children, keepComment, key)\n );\n } else if (keepComment || child.type !== Comment) {\n ret.push(key != null ? cloneVNode(child, { key }) : child);\n }\n }\n if (keyedFragmentCount > 1) {\n for (let i = 0; i < ret.length; i++) {\n ret[i].patchFlag = -2;\n }\n }\n return ret;\n}\n\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8326: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nconst isAsyncWrapper = (i) => !!i.type.__asyncLoader;\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineAsyncComponent(source) {\n if (isFunction(source)) {\n source = { loader: source };\n }\n const {\n loader,\n loadingComponent,\n errorComponent,\n delay = 200,\n timeout,\n // undefined = never times out\n suspensible = true,\n onError: userOnError\n } = source;\n let pendingRequest = null;\n let resolvedComp;\n let retries = 0;\n const retry = () => {\n retries++;\n pendingRequest = null;\n return load();\n };\n const load = () => {\n let thisRequest;\n return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => {\n err = err instanceof Error ? err : new Error(String(err));\n if (userOnError) {\n return new Promise((resolve, reject) => {\n const userRetry = () => resolve(retry());\n const userFail = () => reject(err);\n userOnError(err, userRetry, userFail, retries + 1);\n });\n } else {\n throw err;\n }\n }).then((comp) => {\n if (thisRequest !== pendingRequest && pendingRequest) {\n return pendingRequest;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !comp) {\n warn(\n `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.`\n );\n }\n if (comp && (comp.__esModule || comp[Symbol.toStringTag] === \"Module\")) {\n comp = comp.default;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && comp && !isObject(comp) && !isFunction(comp)) {\n throw new Error(`Invalid async component load result: ${comp}`);\n }\n resolvedComp = comp;\n return comp;\n }));\n };\n return defineComponent({\n name: \"AsyncComponentWrapper\",\n __asyncLoader: load,\n get __asyncResolved() {\n return resolvedComp;\n },\n setup() {\n const instance = currentInstance;\n if (resolvedComp) {\n return () => createInnerComp(resolvedComp, instance);\n }\n const onError = (err) => {\n pendingRequest = null;\n handleError(\n err,\n instance,\n 13,\n !errorComponent\n /* do not throw in dev if user provided error component */\n );\n };\n if (suspensible && instance.suspense || isInSSRComponentSetup) {\n return load().then((comp) => {\n return () => createInnerComp(comp, instance);\n }).catch((err) => {\n onError(err);\n return () => errorComponent ? createVNode(errorComponent, {\n error: err\n }) : null;\n });\n }\n const loaded = ref(false);\n const error = ref();\n const delayed = ref(!!delay);\n if (delay) {\n setTimeout(() => {\n delayed.value = false;\n }, delay);\n }\n if (timeout != null) {\n setTimeout(() => {\n if (!loaded.value && !error.value) {\n const err = new Error(\n `Async component timed out after ${timeout}ms.`\n );\n onError(err);\n error.value = err;\n }\n }, timeout);\n }\n load().then(() => {\n loaded.value = true;\n if (instance.parent && isKeepAlive(instance.parent.vnode)) {\n queueJob(instance.parent.update);\n }\n }).catch((err) => {\n onError(err);\n error.value = err;\n });\n return () => {\n if (loaded.value && resolvedComp) {\n return createInnerComp(resolvedComp, instance);\n } else if (error.value && errorComponent) {\n return createVNode(errorComponent, {\n error: error.value\n });\n } else if (loadingComponent && !delayed.value) {\n return createVNode(loadingComponent);\n }\n };\n }\n });\n}\nfunction createInnerComp(comp, parent) {\n const { ref: ref2, props, children, ce } = parent.vnode;\n const vnode = createVNode(comp, props, children);\n vnode.ref = ref2;\n vnode.ce = ce;\n delete parent.vnode.ce;\n return vnode;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nconst KeepAliveImpl = {\n name: `KeepAlive`,\n // Marker for special handling inside the renderer. We are not using a ===\n // check directly on KeepAlive in the renderer, because importing it directly\n // would prevent it from being tree-shaken.\n __isKeepAlive: true,\n props: {\n include: [String, RegExp, Array],\n exclude: [String, RegExp, Array],\n max: [String, Number]\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const sharedContext = instance.ctx;\n if (!sharedContext.renderer) {\n return () => {\n const children = slots.default && slots.default();\n return children && children.length === 1 ? children[0] : children;\n };\n }\n const cache = /* @__PURE__ */ new Map();\n const keys = /* @__PURE__ */ new Set();\n let current = null;\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n instance.__v_cache = cache;\n }\n const parentSuspense = instance.suspense;\n const {\n renderer: {\n p: patch,\n m: move,\n um: _unmount,\n o: { createElement }\n }\n } = sharedContext;\n const storageContainer = createElement(\"div\");\n sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {\n const instance2 = vnode.component;\n move(vnode, container, anchor, 0, parentSuspense);\n patch(\n instance2.vnode,\n vnode,\n container,\n anchor,\n instance2,\n parentSuspense,\n isSVG,\n vnode.slotScopeIds,\n optimized\n );\n queuePostRenderEffect(() => {\n instance2.isDeactivated = false;\n if (instance2.a) {\n invokeArrayFns(instance2.a);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeMounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n sharedContext.deactivate = (vnode) => {\n const instance2 = vnode.component;\n move(vnode, storageContainer, null, 1, parentSuspense);\n queuePostRenderEffect(() => {\n if (instance2.da) {\n invokeArrayFns(instance2.da);\n }\n const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;\n if (vnodeHook) {\n invokeVNodeHook(vnodeHook, instance2.parent, vnode);\n }\n instance2.isDeactivated = true;\n }, parentSuspense);\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentAdded(instance2);\n }\n };\n function unmount(vnode) {\n resetShapeFlag(vnode);\n _unmount(vnode, instance, parentSuspense, true);\n }\n function pruneCache(filter) {\n cache.forEach((vnode, key) => {\n const name = getComponentName(vnode.type);\n if (name && (!filter || !filter(name))) {\n pruneCacheEntry(key);\n }\n });\n }\n function pruneCacheEntry(key) {\n const cached = cache.get(key);\n if (!current || !isSameVNodeType(cached, current)) {\n unmount(cached);\n } else if (current) {\n resetShapeFlag(current);\n }\n cache.delete(key);\n keys.delete(key);\n }\n watch(\n () => [props.include, props.exclude],\n ([include, exclude]) => {\n include && pruneCache((name) => matches(include, name));\n exclude && pruneCache((name) => !matches(exclude, name));\n },\n // prune post-render after `current` has been updated\n { flush: \"post\", deep: true }\n );\n let pendingCacheKey = null;\n const cacheSubtree = () => {\n if (pendingCacheKey != null) {\n cache.set(pendingCacheKey, getInnerChild(instance.subTree));\n }\n };\n onMounted(cacheSubtree);\n onUpdated(cacheSubtree);\n onBeforeUnmount(() => {\n cache.forEach((cached) => {\n const { subTree, suspense } = instance;\n const vnode = getInnerChild(subTree);\n if (cached.type === vnode.type && cached.key === vnode.key) {\n resetShapeFlag(vnode);\n const da = vnode.component.da;\n da && queuePostRenderEffect(da, suspense);\n return;\n }\n unmount(cached);\n });\n });\n return () => {\n pendingCacheKey = null;\n if (!slots.default) {\n return null;\n }\n const children = slots.default();\n const rawVNode = children[0];\n if (children.length > 1) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(`KeepAlive should contain exactly one component child.`);\n }\n current = null;\n return children;\n } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) {\n current = null;\n return rawVNode;\n }\n let vnode = getInnerChild(rawVNode);\n const comp = vnode.type;\n const name = getComponentName(\n isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp\n );\n const { include, exclude, max } = props;\n if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {\n current = vnode;\n return rawVNode;\n }\n const key = vnode.key == null ? comp : vnode.key;\n const cachedVNode = cache.get(key);\n if (vnode.el) {\n vnode = cloneVNode(vnode);\n if (rawVNode.shapeFlag & 128) {\n rawVNode.ssContent = vnode;\n }\n }\n pendingCacheKey = key;\n if (cachedVNode) {\n vnode.el = cachedVNode.el;\n vnode.component = cachedVNode.component;\n if (vnode.transition) {\n setTransitionHooks(vnode, vnode.transition);\n }\n vnode.shapeFlag |= 512;\n keys.delete(key);\n keys.add(key);\n } else {\n keys.add(key);\n if (max && keys.size > parseInt(max, 10)) {\n pruneCacheEntry(keys.values().next().value);\n }\n }\n vnode.shapeFlag |= 256;\n current = vnode;\n return isSuspense(rawVNode.type) ? rawVNode : vnode;\n };\n }\n};\nconst KeepAlive = KeepAliveImpl;\nfunction matches(pattern, name) {\n if (isArray(pattern)) {\n return pattern.some((p) => matches(p, name));\n } else if (isString(pattern)) {\n return pattern.split(\",\").includes(name);\n } else if (isRegExp(pattern)) {\n return pattern.test(name);\n }\n return false;\n}\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\nfunction resetShapeFlag(vnode) {\n vnode.shapeFlag &= ~256;\n vnode.shapeFlag &= ~512;\n}\nfunction getInnerChild(vnode) {\n return vnode.shapeFlag & 128 ? vnode.ssContent : vnode;\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n pauseTracking();\n setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n unsetCurrentInstance();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(ErrorTypeStrings[type].replace(/ hook$/, \"\"));\n warn(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (` If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` )\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => (\n // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n (!isInSSRComponentSetup || lifecycle === \"sp\") && injectHook(lifecycle, (...args) => hook(...args), target)\n);\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\"bu\");\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\"bum\");\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\"sp\");\nconst onRenderTriggered = createHook(\n \"rtg\"\n);\nconst onRenderTracked = createHook(\n \"rtc\"\n);\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nfunction renderList(source, renderItem, cache, index) {\n let ret;\n const cached = cache && cache[index];\n if (isArray(source) || isString(source)) {\n ret = new Array(source.length);\n for (let i = 0, l = source.length; i < l; i++) {\n ret[i] = renderItem(source[i], i, void 0, cached && cached[i]);\n }\n } else if (typeof source === \"number\") {\n if (!!(process.env.NODE_ENV !== \"production\") && !Number.isInteger(source)) {\n warn(`The v-for range expect an integer value but got ${source}.`);\n }\n ret = new Array(source);\n for (let i = 0; i < source; i++) {\n ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]);\n }\n } else if (isObject(source)) {\n if (source[Symbol.iterator]) {\n ret = Array.from(\n source,\n (item, i) => renderItem(item, i, void 0, cached && cached[i])\n );\n } else {\n const keys = Object.keys(source);\n ret = new Array(keys.length);\n for (let i = 0, l = keys.length; i < l; i++) {\n const key = keys[i];\n ret[i] = renderItem(source[key], key, i, cached && cached[i]);\n }\n }\n } else {\n ret = [];\n }\n if (cache) {\n cache[index] = ret;\n }\n return ret;\n}\n\nfunction createSlots(slots, dynamicSlots) {\n for (let i = 0; i < dynamicSlots.length; i++) {\n const slot = dynamicSlots[i];\n if (isArray(slot)) {\n for (let j = 0; j < slot.length; j++) {\n slots[slot[j].name] = slot[j].fn;\n }\n } else if (slot) {\n slots[slot.name] = slot.key ? (...args) => {\n const res = slot.fn(...args);\n if (res)\n res.key = slot.key;\n return res;\n } : slot.fn;\n }\n }\n return slots;\n}\n\nfunction renderSlot(slots, name, props = {}, fallback, noSlotted) {\n if (currentRenderingInstance.isCE || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.isCE) {\n if (name !== \"default\")\n props.name = name;\n return createVNode(\"slot\", props, fallback && fallback());\n }\n let slot = slots[name];\n if (!!(process.env.NODE_ENV !== \"production\") && slot && slot.length > 1) {\n warn(\n `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.`\n );\n slot = () => [];\n }\n if (slot && slot._c) {\n slot._d = false;\n }\n openBlock();\n const validSlotContent = slot && ensureValidVNode(slot(props));\n const rendered = createBlock(\n Fragment,\n {\n key: props.key || // slot content array of a dynamic conditional slot may have a branch\n // key attached in the `createSlots` helper, respect that\n validSlotContent && validSlotContent.key || `_${name}`\n },\n validSlotContent || (fallback ? fallback() : []),\n validSlotContent && slots._ === 1 ? 64 : -2\n );\n if (!noSlotted && rendered.scopeId) {\n rendered.slotScopeIds = [rendered.scopeId + \"-s\"];\n }\n if (slot && slot._c) {\n slot._d = true;\n }\n return rendered;\n}\nfunction ensureValidVNode(vnodes) {\n return vnodes.some((child) => {\n if (!isVNode(child))\n return true;\n if (child.type === Comment)\n return false;\n if (child.type === Fragment && !ensureValidVNode(child.children))\n return false;\n return true;\n }) ? vnodes : null;\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i)\n return null;\n if (isStatefulComponent(i))\n return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n $: (i) => i,\n $el: (i) => i.vnode.el,\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => queueJob(i.update)),\n $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)),\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)\n ) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance, \"get\", key);\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn(`Cannot mutate