@ganglion/xacpx-relay 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/relay-web/assets/{BrandLogo.vue_vue_type_script_setup_true_lang-CFhIwewr.js → BrandLogo.vue_vue_type_script_setup_true_lang-BWvSYb7-.js} +1 -1
- package/dist/relay-web/assets/{DashboardView-JtW5A36N.js → DashboardView-qeO0cGEa.js} +1 -1
- package/dist/relay-web/assets/{LoginView-d8fYu1mw.js → LoginView-Bc0b1UH3.js} +1 -1
- package/dist/relay-web/assets/{SettingsView-CfYdcmgD.js → SettingsView-X2_13xBa.js} +1 -1
- package/dist/relay-web/assets/{index-BJDsVsa_.js → index-Ccu9C2LP.js} +2 -2
- package/dist/relay-web/assets/{theme-CxeV4JBF.js → theme-CSnImvQq.js} +1 -1
- package/dist/relay-web/index.html +1 -1
- package/dist/relay-web/sw.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,c as s,Q as a,o as n}from"./index-
|
|
1
|
+
import{d as e,c as s,Q as a,o as n}from"./index-Ccu9C2LP.js";const o={class:"flex items-center gap-2 select-none"},d=e({__name:"BrandLogo",setup(r){return(p,t)=>(n(),s("div",o,[...t[0]||(t[0]=[a('<svg data-test="brand-x" width="22" height="22" viewBox="0 0 24 24" fill="none" aria-hidden="true"><defs><linearGradient id="xacpxBrand" x1="3" y1="3" x2="21" y2="21" gradientUnits="userSpaceOnUse"><stop stop-color="#4F9BF5"></stop><stop offset="1" stop-color="#69D689"></stop></linearGradient></defs><path d="M5 5 L19 19 M19 5 L5 19" stroke="url(#xacpxBrand)" stroke-width="3.2" stroke-linecap="round"></path></svg><span class="text-[15px] font-semibold tracking-tight text-fg">xacpx</span><span class="text-fg-muted text-xs">· relay</span>',3)])]))}});export{d as _};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as X,k as yt,r as T,l as ue,A as Su,m as K,n as Ma,d as ie,p as mt,q as zu,c as y,a as f,s as W,t as k,b as O,f as x,F as Y,x as oe,g as I,h as Xe,y as j,o as d,z as St,B as he,T as Ru,e as le,w as Ee,v as Oe,C as On,D as iu,E as Lu,G as bu,H as Oa,I as zn,J as Rn,K as rt,L as za,M as Tt,N as ft,O as Ra,P as La}from"./index-
|
|
1
|
+
import{j as X,k as yt,r as T,l as ue,A as Su,m as K,n as Ma,d as ie,p as mt,q as zu,c as y,a as f,s as W,t as k,b as O,f as x,F as Y,x as oe,g as I,h as Xe,y as j,o as d,z as St,B as he,T as Ru,e as le,w as Ee,v as Oe,C as On,D as iu,E as Lu,G as bu,H as Oa,I as zn,J as Rn,K as rt,L as za,M as Tt,N as ft,O as Ra,P as La}from"./index-Ccu9C2LP.js";import{_ as Na}from"./BrandLogo.vue_vue_type_script_setup_true_lang-BWvSYb7-.js";import{u as Pa}from"./theme-CSnImvQq.js";/**
|
|
2
2
|
* @license lucide-vue-next v1.0.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as g,u as m,c as i,a as e,b as h,t as o,w as v,v as y,e as l,f as d,g as _,h as
|
|
1
|
+
import{d as g,u as m,c as i,a as e,b as h,t as o,w as v,v as y,e as l,f as d,g as _,h as x,r as c,i as k,o as u}from"./index-Ccu9C2LP.js";import{_ as w}from"./BrandLogo.vue_vue_type_script_setup_true_lang-BWvSYb7-.js";const $={class:"flex h-screen items-center justify-center bg-bg"},V={class:"mb-2 flex justify-center"},B={for:"access-token",class:"sr-only"},N=["placeholder","disabled"],S={id:"token-hint",class:"text-sm text-fg-muted"},j={key:0,class:"text-sm text-danger"},A=["disabled"],L=g({__name:"LoginView",setup(C){const n=m(),f=k(),r=c(""),t=c(!1);async function b(){if(!t.value){t.value=!0;try{await n.login(r.value)&&f.replace("/")}finally{t.value=!1}}}return(s,a)=>(u(),i("div",$,[e("form",{class:"w-80 space-y-3 rounded-lg border border-border bg-surface p-6 shadow-xl",onSubmit:x(b,["prevent"])},[e("div",V,[h(w)]),e("label",B,o(s.$t("login.tokenLabel")),1),v(e("input",{id:"access-token","onUpdate:modelValue":a[0]||(a[0]=p=>r.value=p),type:"password",autocomplete:"off","aria-describedby":"token-hint",class:"w-full rounded border border-border bg-bg px-3 py-2 text-fg placeholder:text-fg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent disabled:opacity-50",placeholder:s.$t("login.tokenPlaceholder"),disabled:t.value},null,8,N),[[y,r.value]]),e("p",S,[l(o(s.$t("login.hintBefore")),1),a[1]||(a[1]=e("code",null,"xacpx-relay add token",-1)),l(o(s.$t("login.hintAfter")),1)]),d(n).error?(u(),i("p",j,o(d(n).error),1)):_("",!0),e("button",{class:"w-full rounded bg-accent px-3 py-2 text-white hover:bg-accent-hover disabled:opacity-50",type:"submit",disabled:t.value},o(t.value?s.$t("login.signingIn"):s.$t("login.signIn")),9,A)],32)]))}});export{L as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as S,d as N,u as O,R as T,z as V,p as P,l as x,c as r,a as t,t as s,b as v,N as B,f as o,s as m,F as z,x as E,S as M,w as R,v as j,g as D,e as _,r as p,G as H,P as I,i as A,o as d}from"./index-
|
|
1
|
+
import{j as S,d as N,u as O,R as T,z as V,p as P,l as x,c as r,a as t,t as s,b as v,N as B,f as o,s as m,F as z,x as E,S as M,w as R,v as j,g as D,e as _,r as p,G as H,P as I,i as A,o as d}from"./index-Ccu9C2LP.js";import{u as F}from"./theme-CSnImvQq.js";/**
|
|
2
2
|
* @license lucide-vue-next v1.0.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-Bc0b1UH3.js","assets/BrandLogo.vue_vue_type_script_setup_true_lang-BWvSYb7-.js","assets/DashboardView-qeO0cGEa.js","assets/theme-CSnImvQq.js","assets/DashboardView-Di-qpvLF.css","assets/SettingsView-X2_13xBa.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
|
3
3
|
* @vue/shared v3.5.35
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -77,7 +77,7 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-d8fYu
|
|
|
77
77
|
* vue-router v4.6.4
|
|
78
78
|
* (c) 2025 Eduardo San Martin Morote
|
|
79
79
|
* @license MIT
|
|
80
|
-
*/let Bh=()=>location.protocol+"//"+location.host;function _c(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Bi(l,"")}return Bi(n,e)+s+r}function jh(e,t,n,s){let r=[],o=[],i=null;const l=({state:d})=>{const _=_c(e,location),N=n.value,y=t.value;let w=0;if(d){if(n.value=_,t.value=d,i&&i===N){i=null;return}w=y?d.position-y.position:0}else s(_);r.forEach(M=>{M(n.value,N,{delta:w,type:lo.pop,direction:w?w>0?xr.forward:xr.back:xr.unknown})})};function a(){i=n.value}function c(d){r.push(d);const _=()=>{const N=r.indexOf(d);N>-1&&r.splice(N,1)};return o.push(_),_}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(ue({},d.state,{scroll:gr()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:a,listen:c,destroy:f}}function Xi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?gr():null}}function Gh(e){const{history:t,location:n}=window,s={value:_c(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:Bh()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(_){console.error(_),n[u?"replace":"assign"](d)}}function i(a,c){o(a,ue({},t.state,Xi(r.value.back,a,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=a}function l(a,c){const u=ue({},r.value,t.state,{forward:a,scroll:gr()});o(u.current,u,!0),o(a,ue({},Xi(s.value,a,null),{position:u.position+1},c),!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function Kh(e){e=Oh(e);const t=Gh(e),n=jh(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ue({location:"",base:e,go:s,createHref:Rh.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let _n=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Oe=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Oe||{});const Yh={type:_n.Static,value:""},Xh=/[a-zA-Z0-9_]/;function qh(e){if(!e)return[[]];if(e==="/")return[[Yh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${c}": ${_}`)}let n=Oe.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===Oe.Static?o.push({type:_n.Static,value:c}):n===Oe.Param||n===Oe.ParamRegExp||n===Oe.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:_n.Param,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==Oe.ParamRegExp){s=n,n=Oe.EscapeNext;continue}switch(n){case Oe.Static:a==="/"?(c&&f(),i()):a===":"?(f(),n=Oe.Param):d();break;case Oe.EscapeNext:d(),n=s;break;case Oe.Param:a==="("?n=Oe.ParamRegExp:Xh.test(a)?d():(f(),n=Oe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case Oe.ParamRegExp:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=Oe.ParamRegExpEnd:u+=a;break;case Oe.ParamRegExpEnd:f(),n=Oe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===Oe.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),r}const qi="[^/]+?",Jh={sensitive:!1,strict:!1,start:!0,end:!0};var Xe=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(Xe||{});const Qh=/[.+*?^${}()[\]/\\]/g;function Zh(e,t){const n=ue({},Jh,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[Xe.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const d=c[f];let _=Xe.Segment+(n.sensitive?Xe.BonusCaseSensitive:0);if(d.type===_n.Static)f||(r+="/"),r+=d.value.replace(Qh,"\\$&"),_+=Xe.Static;else if(d.type===_n.Param){const{value:N,repeatable:y,optional:w,regexp:M}=d;o.push({name:N,repeatable:y,optional:w});const P=M||qi;if(P!==qi){_+=Xe.BonusCustomRegExp;try{`${P}`}catch(b){throw new Error(`Invalid custom RegExp for param "${N}" (${P}): `+b.message)}}let v=y?`((?:${P})(?:/(?:${P}))*)`:`(${P})`;f||(v=w&&c.length<2?`(?:/${v})`:"/"+v),w&&(v+="?"),r+=v,_+=Xe.Dynamic,w&&(_+=Xe.BonusOptional),y&&(_+=Xe.BonusRepeatable),P===".*"&&(_+=Xe.BonusWildcard)}u.push(_)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=Xe.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const _=u[d]||"",N=o[d-1];f[N.name]=_&&N.repeatable?_.split("/"):_}return f}function a(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const _ of d)if(_.type===_n.Static)u+=_.value;else if(_.type===_n.Param){const{value:N,repeatable:y,optional:w}=_,M=N in c?c[N]:"";if(Et(M)&&!y)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const P=Et(M)?M.join("/"):M;if(!P)if(w)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${N}"`);u+=P}}return u||"/"}return{re:i,score:s,keys:o,parse:l,stringify:a}}function zh(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Xe.Static+Xe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Xe.Static+Xe.Segment?1:-1:0}function Ec(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=zh(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Ji(s))return 1;if(Ji(r))return-1}return r.length-s.length}function Ji(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const em={strict:!1,end:!0,sensitive:!1};function tm(e,t,n){const s=Zh(qh(e.path),n),r=ue(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function nm(e,t){const n=[],s=new Map;t=$i(em,t);function r(f){return s.get(f)}function o(f,d,_){const N=!_,y=Zi(f);y.aliasOf=_&&_.record;const w=$i(t,f),M=[y];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const I of b)M.push(Zi(ue({},y,{components:_?_.record.components:y.components,path:I,aliasOf:_?_.record:y})))}let P,v;for(const b of M){const{path:I}=b;if(d&&I[0]!=="/"){const O=d.record.path,L=O[O.length-1]==="/"?"":"/";b.path=d.record.path+(I&&L+I)}if(P=tm(b,d,w),_?_.alias.push(P):(v=v||P,v!==P&&v.alias.push(P),N&&f.name&&!zi(P)&&i(f.name)),vc(P)&&a(P),y.children){const O=y.children;for(let L=0;L<O.length;L++)o(O[L],P,_&&_.children[L])}_=_||P}return v?()=>{i(v)}:os}function i(f){if(mc(f)){const d=s.get(f);d&&(s.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const d=om(f,n);n.splice(d,0,f),f.record.name&&!zi(f)&&s.set(f.record.name,f)}function c(f,d){let _,N={},y,w;if("name"in f&&f.name){if(_=s.get(f.name),!_)throw Mn(Ae.MATCHER_NOT_FOUND,{location:f});w=_.record.name,N=ue(Qi(d.params,_.keys.filter(v=>!v.optional).concat(_.parent?_.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),f.params&&Qi(f.params,_.keys.map(v=>v.name))),y=_.stringify(N)}else if(f.path!=null)y=f.path,_=n.find(v=>v.re.test(y)),_&&(N=_.parse(y),w=_.record.name);else{if(_=d.name?s.get(d.name):n.find(v=>v.re.test(d.path)),!_)throw Mn(Ae.MATCHER_NOT_FOUND,{location:f,currentLocation:d});w=_.record.name,N=ue({},d.params,f.params),y=_.stringify(N)}const M=[];let P=_;for(;P;)M.unshift(P.record),P=P.parent;return{name:w,path:y,params:N,matched:M,meta:rm(M)}}e.forEach(f=>o(f));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Qi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Zi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:sm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function sm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function zi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rm(e){return e.reduce((t,n)=>ue(t,n.meta),{})}function om(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ec(e,t[o])<0?s=o:n=o+1}const r=im(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function im(e){let t=e;for(;t=t.parent;)if(vc(t)&&Ec(e,t)===0)return t}function vc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function el(e){const t=ut(_r),n=ut(gc),s=Ne(()=>{const a=Ie(e.to);return t.resolve(a)}),r=Ne(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Dn.bind(null,u));if(d>-1)return d;const _=tl(a[c-2]);return c>1&&tl(u)===_&&f[f.length-1].path!==_?f.findIndex(Dn.bind(null,a[c-2])):d}),o=Ne(()=>r.value>-1&&fm(n.params,s.value.params)),i=Ne(()=>r.value>-1&&r.value===n.matched.length-1&&hc(n.params,s.value.params));function l(a={}){if(um(a)){const c=t[Ie(e.replace)?"replace":"push"](Ie(e.to)).catch(os);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:Ne(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function lm(e){return e.length===1?e[0]:e}const am=yn({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"},viewTransition:Boolean},useLink:el,setup(e,{slots:t}){const n=Ts(el(e)),{options:s}=ut(_r),r=Ne(()=>({[nl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[nl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&lm(t.default(n));return e.custom?o:zt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),cm=am;function um(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){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 fm(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Et(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function tl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nl=(e,t,n)=>e??t??n,dm=yn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ut(co),r=Ne(()=>e.route||s.value),o=ut(Yi,0),i=Ne(()=>{let c=Ie(o);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=Ne(()=>r.value.matched[i.value]);ks(Yi,Ne(()=>i.value+1)),ks(Wh,l),ks(co,r);const a=ct();return Jt(()=>[a.value,l.value,e.name],([c,u,f],[d,_,N])=>{u&&(u.instances[f]=c,_&&_!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=_.leaveGuards),u.updateGuards.size||(u.updateGuards=_.updateGuards))),c&&u&&(!_||!Dn(u,_)||!d)&&(u.enterCallbacks[f]||[]).forEach(y=>y(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return sl(n.default,{Component:d,route:c});const _=f.props[u],N=_?_===!0?c.params:typeof _=="function"?_(c):_:null,w=zt(d,ue({},N,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return sl(n.default,{Component:w,route:c})||w}}});function sl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const hm=dm;function mm(e){const t=nm(e.routes,e),n=e.parseQuery||Vh,s=e.stringifyQuery||Ki,r=e.history,o=Gn(),i=Gn(),l=Gn(),a=Ro(jt);let c=jt;Nn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Mr.bind(null,x=>""+x),f=Mr.bind(null,Th),d=Mr.bind(null,gs);function _(x,Y){let j,X;return mc(x)?(j=t.getRecordMatcher(x),X=Y):X=x,t.addRoute(X,j)}function N(x){const Y=t.getRecordMatcher(x);Y&&t.removeRoute(Y)}function y(){return t.getRoutes().map(x=>x.record)}function w(x){return!!t.getRecordMatcher(x)}function M(x,Y){if(Y=ue({},Y||a.value),typeof x=="string"){const g=Fr(n,x,Y.path),C=t.resolve({path:g.path},Y),U=r.createHref(g.fullPath);return ue(g,C,{params:d(C.params),hash:gs(g.hash),redirectedFrom:void 0,href:U})}let j;if(x.path!=null)j=ue({},x,{path:Fr(n,x.path,Y.path).path});else{const g=ue({},x.params);for(const C in g)g[C]==null&&delete g[C];j=ue({},x,{params:f(g)}),Y.params=f(Y.params)}const X=t.resolve(j,Y),re=x.hash||"";X.params=u(d(X.params));const p=Nh(s,ue({},x,{hash:vh(re),path:X.path})),E=r.createHref(p);return ue({fullPath:p,hash:re,query:s===Ki?Hh(x.query):x.query||{}},X,{redirectedFrom:void 0,href:E})}function P(x){return typeof x=="string"?Fr(n,x,a.value.path):ue({},x)}function v(x,Y){if(c!==x)return Mn(Ae.NAVIGATION_CANCELLED,{from:Y,to:x})}function b(x){return L(x)}function I(x){return b(ue(P(x),{replace:!0}))}function O(x,Y){const j=x.matched[x.matched.length-1];if(j&&j.redirect){const{redirect:X}=j;let re=typeof X=="function"?X(x,Y):X;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=P(re):{path:re},re.params={}),ue({query:x.query,hash:x.hash,params:re.path!=null?{}:x.params},re)}}function L(x,Y){const j=c=M(x),X=a.value,re=x.state,p=x.force,E=x.replace===!0,g=O(j,X);if(g)return L(ue(P(g),{state:typeof g=="object"?ue({},re,g.state):re,force:p,replace:E}),Y||j);const C=j;C.redirectedFrom=Y;let U;return!p&&Ch(s,X,j)&&(U=Mn(Ae.NAVIGATION_DUPLICATED,{to:C,from:X}),Te(X,X,!0,!1)),(U?Promise.resolve(U):K(C,X)).catch(k=>Pt(k)?Pt(k,Ae.NAVIGATION_GUARD_REDIRECT)?k:Qe(k):le(k,C,X)).then(k=>{if(k){if(Pt(k,Ae.NAVIGATION_GUARD_REDIRECT))return L(ue({replace:E},P(k.to),{state:typeof k.to=="object"?ue({},re,k.to.state):re,force:p}),Y||C)}else k=V(C,X,!0,E,re);return Q(C,X,k),k})}function F(x,Y){const j=v(x,Y);return j?Promise.reject(j):Promise.resolve()}function T(x){const Y=ze.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(x):x()}function K(x,Y){let j;const[X,re,p]=$h(x,Y);j=Ur(X.reverse(),"beforeRouteLeave",x,Y);for(const g of X)g.leaveGuards.forEach(C=>{j.push(qt(C,x,Y))});const E=F.bind(null,x,Y);return j.push(E),De(j).then(()=>{j=[];for(const g of o.list())j.push(qt(g,x,Y));return j.push(E),De(j)}).then(()=>{j=Ur(re,"beforeRouteUpdate",x,Y);for(const g of re)g.updateGuards.forEach(C=>{j.push(qt(C,x,Y))});return j.push(E),De(j)}).then(()=>{j=[];for(const g of p)if(g.beforeEnter)if(Et(g.beforeEnter))for(const C of g.beforeEnter)j.push(qt(C,x,Y));else j.push(qt(g.beforeEnter,x,Y));return j.push(E),De(j)}).then(()=>(x.matched.forEach(g=>g.enterCallbacks={}),j=Ur(p,"beforeRouteEnter",x,Y,T),j.push(E),De(j))).then(()=>{j=[];for(const g of i.list())j.push(qt(g,x,Y));return j.push(E),De(j)}).catch(g=>Pt(g,Ae.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function Q(x,Y,j){l.list().forEach(X=>T(()=>X(x,Y,j)))}function V(x,Y,j,X,re){const p=v(x,Y);if(p)return p;const E=Y===jt,g=Nn?history.state:{};j&&(X||E?r.replace(x.fullPath,ue({scroll:E&&g&&g.scroll},re)):r.push(x.fullPath,re)),a.value=x,Te(x,Y,j,E),Qe()}let J;function he(){J||(J=r.listen((x,Y,j)=>{if(!et.listening)return;const X=M(x),re=O(X,et.currentRoute.value);if(re){L(ue(re,{replace:!0,force:!0}),X).catch(os);return}c=X;const p=a.value;Nn&&Dh(Gi(p.fullPath,j.delta),gr()),K(X,p).catch(E=>Pt(E,Ae.NAVIGATION_ABORTED|Ae.NAVIGATION_CANCELLED)?E:Pt(E,Ae.NAVIGATION_GUARD_REDIRECT)?(L(ue(P(E.to),{force:!0}),X).then(g=>{Pt(g,Ae.NAVIGATION_ABORTED|Ae.NAVIGATION_DUPLICATED)&&!j.delta&&j.type===lo.pop&&r.go(-1,!1)}).catch(os),Promise.reject()):(j.delta&&r.go(-j.delta,!1),le(E,X,p))).then(E=>{E=E||V(X,p,!1),E&&(j.delta&&!Pt(E,Ae.NAVIGATION_CANCELLED)?r.go(-j.delta,!1):j.type===lo.pop&&Pt(E,Ae.NAVIGATION_ABORTED|Ae.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),Q(X,p,E)}).catch(os)}))}let Ce=Gn(),oe=Gn(),ee;function le(x,Y,j){Qe(x);const X=oe.list();return X.length?X.forEach(re=>re(x,Y,j)):console.error(x),Promise.reject(x)}function Be(){return ee&&a.value!==jt?Promise.resolve():new Promise((x,Y)=>{Ce.add([x,Y])})}function Qe(x){return ee||(ee=!x,he(),Ce.list().forEach(([Y,j])=>x?j(x):Y()),Ce.reset()),x}function Te(x,Y,j,X){const{scrollBehavior:re}=e;if(!Nn||!re)return Promise.resolve();const p=!j&&Mh(Gi(x.fullPath,0))||(X||!j)&&history.state&&history.state.scroll||null;return cr().then(()=>re(x,Y,p)).then(E=>E&&kh(E)).catch(E=>le(E,x,Y))}const Se=x=>r.go(x);let ot;const ze=new Set,et={currentRoute:a,listening:!0,addRoute:_,removeRoute:N,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:y,resolve:M,options:e,push:b,replace:I,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:oe.add,isReady:Be,install(x){x.component("RouterLink",cm),x.component("RouterView",hm),x.config.globalProperties.$router=et,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>Ie(a)}),Nn&&!ot&&a.value===jt&&(ot=!0,b(r.location).catch(X=>{}));const Y={};for(const X in jt)Object.defineProperty(Y,X,{get:()=>a.value[X],enumerable:!0});x.provide(_r,et),x.provide(gc,ca(Y)),x.provide(co,a);const j=x.unmount;ze.add(x),x.unmount=function(){ze.delete(x),ze.size<1&&(c=jt,J&&J(),J=null,a.value=jt,ot=!1,ee=!1),j()}}};function De(x){return x.reduce((Y,j)=>Y.then(()=>T(j)),Promise.resolve())}return et}function Gg(){return ut(_r)}class bc extends Error{constructor(t,n){super(t),this.code=t,this.status=n}}async function Kn(e,t,n){const r=await fetch(t,{method:e,credentials:"include",headers:e==="GET"?{}:{"content-type":"application/json"},body:n===void 0?void 0:JSON.stringify(n)}),o=r.status===204?void 0:await r.json().catch(()=>{});if(!r.ok)throw new bc((o==null?void 0:o.error)??"request-failed",r.status);return o}const Vr={get:e=>Kn("GET",e),post:(e,t)=>Kn("POST",e,t),patch:(e,t)=>Kn("PATCH",e,t),del:e=>Kn("DELETE",e),rpc:(e,t,n={})=>Kn("POST",`/api/instances/${e}/rpc`,{type:t,payload:n}).then(s=>s.result)},pm=ic("auth",()=>{const e=ct(null),t=ct("");async function n(o){t.value="";try{return e.value=await Vr.post("/api/login",{token:o}),!0}catch(i){return t.value=i instanceof bc?i.code:"request-failed",e.value=null,!1}}async function s(){try{return e.value=await Vr.get("/api/me"),!0}catch{return e.value=null,!1}}async function r(){await Vr.post("/api/logout").catch(()=>{}),e.value=null}return{account:e,error:t,login:n,fetchMe:s,logout:r}}),gm=[{path:"/login",name:"login",component:()=>Fs(()=>import("./LoginView-d8fYu1mw.js"),__vite__mapDeps([0,1]))},{path:"/",name:"dashboard",component:()=>Fs(()=>import("./DashboardView-JtW5A36N.js"),__vite__mapDeps([2,1,3,4]))},{path:"/settings",name:"settings",component:()=>Fs(()=>import("./SettingsView-CfYdcmgD.js"),__vite__mapDeps([5,3]))}],yc=mm({history:Kh(),routes:gm});yc.beforeEach(async e=>{if(e.name==="login")return!0;const t=pm();return t.account||await t.fetchMe()?!0:{name:"login"}});/*!
|
|
80
|
+
*/let Bh=()=>location.protocol+"//"+location.host;function _c(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Bi(l,"")}return Bi(n,e)+s+r}function jh(e,t,n,s){let r=[],o=[],i=null;const l=({state:d})=>{const _=_c(e,location),N=n.value,y=t.value;let w=0;if(d){if(n.value=_,t.value=d,i&&i===N){i=null;return}w=y?d.position-y.position:0}else s(_);r.forEach(M=>{M(n.value,N,{delta:w,type:lo.pop,direction:w?w>0?xr.forward:xr.back:xr.unknown})})};function a(){i=n.value}function c(d){r.push(d);const _=()=>{const N=r.indexOf(d);N>-1&&r.splice(N,1)};return o.push(_),_}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(ue({},d.state,{scroll:gr()}),"")}}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:a,listen:c,destroy:f}}function Xi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?gr():null}}function Gh(e){const{history:t,location:n}=window,s={value:_c(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:Bh()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(_){console.error(_),n[u?"replace":"assign"](d)}}function i(a,c){o(a,ue({},t.state,Xi(r.value.back,a,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=a}function l(a,c){const u=ue({},r.value,t.state,{forward:a,scroll:gr()});o(u.current,u,!0),o(a,ue({},Xi(s.value,a,null),{position:u.position+1},c),!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function Kh(e){e=Oh(e);const t=Gh(e),n=jh(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ue({location:"",base:e,go:s,createHref:Rh.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let _n=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Oe=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(Oe||{});const Yh={type:_n.Static,value:""},Xh=/[a-zA-Z0-9_]/;function qh(e){if(!e)return[[]];if(e==="/")return[[Yh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${c}": ${_}`)}let n=Oe.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===Oe.Static?o.push({type:_n.Static,value:c}):n===Oe.Param||n===Oe.ParamRegExp||n===Oe.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:_n.Param,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==Oe.ParamRegExp){s=n,n=Oe.EscapeNext;continue}switch(n){case Oe.Static:a==="/"?(c&&f(),i()):a===":"?(f(),n=Oe.Param):d();break;case Oe.EscapeNext:d(),n=s;break;case Oe.Param:a==="("?n=Oe.ParamRegExp:Xh.test(a)?d():(f(),n=Oe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case Oe.ParamRegExp:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=Oe.ParamRegExpEnd:u+=a;break;case Oe.ParamRegExpEnd:f(),n=Oe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===Oe.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),r}const qi="[^/]+?",Jh={sensitive:!1,strict:!1,start:!0,end:!0};var Xe=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(Xe||{});const Qh=/[.+*?^${}()[\]/\\]/g;function Zh(e,t){const n=ue({},Jh,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[Xe.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const d=c[f];let _=Xe.Segment+(n.sensitive?Xe.BonusCaseSensitive:0);if(d.type===_n.Static)f||(r+="/"),r+=d.value.replace(Qh,"\\$&"),_+=Xe.Static;else if(d.type===_n.Param){const{value:N,repeatable:y,optional:w,regexp:M}=d;o.push({name:N,repeatable:y,optional:w});const P=M||qi;if(P!==qi){_+=Xe.BonusCustomRegExp;try{`${P}`}catch(b){throw new Error(`Invalid custom RegExp for param "${N}" (${P}): `+b.message)}}let v=y?`((?:${P})(?:/(?:${P}))*)`:`(${P})`;f||(v=w&&c.length<2?`(?:/${v})`:"/"+v),w&&(v+="?"),r+=v,_+=Xe.Dynamic,w&&(_+=Xe.BonusOptional),y&&(_+=Xe.BonusRepeatable),P===".*"&&(_+=Xe.BonusWildcard)}u.push(_)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=Xe.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const _=u[d]||"",N=o[d-1];f[N.name]=_&&N.repeatable?_.split("/"):_}return f}function a(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const _ of d)if(_.type===_n.Static)u+=_.value;else if(_.type===_n.Param){const{value:N,repeatable:y,optional:w}=_,M=N in c?c[N]:"";if(Et(M)&&!y)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const P=Et(M)?M.join("/"):M;if(!P)if(w)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${N}"`);u+=P}}return u||"/"}return{re:i,score:s,keys:o,parse:l,stringify:a}}function zh(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Xe.Static+Xe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Xe.Static+Xe.Segment?1:-1:0}function Ec(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=zh(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Ji(s))return 1;if(Ji(r))return-1}return r.length-s.length}function Ji(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const em={strict:!1,end:!0,sensitive:!1};function tm(e,t,n){const s=Zh(qh(e.path),n),r=ue(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function nm(e,t){const n=[],s=new Map;t=$i(em,t);function r(f){return s.get(f)}function o(f,d,_){const N=!_,y=Zi(f);y.aliasOf=_&&_.record;const w=$i(t,f),M=[y];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const I of b)M.push(Zi(ue({},y,{components:_?_.record.components:y.components,path:I,aliasOf:_?_.record:y})))}let P,v;for(const b of M){const{path:I}=b;if(d&&I[0]!=="/"){const O=d.record.path,L=O[O.length-1]==="/"?"":"/";b.path=d.record.path+(I&&L+I)}if(P=tm(b,d,w),_?_.alias.push(P):(v=v||P,v!==P&&v.alias.push(P),N&&f.name&&!zi(P)&&i(f.name)),vc(P)&&a(P),y.children){const O=y.children;for(let L=0;L<O.length;L++)o(O[L],P,_&&_.children[L])}_=_||P}return v?()=>{i(v)}:os}function i(f){if(mc(f)){const d=s.get(f);d&&(s.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const d=om(f,n);n.splice(d,0,f),f.record.name&&!zi(f)&&s.set(f.record.name,f)}function c(f,d){let _,N={},y,w;if("name"in f&&f.name){if(_=s.get(f.name),!_)throw Mn(Ae.MATCHER_NOT_FOUND,{location:f});w=_.record.name,N=ue(Qi(d.params,_.keys.filter(v=>!v.optional).concat(_.parent?_.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),f.params&&Qi(f.params,_.keys.map(v=>v.name))),y=_.stringify(N)}else if(f.path!=null)y=f.path,_=n.find(v=>v.re.test(y)),_&&(N=_.parse(y),w=_.record.name);else{if(_=d.name?s.get(d.name):n.find(v=>v.re.test(d.path)),!_)throw Mn(Ae.MATCHER_NOT_FOUND,{location:f,currentLocation:d});w=_.record.name,N=ue({},d.params,f.params),y=_.stringify(N)}const M=[];let P=_;for(;P;)M.unshift(P.record),P=P.parent;return{name:w,path:y,params:N,matched:M,meta:rm(M)}}e.forEach(f=>o(f));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Qi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Zi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:sm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function sm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function zi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rm(e){return e.reduce((t,n)=>ue(t,n.meta),{})}function om(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ec(e,t[o])<0?s=o:n=o+1}const r=im(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function im(e){let t=e;for(;t=t.parent;)if(vc(t)&&Ec(e,t)===0)return t}function vc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function el(e){const t=ut(_r),n=ut(gc),s=Ne(()=>{const a=Ie(e.to);return t.resolve(a)}),r=Ne(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Dn.bind(null,u));if(d>-1)return d;const _=tl(a[c-2]);return c>1&&tl(u)===_&&f[f.length-1].path!==_?f.findIndex(Dn.bind(null,a[c-2])):d}),o=Ne(()=>r.value>-1&&fm(n.params,s.value.params)),i=Ne(()=>r.value>-1&&r.value===n.matched.length-1&&hc(n.params,s.value.params));function l(a={}){if(um(a)){const c=t[Ie(e.replace)?"replace":"push"](Ie(e.to)).catch(os);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:Ne(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function lm(e){return e.length===1?e[0]:e}const am=yn({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"},viewTransition:Boolean},useLink:el,setup(e,{slots:t}){const n=Ts(el(e)),{options:s}=ut(_r),r=Ne(()=>({[nl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[nl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&lm(t.default(n));return e.custom?o:zt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),cm=am;function um(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){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 fm(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Et(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function tl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nl=(e,t,n)=>e??t??n,dm=yn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ut(co),r=Ne(()=>e.route||s.value),o=ut(Yi,0),i=Ne(()=>{let c=Ie(o);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=Ne(()=>r.value.matched[i.value]);ks(Yi,Ne(()=>i.value+1)),ks(Wh,l),ks(co,r);const a=ct();return Jt(()=>[a.value,l.value,e.name],([c,u,f],[d,_,N])=>{u&&(u.instances[f]=c,_&&_!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=_.leaveGuards),u.updateGuards.size||(u.updateGuards=_.updateGuards))),c&&u&&(!_||!Dn(u,_)||!d)&&(u.enterCallbacks[f]||[]).forEach(y=>y(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return sl(n.default,{Component:d,route:c});const _=f.props[u],N=_?_===!0?c.params:typeof _=="function"?_(c):_:null,w=zt(d,ue({},N,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return sl(n.default,{Component:w,route:c})||w}}});function sl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const hm=dm;function mm(e){const t=nm(e.routes,e),n=e.parseQuery||Vh,s=e.stringifyQuery||Ki,r=e.history,o=Gn(),i=Gn(),l=Gn(),a=Ro(jt);let c=jt;Nn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Mr.bind(null,x=>""+x),f=Mr.bind(null,Th),d=Mr.bind(null,gs);function _(x,Y){let j,X;return mc(x)?(j=t.getRecordMatcher(x),X=Y):X=x,t.addRoute(X,j)}function N(x){const Y=t.getRecordMatcher(x);Y&&t.removeRoute(Y)}function y(){return t.getRoutes().map(x=>x.record)}function w(x){return!!t.getRecordMatcher(x)}function M(x,Y){if(Y=ue({},Y||a.value),typeof x=="string"){const g=Fr(n,x,Y.path),C=t.resolve({path:g.path},Y),U=r.createHref(g.fullPath);return ue(g,C,{params:d(C.params),hash:gs(g.hash),redirectedFrom:void 0,href:U})}let j;if(x.path!=null)j=ue({},x,{path:Fr(n,x.path,Y.path).path});else{const g=ue({},x.params);for(const C in g)g[C]==null&&delete g[C];j=ue({},x,{params:f(g)}),Y.params=f(Y.params)}const X=t.resolve(j,Y),re=x.hash||"";X.params=u(d(X.params));const p=Nh(s,ue({},x,{hash:vh(re),path:X.path})),E=r.createHref(p);return ue({fullPath:p,hash:re,query:s===Ki?Hh(x.query):x.query||{}},X,{redirectedFrom:void 0,href:E})}function P(x){return typeof x=="string"?Fr(n,x,a.value.path):ue({},x)}function v(x,Y){if(c!==x)return Mn(Ae.NAVIGATION_CANCELLED,{from:Y,to:x})}function b(x){return L(x)}function I(x){return b(ue(P(x),{replace:!0}))}function O(x,Y){const j=x.matched[x.matched.length-1];if(j&&j.redirect){const{redirect:X}=j;let re=typeof X=="function"?X(x,Y):X;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=P(re):{path:re},re.params={}),ue({query:x.query,hash:x.hash,params:re.path!=null?{}:x.params},re)}}function L(x,Y){const j=c=M(x),X=a.value,re=x.state,p=x.force,E=x.replace===!0,g=O(j,X);if(g)return L(ue(P(g),{state:typeof g=="object"?ue({},re,g.state):re,force:p,replace:E}),Y||j);const C=j;C.redirectedFrom=Y;let U;return!p&&Ch(s,X,j)&&(U=Mn(Ae.NAVIGATION_DUPLICATED,{to:C,from:X}),Te(X,X,!0,!1)),(U?Promise.resolve(U):K(C,X)).catch(k=>Pt(k)?Pt(k,Ae.NAVIGATION_GUARD_REDIRECT)?k:Qe(k):le(k,C,X)).then(k=>{if(k){if(Pt(k,Ae.NAVIGATION_GUARD_REDIRECT))return L(ue({replace:E},P(k.to),{state:typeof k.to=="object"?ue({},re,k.to.state):re,force:p}),Y||C)}else k=V(C,X,!0,E,re);return Q(C,X,k),k})}function F(x,Y){const j=v(x,Y);return j?Promise.reject(j):Promise.resolve()}function T(x){const Y=ze.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(x):x()}function K(x,Y){let j;const[X,re,p]=$h(x,Y);j=Ur(X.reverse(),"beforeRouteLeave",x,Y);for(const g of X)g.leaveGuards.forEach(C=>{j.push(qt(C,x,Y))});const E=F.bind(null,x,Y);return j.push(E),De(j).then(()=>{j=[];for(const g of o.list())j.push(qt(g,x,Y));return j.push(E),De(j)}).then(()=>{j=Ur(re,"beforeRouteUpdate",x,Y);for(const g of re)g.updateGuards.forEach(C=>{j.push(qt(C,x,Y))});return j.push(E),De(j)}).then(()=>{j=[];for(const g of p)if(g.beforeEnter)if(Et(g.beforeEnter))for(const C of g.beforeEnter)j.push(qt(C,x,Y));else j.push(qt(g.beforeEnter,x,Y));return j.push(E),De(j)}).then(()=>(x.matched.forEach(g=>g.enterCallbacks={}),j=Ur(p,"beforeRouteEnter",x,Y,T),j.push(E),De(j))).then(()=>{j=[];for(const g of i.list())j.push(qt(g,x,Y));return j.push(E),De(j)}).catch(g=>Pt(g,Ae.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function Q(x,Y,j){l.list().forEach(X=>T(()=>X(x,Y,j)))}function V(x,Y,j,X,re){const p=v(x,Y);if(p)return p;const E=Y===jt,g=Nn?history.state:{};j&&(X||E?r.replace(x.fullPath,ue({scroll:E&&g&&g.scroll},re)):r.push(x.fullPath,re)),a.value=x,Te(x,Y,j,E),Qe()}let J;function he(){J||(J=r.listen((x,Y,j)=>{if(!et.listening)return;const X=M(x),re=O(X,et.currentRoute.value);if(re){L(ue(re,{replace:!0,force:!0}),X).catch(os);return}c=X;const p=a.value;Nn&&Dh(Gi(p.fullPath,j.delta),gr()),K(X,p).catch(E=>Pt(E,Ae.NAVIGATION_ABORTED|Ae.NAVIGATION_CANCELLED)?E:Pt(E,Ae.NAVIGATION_GUARD_REDIRECT)?(L(ue(P(E.to),{force:!0}),X).then(g=>{Pt(g,Ae.NAVIGATION_ABORTED|Ae.NAVIGATION_DUPLICATED)&&!j.delta&&j.type===lo.pop&&r.go(-1,!1)}).catch(os),Promise.reject()):(j.delta&&r.go(-j.delta,!1),le(E,X,p))).then(E=>{E=E||V(X,p,!1),E&&(j.delta&&!Pt(E,Ae.NAVIGATION_CANCELLED)?r.go(-j.delta,!1):j.type===lo.pop&&Pt(E,Ae.NAVIGATION_ABORTED|Ae.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),Q(X,p,E)}).catch(os)}))}let Ce=Gn(),oe=Gn(),ee;function le(x,Y,j){Qe(x);const X=oe.list();return X.length?X.forEach(re=>re(x,Y,j)):console.error(x),Promise.reject(x)}function Be(){return ee&&a.value!==jt?Promise.resolve():new Promise((x,Y)=>{Ce.add([x,Y])})}function Qe(x){return ee||(ee=!x,he(),Ce.list().forEach(([Y,j])=>x?j(x):Y()),Ce.reset()),x}function Te(x,Y,j,X){const{scrollBehavior:re}=e;if(!Nn||!re)return Promise.resolve();const p=!j&&Mh(Gi(x.fullPath,0))||(X||!j)&&history.state&&history.state.scroll||null;return cr().then(()=>re(x,Y,p)).then(E=>E&&kh(E)).catch(E=>le(E,x,Y))}const Se=x=>r.go(x);let ot;const ze=new Set,et={currentRoute:a,listening:!0,addRoute:_,removeRoute:N,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:y,resolve:M,options:e,push:b,replace:I,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:oe.add,isReady:Be,install(x){x.component("RouterLink",cm),x.component("RouterView",hm),x.config.globalProperties.$router=et,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>Ie(a)}),Nn&&!ot&&a.value===jt&&(ot=!0,b(r.location).catch(X=>{}));const Y={};for(const X in jt)Object.defineProperty(Y,X,{get:()=>a.value[X],enumerable:!0});x.provide(_r,et),x.provide(gc,ca(Y)),x.provide(co,a);const j=x.unmount;ze.add(x),x.unmount=function(){ze.delete(x),ze.size<1&&(c=jt,J&&J(),J=null,a.value=jt,ot=!1,ee=!1),j()}}};function De(x){return x.reduce((Y,j)=>Y.then(()=>T(j)),Promise.resolve())}return et}function Gg(){return ut(_r)}class bc extends Error{constructor(t,n){super(t),this.code=t,this.status=n}}async function Kn(e,t,n){const r=await fetch(t,{method:e,credentials:"include",headers:e==="GET"?{}:{"content-type":"application/json"},body:n===void 0?void 0:JSON.stringify(n)}),o=r.status===204?void 0:await r.json().catch(()=>{});if(!r.ok)throw new bc((o==null?void 0:o.error)??"request-failed",r.status);return o}const Vr={get:e=>Kn("GET",e),post:(e,t)=>Kn("POST",e,t),patch:(e,t)=>Kn("PATCH",e,t),del:e=>Kn("DELETE",e),rpc:(e,t,n={})=>Kn("POST",`/api/instances/${e}/rpc`,{type:t,payload:n}).then(s=>s.result)},pm=ic("auth",()=>{const e=ct(null),t=ct("");async function n(o){t.value="";try{return e.value=await Vr.post("/api/login",{token:o}),!0}catch(i){return t.value=i instanceof bc?i.code:"request-failed",e.value=null,!1}}async function s(){try{return e.value=await Vr.get("/api/me"),!0}catch{return e.value=null,!1}}async function r(){await Vr.post("/api/logout").catch(()=>{}),e.value=null}return{account:e,error:t,login:n,fetchMe:s,logout:r}}),gm=[{path:"/login",name:"login",component:()=>Fs(()=>import("./LoginView-Bc0b1UH3.js"),__vite__mapDeps([0,1]))},{path:"/",name:"dashboard",component:()=>Fs(()=>import("./DashboardView-qeO0cGEa.js"),__vite__mapDeps([2,1,3,4]))},{path:"/settings",name:"settings",component:()=>Fs(()=>import("./SettingsView-X2_13xBa.js"),__vite__mapDeps([5,3]))}],yc=mm({history:Kh(),routes:gm});yc.beforeEach(async e=>{if(e.name==="login")return!0;const t=pm();return t.account||await t.fetchMe()?!0:{name:"login"}});/*!
|
|
81
81
|
* shared v9.14.5
|
|
82
82
|
* (c) 2025 kazuya kawaguchi
|
|
83
83
|
* Released under the MIT License.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as n,r as c}from"./index-
|
|
1
|
+
import{k as n,r as c}from"./index-Ccu9C2LP.js";const a="relay-theme";function m(){var t;const e=localStorage.getItem(a);return e==="dark"||e==="light"?e:(t=window.matchMedia)!=null&&t.call(window,"(prefers-color-scheme: light)").matches?"light":"dark"}const i=n("theme",()=>{const e=c(m());function t(){document.documentElement.classList.toggle("dark",e.value==="dark"),document.documentElement.style.colorScheme=e.value}function o(r){e.value=r,localStorage.setItem(a,r),t()}function l(){o(e.value==="dark"?"light":"dark")}return t(),{mode:e,set:o,toggle:l,apply:t}});export{i as u};
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
})();
|
|
29
29
|
</script>
|
|
30
|
-
<script type="module" crossorigin src="/assets/index-
|
|
30
|
+
<script type="module" crossorigin src="/assets/index-Ccu9C2LP.js"></script>
|
|
31
31
|
<link rel="stylesheet" crossorigin href="/assets/index-BD4N8wJc.css">
|
|
32
32
|
<link rel="manifest" href="/manifest.webmanifest"></head>
|
|
33
33
|
<body>
|
package/dist/relay-web/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let e,s={};const n=(n,l)=>(n=new URL(n+".js",l).href,s[n]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()}).then(()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e}));self.define=(l,r)=>{const i=e||("document"in self?document.currentScript.src:"")||location.href;if(s[i])return;let o={};const
|
|
1
|
+
if(!self.define){let e,s={};const n=(n,l)=>(n=new URL(n+".js",l).href,s[n]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()}).then(()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e}));self.define=(l,r)=>{const i=e||("document"in self?document.currentScript.src:"")||location.href;if(s[i])return;let o={};const a=e=>n(e,i),t={module:{uri:i},exports:o,require:a};s[i]=Promise.all(l.map(e=>t[e]||a(e))).then(e=>(r(...e),o))}}define(["./workbox-9c191d2f"],function(e){"use strict";self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),e.clientsClaim(),e.precacheAndRoute([{url:"pwa-64x64.png",revision:"081e711070142608e018ac2c30e7ca2f"},{url:"pwa-512x512.png",revision:"07a2e687471b1cf58dad9b397e9fc4bb"},{url:"pwa-192x192.png",revision:"f3d44f6810b603f2337716944102db8d"},{url:"maskable-icon-512x512.png",revision:"51d6b34875db51e7509fff7283bd7747"},{url:"index.html",revision:"41ff573e5165f390d548a4d17a2d89ad"},{url:"favicon.ico",revision:"ef63b3cb6d2fd717fab89e4d35b44803"},{url:"apple-touch-icon-180x180.png",revision:"ca3cc18d8ef0b0ee40baef7dfb200ee2"},{url:"assets/workbox-window.prod.es5-BqEJf4Xk.js",revision:null},{url:"assets/theme-CSnImvQq.js",revision:null},{url:"assets/jetbrains-mono-latin-ext-500-normal-Cut-4mMH.woff2",revision:null},{url:"assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2",revision:null},{url:"assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2",revision:null},{url:"assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2",revision:null},{url:"assets/jetbrains-mono-greek-500-normal-JpySY46c.woff2",revision:null},{url:"assets/jetbrains-mono-greek-400-normal-C190GLew.woff2",revision:null},{url:"assets/jetbrains-mono-cyrillic-500-normal-DmUKJPL_.woff2",revision:null},{url:"assets/jetbrains-mono-cyrillic-400-normal-BEIGL1Tu.woff2",revision:null},{url:"assets/inter-vietnamese-700-normal-DlLaEgI2.woff2",revision:null},{url:"assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2",revision:null},{url:"assets/inter-vietnamese-500-normal-DOriooB6.woff2",revision:null},{url:"assets/inter-vietnamese-400-normal-DMkecbls.woff2",revision:null},{url:"assets/inter-latin-ext-700-normal-Ca8adRJv.woff2",revision:null},{url:"assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2",revision:null},{url:"assets/inter-latin-ext-500-normal-CV4jyFjo.woff2",revision:null},{url:"assets/inter-latin-ext-400-normal-C1nco2VV.woff2",revision:null},{url:"assets/inter-latin-700-normal-Yt3aPRUw.woff2",revision:null},{url:"assets/inter-latin-600-normal-LgqL8muc.woff2",revision:null},{url:"assets/inter-latin-500-normal-Cerq10X2.woff2",revision:null},{url:"assets/inter-latin-400-normal-C38fXH4l.woff2",revision:null},{url:"assets/inter-greek-ext-700-normal-qfdV9bQt.woff2",revision:null},{url:"assets/inter-greek-ext-600-normal-DRtmH8MT.woff2",revision:null},{url:"assets/inter-greek-ext-500-normal-C4iEst2y.woff2",revision:null},{url:"assets/inter-greek-ext-400-normal-DGGRlc-M.woff2",revision:null},{url:"assets/inter-greek-700-normal-C3JjAnD8.woff2",revision:null},{url:"assets/inter-greek-600-normal-plRanbMR.woff2",revision:null},{url:"assets/inter-greek-500-normal-BIZE56-Y.woff2",revision:null},{url:"assets/inter-greek-400-normal-B4URO6DV.woff2",revision:null},{url:"assets/inter-cyrillic-ext-700-normal-BjwYoWNd.woff2",revision:null},{url:"assets/inter-cyrillic-ext-600-normal-Dfes3d0z.woff2",revision:null},{url:"assets/inter-cyrillic-ext-500-normal-B0yAr1jD.woff2",revision:null},{url:"assets/inter-cyrillic-ext-400-normal-BQZuk6qB.woff2",revision:null},{url:"assets/inter-cyrillic-700-normal-CjBOestx.woff2",revision:null},{url:"assets/inter-cyrillic-600-normal-CWCymEST.woff2",revision:null},{url:"assets/inter-cyrillic-500-normal-BasfLYem.woff2",revision:null},{url:"assets/inter-cyrillic-400-normal-obahsSVq.woff2",revision:null},{url:"assets/index-Ccu9C2LP.js",revision:null},{url:"assets/index-BD4N8wJc.css",revision:null},{url:"assets/SettingsView-X2_13xBa.js",revision:null},{url:"assets/LoginView-Bc0b1UH3.js",revision:null},{url:"assets/DashboardView-qeO0cGEa.js",revision:null},{url:"assets/DashboardView-Di-qpvLF.css",revision:null},{url:"assets/BrandLogo.vue_vue_type_script_setup_true_lang-BWvSYb7-.js",revision:null},{url:"apple-touch-icon-180x180.png",revision:"ca3cc18d8ef0b0ee40baef7dfb200ee2"},{url:"favicon.ico",revision:"ef63b3cb6d2fd717fab89e4d35b44803"},{url:"maskable-icon-512x512.png",revision:"51d6b34875db51e7509fff7283bd7747"},{url:"pwa-192x192.png",revision:"f3d44f6810b603f2337716944102db8d"},{url:"pwa-512x512.png",revision:"07a2e687471b1cf58dad9b397e9fc4bb"},{url:"pwa-64x64.png",revision:"081e711070142608e018ac2c30e7ca2f"},{url:"manifest.webmanifest",revision:"53c4ee23bc81fdcd5b9aa077efd7de04"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("/index.html"),{denylist:[/^\/api/,/^\/ws/]}))});
|