Commit
·
2c686a8
1
Parent(s):
ba4d8dc
release: build 4fdb1515149bb1cf6f8d360063f144764ce10c90
Browse files- assets/{BasicTextarea.vue_vue_type_script_setup_true_lang-B_brVBTM.js → BasicTextarea.vue_vue_type_script_setup_true_lang-821Cs-5F.js} +1 -1
- assets/{Collapsable.vue_vue_type_script_setup_true_lang-OckSs9U5.js → Collapsable.vue_vue_type_script_setup_true_lang-BnCNVdNS.js} +1 -1
- assets/{HeaderLink.vue_vue_type_script_setup_true_lang-BxiwNIVO.js → HeaderLink.vue_vue_type_script_setup_true_lang-CLnK6u8Z.js} +1 -1
- assets/{Live2DSettings.vue_vue_type_script_setup_true_lang-CY0ncscf.js → Live2DSettings.vue_vue_type_script_setup_true_lang-t4g_l6Gt.js} +1 -1
- assets/{MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BsmA6b70.js → MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BFDpjjYz.js} +0 -0
- assets/{Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-9ejKe9jl.js → Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js} +0 -0
- assets/{_...all_-DlGabgJ7.js → _...all_-C29NXtKG.js} +1 -1
- assets/__vite-browser-external-FmFgRqLi.js +1 -0
- assets/{audio-BTdk-fxp.js → audio-DGOHLRUD.js} +1 -1
- assets/{consciousness-BhYI_D3D.js → consciousness-DgIHteEF.js} +1 -1
- assets/{default-7kmRNIq5.js → default-SdXLtMC8.js} +1 -1
- assets/default-node-BJB9kCPb.js +0 -2
- assets/default-node-DRxtDsJj.js +1 -0
- assets/{delays-BCcn-fQ0.js → delays-BGmnC7-7.js} +1 -1
- assets/{emotions-mA2T3kwV.js → emotions-DGMRl_iG.js} +1 -1
- assets/{filter-message-Cn8xrGJZ.js → filter-message-DtVHK8nU.js} +1 -1
- assets/{image-DLjvhH68.js → image-C3pkFLqE.js} +1 -1
- assets/{index-Df2VtvrD.js → index-BDFhxUqD.js} +1 -1
- assets/{index-ChVxOhEO.js → index-BJ9_xFjt.js} +1 -1
- assets/{index-ByscsBh7.js → index-BNsCTfqm.js} +1 -1
- assets/{index-CuOZ8Ym7.js → index-CbPBrBI3.js} +3 -3
- assets/{index-DG4emoQH.js → index-CeA6Ly4H.js} +1 -1
- assets/{index-C17lwc3f.js → index-CvwOk8Sq.js} +1 -1
- assets/{index-dazDKpAt.js → index-DbTJ43Gw.js} +1 -1
- assets/{index-CgnYKu6p.js → index-DcOe66_K.js} +1 -1
- assets/{messages-CyzI8CUy.js → messages-1q3aMUjn.js} +1 -1
- assets/{openrouter-CHjBjf80.js → openrouter-CG5dy_yz.js} +1 -1
- assets/{providers-C8yT3A6H.js → providers-fQQmUut1.js} +1 -1
- assets/{queue-Cf7q0mNu.js → queue-BFg4kHdE.js} +1 -1
- assets/{queue-CJWuufV5.js → queue-ClUQuYp6.js} +1 -1
- assets/{queues-CcUBPDWE.js → queues-saKAfg6v.js} +1 -1
- assets/{stage-MHlFKHNl.js → stage-BdEawijE.js} +1 -1
- assets/{v2-COKE8VpK.js → v2-FQbANjPv.js} +1 -1
- index.html +1 -1
assets/{BasicTextarea.vue_vue_type_script_setup_true_lang-B_brVBTM.js → BasicTextarea.vue_vue_type_script_setup_true_lang-821Cs-5F.js}
RENAMED
@@ -1,2 +1,2 @@
|
|
1 |
-
import{d as g,cf as m,cg as h,g as s,i as p,A as x,J as y,o as E,c as M,n as T,U as _}from"./index-
|
2 |
${a.value.substring(v)}`,l.value.height="0",_().then(()=>{t.value&&(t.value.selectionStart=t.value.selectionEnd=r+1,l.value.height=`${t.value.scrollHeight}px`)})}else e.code==="Enter"&&(e.preventDefault(),c("submit",a.value))}return p(()=>{t.value&&(l.value.height=`${t.value.scrollHeight}px`)}),(e,n)=>x((E(),M("textarea",{ref_key:"textareaRef",ref:t,"onUpdate:modelValue":n[0]||(n[0]=o=>a.value=o),style:T(l.value),onInput:f,onKeydown:d},null,36)),[[y,a.value]])}});export{$ as _};
|
|
|
1 |
+
import{d as g,cf as m,cg as h,g as s,i as p,A as x,J as y,o as E,c as M,n as T,U as _}from"./index-CbPBrBI3.js";const $=g({__name:"BasicTextarea",props:{modelValue:{default:""},modelModifiers:{}},emits:m(["submit"],["update:modelValue"]),setup(i,{emit:u}){const c=u,a=h(i,"modelValue"),t=s(),l=s({height:"auto",overflowY:"hidden"});function f(e){e.target instanceof HTMLTextAreaElement&&(e.target.style.height="auto",e.target.style.height=`${e.target.scrollHeight}px`)}function d(e){var n,o;if(e.target instanceof HTMLTextAreaElement)if(e.code==="Enter"&&e.shiftKey){e.preventDefault();const r=(n=e.target)==null?void 0:n.selectionStart,v=(o=e.target)==null?void 0:o.selectionEnd;a.value=`${a.value.substring(0,r)}
|
2 |
${a.value.substring(v)}`,l.value.height="0",_().then(()=>{t.value&&(t.value.selectionStart=t.value.selectionEnd=r+1,l.value.height=`${t.value.scrollHeight}px`)})}else e.code==="Enter"&&(e.preventDefault(),c("submit",a.value))}return p(()=>{t.value&&(l.value.height=`${t.value.scrollHeight}px`)}),(e,n)=>x((E(),M("textarea",{ref_key:"textareaRef",ref:t,"onUpdate:modelValue":n[0]||(n[0]=o=>a.value=o),style:T(l.value),onInput:f,onKeydown:d},null,36)),[[y,a.value]])}});export{$ as _};
|
assets/{Collapsable.vue_vue_type_script_setup_true_lang-OckSs9U5.js → Collapsable.vue_vue_type_script_setup_true_lang-BnCNVdNS.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as v,m as C,o as T,T as k,p as B,f,cf as E,cg as W,ae as V,c as _,b as x,al as m,am as L,k as M,Z as $,a as h,I as N,t as b}from"./index-
|
|
|
1 |
+
import{d as v,m as C,o as T,T as k,p as B,f,cf as E,cg as W,ae as V,c as _,b as x,al as m,am as L,k as M,Z as $,a as h,I as N,t as b}from"./index-CbPBrBI3.js";const n="0px",P=v({__name:"TransitionVertical",props:{duration:{default:250},easingEnter:{default:"ease-in-out"},easingLeave:{default:"ease-in-out"},opacityClosed:{default:0},opacityOpened:{default:1}},setup(u){const i=u;function s(t){return{height:t.style.height,width:t.style.width,position:t.style.position,visibility:t.style.visibility,overflow:t.style.overflow,paddingTop:t.style.paddingTop,paddingBottom:t.style.paddingBottom,borderTopWidth:t.style.borderTopWidth,borderBottomWidth:t.style.borderBottomWidth,marginTop:t.style.marginTop,marginBottom:t.style.marginBottom}}function c(t,o){const{width:e}=getComputedStyle(t);t.style.width=e,t.style.position="absolute",t.style.visibility="hidden",t.style.height="";const{height:a}=getComputedStyle(t);return t.style.width=o.width,t.style.position=o.position,t.style.visibility=o.visibility,t.style.height=n,t.style.overflow="hidden",o.height&&o.height!==n?o.height:a}function r(t,o,e,a,l){const p=t.animate(a,l);t.style.height=o.height,p.onfinish=()=>{t.style.overflow=o.overflow,e()}}function d(t,o){return[{height:n,opacity:i.opacityClosed,paddingTop:n,paddingBottom:n,borderTopWidth:n,borderBottomWidth:n,marginTop:n,marginBottom:n},{height:t,opacity:i.opacityOpened,paddingTop:o.paddingTop,paddingBottom:o.paddingBottom,borderTopWidth:o.borderTopWidth,borderBottomWidth:o.borderBottomWidth,marginTop:o.marginTop,marginBottom:o.marginBottom}]}function y(t,o){const e=t,a=s(e),l=c(e,a),p=d(l,a),g={duration:i.duration,easing:i.easingEnter};r(e,a,o,p,g)}function w(t,o){const e=t,a=s(e),{height:l}=getComputedStyle(e);e.style.height=l,e.style.overflow="hidden";const p=d(l,a).reverse(),g={duration:i.duration,easing:i.easingLeave};r(e,a,o,p,g)}return(t,o)=>(T(),C(k,{css:!1,onEnter:y,onLeave:w},{default:B(()=>[f(t.$slots,"default")]),_:3}))}}),z={op50:""},O=v({__name:"Collapsable",props:E({default:{type:Boolean},label:null},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(u){const i=u,s=W(u,"modelValue");V(()=>{i.default!=null&&(s.value=!!i.default)});function c(r){return s.value=r,r}return(r,d)=>(T(),_("div",null,[f(r.$slots,"trigger",m(L({visible:s.value,setVisible:c})),()=>[h("button",{sticky:"","top-0":"","z-10":"",flex:"","items-center":"","justify-between":"",px2:"",py1:"","text-sm":"","backdrop-blur-xl":"",onClick:d[0]||(d[0]=y=>s.value=!s.value)},[h("span",null,b(i.label??"Collapsable"),1),d[1]||(d[1]=N()),h("span",z,b(s.value?"▲":"▼"),1)])]),x(P,null,{default:B(()=>[s.value?f(r.$slots,"default",m($({key:0},{visible:s.value,setVisible:c}))):M("",!0)]),_:3})]))}});export{O as _,P as a};
|
assets/{HeaderLink.vue_vue_type_script_setup_true_lang-BxiwNIVO.js → HeaderLink.vue_vue_type_script_setup_true_lang-CLnK6u8Z.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as r,l,m as c,u as e,G as u,o as s,p as i,c as o,a as n}from"./index-
|
|
|
1 |
+
import{d as r,l,m as c,u as e,G as u,o as s,p as i,c as o,a as n}from"./index-CbPBrBI3.js";const k="/assets/logo-dark-CO0kwKsz.svg",p="/assets/logo-D6zeZTFl.svg",_=["src"],d=["src"],x=r({__name:"HeaderLink",setup(m){const a=l();return(g,t)=>(s(),c(e(u),{to:"/",flex:"~ 1","w-full":"","items-center":"","gap-2":"","px-2":"","text-nowrap":"","text-2xl":"","outline-none":""},{default:i(()=>[e(a)?(s(),o("img",{key:0,src:e(k),"h-8":"","w-8":""},null,8,_)):(s(),o("img",{key:1,src:e(p),"h-8":"","w-8":""},null,8,d)),t[0]||(t[0]=n("div",{"font-cute":""},[n("span",null,"アイリ")],-1))]),_:1}))}});export{x as _};
|
assets/{Live2DSettings.vue_vue_type_script_setup_true_lang-CY0ncscf.js → Live2DSettings.vue_vue_type_script_setup_true_lang-t4g_l6Gt.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
var Ia=Object.defineProperty;var Ra=(e,t,n)=>t in e?Ia(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Jn=(e,t,n)=>Ra(e,typeof t!="symbol"?t+"":t,n);import{e as Nr,T as Jo,A as Ca,L as Lr,a as es,r as ts,I as Na,l as Or,M as La,D as Oa,b as _i,V as Pa,c as Da,d as za,f as Pr,g as Fa,h as Ba,s as Ua,J as ja}from"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-
|
2 |
`),t].join(`
|
3 |
|
4 |
`)}}var or=class extends Error{constructor(n,r){super(n);Jn(this,"response");this.name="XSAIError",this.response=r}},pu=e=>e.replace(/[A-Z]/g,t=>`_${t.toLowerCase()}`),Nn=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[pu(t),n])),Ts=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)),As=e=>JSON.stringify(Nn(Ts({...e,abortSignal:void 0,apiKey:void 0,baseURL:void 0,fetch:void 0,headers:void 0}))),ui=(e,t)=>Ts({Authorization:t!==void 0?`Bearer ${t}`:void 0,...e}),ci=(e,t)=>{const n=t.toString();return new URL(e,n.endsWith("/")?n:`${n}/`)},fi=async e=>{if(!e.ok){const t=new or(`Remote sent ${e.status} response`,e);throw t.cause=new Error(await e.text()),t}if(!e.body)throw new or("Response body is empty from remote server",e);if(!(e.body instanceof ReadableStream)){const t=new or(`Expected Response body to be a ReadableStream, but got ${String(e.body)}`,e);throw t.cause=new Error(`Content-Type is ${e.headers.get("Content-Type")}`),t}return e},hu=async e=>fi(e).then(async t=>t.json()),mu=async e=>(e.fetch??globalThis.fetch)(ci("models",e.baseURL),{headers:ui({"Content-Type":"application/json",...e.headers},e.apiKey),signal:e.abortSignal}).then(hu).then(({data:t})=>t),gu=async e=>{var t;return(e.fetch??globalThis.fetch)(ci("chat/completions",e.baseURL),{body:As({...e,tools:(t=e.tools)==null?void 0:t.map(n=>({function:n.function,type:"function"}))}),headers:ui({"Content-Type":"application/json",...e.headers},e.apiKey),method:"POST",signal:e.abortSignal}).then(fi)},yu=e=>typeof e=="string"||Array.isArray(e)&&e.every(t=>!!(typeof t=="object"&&"type"in t&&["audio","image","text"].includes(t.type)))?e:JSON.stringify(e),Tn=class extends Error{constructor(t,n){super(t);Jn(this,"response");this.name="XSAIError",this.response=n}},ji="data:",bu=e=>{if(!e||!e.startsWith(ji))return[void 0,!1];const t=e.slice(ji.length),n=t.startsWith(" ")?t.slice(1):t;if(n==="[DONE]")return[void 0,!0];if(n.startsWith("{")&&n.includes('"error":'))throw new Error(`Error from server: ${n}`);return[JSON.parse(n),!1]},xu=async e=>{let t,n,r;const i=new ReadableStream({start(p){t=p}}),o=new ReadableStream({start(p){n=p}}),s=new ReadableStream({start(p){r=p}}),a=e.maxSteps??1,l=new TextDecoder,u=[],c=async p=>{var I,M,C;const d={choices:[],messages:structuredClone(p.messages),toolCalls:[],toolResults:[]},g={};let A="",w=!0;const v=(O,m)=>{if(O.endedToolCallIDs.has(m))return;const k=d.choices[O.index].message.tool_calls[m];try{k.function.parsed_arguments=JSON.parse(k.function.arguments)}catch(b){O.toolCallErrors[m]=b}O.endedToolCallIDs.add(m),O.currentToolID=null};if(await gu({...p,stream:!0}).then(async O=>O.body.pipeThrough(new TransformStream({transform:async(m,k)=>{const b=l.decode(m,{stream:!0});A+=b;const y=A.split(`
|
|
|
1 |
+
var Ia=Object.defineProperty;var Ra=(e,t,n)=>t in e?Ia(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Jn=(e,t,n)=>Ra(e,typeof t!="symbol"?t+"":t,n);import{e as Nr,T as Jo,A as Ca,L as Lr,a as es,r as ts,I as Na,l as Or,M as La,D as Oa,b as _i,V as Pa,c as Da,d as za,f as Pr,g as Fa,h as Ba,s as Ua,J as ja}from"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js";import{d as Je,g as Q,w as ze,i as qt,j as Nt,c as Ce,o as Me,f as pn,ap as $n,D as Be,x as ti,y as Ut,aq as Va,N as Si,l as Ha,ar as ns,z as ln,as as Ga,at as $a,au as rs,av as qa,Q as Ya,m as un,p as $e,b as Ne,a as j,s as cn,A as Pn,B as is,k as Yt,t as Te,aw as ht,ax as wt,a8 as ni,ay as qn,az as os,aA as Dn,u as Z,aB as Ka,aC as re,aD as Ii,aE as zn,aF as jt,aG as Oe,aH as Tt,aI as Xa,aJ as ss,aK as fn,aL as ri,aM as Fe,aN as as,aO as ls,aP as ii,aQ as hn,aR as Wa,aS as oi,aT as Za,aU as us,aV as mt,aW as si,aX as At,aY as Qa,aZ as cs,a_ as Ct,a$ as fs,an as Ja,b0 as el,C as tl,b1 as nl,ae as ds,b2 as Yn,b3 as rl,b4 as il,b5 as ol,b6 as Rt,b7 as sl,b8 as al,b9 as ll,ba as ul,bb as er,bc as Fn,bd as Dr,be as St,bf as ps,bg as zr,bh as Ft,bi as Ri,bj as It,bk as Bt,bl as tr,bm as cl,bn as fl,bo as dl,bp as pl,bq as hs,br as ms,bs as Bn,bt as gs,bu as ai,bv as Un,bw as ys,bx as hl,n as Ci,by as ml,bz as Fr,bA as bs,bB as gl,bC as on,bD as xs,bE as lt,bF as gt,bG as dn,bH as yl,bI as bl,bJ as xl,bK as vl,bL as wl,bM as li,bN as Tl,bO as Al,bP as kl,bQ as nr,bR as El,bS as vs,bT as Ml,bU as _l,bV as Sl,bW as Il,bX as Rl,bY as rr,bZ as Cl,b_ as Nl,b$ as Ll,c0 as Ni,c1 as Li,c2 as Oi,c3 as Pi,c4 as Ol,c5 as Pl,c6 as Dl,c7 as zl,c8 as Fl,c9 as Bl,ca as Ul,_ as jl,cb as Vl,cc as Hl,J as Gl,F as Di,E as zi,cd as $l}from"./index-CbPBrBI3.js";import{u as ir}from"./queue-BFg4kHdE.js";import{b as ql,a as Yl,u as Kl,l as Xl}from"./queues-saKAfg6v.js";import{E as Wl,a as Fi,b as Zl,c as Ql,d as Jl,e as eu,f as Bi,g as tu}from"./emotions-D2WM87AE.js";import{u as nu}from"./providers-fQQmUut1.js";import{a as ws,_ as jn}from"./Collapsable.vue_vue_type_script_setup_true_lang-BnCNVdNS.js";const ru=Je({__name:"Canvas",props:{width:null,height:null},setup(e){const t=e,n=Q(),r=Q(),i=Q();async function o(a){Lr.registerTicker(es),Nr.add(Jo),r.value=new Ca({width:t.width,height:t.height,backgroundAlpha:0}),i.value=r.value.view,i.value.style.objectFit="contain",a.appendChild(r.value.view)}function s(){var a;r.value&&r.value.renderer.resize(t.width,t.height),(a=r.value)!=null&&a.view&&(r.value.view.width=t.width,r.value.view.height=t.height)}return ze([()=>t.width,()=>t.height],()=>s()),qt(async()=>n.value&&await o(n.value)),Nt(()=>{var a;return(a=r.value)==null?void 0:a.destroy()}),(a,l)=>(Me(),Ce("div",{ref_key:"containerRef",ref:n,"h-full":"","w-full":""},[pn(a.$slots,"default",{app:r.value})],512))}});function Ui(e,t,n){return(1-n)*e+n*t}function _t(e,t){return e+Math.random()*(t-e)}async function*iu(e,t){const n=e.getReader();try{for(;;){const{done:r,value:i}=await n.read();if(r)return;yield t(i)}}finally{n.releaseLock()}}function ou(){let e=-1,t,n=-1;function r(i,o){(o>=e||o<n)&&(t=[_t(-1,1),_t(-1,.7)],n=o,e=o+ts()/1e3,i.focusController.focus(t[0]*.5,t[1]*.5,!1)),i.focusController.update(o-n);const s=i.coreModel;s.setParameterValueById("ParamEyeBallX",Ui(s.getParameterValueById("ParamEyeBallX"),t[0],.3)),s.setParameterValueById("ParamEyeBallY",Ui(s.getParameterValueById("ParamEyeBallY"),t[1],.3))}return{update:r}}function su(e){const t=new Uint8Array(e.frequencyBinCount);e.getByteFrequencyData(t);const n=[];for(let i=0;i<700;i+=80)n.push(t[i]);return t.map(i=>i**1.2).map(i=>i*1.2).reduce((i,o)=>i+o,0)/t.length/100}function au(e){const t=new Uint8Array(e.frequencyBinCount);e.getByteFrequencyData(t);const n=[];for(let u=0;u<700;u+=80)n.push(t[u]);const r=t.map(u=>u**1.5),i=Math.min(...r),s=Math.max(...r)-i;let a;return s===0?a=r.map(()=>0):a=r.map(u=>(u-i)/s),a.reduce((u,c)=>u+c,0)/t.length}function lu(e,t="linear"){switch(t){case"linear":return su(e);case"minmax":return au(e)}}const uu=$n("AudioContext",()=>({audioContext:new AudioContext,calculateVolume:lu})),cu=$n("SpeakingStore",()=>{const n=Q(0),r=Q(!1),i=Be(()=>r.value?(30+70*n.value)/100:30);return{mouthOpenSize:n,nowSpeaking:r,nowSpeakingAvatarBorderOpacity:i}});function wn(e,t,n){return t+n<0||t+n>=e.length-1?"":e[t+n]}function fu(e){let t="literal",n="";return{async consume(r){var i,o,s;for(let a=0;a<r.length;a++){let l=r[a],u=t;l==="<"&&wn(r,a,1)==="|"?(l+=wn(r,a,1),u="special",a++):l==="|"&&wn(r,a,1)===">"?(l+=wn(r,a,1),u="literal",a++):l==="<"?u="special":l===">"&&(u="literal"),t==="literal"&&u==="special"?n!==""&&(await((i=e.onLiteral)==null?void 0:i.call(e,n)),n=""):t==="special"&&u==="literal"&&n!==""&&(n+=l,await((o=e.onSpecial)==null?void 0:o.call(e,n)),n=""),t==="literal"&&u==="literal"?(await((s=e.onLiteral)==null?void 0:s.call(e,l)),n=""):t==="special"&&u==="literal"?n="":n+=l,t=u}},async end(){var r,i;n!==""&&(t==="literal"?await((r=e.onLiteral)==null?void 0:r.call(e,n)):n.endsWith("|>")&&await((i=e.onSpecial)==null?void 0:i.call(e,n)))}}}function du(e,t){return{role:"system",content:[e,Wl.map(n=>`- ${n}`).join(`
|
2 |
`),t].join(`
|
3 |
|
4 |
`)}}var or=class extends Error{constructor(n,r){super(n);Jn(this,"response");this.name="XSAIError",this.response=r}},pu=e=>e.replace(/[A-Z]/g,t=>`_${t.toLowerCase()}`),Nn=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[pu(t),n])),Ts=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0)),As=e=>JSON.stringify(Nn(Ts({...e,abortSignal:void 0,apiKey:void 0,baseURL:void 0,fetch:void 0,headers:void 0}))),ui=(e,t)=>Ts({Authorization:t!==void 0?`Bearer ${t}`:void 0,...e}),ci=(e,t)=>{const n=t.toString();return new URL(e,n.endsWith("/")?n:`${n}/`)},fi=async e=>{if(!e.ok){const t=new or(`Remote sent ${e.status} response`,e);throw t.cause=new Error(await e.text()),t}if(!e.body)throw new or("Response body is empty from remote server",e);if(!(e.body instanceof ReadableStream)){const t=new or(`Expected Response body to be a ReadableStream, but got ${String(e.body)}`,e);throw t.cause=new Error(`Content-Type is ${e.headers.get("Content-Type")}`),t}return e},hu=async e=>fi(e).then(async t=>t.json()),mu=async e=>(e.fetch??globalThis.fetch)(ci("models",e.baseURL),{headers:ui({"Content-Type":"application/json",...e.headers},e.apiKey),signal:e.abortSignal}).then(hu).then(({data:t})=>t),gu=async e=>{var t;return(e.fetch??globalThis.fetch)(ci("chat/completions",e.baseURL),{body:As({...e,tools:(t=e.tools)==null?void 0:t.map(n=>({function:n.function,type:"function"}))}),headers:ui({"Content-Type":"application/json",...e.headers},e.apiKey),method:"POST",signal:e.abortSignal}).then(fi)},yu=e=>typeof e=="string"||Array.isArray(e)&&e.every(t=>!!(typeof t=="object"&&"type"in t&&["audio","image","text"].includes(t.type)))?e:JSON.stringify(e),Tn=class extends Error{constructor(t,n){super(t);Jn(this,"response");this.name="XSAIError",this.response=n}},ji="data:",bu=e=>{if(!e||!e.startsWith(ji))return[void 0,!1];const t=e.slice(ji.length),n=t.startsWith(" ")?t.slice(1):t;if(n==="[DONE]")return[void 0,!0];if(n.startsWith("{")&&n.includes('"error":'))throw new Error(`Error from server: ${n}`);return[JSON.parse(n),!1]},xu=async e=>{let t,n,r;const i=new ReadableStream({start(p){t=p}}),o=new ReadableStream({start(p){n=p}}),s=new ReadableStream({start(p){r=p}}),a=e.maxSteps??1,l=new TextDecoder,u=[],c=async p=>{var I,M,C;const d={choices:[],messages:structuredClone(p.messages),toolCalls:[],toolResults:[]},g={};let A="",w=!0;const v=(O,m)=>{if(O.endedToolCallIDs.has(m))return;const k=d.choices[O.index].message.tool_calls[m];try{k.function.parsed_arguments=JSON.parse(k.function.arguments)}catch(b){O.toolCallErrors[m]=b}O.endedToolCallIDs.add(m),O.currentToolID=null};if(await gu({...p,stream:!0}).then(async O=>O.body.pipeThrough(new TransformStream({transform:async(m,k)=>{const b=l.decode(m,{stream:!0});A+=b;const y=A.split(`
|
assets/{MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BsmA6b70.js → MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BFDpjjYz.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
assets/{Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-9ejKe9jl.js → Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
assets/{_...all_-DlGabgJ7.js → _...all_-C29NXtKG.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as e,c as _,o as c}from"./index-
|
|
|
1 |
+
import{_ as e,c as _,o as c}from"./index-CbPBrBI3.js";const n={};function o(t,r){return c(),_("div",null," 404 - Page not found ")}const s=e(n,[["render",o]]);export{s as default};
|
assets/__vite-browser-external-FmFgRqLi.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
const t={};export{t as default};
|
assets/{audio-BTdk-fxp.js → audio-DGOHLRUD.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as s,g as f,c as d,o as p,a as t}from"./index-
|
|
|
1 |
+
import{d as s,g as f,c as d,o as p,a as t}from"./index-CbPBrBI3.js";const R=s({__name:"audio",setup(_){const a=f(),l=f();function u(o){var r,c,i;if(!o)return;const n=(c=(r=l.value)==null?void 0:r.files)==null?void 0:c[0];if(!n)return;const e=document.createElement("audio");(i=a.value)==null||i.appendChild(e),e.src=URL.createObjectURL(n),e.controls=!0,e.load(),e.play()}return(o,n)=>(p(),d("div",null,[t("div",null,[t("div",{ref_key:"containerRef",ref:a},null,512),t("input",{ref_key:"fileInputRef",ref:l,type:"file",onChange:u},null,544)])]))}});export{R as default};
|
assets/{consciousness-BhYI_D3D.js → consciousness-DgIHteEF.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as i,v as o,c as n,o as a,a as e,u,F as d}from"./index-
|
|
|
1 |
+
import{d as i,v as o,c as n,o as a,a as e,u,F as d}from"./index-CbPBrBI3.js";import{b as r}from"./route-block-B_A1xBdJ.js";const s={flex:"~ row","items-center":"","gap-2":""},f=i({__name:"consciousness",setup(p){const l=o();return(v,t)=>(a(),n(d,null,[e("div",s,[e("button",{onClick:t[0]||(t[0]=c=>u(l).back())},t[1]||(t[1]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-xl":""},null,-1)])),t[2]||(t[2]=e("h1",{relative:""},[e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Modules")]),e("div",{"text-3xl":"","font-semibold":""}," Consciousness ")],-1))]),t[3]||(t[3]=e("div",{bg:"neutral-100 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":""},[e("div",{flex:"~ col gap-4"},[e("div",null,[e("h2",{"text-2xl":""}," Provider "),e("div",{text:"neutral-400 dark:neutral-400"},[e("span",null,"Select the suitable LLM provider for consciousness")])]),e("div",{"max-w-full":""},[e("fieldset",{flex:"~ row gap-4",style:{"scrollbar-width":"none"},"min-w-0":"","of-x-scroll":"","scroll-smooth":""},[e("label",{bg:"neutral-200 dark:neutral-800",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-lg":"","p-3":"","text-left":""},[e("input",{type:"radio",name:"provider",value:"provider-1"}),e("div",{flex:"~ col","min-h-16":"","w-full":"","items-center":"","justify-center":""}," Provider 1 ")]),e("label",{bg:"neutral-200 dark:neutral-800",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-lg":"","p-3":"","text-left":""},[e("input",{type:"radio",name:"provider",value:"provider-1"}),e("div",{flex:"~ col","min-h-16":"","w-full":"","items-center":"","justify-center":""}," Provider 1 ")]),e("label",{bg:"neutral-200 dark:neutral-800",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-lg":"","p-3":"","text-left":""},[e("input",{type:"radio",name:"provider",value:"provider-1"}),e("div",{flex:"~ col","min-h-16":"","w-full":"","items-center":"","justify-center":""}," Provider 1 ")]),e("label",{bg:"neutral-200 dark:neutral-800",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-lg":"","p-3":"","text-left":""},[e("input",{type:"radio",name:"provider",value:"provider-1"}),e("div",{flex:"~ col","min-h-16":"","w-full":"","items-center":"","justify-center":""}," Provider 1 ")]),e("label",{bg:"neutral-200 dark:neutral-800",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-lg":"","p-3":"","text-left":""},[e("input",{type:"radio",name:"provider",value:"provider-1"}),e("div",{flex:"~ col","min-h-16":"","w-full":"","items-center":"","justify-center":""}," Provider 1 ")]),e("label",{bg:"neutral-200 dark:neutral-800",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-lg":"","p-3":"","text-left":""},[e("input",{type:"radio",name:"provider",value:"provider-1"}),e("div",{flex:"~ col","min-h-16":"","w-full":"","items-center":"","justify-center":""}," Provider 1 ")]),e("label",{bg:"neutral-200 dark:neutral-800",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-lg":"","p-3":"","text-left":""},[e("input",{type:"radio",name:"provider",value:"provider-1"}),e("div",{flex:"~ col","min-h-16":"","w-full":"","items-center":"","justify-center":""}," Provider 1 ")])])])])],-1)),t[4]||(t[4]=e("div",{fixed:"","bottom-0":"","right-0":"","z--1":"",text:"neutral-100/80 dark:neutral-500/20"},[e("div",{text:"40","i-lucide:ghost":"","translate-x-10":"","translate-y-10":""})],-1))],64))}});typeof r=="function"&&r(f);export{f as default};
|
assets/{default-7kmRNIq5.js → default-SdXLtMC8.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as a,c as t,a as e,b as o,u as s,R as _,o as c}from"./index-
|
|
|
1 |
+
import{d as a,c as t,a as e,b as o,u as s,R as _,o as c}from"./index-CbPBrBI3.js";import{_ as n}from"./HeaderLink.vue_vue_type_script_setup_true_lang-CLnK6u8Z.js";const r={"p-2":""},p={"mb-1":"","w-full":"","gap-2":"","p-2":""},d={"p-5":"",flex:"~ col gap-4"},h=a({__name:"default",setup(i){return(f,m)=>(c(),t("div",r,[e("div",p,[o(n)]),e("div",d,[o(s(_))])]))}});export{h as default};
|
assets/default-node-BJB9kCPb.js
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-9ejKe9jl.js","assets/index-CuOZ8Ym7.js","assets/index-Dhcs1Umu.css","assets/Stage-BSOKcxWs.css"])))=>i.map(i=>d[i]);
|
2 |
-
import{cq as a}from"./index-CuOZ8Ym7.js";async function u(){const{createRequire:n}=await a(async()=>{const{createRequire:t}=await import("./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-9ejKe9jl.js").then(o=>o._);return{createRequire:t}},__vite__mapDeps([0,1,2,3])),{dirname:d,resolve:e}=await a(async()=>{const{dirname:t,resolve:o}=await import("./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-9ejKe9jl.js").then(i=>i._);return{dirname:t,resolve:o}},__vite__mapDeps([0,1,2,3])),c=n(import.meta.url),r=d(c.resolve("@duckdb/duckdb-wasm"));return{mvp:{mainModule:e(r,"./duckdb-mvp.wasm"),mainWorker:e(r,"./duckdb-node-mvp.worker.cjs")},eh:{mainModule:e(r,"./duckdb-eh.wasm"),mainWorker:e(r,"./duckdb-node-eh.worker.cjs")}}}export{u as getBundles};
|
|
|
|
|
|
assets/default-node-DRxtDsJj.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{cq as t}from"./index-CbPBrBI3.js";async function s(){const{createRequire:a}=await t(async()=>{const{createRequire:o}=await import("./__vite-browser-external-FmFgRqLi.js");return{createRequire:o}},[]),{dirname:n,resolve:e}=await t(async()=>{const{dirname:o,resolve:c}=await import("./__vite-browser-external-FmFgRqLi.js");return{dirname:o,resolve:c}},[]),d=a(import.meta.url),r=n(d.resolve("@duckdb/duckdb-wasm"));return{mvp:{mainModule:e(r,"./duckdb-mvp.wasm"),mainWorker:e(r,"./duckdb-node-mvp.worker.cjs")},eh:{mainModule:e(r,"./duckdb-eh.wasm"),mainWorker:e(r,"./duckdb-node-eh.worker.cjs")}}}export{s as getBundles};
|
assets/{delays-BCcn-fQ0.js → delays-BGmnC7-7.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as v}from"./BasicTextarea.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as v}from"./BasicTextarea.vue_vue_type_script_setup_true_lang-821Cs-5F.js";import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js";import"./emotions-D2WM87AE.js";import{u as _,l as k}from"./queues-saKAfg6v.js";import"./index-BNsCTfqm.js";import{d as b,g as d,c as s,o as l,a as e,b as y,u as x,t as i,F as p,E as f}from"./index-CbPBrBI3.js";import"./queue-BFg4kHdE.js";const z={flex:"","flex-col":"","gap-2":"","p-2":""},w={flex:"","flex-row":"","gap-2":""},h={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},E={"w-full":"",flex:"","flex-row":"","gap-4":""},M={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},V={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},Q=b({__name:"delays",setup(S){const t=d(""),m=d([]),c=d([]),r=d(!1),u=_();u.onHandlerEvent("delay",a=>{c.value.push(a)});function g(){r.value=!0;const a=t.value.split("");for(const o of a)u.add(o);u.add(k),t.value="",r.value=!1}return(a,o)=>(l(),s("div",z,[e("div",w,[y(x(v),{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=n=>t.value=n),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:g},null,8,["modelValue"]),e("button",h,i(r.value?"Processing...":"Send"),1)]),e("div",E,[e("div",M,[o[1]||(o[1]=e("h3",{"font-semibold":""}," Emotion Message ",-1)),(l(!0),s(p,null,f(m.value,n=>(l(),s("div",{key:n},[e("div",null,i(n),1)]))),128))]),e("div",V,[o[2]||(o[2]=e("h3",{"font-semibold":""}," Delays ",-1)),(l(!0),s(p,null,f(c.value,n=>(l(),s("div",{key:n},[e("div",null,i(n)+"s",1)]))),128))])])]))}});export{Q as default};
|
assets/{emotions-mA2T3kwV.js → emotions-DGMRl_iG.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_}from"./BasicTextarea.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_}from"./BasicTextarea.vue_vue_type_script_setup_true_lang-821Cs-5F.js";import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js";import"./emotions-D2WM87AE.js";import{u as k}from"./queue-BFg4kHdE.js";import{a as b,l as x}from"./queues-saKAfg6v.js";import{d as z,g as u,c as s,o as t,a as e,b as h,u as w,t as r,F as m,E as f}from"./index-CbPBrBI3.js";const E={flex:"","flex-col":"","gap-2":"","p-2":""},M={flex:"","flex-row":"","gap-2":""},V={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},y={"w-full":"",flex:"","flex-row":"","gap-4":""},Q={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},S={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},L=z({__name:"emotions",setup(B){const l=u(""),p=u([]),i=u([]),d=u(!1),g=k({handlers:[async a=>{i.value.push(a.data)}]}),c=b(g);function v(){d.value=!0;const a=l.value.split("");for(const o of a)c.add(o);c.add(x),l.value="",d.value=!1}return(a,o)=>(t(),s("div",E,[e("div",M,[h(w(_),{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=n=>l.value=n),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:v},null,8,["modelValue"]),e("button",V,r(d.value?"Processing...":"Send"),1)]),e("div",y,[e("div",Q,[o[1]||(o[1]=e("h3",{"font-semibold":""}," Messages ",-1)),(t(!0),s(m,null,f(p.value,n=>(t(),s("div",{key:n},[e("div",null,r(n),1)]))),128))]),e("div",S,[o[2]||(o[2]=e("h3",{"font-semibold":""}," Emotions ",-1)),(t(!0),s(m,null,f(i.value,n=>(t(),s("div",{key:n},[e("div",null,r(n),1)]))),128))])])]))}});export{L as default};
|
assets/{filter-message-Cn8xrGJZ.js → filter-message-DtVHK8nU.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as g,g as u,r as m,c as v,o as _,a as s,b as x,t as d}from"./index-
|
|
|
1 |
+
import{d as g,g as u,r as m,c as v,o as _,a as s,b as x,t as d}from"./index-CbPBrBI3.js";const b={flex:"","flex-col":"","gap-2":"","p-2":""},S={flex:"","flex-row":"","gap-2":""},k={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},w={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},V=g({__name:"filter-message",setup(z){const o=u(""),c=u(!1),i=u({content:""});async function f(r){return new Promise(e=>setTimeout(e,r))}async function p(){c.value=!0;const r=o.value.split("");let e;(a=>{a.Literal="literal",a.Special="special"})(e||(e={}));let l="literal",t="";for(const a of r){await f(50);let n=l;a==="<"?n="special":a===">"&&(n="literal"),l==="literal"&&n==="special"&&(i.value.content+=t,t=""),l==="special"&&n==="literal"&&(t=""),l==="literal"&&n==="literal"&&(i.value.content+=a,t=""),l=n}t&&(i.value.content+=t),o.value="",c.value=!1}return(r,e)=>{const l=m("BasicTextarea");return _(),v("div",b,[s("div",S,[x(l,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value=t),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:p},null,8,["modelValue"]),s("button",k,d(c.value?"Processing...":"Send"),1)]),s("div",w,[e[1]||(e[1]=s("h3",{"font-semibold":""}," Streaming Message ",-1)),s("div",null,d(i.value.content),1)])])}}});export{V as default};
|
assets/{image-DLjvhH68.js → image-C3pkFLqE.js}
RENAMED
@@ -1,2 +1,2 @@
|
|
1 |
-
import{d as _,g as c,q as y,c as d,o as u,a,k as x,t as v,u as w,_ as b}from"./index-
|
2 |
`,1),a("button",{bg:"primary-500",text:"white","mt-4":"","rounded-lg":"","px-4":"","py-2":"",onClick:e[0]||(e[0]=()=>w(g)())}," Copy Data URL ")])):x("",!0)]))}}),B=b(R,[["__scopeId","data-v-7edd53e6"]]);export{B as default};
|
|
|
1 |
+
import{d as _,g as c,q as y,c as d,o as u,a,k as x,t as v,u as w,_ as b}from"./index-CbPBrBI3.js";const h={bg:"neutral-100",flex:"~ col","items-center":"","justify-center":"","rounded-lg":"","px-4":"","py-3":""},C={key:0},U=["src"],k={bg:"neutral-100",class:"text-wrap-any","max-h":"100","overflow-scroll":"","rounded-lg":"","text-wrap":"","text-black":"","font-mono":""},R=_({__name:"image",setup(D){const p=c(),n=c(""),{copy:g}=y({source:n});async function m(r){return new Promise((e,o)=>{const t=new FileReader;t.onload=s=>{var l,i;e(((i=(l=s.target)==null?void 0:l.result)==null?void 0:i.toString())||"")},t.onerror=s=>{o(s)},t.readAsDataURL(r)})}async function f(r){var t;const o=(t=r.target.files)==null?void 0:t[0];if(o){p.value=o;const s=await m(o);n.value=s}}return(r,e)=>(u(),d("div",null,[a("label",h,[a("input",{type:"file",accept:"image/*",hidden:"",onChange:f},null,32),e[1]||(e[1]=a("span",null,"Upload Image",-1))]),n.value?(u(),d("div",C,[a("img",{src:n.value,alt:"Uploaded Image","w-100":""},null,8,U),a("pre",k," "+v(n.value)+`
|
2 |
`,1),a("button",{bg:"primary-500",text:"white","mt-4":"","rounded-lg":"","px-4":"","py-2":"",onClick:e[0]||(e[0]=()=>w(g)())}," Copy Data URL ")])):x("",!0)]))}}),B=b(R,[["__scopeId","data-v-7edd53e6"]]);export{B as default};
|
assets/{index-Df2VtvrD.js → index-BDFhxUqD.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as n,v as d,z as m,c as p,o as b,a as r,b as u,u as e,p as o,A as v,J as c,s as y,F as g}from"./index-
|
|
|
1 |
+
import{d as n,v as d,z as m,c as p,o as b,a as r,b as u,u as e,p as o,A as v,J as c,s as y,F as g}from"./index-CbPBrBI3.js";import{_ as f}from"./Collapsable.vue_vue_type_script_setup_true_lang-BnCNVdNS.js";import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js";import"./emotions-D2WM87AE.js";import{b as s}from"./route-block-B_A1xBdJ.js";const x={flex:"~ row","items-center":"","gap-2":""},w=["onClick"],k={"p-4":""},C={class:"flex items-center justify-between"},z=n({__name:"index",setup(h){const l=d(),a=m();return(V,t)=>(b(),p(g,null,[r("div",x,[r("button",{onClick:t[0]||(t[0]=i=>e(l).back())},t[2]||(t[2]=[r("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),t[3]||(t[3]=r("h1",{relative:""},[r("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[r("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),r("div",{"text-3xl":"","font-semibold":""}," Themes ")],-1))]),u(e(f),{"mt-4":"","w-full":"",default:!0},{trigger:o(i=>[r("button",{bg:"zinc-100 dark:zinc-800",hover:"bg-zinc-200 dark:bg-zinc-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:_=>i.setVisible(!i.visible)},[t[5]||(t[5]=r("div",{flex:"~ row 1","items-center":"","gap-1.5":""},[r("div",{"i-solar:pallete-2-bold-duotone":"",class:"provider-icon size-6",transition:"filter duration-250 ease-in-out"}),r("div",null," Colors ")],-1)),r("div",{transform:"",transition:"transform duration-250",class:y({"rotate-180":i.visible})},t[4]||(t[4]=[r("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,w)]),default:o(()=>[r("div",k,[r("div",C,[t[6]||(t[6]=r("div",{class:"flex items-center gap-1 text-sm font-medium"}," Primary color ",-1)),v(r("input",{"onUpdate:modelValue":t[1]||(t[1]=i=>e(a).themeColorsHue=i),type:"range",min:"0",max:"360",step:"1"},null,512),[[c,e(a).themeColorsHue]])]),t[7]||(t[7]=r("div",{"mt-4":"","h-10":"","w-full":"",flex:"","overflow-hidden":"","rounded-lg":""},[r("div",{bg:"primary-50",class:"primary-color-bar"}," 50 "),r("div",{bg:"primary-100",class:"primary-color-bar"}," 100 "),r("div",{bg:"primary-200",class:"primary-color-bar"}," 200 "),r("div",{bg:"primary-300",class:"primary-color-bar"}," 300 "),r("div",{bg:"primary-400",class:"primary-color-bar"}," 400 "),r("div",{bg:"primary-500",class:"primary-color-bar"}," 500 "),r("div",{bg:"primary-600",class:"primary-color-bar"}," 600 "),r("div",{bg:"primary-700",class:"primary-color-bar"}," 700 "),r("div",{bg:"primary-800",class:"primary-color-bar","text-white":""}," 800 "),r("div",{bg:"primary-900",class:"primary-color-bar","text-white":""}," 900 "),r("div",{bg:"primary-950",class:"primary-color-bar","text-white":""}," 950 "),r("div",{bg:"primary-960",class:"primary-color-bar","text-white":""}," 960 "),r("div",{bg:"primary-970",class:"primary-color-bar","text-white":""}," 970 "),r("div",{bg:"primary-980",class:"primary-color-bar","text-white":""}," 980 "),r("div",{bg:"primary-990",class:"primary-color-bar","text-white":""}," 990 ")],-1))])]),_:1}),t[8]||(t[8]=r("div",{fixed:"","bottom-0":"","right-0":"","z--1":"",text:"neutral-100/80 dark:neutral-500/20"},[r("div",{text:"40","i-lucide:paintbrush":"","translate-x-10":"","translate-y-10":""})],-1))],64))}});typeof s=="function"&&s(z);export{z as default};
|
assets/{index-ChVxOhEO.js → index-BJ9_xFjt.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-
|
|
|
1 |
+
import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js";import{_ as E,c as m,o as v,f as P,d as z,g as t,w as H,h as Z,i as D,j as R,a as p,k as A,n as B,l as T,m as U,p as O,b as d,u as I}from"./index-CbPBrBI3.js";import"./emotions-D2WM87AE.js";import{W as X}from"./Live2DSettings.vue_vue_type_script_setup_true_lang-t4g_l6Gt.js";import{_ as Y,M as G,I as J,a as K}from"./MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BFDpjjYz.js";import{b as F}from"./route-block-B_A1xBdJ.js";import"./queue-BFg4kHdE.js";import"./queues-saKAfg6v.js";import"./providers-fQQmUut1.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-BnCNVdNS.js";import"./HeaderLink.vue_vue_type_script_setup_true_lang-CLnK6u8Z.js";import"./BasicTextarea.vue_vue_type_script_setup_true_lang-821Cs-5F.js";import"./index-BNsCTfqm.js";const Q={},ee={class:"cross-background-container"};function te(_,e){return v(),m("div",ee,[P(_.$slots,"default",{},void 0,!0)])}const ae=E(Q,[["render",te],["__scopeId","data-v-35ba59bb"]]),le={class:"relative"},oe=["width","height","viewBox"],ne=["d","fill"],se=z({__name:"AnimatedBackground",props:{verticalOffset:{default:20},height:{default:40},amplitude:{default:14},waveLength:{default:250},fillColor:{default:"oklch(95% 0.10 var(--theme-colors-hue))"},direction:{default:"down"},animationSpeed:{default:50}},setup(_){const e=_,u=t(null),r=t(null),c=t(0),n=t(e.height),C=t(e.amplitude),a=t(e.waveLength),M=t(""),w=t(e.fillColor),g=t(e.direction);function N(l,o,h,s,k){const i=[],W=Math.ceil(l/s)*s,j=1,y=k==="up"?o-h:h;i.push(`M 0 ${y}`);for(let f=0;f<=W;f+=j){const q=k==="up"?y-h*Math.sin(2*Math.PI*f/s):y+h*Math.sin(2*Math.PI*f/s);i.push(`L ${f} ${q}`)}return k==="up"?(i.push(`L ${W} ${o}`),i.push(`L 0 ${o} Z`)):(i.push(`L ${W} 0`),i.push("L 0 0 Z")),i.join(" ")}function b(){var l;if(u.value){const o=u.value.clientWidth;c.value=o;const s=Math.ceil(o*2/a.value)*a.value;M.value=N(s,n.value,C.value,a.value,g.value),(l=r.value)==null||l.setAttribute("width",s.toString())}}let S,$,x=0;const V=t(e.animationSpeed);function L(l){const o=$?l-$:0;$=l,x-=V.value*(o/1e3),Math.abs(x)>=a.value&&(x+=a.value),r.value&&(r.value.style.transform=`translateX(${x}px)`),S=requestAnimationFrame(L)}return H(()=>[e.height,e.amplitude,e.waveLength,e.fillColor,e.direction],()=>{n.value=e.height,C.value=e.amplitude,a.value=e.waveLength,w.value=e.fillColor,g.value=e.direction,b()},{immediate:!0}),Z("resize",b),D(()=>{b(),requestAnimationFrame(L)}),R(()=>{cancelAnimationFrame(S)}),(l,o)=>(v(),m("div",le,[P(l.$slots,"default"),p("div",{ref_key:"container",ref:u,absolute:"","left-0":"","right-0":"","top-0":"","w-full":"","overflow-hidden":""},[g.value==="down"?(v(),m("div",{key:0,style:B({backgroundColor:w.value,height:`${n.value}px`}),"w-full":""},null,4)):A("",!0),(v(),m("svg",{ref_key:"svg",ref:r,width:a.value*Math.ceil(c.value*2/a.value),height:n.value,viewBox:`0 0 ${a.value*Math.ceil(c.value*2/a.value)} ${n.value}`,xmlns:"http://www.w3.org/2000/svg",h:"[100%]",w:"auto",style:{willChange:"transform"}},[p("path",{d:M.value,fill:w.value},null,8,ne)],8,oe)),g.value==="up"?(v(),m("div",{key:1,style:B({backgroundColor:w.value,height:`${n.value}px`}),"w-full":""},null,4)):A("",!0)],512)]))}}),ie={relative:"",flex:"~ col","z-2":"","h-100vh":"","w-100vw":"","of-hidden":""},ue={relative:"",flex:"~ 1 row gap-y-0 gap-x-2 <md:col"},re=z({__name:"index",setup(_){const e=T(),u=t(!1);function r(c){u.value=c}return(c,n)=>(v(),U(ae,null,{default:O(()=>[d(se,{"fill-color":I(e)?"oklch(95% 0.20 var(--theme-colors-hue))":"oklch(99% 0.10 var(--theme-colors-hue))"},{default:O(()=>[p("div",ie,[p("div",null,[d(Y,{class:"flex <md:hidden",p2:""}),d(G,{class:"hidden <md:block"})]),p("div",ue,[d(I(X),{"flex-1":"","min-w":"1/2",paused:u.value},null,8,["paused"]),d(J,{class:"flex <md:hidden","flex-1":"","max-w":"500px","min-w":"30%"}),d(K,{class:"hidden <md:block",mx2:"",mb2:"",onSettingsOpen:r})])])]),_:1},8,["fill-color"])]),_:1}))}});typeof F=="function"&&F(re);export{re as default};
|
assets/{index-ByscsBh7.js → index-BNsCTfqm.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
import{ch as getAugmentedNamespace}from"./index-CuOZ8Ym7.js";var dist={},ortWeb_min={exports:{}};const backends={},backendsSortedByPriority=[],registerBackend=(D,u,b)=>{if(u&&typeof u.init=="function"&&typeof u.createSessionHandler=="function"){const g=backends[D];if(g===void 0)backends[D]={backend:u,priority:b};else{if(g.priority>b)return;if(g.priority===b&&g.backend!==u)throw new Error(`cannot register backend "${D}" using priority ${b}`)}if(b>=0){const p=backendsSortedByPriority.indexOf(D);p!==-1&&backendsSortedByPriority.splice(p,1);for(let h=0;h<backendsSortedByPriority.length;h++)if(backends[backendsSortedByPriority[h]].priority<=b){backendsSortedByPriority.splice(h,0,D);return}backendsSortedByPriority.push(D)}return}throw new TypeError("not a valid backend")},resolveBackend=async D=>{const u=D.length===0?backendsSortedByPriority:D,b=[];for(const g of u){const p=backends[g];if(p){if(p.initialized)return p.backend;if(p.aborted)continue;const h=!!p.initPromise;try{return h||(p.initPromise=p.backend.init()),await p.initPromise,p.initialized=!0,p.backend}catch(o){h||b.push({name:g,err:o}),p.aborted=!0}finally{delete p.initPromise}}}throw new Error(`no available backend found. ERR: ${b.map(g=>`[${g.name}] ${g.err}`).join(", ")}`)};class EnvImpl{constructor(){this.wasm={},this.webgl={},this.logLevelInternal="warning"}set logLevel(u){if(u!==void 0){if(typeof u!="string"||["verbose","info","warning","error","fatal"].indexOf(u)===-1)throw new Error(`Unsupported logging level: ${u}`);this.logLevelInternal=u}}get logLevel(){return this.logLevelInternal}}const env=new EnvImpl,isBigInt64ArrayAvailable=typeof BigInt64Array<"u"&&typeof BigInt64Array.from=="function",isBigUint64ArrayAvailable=typeof BigUint64Array<"u"&&typeof BigUint64Array.from=="function",NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP=new Map([["float32",Float32Array],["uint8",Uint8Array],["int8",Int8Array],["uint16",Uint16Array],["int16",Int16Array],["int32",Int32Array],["bool",Uint8Array],["float64",Float64Array],["uint32",Uint32Array]]),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP=new Map([[Float32Array,"float32"],[Uint8Array,"uint8"],[Int8Array,"int8"],[Uint16Array,"uint16"],[Int16Array,"int16"],[Int32Array,"int32"],[Float64Array,"float64"],[Uint32Array,"uint32"]]);isBigInt64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("int64",BigInt64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigInt64Array,"int64"));isBigUint64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("uint64",BigUint64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigUint64Array,"uint64"));const calculateSize=D=>{let u=1;for(let b=0;b<D.length;b++){const g=D[b];if(typeof g!="number"||!Number.isSafeInteger(g))throw new TypeError(`dims[${b}] must be an integer, got: ${g}`);if(g<0)throw new RangeError(`dims[${b}] must be a non-negative integer, got: ${g}`);u*=g}return u};let Tensor$1=class at{constructor(u,b,g){let p,h,o;if(typeof u=="string")if(p=u,o=g,u==="string"){if(!Array.isArray(b))throw new TypeError("A string tensor's data must be a string array.");h=b}else{const f=NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.get(u);if(f===void 0)throw new TypeError(`Unsupported tensor type: ${u}.`);if(Array.isArray(b))h=f.from(b);else if(b instanceof f)h=b;else throw new TypeError(`A ${p} tensor's data must be type of ${f}`)}else if(o=b,Array.isArray(u)){if(u.length===0)throw new TypeError("Tensor type cannot be inferred from an empty array.");const f=typeof u[0];if(f==="string")p="string",h=u;else if(f==="boolean")p="bool",h=Uint8Array.from(u);else throw new TypeError(`Invalid element type of data array: ${f}.`)}else{const f=NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.get(u.constructor);if(f===void 0)throw new TypeError(`Unsupported type for tensor data: ${u.constructor}.`);p=f,h=u}if(o===void 0)o=[h.length];else if(!Array.isArray(o))throw new TypeError("A tensor's dims must be a number array");const c=calculateSize(o);if(c!==h.length)throw new Error(`Tensor's size(${c}) does not match data length(${h.length}).`);this.dims=o,this.type=p,this.data=h,this.size=c}static bufferToTensor(u,b){if(u===void 0)throw new Error("Image buffer must be defined");if(b.height===void 0||b.width===void 0)throw new Error("Image height and width must be defined");const{height:g,width:p}=b,h=b.norm;let o,c;h===void 0||h.mean===void 0?o=255:o=h.mean,h===void 0||h.bias===void 0?c=0:c=h.bias;const f=b.bitmapFormat!==void 0?b.bitmapFormat:"RGBA",s=b.tensorFormat!==void 0&&b.tensorFormat!==void 0?b.tensorFormat:"RGB",i=g*p,t=s==="RGBA"?new Float32Array(i*4):new Float32Array(i*3);let e=4,n=0,r=1,a=2,l=3,d=0,m=i,y=i*2,v=-1;f==="RGB"&&(e=3,n=0,r=1,a=2,l=-1),s==="RGBA"?v=i*3:s==="RBG"?(d=0,y=i,m=i*2):s==="BGR"&&(y=0,m=i,d=i*2);for(let T=0;T<i;T++,n+=e,a+=e,r+=e,l+=e)t[d++]=(u[n]+c)/o,t[m++]=(u[r]+c)/o,t[y++]=(u[a]+c)/o,v!==-1&&l!==-1&&(t[v++]=(u[l]+c)/o);return s==="RGBA"?new at("float32",t,[1,4,g,p]):new at("float32",t,[1,3,g,p])}static async fromImage(u,b){const g=typeof HTMLImageElement<"u"&&u instanceof HTMLImageElement,p=typeof ImageData<"u"&&u instanceof ImageData,h=typeof ImageBitmap<"u"&&u instanceof ImageBitmap,o=typeof String<"u"&&(u instanceof String||typeof u=="string");let c,f={};if(g){const s=document.createElement("canvas"),i=s.getContext("2d");if(i!=null){let t=u.naturalHeight,e=u.naturalWidth;if(b!==void 0&&b.resizedHeight!==void 0&&b.resizedWidth!==void 0&&(t=b.resizedHeight,e=b.resizedWidth),b!==void 0){if(f=b,b.tensorFormat!==void 0)throw new Error("Image input config format must be RGBA for HTMLImageElement");if(f.tensorFormat="RGBA",b.height!==void 0&&b.height!==t)throw new Error("Image input config height doesn't match HTMLImageElement height");if(f.height=t,b.width!==void 0&&b.width!==e)throw new Error("Image input config width doesn't match HTMLImageElement width");f.width=e}else f.tensorFormat="RGBA",f.height=t,f.width=e;s.width=e,s.height=t,i.drawImage(u,0,0,e,t),c=i.getImageData(0,0,e,t).data}else throw new Error("Can not access image data")}else if(p){const s="RGBA";let i,t;if(b!==void 0&&b.resizedWidth!==void 0&&b.resizedHeight!==void 0?(i=b.resizedHeight,t=b.resizedWidth):(i=u.height,t=u.width),b!==void 0){if(f=b,b.bitmapFormat!==void 0&&b.bitmapFormat!==s)throw new Error("Image input config format must be RGBA for ImageData");f.bitmapFormat="RGBA"}else f.bitmapFormat="RGBA";if(f.height=i,f.width=t,b!==void 0){const e=document.createElement("canvas");e.width=t,e.height=i;const n=e.getContext("2d");if(n!=null)n.putImageData(u,0,0),c=n.getImageData(0,0,t,i).data;else throw new Error("Can not access image data")}else c=u.data}else if(h){if(b===void 0)throw new Error("Please provide image config with format for Imagebitmap");if(b.bitmapFormat!==void 0)throw new Error("Image input config format must be defined for ImageBitmap");const s=document.createElement("canvas").getContext("2d");if(s!=null){const i=u.height,t=u.width;if(s.drawImage(u,0,0,t,i),c=s.getImageData(0,0,t,i).data,b!==void 0){if(b.height!==void 0&&b.height!==i)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=i,b.width!==void 0&&b.width!==t)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t}else f.height=i,f.width=t;return at.bufferToTensor(c,f)}else throw new Error("Can not access image data")}else{if(o)return new Promise((s,i)=>{const t=document.createElement("canvas"),e=t.getContext("2d");if(!u||!e)return i();const n=new Image;n.crossOrigin="Anonymous",n.src=u,n.onload=()=>{t.width=n.width,t.height=n.height,e.drawImage(n,0,0,t.width,t.height);const r=e.getImageData(0,0,t.width,t.height);if(b!==void 0){if(b.height!==void 0&&b.height!==t.height)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=t.height,b.width!==void 0&&b.width!==t.width)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t.width}else f.height=t.height,f.width=t.width;s(at.bufferToTensor(r.data,f))}});throw new Error("Input data provided is not supported - aborted tensor creation")}if(c!==void 0)return at.bufferToTensor(c,f);throw new Error("Input data provided is not supported - aborted tensor creation")}toImageData(u){var b,g;const p=document.createElement("canvas").getContext("2d");let h;if(p!=null){const o=this.dims[3],c=this.dims[2],f=this.dims[1],s=u!==void 0&&u.format!==void 0?u.format:"RGB",i=u!==void 0&&((b=u.norm)===null||b===void 0?void 0:b.mean)!==void 0?u.norm.mean:255,t=u!==void 0&&((g=u.norm)===null||g===void 0?void 0:g.bias)!==void 0?u.norm.bias:0,e=c*o;if(u!==void 0){if(u.height!==void 0&&u.height!==c)throw new Error("Image output config height doesn't match tensor height");if(u.width!==void 0&&u.width!==o)throw new Error("Image output config width doesn't match tensor width");if(u.format!==void 0&&f===4&&u.format!=="RGBA"||f===3&&u.format!=="RGB"&&u.format!=="BGR")throw new Error("Tensor format doesn't match input tensor dims")}const n=4;let r=0,a=1,l=2,d=3,m=0,y=e,v=e*2,_=-1;s==="RGBA"?(m=0,y=e,v=e*2,_=e*3):s==="RGB"?(m=0,y=e,v=e*2):s==="RBG"&&(m=0,v=e,y=e*2),h=p.createImageData(o,c);for(let T=0;T<c*o;r+=n,a+=n,l+=n,d+=n,T++)h.data[r]=(this.data[m++]-t)*i,h.data[a]=(this.data[y++]-t)*i,h.data[l]=(this.data[v++]-t)*i,h.data[d]=_===-1?255:(this.data[_++]-t)*i}else throw new Error("Can not access image data");return h}reshape(u){return new at(this.type,this.data,u)}};const Tensor=Tensor$1;let InferenceSession$1=class cn{constructor(u){this.handler=u}async run(u,b,g){const p={};let h={};if(typeof u!="object"||u===null||u instanceof Tensor||Array.isArray(u))throw new TypeError("'feeds' must be an object that use input names as keys and OnnxValue as corresponding values.");let o=!0;if(typeof b=="object"){if(b===null)throw new TypeError("Unexpected argument[1]: cannot be null.");if(b instanceof Tensor)throw new TypeError("'fetches' cannot be a Tensor");if(Array.isArray(b)){if(b.length===0)throw new TypeError("'fetches' cannot be an empty array.");o=!1;for(const s of b){if(typeof s!="string")throw new TypeError("'fetches' must be a string array or an object.");if(this.outputNames.indexOf(s)===-1)throw new RangeError(`'fetches' contains invalid output name: ${s}.`);p[s]=null}if(typeof g=="object"&&g!==null)h=g;else if(typeof g<"u")throw new TypeError("'options' must be an object.")}else{let s=!1;const i=Object.getOwnPropertyNames(b);for(const t of this.outputNames)if(i.indexOf(t)!==-1){const e=b[t];(e===null||e instanceof Tensor)&&(s=!0,o=!1,p[t]=e)}if(s){if(typeof g=="object"&&g!==null)h=g;else if(typeof g<"u")throw new TypeError("'options' must be an object.")}else h=b}}else if(typeof b<"u")throw new TypeError("Unexpected argument[1]: must be 'fetches' or 'options'.");for(const s of this.inputNames)if(typeof u[s]>"u")throw new Error(`input '${s}' is missing in 'feeds'.`);if(o)for(const s of this.outputNames)p[s]=null;const c=await this.handler.run(u,p,h),f={};for(const s in c)Object.hasOwnProperty.call(c,s)&&(f[s]=new Tensor(c[s].type,c[s].data,c[s].dims));return f}static async create(u,b,g,p){let h,o={};if(typeof u=="string"){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof Uint8Array){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&u instanceof SharedArrayBuffer){const t=u;let e=0,n=u.byteLength;if(typeof b=="object"&&b!==null)o=b;else if(typeof b=="number"){if(e=b,!Number.isSafeInteger(e))throw new RangeError("'byteOffset' must be an integer.");if(e<0||e>=t.byteLength)throw new RangeError(`'byteOffset' is out of range [0, ${t.byteLength}).`);if(n=u.byteLength-e,typeof g=="number"){if(n=g,!Number.isSafeInteger(n))throw new RangeError("'byteLength' must be an integer.");if(n<=0||e+n>t.byteLength)throw new RangeError(`'byteLength' is out of range (0, ${t.byteLength-e}].`);if(typeof p=="object"&&p!==null)o=p;else if(typeof p<"u")throw new TypeError("'options' must be an object.")}else if(typeof g<"u")throw new TypeError("'byteLength' must be a number.")}else if(typeof b<"u")throw new TypeError("'options' must be an object.");h=new Uint8Array(t,e,n)}else throw new TypeError("Unexpected argument[0]: must be 'path' or 'buffer'.");const f=(o.executionProviders||[]).map(t=>typeof t=="string"?t:t.name),i=await(await resolveBackend(f)).createSessionHandler(h,o);return new cn(i)}startProfiling(){this.handler.startProfiling()}endProfiling(){this.handler.endProfiling()}get inputNames(){return this.handler.inputNames}get outputNames(){return this.handler.outputNames}};const InferenceSession=InferenceSession$1,lib=Object.freeze(Object.defineProperty({__proto__:null,InferenceSession,Tensor,env,registerBackend},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(lib);/*!
|
2 |
* ONNX Runtime Web v1.14.0
|
3 |
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4 |
* Licensed under the MIT License.
|
|
|
1 |
+
import{ch as getAugmentedNamespace}from"./index-CbPBrBI3.js";var dist={},ortWeb_min={exports:{}};const backends={},backendsSortedByPriority=[],registerBackend=(D,u,b)=>{if(u&&typeof u.init=="function"&&typeof u.createSessionHandler=="function"){const g=backends[D];if(g===void 0)backends[D]={backend:u,priority:b};else{if(g.priority>b)return;if(g.priority===b&&g.backend!==u)throw new Error(`cannot register backend "${D}" using priority ${b}`)}if(b>=0){const p=backendsSortedByPriority.indexOf(D);p!==-1&&backendsSortedByPriority.splice(p,1);for(let h=0;h<backendsSortedByPriority.length;h++)if(backends[backendsSortedByPriority[h]].priority<=b){backendsSortedByPriority.splice(h,0,D);return}backendsSortedByPriority.push(D)}return}throw new TypeError("not a valid backend")},resolveBackend=async D=>{const u=D.length===0?backendsSortedByPriority:D,b=[];for(const g of u){const p=backends[g];if(p){if(p.initialized)return p.backend;if(p.aborted)continue;const h=!!p.initPromise;try{return h||(p.initPromise=p.backend.init()),await p.initPromise,p.initialized=!0,p.backend}catch(o){h||b.push({name:g,err:o}),p.aborted=!0}finally{delete p.initPromise}}}throw new Error(`no available backend found. ERR: ${b.map(g=>`[${g.name}] ${g.err}`).join(", ")}`)};class EnvImpl{constructor(){this.wasm={},this.webgl={},this.logLevelInternal="warning"}set logLevel(u){if(u!==void 0){if(typeof u!="string"||["verbose","info","warning","error","fatal"].indexOf(u)===-1)throw new Error(`Unsupported logging level: ${u}`);this.logLevelInternal=u}}get logLevel(){return this.logLevelInternal}}const env=new EnvImpl,isBigInt64ArrayAvailable=typeof BigInt64Array<"u"&&typeof BigInt64Array.from=="function",isBigUint64ArrayAvailable=typeof BigUint64Array<"u"&&typeof BigUint64Array.from=="function",NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP=new Map([["float32",Float32Array],["uint8",Uint8Array],["int8",Int8Array],["uint16",Uint16Array],["int16",Int16Array],["int32",Int32Array],["bool",Uint8Array],["float64",Float64Array],["uint32",Uint32Array]]),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP=new Map([[Float32Array,"float32"],[Uint8Array,"uint8"],[Int8Array,"int8"],[Uint16Array,"uint16"],[Int16Array,"int16"],[Int32Array,"int32"],[Float64Array,"float64"],[Uint32Array,"uint32"]]);isBigInt64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("int64",BigInt64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigInt64Array,"int64"));isBigUint64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("uint64",BigUint64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigUint64Array,"uint64"));const calculateSize=D=>{let u=1;for(let b=0;b<D.length;b++){const g=D[b];if(typeof g!="number"||!Number.isSafeInteger(g))throw new TypeError(`dims[${b}] must be an integer, got: ${g}`);if(g<0)throw new RangeError(`dims[${b}] must be a non-negative integer, got: ${g}`);u*=g}return u};let Tensor$1=class at{constructor(u,b,g){let p,h,o;if(typeof u=="string")if(p=u,o=g,u==="string"){if(!Array.isArray(b))throw new TypeError("A string tensor's data must be a string array.");h=b}else{const f=NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.get(u);if(f===void 0)throw new TypeError(`Unsupported tensor type: ${u}.`);if(Array.isArray(b))h=f.from(b);else if(b instanceof f)h=b;else throw new TypeError(`A ${p} tensor's data must be type of ${f}`)}else if(o=b,Array.isArray(u)){if(u.length===0)throw new TypeError("Tensor type cannot be inferred from an empty array.");const f=typeof u[0];if(f==="string")p="string",h=u;else if(f==="boolean")p="bool",h=Uint8Array.from(u);else throw new TypeError(`Invalid element type of data array: ${f}.`)}else{const f=NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.get(u.constructor);if(f===void 0)throw new TypeError(`Unsupported type for tensor data: ${u.constructor}.`);p=f,h=u}if(o===void 0)o=[h.length];else if(!Array.isArray(o))throw new TypeError("A tensor's dims must be a number array");const c=calculateSize(o);if(c!==h.length)throw new Error(`Tensor's size(${c}) does not match data length(${h.length}).`);this.dims=o,this.type=p,this.data=h,this.size=c}static bufferToTensor(u,b){if(u===void 0)throw new Error("Image buffer must be defined");if(b.height===void 0||b.width===void 0)throw new Error("Image height and width must be defined");const{height:g,width:p}=b,h=b.norm;let o,c;h===void 0||h.mean===void 0?o=255:o=h.mean,h===void 0||h.bias===void 0?c=0:c=h.bias;const f=b.bitmapFormat!==void 0?b.bitmapFormat:"RGBA",s=b.tensorFormat!==void 0&&b.tensorFormat!==void 0?b.tensorFormat:"RGB",i=g*p,t=s==="RGBA"?new Float32Array(i*4):new Float32Array(i*3);let e=4,n=0,r=1,a=2,l=3,d=0,m=i,y=i*2,v=-1;f==="RGB"&&(e=3,n=0,r=1,a=2,l=-1),s==="RGBA"?v=i*3:s==="RBG"?(d=0,y=i,m=i*2):s==="BGR"&&(y=0,m=i,d=i*2);for(let T=0;T<i;T++,n+=e,a+=e,r+=e,l+=e)t[d++]=(u[n]+c)/o,t[m++]=(u[r]+c)/o,t[y++]=(u[a]+c)/o,v!==-1&&l!==-1&&(t[v++]=(u[l]+c)/o);return s==="RGBA"?new at("float32",t,[1,4,g,p]):new at("float32",t,[1,3,g,p])}static async fromImage(u,b){const g=typeof HTMLImageElement<"u"&&u instanceof HTMLImageElement,p=typeof ImageData<"u"&&u instanceof ImageData,h=typeof ImageBitmap<"u"&&u instanceof ImageBitmap,o=typeof String<"u"&&(u instanceof String||typeof u=="string");let c,f={};if(g){const s=document.createElement("canvas"),i=s.getContext("2d");if(i!=null){let t=u.naturalHeight,e=u.naturalWidth;if(b!==void 0&&b.resizedHeight!==void 0&&b.resizedWidth!==void 0&&(t=b.resizedHeight,e=b.resizedWidth),b!==void 0){if(f=b,b.tensorFormat!==void 0)throw new Error("Image input config format must be RGBA for HTMLImageElement");if(f.tensorFormat="RGBA",b.height!==void 0&&b.height!==t)throw new Error("Image input config height doesn't match HTMLImageElement height");if(f.height=t,b.width!==void 0&&b.width!==e)throw new Error("Image input config width doesn't match HTMLImageElement width");f.width=e}else f.tensorFormat="RGBA",f.height=t,f.width=e;s.width=e,s.height=t,i.drawImage(u,0,0,e,t),c=i.getImageData(0,0,e,t).data}else throw new Error("Can not access image data")}else if(p){const s="RGBA";let i,t;if(b!==void 0&&b.resizedWidth!==void 0&&b.resizedHeight!==void 0?(i=b.resizedHeight,t=b.resizedWidth):(i=u.height,t=u.width),b!==void 0){if(f=b,b.bitmapFormat!==void 0&&b.bitmapFormat!==s)throw new Error("Image input config format must be RGBA for ImageData");f.bitmapFormat="RGBA"}else f.bitmapFormat="RGBA";if(f.height=i,f.width=t,b!==void 0){const e=document.createElement("canvas");e.width=t,e.height=i;const n=e.getContext("2d");if(n!=null)n.putImageData(u,0,0),c=n.getImageData(0,0,t,i).data;else throw new Error("Can not access image data")}else c=u.data}else if(h){if(b===void 0)throw new Error("Please provide image config with format for Imagebitmap");if(b.bitmapFormat!==void 0)throw new Error("Image input config format must be defined for ImageBitmap");const s=document.createElement("canvas").getContext("2d");if(s!=null){const i=u.height,t=u.width;if(s.drawImage(u,0,0,t,i),c=s.getImageData(0,0,t,i).data,b!==void 0){if(b.height!==void 0&&b.height!==i)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=i,b.width!==void 0&&b.width!==t)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t}else f.height=i,f.width=t;return at.bufferToTensor(c,f)}else throw new Error("Can not access image data")}else{if(o)return new Promise((s,i)=>{const t=document.createElement("canvas"),e=t.getContext("2d");if(!u||!e)return i();const n=new Image;n.crossOrigin="Anonymous",n.src=u,n.onload=()=>{t.width=n.width,t.height=n.height,e.drawImage(n,0,0,t.width,t.height);const r=e.getImageData(0,0,t.width,t.height);if(b!==void 0){if(b.height!==void 0&&b.height!==t.height)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=t.height,b.width!==void 0&&b.width!==t.width)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t.width}else f.height=t.height,f.width=t.width;s(at.bufferToTensor(r.data,f))}});throw new Error("Input data provided is not supported - aborted tensor creation")}if(c!==void 0)return at.bufferToTensor(c,f);throw new Error("Input data provided is not supported - aborted tensor creation")}toImageData(u){var b,g;const p=document.createElement("canvas").getContext("2d");let h;if(p!=null){const o=this.dims[3],c=this.dims[2],f=this.dims[1],s=u!==void 0&&u.format!==void 0?u.format:"RGB",i=u!==void 0&&((b=u.norm)===null||b===void 0?void 0:b.mean)!==void 0?u.norm.mean:255,t=u!==void 0&&((g=u.norm)===null||g===void 0?void 0:g.bias)!==void 0?u.norm.bias:0,e=c*o;if(u!==void 0){if(u.height!==void 0&&u.height!==c)throw new Error("Image output config height doesn't match tensor height");if(u.width!==void 0&&u.width!==o)throw new Error("Image output config width doesn't match tensor width");if(u.format!==void 0&&f===4&&u.format!=="RGBA"||f===3&&u.format!=="RGB"&&u.format!=="BGR")throw new Error("Tensor format doesn't match input tensor dims")}const n=4;let r=0,a=1,l=2,d=3,m=0,y=e,v=e*2,_=-1;s==="RGBA"?(m=0,y=e,v=e*2,_=e*3):s==="RGB"?(m=0,y=e,v=e*2):s==="RBG"&&(m=0,v=e,y=e*2),h=p.createImageData(o,c);for(let T=0;T<c*o;r+=n,a+=n,l+=n,d+=n,T++)h.data[r]=(this.data[m++]-t)*i,h.data[a]=(this.data[y++]-t)*i,h.data[l]=(this.data[v++]-t)*i,h.data[d]=_===-1?255:(this.data[_++]-t)*i}else throw new Error("Can not access image data");return h}reshape(u){return new at(this.type,this.data,u)}};const Tensor=Tensor$1;let InferenceSession$1=class cn{constructor(u){this.handler=u}async run(u,b,g){const p={};let h={};if(typeof u!="object"||u===null||u instanceof Tensor||Array.isArray(u))throw new TypeError("'feeds' must be an object that use input names as keys and OnnxValue as corresponding values.");let o=!0;if(typeof b=="object"){if(b===null)throw new TypeError("Unexpected argument[1]: cannot be null.");if(b instanceof Tensor)throw new TypeError("'fetches' cannot be a Tensor");if(Array.isArray(b)){if(b.length===0)throw new TypeError("'fetches' cannot be an empty array.");o=!1;for(const s of b){if(typeof s!="string")throw new TypeError("'fetches' must be a string array or an object.");if(this.outputNames.indexOf(s)===-1)throw new RangeError(`'fetches' contains invalid output name: ${s}.`);p[s]=null}if(typeof g=="object"&&g!==null)h=g;else if(typeof g<"u")throw new TypeError("'options' must be an object.")}else{let s=!1;const i=Object.getOwnPropertyNames(b);for(const t of this.outputNames)if(i.indexOf(t)!==-1){const e=b[t];(e===null||e instanceof Tensor)&&(s=!0,o=!1,p[t]=e)}if(s){if(typeof g=="object"&&g!==null)h=g;else if(typeof g<"u")throw new TypeError("'options' must be an object.")}else h=b}}else if(typeof b<"u")throw new TypeError("Unexpected argument[1]: must be 'fetches' or 'options'.");for(const s of this.inputNames)if(typeof u[s]>"u")throw new Error(`input '${s}' is missing in 'feeds'.`);if(o)for(const s of this.outputNames)p[s]=null;const c=await this.handler.run(u,p,h),f={};for(const s in c)Object.hasOwnProperty.call(c,s)&&(f[s]=new Tensor(c[s].type,c[s].data,c[s].dims));return f}static async create(u,b,g,p){let h,o={};if(typeof u=="string"){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof Uint8Array){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&u instanceof SharedArrayBuffer){const t=u;let e=0,n=u.byteLength;if(typeof b=="object"&&b!==null)o=b;else if(typeof b=="number"){if(e=b,!Number.isSafeInteger(e))throw new RangeError("'byteOffset' must be an integer.");if(e<0||e>=t.byteLength)throw new RangeError(`'byteOffset' is out of range [0, ${t.byteLength}).`);if(n=u.byteLength-e,typeof g=="number"){if(n=g,!Number.isSafeInteger(n))throw new RangeError("'byteLength' must be an integer.");if(n<=0||e+n>t.byteLength)throw new RangeError(`'byteLength' is out of range (0, ${t.byteLength-e}].`);if(typeof p=="object"&&p!==null)o=p;else if(typeof p<"u")throw new TypeError("'options' must be an object.")}else if(typeof g<"u")throw new TypeError("'byteLength' must be a number.")}else if(typeof b<"u")throw new TypeError("'options' must be an object.");h=new Uint8Array(t,e,n)}else throw new TypeError("Unexpected argument[0]: must be 'path' or 'buffer'.");const f=(o.executionProviders||[]).map(t=>typeof t=="string"?t:t.name),i=await(await resolveBackend(f)).createSessionHandler(h,o);return new cn(i)}startProfiling(){this.handler.startProfiling()}endProfiling(){this.handler.endProfiling()}get inputNames(){return this.handler.inputNames}get outputNames(){return this.handler.outputNames}};const InferenceSession=InferenceSession$1,lib=Object.freeze(Object.defineProperty({__proto__:null,InferenceSession,Tensor,env,registerBackend},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(lib);/*!
|
2 |
* ONNX Runtime Web v1.14.0
|
3 |
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4 |
* Licensed under the MIT License.
|
assets/{index-CuOZ8Ym7.js → index-CbPBrBI3.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/default-
|
2 |
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();const ew="modulepreload",tw=function(n){return"/"+n},A_={},$t=function(e,t,i){let r=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(t.map(l=>{if(l=tw(l),l in A_)return;A_[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":ew,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((h,d)=>{f.addEventListener("load",h),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return r.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};/**
|
3 |
* @vue/shared v3.5.13
|
4 |
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
@@ -3846,11 +3846,11 @@ void main() {
|
|
3846 |
* pinia v3.0.1
|
3847 |
* (c) 2025 Eduardo San Martin Morote
|
3848 |
* @license MIT
|
3849 |
-
*/let dT;const Zh=n=>dT=n,pT=Symbol();function _m(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var dl;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(dl||(dl={}));function bk(){const n=Ql(!0),e=n.run(()=>Xe({}));let t=[],i=[];const r=Xm({install(s){Zh(r),r._a=s,s.provide(pT,r),s.config.globalProperties.$pinia=r,i.forEach(o=>t.push(o)),i=[]},use(s){return this._a?t.push(s):i.push(s),this},_p:t,_a:null,_e:n,_s:new Map,state:e});return r}const mT=()=>{};function Ay(n,e,t,i=mT){n.push(e);const r=()=>{const s=n.indexOf(e);s>-1&&(n.splice(s,1),i())};return!t&&th()&&Bm(r),r}function ko(n,...e){n.slice().forEach(t=>{t(...e)})}const Sk=n=>n(),Cy=Symbol(),gp=Symbol();function vm(n,e){n instanceof Map&&e instanceof Map?e.forEach((t,i)=>n.set(i,t)):n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t],r=n[t];_m(r)&&_m(i)&&n.hasOwnProperty(t)&&!Mt(i)&&!yr(i)?n[t]=vm(r,i):n[t]=i}return n}const Mk=Symbol();function Ek(n){return!_m(n)||!n.hasOwnProperty(Mk)}const{assign:zr}=Object;function Tk(n){return!!(Mt(n)&&n.effect)}function wk(n,e,t,i){const{state:r,actions:s,getters:o}=e,a=t.state.value[n];let l;function c(){a||(t.state.value[n]=r?r():{});const u=Yx(t.state.value[n]);return zr(u,s,Object.keys(o||{}).reduce((f,h)=>(f[h]=Xm(Ce(()=>{Zh(t);const d=t._s.get(n);return o[h].call(d,d)})),f),{}))}return l=gT(n,c,e,t,i,!0),l}function gT(n,e,t={},i,r,s){let o;const a=zr({actions:{}},t),l={deep:!0};let c,u,f=[],h=[],d;const p=i.state.value[n];!s&&!p&&(i.state.value[n]={}),Xe({});let _;function g(P){let b;c=u=!1,typeof P=="function"?(P(i.state.value[n]),b={type:dl.patchFunction,storeId:n,events:d}):(vm(i.state.value[n],P),b={type:dl.patchObject,payload:P,storeId:n,events:d});const S=_=Symbol();cs().then(()=>{_===S&&(c=!0)}),u=!0,ko(f,b,i.state.value[n])}const m=s?function(){const{state:b}=t,S=b?b():{};this.$patch(D=>{zr(D,S)})}:mT;function y(){o.stop(),f=[],h=[],i._s.delete(n)}const x=(P,b="")=>{if(Cy in P)return P[gp]=b,P;const S=function(){Zh(i);const D=Array.from(arguments),B=[],H=[];function $(te){B.push(te)}function ee(te){H.push(te)}ko(h,{args:D,name:S[gp],store:E,after:$,onError:ee});let Z;try{Z=P.apply(this&&this.$id===n?this:E,D)}catch(te){throw ko(H,te),te}return Z instanceof Promise?Z.then(te=>(ko(B,te),te)).catch(te=>(ko(H,te),Promise.reject(te))):(ko(B,Z),Z)};return S[Cy]=!0,S[gp]=b,S},v={_p:i,$id:n,$onAction:Ay.bind(null,h),$patch:g,$reset:m,$subscribe(P,b={}){const S=Ay(f,P,b.detached,()=>D()),D=o.run(()=>je(()=>i.state.value[n],B=>{(b.flush==="sync"?u:c)&&P({storeId:n,type:dl.direct,events:d},B)},zr({},l,b)));return S},$dispose:y},E=hi(v);i._s.set(n,E);const M=(i._a&&i._a.runWithContext||Sk)(()=>i._e.run(()=>(o=Ql()).run(()=>e({action:x}))));for(const P in M){const b=M[P];if(Mt(b)&&!Tk(b)||yr(b))s||(p&&Ek(b)&&(Mt(b)?b.value=p[P]:vm(b,p[P])),i.state.value[n][P]=b);else if(typeof b=="function"){const S=x(b,P);M[P]=S,a.actions[P]=b}}return zr(E,M),zr(st(E),M),Object.defineProperty(E,"$state",{get:()=>i.state.value[n],set:P=>{g(b=>{zr(b,P)})}}),i._p.forEach(P=>{zr(E,o.run(()=>P({store:E,app:i._a,pinia:i,options:a})))}),p&&s&&t.hydrate&&t.hydrate(E.$state,p),c=!0,u=!0,E}/*! #__NO_SIDE_EFFECTS__ */function Ak(n,e,t){let i;const r=typeof e=="function";i=r?t:e;function s(o,a){const l=Jm();return o=o||(l?Ln(pT,null):null),o&&Zh(o),o=dT,o._s.has(n)||(r?gT(n,e,i,o):wk(n,i,o)),o._s.get(n)}return s.$id=n,s}function Ck(n){const e=st(n),t={};for(const i in e){const r=e[i];r.effect?t[i]=Ce({get:()=>n[i],set(s){n[i]=s}}):(Mt(r)||yr(r))&&(t[i]=jx(n,i))}return t}const Rk=n=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>$t(()=>import("./default-
|
3850 |
* vue-router v4.5.0
|
3851 |
* (c) 2024 Eduardo San Martin Morote
|
3852 |
* @license MIT
|
3853 |
-
*/const Vo=typeof document<"u";function _T(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function Pk(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&_T(n.default)}const vt=Object.assign;function _p(n,e){const t={};for(const i in e){const r=e[i];t[i]=Pi(r)?r.map(n):n(r)}return t}const pl=()=>{},Pi=Array.isArray,vT=/#/g,Ik=/&/g,Lk=/\//g,Dk=/=/g,Ok=/\?/g,yT=/\+/g,Nk=/%5B/g,Uk=/%5D/g,xT=/%5E/g,Fk=/%60/g,bT=/%7B/g,Bk=/%7C/g,ST=/%7D/g,kk=/%20/g;function f_(n){return encodeURI(""+n).replace(Bk,"|").replace(Nk,"[").replace(Uk,"]")}function zk(n){return f_(n).replace(bT,"{").replace(ST,"}").replace(xT,"^")}function ym(n){return f_(n).replace(yT,"%2B").replace(kk,"+").replace(vT,"%23").replace(Ik,"%26").replace(Fk,"`").replace(bT,"{").replace(ST,"}").replace(xT,"^")}function Vk(n){return ym(n).replace(Dk,"%3D")}function Hk(n){return f_(n).replace(vT,"%23").replace(Ok,"%3F")}function Gk(n){return n==null?"":Hk(n).replace(Lk,"%2F")}function ql(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const Wk=/\/$/,Xk=n=>n.replace(Wk,"");function vp(n,e,t="/"){let i,r={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),r=n(s)),a>-1&&(i=i||e.slice(0,a),o=e.slice(a,e.length)),i=jk(i??e,t),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:ql(o)}}function $k(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Ry(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function qk(n,e,t){const i=e.matched.length-1,r=t.matched.length-1;return i>-1&&i===r&&ua(e.matched[i],t.matched[r])&&MT(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function ua(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function MT(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!Yk(n[t],e[t]))return!1;return!0}function Yk(n,e){return Pi(n)?Py(n,e):Pi(e)?Py(e,n):n===e}function Py(n,e){return Pi(e)?n.length===e.length&&n.every((t,i)=>t===e[i]):n.length===1&&n[0]===e}function jk(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),i=n.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let s=t.length-1,o,a;for(o=0;o<i.length;o++)if(a=i[o],a!==".")if(a==="..")s>1&&s--;else break;return t.slice(0,s).join("/")+"/"+i.slice(o).join("/")}const Br={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Yl;(function(n){n.pop="pop",n.push="push"})(Yl||(Yl={}));var ml;(function(n){n.back="back",n.forward="forward",n.unknown=""})(ml||(ml={}));function Kk(n){if(!n)if(Vo){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),Xk(n)}const Zk=/^[^#]+#/;function Jk(n,e){return n.replace(Zk,"#")+e}function Qk(n,e){const t=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:e.behavior,left:i.left-t.left-(e.left||0),top:i.top-t.top-(e.top||0)}}const Jh=()=>({left:window.scrollX,top:window.scrollY});function ez(n){let e;if("el"in n){const t=n.el,i=typeof t=="string"&&t.startsWith("#"),r=typeof t=="string"?i?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!r)return;e=Qk(r,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Iy(n,e){return(history.state?history.state.position-e:-1)+n}const xm=new Map;function tz(n,e){xm.set(n,e)}function nz(n){const e=xm.get(n);return xm.delete(n),e}let iz=()=>location.protocol+"//"+location.host;function ET(n,e){const{pathname:t,search:i,hash:r}=e,s=n.indexOf("#");if(s>-1){let a=r.includes(n.slice(s))?n.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),Ry(l,"")}return Ry(t,n)+i+r}function rz(n,e,t,i){let r=[],s=[],o=null;const a=({state:h})=>{const d=ET(n,location),p=t.value,_=e.value;let g=0;if(h){if(t.value=d,e.value=h,o&&o===p){o=null;return}g=_?h.position-_.position:0}else i(d);r.forEach(m=>{m(t.value,p,{delta:g,type:Yl.pop,direction:g?g>0?ml.forward:ml.back:ml.unknown})})};function l(){o=t.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return s.push(d),d}function u(){const{history:h}=window;h.state&&h.replaceState(vt({},h.state,{scroll:Jh()}),"")}function f(){for(const h of s)h();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Ly(n,e,t,i=!1,r=!1){return{back:n,current:e,forward:t,replaced:i,position:window.history.length,scroll:r?Jh():null}}function sz(n){const{history:e,location:t}=window,i={value:ET(n,t)},r={value:e.state};r.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=n.indexOf("#"),h=f>-1?(t.host&&document.querySelector("base")?n:n.slice(f))+l:iz()+n+l;try{e[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),t[u?"replace":"assign"](h)}}function o(l,c){const u=vt({},e.state,Ly(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),i.value=l}function a(l,c){const u=vt({},r.value,e.state,{forward:l,scroll:Jh()});s(u.current,u,!0);const f=vt({},Ly(i.value,l,null),{position:u.position+1},c);s(l,f,!1),i.value=l}return{location:i,state:r,push:a,replace:o}}function oz(n){n=Kk(n);const e=sz(n),t=rz(n,e.state,e.location,e.replace);function i(s,o=!0){o||t.pauseListeners(),history.go(s)}const r=vt({location:"",base:n,go:i,createHref:Jk.bind(null,n)},e,t);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function az(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),oz(n)}function lz(n){return typeof n=="string"||n&&typeof n=="object"}function TT(n){return typeof n=="string"||typeof n=="symbol"}const wT=Symbol("");var Dy;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(Dy||(Dy={}));function fa(n,e){return vt(new Error,{type:n,[wT]:!0},e)}function ar(n,e){return n instanceof Error&&wT in n&&(e==null||!!(n.type&e))}const Oy="[^/]+?",cz={sensitive:!1,strict:!1,start:!0,end:!0},uz=/[.+*?^${}()[\]/\\]/g;function fz(n,e){const t=vt({},cz,e),i=[];let r=t.start?"^":"";const s=[];for(const c of n){const u=c.length?[]:[90];t.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=40+(t.sensitive?.25:0);if(h.type===0)f||(r+="/"),r+=h.value.replace(uz,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:_,optional:g,regexp:m}=h;s.push({name:p,repeatable:_,optional:g});const y=m||Oy;if(y!==Oy){d+=10;try{new RegExp(`(${y})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+v.message)}}let x=_?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(x=g&&c.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),r+=x,d+=20,g&&(d+=-8),_&&(d+=-20),y===".*"&&(d+=-50)}u.push(d)}i.push(u)}if(t.strict&&t.end){const c=i.length-1;i[c][i[c].length-1]+=.7000000000000001}t.strict||(r+="/?"),t.end?r+="$":t.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,t.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=s[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of n){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===0)u+=d.value;else if(d.type===1){const{value:p,repeatable:_,optional:g}=d,m=p in c?c[p]:"";if(Pi(m)&&!_)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=Pi(m)?m.join("/"):m;if(!y)if(g)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=y}}return u||"/"}return{re:o,score:i,keys:s,parse:a,stringify:l}}function hz(n,e){let t=0;for(;t<n.length&&t<e.length;){const i=e[t]-n[t];if(i)return i;t++}return n.length<e.length?n.length===1&&n[0]===80?-1:1:n.length>e.length?e.length===1&&e[0]===80?1:-1:0}function AT(n,e){let t=0;const i=n.score,r=e.score;for(;t<i.length&&t<r.length;){const s=hz(i[t],r[t]);if(s)return s;t++}if(Math.abs(r.length-i.length)===1){if(Ny(i))return 1;if(Ny(r))return-1}return r.length-i.length}function Ny(n){const e=n[n.length-1];return n.length>0&&e[e.length-1]<0}const dz={type:0,value:""},pz=/[a-zA-Z0-9_]/;function mz(n){if(!n)return[[]];if(n==="/")return[[dz]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(d){throw new Error(`ERR (${t})/"${c}": ${d}`)}let t=0,i=t;const r=[];let s;function o(){s&&r.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(t===0?s.push({type:0,value:c}):t===1||t===2||t===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<n.length;){if(l=n[a++],l==="\\"&&t!==2){i=t,t=4;continue}switch(t){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),t=1):h();break;case 4:h(),t=i;break;case 1:l==="("?t=2:pz.test(l)?h():(f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:t=3:u+=l;break;case 3:f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return t===2&&e(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}function gz(n,e,t){const i=fz(mz(n.path),t),r=vt(i,{record:n,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function _z(n,e){const t=[],i=new Map;e=ky({strict:!1,end:!0,sensitive:!1},e);function r(f){return i.get(f)}function s(f,h,d){const p=!d,_=Fy(f);_.aliasOf=d&&d.record;const g=ky(e,f),m=[_];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of v)m.push(Fy(vt({},_,{components:d?d.record.components:_.components,path:E,aliasOf:d?d.record:_})))}let y,x;for(const v of m){const{path:E}=v;if(h&&E[0]!=="/"){const T=h.record.path,M=T[T.length-1]==="/"?"":"/";v.path=h.record.path+(E&&M+E)}if(y=gz(v,h,g),d?d.alias.push(y):(x=x||y,x!==y&&x.alias.push(y),p&&f.name&&!By(y)&&o(f.name)),CT(y)&&l(y),_.children){const T=_.children;for(let M=0;M<T.length;M++)s(T[M],y,d&&d.children[M])}d=d||y}return x?()=>{o(x)}:pl}function o(f){if(TT(f)){const h=i.get(f);h&&(i.delete(f),t.splice(t.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=t.indexOf(f);h>-1&&(t.splice(h,1),f.record.name&&i.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return t}function l(f){const h=xz(f,t);t.splice(h,0,f),f.record.name&&!By(f)&&i.set(f.record.name,f)}function c(f,h){let d,p={},_,g;if("name"in f&&f.name){if(d=i.get(f.name),!d)throw fa(1,{location:f});g=d.record.name,p=vt(Uy(h.params,d.keys.filter(x=>!x.optional).concat(d.parent?d.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&Uy(f.params,d.keys.map(x=>x.name))),_=d.stringify(p)}else if(f.path!=null)_=f.path,d=t.find(x=>x.re.test(_)),d&&(p=d.parse(_),g=d.record.name);else{if(d=h.name?i.get(h.name):t.find(x=>x.re.test(h.path)),!d)throw fa(1,{location:f,currentLocation:h});g=d.record.name,p=vt({},h.params,f.params),_=d.stringify(p)}const m=[];let y=d;for(;y;)m.unshift(y.record),y=y.parent;return{name:g,path:_,params:p,matched:m,meta:yz(m)}}n.forEach(f=>s(f));function u(){t.length=0,i.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function Uy(n,e){const t={};for(const i of e)i in n&&(t[i]=n[i]);return t}function Fy(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:vz(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function vz(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const i in n.components)e[i]=typeof t=="object"?t[i]:t;return e}function By(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function yz(n){return n.reduce((e,t)=>vt(e,t.meta),{})}function ky(n,e){const t={};for(const i in n)t[i]=i in e?e[i]:n[i];return t}function xz(n,e){let t=0,i=e.length;for(;t!==i;){const s=t+i>>1;AT(n,e[s])<0?i=s:t=s+1}const r=bz(n);return r&&(i=e.lastIndexOf(r,i-1)),i}function bz(n){let e=n;for(;e=e.parent;)if(CT(e)&&AT(n,e)===0)return e}function CT({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function Sz(n){const e={};if(n===""||n==="?")return e;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let r=0;r<i.length;++r){const s=i[r].replace(yT," "),o=s.indexOf("="),a=ql(o<0?s:s.slice(0,o)),l=o<0?null:ql(s.slice(o+1));if(a in e){let c=e[a];Pi(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function zy(n){let e="";for(let t in n){const i=n[t];if(t=Vk(t),i==null){i!==void 0&&(e+=(e.length?"&":"")+t);continue}(Pi(i)?i.map(s=>s&&ym(s)):[i&&ym(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function Mz(n){const e={};for(const t in n){const i=n[t];i!==void 0&&(e[t]=Pi(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}const Ez=Symbol(""),Vy=Symbol(""),Qh=Symbol(""),RT=Symbol(""),bm=Symbol("");function ka(){let n=[];function e(i){return n.push(i),()=>{const r=n.indexOf(i);r>-1&&n.splice(r,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function $r(n,e,t,i,r,s=o=>o()){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(fa(4,{from:t,to:e})):h instanceof Error?l(h):lz(h)?l(fa(2,{from:e,to:h})):(o&&i.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),a())},u=s(()=>n.call(i&&i.instances[r],e,t,c));let f=Promise.resolve(u);n.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function yp(n,e,t,i,r=s=>s()){const s=[];for(const o of n)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(_T(l)){const u=(l.__vccOpts||l)[e];u&&s.push($r(u,t,i,o,a,r))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=Pk(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[e];return d&&$r(d,t,i,o,a,r)()}))}}return s}function Hy(n){const e=Ln(Qh),t=Ln(RT),i=Ce(()=>{const l=Rt(n.to);return e.resolve(l)}),r=Ce(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],f=t.matched;if(!u||!f.length)return-1;const h=f.findIndex(ua.bind(null,u));if(h>-1)return h;const d=Gy(l[c-2]);return c>1&&Gy(u)===d&&f[f.length-1].path!==d?f.findIndex(ua.bind(null,l[c-2])):h}),s=Ce(()=>r.value>-1&&Rz(t.params,i.value.params)),o=Ce(()=>r.value>-1&&r.value===t.matched.length-1&&MT(t.params,i.value.params));function a(l={}){if(Cz(l)){const c=e[Rt(n.replace)?"replace":"push"](Rt(n.to)).catch(pl);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:Ce(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}function Tz(n){return n.length===1?n[0]:n}const wz=nn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Hy,setup(n,{slots:e}){const t=hi(Hy(n)),{options:i}=Ln(Qh),r=Ce(()=>({[Wy(n.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[Wy(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&Tz(e.default(t));return n.custom?s:Sr("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},s)}}}),Az=wz;function Cz(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function Rz(n,e){for(const t in e){const i=e[t],r=n[t];if(typeof i=="string"){if(i!==r)return!1}else if(!Pi(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function Gy(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const Wy=(n,e,t)=>n??e??t,Pz=nn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const i=Ln(bm),r=Ce(()=>n.route||i.value),s=Ln(Vy,0),o=Ce(()=>{let c=Rt(s);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=Ce(()=>r.value.matched[o.value]);Jr(Vy,Ce(()=>o.value+1)),Jr(Ez,a),Jr(bm,r);const l=Xe();return je(()=>[l.value,a.value,n.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!ua(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,u=n.name,f=a.value,h=f&&f.components[u];if(!h)return Xy(t.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,g=Sr(h,vt({},p,e,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Xy(t.default,{Component:g,route:c})||g}}});function Xy(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const PT=Pz;function Iz(n){const e=_z(n.routes,n),t=n.parseQuery||Sz,i=n.stringifyQuery||zy,r=n.history,s=ka(),o=ka(),a=ka(),l=ze(Br);let c=Br;Vo&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=_p.bind(null,W=>""+W),f=_p.bind(null,Gk),h=_p.bind(null,ql);function d(W,ae){let ue,le;return TT(W)?(ue=e.getRecordMatcher(W),le=ae):le=W,e.addRoute(le,ue)}function p(W){const ae=e.getRecordMatcher(W);ae&&e.removeRoute(ae)}function _(){return e.getRoutes().map(W=>W.record)}function g(W){return!!e.getRecordMatcher(W)}function m(W,ae){if(ae=vt({},ae||l.value),typeof W=="string"){const w=vp(t,W,ae.path),j=e.resolve({path:w.path},ae),G=r.createHref(w.fullPath);return vt(w,j,{params:h(j.params),hash:ql(w.hash),redirectedFrom:void 0,href:G})}let ue;if(W.path!=null)ue=vt({},W,{path:vp(t,W.path,ae.path).path});else{const w=vt({},W.params);for(const j in w)w[j]==null&&delete w[j];ue=vt({},W,{params:f(w)}),ae.params=f(ae.params)}const le=e.resolve(ue,ae),De=W.hash||"";le.params=u(h(le.params));const I=$k(i,vt({},W,{hash:zk(De),path:le.path})),L=r.createHref(I);return vt({fullPath:I,hash:De,query:i===zy?Mz(W.query):W.query||{}},le,{redirectedFrom:void 0,href:L})}function y(W){return typeof W=="string"?vp(t,W,l.value.path):vt({},W)}function x(W,ae){if(c!==W)return fa(8,{from:ae,to:W})}function v(W){return M(W)}function E(W){return v(vt(y(W),{replace:!0}))}function T(W){const ae=W.matched[W.matched.length-1];if(ae&&ae.redirect){const{redirect:ue}=ae;let le=typeof ue=="function"?ue(W):ue;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=y(le):{path:le},le.params={}),vt({query:W.query,hash:W.hash,params:le.path!=null?{}:W.params},le)}}function M(W,ae){const ue=c=m(W),le=l.value,De=W.state,I=W.force,L=W.replace===!0,w=T(ue);if(w)return M(vt(y(w),{state:typeof w=="object"?vt({},De,w.state):De,force:I,replace:L}),ae||ue);const j=ue;j.redirectedFrom=ae;let G;return!I&&qk(i,le,ue)&&(G=fa(16,{to:j,from:le}),re(le,le,!0,!1)),(G?Promise.resolve(G):S(j,le)).catch(q=>ar(q)?ar(q,2)?q:ve(q):Q(q,j,le)).then(q=>{if(q){if(ar(q,2))return M(vt({replace:L},y(q.to),{state:typeof q.to=="object"?vt({},De,q.to.state):De,force:I}),ae||j)}else q=B(j,le,!0,L,De);return D(j,le,q),q})}function P(W,ae){const ue=x(W,ae);return ue?Promise.reject(ue):Promise.resolve()}function b(W){const ae=se.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(W):W()}function S(W,ae){let ue;const[le,De,I]=Lz(W,ae);ue=yp(le.reverse(),"beforeRouteLeave",W,ae);for(const w of le)w.leaveGuards.forEach(j=>{ue.push($r(j,W,ae))});const L=P.bind(null,W,ae);return ue.push(L),be(ue).then(()=>{ue=[];for(const w of s.list())ue.push($r(w,W,ae));return ue.push(L),be(ue)}).then(()=>{ue=yp(De,"beforeRouteUpdate",W,ae);for(const w of De)w.updateGuards.forEach(j=>{ue.push($r(j,W,ae))});return ue.push(L),be(ue)}).then(()=>{ue=[];for(const w of I)if(w.beforeEnter)if(Pi(w.beforeEnter))for(const j of w.beforeEnter)ue.push($r(j,W,ae));else ue.push($r(w.beforeEnter,W,ae));return ue.push(L),be(ue)}).then(()=>(W.matched.forEach(w=>w.enterCallbacks={}),ue=yp(I,"beforeRouteEnter",W,ae,b),ue.push(L),be(ue))).then(()=>{ue=[];for(const w of o.list())ue.push($r(w,W,ae));return ue.push(L),be(ue)}).catch(w=>ar(w,8)?w:Promise.reject(w))}function D(W,ae,ue){a.list().forEach(le=>b(()=>le(W,ae,ue)))}function B(W,ae,ue,le,De){const I=x(W,ae);if(I)return I;const L=ae===Br,w=Vo?history.state:{};ue&&(le||L?r.replace(W.fullPath,vt({scroll:L&&w&&w.scroll},De)):r.push(W.fullPath,De)),l.value=W,re(W,ae,ue,L),ve()}let H;function $(){H||(H=r.listen((W,ae,ue)=>{if(!ge.listening)return;const le=m(W),De=T(le);if(De){M(vt(De,{replace:!0,force:!0}),le).catch(pl);return}c=le;const I=l.value;Vo&&tz(Iy(I.fullPath,ue.delta),Jh()),S(le,I).catch(L=>ar(L,12)?L:ar(L,2)?(M(vt(y(L.to),{force:!0}),le).then(w=>{ar(w,20)&&!ue.delta&&ue.type===Yl.pop&&r.go(-1,!1)}).catch(pl),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),Q(L,le,I))).then(L=>{L=L||B(le,I,!1),L&&(ue.delta&&!ar(L,8)?r.go(-ue.delta,!1):ue.type===Yl.pop&&ar(L,20)&&r.go(-1,!1)),D(le,I,L)}).catch(pl)}))}let ee=ka(),Z=ka(),te;function Q(W,ae,ue){ve(W);const le=Z.list();return le.length?le.forEach(De=>De(W,ae,ue)):console.error(W),Promise.reject(W)}function pe(){return te&&l.value!==Br?Promise.resolve():new Promise((W,ae)=>{ee.add([W,ae])})}function ve(W){return te||(te=!W,$(),ee.list().forEach(([ae,ue])=>W?ue(W):ae()),ee.reset()),W}function re(W,ae,ue,le){const{scrollBehavior:De}=n;if(!Vo||!De)return Promise.resolve();const I=!ue&&nz(Iy(W.fullPath,0))||(le||!ue)&&history.state&&history.state.scroll||null;return cs().then(()=>De(W,ae,I)).then(L=>L&&ez(L)).catch(L=>Q(L,W,ae))}const xe=W=>r.go(W);let Ve;const se=new Set,ge={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:g,getRoutes:_,resolve:m,options:n,push:v,replace:E,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:Z.add,isReady:pe,install(W){const ae=this;W.component("RouterLink",Az),W.component("RouterView",PT),W.config.globalProperties.$router=ae,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Rt(l)}),Vo&&!Ve&&l.value===Br&&(Ve=!0,v(r.location).catch(De=>{}));const ue={};for(const De in Br)Object.defineProperty(ue,De,{get:()=>l.value[De],enumerable:!0});W.provide(Qh,ae),W.provide(RT,Xx(ue)),W.provide(bm,l);const le=W.unmount;se.add(W),W.unmount=function(){se.delete(W),se.size<1&&(c=Br,H&&H(),H=null,l.value=Br,Ve=!1,te=!1),le()}}};function be(W){return W.reduce((ae,ue)=>ae.then(()=>b(ue)),Promise.resolve())}return ge}function Lz(n,e){const t=[],i=[],r=[],s=Math.max(e.matched.length,n.matched.length);for(let o=0;o<s;o++){const a=e.matched[o];a&&(n.matched.find(c=>ua(c,a))?i.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(c=>ua(c,l))||r.push(l))}return[t,i,r]}function Dz(){return Ln(Qh)}const Oz=[{path:"/",name:"/",component:()=>$t(()=>import("./index-ChVxOhEO.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,1,12,13,14,15,16])),meta:{layout:"stage",stageTransition:{name:"bubble-wave-out"}}},{path:"/:all(.*)",name:"/[...all]",component:()=>$t(()=>import("./_...all_-DlGabgJ7.js"),[])},{path:"/audio",name:"/audio",component:()=>$t(()=>import("./audio-BTdk-fxp.js"),[])},{path:"/devtools",children:[{path:"image",name:"/devtools/image",component:()=>$t(()=>import("./image-DLjvhH68.js"),__vite__mapDeps([17,18]))}]},{path:"/queue",name:"/queue",component:()=>$t(()=>import("./queue-CJWuufV5.js"),__vite__mapDeps([19,7]))},{path:"/settings",children:[{path:"",name:"/settings/",component:()=>$t(()=>import("./index-C17lwc3f.js"),__vite__mapDeps([20,5,15])),meta:{stageTransition:{name:"slide"}}},{path:"models",children:[{path:"",name:"/settings/models/",component:()=>$t(()=>import("./index-dazDKpAt.js"),__vite__mapDeps([21,3,4,5,6,7,8,9,10,15])),meta:{stageTransition:{name:"slide"}}}]},{path:"modules",children:[{path:"",name:"/settings/modules/",component:()=>$t(()=>import("./index-DG4emoQH.js"),__vite__mapDeps([22,15])),meta:{stageTransition:{name:"slide"}}},{path:"consciousness",name:"/settings/modules/consciousness",component:()=>$t(()=>import("./consciousness-BhYI_D3D.js"),__vite__mapDeps([23,15])),meta:{stageTransition:{name:"slide"}}}]},{path:"providers",children:[{path:"",name:"/settings/providers/",component:()=>$t(()=>import("./index-CgnYKu6p.js"),__vite__mapDeps([24,5,9,15])),meta:{stageTransition:{name:"slide"}}},{path:"openrouter",name:"/settings/providers/openrouter",component:()=>$t(()=>import("./openrouter-CHjBjf80.js"),__vite__mapDeps([25,10,3,4,5,9]))}]},{path:"themes",children:[{path:"",name:"/settings/themes/",component:()=>$t(()=>import("./index-Df2VtvrD.js"),__vite__mapDeps([26,10,3,4,5,15,27])),meta:{stageTransition:{name:"slide"}}}]}]},{path:"/test",children:[{path:"filter-message",name:"/test/filter-message",component:()=>$t(()=>import("./filter-message-Cn8xrGJZ.js"),[])},{path:"queues",children:[{path:"delays",name:"/test/queues/delays",component:()=>$t(()=>import("./delays-BCcn-fQ0.js"),__vite__mapDeps([28,12,3,4,5,8,7,13]))},{path:"emotions",name:"/test/queues/emotions",component:()=>$t(()=>import("./emotions-mA2T3kwV.js"),__vite__mapDeps([29,12,3,4,5,7,8]))},{path:"messages",name:"/test/queues/messages",component:()=>$t(()=>import("./messages-CyzI8CUy.js"),__vite__mapDeps([30,12,3,4,5,7,8]))}]}]},{path:"/v2",name:"/v2",component:()=>$t(()=>import("./v2-COKE8VpK.js"),__vite__mapDeps([31,3,4,5,6,7,8,9,10,11,1,12,13,14,15])),meta:{layout:"default"}}];var Sm=(n=>(n.Myriam="Myriam",n.Beatrice="Beatrice",n.Camilla_KM="Camilla_KM",n.SallySunshine="Sally Sunshine",n.Annie="Annie",n.KawaiiAerisita="Kawaii Aerisita",n.Morioki="Morioki",n))(Sm||{});const X4={Myriam:"lNxY9WuCBCZCISASyJ55",Beatrice:"KAsXoQDshjF6ehsWa1mF",Camilla_KM:"dLhSyo03JRp5WkGpUlz1","Sally Sunshine":"qswttdunP3b44zVZKMRB",Annie:"AfA1PA0ldViH0DA6pbml","Kawaii Aerisita":"vGQNBgLaiM3EdZtxIiuY",Morioki:"8EkOjt4xTPGMclNlh1pk"},Nz=Ak("settings",()=>{const n=Xe(),e=Jn("settings/language","en-US"),t=Jn("settings/stage/view/model-renderer","2d"),i=Jn("settings/credentials/openai-api-key",""),r=Jn("settings/credentials/openai-api-base-url",""),s=Jn("settings/credentials/elevenlabs-api-key",""),o=Jn("settings/llm/openai/model",{id:"openai/gpt-3.5-turbo",name:"OpenAI GPT3.5 Turbo"}),a=Jn("settings/audio/input","true"),l=Ce(()=>{var T;return(T=n.value)==null?void 0:T.deviceId}),{audioInputs:c}=k2({constraints:{audio:!0},requestPermissions:!0}),u=Jn("settings/llm/elevenlabs/voice/en",Sm.Myriam),f=Jn("settings/llm/elevenlabs/voice/ja",Sm.Morioki),h=Xe(),d=Xe("./assets/live2d/models/hiyori_pro_zh.zip"),p=Xe("url"),_=Xe(!1),g=Jn("settings/live2d/position",{x:0,y:0}),m=Xe({group:"Idle",index:0}),y=Xe([]),x=Jn("settings/live2d/motion-map",{}),v=Jn("settings/disable-transitions",!1),E=Jn("settings/theme/colors/hue",354.31);return je(a,T=>{T==="false"&&(n.value=void 0),T==="true"&&(n.value=c.value[0])}),vn(()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),je(c,()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),{openAiApiKey:i,openAiApiBaseURL:r,openAiModel:o,elevenLabsApiKey:s,live2dModelFile:h,live2dModelUrl:d,live2dLoadSource:p,live2dCurrentMotion:m,live2dPosition:g,availableLive2dMotions:y,live2dMotionMap:x,loadingLive2dModel:_,disableTransitions:v,language:e,stageView:t,themeColorsHue:E,isAudioInputOn:a,selectedAudioDevice:n,selectedAudioDeviceId:l,elevenlabsVoiceEnglish:u,elevenlabsVoiceJapanese:f}}),Uz=nn({__name:"ArrowTransition",props:{stageTransition:{default:()=>({primaryColor:"#666",secondaryColor:"#ccc"})}},setup(n){const e=n,t=Ce(()=>e.stageTransition),i=Ce(()=>t.value.primaryColor||"#666"),r=Ce(()=>t.value.secondaryColor||"#ccc");return vn(()=>{document.documentElement.style.setProperty("--stage-transition-3-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-3-overlay-color-2",r.value)}),(s,o)=>(ln(),ui("div",{class:"stage-transition-3",style:gi({zIndex:t.value.zIndex||100})},null,4))}}),vo=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},Fz=vo(Uz,[["__scopeId","data-v-6dbef2c1"]]),Bz=nn({__name:"BubbleWaveOutTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>{var i;return((i=e.stageTransition)==null?void 0:i.colors)||["#eee","#ebcb8b","#c56370","#3f3b52"]});return vn(()=>{var i,r;document.documentElement.style.setProperty("--circle-expansion-delay",`${((i=e.stageTransition)==null?void 0:i.delay)||0}s`),document.documentElement.style.setProperty("--circle-expansion-duration",`${((r=e.stageTransition)==null?void 0:r.duration)||.4}s`),t.value.forEach((s,o)=>{document.documentElement.style.setProperty(`--circle-expansion-color-${o+1}`,s)})}),(i,r)=>{var s;return ln(),ui("div",{class:"circle-expansion-transition",style:gi({zIndex:((s=n.stageTransition)==null?void 0:s.zIndex)||100})},[(ln(!0),ui(Gt,null,lA(t.value,(o,a)=>(ln(),ui("div",{key:a}))),128))],4)}}}),kz=vo(Bz,[["__scopeId","data-v-58c4c777"]]),zz=nn({__name:"FantasyFallTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>{var r;return((r=e.stageTransition)==null?void 0:r.direction)||"up"}),i=Ce(()=>`fantasy-fall-${t.value}`);return vn(()=>{var r,s,o,a,l,c,u,f,h;document.documentElement.style.setProperty("--fantasy-fall-color",((r=e.stageTransition)==null?void 0:r.primaryColor)||"#eee"),document.documentElement.style.setProperty("--fantasy-fall-duration",`${((s=e.stageTransition)==null?void 0:s.duration)||.6}s`),document.documentElement.style.setProperty("--fantasy-fall-delay",`${((o=e.stageTransition)==null?void 0:o.delay)||0}s`),document.documentElement.style.setProperty("--fantasy-fall-radius-sm",`${((l=(a=e.stageTransition)==null?void 0:a.borderRadius)==null?void 0:l.sm)||"14rem"}`),document.documentElement.style.setProperty("--fantasy-fall-radius-md",`${((u=(c=e.stageTransition)==null?void 0:c.borderRadius)==null?void 0:u.md)||"14rem"}`),document.documentElement.style.setProperty("--fantasy-fall-radius-lg",`${((h=(f=e.stageTransition)==null?void 0:f.borderRadius)==null?void 0:h.lg)||"50%"}`)}),(r,s)=>{var o;return ln(),ui("div",{class:ma(["fantasy-fall-transition",i.value]),style:gi({zIndex:((o=n.stageTransition)==null?void 0:o.zIndex)??100})},null,6)}}}),Vz=vo(zz,[["__scopeId","data-v-9e7fdd2b"]]),Hz=nn({__name:"MultipleBlocksRevealTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>e.stageTransition),i=Ce(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)||"#666"}),r=Ce(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)||"#ccc"});return vn(()=>{document.documentElement.style.setProperty("--stage-transition-4-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-4-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-4",style:gi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},o[0]||(o[0]=[VA('<div class="stage-transition-4__block" data-v-b359e365></div><div class="stage-transition-4__block" data-v-b359e365></div><div class="stage-transition-4__block" data-v-b359e365></div><div class="stage-transition-4__block" data-v-b359e365></div><div class="stage-transition-4__block" data-v-b359e365></div>',5)]),4)}}}),Gz=vo(Hz,[["__scopeId","data-v-b359e365"]]),Wz=nn({__name:"SlideTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>e.stageTransition),i=Ce(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)||"#666"}),r=Ce(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)||"#ccc"});return je([t,i,r],()=>{document.documentElement.style.setProperty("--stage-transition-1-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-1-overlay-color-2",r.value)}),vn(()=>{document.documentElement.style.setProperty("--stage-transition-1-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-1-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-1",style:gi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},null,4)}}}),Xz=vo(Wz,[["__scopeId","data-v-9f6e49ad"]]),$z=nn({__name:"SlopeSlideTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>e.stageTransition),i=Ce(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)??"#666"}),r=Ce(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)??"#ccc"});return vn(()=>{document.documentElement.style.setProperty("--stage-transition-2-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-2-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-2",style:gi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},null,4)}}}),qz=vo($z,[["__scopeId","data-v-63e4fb63"]]),Yz=nn({__name:"RectanglesRotateTransition",props:{stageTransition:null},setup(n){const e=n;return vn(()=>{var t,i,r,s,o,a,l;document.documentElement.style.setProperty("--rectangle-rotate-1-color",((t=e.stageTransition)==null?void 0:t.primaryColor)||"#ebcb8b"),document.documentElement.style.setProperty("--rectangle-rotate-2-color",((i=e.stageTransition)==null?void 0:i.secondaryColor)||"#c56370"),document.documentElement.style.setProperty("--rectangle-rotate-3-color",((r=e.stageTransition)==null?void 0:r.tertiaryColor)||"#43445b"),document.documentElement.style.setProperty("--rectangle-rotate-duration",`${((s=e.stageTransition)==null?void 0:s.duration)||.6}s`),document.documentElement.style.setProperty("--rectangle-rotate-delay",`${((o=e.stageTransition)==null?void 0:o.delay)||0}s`),document.documentElement.style.setProperty("--rectangle-rotate-stagger",`${((a=e.stageTransition)==null?void 0:a.staggerDelay)||.1}s`),document.documentElement.style.setProperty("--rectangle-rotate-rotation",`${((l=e.stageTransition)==null?void 0:l.rotation)||270}deg`)}),(t,i)=>{var r;return ln(),ui("div",{class:"rectangle-rotate-transition",style:gi({zIndex:((r=n.stageTransition)==null?void 0:r.zIndex)??100})},i[0]||(i[0]=[Gr("div",{class:"rectangle rectangle-rotate-1"},[Gr("div")],-1),Gr("div",{class:"rectangle rectangle-rotate-2"},[Gr("div")],-1),Gr("div",{class:"rectangle rectangle-rotate-3"},[Gr("div")],-1)]),4)}}}),jz=vo(Yz,[["__scopeId","data-v-a62a24a5"]]),Kz=nn({__name:"StageTransitionGroup",props:{primaryColor:null,secondaryColor:null,tertiaryColor:null,colors:null,zIndex:null,disableTransitions:{type:Boolean}},setup(n){const e=n,t=Dz(),i=Xe(!1),r=Xe(),s=Xe(""),o=Xe(),a=ze({slide:{component:Xz,duration:2700},"slope-slide":{component:qz,duration:2700},arrow:{component:Fz,duration:2700},"multiple-blocks-reveal":{component:Gz,duration:2800},"fantasy-fall":{component:Vz,duration:2700},"rectangles-rotate":{component:jz,duration:2700},"bubble-wave-out":{component:kz,duration:1e3}}),l=Xe([]);function c(d){return l.value.push(d),()=>{const p=l.value.indexOf(d);p>=0&&l.value.splice(p,1)}}async function u(d,p={}){r.value=d;for(const _ of l.value)try{await Promise.resolve(_(d,p))}catch(g){console.error(`Error in transition hook at stage "${d}":`,g)}}async function f(d,p,_){if(d.name==="none"||!d.name){p(),_();return}const g=a.value[d.name];if(!g){console.error(`Transition ${d.name} not found`),p(),_();return}const m=g.nextDelay!==void 0?g.nextDelay:g.duration/3;let y=!1;const v=c(E=>{E==="navigation"&&!y&&(y=!0,p())});try{await u("before-enter",{transitionName:d.name}),i.value&&(await u("before-leave",{transitionName:s.value}),s.value="",o.value=void 0,i.value=!1,await u("after-leave",{transitionName:s.value}),await new Promise(T=>setTimeout(T,50))),s.value=d.name,o.value=d,i.value=!0,await u("enter-active",{transitionName:name}),setTimeout(async()=>{await u("navigation",{transitionName:d.name,config:g}),y||(y=!0,p())},m),setTimeout(async()=>{await u("after-enter",{transitionName:d.name})},g.duration),setTimeout(async()=>{await u("before-leave",{transitionName:d.name})},g.duration+10),setTimeout(async()=>{await u("leave-active",{transitionName:d.name})},g.duration+20);const E=g.exitDuration??0;setTimeout(async()=>{i.value=!1,s.value="",o.value=void 0,await u("after-leave",{transitionName:d.name}),_()},g.duration+E)}catch(E){console.error(E)}finally{v(),setTimeout(()=>{y||(y=!0,p())},g.duration*2)}}function h(d,p){return new Promise(_=>{f(d,p,_)})}return t.beforeEach((d,p,_)=>{if(typeof d.meta.stageTransition!="object"){_();return}const g=d.meta.stageTransition;if(typeof e.primaryColor<"u"&&(g.primaryColor=e.primaryColor),typeof e.secondaryColor<"u"&&(g.secondaryColor=e.secondaryColor),typeof e.tertiaryColor<"u"&&(g.tertiaryColor=e.tertiaryColor),typeof e.colors<"u"&&(g.colors=e.colors),typeof e.zIndex<"u"&&(g.zIndex=e.zIndex),e.disableTransitions){_();return}h(g,_)}),(d,p)=>(ln(),ui(Gt,null,[cA(d.$slots,"default"),i.value?(ln(),ui(Gt,{key:0},[a.value[s.value]?(ln(),bl(aA(a.value[s.value].component),{key:0,"stage-transition":o.value},null,8,["stage-transition"])):$_("",!0)],64)):$_("",!0)],64))}});/*!
|
3854 |
* shared v11.1.2
|
3855 |
* (c) 2025 kazuya kawaguchi
|
3856 |
* Released under the MIT License.
|
|
|
1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/default-SdXLtMC8.js","assets/HeaderLink.vue_vue_type_script_setup_true_lang-CLnK6u8Z.js","assets/index-BJ9_xFjt.js","assets/Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js","assets/Stage-BSOKcxWs.css","assets/emotions-D2WM87AE.js","assets/Live2DSettings.vue_vue_type_script_setup_true_lang-t4g_l6Gt.js","assets/queue-BFg4kHdE.js","assets/queues-saKAfg6v.js","assets/providers-fQQmUut1.js","assets/Collapsable.vue_vue_type_script_setup_true_lang-BnCNVdNS.js","assets/MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BFDpjjYz.js","assets/BasicTextarea.vue_vue_type_script_setup_true_lang-821Cs-5F.js","assets/index-BNsCTfqm.js","assets/MobileInteractiveArea-8XIZ8mBh.css","assets/route-block-B_A1xBdJ.js","assets/index-clY2GSrQ.css","assets/image-C3pkFLqE.js","assets/image-BhuwcwI9.css","assets/queue-ClUQuYp6.js","assets/index-CvwOk8Sq.js","assets/index-DbTJ43Gw.js","assets/index-CeA6Ly4H.js","assets/consciousness-DgIHteEF.js","assets/index-DcOe66_K.js","assets/openrouter-CG5dy_yz.js","assets/index-BDFhxUqD.js","assets/index-B2WAcy2u.css","assets/delays-BGmnC7-7.js","assets/emotions-DGMRl_iG.js","assets/messages-1q3aMUjn.js","assets/v2-FQbANjPv.js"])))=>i.map(i=>d[i]);
|
2 |
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();const ew="modulepreload",tw=function(n){return"/"+n},A_={},$t=function(e,t,i){let r=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(t.map(l=>{if(l=tw(l),l in A_)return;A_[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":ew,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((h,d)=>{f.addEventListener("load",h),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return r.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};/**
|
3 |
* @vue/shared v3.5.13
|
4 |
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
3846 |
* pinia v3.0.1
|
3847 |
* (c) 2025 Eduardo San Martin Morote
|
3848 |
* @license MIT
|
3849 |
+
*/let dT;const Zh=n=>dT=n,pT=Symbol();function _m(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var dl;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(dl||(dl={}));function bk(){const n=Ql(!0),e=n.run(()=>Xe({}));let t=[],i=[];const r=Xm({install(s){Zh(r),r._a=s,s.provide(pT,r),s.config.globalProperties.$pinia=r,i.forEach(o=>t.push(o)),i=[]},use(s){return this._a?t.push(s):i.push(s),this},_p:t,_a:null,_e:n,_s:new Map,state:e});return r}const mT=()=>{};function Ay(n,e,t,i=mT){n.push(e);const r=()=>{const s=n.indexOf(e);s>-1&&(n.splice(s,1),i())};return!t&&th()&&Bm(r),r}function ko(n,...e){n.slice().forEach(t=>{t(...e)})}const Sk=n=>n(),Cy=Symbol(),gp=Symbol();function vm(n,e){n instanceof Map&&e instanceof Map?e.forEach((t,i)=>n.set(i,t)):n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t],r=n[t];_m(r)&&_m(i)&&n.hasOwnProperty(t)&&!Mt(i)&&!yr(i)?n[t]=vm(r,i):n[t]=i}return n}const Mk=Symbol();function Ek(n){return!_m(n)||!n.hasOwnProperty(Mk)}const{assign:zr}=Object;function Tk(n){return!!(Mt(n)&&n.effect)}function wk(n,e,t,i){const{state:r,actions:s,getters:o}=e,a=t.state.value[n];let l;function c(){a||(t.state.value[n]=r?r():{});const u=Yx(t.state.value[n]);return zr(u,s,Object.keys(o||{}).reduce((f,h)=>(f[h]=Xm(Ce(()=>{Zh(t);const d=t._s.get(n);return o[h].call(d,d)})),f),{}))}return l=gT(n,c,e,t,i,!0),l}function gT(n,e,t={},i,r,s){let o;const a=zr({actions:{}},t),l={deep:!0};let c,u,f=[],h=[],d;const p=i.state.value[n];!s&&!p&&(i.state.value[n]={}),Xe({});let _;function g(P){let b;c=u=!1,typeof P=="function"?(P(i.state.value[n]),b={type:dl.patchFunction,storeId:n,events:d}):(vm(i.state.value[n],P),b={type:dl.patchObject,payload:P,storeId:n,events:d});const S=_=Symbol();cs().then(()=>{_===S&&(c=!0)}),u=!0,ko(f,b,i.state.value[n])}const m=s?function(){const{state:b}=t,S=b?b():{};this.$patch(D=>{zr(D,S)})}:mT;function y(){o.stop(),f=[],h=[],i._s.delete(n)}const x=(P,b="")=>{if(Cy in P)return P[gp]=b,P;const S=function(){Zh(i);const D=Array.from(arguments),B=[],H=[];function $(te){B.push(te)}function ee(te){H.push(te)}ko(h,{args:D,name:S[gp],store:E,after:$,onError:ee});let Z;try{Z=P.apply(this&&this.$id===n?this:E,D)}catch(te){throw ko(H,te),te}return Z instanceof Promise?Z.then(te=>(ko(B,te),te)).catch(te=>(ko(H,te),Promise.reject(te))):(ko(B,Z),Z)};return S[Cy]=!0,S[gp]=b,S},v={_p:i,$id:n,$onAction:Ay.bind(null,h),$patch:g,$reset:m,$subscribe(P,b={}){const S=Ay(f,P,b.detached,()=>D()),D=o.run(()=>je(()=>i.state.value[n],B=>{(b.flush==="sync"?u:c)&&P({storeId:n,type:dl.direct,events:d},B)},zr({},l,b)));return S},$dispose:y},E=hi(v);i._s.set(n,E);const M=(i._a&&i._a.runWithContext||Sk)(()=>i._e.run(()=>(o=Ql()).run(()=>e({action:x}))));for(const P in M){const b=M[P];if(Mt(b)&&!Tk(b)||yr(b))s||(p&&Ek(b)&&(Mt(b)?b.value=p[P]:vm(b,p[P])),i.state.value[n][P]=b);else if(typeof b=="function"){const S=x(b,P);M[P]=S,a.actions[P]=b}}return zr(E,M),zr(st(E),M),Object.defineProperty(E,"$state",{get:()=>i.state.value[n],set:P=>{g(b=>{zr(b,P)})}}),i._p.forEach(P=>{zr(E,o.run(()=>P({store:E,app:i._a,pinia:i,options:a})))}),p&&s&&t.hydrate&&t.hydrate(E.$state,p),c=!0,u=!0,E}/*! #__NO_SIDE_EFFECTS__ */function Ak(n,e,t){let i;const r=typeof e=="function";i=r?t:e;function s(o,a){const l=Jm();return o=o||(l?Ln(pT,null):null),o&&Zh(o),o=dT,o._s.has(n)||(r?gT(n,e,i,o):wk(n,i,o)),o._s.get(n)}return s.$id=n,s}function Ck(n){const e=st(n),t={};for(const i in e){const r=e[i];r.effect?t[i]=Ce({get:()=>n[i],set(s){n[i]=s}}):(Mt(r)||yr(r))&&(t[i]=jx(n,i))}return t}const Rk=n=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>$t(()=>import("./default-SdXLtMC8.js"),__vite__mapDeps([0,1])),"/src/layouts/stage.vue":()=>$t(()=>import("./stage-BdEawijE.js"),[])})).forEach(([r,s])=>{let o=r.replace("/src/layouts/","").replace(".vue","");e[o]=s});function i(r,s=!0){return r.map(o=>{var a,l,c,u,f,h;if(((a=o.children)==null?void 0:a.length)>0&&(o.children=i(o.children,!1)),s){if(!o.component&&((l=o.children)==null?void 0:l.find(p=>{var _;return(p.path===""||p.path==="/")&&((_=p.meta)==null?void 0:_.isLayout)})))return o;if(((c=o.meta)==null?void 0:c.layout)!==!1)return{path:o.path,component:e[((u=o.meta)==null?void 0:u.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(f=o.meta)!=null&&f.layout?{path:o.path,component:e[(h=o.meta)==null?void 0:h.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return i(n)};/*!
|
3850 |
* vue-router v4.5.0
|
3851 |
* (c) 2024 Eduardo San Martin Morote
|
3852 |
* @license MIT
|
3853 |
+
*/const Vo=typeof document<"u";function _T(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function Pk(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&_T(n.default)}const vt=Object.assign;function _p(n,e){const t={};for(const i in e){const r=e[i];t[i]=Pi(r)?r.map(n):n(r)}return t}const pl=()=>{},Pi=Array.isArray,vT=/#/g,Ik=/&/g,Lk=/\//g,Dk=/=/g,Ok=/\?/g,yT=/\+/g,Nk=/%5B/g,Uk=/%5D/g,xT=/%5E/g,Fk=/%60/g,bT=/%7B/g,Bk=/%7C/g,ST=/%7D/g,kk=/%20/g;function f_(n){return encodeURI(""+n).replace(Bk,"|").replace(Nk,"[").replace(Uk,"]")}function zk(n){return f_(n).replace(bT,"{").replace(ST,"}").replace(xT,"^")}function ym(n){return f_(n).replace(yT,"%2B").replace(kk,"+").replace(vT,"%23").replace(Ik,"%26").replace(Fk,"`").replace(bT,"{").replace(ST,"}").replace(xT,"^")}function Vk(n){return ym(n).replace(Dk,"%3D")}function Hk(n){return f_(n).replace(vT,"%23").replace(Ok,"%3F")}function Gk(n){return n==null?"":Hk(n).replace(Lk,"%2F")}function ql(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const Wk=/\/$/,Xk=n=>n.replace(Wk,"");function vp(n,e,t="/"){let i,r={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),r=n(s)),a>-1&&(i=i||e.slice(0,a),o=e.slice(a,e.length)),i=jk(i??e,t),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:ql(o)}}function $k(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Ry(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function qk(n,e,t){const i=e.matched.length-1,r=t.matched.length-1;return i>-1&&i===r&&ua(e.matched[i],t.matched[r])&&MT(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function ua(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function MT(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!Yk(n[t],e[t]))return!1;return!0}function Yk(n,e){return Pi(n)?Py(n,e):Pi(e)?Py(e,n):n===e}function Py(n,e){return Pi(e)?n.length===e.length&&n.every((t,i)=>t===e[i]):n.length===1&&n[0]===e}function jk(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),i=n.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let s=t.length-1,o,a;for(o=0;o<i.length;o++)if(a=i[o],a!==".")if(a==="..")s>1&&s--;else break;return t.slice(0,s).join("/")+"/"+i.slice(o).join("/")}const Br={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Yl;(function(n){n.pop="pop",n.push="push"})(Yl||(Yl={}));var ml;(function(n){n.back="back",n.forward="forward",n.unknown=""})(ml||(ml={}));function Kk(n){if(!n)if(Vo){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),Xk(n)}const Zk=/^[^#]+#/;function Jk(n,e){return n.replace(Zk,"#")+e}function Qk(n,e){const t=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:e.behavior,left:i.left-t.left-(e.left||0),top:i.top-t.top-(e.top||0)}}const Jh=()=>({left:window.scrollX,top:window.scrollY});function ez(n){let e;if("el"in n){const t=n.el,i=typeof t=="string"&&t.startsWith("#"),r=typeof t=="string"?i?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!r)return;e=Qk(r,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Iy(n,e){return(history.state?history.state.position-e:-1)+n}const xm=new Map;function tz(n,e){xm.set(n,e)}function nz(n){const e=xm.get(n);return xm.delete(n),e}let iz=()=>location.protocol+"//"+location.host;function ET(n,e){const{pathname:t,search:i,hash:r}=e,s=n.indexOf("#");if(s>-1){let a=r.includes(n.slice(s))?n.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),Ry(l,"")}return Ry(t,n)+i+r}function rz(n,e,t,i){let r=[],s=[],o=null;const a=({state:h})=>{const d=ET(n,location),p=t.value,_=e.value;let g=0;if(h){if(t.value=d,e.value=h,o&&o===p){o=null;return}g=_?h.position-_.position:0}else i(d);r.forEach(m=>{m(t.value,p,{delta:g,type:Yl.pop,direction:g?g>0?ml.forward:ml.back:ml.unknown})})};function l(){o=t.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return s.push(d),d}function u(){const{history:h}=window;h.state&&h.replaceState(vt({},h.state,{scroll:Jh()}),"")}function f(){for(const h of s)h();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Ly(n,e,t,i=!1,r=!1){return{back:n,current:e,forward:t,replaced:i,position:window.history.length,scroll:r?Jh():null}}function sz(n){const{history:e,location:t}=window,i={value:ET(n,t)},r={value:e.state};r.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=n.indexOf("#"),h=f>-1?(t.host&&document.querySelector("base")?n:n.slice(f))+l:iz()+n+l;try{e[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),t[u?"replace":"assign"](h)}}function o(l,c){const u=vt({},e.state,Ly(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),i.value=l}function a(l,c){const u=vt({},r.value,e.state,{forward:l,scroll:Jh()});s(u.current,u,!0);const f=vt({},Ly(i.value,l,null),{position:u.position+1},c);s(l,f,!1),i.value=l}return{location:i,state:r,push:a,replace:o}}function oz(n){n=Kk(n);const e=sz(n),t=rz(n,e.state,e.location,e.replace);function i(s,o=!0){o||t.pauseListeners(),history.go(s)}const r=vt({location:"",base:n,go:i,createHref:Jk.bind(null,n)},e,t);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function az(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),oz(n)}function lz(n){return typeof n=="string"||n&&typeof n=="object"}function TT(n){return typeof n=="string"||typeof n=="symbol"}const wT=Symbol("");var Dy;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(Dy||(Dy={}));function fa(n,e){return vt(new Error,{type:n,[wT]:!0},e)}function ar(n,e){return n instanceof Error&&wT in n&&(e==null||!!(n.type&e))}const Oy="[^/]+?",cz={sensitive:!1,strict:!1,start:!0,end:!0},uz=/[.+*?^${}()[\]/\\]/g;function fz(n,e){const t=vt({},cz,e),i=[];let r=t.start?"^":"";const s=[];for(const c of n){const u=c.length?[]:[90];t.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=40+(t.sensitive?.25:0);if(h.type===0)f||(r+="/"),r+=h.value.replace(uz,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:_,optional:g,regexp:m}=h;s.push({name:p,repeatable:_,optional:g});const y=m||Oy;if(y!==Oy){d+=10;try{new RegExp(`(${y})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+v.message)}}let x=_?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(x=g&&c.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),r+=x,d+=20,g&&(d+=-8),_&&(d+=-20),y===".*"&&(d+=-50)}u.push(d)}i.push(u)}if(t.strict&&t.end){const c=i.length-1;i[c][i[c].length-1]+=.7000000000000001}t.strict||(r+="/?"),t.end?r+="$":t.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,t.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=s[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of n){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===0)u+=d.value;else if(d.type===1){const{value:p,repeatable:_,optional:g}=d,m=p in c?c[p]:"";if(Pi(m)&&!_)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=Pi(m)?m.join("/"):m;if(!y)if(g)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=y}}return u||"/"}return{re:o,score:i,keys:s,parse:a,stringify:l}}function hz(n,e){let t=0;for(;t<n.length&&t<e.length;){const i=e[t]-n[t];if(i)return i;t++}return n.length<e.length?n.length===1&&n[0]===80?-1:1:n.length>e.length?e.length===1&&e[0]===80?1:-1:0}function AT(n,e){let t=0;const i=n.score,r=e.score;for(;t<i.length&&t<r.length;){const s=hz(i[t],r[t]);if(s)return s;t++}if(Math.abs(r.length-i.length)===1){if(Ny(i))return 1;if(Ny(r))return-1}return r.length-i.length}function Ny(n){const e=n[n.length-1];return n.length>0&&e[e.length-1]<0}const dz={type:0,value:""},pz=/[a-zA-Z0-9_]/;function mz(n){if(!n)return[[]];if(n==="/")return[[dz]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(d){throw new Error(`ERR (${t})/"${c}": ${d}`)}let t=0,i=t;const r=[];let s;function o(){s&&r.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(t===0?s.push({type:0,value:c}):t===1||t===2||t===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<n.length;){if(l=n[a++],l==="\\"&&t!==2){i=t,t=4;continue}switch(t){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),t=1):h();break;case 4:h(),t=i;break;case 1:l==="("?t=2:pz.test(l)?h():(f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:t=3:u+=l;break;case 3:f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return t===2&&e(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}function gz(n,e,t){const i=fz(mz(n.path),t),r=vt(i,{record:n,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function _z(n,e){const t=[],i=new Map;e=ky({strict:!1,end:!0,sensitive:!1},e);function r(f){return i.get(f)}function s(f,h,d){const p=!d,_=Fy(f);_.aliasOf=d&&d.record;const g=ky(e,f),m=[_];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of v)m.push(Fy(vt({},_,{components:d?d.record.components:_.components,path:E,aliasOf:d?d.record:_})))}let y,x;for(const v of m){const{path:E}=v;if(h&&E[0]!=="/"){const T=h.record.path,M=T[T.length-1]==="/"?"":"/";v.path=h.record.path+(E&&M+E)}if(y=gz(v,h,g),d?d.alias.push(y):(x=x||y,x!==y&&x.alias.push(y),p&&f.name&&!By(y)&&o(f.name)),CT(y)&&l(y),_.children){const T=_.children;for(let M=0;M<T.length;M++)s(T[M],y,d&&d.children[M])}d=d||y}return x?()=>{o(x)}:pl}function o(f){if(TT(f)){const h=i.get(f);h&&(i.delete(f),t.splice(t.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=t.indexOf(f);h>-1&&(t.splice(h,1),f.record.name&&i.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return t}function l(f){const h=xz(f,t);t.splice(h,0,f),f.record.name&&!By(f)&&i.set(f.record.name,f)}function c(f,h){let d,p={},_,g;if("name"in f&&f.name){if(d=i.get(f.name),!d)throw fa(1,{location:f});g=d.record.name,p=vt(Uy(h.params,d.keys.filter(x=>!x.optional).concat(d.parent?d.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&Uy(f.params,d.keys.map(x=>x.name))),_=d.stringify(p)}else if(f.path!=null)_=f.path,d=t.find(x=>x.re.test(_)),d&&(p=d.parse(_),g=d.record.name);else{if(d=h.name?i.get(h.name):t.find(x=>x.re.test(h.path)),!d)throw fa(1,{location:f,currentLocation:h});g=d.record.name,p=vt({},h.params,f.params),_=d.stringify(p)}const m=[];let y=d;for(;y;)m.unshift(y.record),y=y.parent;return{name:g,path:_,params:p,matched:m,meta:yz(m)}}n.forEach(f=>s(f));function u(){t.length=0,i.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function Uy(n,e){const t={};for(const i of e)i in n&&(t[i]=n[i]);return t}function Fy(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:vz(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function vz(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const i in n.components)e[i]=typeof t=="object"?t[i]:t;return e}function By(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function yz(n){return n.reduce((e,t)=>vt(e,t.meta),{})}function ky(n,e){const t={};for(const i in n)t[i]=i in e?e[i]:n[i];return t}function xz(n,e){let t=0,i=e.length;for(;t!==i;){const s=t+i>>1;AT(n,e[s])<0?i=s:t=s+1}const r=bz(n);return r&&(i=e.lastIndexOf(r,i-1)),i}function bz(n){let e=n;for(;e=e.parent;)if(CT(e)&&AT(n,e)===0)return e}function CT({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function Sz(n){const e={};if(n===""||n==="?")return e;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let r=0;r<i.length;++r){const s=i[r].replace(yT," "),o=s.indexOf("="),a=ql(o<0?s:s.slice(0,o)),l=o<0?null:ql(s.slice(o+1));if(a in e){let c=e[a];Pi(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function zy(n){let e="";for(let t in n){const i=n[t];if(t=Vk(t),i==null){i!==void 0&&(e+=(e.length?"&":"")+t);continue}(Pi(i)?i.map(s=>s&&ym(s)):[i&&ym(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function Mz(n){const e={};for(const t in n){const i=n[t];i!==void 0&&(e[t]=Pi(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}const Ez=Symbol(""),Vy=Symbol(""),Qh=Symbol(""),RT=Symbol(""),bm=Symbol("");function ka(){let n=[];function e(i){return n.push(i),()=>{const r=n.indexOf(i);r>-1&&n.splice(r,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function $r(n,e,t,i,r,s=o=>o()){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(fa(4,{from:t,to:e})):h instanceof Error?l(h):lz(h)?l(fa(2,{from:e,to:h})):(o&&i.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),a())},u=s(()=>n.call(i&&i.instances[r],e,t,c));let f=Promise.resolve(u);n.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function yp(n,e,t,i,r=s=>s()){const s=[];for(const o of n)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(_T(l)){const u=(l.__vccOpts||l)[e];u&&s.push($r(u,t,i,o,a,r))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=Pk(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[e];return d&&$r(d,t,i,o,a,r)()}))}}return s}function Hy(n){const e=Ln(Qh),t=Ln(RT),i=Ce(()=>{const l=Rt(n.to);return e.resolve(l)}),r=Ce(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],f=t.matched;if(!u||!f.length)return-1;const h=f.findIndex(ua.bind(null,u));if(h>-1)return h;const d=Gy(l[c-2]);return c>1&&Gy(u)===d&&f[f.length-1].path!==d?f.findIndex(ua.bind(null,l[c-2])):h}),s=Ce(()=>r.value>-1&&Rz(t.params,i.value.params)),o=Ce(()=>r.value>-1&&r.value===t.matched.length-1&&MT(t.params,i.value.params));function a(l={}){if(Cz(l)){const c=e[Rt(n.replace)?"replace":"push"](Rt(n.to)).catch(pl);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:Ce(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}function Tz(n){return n.length===1?n[0]:n}const wz=nn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Hy,setup(n,{slots:e}){const t=hi(Hy(n)),{options:i}=Ln(Qh),r=Ce(()=>({[Wy(n.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[Wy(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&Tz(e.default(t));return n.custom?s:Sr("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},s)}}}),Az=wz;function Cz(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function Rz(n,e){for(const t in e){const i=e[t],r=n[t];if(typeof i=="string"){if(i!==r)return!1}else if(!Pi(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function Gy(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const Wy=(n,e,t)=>n??e??t,Pz=nn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const i=Ln(bm),r=Ce(()=>n.route||i.value),s=Ln(Vy,0),o=Ce(()=>{let c=Rt(s);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=Ce(()=>r.value.matched[o.value]);Jr(Vy,Ce(()=>o.value+1)),Jr(Ez,a),Jr(bm,r);const l=Xe();return je(()=>[l.value,a.value,n.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!ua(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,u=n.name,f=a.value,h=f&&f.components[u];if(!h)return Xy(t.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,g=Sr(h,vt({},p,e,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Xy(t.default,{Component:g,route:c})||g}}});function Xy(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const PT=Pz;function Iz(n){const e=_z(n.routes,n),t=n.parseQuery||Sz,i=n.stringifyQuery||zy,r=n.history,s=ka(),o=ka(),a=ka(),l=ze(Br);let c=Br;Vo&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=_p.bind(null,W=>""+W),f=_p.bind(null,Gk),h=_p.bind(null,ql);function d(W,ae){let ue,le;return TT(W)?(ue=e.getRecordMatcher(W),le=ae):le=W,e.addRoute(le,ue)}function p(W){const ae=e.getRecordMatcher(W);ae&&e.removeRoute(ae)}function _(){return e.getRoutes().map(W=>W.record)}function g(W){return!!e.getRecordMatcher(W)}function m(W,ae){if(ae=vt({},ae||l.value),typeof W=="string"){const w=vp(t,W,ae.path),j=e.resolve({path:w.path},ae),G=r.createHref(w.fullPath);return vt(w,j,{params:h(j.params),hash:ql(w.hash),redirectedFrom:void 0,href:G})}let ue;if(W.path!=null)ue=vt({},W,{path:vp(t,W.path,ae.path).path});else{const w=vt({},W.params);for(const j in w)w[j]==null&&delete w[j];ue=vt({},W,{params:f(w)}),ae.params=f(ae.params)}const le=e.resolve(ue,ae),De=W.hash||"";le.params=u(h(le.params));const I=$k(i,vt({},W,{hash:zk(De),path:le.path})),L=r.createHref(I);return vt({fullPath:I,hash:De,query:i===zy?Mz(W.query):W.query||{}},le,{redirectedFrom:void 0,href:L})}function y(W){return typeof W=="string"?vp(t,W,l.value.path):vt({},W)}function x(W,ae){if(c!==W)return fa(8,{from:ae,to:W})}function v(W){return M(W)}function E(W){return v(vt(y(W),{replace:!0}))}function T(W){const ae=W.matched[W.matched.length-1];if(ae&&ae.redirect){const{redirect:ue}=ae;let le=typeof ue=="function"?ue(W):ue;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=y(le):{path:le},le.params={}),vt({query:W.query,hash:W.hash,params:le.path!=null?{}:W.params},le)}}function M(W,ae){const ue=c=m(W),le=l.value,De=W.state,I=W.force,L=W.replace===!0,w=T(ue);if(w)return M(vt(y(w),{state:typeof w=="object"?vt({},De,w.state):De,force:I,replace:L}),ae||ue);const j=ue;j.redirectedFrom=ae;let G;return!I&&qk(i,le,ue)&&(G=fa(16,{to:j,from:le}),re(le,le,!0,!1)),(G?Promise.resolve(G):S(j,le)).catch(q=>ar(q)?ar(q,2)?q:ve(q):Q(q,j,le)).then(q=>{if(q){if(ar(q,2))return M(vt({replace:L},y(q.to),{state:typeof q.to=="object"?vt({},De,q.to.state):De,force:I}),ae||j)}else q=B(j,le,!0,L,De);return D(j,le,q),q})}function P(W,ae){const ue=x(W,ae);return ue?Promise.reject(ue):Promise.resolve()}function b(W){const ae=se.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(W):W()}function S(W,ae){let ue;const[le,De,I]=Lz(W,ae);ue=yp(le.reverse(),"beforeRouteLeave",W,ae);for(const w of le)w.leaveGuards.forEach(j=>{ue.push($r(j,W,ae))});const L=P.bind(null,W,ae);return ue.push(L),be(ue).then(()=>{ue=[];for(const w of s.list())ue.push($r(w,W,ae));return ue.push(L),be(ue)}).then(()=>{ue=yp(De,"beforeRouteUpdate",W,ae);for(const w of De)w.updateGuards.forEach(j=>{ue.push($r(j,W,ae))});return ue.push(L),be(ue)}).then(()=>{ue=[];for(const w of I)if(w.beforeEnter)if(Pi(w.beforeEnter))for(const j of w.beforeEnter)ue.push($r(j,W,ae));else ue.push($r(w.beforeEnter,W,ae));return ue.push(L),be(ue)}).then(()=>(W.matched.forEach(w=>w.enterCallbacks={}),ue=yp(I,"beforeRouteEnter",W,ae,b),ue.push(L),be(ue))).then(()=>{ue=[];for(const w of o.list())ue.push($r(w,W,ae));return ue.push(L),be(ue)}).catch(w=>ar(w,8)?w:Promise.reject(w))}function D(W,ae,ue){a.list().forEach(le=>b(()=>le(W,ae,ue)))}function B(W,ae,ue,le,De){const I=x(W,ae);if(I)return I;const L=ae===Br,w=Vo?history.state:{};ue&&(le||L?r.replace(W.fullPath,vt({scroll:L&&w&&w.scroll},De)):r.push(W.fullPath,De)),l.value=W,re(W,ae,ue,L),ve()}let H;function $(){H||(H=r.listen((W,ae,ue)=>{if(!ge.listening)return;const le=m(W),De=T(le);if(De){M(vt(De,{replace:!0,force:!0}),le).catch(pl);return}c=le;const I=l.value;Vo&&tz(Iy(I.fullPath,ue.delta),Jh()),S(le,I).catch(L=>ar(L,12)?L:ar(L,2)?(M(vt(y(L.to),{force:!0}),le).then(w=>{ar(w,20)&&!ue.delta&&ue.type===Yl.pop&&r.go(-1,!1)}).catch(pl),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),Q(L,le,I))).then(L=>{L=L||B(le,I,!1),L&&(ue.delta&&!ar(L,8)?r.go(-ue.delta,!1):ue.type===Yl.pop&&ar(L,20)&&r.go(-1,!1)),D(le,I,L)}).catch(pl)}))}let ee=ka(),Z=ka(),te;function Q(W,ae,ue){ve(W);const le=Z.list();return le.length?le.forEach(De=>De(W,ae,ue)):console.error(W),Promise.reject(W)}function pe(){return te&&l.value!==Br?Promise.resolve():new Promise((W,ae)=>{ee.add([W,ae])})}function ve(W){return te||(te=!W,$(),ee.list().forEach(([ae,ue])=>W?ue(W):ae()),ee.reset()),W}function re(W,ae,ue,le){const{scrollBehavior:De}=n;if(!Vo||!De)return Promise.resolve();const I=!ue&&nz(Iy(W.fullPath,0))||(le||!ue)&&history.state&&history.state.scroll||null;return cs().then(()=>De(W,ae,I)).then(L=>L&&ez(L)).catch(L=>Q(L,W,ae))}const xe=W=>r.go(W);let Ve;const se=new Set,ge={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:g,getRoutes:_,resolve:m,options:n,push:v,replace:E,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:Z.add,isReady:pe,install(W){const ae=this;W.component("RouterLink",Az),W.component("RouterView",PT),W.config.globalProperties.$router=ae,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Rt(l)}),Vo&&!Ve&&l.value===Br&&(Ve=!0,v(r.location).catch(De=>{}));const ue={};for(const De in Br)Object.defineProperty(ue,De,{get:()=>l.value[De],enumerable:!0});W.provide(Qh,ae),W.provide(RT,Xx(ue)),W.provide(bm,l);const le=W.unmount;se.add(W),W.unmount=function(){se.delete(W),se.size<1&&(c=Br,H&&H(),H=null,l.value=Br,Ve=!1,te=!1),le()}}};function be(W){return W.reduce((ae,ue)=>ae.then(()=>b(ue)),Promise.resolve())}return ge}function Lz(n,e){const t=[],i=[],r=[],s=Math.max(e.matched.length,n.matched.length);for(let o=0;o<s;o++){const a=e.matched[o];a&&(n.matched.find(c=>ua(c,a))?i.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(c=>ua(c,l))||r.push(l))}return[t,i,r]}function Dz(){return Ln(Qh)}const Oz=[{path:"/",name:"/",component:()=>$t(()=>import("./index-BJ9_xFjt.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,1,12,13,14,15,16])),meta:{layout:"stage",stageTransition:{name:"bubble-wave-out"}}},{path:"/:all(.*)",name:"/[...all]",component:()=>$t(()=>import("./_...all_-C29NXtKG.js"),[])},{path:"/audio",name:"/audio",component:()=>$t(()=>import("./audio-DGOHLRUD.js"),[])},{path:"/devtools",children:[{path:"image",name:"/devtools/image",component:()=>$t(()=>import("./image-C3pkFLqE.js"),__vite__mapDeps([17,18]))}]},{path:"/queue",name:"/queue",component:()=>$t(()=>import("./queue-ClUQuYp6.js"),__vite__mapDeps([19,7]))},{path:"/settings",children:[{path:"",name:"/settings/",component:()=>$t(()=>import("./index-CvwOk8Sq.js"),__vite__mapDeps([20,5,15])),meta:{stageTransition:{name:"slide"}}},{path:"models",children:[{path:"",name:"/settings/models/",component:()=>$t(()=>import("./index-DbTJ43Gw.js"),__vite__mapDeps([21,3,4,5,6,7,8,9,10,15])),meta:{stageTransition:{name:"slide"}}}]},{path:"modules",children:[{path:"",name:"/settings/modules/",component:()=>$t(()=>import("./index-CeA6Ly4H.js"),__vite__mapDeps([22,15])),meta:{stageTransition:{name:"slide"}}},{path:"consciousness",name:"/settings/modules/consciousness",component:()=>$t(()=>import("./consciousness-DgIHteEF.js"),__vite__mapDeps([23,15])),meta:{stageTransition:{name:"slide"}}}]},{path:"providers",children:[{path:"",name:"/settings/providers/",component:()=>$t(()=>import("./index-DcOe66_K.js"),__vite__mapDeps([24,5,9,15])),meta:{stageTransition:{name:"slide"}}},{path:"openrouter",name:"/settings/providers/openrouter",component:()=>$t(()=>import("./openrouter-CG5dy_yz.js"),__vite__mapDeps([25,10,3,4,5,9]))}]},{path:"themes",children:[{path:"",name:"/settings/themes/",component:()=>$t(()=>import("./index-BDFhxUqD.js"),__vite__mapDeps([26,10,3,4,5,15,27])),meta:{stageTransition:{name:"slide"}}}]}]},{path:"/test",children:[{path:"filter-message",name:"/test/filter-message",component:()=>$t(()=>import("./filter-message-DtVHK8nU.js"),[])},{path:"queues",children:[{path:"delays",name:"/test/queues/delays",component:()=>$t(()=>import("./delays-BGmnC7-7.js"),__vite__mapDeps([28,12,3,4,5,8,7,13]))},{path:"emotions",name:"/test/queues/emotions",component:()=>$t(()=>import("./emotions-DGMRl_iG.js"),__vite__mapDeps([29,12,3,4,5,7,8]))},{path:"messages",name:"/test/queues/messages",component:()=>$t(()=>import("./messages-1q3aMUjn.js"),__vite__mapDeps([30,12,3,4,5,7,8]))}]}]},{path:"/v2",name:"/v2",component:()=>$t(()=>import("./v2-FQbANjPv.js"),__vite__mapDeps([31,3,4,5,6,7,8,9,10,11,1,12,13,14,15])),meta:{layout:"default"}}];var Sm=(n=>(n.Myriam="Myriam",n.Beatrice="Beatrice",n.Camilla_KM="Camilla_KM",n.SallySunshine="Sally Sunshine",n.Annie="Annie",n.KawaiiAerisita="Kawaii Aerisita",n.Morioki="Morioki",n))(Sm||{});const X4={Myriam:"lNxY9WuCBCZCISASyJ55",Beatrice:"KAsXoQDshjF6ehsWa1mF",Camilla_KM:"dLhSyo03JRp5WkGpUlz1","Sally Sunshine":"qswttdunP3b44zVZKMRB",Annie:"AfA1PA0ldViH0DA6pbml","Kawaii Aerisita":"vGQNBgLaiM3EdZtxIiuY",Morioki:"8EkOjt4xTPGMclNlh1pk"},Nz=Ak("settings",()=>{const n=Xe(),e=Jn("settings/language","en-US"),t=Jn("settings/stage/view/model-renderer","2d"),i=Jn("settings/credentials/openai-api-key",""),r=Jn("settings/credentials/openai-api-base-url",""),s=Jn("settings/credentials/elevenlabs-api-key",""),o=Jn("settings/llm/openai/model",{id:"openai/gpt-3.5-turbo",name:"OpenAI GPT3.5 Turbo"}),a=Jn("settings/audio/input","true"),l=Ce(()=>{var T;return(T=n.value)==null?void 0:T.deviceId}),{audioInputs:c}=k2({constraints:{audio:!0},requestPermissions:!0}),u=Jn("settings/llm/elevenlabs/voice/en",Sm.Myriam),f=Jn("settings/llm/elevenlabs/voice/ja",Sm.Morioki),h=Xe(),d=Xe("./assets/live2d/models/hiyori_pro_zh.zip"),p=Xe("url"),_=Xe(!1),g=Jn("settings/live2d/position",{x:0,y:0}),m=Xe({group:"Idle",index:0}),y=Xe([]),x=Jn("settings/live2d/motion-map",{}),v=Jn("settings/disable-transitions",!1),E=Jn("settings/theme/colors/hue",354.31);return je(a,T=>{T==="false"&&(n.value=void 0),T==="true"&&(n.value=c.value[0])}),vn(()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),je(c,()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),{openAiApiKey:i,openAiApiBaseURL:r,openAiModel:o,elevenLabsApiKey:s,live2dModelFile:h,live2dModelUrl:d,live2dLoadSource:p,live2dCurrentMotion:m,live2dPosition:g,availableLive2dMotions:y,live2dMotionMap:x,loadingLive2dModel:_,disableTransitions:v,language:e,stageView:t,themeColorsHue:E,isAudioInputOn:a,selectedAudioDevice:n,selectedAudioDeviceId:l,elevenlabsVoiceEnglish:u,elevenlabsVoiceJapanese:f}}),Uz=nn({__name:"ArrowTransition",props:{stageTransition:{default:()=>({primaryColor:"#666",secondaryColor:"#ccc"})}},setup(n){const e=n,t=Ce(()=>e.stageTransition),i=Ce(()=>t.value.primaryColor||"#666"),r=Ce(()=>t.value.secondaryColor||"#ccc");return vn(()=>{document.documentElement.style.setProperty("--stage-transition-3-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-3-overlay-color-2",r.value)}),(s,o)=>(ln(),ui("div",{class:"stage-transition-3",style:gi({zIndex:t.value.zIndex||100})},null,4))}}),vo=(n,e)=>{const t=n.__vccOpts||n;for(const[i,r]of e)t[i]=r;return t},Fz=vo(Uz,[["__scopeId","data-v-6dbef2c1"]]),Bz=nn({__name:"BubbleWaveOutTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>{var i;return((i=e.stageTransition)==null?void 0:i.colors)||["#eee","#ebcb8b","#c56370","#3f3b52"]});return vn(()=>{var i,r;document.documentElement.style.setProperty("--circle-expansion-delay",`${((i=e.stageTransition)==null?void 0:i.delay)||0}s`),document.documentElement.style.setProperty("--circle-expansion-duration",`${((r=e.stageTransition)==null?void 0:r.duration)||.4}s`),t.value.forEach((s,o)=>{document.documentElement.style.setProperty(`--circle-expansion-color-${o+1}`,s)})}),(i,r)=>{var s;return ln(),ui("div",{class:"circle-expansion-transition",style:gi({zIndex:((s=n.stageTransition)==null?void 0:s.zIndex)||100})},[(ln(!0),ui(Gt,null,lA(t.value,(o,a)=>(ln(),ui("div",{key:a}))),128))],4)}}}),kz=vo(Bz,[["__scopeId","data-v-58c4c777"]]),zz=nn({__name:"FantasyFallTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>{var r;return((r=e.stageTransition)==null?void 0:r.direction)||"up"}),i=Ce(()=>`fantasy-fall-${t.value}`);return vn(()=>{var r,s,o,a,l,c,u,f,h;document.documentElement.style.setProperty("--fantasy-fall-color",((r=e.stageTransition)==null?void 0:r.primaryColor)||"#eee"),document.documentElement.style.setProperty("--fantasy-fall-duration",`${((s=e.stageTransition)==null?void 0:s.duration)||.6}s`),document.documentElement.style.setProperty("--fantasy-fall-delay",`${((o=e.stageTransition)==null?void 0:o.delay)||0}s`),document.documentElement.style.setProperty("--fantasy-fall-radius-sm",`${((l=(a=e.stageTransition)==null?void 0:a.borderRadius)==null?void 0:l.sm)||"14rem"}`),document.documentElement.style.setProperty("--fantasy-fall-radius-md",`${((u=(c=e.stageTransition)==null?void 0:c.borderRadius)==null?void 0:u.md)||"14rem"}`),document.documentElement.style.setProperty("--fantasy-fall-radius-lg",`${((h=(f=e.stageTransition)==null?void 0:f.borderRadius)==null?void 0:h.lg)||"50%"}`)}),(r,s)=>{var o;return ln(),ui("div",{class:ma(["fantasy-fall-transition",i.value]),style:gi({zIndex:((o=n.stageTransition)==null?void 0:o.zIndex)??100})},null,6)}}}),Vz=vo(zz,[["__scopeId","data-v-9e7fdd2b"]]),Hz=nn({__name:"MultipleBlocksRevealTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>e.stageTransition),i=Ce(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)||"#666"}),r=Ce(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)||"#ccc"});return vn(()=>{document.documentElement.style.setProperty("--stage-transition-4-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-4-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-4",style:gi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},o[0]||(o[0]=[VA('<div class="stage-transition-4__block" data-v-b359e365></div><div class="stage-transition-4__block" data-v-b359e365></div><div class="stage-transition-4__block" data-v-b359e365></div><div class="stage-transition-4__block" data-v-b359e365></div><div class="stage-transition-4__block" data-v-b359e365></div>',5)]),4)}}}),Gz=vo(Hz,[["__scopeId","data-v-b359e365"]]),Wz=nn({__name:"SlideTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>e.stageTransition),i=Ce(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)||"#666"}),r=Ce(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)||"#ccc"});return je([t,i,r],()=>{document.documentElement.style.setProperty("--stage-transition-1-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-1-overlay-color-2",r.value)}),vn(()=>{document.documentElement.style.setProperty("--stage-transition-1-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-1-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-1",style:gi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},null,4)}}}),Xz=vo(Wz,[["__scopeId","data-v-9f6e49ad"]]),$z=nn({__name:"SlopeSlideTransition",props:{stageTransition:null},setup(n){const e=n,t=Ce(()=>e.stageTransition),i=Ce(()=>{var s;return((s=t.value)==null?void 0:s.primaryColor)??"#666"}),r=Ce(()=>{var s;return((s=t.value)==null?void 0:s.secondaryColor)??"#ccc"});return vn(()=>{document.documentElement.style.setProperty("--stage-transition-2-overlay-color-1",i.value),document.documentElement.style.setProperty("--stage-transition-2-overlay-color-2",r.value)}),(s,o)=>{var a;return ln(),ui("div",{class:"stage-transition-2",style:gi({zIndex:((a=t.value)==null?void 0:a.zIndex)??100})},null,4)}}}),qz=vo($z,[["__scopeId","data-v-63e4fb63"]]),Yz=nn({__name:"RectanglesRotateTransition",props:{stageTransition:null},setup(n){const e=n;return vn(()=>{var t,i,r,s,o,a,l;document.documentElement.style.setProperty("--rectangle-rotate-1-color",((t=e.stageTransition)==null?void 0:t.primaryColor)||"#ebcb8b"),document.documentElement.style.setProperty("--rectangle-rotate-2-color",((i=e.stageTransition)==null?void 0:i.secondaryColor)||"#c56370"),document.documentElement.style.setProperty("--rectangle-rotate-3-color",((r=e.stageTransition)==null?void 0:r.tertiaryColor)||"#43445b"),document.documentElement.style.setProperty("--rectangle-rotate-duration",`${((s=e.stageTransition)==null?void 0:s.duration)||.6}s`),document.documentElement.style.setProperty("--rectangle-rotate-delay",`${((o=e.stageTransition)==null?void 0:o.delay)||0}s`),document.documentElement.style.setProperty("--rectangle-rotate-stagger",`${((a=e.stageTransition)==null?void 0:a.staggerDelay)||.1}s`),document.documentElement.style.setProperty("--rectangle-rotate-rotation",`${((l=e.stageTransition)==null?void 0:l.rotation)||270}deg`)}),(t,i)=>{var r;return ln(),ui("div",{class:"rectangle-rotate-transition",style:gi({zIndex:((r=n.stageTransition)==null?void 0:r.zIndex)??100})},i[0]||(i[0]=[Gr("div",{class:"rectangle rectangle-rotate-1"},[Gr("div")],-1),Gr("div",{class:"rectangle rectangle-rotate-2"},[Gr("div")],-1),Gr("div",{class:"rectangle rectangle-rotate-3"},[Gr("div")],-1)]),4)}}}),jz=vo(Yz,[["__scopeId","data-v-a62a24a5"]]),Kz=nn({__name:"StageTransitionGroup",props:{primaryColor:null,secondaryColor:null,tertiaryColor:null,colors:null,zIndex:null,disableTransitions:{type:Boolean}},setup(n){const e=n,t=Dz(),i=Xe(!1),r=Xe(),s=Xe(""),o=Xe(),a=ze({slide:{component:Xz,duration:2700},"slope-slide":{component:qz,duration:2700},arrow:{component:Fz,duration:2700},"multiple-blocks-reveal":{component:Gz,duration:2800},"fantasy-fall":{component:Vz,duration:2700},"rectangles-rotate":{component:jz,duration:2700},"bubble-wave-out":{component:kz,duration:1e3}}),l=Xe([]);function c(d){return l.value.push(d),()=>{const p=l.value.indexOf(d);p>=0&&l.value.splice(p,1)}}async function u(d,p={}){r.value=d;for(const _ of l.value)try{await Promise.resolve(_(d,p))}catch(g){console.error(`Error in transition hook at stage "${d}":`,g)}}async function f(d,p,_){if(d.name==="none"||!d.name){p(),_();return}const g=a.value[d.name];if(!g){console.error(`Transition ${d.name} not found`),p(),_();return}const m=g.nextDelay!==void 0?g.nextDelay:g.duration/3;let y=!1;const v=c(E=>{E==="navigation"&&!y&&(y=!0,p())});try{await u("before-enter",{transitionName:d.name}),i.value&&(await u("before-leave",{transitionName:s.value}),s.value="",o.value=void 0,i.value=!1,await u("after-leave",{transitionName:s.value}),await new Promise(T=>setTimeout(T,50))),s.value=d.name,o.value=d,i.value=!0,await u("enter-active",{transitionName:name}),setTimeout(async()=>{await u("navigation",{transitionName:d.name,config:g}),y||(y=!0,p())},m),setTimeout(async()=>{await u("after-enter",{transitionName:d.name})},g.duration),setTimeout(async()=>{await u("before-leave",{transitionName:d.name})},g.duration+10),setTimeout(async()=>{await u("leave-active",{transitionName:d.name})},g.duration+20);const E=g.exitDuration??0;setTimeout(async()=>{i.value=!1,s.value="",o.value=void 0,await u("after-leave",{transitionName:d.name}),_()},g.duration+E)}catch(E){console.error(E)}finally{v(),setTimeout(()=>{y||(y=!0,p())},g.duration*2)}}function h(d,p){return new Promise(_=>{f(d,p,_)})}return t.beforeEach((d,p,_)=>{if(typeof d.meta.stageTransition!="object"){_();return}const g=d.meta.stageTransition;if(typeof e.primaryColor<"u"&&(g.primaryColor=e.primaryColor),typeof e.secondaryColor<"u"&&(g.secondaryColor=e.secondaryColor),typeof e.tertiaryColor<"u"&&(g.tertiaryColor=e.tertiaryColor),typeof e.colors<"u"&&(g.colors=e.colors),typeof e.zIndex<"u"&&(g.zIndex=e.zIndex),e.disableTransitions){_();return}h(g,_)}),(d,p)=>(ln(),ui(Gt,null,[cA(d.$slots,"default"),i.value?(ln(),ui(Gt,{key:0},[a.value[s.value]?(ln(),bl(aA(a.value[s.value].component),{key:0,"stage-transition":o.value},null,8,["stage-transition"])):$_("",!0)],64)):$_("",!0)],64))}});/*!
|
3854 |
* shared v11.1.2
|
3855 |
* (c) 2025 kazuya kawaguchi
|
3856 |
* Released under the MIT License.
|
assets/{index-DG4emoQH.js → index-CeA6Ly4H.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as g,v as m,D as p,r as f,c as o,o as n,a as e,u as v,F as s,E as y,b as h,p as x,k as r,t as a,s as _}from"./index-
|
|
|
1 |
+
import{d as g,v as m,D as p,r as f,c as o,o as n,a as e,u as v,F as s,E as y,b as h,p as x,k as r,t as a,s as _}from"./index-CbPBrBI3.js";import{b as c}from"./route-block-B_A1xBdJ.js";const k="/assets/factorio-P3v2tIeq.png",b={flex:"~ row","items-center":"","gap-2":""},w={grid:"~ cols-1 sm:cols-2 gap-4"},z={"z-1":"","flex-1":""},C={"text-lg":"","font-bold":"",class:"settings-section-title",transition:"all ease-in-out duration-200"},L={text:"sm neutral-500 dark:neutral-400",class:"settings-section-description",transition:"all ease-in-out duration-200"},M=["src"],S={"p-2":""},F={key:0,"size-3":"",bg:"green-500 dark:green-600","rounded-full":""},I={key:1,"size-3":"",bg:"neutral-400 dark:neutral-500","rounded-full":""},V=g({__name:"index",setup(B){const l=m(),d=p(()=>[{id:"consciousness",name:"Consciousness",description:"Thinking, vision, speech synthesis, gaming, etc.",icon:"i-lucide:ghost",to:"/settings/modules/consciousness",configured:!1},{id:"hearing",name:"Hearing",description:"Hearing, speech recognition, etc.",icon:"i-lucide:ear",to:"",configured:!1},{id:"messaging-discord",name:"Discord",description:"Messaging, notifications, etc.",icon:"i-simple-icons:discord",to:"",configured:!1},{id:"speech",name:"Speech",description:"Speech synthesis, etc.",icon:"i-lucide:mic",to:"",configured:!1},{id:"memory-short-term",name:"Short-Term Memory",description:"Short-term memory, etc.",icon:"i-lucide:book",to:"",configured:!1},{id:"memory-long-term",name:"Long-Term Memory",description:"Long-term memory, etc.",icon:"i-lucide:book-copy",to:"",configured:!1},{id:"vision",name:"Vision",description:"Vision, etc.",icon:"i-lucide:eye",to:"",configured:!1},{id:"game-minecraft",name:"Minecraft",description:"Playing Minecraft with you, etc.",icon:"i-vscode-icons:file-type-minecraft",to:"",configured:!1},{id:"game-factorio",name:"Factorio",description:"Playing Factorio with you, etc.",iconImage:k,to:"",configured:!1}]);return(D,i)=>{const u=f("RouterLink");return n(),o(s,null,[e("div",b,[e("button",{onClick:i[0]||(i[0]=t=>v(l).back())},i[1]||(i[1]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),i[2]||(i[2]=e("h1",{relative:""},[e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),e("div",{"text-3xl":"","font-semibold":""}," Modules ")],-1))]),e("div",w,[(n(!0),o(s,null,y(d.value,t=>(n(),o("div",{key:t.id,bg:"neutral-200/50 dark:neutral-700",border:"neutral-100 dark:neutral-700 hover:primary-300 dark:hover:primary-300/40 solid 2","drop-shadow":"none hover:[0px_4px_4px_rgba(220,220,220,0.4)] active:[0px_0px_0px_rgba(220,220,220,0.25)] dark:hover:none",class:"[&_.settings-section-description]:hover:text-primary-400/80 [&_.settings-section-icon]:hover:text-primary-200 dark:[&_.settings-section-icon]:hover:text-primary-200/40 dark:[&_.settings-section-title]:hover:text-primary-400 [&_.settings-section-icon]:hover:scale-120 [&_.settings-section-icon]:hover:grayscale-0","w-full":"","of-hidden":"","rounded-xl":"",flex:"~ col 1"},[h(u,{flex:"~ row",bg:"neutral-50 dark:neutral-800",transition:"all ease-in-out duration-200",relative:"","w-full":"","items-center":"","overflow-hidden":"","rounded-lg":"","p-5":"","text-left":"",to:t.to},{default:x(()=>[e("div",z,[e("div",C,a(t.name),1),e("div",L,[e("span",null,a(t.description),1)])]),typeof t.icon=="string"?(n(),o("div",{key:0,class:_(["settings-section-icon",[t.icon]]),transition:"all ease-in-out duration-500",absolute:"","right-0":"","size-16":"","translate-y-2":"",text:"neutral-400/50 dark:neutral-600/50","grayscale-100":""},null,2)):r("",!0),t.iconImage?(n(),o("img",{key:1,src:t.iconImage,class:"settings-section-icon grayscale-100",transition:"all ease-in-out duration-500",absolute:"","right-0":"","size-16":"","translate-y-2":"",text:"neutral-400/50 dark:neutral-600/50"},null,8,M)):r("",!0)]),_:2},1032,["to"]),e("div",S,[t.configured?(n(),o("div",F)):(n(),o("div",I))])]))),128))]),i[3]||(i[3]=e("div",{fixed:"","bottom-0":"","right-0":"","z--1":"",text:"neutral-100/80 dark:neutral-500/20"},[e("div",{text:"40","i-lucide:blocks":"","translate-x-10":"","translate-y-10":""})],-1))],64)}}});typeof c=="function"&&c(V);export{V as default};
|
assets/{index-C17lwc3f.js → index-CvwOk8Sq.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as w,r as T,m as z,o as i,p as h,a as e,c as l,k as x,f as B,t as d,s as L,v as R,x as V,y as $,z as D,l as M,u as n,b as r,A as _,B as m,C as k,T as b,F as S}from"./index-
|
|
|
1 |
+
import{d as w,r as T,m as z,o as i,p as h,a as e,c as l,k as x,f as B,t as d,s as L,v as R,x as V,y as $,z as D,l as M,u as n,b as r,A as _,B as m,C as k,T as b,F as S}from"./index-CbPBrBI3.js";import"./emotions-D2WM87AE.js";import{b as y}from"./route-block-B_A1xBdJ.js";const N={"z-1":"","flex-1":""},I={"text-lg":"","font-bold":"",class:"settings-section-title",transition:"all ease-in-out duration-200"},U={text:"sm neutral-500 dark:neutral-400",class:"settings-section-description",transition:"all ease-in-out duration-200"},g=w({__name:"IconItem",props:{title:null,description:null,icon:null,iconTemplate:{type:Boolean},to:null},setup(o){return(p,u)=>{const f=T("RouterLink");return i(),z(f,{flex:"~ row",bg:"neutral-50 dark:neutral-800",border:"neutral-100 dark:neutral-700 hover:primary-300 dark:hover:primary-300/40 solid 2","drop-shadow":"none hover:[0px_4px_4px_rgba(220,220,220,0.4)] active:[0px_0px_0px_rgba(220,220,220,0.25)] dark:hover:none",class:"after:mask-[linear-gradient(165deg,white_30%,transparent_50%)] after:bg-dotted-[neutral-200] after:hover:bg-dotted-[primary-300/50] dark:after:bg-dotted-[neutral-700/80] [&_.settings-section-description]:hover:text-primary-400/80 [&_.settings-section-icon]:hover:text-primary-200 [&_.settings-section-title]:hover:text-primary-500 dark:after:hover:bg-dotted-[primary-200/20] dark:[&_.settings-section-icon]:hover:text-primary-200/40 dark:[&_.settings-section-title]:hover:text-primary-400 after:absolute after:left-0 after:top-0 after:z--1 after:h-full after:w-full after:bg-[size:10px_10px] after:content-empty [&_.settings-section-icon]:hover:scale-120",transition:"all ease-in-out duration-200",relative:"","w-full":"","items-center":"","overflow-hidden":"","rounded-lg":"","p-5":"","text-left":"",to:o.to},{default:h(()=>[e("div",N,[e("div",I,d(o.title),1),e("div",U,[e("span",null,d(o.description),1)])]),typeof o.icon=="string"?(i(),l("div",{key:0,class:L(["settings-section-icon",[o.icon]]),transition:"all ease-in-out duration-500",absolute:"","right-0":"","size-24":"","translate-y-4":"",text:"neutral-400/50 dark:neutral-600/50"},null,2)):x("",!0),o.iconTemplate?B(p.$slots,"icon",{key:1}):x("",!0)]),_:3},8,["to"])}}}),F={flex:"~ row","items-center":"","gap-2":""},j={flex:"~ col gap-4"},A={flex:"~ col gap-4"},E={flex:"~ col gap-4"},G={grid:"~ cols-[150px_1fr]",bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-3":""},P={text:"sm"},q={flex:"~ row","w-full":"","justify-end":""},H={value:"en-US"},J={value:"zh-CN"},K={bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","cursor-pointer":"","rounded-lg":"","px-4":"","py-3":""},O=["checked","aria-checked"],Q={flex:"~ row","w-full":"","items-center":"","gap-1.5":""},W={text:"sm","w-full":"","flex-1":""},X={"select-none":""},Y={key:0,"i-solar:moon-stars-bold-duotone":"",transition:"all ease-in-out duration-250"},Z={key:1,"i-solar:sun-fog-bold-duotone":"",transition:"all ease-in-out duration-250"},ee={bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","w-full":"",flex:"","cursor-pointer":"","rounded-lg":"","px-4":"","py-3":""},te=["checked","aria-checked"],ne={flex:"~ row","w-full":"","items-center":"","gap-1.5":""},oe={"select-none":""},ie={key:0,"i-solar:people-nearby-bold-duotone":"",transition:"all ease-in-out duration-250"},se={key:1,"i-solar:running-2-line-duotone":"",transition:"all ease-in-out duration-250"},ae=w({__name:"index",setup(o){const p=R(),{t:u}=V(),{language:f,disableTransitions:s}=$(D()),a=M();function C(v){const t=v.target;f.value=t.value}return(v,t)=>(i(),l(S,null,[e("div",F,[e("button",{onClick:t[0]||(t[0]=c=>n(p).back())},t[3]||(t[3]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),t[4]||(t[4]=e("h1",{"text-3xl":""}," Settings ",-1))]),e("div",j,[e("div",A,[r(g,{title:"Modules",description:"Thinking, vision, speech synthesis, gaming, etc.",icon:"i-lucide:blocks",to:"/settings/modules"}),r(g,{title:"Models",description:"Live2D, VRM, etc.",icon:"i-lucide:person-standing",to:"/settings/models"}),r(g,{title:"Providers",description:"LLMs, speech providers, etc.",icon:"i-lucide:brain",to:"/settings/providers"}),r(g,{title:"Themes",description:"Customize your stage!",icon:"i-lucide:paintbrush",to:"/settings/themes"})]),t[6]||(t[6]=e("div",null,[e("h2",{"text-2xl":""}," General ")],-1)),e("div",E,[e("div",G,[e("div",P,[e("span",null,d(n(u)("settings.language.title")),1)]),e("div",q,[e("select",{class:"w-32",bg:"transparent",text:"sm right neutral-800 dark:neutral-100",transition:"all ease-in-out duration-250",outline:"none",onChange:C},[e("option",H,d(n(u)("settings.language.english")),1),e("option",J,d(n(u)("settings.language.chinese")),1)],32)])]),e("label",K,[_(e("input",{"onUpdate:modelValue":t[1]||(t[1]=c=>k(a)?a.value=c:null),text:"neutral-800 dark:neutral-100",checked:n(a),"aria-checked":n(a),type:"checkbox",hidden:"","appearance-none":"","outline-none":""},null,8,O),[[m,n(a)]]),e("div",Q,[e("div",W,[e("span",null,d(n(u)("settings.theme")),1)]),e("div",X,[r(b,{name:"slide-away",mode:"out-in"},{default:h(()=>[n(a)?(i(),l("div",Y)):(i(),l("div",Z))]),_:1})])])]),e("label",ee,[_(e("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>k(s)?s.value=c:null),text:"neutral-800 dark:neutral-100",checked:n(s),"aria-checked":n(s),type:"checkbox",hidden:"","appearance-none":"","outline-none":""},null,8,te),[[m,n(s)]]),e("div",ne,[t[5]||(t[5]=e("div",{text:"sm","w-full":"","flex-1":""},[e("span",null,"Disable Transitions (for debugging)")],-1)),e("div",oe,[r(b,{name:"slide-away",mode:"out-in"},{default:h(()=>[n(s)?(i(),l("div",ie)):(i(),l("div",se))]),_:1})])])])]),t[7]||(t[7]=e("div",{fixed:"","bottom-0":"","right-0":"",text:"neutral-100/50 dark:neutral-500/20"},[e("div",{text:"40","i-lucide:cog":"","translate-x-10":"","translate-y-10":""})],-1))])],64))}});typeof y=="function"&&y(ae);export{ae as default};
|
assets/{index-dazDKpAt.js → index-DbTJ43Gw.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-
|
|
|
1 |
+
import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js";import"./emotions-D2WM87AE.js";import{W as i,_ as s}from"./Live2DSettings.vue_vue_type_script_setup_true_lang-t4g_l6Gt.js";import{d as l,v as d,c as m,o as p,a as t,u as o,b as r,F as u}from"./index-CbPBrBI3.js";import{b as n}from"./route-block-B_A1xBdJ.js";import"./queue-BFg4kHdE.js";import"./queues-saKAfg6v.js";import"./providers-fQQmUut1.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-BnCNVdNS.js";const f={flex:"~ row","items-center":"","gap-2":""},x={flex:""},v=l({__name:"index",setup(b){const a=d();return(g,e)=>(p(),m(u,null,[t("div",f,[t("button",{onClick:e[0]||(e[0]=k=>o(a).back())},e[1]||(e[1]=[t("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),e[2]||(e[2]=t("h1",{relative:""},[t("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[t("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),t("div",{"text-3xl":"","font-semibold":""}," Models ")],-1))]),t("div",x,[r(o(i),{w:"50%",h:"80vh"}),r(s,{w:"50%",h:"80vh"})]),e[3]||(e[3]=t("div",{fixed:"","bottom-0":"","right-0":"","z--1":"",text:"neutral-100/80 dark:neutral-500/20"},[t("div",{text:"40","i-lucide:person-standing":"","translate-x-10":"","translate-y-10":""})],-1))],64))}});typeof n=="function"&&n(v);export{v as default};
|
assets/{index-CgnYKu6p.js → index-DcOe66_K.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as f,v as g,y as p,D as v,c as t,o as n,a as e,u as r,F as s,E as m,b,p as k,s as x,t as _,G as h}from"./index-
|
|
|
1 |
+
import{d as f,v as g,y as p,D as v,c as t,o as n,a as e,u as r,F as s,E as m,b,p as k,s as x,t as _,G as h}from"./index-CbPBrBI3.js";import"./emotions-D2WM87AE.js";import{u as y}from"./providers-fQQmUut1.js";import{b as a}from"./route-block-B_A1xBdJ.js";const w={flex:"~ row","items-center":"","gap-2":""},L={grid:"~ cols-3 gap-2"},z={flex:"~ col 1","gap-1.5":""},C={"p-2":""},R={key:0,"size-3":"",bg:"green-500 dark:green-600","rounded-full":""},S={key:1,"size-3":"",bg:"neutral-400 dark:neutral-500","rounded-full":""},A=f({__name:"index",setup(F){const l=g(),d=y(),{configuredForOpenRouter:u}=p(d),c=v(()=>[{id:"openrouter-ai",name:"OpenRouter",icon:"i-lobe-icons:openrouter",to:"/settings/providers/openrouter",configured:u.value},{id:"openai",name:"OpenAI",icon:"i-lobe-icons:openai",to:"/settings/providers/openai",configured:!1},{id:"ollama-ai",name:"Ollama",icon:"i-lobe-icons:ollama",to:"/settings/providers/ollama",configured:!1},{id:"vllm",name:"vLLM",icon:"i-lobe-icons:vllm-color",to:"/settings/providers/vllm",configured:!1},{id:"elevenlabs",name:"ElevenLabs",icon:"i-simple-icons:elevenlabs",to:"/settings/providers/elevenlabs",configured:!1},{id:"xai",name:"xAI",icon:"i-lobe-icons:xai",to:"/settings/providers/xai",configured:!1},{id:"deepseek",name:"DeepSeek",icon:"i-lobe-icons:deepseek-color",to:"/settings/providers/deepseek",configured:!1},{id:"together-ai",name:"Together.ai",icon:"i-lobe-icons:together-color",to:"/settings/providers/together",configured:!1},{id:"novita-ai",name:"Novita",icon:"i-lobe-icons:novita-color",to:"/settings/providers/novita",configured:!1},{id:"fireworks-ai",name:"Fireworks.ai",icon:"i-lobe-icons:fireworks",to:"/settings/providers/fireworks",configured:!1},{id:"cloudflare-workers-ai",name:"Cloudflare Workers AI",icon:"i-lobe-icons:cloudflare-color",to:"/settings/providers/cloudflare",configured:!1},{id:"mistral-ai",name:"Mistral",icon:"i-lobe-icons:mistral-color",to:"/settings/providers/mistral",configured:!1},{id:"moonshot-ai",name:"Moonshot AI",icon:"i-lobe-icons:moonshot",to:"/settings/providers/moonshot",configured:!1}]);return(I,o)=>(n(),t(s,null,[e("div",w,[e("button",{onClick:o[0]||(o[0]=i=>r(l).back())},o[1]||(o[1]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),o[2]||(o[2]=e("h1",{relative:""},[e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Settings")]),e("div",{"text-3xl":"","font-semibold":""}," Providers ")],-1))]),e("div",L,[(n(!0),t(s,null,m(c.value,i=>(n(),t("div",{key:i.id,bg:"neutral-300/50 dark:neutral-600","w-full":"","of-hidden":"","rounded-xl":"",flex:"~ col 1"},[b(r(h),{to:i.to,bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",transition:"all ease-in-out duration-250","h-full":"","w-full":"",flex:"","items-center":"","gap-1.5":"","rounded-lg":"","px-4":"","py-5":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0"},{default:k(()=>[e("div",z,[e("div",{class:x([i.icon,"provider-icon size-10"]),transition:"filter duration-250 ease-in-out"},null,2),e("div",null,_(i.name),1)])]),_:2},1032,["to"]),e("div",C,[i.configured?(n(),t("div",R)):(n(),t("div",S))])]))),128))]),o[3]||(o[3]=e("div",{fixed:"","bottom-0":"","right-0":"","z--1":"",text:"neutral-100/80 dark:neutral-500/20"},[e("div",{text:"40","i-lucide:brain":"","translate-x-10":"","translate-y-10":""})],-1))],64))}});typeof a=="function"&&a(A);export{A as default};
|
assets/{messages-CyzI8CUy.js → messages-1q3aMUjn.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as m}from"./BasicTextarea.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as m}from"./BasicTextarea.vue_vue_type_script_setup_true_lang-821Cs-5F.js";import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js";import"./emotions-D2WM87AE.js";import{u as g}from"./queue-BFg4kHdE.js";import{b as _,l as v}from"./queues-saKAfg6v.js";import{d as b,g as t,c as l,o as u,a as e,b as x,u as k,t as c,F as h,E as z}from"./index-CbPBrBI3.js";const w={flex:"","flex-col":"","gap-2":"","p-2":""},S={flex:"","flex-row":"","gap-2":""},V={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},y={"w-full":"",flex:"","flex-row":"","gap-4":""},M={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},N=b({__name:"messages",setup(Q){const s=t(""),r=t([]),a=t(!1),p=g({handlers:[async i=>{r.value.push(i.data)}]}),d=_(p);async function f(){a.value=!0,d.add(s.value),d.add(v),s.value="",a.value=!1}return(i,n)=>(u(),l("div",w,[e("div",S,[x(k(m),{modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=o=>s.value=o),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:f},null,8,["modelValue"]),e("button",V,c(a.value?"Processing...":"Send"),1)]),e("div",y,[e("div",M,[n[1]||(n[1]=e("h3",{"font-semibold":""}," TTS Message ",-1)),(u(!0),l(h,null,z(r.value,o=>(u(),l("div",{key:o},[e("div",null,c(o),1)]))),128))])])]))}});export{N as default};
|
assets/{openrouter-CHjBjf80.js → openrouter-CG5dy_yz.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as b,v as g,y as w,g as i,H as k,i as y,w as z,c as U,o as V,a as e,u as s,b as C,A as d,I as K,J as p,p as v,s as R,K as A,F as B}from"./index-
|
|
|
1 |
+
import{d as b,v as g,y as w,g as i,H as k,i as y,w as z,c as U,o as V,a as e,u as s,b as C,A as d,I as K,J as p,p as v,s as R,K as A,F as B}from"./index-CbPBrBI3.js";import{_ as T}from"./Collapsable.vue_vue_type_script_setup_true_lang-BnCNVdNS.js";import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js";import"./emotions-D2WM87AE.js";import{u as I}from"./providers-fQQmUut1.js";const M={flex:"~ row","items-center":"","gap-2":""},N={grid:"~ cols-2 gap-4"},S=["onClick"],F={"mt-4":""},L={grid:"~ cols-2 gap-4"},J=b({__name:"openrouter",setup(O){var l,u;const x=g(),f=I(),{providers:n}=w(f),r=i(((l=n.value["openrouter-ai"])==null?void 0:l.apiKey)||""),a=i(((u=n.value["openrouter-ai"])==null?void 0:u.baseUrl)||""),m=i(!1),c=k(m);return y(()=>{n.value["openrouter-ai"]||(n.value["openrouter-ai"]={baseUrl:"https://openrouter.ai/api/v1/"})}),z([r,a],()=>{n.value["openrouter-ai"]={apiKey:r.value,baseUrl:a.value||"https://openrouter.ai/api/v1/"}}),(P,t)=>(V(),U(B,null,[e("div",M,[e("button",{onClick:t[0]||(t[0]=o=>s(x).back())},t[3]||(t[3]=[e("div",{"i-solar:alt-arrow-left-line-duotone":"","text-2xl":""},null,-1)])),t[4]||(t[4]=e("h1",{relative:""},[e("div",{absolute:"","left-0":"","top-0":"","translate-y":"[-80%]"},[e("span",{text:"neutral-300 dark:neutral-500"},"Provider")]),e("div",{"text-3xl":"","font-semibold":""}," OpenRouter ")],-1))]),e("form",{flex:"~ col gap-4",onSubmit:A(()=>{},["prevent"])},[t[9]||(t[9]=e("div",null,[e("h2",{"text-2xl":""},[e("span",null,"Basic")])],-1)),e("div",null,[e("label",N,[t[5]||(t[5]=e("div",null,[e("div",{class:"flex items-center gap-1 text-sm font-medium"},[K(" API Key "),e("span",{class:"text-red-500"},"*")]),e("div",{class:"text-xs text-zinc-500 dark:text-zinc-400","text-nowrap":""}," API Key for OpenRouter ")],-1)),d(e("input",{"onUpdate:modelValue":t[1]||(t[1]=o=>r.value=o),type:"password",border:"zinc-300 dark:zinc-800 solid 1 focus:zinc-400 dark:focus:zinc-600",transition:"border duration-250 ease-in-out","w-full":"",rounded:"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",placeholder:"sk-or-..."},null,512),[[p,r.value]])])]),C(s(T),{"w-full":""},{trigger:v(o=>[e("button",{transition:"all ease-in-out duration-250","w-full":"",flex:"","items-center":"","gap-1.5":"","outline-none":"",class:"[&_.provider-icon]:grayscale-100 [&_.provider-icon]:hover:grayscale-0",onClick:()=>o.setVisible(!o.visible)&&s(c)()},[t[7]||(t[7]=e("h2",{"text-2xl":""},[e("span",null,"Advanced")],-1)),e("div",{transform:"",transition:"transform duration-250",class:R({"rotate-180":o.visible})},t[6]||(t[6]=[e("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,S)]),default:v(()=>[e("div",F,[e("label",L,[t[8]||(t[8]=e("div",null,[e("div",{class:"flex items-center gap-1 text-sm font-medium"}," Base URL "),e("div",{class:"text-xs text-zinc-500 dark:text-zinc-400"}," Custom base URL (optional) ")],-1)),d(e("input",{"onUpdate:modelValue":t[2]||(t[2]=o=>a.value=o),type:"text",border:"zinc-300 dark:zinc-800 solid 1 focus:zinc-400 dark:focus:zinc-600",transition:"border duration-250 ease-in-out","w-full":"",rounded:"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",placeholder:"https://openrouter.ai/api/v1/"},null,512),[[p,a.value]])])])]),_:1})],32),t[10]||(t[10]=e("div",{fixed:"","bottom-0":"","right-0":"",text:"neutral-100/80 dark:neutral-500/20"},[e("div",{text:"40","i-lobe-icons:openrouter":"","translate-x-10":"","translate-y-10":""})],-1))],64))}});export{J as default};
|
assets/{providers-C8yT3A6H.js → providers-fQQmUut1.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{ap as a,ce as r,D as u}from"./index-
|
|
|
1 |
+
import{ap as a,ce as r,D as u}from"./index-CbPBrBI3.js";const d=a("providers",()=>{const e=r("settings/credentials/providers",{}),t=r("settings/credentials/coreControllerProvider","openai"),s=r("settings/credentials/audioSynthesisProvider","elevenlabs"),o=u(()=>!!e.value["openrouter-ai"].baseUrl&&!!e.value["openrouter-ai"].apiKey);function n(i){switch(i){case"openrouter-ai":return o.value;default:return!1}}return{providers:e,coreControllerProvider:t,audioSynthesisProvider:s,configuredForOpenRouter:o,configuredFor:n}});export{d as u};
|
assets/{queue-Cf7q0mNu.js → queue-BFg4kHdE.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{g as l}from"./index-
|
|
|
1 |
+
import{g as l}from"./index-CbPBrBI3.js";function m(f){const t=l([]),a=l(!1),d={add:[],pick:[],processing:[],error:[],processed:[],done:[]},s={};function c(n,e){d[n].push(e)}function r(n,...e){d[n].forEach(i=>{i(...e)})}function h(n,e){s[n]=s[n]||[],s[n].push(e)}function p(n,...e){(s[n]||[]).forEach(i=>{i(...e)})}async function v(n){t.value.push(n),r("add",n)}function g(){const n=t.value.shift();if(n)return r("pick",n),n}async function u(){if(a.value)return;const n=g();if(n){a.value=!0;for(const e of f.handlers){r("processing",n,e);try{const o=await e({data:n,itemsToBeProcessed:()=>t.value.length,emit:p});r("processed",n,o,e)}catch(o){r("error",n,o,e);continue}}a.value=!1,r("done",n),t.value.length>0&&u()}}return c("add",u),c("done",u),{add:v,on:c,onHandlerEvent:h,queue:t}}export{m as u};
|
assets/{queue-CJWuufV5.js → queue-ClUQuYp6.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{u as o}from"./queue-
|
|
|
1 |
+
import{u as o}from"./queue-BFg4kHdE.js";import{d as v,g as h,i as g,c as k,o as w,a as I}from"./index-CbPBrBI3.js";const Q=v({__name:"queue",setup(P){function i(e){return new Promise(a=>setTimeout(a,e))}const n=h(""),d=o({handlers:[async e=>{console.log("ready to play speech audio for",e)}]}),u=o({handlers:[async e=>{console.log("ready to stream speech audio for",e),d.add(e.data)}]}),c=o({handlers:[async e=>{const a=[".","?","!"];let s=!1;for(const t of a){if(!e.data.includes(t))continue;const r=e.data.indexOf(t),p=e.data.slice(0,r+1),y=e.data.slice(r+1);n.value+=p,u.add(n.value.trim()),n.value=y,s=!0}s||(n.value+=e.data)}]}),l=["Hello"," N","eko","! I"," am"," an"," AI"," assistant"," trained"," to"," help"," with"," a"," variety"," of"," tasks"," such"," as"," answering"," questions",","," providing"," information",","," giving"," recommendations",","," and"," more",". How"," can"," I"," assist"," you"," today","?","Hello"," N","eko",","," I"," am"," an"," AI"," assistant","."," I"," can"," help"," answer"," questions",","," provide"," information",","," assist"," with"," tasks",","," and"," engage"," in"," conversation","."," How"," can"," I"," assist"," you"," today","?"];async function f(){for(const e of l)await i(100),c.add(e)}async function m(){f()}return g(()=>{m()}),(e,a)=>(w(),k("div",null,a[0]||(a[0]=[I("div",null,null,-1)])))}});export{Q as default};
|
assets/{queues-CcUBPDWE.js → queues-saKAfg6v.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{E as i}from"./emotions-D2WM87AE.js";import{u as s}from"./queue-
|
|
|
1 |
+
import{E as i}from"./emotions-D2WM87AE.js";import{u as s}from"./queue-BFg4kHdE.js";import{g as d}from"./index-CbPBrBI3.js";const l="<|llm_inference_end|>";function y(o){function t(e){for(const n of i)if(e.includes(n))return{ok:!0,emotion:n};return{ok:!1,emotion:""}}return s({handlers:[async e=>{if(i.includes(e.data)){e.emit("emotion",e.data),await o.add(e.data);return}{const{ok:n,emotion:a}=t(e.data);n&&(e.emit("emotion",a),await o.add(a))}}]})}function k(){function o(e){if(!/<\|DELAY:\d+\|>/i.test(e))return{ok:!1,delay:0};const n=/<\|DELAY:(\d+)\|>/i.exec(e),a=n==null?void 0:n[1];if(!a)return{ok:!1,delay:0};const r=Number.parseFloat(a);return r<=0||Number.isNaN(r)?{ok:!0,delay:0}:{ok:!0,delay:r}}function t(e){return new Promise(n=>setTimeout(n,e))}return s({handlers:[async e=>{const{ok:n,delay:a}=o(e.data);n&&(e.emit("delay",a),await t(a*1e3))}]})}function p(o){const t=d("");return s({handlers:[async e=>{if(e.data===l){const a=t.value.trim();a&&await o.add(a),t.value="";return}const n=/[.?!]/;for(t.value+=e.data;t.value;){const a=n.exec(t.value);if(!a||typeof a.index>"u")break;const r=t.value.slice(0,a.index+1),u=t.value.slice(a.index+1);await o.add(r),t.value=u}}]})}export{y as a,p as b,l,k as u};
|
assets/{stage-MHlFKHNl.js → stage-BdEawijE.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as p,e as s,c,b as d,r as i,n as m,u as e,o as l}from"./index-
|
|
|
1 |
+
import{d as p,e as s,c,b as d,r as i,n as m,u as e,o as l}from"./index-CbPBrBI3.js";const x=p({__name:"stage",setup(u){const{top:t,right:o,bottom:a,left:n}=s();return(f,_)=>{const r=i("RouterView");return l(),c("main",{text:"gray-700 dark:gray-200","h-full":"","font-cuteen":"",style:m({paddingTop:`${e(t)}px`,paddingRight:`${e(o)}px`,paddingBottom:`${e(a)}px`,paddingLeft:`${e(n)}px`})},[d(r)],4)}}});export{x as default};
|
assets/{v2-COKE8VpK.js → v2-FQbANjPv.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-
|
|
|
1 |
+
import"./Stage.vue_vue_type_style_index_0_scoped_4bb9f885_lang-CjwUSXTH.js";import"./emotions-D2WM87AE.js";import{W as t}from"./Live2DSettings.vue_vue_type_script_setup_true_lang-t4g_l6Gt.js";import{_ as i,M as r,I as m,a as s}from"./MobileInteractiveArea.vue_vue_type_script_setup_true_lang-BFDpjjYz.js";import{d,c,o as l,a as o,b as e,u as n}from"./index-CbPBrBI3.js";import{b as a}from"./route-block-B_A1xBdJ.js";import"./queue-BFg4kHdE.js";import"./queues-saKAfg6v.js";import"./providers-fQQmUut1.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-BnCNVdNS.js";import"./HeaderLink.vue_vue_type_script_setup_true_lang-CLnK6u8Z.js";import"./BasicTextarea.vue_vue_type_script_setup_true_lang-821Cs-5F.js";import"./index-BNsCTfqm.js";const p={relative:"",flex:"~ col","z-2":"","h-100vh":"","w-100vw":"","of-hidden":""},f={relative:"",flex:"~ 1 row gap-y-0 gap-x-2 <md:col"},_=d({__name:"v2",setup(x){return(h,v)=>(l(),c("div",null,[o("div",p,[o("div",null,[e(i,{class:"flex <md:hidden",p2:""}),e(r,{class:"hidden <md:block"})]),o("div",f,[e(n(t),{"flex-1":"","min-w":"1/2"}),e(m,{class:"flex <md:hidden","flex-1":"","max-w":"30%"}),e(s,{class:"hidden <md:block",mx2:"",mb2:""})])])]))}});typeof a=="function"&&a(_);export{_ as default};
|
index.html
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
src="/remote-assets/page-external-data/js/script.js"
|
24 |
></script>
|
25 |
<script src="/assets/js/CubismSdkForWeb-5-r.1/Core/live2dcubismcore.min.js"></script>
|
26 |
-
<script type="module" crossorigin src="/assets/index-
|
27 |
<link rel="stylesheet" crossorigin href="/assets/index-Dhcs1Umu.css">
|
28 |
</head>
|
29 |
<body class="font-sans">
|
|
|
23 |
src="/remote-assets/page-external-data/js/script.js"
|
24 |
></script>
|
25 |
<script src="/assets/js/CubismSdkForWeb-5-r.1/Core/live2dcubismcore.min.js"></script>
|
26 |
+
<script type="module" crossorigin src="/assets/index-CbPBrBI3.js"></script>
|
27 |
<link rel="stylesheet" crossorigin href="/assets/index-Dhcs1Umu.css">
|
28 |
</head>
|
29 |
<body class="font-sans">
|