403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/vue3/router/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/vue3/router/dist/vue-router.bundle.min.js
this.BX=this.BX||{};this.BX.Vue3=this.BX.Vue3||{};(function(e,t){"use strict";
/*!
	  * vue-router v4.4.4
	  * (c) 2024 Eduardo San Martin Morote
	  * @license MIT
	  *
	  * @source: https://unpkg.com/vue-router@4.4.4/dist/vue-router.esm-browser.js
	  */function n(){return o().__VUE_DEVTOOLS_GLOBAL_HOOK__}function o(){return typeof navigator!=="undefined"?window:typeof global!=="undefined"?global:{}}const r="devtools-plugin:setup";function a(e,t){const a=n();if(a){a.emit(r,e,t)}else{const n=o();const r=n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[];r.push({pluginDescriptor:e,setupFn:t})}}const i=typeof document!=="undefined";function s(e){return typeof e==="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function c(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&s(e.default)}const l=Object.assign;function u(e,t){const n={};for(const o in t){const r=t[o];n[o]=d(r)?r.map(e):e(r)}return n}const f=()=>{};const d=Array.isArray;function h(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+e].concat(t))}const p=/#/g;const m=/&/g;const g=/\//g;const v=/=/g;const y=/\?/g;const b=/\+/g;const w=/%5B/g;const _=/%5D/g;const $=/%5E/g;const k=/%60/g;const E=/%7B/g;const R=/%7C/g;const C=/%7D/g;const P=/%20/g;function O(e){return encodeURI(""+e).replace(R,"|").replace(w,"[").replace(_,"]")}function x(e){return O(e).replace(E,"{").replace(C,"}").replace($,"^")}function S(e){return O(e).replace(b,"%2B").replace(P,"+").replace(p,"%23").replace(m,"%26").replace(k,"`").replace(E,"{").replace(C,"}").replace($,"^")}function j(e){return S(e).replace(v,"%3D")}function I(e){return O(e).replace(p,"%23").replace(y,"%3F")}function A(e){return e==null?"":I(e).replace(g,"%2F")}function T(e){try{return decodeURIComponent(""+e)}catch(t){h(`Error decoding "${e}". Using original value`)}return""+e}const L=/\/$/;const B=e=>e.replace(L,"");function M(e,t,n="/"){let o,r={},a="",i="";const s=t.indexOf("#");let c=t.indexOf("?");if(s<c&&s>=0){c=-1}if(c>-1){o=t.slice(0,c);a=t.slice(c+1,s>-1?s:t.length);r=e(a)}if(s>-1){o=o||t.slice(0,s);i=t.slice(s,t.length)}o=F(o!=null?o:t,n);return{fullPath:o+(a&&"?")+a+i,path:o,query:r,hash:T(i)}}function N(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function U(e,t){if(!t||!e.toLowerCase().startsWith(t.toLowerCase()))return e;return e.slice(t.length)||"/"}function V(e,t,n){const o=t.matched.length-1;const r=n.matched.length-1;return o>-1&&o===r&&D(t.matched[o],n.matched[r])&&W(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function D(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function W(e,t){if(Object.keys(e).length!==Object.keys(t).length)return false;for(const n in e){if(!q(e[n],t[n]))return false}return true}function q(e,t){return d(e)?G(e,t):d(t)?G(t,e):e===t}function G(e,t){return d(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):e.length===1&&e[0]===t}function F(e,t){if(e.startsWith("/"))return e;if(!t.startsWith("/")){h(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`);return e}if(!e)return t;const n=t.split("/");const o=e.split("/");const r=o[o.length-1];if(r===".."||r==="."){o.push("")}let a=n.length-1;let i;let s;for(i=0;i<o.length;i++){s=o[i];if(s===".")continue;if(s===".."){if(a>1)a--}else break}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}const K={path:"/",name:undefined,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:undefined};var H;(function(e){e["pop"]="pop";e["push"]="push"})(H||(H={}));var X;(function(e){e["back"]="back";e["forward"]="forward";e["unknown"]=""})(X||(X={}));const z="";function Y(e){if(!e){if(i){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/";e=e.replace(/^\w+:\/\/[^\/]+/,"")}else{e="/"}}if(e[0]!=="/"&&e[0]!=="#")e="/"+e;return B(e)}const J=/^[^#]+#/;function Q(e,t){return e.replace(J,"#")+t}function Z(e,t){const n=document.documentElement.getBoundingClientRect();const o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const ee=()=>({left:window.scrollX,top:window.scrollY});function te(e){let t;if("el"in e){const n=e.el;const o=typeof n==="string"&&n.startsWith("#");if(typeof e.el==="string"){if(!o||!document.getElementById(e.el.slice(1))){try{const t=document.querySelector(e.el);if(o&&t){h(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);return}}catch(t){h(`The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}}}const r=typeof n==="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r){h(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);return}t=Z(r,e)}else{t=e}if("scrollBehavior"in document.documentElement.style)window.scrollTo(t);else{window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}}function ne(e,t){const n=history.state?history.state.position-t:-1;return n+e}const oe=new Map;function re(e,t){oe.set(e,t)}function ae(e){const t=oe.get(e);oe.delete(e);return t}let ie=()=>location.protocol+"//"+location.host;function se(e,t){const{pathname:n,search:o,hash:r}=t;const a=e.indexOf("#");if(a>-1){let t=r.includes(e.slice(a))?e.slice(a).length:1;let n=r.slice(t);if(n[0]!=="/")n="/"+n;return U(n,"")}const i=U(n,e);return i+o+r}function ce(e,t,n,o){let r=[];let a=[];let i=null;const s=({state:a})=>{const s=se(e,location);const c=n.value;const l=t.value;let u=0;if(a){n.value=s;t.value=a;if(i&&i===c){i=null;return}u=l?a.position-l.position:0}else{o(s)}r.forEach((e=>{e(n.value,c,{delta:u,type:H.pop,direction:u?u>0?X.forward:X.back:X.unknown})}))};function c(){i=n.value}function u(e){r.push(e);const t=()=>{const t=r.indexOf(e);if(t>-1)r.splice(t,1)};a.push(t);return t}function f(){const{history:e}=window;if(!e.state)return;e.replaceState(l({},e.state,{scroll:ee()}),"")}function d(){for(const e of a)e();a=[];window.removeEventListener("popstate",s);window.removeEventListener("beforeunload",f)}window.addEventListener("popstate",s);window.addEventListener("beforeunload",f,{passive:true});return{pauseListeners:c,listen:u,destroy:d}}function le(e,t,n,o=false,r=false){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?ee():null}}function ue(e){const{history:t,location:n}=window;const o={value:se(e,n)};const r={value:t.state};if(!r.value){a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:true,scroll:null},true)}function a(o,a,i){const s=e.indexOf("#");const c=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:ie()+e+o;try{t[i?"replaceState":"pushState"](a,"",c);r.value=a}catch(e){{h("Error with push/replace State",e)}n[i?"replace":"assign"](c)}}function i(e,n){const i=l({},t.state,le(r.value.back,e,r.value.forward,true),n,{position:r.value.position});a(e,i,true);o.value=e}function s(e,n){const i=l({},r.value,t.state,{forward:e,scroll:ee()});if(!t.state){h(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:\n\n`+`history.replaceState(history.state, '', url)\n\n`+`You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`)}a(i.current,i,true);const s=l({},le(o.value,e,null),{position:i.position+1},n);a(e,s,false);o.value=e}return{location:o,state:r,push:s,replace:i}}function fe(e){e=Y(e);const t=ue(e);const n=ce(e,t.state,t.location,t.replace);function o(e,t=true){if(!t)n.pauseListeners();history.go(e)}const r=l({location:"",base:e,go:o,createHref:Q.bind(null,e)},t,n);Object.defineProperty(r,"location",{enumerable:true,get:()=>t.location.value});Object.defineProperty(r,"state",{enumerable:true,get:()=>t.state.value});return r}function de(e=""){let t=[];let n=[z];let o=0;e=Y(e);function r(e){o++;if(o!==n.length){n.splice(o)}n.push(e)}function a(e,n,{direction:o,delta:r}){const a={direction:o,delta:r,type:H.pop};for(const o of t){o(e,n,a)}}const i={location:z,state:{},base:e,createHref:Q.bind(null,e),replace(e){n.splice(o--,1);r(e)},push(e,t){r(e)},listen(e){t.push(e);return()=>{const n=t.indexOf(e);if(n>-1)t.splice(n,1)}},destroy(){t=[];n=[z];o=0},go(e,t=true){const r=this.location;const i=e<0?X.back:X.forward;o=Math.max(0,Math.min(o+e,n.length-1));if(t){a(this.location,r,{direction:i,delta:e})}}};Object.defineProperty(i,"location",{enumerable:true,get:()=>n[o]});return i}function he(e){e=location.host?e||location.pathname+location.search:"";if(!e.includes("#"))e+="#";if(!e.endsWith("#/")&&!e.endsWith("#")){h(`A hash base must end with a "#":\n"${e}" should be "${e.replace(/#.*$/,"#")}".`)}return fe(e)}function pe(e){return typeof e==="string"||e&&typeof e==="object"}function me(e){return typeof e==="string"||typeof e==="symbol"}const ge=Symbol("navigation failure");(function(e){e[e["aborted"]=4]="aborted";e[e["cancelled"]=8]="cancelled";e[e["duplicated"]=16]="duplicated"})(e.NavigationFailureType||(e.NavigationFailureType={}));const ve={[1]({location:e,currentLocation:t}){return`No match for\n ${JSON.stringify(e)}${t?"\nwhile being at\n"+JSON.stringify(t):""}`},[2]({from:e,to:t}){return`Redirected from "${e.fullPath}" to "${_e(t)}" via a navigation guard.`},[4]({from:e,to:t}){return`Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`},[8]({from:e,to:t}){return`Navigation cancelled from "${e.fullPath}" to "${t.fullPath}" with a new navigation.`},[16]({from:e,to:t}){return`Avoided redundant navigation to current location: "${e.fullPath}".`}};function ye(e,t){{return l(new Error(ve[e](t)),{type:e,[ge]:true},t)}}function be(e,t){return e instanceof Error&&ge in e&&(t==null||!!(e.type&t))}const we=["params","query","hash"];function _e(e){if(typeof e==="string")return e;if(e.path!=null)return e.path;const t={};for(const n of we){if(n in e)t[n]=e[n]}return JSON.stringify(t,null,2)}const $e="[^/]+?";const ke={sensitive:false,strict:false,start:true,end:true};const Ee=/[.+*?^${}()[\]/\\]/g;function Re(e,t){const n=l({},ke,t);const o=[];let r=n.start?"^":"";const a=[];for(const t of e){const e=t.length?[]:[90];if(n.strict&&!t.length)r+="/";for(let o=0;o<t.length;o++){const i=t[o];let s=40+(n.sensitive?.25:0);if(i.type===0){if(!o)r+="/";r+=i.value.replace(Ee,"\\$&");s+=40}else if(i.type===1){const{value:e,repeatable:n,optional:c,regexp:l}=i;a.push({name:e,repeatable:n,optional:c});const u=l?l:$e;if(u!==$e){s+=10;try{}catch(t){throw new Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let f=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;if(!o)f=c&&t.length<2?`(?:/${f})`:"/"+f;if(c)f+="?";r+=f;s+=20;if(c)s+=-8;if(n)s+=-20;if(u===".*")s+=-50}e.push(s)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}if(!n.strict)r+="/?";if(n.end)r+="$";else if(n.strict)r+="(?:/|$)";const i=new RegExp(r,n.sensitive?"":"i");function s(e){const t=e.match(i);const n={};if(!t)return null;for(let e=1;e<t.length;e++){const o=t[e]||"";const r=a[e-1];n[r.name]=o&&r.repeatable?o.split("/"):o}return n}function c(t){let n="";let o=false;for(const r of e){if(!o||!n.endsWith("/"))n+="/";o=false;for(const e of r){if(e.type===0){n+=e.value}else if(e.type===1){const{value:a,repeatable:i,optional:s}=e;const c=a in t?t[a]:"";if(d(c)&&!i){throw new Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`)}const l=d(c)?c.join("/"):c;if(!l){if(s){if(r.length<2){if(n.endsWith("/"))n=n.slice(0,-1);else o=true}}else throw new Error(`Missing required param "${a}"`)}n+=l}}}return n||"/"}return{re:i,score:o,keys:a,parse:s,stringify:c}}function Ce(e,t){let n=0;while(n<e.length&&n<t.length){const o=t[n]-e[n];if(o)return o;n++}if(e.length<t.length){return e.length===1&&e[0]===40+40?-1:1}else if(e.length>t.length){return t.length===1&&t[0]===40+40?1:-1}return 0}function Pe(e,t){let n=0;const o=e.score;const r=t.score;while(n<o.length&&n<r.length){const e=Ce(o[n],r[n]);if(e)return e;n++}if(Math.abs(r.length-o.length)===1){if(Oe(o))return 1;if(Oe(r))return-1}return r.length-o.length}function Oe(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const xe={type:0,value:""};const Se=/[a-zA-Z0-9_]/;function je(e){if(!e)return[[]];if(e==="/")return[[xe]];if(!e.startsWith("/")){throw new Error(`Route paths should start with a "/": "${e}" should be "/${e}".`)}function t(e){throw new Error(`ERR (${n})/"${l}": ${e}`)}let n=0;let o=n;const r=[];let a;function i(){if(a)r.push(a);a=[]}let s=0;let c;let l="";let u="";function f(){if(!l)return;if(n===0){a.push({type:0,value:l})}else if(n===1||n===2||n===3){if(a.length>1&&(c==="*"||c==="+"))t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`);a.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})}else{t("Invalid state to consume buffer")}l=""}function d(){l+=c}while(s<e.length){c=e[s++];if(c==="\\"&&n!==2){o=n;n=4;continue}switch(n){case 0:if(c==="/"){if(l){f()}i()}else if(c===":"){f();n=1}else{d()}break;case 4:d();n=o;break;case 1:if(c==="("){n=2}else if(Se.test(c)){d()}else{f();n=0;if(c!=="*"&&c!=="?"&&c!=="+")s--}break;case 2:if(c===")"){if(u[u.length-1]=="\\")u=u.slice(0,-1)+c;else n=3}else{u+=c}break;case 3:f();n=0;if(c!=="*"&&c!=="?"&&c!=="+")s--;u="";break;default:t("Unknown state");break}}if(n===2)t(`Unfinished custom RegExp for param "${l}"`);f();i();return r}function Ie(e,t,n){const o=Re(je(e.path),n);{const t=new Set;for(const n of o.keys){if(t.has(n.name))h(`Found duplicated params with name "${n.name}" for path "${e.path}". Only the last one will be available on "$route.params".`);t.add(n.name)}}const r=l(o,{record:e,parent:t,children:[],alias:[]});if(t){if(!r.record.aliasOf===!t.record.aliasOf)t.children.push(r)}return r}function Ae(e,t){const n=[];const o=new Map;t=Ue({strict:false,end:true,sensitive:false},t);function r(e){return o.get(e)}function a(e,n,o){const r=!o;const s=Le(e);{We(s,n)}s.aliasOf=o&&o.record;const u=Ue(t,e);const d=[s];if("alias"in e){const t=typeof e.alias==="string"?[e.alias]:e.alias;for(const e of t){d.push(l({},s,{components:o?o.record.components:s.components,path:e,aliasOf:o?o.record:s}))}}let h;let p;for(const t of d){const{path:l}=t;if(n&&l[0]!=="/"){const e=n.record.path;const o=e[e.length-1]==="/"?"":"/";t.path=n.record.path+(l&&o+l)}if(t.path==="*"){throw new Error('Catch all routes ("*") must now be defined using a param with a custom regexp.\n'+"See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.")}h=Ie(t,n,u);if(n&&l[0]==="/")qe(h,n);if(o){o.alias.push(h);{De(o,h)}}else{p=p||h;if(p!==h)p.alias.push(h);if(r&&e.name&&!Me(h))i(e.name)}if(Ke(h)){c(h)}if(s.children){const e=s.children;for(let t=0;t<e.length;t++){a(e[t],h,o&&o.children[t])}}o=o||h}return p?()=>{i(p)}:f}function i(e){if(me(e)){const t=o.get(e);if(t){o.delete(e);n.splice(n.indexOf(t),1);t.children.forEach(i);t.alias.forEach(i)}}else{const t=n.indexOf(e);if(t>-1){n.splice(t,1);if(e.record.name)o.delete(e.record.name);e.children.forEach(i);e.alias.forEach(i)}}}function s(){return n}function c(e){const t=Ge(e,n);n.splice(t,0,e);if(e.record.name&&!Me(e))o.set(e.record.name,e)}function u(e,t){let r;let a={};let i;let s;if("name"in e&&e.name){r=o.get(e.name);if(!r)throw ye(1,{location:e});{const t=Object.keys(e.params||{}).filter((e=>!r.keys.find((t=>t.name===e))));if(t.length){h(`Discarded invalid param(s) "${t.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}}s=r.record.name;a=l(Te(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Te(e.params,r.keys.map((e=>e.name))));i=r.stringify(a)}else if(e.path!=null){i=e.path;if(!i.startsWith("/")){h(`The Matcher cannot resolve relative paths but received "${i}". Unless you directly called \`matcher.resolve("${i}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`)}r=n.find((e=>e.re.test(i)));if(r){a=r.parse(i);s=r.record.name}}else{r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path)));if(!r)throw ye(1,{location:e,currentLocation:t});s=r.record.name;a=l({},t.params,e.params);i=r.stringify(a)}const c=[];let u=r;while(u){c.unshift(u.record);u=u.parent}return{name:s,path:i,params:a,matched:c,meta:Ne(c)}}e.forEach((e=>a(e)));function d(){n.length=0;o.clear()}return{addRoute:a,resolve:u,removeRoute:i,clearRoutes:d,getRoutes:s,getRecordMatcher:r}}function Te(e,t){const n={};for(const o of t){if(o in e)n[o]=e[o]}return n}function Le(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:undefined,beforeEnter:e.beforeEnter,props:Be(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},mods:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Be(e){const t={};const n=e.props||false;if("component"in e){t.default=n}else{for(const o in e.components)t[o]=typeof n==="object"?n[o]:n}return t}function Me(e){while(e){if(e.record.aliasOf)return true;e=e.parent}return false}function Ne(e){return e.reduce(((e,t)=>l(e,t.meta)),{})}function Ue(e,t){const n={};for(const o in e){n[o]=o in t?t[o]:e[o]}return n}function Ve(e,t){return e.name===t.name&&e.optional===t.optional&&e.repeatable===t.repeatable}function De(e,t){for(const n of e.keys){if(!n.optional&&!t.keys.find(Ve.bind(null,n)))return h(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`)}for(const n of t.keys){if(!n.optional&&!e.keys.find(Ve.bind(null,n)))return h(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`)}}function We(e,t){if(t&&t.record.name&&!e.name&&!e.path){h(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}}function qe(e,t){for(const n of t.keys){if(!e.keys.find(Ve.bind(null,n)))return h(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`)}}function Ge(e,t){let n=0;let o=t.length;while(n!==o){const r=n+o>>1;const a=Pe(e,t[r]);if(a<0){o=r}else{n=r+1}}const r=Fe(e);if(r){o=t.lastIndexOf(r,o-1);if(o<0){h(`Finding ancestor route "${r.record.path}" failed for "${e.record.path}"`)}}return o}function Fe(e){let t=e;while(t=t.parent){if(Ke(t)&&Pe(e,t)===0){return t}}return}function Ke({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function He(e){const t={};if(e===""||e==="?")return t;const n=e[0]==="?";const o=(n?e.slice(1):e).split("&");for(let e=0;e<o.length;++e){const n=o[e].replace(b," ");const r=n.indexOf("=");const a=T(r<0?n:n.slice(0,r));const i=r<0?null:T(n.slice(r+1));if(a in t){let e=t[a];if(!d(e)){e=t[a]=[e]}e.push(i)}else{t[a]=i}}return t}function Xe(e){let t="";for(let n in e){const o=e[n];n=j(n);if(o==null){if(o!==undefined){t+=(t.length?"&":"")+n}continue}const r=d(o)?o.map((e=>e&&S(e))):[o&&S(o)];r.forEach((e=>{if(e!==undefined){t+=(t.length?"&":"")+n;if(e!=null)t+="="+e}}))}return t}function ze(e){const t={};for(const n in e){const o=e[n];if(o!==undefined){t[n]=d(o)?o.map((e=>e==null?null:""+e)):o==null?o:""+o}}return t}const Ye=Symbol("router view location matched");const Je=Symbol("router view depth");const Qe=Symbol("router");const Ze=Symbol("route location");const et=Symbol("router view location");function tt(){let e=[];function t(t){e.push(t);return()=>{const n=e.indexOf(t);if(n>-1)e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function nt(e,n,o){const r=()=>{e[n].delete(o)};t.onUnmounted(r);t.onDeactivated(r);t.onActivated((()=>{e[n].add(o)}));e[n].add(o)}function ot(e){if(!t.getCurrentInstance()){h("getCurrentInstance() returned null. onBeforeRouteLeave() must be called at the top of a setup function");return}const n=t.inject(Ye,{}).value;if(!n){h("No active route record was found when calling `onBeforeRouteLeave()`. Make sure you call this function inside a component child of <router-view>. Maybe you called it inside of App.vue?");return}nt(n,"leaveGuards",e)}function rt(e){if(!t.getCurrentInstance()){h("getCurrentInstance() returned null. onBeforeRouteUpdate() must be called at the top of a setup function");return}const n=t.inject(Ye,{}).value;if(!n){h("No active route record was found when calling `onBeforeRouteUpdate()`. Make sure you call this function inside a component child of <router-view>. Maybe you called it inside of App.vue?");return}nt(n,"updateGuards",e)}function at(e,t,n,o,r,a=(e=>e())){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((s,c)=>{const l=e=>{if(e===false){c(ye(4,{from:n,to:t}))}else if(e instanceof Error){c(e)}else if(pe(e)){c(ye(2,{from:t,to:e}))}else{if(i&&o.enterCallbacks[r]===i&&typeof e==="function"){i.push(e)}s()}};const u=a((()=>e.call(o&&o.instances[r],t,n,it(l,t,n))));let f=Promise.resolve(u);if(e.length<3)f=f.then(l);if(e.length>2){const t=`The "next" callback was never called inside of ${e.name?'"'+e.name+'"':""}:\n${e.toString()}\n. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof u==="object"&&"then"in u){f=f.then((e=>{if(!l._called){h(t);return Promise.reject(new Error("Invalid navigation guard"))}return e}))}else if(u!==undefined){if(!l._called){h(t);c(new Error("Invalid navigation guard"));return}}}f.catch((e=>c(e)))}))}function it(e,t,n){let o=0;return function(){if(o++===1)h(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`);e._called=true;if(o===1)e.apply(null,arguments)}}function st(e,t,n,o,r=(e=>e())){const a=[];for(const i of e){if(!i.components&&!i.children.length){h(`Record with path "${i.path}" is either missing a "component(s)"`+` or "children" property.`)}for(const e in i.components){let l=i.components[e];{if(!l||typeof l!=="object"&&typeof l!=="function"){h(`Component "${e}" in record with path "${i.path}" is not`+` a valid component. Received "${String(l)}".`);throw new Error("Invalid route component")}else if("then"in l){h(`Component "${e}" in record with path "${i.path}" is a `+`Promise instead of a function that returns a Promise. Did you `+`write "import('./MyPage.vue')" instead of `+`"() => import('./MyPage.vue')" ? This will break in `+`production if not fixed.`);const t=l;l=()=>t}else if(l.__asyncLoader&&!l.__warnedDefineAsync){l.__warnedDefineAsync=true;h(`Component "${e}" in record with path "${i.path}" is defined `+`using "defineAsyncComponent()". `+`Write "() => import('./MyPage.vue')" instead of `+`"defineAsyncComponent(() => import('./MyPage.vue'))".`)}}if(t!=="beforeRouteEnter"&&!i.instances[e])continue;if(s(l)){const s=l.__vccOpts||l;const c=s[t];c&&a.push(at(c,n,o,i,e,r))}else{let s=l();if(!("catch"in s)){h(`Component "${e}" in record with path "${i.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`);s=Promise.resolve(s)}a.push((()=>s.then((a=>{if(!a)throw new Error(`Couldn't resolve component "${e}" at "${i.path}"`);const s=c(a)?a.default:a;i.mods[e]=a;i.components[e]=s;const l=s.__vccOpts||s;const u=l[t];return u&&at(u,n,o,i,e,r)()}))))}}}return a}function ct(e){return e.matched.every((e=>e.redirect))?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(e.matched.map((e=>e.components&&Promise.all(Object.keys(e.components).reduce(((t,n)=>{const o=e.components[n];if(typeof o==="function"&&!("displayName"in o)){t.push(o().then((t=>{if(!t)return Promise.reject(new Error(`Couldn't resolve component "${n}" at "${e.path}". Ensure you passed a function that returns a promise.`));const o=c(t)?t.default:t;e.mods[n]=t;e.components[n]=o;return})))}return t}),[]))))).then((()=>e))}function lt(e){const n=t.inject(Qe);const o=t.inject(Ze);let r=false;let a=null;const s=t.computed((()=>{const o=t.unref(e.to);if(!r||o!==a){if(!pe(o)){if(r){h(`Invalid value for prop "to" in useLink()\n- to:`,o,`\n- previous to:`,a,`\n- props:`,e)}else{h(`Invalid value for prop "to" in useLink()\n- to:`,o,`\n- props:`,e)}}a=o;r=true}return n.resolve(o)}));const c=t.computed((()=>{const{matched:e}=s.value;const{length:t}=e;const n=e[t-1];const r=o.matched;if(!n||!r.length)return-1;const a=r.findIndex(D.bind(null,n));if(a>-1)return a;const i=pt(e[t-2]);return t>1&&pt(n)===i&&r[r.length-1].path!==i?r.findIndex(D.bind(null,e[t-2])):a}));const l=t.computed((()=>c.value>-1&&ht(o.params,s.value.params)));const u=t.computed((()=>c.value>-1&&c.value===o.matched.length-1&&W(o.params,s.value.params)));function d(o={}){if(dt(o)){return n[t.unref(e.replace)?"replace":"push"](t.unref(e.to)).catch(f)}return Promise.resolve()}if(i){const n=t.getCurrentInstance();if(n){const o={route:s.value,isActive:l.value,isExactActive:u.value,error:null};n.__vrl_devtools=n.__vrl_devtools||[];n.__vrl_devtools.push(o);t.watchEffect((()=>{o.route=s.value;o.isActive=l.value;o.isExactActive=u.value;o.error=pe(t.unref(e.to))?null:'Invalid "to" value'}),{flush:"post"})}}return{route:s,href:t.computed((()=>s.value.href)),isActive:l,isExactActive:u,navigate:d}}const ut=t.defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:true},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:lt,setup(e,{slots:n}){const o=t.reactive(lt(e));const{options:r}=t.inject(Qe);const a=t.computed((()=>({[mt(e.activeClass,r.linkActiveClass,"router-link-active")]:o.isActive,[mt(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:o.isExactActive})));return()=>{const r=n.default&&n.default(o);return e.custom?r:t.h("a",{"aria-current":o.isExactActive?e.ariaCurrentValue:null,href:o.href,onClick:o.navigate,class:a.value},r)}}});const ft=ut;function dt(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(e.button!==undefined&&e.button!==0)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}if(e.preventDefault)e.preventDefault();return true}function ht(e,t){for(const n in t){const o=t[n];const r=e[n];if(typeof o==="string"){if(o!==r)return false}else{if(!d(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return false}}return true}function pt(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const mt=(e,t,n)=>e!=null?e:t!=null?t:n;const gt=t.defineComponent({name:"RouterView",inheritAttrs:false,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:n,slots:o}){bt();const r=t.inject(et);const a=t.computed((()=>e.route||r.value));const s=t.inject(Je,0);const c=t.computed((()=>{let e=t.unref(s);const{matched:n}=a.value;let o;while((o=n[e])&&!o.components){e++}return e}));const u=t.computed((()=>a.value.matched[c.value]));t.provide(Je,t.computed((()=>c.value+1)));t.provide(Ye,u);t.provide(et,a);const f=t.ref();t.watch((()=>[f.value,u.value,e.name]),(([e,t,n],[o,r,a])=>{if(t){t.instances[n]=e;if(r&&r!==t&&e&&e===o){if(!t.leaveGuards.size){t.leaveGuards=r.leaveGuards}if(!t.updateGuards.size){t.updateGuards=r.updateGuards}}}if(e&&t&&(!r||!D(t,r)||!o)){(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}}),{flush:"post"});return()=>{const r=a.value;const s=e.name;const h=u.value;const p=h&&h.components[s];if(!p){return vt(o.default,{Component:p,route:r})}const m=h.props[s];const g=m?m===true?r.params:typeof m==="function"?m(r):m:null;const v=e=>{if(e.component.isUnmounted){h.instances[s]=null}};const y=t.h(p,l({},g,n,{onVnodeUnmounted:v,ref:f}));if(i&&y.ref){const e={depth:c.value,name:h.name,path:h.path,meta:h.meta};const t=d(y.ref)?y.ref.map((e=>e.i)):[y.ref.i];t.forEach((t=>{t.__vrv_devtools=e}))}return vt(o.default,{Component:y,route:r})||y}}});function vt(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const yt=gt;function bt(){const e=t.getCurrentInstance();const n=e.parent&&e.parent.type.name;const o=e.parent&&e.parent.subTree&&e.parent.subTree.type;if(n&&(n==="KeepAlive"||n.includes("Transition"))&&typeof o==="object"&&o.name==="RouterView"){const e=n==="KeepAlive"?"keep-alive":"transition";h(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.\n`+`Use slot props instead:\n\n`+`<router-view v-slot="{ Component }">\n`+`  <${e}>\n`+`    <component :is="Component" />\n`+`  </${e}>\n`+`</router-view>`)}}function wt(e,t){const n=l({},e,{matched:e.matched.map((e=>Vt(e,["instances","children","aliasOf"])))});return{_custom:{type:null,readOnly:true,display:e.fullPath,tooltip:t,value:n}}}function _t(e){return{_custom:{display:e}}}let $t=0;function kt(e,n,o){if(n.__hasDevtools)return;n.__hasDevtools=true;const r=$t++;a({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},(a=>{if(typeof a.now!=="function"){console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html.")}a.on.inspectComponent(((e,t)=>{if(e.instanceData){e.instanceData.state.push({type:"Routing",key:"$route",editable:false,value:wt(n.currentRoute.value,"Current Route")})}}));a.on.visitComponentTree((({treeNode:e,componentInstance:t})=>{if(t.__vrv_devtools){const n=t.__vrv_devtools;e.tags.push({label:(n.name?`${n.name.toString()}: `:"")+n.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:Ct})}if(d(t.__vrl_devtools)){t.__devtoolsApi=a;t.__vrl_devtools.forEach((t=>{let n=t.route.path;let o=St;let r="";let a=0;if(t.error){n=t.error;o=It;a=At}else if(t.isExactActive){o=Ot;r="This is exactly active"}else if(t.isActive){o=Pt;r="This link is active"}e.tags.push({label:n,textColor:a,tooltip:r,backgroundColor:o})}))}}));t.watch(n.currentRoute,(()=>{l();a.notifyComponentUpdate();a.sendInspectorTree(c);a.sendInspectorState(c)}));const i="router:navigations:"+r;a.addTimelineLayer({id:i,label:`Router${r?" "+r:""} Navigations`,color:4237508});n.onError(((e,t)=>{a.addTimelineEvent({layerId:i,event:{title:"Error during Navigation",subtitle:t.fullPath,logType:"error",time:a.now(),data:{error:e},groupId:t.meta.__navigationId}})}));let s=0;n.beforeEach(((e,t)=>{const n={guard:_t("beforeEach"),from:wt(t,"Current Location during this navigation"),to:wt(e,"Target location")};Object.defineProperty(e.meta,"__navigationId",{value:s++});a.addTimelineEvent({layerId:i,event:{time:a.now(),title:"Start of navigation",subtitle:e.fullPath,data:n,groupId:e.meta.__navigationId}})}));n.afterEach(((e,t,n)=>{const o={guard:_t("afterEach")};if(n){o.failure={_custom:{type:Error,readOnly:true,display:n?n.message:"",tooltip:"Navigation Failure",value:n}};o.status=_t("?")}else{o.status=_t("?")}o.from=wt(t,"Current Location during this navigation");o.to=wt(e,"Target location");a.addTimelineEvent({layerId:i,event:{title:"End of navigation",subtitle:e.fullPath,time:a.now(),data:o,logType:n?"warning":"default",groupId:e.meta.__navigationId}})}));const c="router-inspector:"+r;a.addInspector({id:c,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!u)return;const e=u;let t=o.getRoutes().filter((e=>!e.parent||!e.parent.record.components));t.forEach(Nt);if(e.filter){t=t.filter((t=>Ut(t,e.filter.toLowerCase())))}t.forEach((e=>Mt(e,n.currentRoute.value)));e.rootNodes=t.map(Tt)}let u;a.on.getInspectorTree((t=>{u=t;if(t.app===e&&t.inspectorId===c){l()}}));a.on.getInspectorState((t=>{if(t.app===e&&t.inspectorId===c){const e=o.getRoutes();const n=e.find((e=>e.record.__vd_id===t.nodeId));if(n){t.state={options:Rt(n)}}}}));a.sendInspectorTree(c);a.sendInspectorState(c)}))}function Et(e){if(e.optional){return e.repeatable?"*":"?"}else{return e.repeatable?"+":""}}function Rt(e){const{record:t}=e;const n=[{editable:false,key:"path",value:t.path}];if(t.name!=null){n.push({editable:false,key:"name",value:t.name})}n.push({editable:false,key:"regexp",value:e.re});if(e.keys.length){n.push({editable:false,key:"keys",value:{_custom:{type:null,readOnly:true,display:e.keys.map((e=>`${e.name}${Et(e)}`)).join(" "),tooltip:"Param keys",value:e.keys}}})}if(t.redirect!=null){n.push({editable:false,key:"redirect",value:t.redirect})}if(e.alias.length){n.push({editable:false,key:"aliases",value:e.alias.map((e=>e.record.path))})}if(Object.keys(e.record.meta).length){n.push({editable:false,key:"meta",value:e.record.meta})}n.push({key:"score",editable:false,value:{_custom:{type:null,readOnly:true,display:e.score.map((e=>e.join(", "))).join(" | "),tooltip:"Score used to sort routes",value:e.score}}});return n}const Ct=15485081;const Pt=2450411;const Ot=8702998;const xt=2282478;const St=16486972;const jt=6710886;const It=16704226;const At=12131356;function Tt(e){const t=[];const{record:n}=e;if(n.name!=null){t.push({label:String(n.name),textColor:0,backgroundColor:xt})}if(n.aliasOf){t.push({label:"alias",textColor:0,backgroundColor:St})}if(e.__vd_match){t.push({label:"matches",textColor:0,backgroundColor:Ct})}if(e.__vd_exactActive){t.push({label:"exact",textColor:0,backgroundColor:Ot})}if(e.__vd_active){t.push({label:"active",textColor:0,backgroundColor:Pt})}if(n.redirect){t.push({label:typeof n.redirect==="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:jt})}let o=n.__vd_id;if(o==null){o=String(Lt++);n.__vd_id=o}return{id:o,label:n.path,tags:t,children:e.children.map(Tt)}}let Lt=0;const Bt=/^\/(.*)\/([a-z]*)$/;function Mt(e,t){const n=t.matched.length&&D(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n;if(!n){e.__vd_active=t.matched.some((t=>D(t,e.record)))}e.children.forEach((e=>Mt(e,t)))}function Nt(e){e.__vd_match=false;e.children.forEach(Nt)}function Ut(e,t){const n=String(e.re).match(Bt);e.__vd_match=false;if(!n||n.length<3){return false}const o=new RegExp(n[1].replace(/\$$/,""),n[2]);if(o.test(t)){e.children.forEach((e=>Ut(e,t)));if(e.record.path!=="/"||t==="/"){e.__vd_match=e.re.test(t);return true}return false}const r=e.record.path.toLowerCase();const a=T(r);if(!t.startsWith("/")&&(a.includes(t)||r.includes(t)))return true;if(a.startsWith(t)||r.startsWith(t))return true;if(e.record.name&&String(e.record.name).includes(t))return true;return e.children.some((e=>Ut(e,t)))}function Vt(e,t){const n={};for(const o in e){if(!t.includes(o)){n[o]=e[o]}}return n}function Dt(e){const n=Ae(e.routes,e);const o=e.parseQuery||He;const r=e.stringifyQuery||Xe;const a=e.history;if(!a)throw new Error('Provide the "history" option when calling "createRouter()":'+" https://router.vuejs.org/api/interfaces/RouterOptions.html#history");const s=tt();const c=tt();const p=tt();const m=t.shallowRef(K);let g=K;if(i&&e.scrollBehavior&&"scrollRestoration"in history){history.scrollRestoration="manual"}const v=u.bind(null,(e=>""+e));const y=u.bind(null,A);const b=u.bind(null,T);function w(e,t){let o;let r;if(me(e)){o=n.getRecordMatcher(e);if(!o){h(`Parent route "${String(e)}" not found when adding child route`,t)}r=t}else{r=e}return n.addRoute(r,o)}function _(e){const t=n.getRecordMatcher(e);if(t){n.removeRoute(t)}else{h(`Cannot remove non-existent route "${String(e)}"`)}}function $(){return n.getRoutes().map((e=>e.record))}function k(e){return!!n.getRecordMatcher(e)}function E(e,t){t=l({},t||m.value);if(typeof e==="string"){const r=M(o,e,t.path);const i=n.resolve({path:r.path},t);const s=a.createHref(r.fullPath);{if(s.startsWith("//"))h(`Location "${e}" resolved to "${s}". A resolved location cannot start with multiple slashes.`);else if(!i.matched.length){h(`No match found for location with path "${e}"`)}}return l(r,i,{params:b(i.params),hash:T(r.hash),redirectedFrom:undefined,href:s})}if(!pe(e)){h(`router.resolve() was passed an invalid location. This will fail in production.\n- Location:`,e);return E({})}let i;if(e.path!=null){if("params"in e&&!("name"in e)&&Object.keys(e.params).length){h(`Path "${e.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`)}i=l({},e,{path:M(o,e.path,t.path).path})}else{const n=l({},e.params);for(const e in n){if(n[e]==null){delete n[e]}}i=l({},e,{params:y(n)});t.params=y(t.params)}const s=n.resolve(i,t);const c=e.hash||"";if(c&&!c.startsWith("#")){h(`A \`hash\` should always start with the character "#". Replace "${c}" with "#${c}".`)}s.params=v(b(s.params));const u=N(r,l({},e,{hash:x(c),path:s.path}));const f=a.createHref(u);{if(f.startsWith("//")){h(`Location "${e}" resolved to "${f}". A resolved location cannot start with multiple slashes.`)}else if(!s.matched.length){h(`No match found for location with path "${e.path!=null?e.path:e}"`)}}return l({fullPath:u,hash:c,query:r===Xe?ze(e.query):e.query||{}},s,{redirectedFrom:undefined,href:f})}function R(e){return typeof e==="string"?M(o,e,m.value.path):l({},e)}function C(e,t){if(g!==e){return ye(8,{from:t,to:e})}}function P(e){return j(e)}function O(e){return P(l(R(e),{replace:true}))}function S(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o=typeof n==="function"?n(e):n;if(typeof o==="string"){o=o.includes("?")||o.includes("#")?o=R(o):{path:o};o.params={}}if(o.path==null&&!("name"in o)){h(`Invalid redirect found:\n${JSON.stringify(o,null,2)}\n when navigating to "${e.fullPath}". A redirect must contain a name or path. This will break in production.`);throw new Error("Invalid redirect")}return l({query:e.query,hash:e.hash,params:o.path!=null?{}:e.params},o)}}function j(e,t){const n=g=E(e);const o=m.value;const a=e.state;const i=e.force;const s=e.replace===true;const c=S(n);if(c)return j(l(R(c),{state:typeof c==="object"?l({},a,c.state):a,force:i,replace:s}),t||n);const u=n;u.redirectedFrom=t;let f;if(!i&&V(r,o,n)){f=ye(16,{to:u,from:o});Q(o,o,true,false)}return(f?Promise.resolve(f):B(u,o)).catch((e=>be(e)?be(e,2)?e:J(e):z(e,u,o))).then((e=>{if(e){if(be(e,2)){if(V(r,E(e.to),u)&&t&&(t._count=t._count?t._count+1:1)>30){h(`Detected a possibly infinite redirection in a navigation guard when going from "${o.fullPath}" to "${u.fullPath}". Aborting to avoid a Stack Overflow.\n Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`);return Promise.reject(new Error("Infinite redirect in navigation guard"))}return j(l({replace:s},R(e.to),{state:typeof e.to==="object"?l({},a,e.to.state):a,force:i}),t||u)}}else{e=D(u,o,true,s,a)}U(u,o,e);return e}))}function I(e,t){const n=C(e,t);return n?Promise.reject(n):Promise.resolve()}function L(e){const t=ie.values().next().value;return t&&typeof t.runWithContext==="function"?t.runWithContext(e):e()}function B(e,t){let n;const[o,r,a]=Wt(e,t);n=st(o.reverse(),"beforeRouteLeave",e,t);for(const r of o){r.leaveGuards.forEach((o=>{n.push(at(o,e,t))}))}const i=I.bind(null,e,t);n.push(i);return ce(n).then((()=>{n=[];for(const o of s.list()){n.push(at(o,e,t))}n.push(i);return ce(n)})).then((()=>{n=st(r,"beforeRouteUpdate",e,t);for(const o of r){o.updateGuards.forEach((o=>{n.push(at(o,e,t))}))}n.push(i);return ce(n)})).then((()=>{n=[];for(const o of a){if(o.beforeEnter){if(d(o.beforeEnter)){for(const r of o.beforeEnter)n.push(at(r,e,t))}else{n.push(at(o.beforeEnter,e,t))}}}n.push(i);return ce(n)})).then((()=>{e.matched.forEach((e=>e.enterCallbacks={}));n=st(a,"beforeRouteEnter",e,t,L);n.push(i);return ce(n)})).then((()=>{n=[];for(const o of c.list()){n.push(at(o,e,t))}n.push(i);return ce(n)})).catch((e=>be(e,8)?e:Promise.reject(e)))}function U(e,t,n){p.list().forEach((o=>L((()=>o(e,t,n)))))}function D(e,t,n,o,r){const s=C(e,t);if(s)return s;const c=t===K;const u=!i?{}:history.state;if(n){if(o||c)a.replace(e.fullPath,l({scroll:c&&u&&u.scroll},r));else a.push(e.fullPath,r)}m.value=e;Q(e,t,n,c);J()}let W;function q(){if(W)return;W=a.listen(((e,t,n)=>{if(!se.listening)return;const o=E(e);const r=S(o);if(r){j(l(r,{replace:true}),o).catch(f);return}g=o;const s=m.value;if(i){re(ne(s.fullPath,n.delta),ee())}B(o,s).catch((e=>{if(be(e,4|8)){return e}if(be(e,2)){j(e.to,o).then((e=>{if(be(e,4|16)&&!n.delta&&n.type===H.pop){a.go(-1,false)}})).catch(f);return Promise.reject()}if(n.delta){a.go(-n.delta,false)}return z(e,o,s)})).then((e=>{e=e||D(o,s,false);if(e){if(n.delta&&!be(e,8)){a.go(-n.delta,false)}else if(n.type===H.pop&&be(e,4|16)){a.go(-1,false)}}U(o,s,e)})).catch(f)}))}let G=tt();let F=tt();let X;function z(e,t,n){J(e);const o=F.list();if(o.length){o.forEach((o=>o(e,t,n)))}else{{h("uncaught error during route navigation:")}console.error(e)}return Promise.reject(e)}function Y(){if(X&&m.value!==K)return Promise.resolve();return new Promise(((e,t)=>{G.add([e,t])}))}function J(e){if(!X){X=!e;q();G.list().forEach((([t,n])=>e?n(e):t()));G.reset()}return e}function Q(n,o,r,a){const{scrollBehavior:s}=e;if(!i||!s)return Promise.resolve();const c=!r&&ae(ne(n.fullPath,0))||(a||!r)&&history.state&&history.state.scroll||null;return t.nextTick().then((()=>s(n,o,c))).then((e=>e&&te(e))).catch((e=>z(e,n,o)))}const Z=e=>a.go(e);let oe;const ie=new Set;const se={currentRoute:m,listening:true,addRoute:w,removeRoute:_,clearRoutes:n.clearRoutes,hasRoute:k,getRoutes:$,resolve:E,options:e,push:P,replace:O,go:Z,back:()=>Z(-1),forward:()=>Z(1),beforeEach:s.add,beforeResolve:c.add,afterEach:p.add,onError:F.add,isReady:Y,install(e){const o=this;e.component("RouterLink",ft);e.component("RouterView",yt);e.config.globalProperties.$router=o;Object.defineProperty(e.config.globalProperties,"$route",{enumerable:true,get:()=>t.unref(m)});if(i&&!oe&&m.value===K){oe=true;P(a.location).catch((e=>{h("Unexpected error when starting the router:",e)}))}const r={};for(const e in K){Object.defineProperty(r,e,{get:()=>m.value[e],enumerable:true})}e.provide(Qe,o);e.provide(Ze,t.shallowReactive(r));e.provide(et,m);const s=e.unmount;ie.add(e);e.unmount=function(){ie.delete(e);if(ie.size<1){g=K;W&&W();W=null;m.value=K;oe=false;X=false}s()};if(i){kt(e,o,n)}}};function ce(e){return e.reduce(((e,t)=>e.then((()=>L(t)))),Promise.resolve())}return se}function Wt(e,t){const n=[];const o=[];const r=[];const a=Math.max(t.matched.length,e.matched.length);for(let i=0;i<a;i++){const a=t.matched[i];if(a){if(e.matched.find((e=>D(e,a))))o.push(a);else n.push(a)}const s=e.matched[i];if(s){if(!t.matched.find((e=>D(e,s)))){r.push(s)}}}return[n,o,r]}function qt(){return t.inject(Qe)}function Gt(e){return t.inject(Ze)}e.RouterLink=ft;e.RouterView=yt;e.START_LOCATION=K;e.createMemoryHistory=de;e.createRouter=Dt;e.createRouterMatcher=Ae;e.createWebHashHistory=he;e.createWebHistory=fe;e.isNavigationFailure=be;e.loadRouteLocation=ct;e.matchedRouteKey=Ye;e.onBeforeRouteLeave=ot;e.onBeforeRouteUpdate=rt;e.parseQuery=He;e.routeLocationKey=Ze;e.routerKey=Qe;e.routerViewLocationKey=et;e.stringifyQuery=Xe;e.useLink=lt;e.useRoute=Gt;e.useRouter=qt;e.viewDepthKey=Je})(this.BX.Vue3.VueRouter=this.BX.Vue3.VueRouter||{},BX.Vue3);
//# sourceMappingURL=vue-router.bundle.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit