Commit
·
d438524
1
Parent(s):
89bba1b
release: build bd497051fe7090dc021888f127ae7b0d78095210
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- assets/{Basic.vue_vue_type_script_setup_true_lang-Bctp-Wo-.js → Basic.vue_vue_type_script_setup_true_lang-B5smKUwB.js} +1 -1
- assets/{Button.vue_vue_type_script_setup_true_lang-DUnXoiGZ.js → Button.vue_vue_type_script_setup_true_lang-DHcNYKaP.js} +1 -1
- assets/{CardCreate-CamRQzca.js → CardCreate-BjhXcczV.js} +1 -1
- assets/{CardCreate.vue_vue_type_script_setup_true_lang-CmrF3p1m.js → CardCreate.vue_vue_type_script_setup_true_lang-cT8qsPWn.js} +1 -1
- assets/{CardCreationDialog-Ca47H4KK.js → CardCreationDialog-BD9l8__M.js} +1 -1
- assets/CardDetailDialog-CM3azlDV.js +0 -1
- assets/CardDetailDialog-DmXwuvrn.js +1 -0
- assets/{CardDetailDialog.vue_vue_type_script_setup_true_lang-Bonfk5Wq.js → CardDetailDialog.vue_vue_type_script_setup_true_lang-C37wIVyz.js} +1 -1
- assets/CardListItem-COLdVWt1.js +0 -1
- assets/CardListItem-MKbZr0FQ.js +1 -0
- assets/{CardListItem.vue_vue_type_script_setup_true_lang-DqCWBMUi.js → CardListItem.vue_vue_type_script_setup_true_lang-B7Q5Wxio.js} +1 -1
- assets/{CheckBar.vue_vue_type_script_setup_true_lang-CALtBDVC.js → CheckBar.vue_vue_type_script_setup_true_lang-By8B4nPO.js} +1 -1
- assets/{Collapsable.vue_vue_type_script_setup_true_lang-CmL2ZaYJ.js → Collapsable.vue_vue_type_script_setup_true_lang-BgecN6qM.js} +1 -1
- assets/{ColorPalette.vue_vue_type_script_setup_true_lang-Ctm95i6D.js → ColorPalette.vue_vue_type_script_setup_true_lang-Dcu1mOYZ.js} +1 -1
- assets/{DeleteCardDialog-DO2_vIeE.js → DeleteCardDialog-Z5bX7ffQ.js} +1 -1
- assets/{DeleteCardDialog.vue_vue_type_script_setup_true_lang-14bx0juo.js → DeleteCardDialog.vue_vue_type_script_setup_true_lang-C4u0-iKE.js} +1 -1
- assets/{FieldInput.vue_vue_type_script_setup_true_lang-BhjDjq3d.js → FieldInput.vue_vue_type_script_setup_true_lang-npB69nXh.js} +1 -1
- assets/{HeaderLink-CLcp3yCZ.js → HeaderLink-BKV8TZb8.js} +1 -1
- assets/HeaderLink-CUc90b_v.css +1 -0
- assets/HeaderLink-DsxHr3rn.css +0 -1
- assets/{IconAnimation.vue_vue_type_script_setup_true_lang-a5zn_i8a.js → IconAnimation.vue_vue_type_script_setup_true_lang-z-t1ytxo.js} +1 -1
- assets/{IconItem-Cy5hTN_Y.js → IconItem-DcwOFLGv.js} +1 -1
- assets/{IconStatusItem-KJGlQmYH.js → IconStatusItem-Df4oVjQ8.js} +1 -1
- assets/{Input.vue_vue_type_script_setup_true_lang-CB_gxIc9.js → Input.vue_vue_type_script_setup_true_lang-BTDULx3d.js} +1 -1
- assets/{InputFile.vue_vue_type_script_setup_true_lang-Doe_GoGG.js → InputFile.vue_vue_type_script_setup_true_lang-M88MYfAL.js} +1 -1
- assets/{Model.vue_vue_type_script_setup_true_lang-DvOtu6Ci.js → Model.vue_vue_type_script_setup_true_lang-CrmnRvJ7.js} +1 -1
- assets/{ProviderAdvancedSettings.vue_vue_type_script_setup_true_lang-hfHLOit3.js → ProviderAdvancedSettings.vue_vue_type_script_setup_true_lang-DyAoTyc1.js} +1 -1
- assets/{ProviderApiKeyInput.vue_vue_type_script_setup_true_lang-CtHTqn6c.js → ProviderApiKeyInput.vue_vue_type_script_setup_true_lang-BKRXTEtv.js} +1 -1
- assets/{ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-C-QAdPs4.js → ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-CY_3wYwt.js} +1 -1
- assets/{ProviderBasicSettings.vue_vue_type_script_setup_true_lang-D6ReMgam.js → ProviderBasicSettings.vue_vue_type_script_setup_true_lang-FDIyR7vt.js} +1 -1
- assets/{ProviderSettingsContainer.vue_vue_type_script_setup_true_lang-BmYRx-RP.js → ProviderSettingsContainer.vue_vue_type_script_setup_true_lang-C8iT0FMz.js} +1 -1
- assets/{ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-XZ1ZaiKK.js → ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-BXTSNxW7.js} +1 -1
- assets/{RadioCardSimple-DvUZYoKi.js → RadioCardSimple-B9zVtorf.js} +1 -1
- assets/{Screen.vue_vue_type_script_setup_true_lang-Cc1O0cHW.js → Screen.vue_vue_type_script_setup_true_lang-CQ37H7oV.js} +1 -1
- assets/Select-BCJa5409.css +0 -1
- assets/Select-DG6Ttq5U.css +1 -0
- assets/{Select.vue_vue_type_style_index_0_lang-BH7HpSd3.js → Select.vue_vue_type_style_index_0_lang-csKR1SR-.js} +1 -1
- assets/{SpeechProviderSettings.vue_vue_type_script_setup_true_lang-DWSy2Z9z.js → SpeechProviderSettings.vue_vue_type_script_setup_true_lang-Cn-PwtFl.js} +1 -1
- assets/Stage-BU30pHp3.css +0 -1
- assets/Stage-BgJLNEtF.css +1 -0
- assets/{Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-CDcOtXKI.js → Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js} +0 -0
- assets/{TestDummyMarker.vue_vue_type_script_setup_true_lang-Bemf8jvO.js → TestDummyMarker.vue_vue_type_script_setup_true_lang-B8ttvJp0.js} +1 -1
- assets/{Textarea.vue_vue_type_script_setup_true_lang-B_B_k5Hr.js → Textarea.vue_vue_type_script_setup_true_lang-l_0OEYvy.js} +1 -1
- assets/{TransitionVertical.vue_vue_type_script_setup_true_lang-CRbTvk1B.js → TransitionVertical.vue_vue_type_script_setup_true_lang-DI4_VHvP.js} +1 -1
- assets/{_...all_-wXEXd08C.js → _...all_-CvLU7PxS.js} +1 -1
- assets/{airi-card-C8RVFLnh.js → airi-card-xdAfH1PV.js} +1 -1
- assets/{alibaba-cloud-model-studio-B6WhCtqN.js → alibaba-cloud-model-studio-sMAGnqmb.js} +1 -1
- assets/{anthropic-BKTtBvDQ.js → anthropic-Cs21upu-.js} +1 -1
- assets/{audio-BkxfUoD8.js → audio-C9GHcVn0.js} +1 -1
- assets/{background-remove-TMZHR2C1.js → background-remove-BaZ8ULC5.js} +1 -1
assets/{Basic.vue_vue_type_script_setup_true_lang-Bctp-Wo-.js → Basic.vue_vue_type_script_setup_true_lang-B5smKUwB.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as c,cg as d,ch as f,e as s,w as p,bh as v,ca as h,o as x,c as y,a3 as _}from"./index-
|
|
|
1 |
+
import{d as c,cg as d,ch as f,e as s,w as p,bh as v,ca as h,o as x,c as y,a3 as _}from"./index-D7HCX4VR.js";const w=c({__name:"Basic",props:{modelValue:{default:""},modelModifiers:{}},emits:d(["submit"],["update:modelValue"]),setup(n,{emit:u}){const r=u,e=f(n,"modelValue"),a=s(),o=s("auto");function i(t){t.code==="Enter"&&!t.shiftKey&&(t.preventDefault(),r("submit",e.value))}return p(e,()=>{o.value="auto",requestAnimationFrame(()=>{a.value&&(o.value=`${a.value.scrollHeight}px`)})},{immediate:!0}),(t,l)=>v((x(),y("textarea",{ref_key:"textareaRef",ref:a,"onUpdate:modelValue":l[0]||(l[0]=m=>e.value=m),style:_({height:o.value}),onKeydown:i},null,36)),[[h,e.value]])}});export{w as _};
|
assets/{Button.vue_vue_type_script_setup_true_lang-DUnXoiGZ.js → Button.vue_vue_type_script_setup_true_lang-DHcNYKaP.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as i,bf as v,o as s,cm as b,bg as c,bA as d,f as r,c as t,X as o,a as y,b as h,u as k,W as n,Y as C}from"./index-
|
|
|
1 |
+
import{d as i,bf as v,o as s,cm as b,bg as c,bA as d,f as r,c as t,X as o,a as y,b as h,u as k,W as n,Y as C}from"./index-D7HCX4VR.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";/* empty css */const x=i({__name:"BidirectionalTransition",props:{fromClass:null,activeClass:null,toClass:null},setup(e){return(a,l)=>(s(),v(b,{"enter-from-class":e.fromClass,"enter-active-class":e.activeClass,"enter-to-class":e.toClass,"leave-from-class":e.toClass,"leave-active-class":e.activeClass,"leave-to-class":e.fromClass},{default:c(()=>[d(a.$slots,"default")]),_:3},8,["enter-from-class","enter-active-class","enter-to-class","leave-from-class","leave-active-class","leave-to-class"]))}}),p=["disabled"],w={class:"flex flex-row items-center justify-center"},B={key:0,class:"mr-2 w-4"},z={key:0,class:"i-svg-spinners:ring-resize h-4 w-4"},N={key:0},T=i({__name:"Button",props:{icon:null,label:null,disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},variant:{default:"primary"},size:{default:"md"},block:{type:Boolean,default:!1}},setup(e){const a=e,l=r(()=>a.disabled||a.loading),u={primary:"bg-primary-500 hover:bg-primary-600 dark:bg-primary-400 dark:hover:bg-primary-500 focus:ring-primary-500/50 dark:focus:ring-primary-400/50 text-white",secondary:"bg-neutral-100 hover:bg-neutral-200 dark:bg-neutral-600 dark:hover:bg-neutral-500 focus:ring-neutral-300/50 dark:focus:ring-neutral-600/50 text-neutral-900 dark:text-neutral-100",danger:"bg-red-500 hover:bg-red-600 dark:bg-red-400 dark:hover:bg-red-500 focus:ring-red-600/50 dark:focus:ring-red-500/50 text-white"},f={sm:"px-3 py-1.5 text-xs",md:"px-4 py-2 text-sm",lg:"px-6 py-3 text-base"},m=r(()=>["rounded-lg font-medium outline-none transition-all duration-200 ease-in-out","disabled:cursor-not-allowed disabled:opacity-50",a.block?"w-full":"",f[a.size],u[a.variant],{"opacity-50 cursor-not-allowed":l.value},"focus:ring-2 focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-neutral-900"]);return(g,V)=>(s(),t("button",{disabled:l.value,class:o(m.value)},[y("div",w,[h(k(x),{"from-class":"opacity-0 mr-0! w-0!","active-class":"transition-[width,margin] ease-in-out overflow-hidden"},{default:c(()=>[e.loading||e.icon?(s(),t("div",B,[e.loading?(s(),t("div",z)):e.icon?(s(),t("div",{key:1,class:o(["h-4 w-4",e.icon])},null,2)):n("",!0)])):n("",!0)]),_:1}),e.label?(s(),t("span",N,C(e.label),1)):d(g.$slots,"default",{key:1})])],10,p))}});export{T as _};
|
assets/{CardCreate-CamRQzca.js → CardCreate-BjhXcczV.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as m}from"./CardCreate.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as m}from"./CardCreate.vue_vue_type_script_setup_true_lang-cT8qsPWn.js";import"./index-D7HCX4VR.js";export{m as default};
|
assets/{CardCreate.vue_vue_type_script_setup_true_lang-CmrF3p1m.js → CardCreate.vue_vue_type_script_setup_true_lang-cT8qsPWn.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as a,$ as o,c as n,o as s,a as r,Y as d,u as i}from"./index-
|
|
|
1 |
+
import{d as a,$ as o,c as n,o as s,a as r,Y as d,u as i}from"./index-D7HCX4VR.js";const l={relative:"",class:"min-h-[120px] flex flex-col cursor-pointer items-center justify-center border-neutral-200 rounded-xl bg-white/60 p-6 dark:border-neutral-700 hover:border-primary-300 dark:bg-black/30 hover:bg-white/80 dark:hover:border-primary-700 dark:hover:bg-black/40",border:"solid 2",transition:"all duration-300","cursor-pointer":"","opacity-95":"",hover:"scale-100 opacity-100 shadow-md dark:shadow-lg"},c={"font-medium":"",text:"neutral-600 dark:neutral-300"},b=a({__name:"CardCreate",setup(u){const{t}=o();return(p,e)=>(s(),n("div",l,[e[0]||(e[0]=r("div",{"i-solar:add-square-line-duotone":"","mb-4":"","text-5xl":"",text:"neutral-400 dark:neutral-500"},null,-1)),r("p",c,d(i(t)("settings.pages.card.create_card")),1)]))}});export{b as _};
|
assets/{CardCreationDialog-Ca47H4KK.js → CardCreationDialog-BD9l8__M.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
import{_ as ee}from"./Button.vue_vue_type_script_setup_true_lang-
|
2 |
* @license Apache-2.0
|
3 |
*
|
4 |
* Copyright (c) 2022 The Stdlib Authors.
|
|
|
1 |
+
import{_ as ee}from"./Button.vue_vue_type_script_setup_true_lang-DHcNYKaP.js";import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";import{d as fe,cg as R,ch as ve,c2 as ye,c as f,o as m,a as n,bh as Ve,ci as J,W as K,Y as w,c3 as ge,c4 as be,b as u,a5 as he,$ as we,e as q,f as N,bf as $e,bg as C,u as t,X as te,bE as b,bd as ke,b_ as qe}from"./index-D7HCX4VR.js";import"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";import{u as Ce}from"./airi-card-xdAfH1PV.js";import{_}from"./FieldInput.vue_vue_type_script_setup_true_lang-npB69nXh.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";import{_ as Re}from"./Input.vue_vue_type_script_setup_true_lang-BTDULx3d.js";/* empty css */import{I as Ie,$ as Ee,P as Me,B as Pe,n as Ue}from"./index-Cynu-bMx.js";import"./consciousness-CZ80YtY5.js";import"./providers-DepZj6_J.js";import"./index-LHmcipjy.js";import"./index-CIqqlMPn.js";import"./speech-D8cCufg2.js";const Le={class:"max-w-full"},Be={class:"flex flex-col gap-2"},Se={class:"flex items-center gap-1 text-sm font-medium"},He={key:0,class:"text-red-500"},Ne={class:"text-nowrap text-xs text-neutral-500 dark:text-neutral-400"},je={class:"~ col gap-2"},De=["onClick"],ze=fe({__name:"FieldValues",props:R({label:null,description:null,name:null,valuePlaceholder:null,required:{type:Boolean},inputClass:null},{modelValue:{required:!0},modelModifiers:{}}),emits:R(["remove","add"],["update:modelValue"]),setup(s,{emit:i}){const l=s,d=i,e=ve(s,"modelValue");function $(){e.value.push(""),d("add")}function y(o){e.value.splice(o,1),d("remove",o)}return(o,V)=>{const p=ye("auto-animate");return m(),f("div",Le,[n("label",Be,[n("div",null,[n("div",Se,[J(w(l.label)+" ",1),l.required!==!1?(m(),f("span",He,"*")):K("",!0)]),n("div",Ne,w(l.description),1)]),Ve((m(),f("div",je,[(m(!0),f(ge,null,be(e.value,(v,h)=>(m(),f("div",{key:h,class:"w-full flex items-center gap-2"},[u(Re,{modelValue:e.value[h],"onUpdate:modelValue":x=>e.value[h]=x,placeholder:l.valuePlaceholder,class:"w-90%"},null,8,["modelValue","onUpdate:modelValue","placeholder"]),n("button",{"i-solar:minus-circle-line-duotone":"",size:"6",class:"min-w-20px w-10% flex text-red-500",onClick:x=>y(h)},null,8,De)]))),128)),n("div",{"i-solar:add-circle-line-duotone":"",size:"6",class:"mt-2 w-4/5 text-blue-500",onClick:$})])),[[p]])])])}}});/**
|
2 |
* @license Apache-2.0
|
3 |
*
|
4 |
* Copyright (c) 2022 The Stdlib Authors.
|
assets/CardDetailDialog-CM3azlDV.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{_ as o}from"./CardDetailDialog.vue_vue_type_script_setup_true_lang-Bonfk5Wq.js";import"./Button.vue_vue_type_script_setup_true_lang-DUnXoiGZ.js";import"./index-D2WYGmMW.js";import"./Select.vue_vue_type_style_index_0_lang-BH7HpSd3.js";/* empty css */import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-CDcOtXKI.js";import"./three-vrm.module-CUFR2yrr.js";import"./emotions-DWNSb738.js";import"./mcp-BZIA1D4z.js";import"./airi-card-C8RVFLnh.js";import"./consciousness-DSiskinf.js";import"./providers-Dur8rXFq.js";import"./index-LHmcipjy.js";import"./index-CIqqlMPn.js";import"./speech-DGQ9csRh.js";import"./index-DjdbYdPj.js";import"./DeleteCardDialog.vue_vue_type_script_setup_true_lang-14bx0juo.js";export{o as default};
|
|
|
|
assets/CardDetailDialog-DmXwuvrn.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{_ as o}from"./CardDetailDialog.vue_vue_type_script_setup_true_lang-C37wIVyz.js";import"./Button.vue_vue_type_script_setup_true_lang-DHcNYKaP.js";import"./index-D7HCX4VR.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";/* empty css */import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";import"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";import"./airi-card-xdAfH1PV.js";import"./consciousness-CZ80YtY5.js";import"./providers-DepZj6_J.js";import"./index-LHmcipjy.js";import"./index-CIqqlMPn.js";import"./speech-D8cCufg2.js";import"./index-Cynu-bMx.js";import"./DeleteCardDialog.vue_vue_type_script_setup_true_lang-C4u0-iKE.js";export{o as default};
|
assets/{CardDetailDialog.vue_vue_type_script_setup_true_lang-Bonfk5Wq.js → CardDetailDialog.vue_vue_type_script_setup_true_lang-C37wIVyz.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as O}from"./Button.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as O}from"./Button.vue_vue_type_script_setup_true_lang-DHcNYKaP.js";import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";import{d as E,$ as U,a0 as q,f as x,e as $,c as l,o as n,c3 as b,b as m,u as o,bg as k,a as e,W as v,ci as u,Y as i,X as L,c4 as D}from"./index-D7HCX4VR.js";import"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";import{u as F}from"./airi-card-xdAfH1PV.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";/* empty css */import{n as R,I as W,$ as X,P as Y,B as G}from"./index-Cynu-bMx.js";import{_ as J}from"./DeleteCardDialog.vue_vue_type_script_setup_true_lang-C4u0-iKE.js";const K={key:0,class:"w-full flex flex-col gap-5"},Q={flex:"~ col","gap-3":""},Z={flex:"~ row","items-center":"","justify-between":""},ee={flex:"~ row","items-center":"","gap-2":""},te={key:0,class:"flex items-center gap-1 rounded-full bg-primary-100 px-2 py-0.5 text-xs text-primary-600 font-medium dark:bg-primary-900/40 dark:text-primary-400"},ae={"mt-1":"","text-sm":"","text-neutral-500":"","dark:text-neutral-400":""},re={"font-medium":""},se={flex:"~ row","gap-2":""},oe={class:"mt-4"},le={class:"border-b border-neutral-200 dark:border-neutral-700"},ne={class:"flex justify-center -mb-px sm:justify-start space-x-1"},ie=["onClick"],de={class:"flex items-center gap-1"},ue={key:0},ce=["innerHTML"],me={key:1},ve=["innerHTML"],pe={key:2},ge={flex:"~ col","max-h-60":"","gap-4":"","overflow-auto":"","pr-1":"","sm:max-h-80":""},xe={key:0,flex:"~ col","gap-2":""},fe={"text-lg":"","text-neutral-500":"","font-medium":"","dark:text-neutral-400":""},be=["innerHTML"],he={key:3},_e={grid:"~ cols-1 sm:cols-3","gap-4":""},ke={flex:"~ col",bg:"white/60 dark:black/30","gap-1":"","rounded-lg":"","p-3":"",border:"~ neutral-200/50 dark:neutral-700/30",transition:"all duration-200",hover:"bg-white/80 dark:bg-black/40"},we={flex:"~ row","items-center":"","gap-2":"","text-sm":"","text-neutral-500":"","dark:text-neutral-400":""},ye={truncate:"","font-medium":""},Ce={flex:"~ col",bg:"white/60 dark:black/30","gap-2":"","rounded-lg":"","p-3":"",border:"~ neutral-200/50 dark:neutral-700/30",transition:"all duration-200",hover:"bg-white/80 dark:bg-black/40"},Ie={flex:"~ row","items-center":"","gap-2":"","text-sm":"","text-neutral-500":"","dark:text-neutral-400":""},Te={truncate:"","font-medium":""},Ve={flex:"~ col",bg:"white/60 dark:black/30","gap-2":"","rounded-lg":"","p-3":"",border:"~ neutral-200/50 dark:neutral-700/30",transition:"all duration-200",hover:"bg-white/80 dark:bg-black/40"},He={flex:"~ row","items-center":"","gap-2":"","text-sm":"","text-neutral-500":"","dark:text-neutral-400":""},$e={truncate:"","font-medium":""},Le={key:1,bg:"neutral-50/50 dark:neutral-900/50","rounded-xl":"","p-8":"","text-center":"",border:"~ neutral-200/50 dark:neutral-700/30",shadow:"sm"},Ue=E({__name:"CardDetailDialog",props:{modelValue:{type:Boolean},cardId:null},emits:["update:modelValue"],setup(B,{emit:A}){const f=B,M=A,{t:d}=U(),w=F(),{removeCard:N}=w,{activeCardId:S}=q(w),a=x(()=>{if(f.cardId)return w.getCard(f.cardId)}),y=x(()=>{var t,c,r,g,j;if(!a.value||!((c=(t=a.value.extensions)==null?void 0:t.airi)!=null&&c.modules))return{consciousness:"",speech:"",voice:""};const s=a.value.extensions.airi.modules;return{consciousness:((r=s.consciousness)==null?void 0:r.model)||"",speech:((g=s.speech)==null?void 0:g.model)||"",voice:((j=s.speech)==null?void 0:j.voice_id)||""}}),C=x(()=>a.value?{personality:a.value.personality,scenario:a.value.scenario,systemPrompt:a.value.systemPrompt,postHistoryInstructions:a.value.postHistoryInstructions}:{}),h=x(()=>f.cardId===S.value),I=$(!1);function P(){I.value=!0,setTimeout(()=>{S.value=f.cardId,I.value=!1},300)}function T(s){return s==null?void 0:s.replace(/\{\{(.*?)\}\}/g,'<span class="bg-primary-500/20 inline-block">{{ $1 }}</span>').trim()}const _=$(!1);function z(){a.value&&(N(f.cardId),M("update:modelValue",!1)),_.value=!1}const V=$(""),H=x(()=>{var t,c;const s=[];return(t=a.value)!=null&&t.description&&s.push({id:"description",label:d("settings.pages.card.description_label"),icon:"i-solar:document-text-linear"}),(c=a.value)!=null&&c.notes&&s.push({id:"notes",label:d("settings.pages.card.creator_notes"),icon:"i-solar:notes-linear"}),Object.values(C.value).some(r=>!!r)&&s.push({id:"character",label:d("settings.pages.card.character"),icon:"i-solar:user-rounded-linear"}),s.push({id:"modules",label:d("settings.pages.card.modules"),icon:"i-solar:tuning-square-linear"}),s}),p=x({get:()=>{var s;return H.value.find(t=>t.id===V.value)?V.value:((s=H.value[0])==null?void 0:s.id)||""},set:s=>{V.value=s}});return(s,t)=>{var c;return n(),l(b,null,[m(o(R),{open:B.modelValue,"onUpdate:open":t[0]||(t[0]=r=>M("update:modelValue",r))},{default:k(()=>[m(o(W),null,{default:k(()=>[m(o(X),{class:"data-[state=open]:animate-fadeIn data-[state=closed]:animate-fadeOut fixed inset-0 z-100 bg-black/50 backdrop-blur-sm"}),m(o(Y),{class:"data-[state=open]:animate-contentShow data-[state=closed]:animate-contentHide fixed left-1/2 top-1/2 z-100 m-0 max-h-[90vh] max-w-6xl w-[92vw] flex flex-col overflow-auto border border-neutral-200 rounded-xl bg-white p-5 shadow-xl 2xl:w-[60vw] lg:w-[80vw] md:w-[85vw] xl:w-[70vw] -translate-x-1/2 -translate-y-1/2 dark:border-neutral-700 dark:bg-neutral-800 sm:p-6"},{default:k(()=>[a.value?(n(),l("div",K,[e("div",Q,[e("div",Z,[e("div",null,[e("div",ee,[m(o(G),{"text-2xl":"","font-bold":"",class:"from-primary-500 to-primary-400 bg-gradient-to-r bg-clip-text text-transparent"},{default:k(()=>[u(i(a.value.name),1)]),_:1}),h.value?(n(),l("div",te,[t[3]||(t[3]=e("div",{"i-solar:check-circle-bold-duotone":"","text-xs":""},null,-1)),u(" "+i(o(d)("settings.pages.card.active_badge")),1)])):v("",!0)]),e("div",ae,[u(" v"+i(a.value.version)+" ",1),a.value.creator?(n(),l(b,{key:0},[u(" · "+i(o(d)("settings.pages.card.created_by"))+" ",1),e("span",re,i(a.value.creator),1)],64)):v("",!0)])]),e("div",se,[m(o(O),{variant:"primary",icon:h.value?"i-solar:check-circle-bold-duotone":"i-solar:play-circle-broken",label:h.value?o(d)("settings.pages.card.active"):o(d)("settings.pages.card.activate"),disabled:h.value,class:L({"animate-pulse":I.value}),onClick:P},null,8,["icon","label","disabled","class"])])]),e("div",oe,[e("div",le,[e("div",ne,[(n(!0),l(b,null,D(H.value,r=>(n(),l("button",{key:r.id,class:L(["px-4 py-2 text-sm font-medium",[p.value===r.id?"text-primary-600 dark:text-primary-400 border-b-2 border-primary-500 dark:border-primary-400":"text-neutral-500 dark:text-neutral-400 hover:text-neutral-700 dark:hover:text-neutral-300"]]),onClick:g=>p.value=r.id},[e("div",de,[e("div",{class:L(r.icon)},null,2),u(" "+i(r.label),1)])],10,ie))),128))])])]),p.value==="notes"&&a.value.notes?(n(),l("div",ue,[e("div",{bg:"white/60 dark:black/30",border:"~ neutral-200/50 dark:neutral-700/30","max-h-60":"","overflow-auto":"","whitespace-pre-line":"","rounded-lg":"","p-4":"","text-neutral-700":"","sm:max-h-80":"","dark:text-neutral-300":"",transition:"all duration-200",hover:"bg-white/80 dark:bg-black/40",innerHTML:T(a.value.notes)},null,8,ce)])):v("",!0),p.value==="description"&&a.value.description?(n(),l("div",me,[e("div",{bg:"white/60 dark:black/30","max-h-60":"","overflow-auto":"","whitespace-pre-line":"","rounded-lg":"","p-4":"","sm:max-h-80":"",text:"neutral-600 dark:neutral-300",border:"~ neutral-200/50 dark:neutral-700/30",innerHTML:T(a.value.description)},null,8,ve)])):v("",!0),p.value==="character"&&Object.values(C.value).some(r=>!!r)?(n(),l("div",pe,[e("div",ge,[(n(!0),l(b,null,D(C.value,(r,g)=>(n(),l(b,{key:g},[r?(n(),l("div",xe,[e("h2",fe,i(o(d)(`settings.pages.card.${g.toLowerCase()}`)),1),e("div",{bg:"white/60 dark:black/30",border:"~ neutral-200/50 dark:neutral-700/30",transition:"all duration-200",hover:"bg-white/80 dark:bg-black/40","max-h-none":"","overflow-auto":"","whitespace-pre-line":"","rounded-lg":"","p-3":"","text-neutral-700":"","dark:text-neutral-300":"",innerHTML:T(r)},null,8,be)])):v("",!0)],64))),128))])])):v("",!0),p.value==="modules"?(n(),l("div",he,[e("div",_e,[e("div",ke,[e("span",we,[t[4]||(t[4]=e("div",{"i-lucide:ghost":""},null,-1)),u(" "+i(o(d)("settings.pages.card.consciousness.model")),1)]),e("div",ye,i(y.value.consciousness??"default"),1)]),e("div",Ce,[e("span",Ie,[t[5]||(t[5]=e("div",{"i-lucide:mic":""},null,-1)),u(" "+i(o(d)("settings.pages.card.speech.model")),1)]),e("div",Te,i(y.value.speech??"default"),1)]),e("div",Ve,[e("span",He,[t[6]||(t[6]=e("div",{"i-lucide:music":""},null,-1)),u(" "+i(o(d)("settings.pages.card.speech.voice")),1)]),e("div",$e,i(y.value.voice??"default"),1)])])])):v("",!0)])])):(n(),l("div",Le,[t[7]||(t[7]=e("div",{"i-solar:card-search-broken":"","mx-auto":"","mb-3":"","text-6xl":"","text-neutral-400":""},null,-1)),u(" "+i(o(d)("settings.pages.card.card_not_found")),1)]))]),_:1})]),_:1})]),_:1},8,["open"]),m(J,{modelValue:_.value,"onUpdate:modelValue":t[1]||(t[1]=r=>_.value=r),"card-name":(c=a.value)==null?void 0:c.name,onConfirm:z,onCancel:t[2]||(t[2]=r=>_.value=!1)},null,8,["modelValue","card-name"])],64)}}});export{Ue as _};
|
assets/CardListItem-COLdVWt1.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{_ as o}from"./CardListItem.vue_vue_type_script_setup_true_lang-DqCWBMUi.js";import"./index-D2WYGmMW.js";import"./Select.vue_vue_type_style_index_0_lang-BH7HpSd3.js";/* empty css */import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-CDcOtXKI.js";import"./three-vrm.module-CUFR2yrr.js";import"./emotions-DWNSb738.js";import"./mcp-BZIA1D4z.js";export{o as default};
|
|
|
|
assets/CardListItem-MKbZr0FQ.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{_ as o}from"./CardListItem.vue_vue_type_script_setup_true_lang-B7Q5Wxio.js";import"./index-D7HCX4VR.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";/* empty css */import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";import"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";export{o as default};
|
assets/{CardListItem.vue_vue_type_script_setup_true_lang-DqCWBMUi.js → CardListItem.vue_vue_type_script_setup_true_lang-B7Q5Wxio.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as M,e as s,T as R,c as p,o as d,bA as W,a3 as F,b_ as H,bf as I,bg as N,a as t,W as v,Y as l,cl as k,X as h,u as V}from"./index-
|
|
|
1 |
+
import{d as M,e as s,T as R,c as p,o as d,bA as W,a3 as F,b_ as H,bf as I,bg as N,a as t,W as v,Y as l,cl as k,X as h,u as V}from"./index-D7HCX4VR.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";/* empty css */import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";import"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";const D=M({__name:"CursorFloating",props:{intensity:{default:1.5}},setup(r){const n=r,o=s(null),a=s(""),e=s("50% 50%"),i=s("50% 50%"),y=s(.5);function _(c){if(!o.value)return;const u=o.value,b=u.getBoundingClientRect(),w=c.clientX-b.left,C=c.clientY-b.top,z=u.offsetWidth,B=u.offsetHeight,f=Math.abs(Math.floor(100/z*w)-100),m=Math.abs(Math.floor(100/B*C)-100),g=50+(f-50)/1.5,x=50+(m-50)/1.5,X=50+(f-50)/7,Y=50+(m-50)/7,A=(g-50)/1.5*.2*n.intensity,P=(x-50)/2*-1*.2*n.intensity,S=50-f+(50-m),j=.5+Math.abs(S)*.008*n.intensity;a.value=`perspective(1200px) rotateX(${P}deg) rotateY(${A}deg) scale3d(${1+.015*n.intensity}, ${1+.015*n.intensity}, ${1+.015*n.intensity})`,e.value=`${g}% ${x}%`,i.value=`${X}% ${Y}%`,y.value=j}function $(){a.value="perspective(1200px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)",e.value="50% 50%",i.value="50% 50%",y.value=.5}return R(()=>{a.value="perspective(1200px) rotateX(0deg) rotateY(0deg) scale3d(1, 1, 1)"}),(c,u)=>(d(),p("div",{ref_key:"cardRef",ref:o,class:"card-hover-effect",style:F({transform:a.value,"--effect-intensity":r.intensity}),onMousemove:_,onMouseleave:$},[W(c.$slots,"default",{},void 0,!0)],36))}}),E=H(D,[["__scopeId","data-v-895421da"]]),L={relative:"",flex:"~ col 1","justify-between":"","gap-3":"","overflow-hidden":"","rounded-lg":"",bg:"white dark:neutral-900","p-5":"",transition:"all ease-in-out duration-400",after:"content-empty absolute inset-0 z--2 w-full h-full bg-dotted-[neutral-200/80] bg-size-10px mask-image-[linear-gradient(165deg,white_30%,transparent_50%)] transition-all duration-400 ease-in-out",hover:"after:bg-dotted-[primary-300/50] dark:after:bg-dotted-[primary-200/20] text-primary-600/80 dark:text-primary-300/80"},O={"z-1":"",flex:"","items-start":"","justify-between":"","gap-2":""},T={"flex-1":"",truncate:"","text-lg":"","font-thin":""},q={key:0,"shrink-0":"","rounded-md":"","p-1":"",bg:"primary-100 dark:primary-900/40",text:"primary-600 dark:primary-400"},G={key:0,"line-clamp-3":"","min-h-40px":"","flex-1":"","text-sm":"",text:"neutral-500 dark:neutral-400"},J={"z-1":"",flex:"","items-center":"","justify-between":"","text-xs":"",text:"neutral-500 dark:neutral-400"},K={flex:"","items-center":"","gap-1.5":""},Q={flex:"","items-center":"","gap-0.5":""},U={flex:"","items-center":"","gap-0.5":""},Z={flex:"","items-center":"","justify-end":"","px-2":"","py-1.5":""},ee=["disabled"],le=M({__name:"CardListItem",props:{id:null,name:null,description:null,isActive:{type:Boolean},isSelected:{type:Boolean},version:null,consciousnessModel:null,voiceModel:null},emits:["select","activate","delete"],setup(r,{emit:n}){const o=n;return(a,e)=>(d(),I(V(E),{relative:"","min-h-120px":"",flex:"~ col","cursor-pointer":"","overflow-hidden":"","rounded-xl":"",class:h([r.isSelected?"border-2 border-primary-400 dark:border-primary-600":"border-2 border-neutral-100 dark:border-neutral-800/25"]),bg:"neutral-200/50 dark:neutral-800/50","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",transition:"all ease-in-out duration-400",before:"content-empty absolute inset-0 z-0 w-25% h-full transition-all duration-400 ease-in-out bg-gradient-to-r from-primary-500/0 to-primary-500/0 dark:from-primary-400/0 dark:to-primary-400/0 mask-image-[linear-gradient(120deg,white_100%)] opacity-0",hover:"before:opacity-100 before:bg-gradient-to-r before:from-primary-500/20 before:via-primary-500/10 before:to-transparent before:dark:from-primary-400/20 before:dark:via-primary-400/10 before:dark:to-transparent",onClick:e[2]||(e[2]=i=>o("select"))},{default:N(()=>[t("div",L,[t("div",O,[t("h3",T,l(r.name),1),r.isActive?(d(),p("div",q,e[3]||(e[3]=[t("div",{"i-solar:check-circle-bold-duotone":"","text-sm":""},null,-1)]))):v("",!0)]),r.description?(d(),p("p",G,l(r.description),1)):v("",!0),t("div",J,[t("div",null,"v"+l(r.version),1),t("div",K,[t("div",Q,[e[4]||(e[4]=t("div",{"i-lucide:ghost":"","text-xs":""},null,-1)),t("span",null,l(r.consciousnessModel),1)]),t("div",U,[e[5]||(e[5]=t("div",{"i-lucide:mic":"","text-xs":""},null,-1)),t("span",null,l(r.voiceModel),1)])])])]),t("div",Z,[t("button",{"rounded-lg":"","p-1.5":"","transition-colors":"",hover:"bg-neutral-200 dark:bg-neutral-700/50",disabled:r.isActive,onClick:e[0]||(e[0]=k(i=>o("activate"),["stop"]))},[t("div",{class:h([r.isActive?"i-solar:check-circle-bold-duotone text-primary-500 dark:text-primary-400":"i-solar:play-circle-broken text-neutral-500 dark:text-neutral-400"])},null,2)],8,ee),r.id!=="default"?(d(),p("button",{key:0,"rounded-lg":"","p-1.5":"","transition-colors":"",hover:"bg-neutral-200 dark:bg-neutral-700/50",onClick:e[1]||(e[1]=k(i=>o("delete"),["stop"]))},e[6]||(e[6]=[t("div",{"i-solar:trash-bin-trash-linear":"",text:"neutral-500 dark:neutral-400"},null,-1)]))):v("",!0)])]),_:1},8,["class"]))}});export{le as _};
|
assets/{CheckBar.vue_vue_type_script_setup_true_lang-CALtBDVC.js → CheckBar.vue_vue_type_script_setup_true_lang-By8B4nPO.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as r,cg as c,ch as m,c as a,o as n,bh as h,a as i,b as f,bi as k,ci as b,W as v,Y as s,cm as x,bg as p,X as d}from"./index-
|
|
|
1 |
+
import{d as r,cg as c,ch as m,c as a,o as n,bh as h,a as i,b as f,bi as k,ci as b,W as v,Y as s,cm as x,bg as p,X as d}from"./index-D7HCX4VR.js";const y={class:"w-full flex cursor-pointer items-center justify-between rounded-lg px-4 py-3 text-sm outline-none transition-all duration-250 ease-in-out",bg:"neutral-50 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700"},g=["aria-checked"],V={key:0,text:"sm neutral-500"},w=r({__name:"CheckBar",props:c({text:null,iconOn:null,iconOff:null,description:null},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=m(e,"modelValue");return(l,o)=>(n(),a("label",y,[h(i("input",{"onUpdate:modelValue":o[0]||(o[0]=u=>t.value=u),"aria-checked":t.value,type:"checkbox",hidden:""},null,8,g),[[k,t.value]]),i("div",null,[b(s(l.$t(e.text))+" ",1),e.description?(n(),a("div",V,s(l.$t(e.description)),1)):v("",!0)]),f(x,{name:"slide-away",mode:"out-in"},{default:p(()=>[t.value?(n(),a("div",{key:0,class:d(e.iconOn),transition:"all ease-in-out duration-250"},null,2)):(n(),a("div",{key:1,class:d(e.iconOff),transition:"all ease-in-out duration-250"},null,2))]),_:1})]))}});export{w as _};
|
assets/{Collapsable.vue_vue_type_script_setup_true_lang-CmL2ZaYJ.js → Collapsable.vue_vue_type_script_setup_true_lang-BgecN6qM.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as d}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as d}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-DI4_VHvP.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";import{d as p,cg as m,ch as c,bG as f,c as b,o as v,bA as r,b as g,a as s,ci as V,Y as u,cu as i,cv as y,u as k,bg as x,W as C,cj as B}from"./index-D7HCX4VR.js";const _={op50:""},P=p({__name:"Collapsable",props:m({default:{type:Boolean},label:null},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=o,e=c(o,"modelValue");f(()=>{t.default!=null&&(e.value=!!t.default)});function n(l){return e.value=l,l}return(l,a)=>(v(),b("div",null,[r(l.$slots,"trigger",i(y({visible:e.value,setVisible:n})),()=>[s("button",{sticky:"","top-0":"","z-10":"",flex:"","items-center":"","justify-between":"",px2:"",py1:"","text-sm":"","backdrop-blur-xl":"",onClick:a[0]||(a[0]=N=>e.value=!e.value)},[s("span",null,u(t.label??"Collapsable"),1),a[1]||(a[1]=V()),s("span",_,u(e.value?"▲":"▼"),1)])]),g(k(d),null,{default:x(()=>[e.value?r(l.$slots,"default",i(B({key:0},{visible:e.value,setVisible:n}))):C("",!0)]),_:3})]))}});export{P as _};
|
assets/{ColorPalette.vue_vue_type_script_setup_true_lang-Ctm95i6D.js → ColorPalette.vue_vue_type_script_setup_true_lang-Dcu1mOYZ.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as b}from"./Collapsable.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as b}from"./Collapsable.vue_vue_type_script_setup_true_lang-BgecN6qM.js";import{d,bf as m,o as i,bg as l,a as n,X as u,bA as k,ci as f,Y as g,be as y,c,W as C,c3 as v,c4 as h,b as s,u as e,a3 as x,cs as w}from"./index-D7HCX4VR.js";import"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";import{W as S,j as $,q as B,U as E,G as V,H as z}from"./index-Cynu-bMx.js";const F=["onClick"],H={flex:"","gap-1.5":""},D=d({__name:"Section",props:{title:null,icon:null,innerClass:null,expand:{type:Boolean,default:!0}},setup(t){return(r,p)=>(i(),m(b,{default:t.expand},{trigger:l(o=>[n("button",{class:"w-full flex items-center justify-between rounded-lg px-4 py-3 outline-none transition-all duration-250 ease-in-out",bg:"neutral-100 dark:neutral-800",hover:"bg-neutral-200 dark:bg-neutral-700",onClick:a=>o.setVisible(!o.visible)},[n("div",H,[n("div",{class:u(t.icon),"size-6":""},null,2),f(" "+g(t.title),1)]),n("div",{"i-solar:alt-arrow-down-bold-duotone":"",transition:"transform duration-250",class:u({"rotate-180":o.visible})},null,2)],8,F)]),default:l(()=>[n("div",{grid:"","gap-2":"","p-4":"",class:u(t.innerClass)},[k(r.$slots,"default")],2)]),_:3},8,["default"]))}}),N={key:0,flex:"","gap-2":""},G=d({__name:"ColorPalette",props:{colors:null},setup(t){const r=y();return(p,o)=>t.colors.length?(i(),c("div",N,[(i(!0),c(v,null,h(t.colors,({hex:a,name:_})=>(i(),m(e(z),{key:a||"default"},{default:l(()=>[s(e(S),null,{default:l(()=>[s(e($),{transition:"all ease-in-out duration-250","size-6":"","cursor-pointer":"","rounded-full":"","bg-primary-500":"",style:x(a?{background:a}:{"--chromatic-hue":e(w)}),class:u(e(r).isColorSelectedForPrimary(a)?"scale-150 mx-1":"hover:scale-110"),onClick:U=>e(r).applyPrimaryColorFrom(a)},null,8,["style","class","onClick"]),s(e(B),null,{default:l(()=>[s(e(E),{bg:"white dark:neutral-800","rounded-lg":"","px-3":"","py-1.5":"","text-sm":"","shadow-md":""},{default:l(()=>[f(g(_)+" ",1),s(e(V),{"fill-white":"","dark:fill-neutral-800":""})]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))])):C("",!0)}});export{D as _,G as a};
|
assets/{DeleteCardDialog-DO2_vIeE.js → DeleteCardDialog-Z5bX7ffQ.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as o}from"./DeleteCardDialog.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as o}from"./DeleteCardDialog.vue_vue_type_script_setup_true_lang-C4u0-iKE.js";import"./Button.vue_vue_type_script_setup_true_lang-DHcNYKaP.js";import"./index-D7HCX4VR.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";/* empty css */import"./index-Cynu-bMx.js";export{o as default};
|
assets/{DeleteCardDialog.vue_vue_type_script_setup_true_lang-14bx0juo.js → DeleteCardDialog.vue_vue_type_script_setup_true_lang-C4u0-iKE.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as r}from"./Button.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as r}from"./Button.vue_vue_type_script_setup_true_lang-DHcNYKaP.js";import{A as b,k as _,O as g,V as x,F as v,M as V,N as k,T as h}from"./index-Cynu-bMx.js";import{d as w,$ as C,bf as N,o as y,bg as t,b as a,u as e,a as c,ci as i,Y as s}from"./index-D7HCX4VR.js";const B={class:"flex flex-row justify-end gap-3"},A=w({__name:"DeleteCardDialog",props:{modelValue:{type:Boolean},cardName:null},emits:["update:modelValue","confirm","cancel"],setup(d,{emit:u}){const l=u,{t:n}=C();function f(){l("update:modelValue",!1),l("cancel")}function m(){l("update:modelValue",!1),l("confirm")}return(D,o)=>(y(),N(e(h),{open:d.modelValue,"onUpdate:open":o[0]||(o[0]=p=>l("update:modelValue",p))},{default:t(()=>[a(e(b),null,{default:t(()=>[a(e(_),{class:"data-[state=open]:animate-fadeIn data-[state=closed]:animate-fadeOut fixed inset-0 z-100 bg-black/50"}),a(e(g),{class:"data-[state=open]:animate-contentShow data-[state=closed]:animate-contentHide fixed left-1/2 top-1/2 z-100 max-w-md w-full border border-neutral-200 rounded-xl bg-white p-6 shadow-xl -translate-x-1/2 -translate-y-1/2 dark:border-neutral-700 dark:bg-neutral-800"},{default:t(()=>[a(e(x),{class:"mb-4 text-xl font-bold"},{default:t(()=>[i(s(e(n)("settings.pages.card.delete_card")),1)]),_:1}),a(e(v),{class:"mb-6"},{default:t(()=>[i(s(e(n)("settings.pages.card.delete_confirmation"))+" ",1),c("b",null,'"'+s(d.cardName||"")+'"',1)]),_:1}),c("div",B,[a(e(V),{"as-child":""},{default:t(()=>[a(e(r),{variant:"secondary",label:e(n)("settings.pages.card.cancel"),onClick:f},null,8,["label"])]),_:1}),a(e(k),{"as-child":""},{default:t(()=>[a(e(r),{variant:"danger",label:e(n)("settings.pages.card.delete"),onClick:m},null,8,["label"])]),_:1})])]),_:1})]),_:1})]),_:1},8,["open"]))}});export{A as _};
|
assets/{FieldInput.vue_vue_type_script_setup_true_lang-BhjDjq3d.js → FieldInput.vue_vue_type_script_setup_true_lang-npB69nXh.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as i,cg as c,ch as p,c as n,o as t,a as s,bf as m,bh as f,ci as x,W as y,Y as d,X as u,ca as h}from"./index-
|
|
|
1 |
+
import{d as i,cg as c,ch as p,c as n,o as t,a as s,bf as m,bh as f,ci as x,W as y,Y as d,X as u,ca as h}from"./index-D7HCX4VR.js";import{_}from"./Input.vue_vue_type_script_setup_true_lang-BTDULx3d.js";const k={"max-w-full":""},V={flex:"~ col gap-4"},b={class:"flex items-center gap-1 text-sm font-medium"},v={key:0,class:"text-red-500"},g={class:"text-xs text-neutral-500 dark:text-neutral-400","text-nowrap":""},w=["type","placeholder"],q=i({__name:"FieldInput",props:c({label:null,description:null,placeholder:null,required:{type:Boolean},type:null,inputClass:null,singleLine:{type:Boolean,default:!0}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const e=o,l=p(o,"modelValue");return(B,a)=>(t(),n("div",k,[s("label",V,[s("div",null,[s("div",b,[x(d(e.label)+" ",1),e.required!==!1?(t(),n("span",v,"*")):y("",!0)]),s("div",g,d(e.description),1)]),o.singleLine?(t(),m(_,{key:0,modelValue:l.value,"onUpdate:modelValue":a[0]||(a[0]=r=>l.value=r),type:e.type,placeholder:e.placeholder,class:u(e.inputClass)},null,8,["modelValue","type","placeholder","class"])):f((t(),n("textarea",{key:1,"onUpdate:modelValue":a[1]||(a[1]=r=>l.value=r),type:e.type,placeholder:e.placeholder,class:u(e.inputClass),border:"focus:primary-300 dark:focus:primary-400/50 2 solid neutral-100 dark:neutral-900",transition:"all duration-200 ease-in-out",text:"disabled:neutral-400 dark:disabled:neutral-600",cursor:"disabled:not-allowed","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-sm":"","outline-none":"",shadow:"sm",bg:"neutral-50 dark:neutral-950 focus:neutral-50 dark:focus:neutral-900"},null,10,w)),[[h,l.value]])])]))}});export{q as _};
|
assets/{HeaderLink-CLcp3yCZ.js → HeaderLink-BKV8TZb8.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as c,c7 as r,bf as l,u as e,b$ as _,o as s,bg as d,c as t,a,b_ as i}from"./index-
|
|
|
1 |
+
import{d as c,c7 as r,bf as l,u as e,b$ as _,o as s,bg as d,c as t,a,b_ as i}from"./index-D7HCX4VR.js";const p="/assets/logo-dark-B0bvNYTh.svg",u="/assets/logo-B2aCU-bH.svg",k=["src"],m=["src"],g=c({__name:"HeaderLink",setup(f){const n=r();return(x,o)=>(s(),l(e(_),{to:"/",flex:"~","items-center":"","gap-2":"","px-2":"","text-nowrap":"","text-2xl":"","outline-none":""},{default:d(()=>[e(n)?(s(),t("img",{key:0,src:e(p),"h-8":"","w-8":"",class:"theme-colored"},null,8,k)):(s(),t("img",{key:1,src:e(u),"h-8":"","w-8":"",class:"theme-colored"},null,8,m)),o[0]||(o[0]=a("div",{"font-cute":""},[a("span",null,"アイリ")],-1))]),_:1,__:[0]}))}}),h=i(g,[["__scopeId","data-v-98dc4b88"]]);export{h as H};
|
assets/HeaderLink-CUc90b_v.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.theme-colored[data-v-98dc4b88]{filter:hue-rotate(calc(var(--chromatic-hue, 0) * 1deg))}
|
assets/HeaderLink-DsxHr3rn.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.theme-colored[data-v-496b6cde]{filter:hue-rotate(calc(var(--theme-colors-hue, 0) * 1deg))}
|
|
|
|
assets/{IconAnimation.vue_vue_type_script_setup_true_lang-a5zn_i8a.js → IconAnimation.vue_vue_type_script_setup_true_lang-z-t1ytxo.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as m,e as s,w as p,f,c as h,o as x,a3 as l,a as u,X as y}from"./index-
|
|
|
1 |
+
import{d as m,e as s,w as p,f,c as h,o as x,a3 as l,a as u,X as y}from"./index-D7HCX4VR.js";const C=m({__name:"IconAnimation",props:{icon:null,iconSize:null,position:null,duration:null,started:{type:Boolean},textColor:null,isReverse:{type:Boolean},zIndex:null},emits:["animationEnded"],setup(a,{emit:d}){const e=a,c=d,n=s(!1);p(()=>e.started,o=>{o&&requestAnimationFrame(()=>{n.value=!0})});const t=f(()=>({opacity:n.value!==e.isReverse?1:0,size:n.value!==e.isReverse?25:e.iconSize,position:n.value!==e.isReverse?"calc(50dvw - 12.5rem), calc(50dvh - 12.5rem)":e.position,textColor:n.value!==e.isReverse?"text-white":e.textColor})),i=s([]),r=s(!1);function v(o){i.value.push(o.propertyName),i.value.includes("color")&&i.value.includes("width")&&i.value.includes("height")&&i.value.includes("transform")&&(r.value=!0,c("animationEnded"))}return(o,z)=>(x(),h("div",{"pointer-events-none":"",fixed:"",w:"100dvw",h:"100dvh",style:l({zIndex:r.value?a.zIndex:void 0})},[u("div",{fixed:"","inset-0":"","bg-primary-500":"","transition-opacity":"","ease-linear":"",style:l({opacity:t.value.opacity,transitionDuration:`${a.duration}ms`})},null,4),u("div",{fixed:"","inset-0":"","ease-in-out":"",style:l({width:`${t.value.size}rem`,height:`${t.value.size}rem`,transform:`translate(${t.value.position})`,transitionDuration:`${a.duration}ms`}),class:y([t.value.textColor,e.icon,{"transition-all":n.value}]),onTransitionend:v},null,38)],4))}});export{C as _};
|
assets/{IconItem-Cy5hTN_Y.js → IconItem-DcwOFLGv.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as l,a2 as s,bf as c,o as n,bg as d,a as t,c as u,W as o,bA as m,Y as a,X as p,b_ as x}from"./index-
|
|
|
1 |
+
import{d as l,a2 as s,bf as c,o as n,bg as d,a as t,c as u,W as o,bA as m,Y as a,X as p,b_ as x}from"./index-D7HCX4VR.js";import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";const _={"z-1":"","flex-1":""},v={"text-lg":"","font-thin":"",class:"menu-icon-item-title",transition:"all ease-in-out duration-400"},f={text:"sm neutral-500 dark:neutral-400",class:"menu-icon-item-description",transition:"all ease-in-out duration-400"},h=l({__name:"IconItem",props:{title:null,description:null,icon:null,iconTemplate:{type:Boolean},to:null},setup(e){return(i,k)=>{const r=s("RouterLink");return n(),c(r,{box:"border",flex:"~ row",bg:"neutral-50 dark:neutral-900",border:"neutral-100 dark:neutral-800/25 hover:primary-500/30 dark:hover:primary-400/30 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:"menu-icon-item",transition:"all ease-in-out duration-400",relative:"","w-full":"","items-center":"","overflow-hidden":"","rounded-lg":"","p-5":"","text-left":"",cursor:"pointer",to:e.to},{default:d(()=>[t("div",_,[t("div",v,a(e.title),1),t("div",f,[t("span",null,a(e.description),1)])]),typeof e.icon=="string"?(n(),u("div",{key:0,class:p(["menu-icon-item-icon",[e.icon]]),transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-24":"","translate-y-4":"",text:"neutral-400/50 dark:neutral-600/50"},null,2)):o("",!0),e.iconTemplate?m(i.$slots,"icon",{key:1},void 0,!0):o("",!0)]),_:3},8,["to"])}}}),y=x(h,[["__scopeId","data-v-b1037d36"]]);export{y as I};
|
assets/{IconStatusItem-KJGlQmYH.js → IconStatusItem-Df4oVjQ8.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as u,a2 as c,c as e,o as n,b as d,a as o,bg as m,W as a,Y as i,X as s,b_ as _}from"./index-
|
|
|
1 |
+
import{d as u,a2 as c,c as e,o as n,b as d,a as o,bg as m,W as a,Y as i,X as s,b_ as _}from"./index-D7HCX4VR.js";import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";const p={flex:"~ col",bg:"neutral-50 dark:neutral-800",border:"neutral-100 dark:neutral-800/25 hover:primary-500/30 dark:hover:primary-400/30 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:"menu-icon-status-item",transition:"all ease-in-out duration-400","w-full":"","cursor-pointer":"","of-hidden":"","rounded-xl":""},g={"z-1":"","flex-1":""},h={"text-lg":"","font-thin":"",class:"menu-icon-status-item-title",transition:"all ease-in-out duration-400"},f={text:"sm neutral-500 dark:neutral-400",class:"menu-icon-status-item-description",transition:"all ease-in-out duration-400"},k=["src"],x={"p-2":""},v={key:0,"size-3":"",bg:"green-500 dark:green-600","rounded-full":""},b={key:1,"size-3":"",bg:"neutral-400 dark:neutral-500","rounded-full":""},y=u({__name:"IconStatusItem",props:{title:null,description:null,icon:null,iconColor:null,iconImage:null,to:null,configured:{type:Boolean}},setup(r){const t=r;return(I,C)=>{const l=c("RouterLink");return n(),e("div",p,[d(l,{flex:"~ row",class:"menu-icon-status-item-link",bg:"white dark:neutral-900",transition:"all ease-in-out duration-400",relative:"","h-full":"","w-full":"","items-center":"","overflow-hidden":"","rounded-lg":"","p-5":"","text-left":"",to:t.to},{default:m(()=>[o("div",g,[o("div",h,i(t.title),1),o("div",f,[o("span",null,i(t.description||""),1)])]),t.icon?(n(),e("div",{key:0,class:s(["menu-icon-status-item-icon",[t.icon]]),transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-16":"","translate-y-2":"",text:"neutral-400/50 dark:neutral-600/50","grayscale-100":""},null,2)):a("",!0),t.iconColor?(n(),e("div",{key:1,class:s(["menu-icon-status-item-icon-color",[t.iconColor]]),transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-16":"","translate-y-2":"",text:"neutral-400/50 dark:neutral-600/50","grayscale-100":""},null,2)):a("",!0),t.iconImage?(n(),e("img",{key:2,src:t.iconImage,class:"menu-icon-status-item-icon-image",transition:"all ease-in-out duration-400",absolute:"","right-0":"","size-16":"","translate-y-2":"","grayscale-100":""},null,8,k)):a("",!0)]),_:1},8,["to"]),o("div",x,[t.configured?(n(),e("div",v)):(n(),e("div",b))])])}}}),B=_(y,[["__scopeId","data-v-b53bc3f0"]]);export{B as I};
|
assets/{Input.vue_vue_type_script_setup_true_lang-CB_gxIc9.js → Input.vue_vue_type_script_setup_true_lang-BTDULx3d.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as r,cg as n,ch as u,bh as d,d1 as s,o as i,c as p}from"./index-
|
|
|
1 |
+
import{d as r,cg as n,ch as u,bh as d,d1 as s,o as i,c as p}from"./index-D7HCX4VR.js";const m=["type"],y=r({__name:"Input",props:n({type:null},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const l=e,t=u(e,"modelValue");return(c,a)=>d((i(),p("input",{"onUpdate:modelValue":a[0]||(a[0]=o=>t.value=o),type:l.type||"text",border:"focus:primary-300 dark:focus:primary-400/50 2 solid neutral-100 dark:neutral-900",transition:"all duration-200 ease-in-out",text:"disabled:neutral-400 dark:disabled:neutral-600",cursor:"disabled:not-allowed","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":"",shadow:"sm",bg:"neutral-50 dark:neutral-950 focus:neutral-50 dark:focus:neutral-900"},null,8,m)),[[s,t.value]])}});export{y as _};
|
assets/{InputFile.vue_vue_type_script_setup_true_lang-Doe_GoGG.js → InputFile.vue_vue_type_script_setup_true_lang-M88MYfAL.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as g,cg as b,ch as v,e as p,ck as y,c as i,o as n,X as m,u as t,a as l,bA as k}from"./index-
|
|
|
1 |
+
import{d as g,cg as b,ch as v,e as p,ck as y,c as i,o as n,X as m,u as t,a as l,bA as k}from"./index-D7HCX4VR.js";const x=["accept","multiple"],h={key:0,text:"center","text-sm":""},D={key:1,text:"center","text-sm":""},C=g({__name:"InputFile",props:b({accept:null,multiple:{type:Boolean}},{modelValue:{required:!1,default:()=>[]},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const d=v(o,"modelValue"),u=p(),a=p(!1),r=y(a,150);function c(s){const e=s.target;e.files&&e.files.length>0&&(u.value=e.files[0]),d.value=Array.from(e.files||[]),a.value=!1}return(s,e)=>(n(),i("label",{relative:"",class:m(["min-h-[120px] flex flex-col cursor-pointer items-center justify-center rounded-xl p-6",[t(r)?"border-primary-400 dark:border-primary-600 hover:border-primary-300 dark:hover:border-primary-700":"border-neutral-200 dark:border-neutral-700 hover:border-primary-300 dark:hover:border-primary-700",t(r)?"bg-primary-50/5 dark:bg-primary-900/5":"bg-white/60 dark:bg-black/30 hover:bg-white/80 dark:hover:bg-black/40"]]),border:"dashed 2",transition:"all duration-300","cursor-pointer":"","opacity-95":"",hover:"scale-100 opacity-100 shadow-md dark:shadow-lg",onDragover:e[0]||(e[0]=f=>a.value=!0),onDragleave:e[1]||(e[1]=f=>a.value=!1)},[l("input",{type:"file",accept:o.accept,multiple:o.multiple,"cursor-pointer":"",class:"absolute inset-0 h-full w-full opacity-0",onChange:c},null,40,x),k(s.$slots,"default",{isDragging:t(r),firstFile:u.value,files:d.value},()=>[l("div",{class:m(["flex flex-col items-center",[t(r)?"text-primary-500 dark:text-primary-400":"text-neutral-400 dark:text-neutral-500"]])},[e[2]||(e[2]=l("div",{"i-solar:upload-square-line-duotone":"","mb-2":"","text-5xl":""},null,-1)),e[3]||(e[3]=l("p",{"font-medium":"",text:"center lg"}," Upload ",-1)),t(r)?(n(),i("p",h," Release to upload ")):(n(),i("p",D," Click or drag and drop a file here "))],2)])],34))}});export{C as _};
|
assets/{Model.vue_vue_type_script_setup_true_lang-DvOtu6Ci.js → Model.vue_vue_type_script_setup_true_lang-CrmnRvJ7.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{e as I,T as N,A as ve,L as P,a as X,D as fe,I as pe,l as H,M as me,b as Y}from"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-
|
|
|
1 |
+
import{e as I,T as N,A as ve,L as P,a as X,D as fe,I as pe,l as H,M as me,b as Y}from"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";import{cp as he,d as j,e as p,w as v,T as U,U as W,c as J,o as K,bA as Q,a8 as C,f as $,c7 as ge,cd as Me,bn as ye,a0 as we,be,cq as xe,cr as Fe,c3 as Se,a as Be,cf as Ce}from"./index-D7HCX4VR.js";import{r as Ae}from"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";const Ie=l=>Math.max(0,Math.min(1,l||0)),A=l=>Math.round(Ie(l)*255),Pe=he("rgb"),De=l=>{if(l===void 0)return;let r=A(l.r),n=A(l.g),o=A(l.b);return"#"+(1<<24|r<<16|n<<8|o).toString(16).slice(1)},ke=l=>De(Pe(l)),Oe=j({__name:"Canvas",props:{width:null,height:null,resolution:{default:2}},setup(l,{expose:r}){const n=l,o=p(),i=p(),t=p();async function m(u){P.registerTicker(X),I.add(N),i.value=new ve({width:n.width*n.resolution,height:n.height*n.resolution,backgroundAlpha:0,preserveDrawingBuffer:!0}),t.value=i.value.view,t.value.style.width="100%",t.value.style.height="100%",t.value.style.objectFit="cover",t.value.style.display="block",u.appendChild(i.value.view)}function b(){i.value&&i.value.renderer.resize(n.width,n.height)}v([()=>n.width,()=>n.height],()=>b()),v(()=>n.resolution,u=>{i.value&&u&&(i.value.renderer.resolution=u,b())}),U(async()=>o.value&&await m(o.value)),W(()=>{var u;return(u=i.value)==null?void 0:u.destroy()});async function e(){return new Promise(h=>{if(!t.value||!i.value)return h(null);i.value.render(),t.value.toBlob(h)})}function x(){return t.value}return r({captureFrame:e,canvasElement:x}),(u,h)=>(K(),J("div",{ref_key:"containerRef",ref:o,"h-full":"","w-full":""},[Q(u.$slots,"default",{app:i.value})],512))}});function q(l,r,n){return(1-n)*l+n*r}function G(l,r){return l+Math.random()*(r-l)}function _e(){let l=-1,r,n=-1;function o(i,t){(t>=l||t<n)&&(r=[G(-1,1),G(-1,.7)],n=t,l=t+Ae()/1e3,i.focusController.focus(r[0]*.5,r[1]*.5,!1)),i.focusController.update(t-n);const m=i.coreModel;m.setParameterValueById("ParamEyeBallX",q(m.getParameterValueById("ParamEyeBallX"),r[0],.3)),m.setParameterValueById("ParamEyeBallY",q(m.getParameterValueById("ParamEyeBallY"),r[1],.3))}return{update:o}}const Ve=j({__name:"Model",props:{app:null,mouthOpenSize:{default:0},width:null,height:null,paused:{type:Boolean,default:!1},focusAt:{default:()=>({x:0,y:0})},disableFocusAt:{type:Boolean,default:!1}},emits:["modelLoaded"],setup(l,{expose:r,emit:n}){const o=l,i=n,t=C(()=>o.app),m=C(()=>o.paused),b=C(()=>o.focusAt),e=p(),x=p(0),u=p(0),h=$(()=>Math.max(0,Math.min(100,o.mouthOpenSize))),Z=ge(),D=Me(Ce),ee=$(()=>D.between("sm","md").value||D.smaller("sm").value),ae=_e(),k=ye(new fe({alpha:.2,blur:0,distance:20,rotation:45}));function te(){return e.value.internalModel.coreModel}function _(a){if(!a.value)return;let s=2.2;ee.value&&(s=2.2);const g=o.height*.95/u.value*s,c=o.width*.95/x.value*s,M=Math.min(g,c);a.value.scale.set(M,M)}const{live2dModelFile:F,loadingLive2dModel:y,live2dCurrentMotion:le,availableLive2dMotions:L,live2dLoadSource:S,live2dModelUrl:E,themeColorsHue:oe,themeColorsHueDynamic:T}=we(be()),ne=p({group:"Idle",index:0});async function ie(){var V;if(!t.value)return;e.value&&(t.value.stage.removeChild(e.value),e.value.destroy(),e.value=void 0);const a=new P;S.value==="file"?await Y.setupLive2DModel(a,[F.value],{autoInteract:!1}):S.value==="url"&&await Y.setupLive2DModel(a,E.value,{autoInteract:!1}),e.value=a,t.value.stage.addChild(e.value),x.value=e.value.width,u.value=e.value.height,e.value.x=o.width/2,e.value.y=o.height,e.value.anchor.set(.5,.5),_(e),e.value.on("hit",f=>{e.value&&f.includes("body")&&e.value.motion("tap_body")});const s=e.value.internalModel,g=s.coreModel,c=s.motionManager;g.setParameterValueById("ParamMouthOpenY",h.value),L.value=Object.entries(c.definitions).flatMap(([f,d])=>d?d.map((de,ce)=>({motionName:f,motionIndex:ce,fileName:de.File})):[]).filter(Boolean),c.groups.idle&&((V=c.motionGroups[c.groups.idle])==null||V.forEach(f=>{f._motionData.curves.forEach(d=>{(d.id==="ParamEyeBallX"||d.id==="ParamEyeBallY")&&(d.id=`_${d.id}`)})}));const M=c.update;c.update=function(f,d){return M==null||M.call(this,f,d),c.state.currentGroup===c.groups.idle&&ae.update(s,d),!0},c.on("motionStart",(f,d)=>{ne.value={group:f,index:d}}),F.value&&await H.setItem("live2dModel",F.value),i("modelLoaded"),y.value=!1}async function re(){if(!t.value)return;P.registerTicker(X),I.add(N),I.add(pe);const a=await H.getItem("live2dModel");if(a){F.value=a,S.value="file",y.value=!0;return}if(E.value){S.value="url",y.value=!0;return}y.value=!1}async function R(a,s){await e.value.motion(a,s,me.FORCE)}const ue=xe(()=>{e.value&&(e.value.x=o.width/2,e.value.y=o.height,_(e))},100),z=p(),w=p(0);function B(){if(e.value){const a=getComputedStyle(z.value).backgroundColor;k.value.color=Number(ke(a).replace("#","0x")),e.value.filters=[k.value]}}v([()=>o.width,()=>o.height],()=>ue()),v(Z,B,{immediate:!0}),v([e,oe],B);function O(){B(),w.value=requestAnimationFrame(O)}v(T,()=>{T.value?w.value=requestAnimationFrame(O):(cancelAnimationFrame(w.value),w.value=0)},{immediate:!0}),v(h,a=>te().setParameterValueById("ParamMouthOpenY",a)),v(t,re),v(le,a=>R(a.group,a.index)),v(m,a=>{var s,g;return a?(s=t.value)==null?void 0:s.stop():(g=t.value)==null?void 0:g.start()}),v(b,a=>{e.value&&(o.disableFocusAt||e.value.focus(a.x,a.y))}),Fe(y,a=>{a&&ie()},{debounce:1e3}),U(B),W(()=>{var a;cancelAnimationFrame(w.value),e.value&&((a=t.value)==null||a.stage.removeChild(e.value))});function se(){return L.value}return r({setMotion:R,listMotionGroups:se}),(a,s)=>(K(),J(Se,null,[Be("div",{ref_key:"dropShadowColorComputer",ref:z,hidden:"",bg:"primary-400 dark:primary-500"},null,512),Q(a.$slots,"default")],64))}});export{Ve as _,Oe as a,G as r};
|
assets/{ProviderAdvancedSettings.vue_vue_type_script_setup_true_lang-hfHLOit3.js → ProviderAdvancedSettings.vue_vue_type_script_setup_true_lang-DyAoTyc1.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as r}from"./Collapsable.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as r}from"./Collapsable.vue_vue_type_script_setup_true_lang-BgecN6qM.js";import{d,e as c,bf as u,o as f,bg as n,a as e,bA as m,Y as p,X as v}from"./index-D7HCX4VR.js";const _=["onClick"],b={class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},g={"mt-4":""},w=d({__name:"ProviderAdvancedSettings",props:{title:null,initialVisible:{type:Boolean}},setup(i){const a=c(i.initialVisible||!1);function o(){a.value=!a.value}return(l,s)=>(f(),u(r,{"w-full":""},{trigger:n(t=>[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:()=>t.setVisible(!t.visible)&&o()},[e("h2",b,[e("span",null,p(i.title||"Advanced"),1)]),e("div",{transform:"",transition:"transform duration-250",class:v({"rotate-180":t.visible})},s[0]||(s[0]=[e("div",{"i-solar:alt-arrow-down-bold-duotone":""},null,-1)]),2)],8,_)]),default:n(()=>[e("div",g,[m(l.$slots,"default")])]),_:3}))}});export{w as _};
|
assets/{ProviderApiKeyInput.vue_vue_type_script_setup_true_lang-CtHTqn6c.js → ProviderApiKeyInput.vue_vue_type_script_setup_true_lang-BKRXTEtv.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as t}from"./FieldInput.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as t}from"./FieldInput.vue_vue_type_script_setup_true_lang-npB69nXh.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";import{d as u,cg as n,$ as p,ch as m,f as c,bf as f,o as v,u as a}from"./index-D7HCX4VR.js";const g=u({__name:"ProviderApiKeyInput",props:n({providerName:null,placeholder:null,required:{type:Boolean},label:null,description:null},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const l=e,{t:d}=p(),o=m(e,"modelValue"),i=c(()=>l.description||`API Key for ${l.providerName}`);return(V,r)=>(v(),f(a(t),{modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=s=>o.value=s),label:e.label||a(d)("settings.pages.providers.common.fields.field.api-key.label"),description:i.value,placeholder:e.placeholder,required:e.required,type:"password"},null,8,["modelValue","label","description","placeholder","required"]))}});export{g as _};
|
assets/{ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-C-QAdPs4.js → ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-CY_3wYwt.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as d}from"./FieldInput.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as d}from"./FieldInput.vue_vue_type_script_setup_true_lang-npB69nXh.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";import{d as t,cg as u,ch as s,bf as n,o as i,u as p}from"./index-D7HCX4VR.js";const b=t({__name:"ProviderBaseUrlInput",props:u({placeholder:null,required:{type:Boolean},label:null,description:null},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(l){const e=l,o=s(l,"modelValue");return(m,r)=>(i(),n(p(d),{modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=a=>o.value=a),label:e.label||"Base URL",description:e.description||"Custom base URL (optional)",placeholder:e.placeholder,required:e.required,type:"text"},null,8,["modelValue","label","description","placeholder","required"]))}});export{b as _};
|
assets/{ProviderBasicSettings.vue_vue_type_script_setup_true_lang-D6ReMgam.js → ProviderBasicSettings.vue_vue_type_script_setup_true_lang-FDIyR7vt.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as i,c as s,o as a,a as t,bA as d,W as u,Y as r}from"./index-
|
|
|
1 |
+
import{d as i,c as s,o as a,a as t,bA as d,W as u,Y as r}from"./index-D7HCX4VR.js";const c={flex:"~ col gap-6"},x={flex:"~ row","items-center":"","justify-between":""},f={class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},m={text:"neutral-400 dark:neutral-500"},v=i({__name:"ProviderBasicSettings",props:{title:null,description:null,onReset:{type:Function}},setup(e){return(l,n)=>(a(),s("div",c,[t("div",x,[t("div",null,[t("h2",f,r(e.title||"Basic"),1),t("div",m,[t("span",null,r(e.description||"Essential settings"),1)])]),e.onReset?(a(),s("button",{key:0,title:"Reset settings",flex:"","items-center":"","justify-center":"","rounded-full":"","p-2":"",transition:"all duration-250 ease-in-out",text:"neutral-500 dark:neutral-400",bg:"transparent dark:transparent hover:neutral-200 dark:hover:neutral-800 active:neutral-300 dark:active:neutral-700",onClick:n[0]||(n[0]=(...o)=>e.onReset&&e.onReset(...o))},n[1]||(n[1]=[t("div",{"i-solar:refresh-bold-duotone":"","text-xl":""},null,-1)]))):u("",!0)]),d(l.$slots,"default")]))}});export{v as _};
|
assets/{ProviderSettingsContainer.vue_vue_type_script_setup_true_lang-BmYRx-RP.js → ProviderSettingsContainer.vue_vue_type_script_setup_true_lang-C8iT0FMz.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as o,c as r,o as t,bA as n}from"./index-
|
|
|
1 |
+
import{d as o,c as r,o as t,bA as n}from"./index-D7HCX4VR.js";const a={bg:"neutral-50 dark:[rgba(0,0,0,0.3)]","rounded-xl":"","p-4":"",flex:"~ col gap-6"},l=o({__name:"ProviderSettingsContainer",setup(s){return(e,c)=>(t(),r("div",a,[n(e.$slots,"default")]))}});export{l as _};
|
assets/{ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-XZ1ZaiKK.js → ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-BXTSNxW7.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as a,c2 as i,c as o,o as t,bA as s,bh as c,a as l,X as d,c3 as p}from"./index-
|
|
|
1 |
+
import{d as a,c2 as i,c as o,o as t,bA as s,bh as c,a as l,X as d,c3 as p}from"./index-D7HCX4VR.js";const u={text:"neutral-200/50 dark:neutral-600/20","pointer-events-none":"",fixed:"",top:"[calc(100dvh-15rem)]","bottom-0":"","right--5":"","z--1":"",initial:{scale:.9,opacity:0,x:20},enter:{scale:1,opacity:1,x:0},duration:500,"size-60":""},_=a({__name:"ProviderSettingsLayout",props:{providerName:null,providerIcon:null,providerIconColor:null,onBack:{type:Function}},setup(e){return(n,v)=>{const r=i("motion");return t(),o(p,null,[s(n.$slots,"default"),c((t(),o("div",u,[l("div",{text:"60",class:d(e.providerIcon||e.providerIconColor)},null,2)])),[[r]])],64)}}});export{_};
|
assets/{RadioCardSimple-DvUZYoKi.js → RadioCardSimple-B9zVtorf.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as g,cg as f,ch as w,e as b,c as n,o as d,X as o,bh as V,a as t,c6 as I,W as v,Y as c,b as $,bg as S,cl as k,u as B,b_ as C,f as T,ca as z,c3 as E,c4 as N,bf as D}from"./index-D2WYGmMW.js";import{_ as P}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-CRbTvk1B.js";import{_ as U}from"./Input.vue_vue_type_script_setup_true_lang-CB_gxIc9.js";import"./Select.vue_vue_type_style_index_0_lang-BH7HpSd3.js";import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-CDcOtXKI.js";const q=["checked","name","value"],L={class:"relative mr-3 mt-0.5 flex-shrink-0"},j={class:"w-full flex flex-col gap-2"},F={class:"flex items-center"},Q={key:0,class:"relative"},W=["title"],X={key:1,class:"mt-2"},Y=g({__name:"RadioCardDetail",props:f({id:null,name:null,value:null,title:null,description:null,deprecated:{type:Boolean,default:!1},showExpandCollapse:{type:Boolean,default:!0},expandCollapseThreshold:{default:100},customInputValue:{default:""},customInputPlaceholder:{default:""},showCustomInput:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=w(e,"modelValue"),m=b(!1);function s(){m.value=!m.value}return(x,r)=>(d(),n("label",{key:e.id,class:o(["form_radio-card-detail relative flex cursor-pointer items-start rounded-xl p-3 pr-[20px]",[a.value===e.value?"bg-primary-50 dark:bg-primary-900/20 border-primary-100 dark:border-primary-900 hover:border-primary-500/30 dark:hover:border-primary-400/30":"bg-white dark:bg-neutral-900/20 border-neutral-100 dark:border-neutral-900 hover:border-primary-500/30 dark:hover:border-primary-400/30",a.value===e.value?"form_radio-card-detail-active":"",e.deprecated?"opacity-60":""]]),transition:"all duration-200 ease-in-out",border:"2 solid"},[V(t("input",{"onUpdate:modelValue":r[0]||(r[0]=i=>a.value=i),checked:a.value===e.value,type:"radio",name:e.name,value:e.value,class:"absolute opacity-0"},null,8,q),[[I,a.value]]),t("div",L,[t("div",{class:o(["size-5 border-2 rounded-full transition-colors duration-200",[a.value===e.value?"border-primary-500 dark:border-primary-400":"border-neutral-300 dark:border-neutral-600"]])},[t("div",{class:o(["absolute left-1/2 top-1/2 size-3 rounded-full transition-opacity duration-200 -translate-x-1/2 -translate-y-1/2",[a.value===e.value?"opacity-100 bg-primary-500 dark:bg-primary-400":"opacity-0"]])},null,2)],2)]),t("div",j,[t("div",F,[t("span",{class:o(["line-clamp-1 font-thin",[a.value===e.value?"text-neutral-700 dark:text-neutral-300":"text-neutral-700 dark:text-neutral-400"]])},c(e.title),3)]),e.description?(d(),n("div",Q,[$(B(P),null,{default:S(()=>[!m.value||!e.showExpandCollapse?(d(),n("div",{key:0,class:o(["line-clamp-2 cursor-pointer text-xs",[a.value===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-500 dark:text-neutral-500"]]),title:e.description,onClick:k(s,["prevent"])},c(e.description),11,W)):(d(),n("div",{key:1,class:o(["cursor-pointer text-xs",[a.value===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-500 dark:text-neutral-500"]]),onClick:k(s,["prevent"])},c(e.description),3))]),_:1}),e.showExpandCollapse&&e.description.length>e.expandCollapseThreshold?(d(),n("button",{key:0,class:"mt-0.5 inline-flex items-center text-xs text-primary-500 dark:text-primary-600",onClick:k(s,["prevent"])},[t("span",null,c(m.value?"Show less":"Show more"),1),t("div",{class:o([{"rotate-180":m.value},"transition-transform duration-200"])},r[2]||(r[2]=[t("div",{"i-solar:alt-arrow-down-bold-duotone":"","ml-0.5":"","text-xs":""},null,-1)]),2)])):v("",!0)])):v("",!0),e.showCustomInput&&a.value===e.value?(d(),n("div",X,[$(B(U),{modelValue:a.value,"onUpdate:modelValue":r[1]||(r[1]=i=>a.value=i),type:"text",class:"w-full border border-neutral-300 rounded bg-white px-2 py-1 text-sm dark:border-neutral-700 dark:bg-neutral-900",placeholder:e.customInputPlaceholder},null,8,["modelValue","placeholder"])])):v("",!0)])],2))}}),A=C(Y,[["__scopeId","data-v-01e1298e"]]),G={class:"radio-card-detail-many-select"},H={key:0,class:"relative","inline-flex":"~","w-full":"","items-center":""},J=["placeholder"],K={class:"mt-4 space-y-2"},O={key:0,class:"text-sm text-neutral-500 dark:text-neutral-400"},Z={key:1,class:"flex items-center gap-3 border border-2 border-amber-200 rounded-xl bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20"},_={class:"flex flex-col"},ee={class:"font-medium"},te={class:"text-sm text-amber-600 dark:text-amber-400"},ae={class:"relative"},le=g({__name:"RadioCardManySelect",props:f({items:null,searchable:{type:Boolean,default:!0},searchPlaceholder:{default:"Search..."},searchNoResultsTitle:{default:"No results found"},searchNoResultsDescription:{default:"Try a different search term"},searchResultsText:{default:"{count} of {total} results"},customInputPlaceholder:{default:"Enter custom value"},expandButtonText:{default:"Show more"},collapseButtonText:{default:"Show less"},showMore:{type:Boolean,default:!0}},{modelValue:{required:!0},modelModifiers:{}}),emits:f(["update:customValue"],["update:modelValue"]),setup(e,{emit:a}){const m=e,s=a,x=w(e,"modelValue"),r=b(""),i=b(!1),R=b(""),h=T(()=>{if(!r.value)return m.items;const p=r.value.toLowerCase();return m.items.filter(l=>l.name.toLowerCase().includes(p)||l.description&&l.description.toLowerCase().includes(p))});function M(p){R.value=p,s("update:customValue",p)}return(p,l)=>(d(),n("div",G,[e.searchable?(d(),n("div",H,[l[4]||(l[4]=t("div",{class:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},[t("div",{"i-solar:magnifer-line-duotone":"",class:"text-neutral-500 dark:text-neutral-400"})],-1)),V(t("input",{"onUpdate:modelValue":l[0]||(l[0]=u=>r.value=u),type:"search",class:"w-full rounded-xl p-2.5 pl-10 text-sm outline-none",border:"focus:primary-100 dark:focus:primary-400/50 2 solid neutral-200 dark:neutral-800",transition:"all duration-200 ease-in-out",bg:"white dark:neutral-900",placeholder:e.searchPlaceholder},null,8,J),[[z,r.value]])])):v("",!0),t("div",K,[r.value?(d(),n("div",O,c(e.searchResultsText.replace("{count}",h.value.length.toString()).replace("{total}",e.items.length.toString())),1)):v("",!0),r.value&&h.value.length===0?(d(),n("div",Z,[l[5]||(l[5]=t("div",{"i-solar:info-circle-line-duotone":"",class:"text-2xl text-amber-500 dark:text-amber-400"},null,-1)),t("div",_,[t("span",ee,c(e.searchNoResultsTitle),1),t("span",te,c(e.searchNoResultsDescription.replace("{query}",r.value)),1)])])):v("",!0),t("div",ae,[t("div",{class:o(["grid auto-cols-[350px] grid-flow-col max-h-[calc(100dvh-7lh)] gap-4 overflow-x-auto pb-4 scrollbar-none",[i.value?"grid-cols-1 md:grid-cols-2 grid-flow-row auto-cols-auto":""]]),transition:"all duration-200 ease-in-out",style:{"scroll-snap-type":"x mandatory"}},[(d(!0),n(E,null,N(h.value,u=>(d(),D(A,{id:u.id,key:u.id,modelValue:x.value,"onUpdate:modelValue":l[1]||(l[1]=y=>x.value=y),value:u.id,title:u.name,description:u.description,deprecated:u.deprecated,"show-expand-collapse":e.showMore,"expand-collapse-threshold":100,"show-custom-input":u.customizable,"custom-input-value":R.value,"custom-input-placeholder":e.customInputPlaceholder,name:"radio-card-detail-many-select",class:"scroll-snap-align-start","onUpdate:customInputValue":l[2]||(l[2]=y=>M(y))},null,8,["id","modelValue","value","title","description","deprecated","show-expand-collapse","show-custom-input","custom-input-value","custom-input-placeholder"]))),128))],2),t("div",{bg:"neutral-100 dark:[rgba(0,0,0,0.3)]","rounded-xl":"",class:o([i.value?"w-full":"mt-4 w-full rounded-lg"])},[t("button",{"w-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","rounded-lg":"","py-2":"",transition:"all duration-200 ease-in-out",class:o([i.value?"bg-primary-500 hover:bg-primary-600 text-white":"bg-white dark:bg-neutral-900 hover:bg-neutral-100 dark:hover:bg-neutral-800"]),onClick:l[3]||(l[3]=u=>i.value=!i.value)},[t("span",null,c(i.value?e.collapseButtonText:e.expandButtonText),1),t("div",{class:o([i.value?"rotate-180":"","text-lg"]),"i-solar:alt-arrow-down-bold-duotone":"",transition:"transform duration-200 ease-in-out"},null,2)],2)],2)])])]))}}),me=C(le,[["__scopeId","data-v-7ad6d626"]]),re=["checked","name","value"],oe={flex:"~ col","min-h-16":"","w-full":"","items-start":"","justify-center":"","pb-2":"","pl-5":"","pr-4":"","pt-2":""},de=g({__name:"RadioCardSimple",props:f({id:null,name:null,value:null,title:null,description:null},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=w(e,"modelValue");return(m,s)=>(d(),n("label",{key:e.id,border:"2px solid",class:o(["form_radio-card-simple relative",[a.value===e.value?"bg-primary-50 dark:bg-primary-900/20 border-primary-100 dark:border-primary-900 hover:border-primary-500/30 dark:hover:border-primary-400/30":"bg-white dark:bg-neutral-900/20 border-neutral-100 dark:border-neutral-900 hover:border-primary-500/30 dark:hover:border-primary-400/30",a.value===e.value?"form_radio-card-simple-active":""]]),transition:"all duration-200 ease-in-out",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-xl":"","p-4":"","text-left":""},[V(t("input",{"onUpdate:modelValue":s[0]||(s[0]=x=>a.value=x),checked:a.value===e.value,type:"radio",name:e.name,value:e.value,class:"absolute opacity-0 [&:checked+div]:border-primary-500 [&:checked+div_.radio-dot]:opacity-100 dark:[&:checked+div]:border-primary-400"},null,8,re),[[I,a.value]]),s[1]||(s[1]=t("div",{class:"radio-circle absolute left-2 top-2 size-5 rounded-full",border:"2 solid neutral-300 dark:neutral-600",transition:"all duration-200 ease-in-out"},[t("div",{class:"radio-dot absolute left-1/2 top-1/2 size-3 rounded-full opacity-0 -translate-x-1/2 -translate-y-1/2",transition:"all duration-200 ease-in-out",bg:"primary-500 dark:primary-400"})],-1)),t("div",oe,[t("span",{class:o(["radio-item-name font-thin",[a.value===e.value?"text-neutral-700 dark:text-neutral-300":"text-neutral-500 dark:text-neutral-500"]]),text:"md",transition:"all duration-200 ease-in-out"},c(e.title),3),e.description?(d(),n("span",{key:0,class:o(["radio-item-description",[a.value===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-400 dark:text-neutral-600"]]),transition:"all duration-200 ease-in-out"},c(e.description),3)):v("",!0)]),s[2]||(s[2]=t("div",{class:"bg-dotted-neutral-200/80 dark:bg-dotted-neutral-700/50 [input:checked~&]:bg-dotted-primary-300/50 dark:[input:checked~&]:bg-dotted-primary-200/20",absolute:"","inset-0":"","z--1":"",style:{"background-size":"10px 10px","mask-image":"linear-gradient(165deg, white 30%, transparent 50%)"}},null,-1))],2))}}),ve=C(de,[["__scopeId","data-v-50bfb5e4"]]);export{me as R,ve as a};
|
|
|
1 |
+
import{d as g,cg as f,ch as w,e as b,c as n,o as d,X as o,bh as V,a as t,c6 as I,W as v,Y as c,b as $,bg as S,cl as k,u as B,b_ as C,f as T,ca as z,c3 as E,c4 as N,bf as D}from"./index-D7HCX4VR.js";import{_ as P}from"./TransitionVertical.vue_vue_type_script_setup_true_lang-DI4_VHvP.js";import{_ as U}from"./Input.vue_vue_type_script_setup_true_lang-BTDULx3d.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";const q=["checked","name","value"],L={class:"relative mr-3 mt-0.5 flex-shrink-0"},j={class:"w-full flex flex-col gap-2"},F={class:"flex items-center"},Q={key:0,class:"relative"},W=["title"],X={key:1,class:"mt-2"},Y=g({__name:"RadioCardDetail",props:f({id:null,name:null,value:null,title:null,description:null,deprecated:{type:Boolean,default:!1},showExpandCollapse:{type:Boolean,default:!0},expandCollapseThreshold:{default:100},customInputValue:{default:""},customInputPlaceholder:{default:""},showCustomInput:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=w(e,"modelValue"),m=b(!1);function s(){m.value=!m.value}return(x,r)=>(d(),n("label",{key:e.id,class:o(["form_radio-card-detail relative flex cursor-pointer items-start rounded-xl p-3 pr-[20px]",[a.value===e.value?"bg-primary-50 dark:bg-primary-900/20 border-primary-100 dark:border-primary-900 hover:border-primary-500/30 dark:hover:border-primary-400/30":"bg-white dark:bg-neutral-900/20 border-neutral-100 dark:border-neutral-900 hover:border-primary-500/30 dark:hover:border-primary-400/30",a.value===e.value?"form_radio-card-detail-active":"",e.deprecated?"opacity-60":""]]),transition:"all duration-200 ease-in-out",border:"2 solid"},[V(t("input",{"onUpdate:modelValue":r[0]||(r[0]=i=>a.value=i),checked:a.value===e.value,type:"radio",name:e.name,value:e.value,class:"absolute opacity-0"},null,8,q),[[I,a.value]]),t("div",L,[t("div",{class:o(["size-5 border-2 rounded-full transition-colors duration-200",[a.value===e.value?"border-primary-500 dark:border-primary-400":"border-neutral-300 dark:border-neutral-600"]])},[t("div",{class:o(["absolute left-1/2 top-1/2 size-3 rounded-full transition-opacity duration-200 -translate-x-1/2 -translate-y-1/2",[a.value===e.value?"opacity-100 bg-primary-500 dark:bg-primary-400":"opacity-0"]])},null,2)],2)]),t("div",j,[t("div",F,[t("span",{class:o(["line-clamp-1 font-thin",[a.value===e.value?"text-neutral-700 dark:text-neutral-300":"text-neutral-700 dark:text-neutral-400"]])},c(e.title),3)]),e.description?(d(),n("div",Q,[$(B(P),null,{default:S(()=>[!m.value||!e.showExpandCollapse?(d(),n("div",{key:0,class:o(["line-clamp-2 cursor-pointer text-xs",[a.value===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-500 dark:text-neutral-500"]]),title:e.description,onClick:k(s,["prevent"])},c(e.description),11,W)):(d(),n("div",{key:1,class:o(["cursor-pointer text-xs",[a.value===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-500 dark:text-neutral-500"]]),onClick:k(s,["prevent"])},c(e.description),3))]),_:1}),e.showExpandCollapse&&e.description.length>e.expandCollapseThreshold?(d(),n("button",{key:0,class:"mt-0.5 inline-flex items-center text-xs text-primary-500 dark:text-primary-600",onClick:k(s,["prevent"])},[t("span",null,c(m.value?"Show less":"Show more"),1),t("div",{class:o([{"rotate-180":m.value},"transition-transform duration-200"])},r[2]||(r[2]=[t("div",{"i-solar:alt-arrow-down-bold-duotone":"","ml-0.5":"","text-xs":""},null,-1)]),2)])):v("",!0)])):v("",!0),e.showCustomInput&&a.value===e.value?(d(),n("div",X,[$(B(U),{modelValue:a.value,"onUpdate:modelValue":r[1]||(r[1]=i=>a.value=i),type:"text",class:"w-full border border-neutral-300 rounded bg-white px-2 py-1 text-sm dark:border-neutral-700 dark:bg-neutral-900",placeholder:e.customInputPlaceholder},null,8,["modelValue","placeholder"])])):v("",!0)])],2))}}),A=C(Y,[["__scopeId","data-v-01e1298e"]]),G={class:"radio-card-detail-many-select"},H={key:0,class:"relative","inline-flex":"~","w-full":"","items-center":""},J=["placeholder"],K={class:"mt-4 space-y-2"},O={key:0,class:"text-sm text-neutral-500 dark:text-neutral-400"},Z={key:1,class:"flex items-center gap-3 border border-2 border-amber-200 rounded-xl bg-amber-50 p-4 dark:border-amber-800 dark:bg-amber-900/20"},_={class:"flex flex-col"},ee={class:"font-medium"},te={class:"text-sm text-amber-600 dark:text-amber-400"},ae={class:"relative"},le=g({__name:"RadioCardManySelect",props:f({items:null,searchable:{type:Boolean,default:!0},searchPlaceholder:{default:"Search..."},searchNoResultsTitle:{default:"No results found"},searchNoResultsDescription:{default:"Try a different search term"},searchResultsText:{default:"{count} of {total} results"},customInputPlaceholder:{default:"Enter custom value"},expandButtonText:{default:"Show more"},collapseButtonText:{default:"Show less"},showMore:{type:Boolean,default:!0}},{modelValue:{required:!0},modelModifiers:{}}),emits:f(["update:customValue"],["update:modelValue"]),setup(e,{emit:a}){const m=e,s=a,x=w(e,"modelValue"),r=b(""),i=b(!1),R=b(""),h=T(()=>{if(!r.value)return m.items;const p=r.value.toLowerCase();return m.items.filter(l=>l.name.toLowerCase().includes(p)||l.description&&l.description.toLowerCase().includes(p))});function M(p){R.value=p,s("update:customValue",p)}return(p,l)=>(d(),n("div",G,[e.searchable?(d(),n("div",H,[l[4]||(l[4]=t("div",{class:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"},[t("div",{"i-solar:magnifer-line-duotone":"",class:"text-neutral-500 dark:text-neutral-400"})],-1)),V(t("input",{"onUpdate:modelValue":l[0]||(l[0]=u=>r.value=u),type:"search",class:"w-full rounded-xl p-2.5 pl-10 text-sm outline-none",border:"focus:primary-100 dark:focus:primary-400/50 2 solid neutral-200 dark:neutral-800",transition:"all duration-200 ease-in-out",bg:"white dark:neutral-900",placeholder:e.searchPlaceholder},null,8,J),[[z,r.value]])])):v("",!0),t("div",K,[r.value?(d(),n("div",O,c(e.searchResultsText.replace("{count}",h.value.length.toString()).replace("{total}",e.items.length.toString())),1)):v("",!0),r.value&&h.value.length===0?(d(),n("div",Z,[l[5]||(l[5]=t("div",{"i-solar:info-circle-line-duotone":"",class:"text-2xl text-amber-500 dark:text-amber-400"},null,-1)),t("div",_,[t("span",ee,c(e.searchNoResultsTitle),1),t("span",te,c(e.searchNoResultsDescription.replace("{query}",r.value)),1)])])):v("",!0),t("div",ae,[t("div",{class:o(["grid auto-cols-[350px] grid-flow-col max-h-[calc(100dvh-7lh)] gap-4 overflow-x-auto pb-4 scrollbar-none",[i.value?"grid-cols-1 md:grid-cols-2 grid-flow-row auto-cols-auto":""]]),transition:"all duration-200 ease-in-out",style:{"scroll-snap-type":"x mandatory"}},[(d(!0),n(E,null,N(h.value,u=>(d(),D(A,{id:u.id,key:u.id,modelValue:x.value,"onUpdate:modelValue":l[1]||(l[1]=y=>x.value=y),value:u.id,title:u.name,description:u.description,deprecated:u.deprecated,"show-expand-collapse":e.showMore,"expand-collapse-threshold":100,"show-custom-input":u.customizable,"custom-input-value":R.value,"custom-input-placeholder":e.customInputPlaceholder,name:"radio-card-detail-many-select",class:"scroll-snap-align-start","onUpdate:customInputValue":l[2]||(l[2]=y=>M(y))},null,8,["id","modelValue","value","title","description","deprecated","show-expand-collapse","show-custom-input","custom-input-value","custom-input-placeholder"]))),128))],2),t("div",{bg:"neutral-100 dark:[rgba(0,0,0,0.3)]","rounded-xl":"",class:o([i.value?"w-full":"mt-4 w-full rounded-lg"])},[t("button",{"w-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","rounded-lg":"","py-2":"",transition:"all duration-200 ease-in-out",class:o([i.value?"bg-primary-500 hover:bg-primary-600 text-white":"bg-white dark:bg-neutral-900 hover:bg-neutral-100 dark:hover:bg-neutral-800"]),onClick:l[3]||(l[3]=u=>i.value=!i.value)},[t("span",null,c(i.value?e.collapseButtonText:e.expandButtonText),1),t("div",{class:o([i.value?"rotate-180":"","text-lg"]),"i-solar:alt-arrow-down-bold-duotone":"",transition:"transform duration-200 ease-in-out"},null,2)],2)],2)])])]))}}),me=C(le,[["__scopeId","data-v-7ad6d626"]]),re=["checked","name","value"],oe={flex:"~ col","min-h-16":"","w-full":"","items-start":"","justify-center":"","pb-2":"","pl-5":"","pr-4":"","pt-2":""},de=g({__name:"RadioCardSimple",props:f({id:null,name:null,value:null,title:null,description:null},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const a=w(e,"modelValue");return(m,s)=>(d(),n("label",{key:e.id,border:"2px solid",class:o(["form_radio-card-simple relative",[a.value===e.value?"bg-primary-50 dark:bg-primary-900/20 border-primary-100 dark:border-primary-900 hover:border-primary-500/30 dark:hover:border-primary-400/30":"bg-white dark:bg-neutral-900/20 border-neutral-100 dark:border-neutral-900 hover:border-primary-500/30 dark:hover:border-primary-400/30",a.value===e.value?"form_radio-card-simple-active":""]]),transition:"all duration-200 ease-in-out",flex:"~ col",block:"","min-w-50":"","w-fit":"","cursor-pointer":"","items-start":"","rounded-xl":"","p-4":"","text-left":""},[V(t("input",{"onUpdate:modelValue":s[0]||(s[0]=x=>a.value=x),checked:a.value===e.value,type:"radio",name:e.name,value:e.value,class:"absolute opacity-0 [&:checked+div]:border-primary-500 [&:checked+div_.radio-dot]:opacity-100 dark:[&:checked+div]:border-primary-400"},null,8,re),[[I,a.value]]),s[1]||(s[1]=t("div",{class:"radio-circle absolute left-2 top-2 size-5 rounded-full",border:"2 solid neutral-300 dark:neutral-600",transition:"all duration-200 ease-in-out"},[t("div",{class:"radio-dot absolute left-1/2 top-1/2 size-3 rounded-full opacity-0 -translate-x-1/2 -translate-y-1/2",transition:"all duration-200 ease-in-out",bg:"primary-500 dark:primary-400"})],-1)),t("div",oe,[t("span",{class:o(["radio-item-name font-thin",[a.value===e.value?"text-neutral-700 dark:text-neutral-300":"text-neutral-500 dark:text-neutral-500"]]),text:"md",transition:"all duration-200 ease-in-out"},c(e.title),3),e.description?(d(),n("span",{key:0,class:o(["radio-item-description",[a.value===e.value?"text-neutral-600 dark:text-neutral-400":"text-neutral-400 dark:text-neutral-600"]]),transition:"all duration-200 ease-in-out"},c(e.description),3)):v("",!0)]),s[2]||(s[2]=t("div",{class:"bg-dotted-neutral-200/80 dark:bg-dotted-neutral-700/50 [input:checked~&]:bg-dotted-primary-300/50 dark:[input:checked~&]:bg-dotted-primary-200/20",absolute:"","inset-0":"","z--1":"",style:{"background-size":"10px 10px","mask-image":"linear-gradient(165deg, white 30%, transparent 50%)"}},null,-1))],2))}}),ve=C(de,[["__scopeId","data-v-50bfb5e4"]]);export{me as R,ve as a};
|
assets/{Screen.vue_vue_type_script_setup_true_lang-Cc1O0cHW.js → Screen.vue_vue_type_script_setup_true_lang-CQ37H7oV.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as p,e as h,cd as w,ce as g,c0 as _,f as u,w as f,T as k,c as B,o as E,bA as R,cf as S}from"./index-
|
|
|
1 |
+
import{d as p,e as h,cd as w,ce as g,c0 as _,f as u,w as f,T as k,c as B,o as E,bA as R,cf as S}from"./index-D7HCX4VR.js";const y=p({__name:"Screen",setup(T){const l=h(),s=w(S),{width:i,height:d}=g(),t=_(l,{immediate:!0,windowResize:!0,reset:!0}),n=u(()=>s.between("sm","md").value||s.smaller("sm").value),r=u(()=>s.between("md","lg").value),v=u(()=>s.greaterOrEqual("lg").value),m=u(()=>v.value?t.width.value:n.value||r.value?i.value-16:t.width.value),a=h(0);return f([i,d,l],()=>{var o,c;const e=(c=(o=l.value)==null?void 0:o.parentElement)==null?void 0:c.getBoundingClientRect();v.value||n.value||r.value?a.value=(e==null?void 0:e.height)||0:a.value=600}),f([t.width,t.height],()=>{v.value||n.value||r.value?a.value=t.height.value:a.value=600}),k(async()=>{l.value&&t.update()}),(e,o)=>(E(),B("div",{ref_key:"containerRef",ref:l,"h-full":"","w-full":""},[R(e.$slots,"default",{width:m.value,height:a.value})],512))}});export{y as _};
|
assets/Select-BCJa5409.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.form_input-range[data-v-d88ffd28]{--height: 2em;min-height:var(--height);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border-radius:4px;transition:background-color .2s ease;--thumb-width: 4px;--thumb-height: var(--height);--thumb-box-shadow: 0 0 0px #e6e6e6;--thumb-border: none;--thumb-border-radius: 999px;--thumb-background: oklch(80% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0));--thumb-background-hover: oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0));--thumb-background-active: oklch(70% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0));--track-height: calc(var(--height) - var(--track-value-padding) * 2);--track-box-shadow: none;--track-border: solid 2px rgb(238, 238, 238);--track-border-radius: 6px;--track-background: rgb(238, 238, 238);--track-background-hover: rgb(238, 238, 238);--track-background-active: rgb(238, 238, 238);--track-value-background: rgb(255, 255, 255);--track-value-background-hover: rgb(255, 255, 255);--track-value-background-active: rgb(255, 255, 255);--track-value-padding: 2px}.dark .form_input-range[data-v-d88ffd28]{--thumb-background: oklch(70% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0));--thumb-background-hover: oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0));--thumb-background-active: oklch(80% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0));--track-border: solid 2px rgb(44, 44, 44);--track-background: rgb(44, 44, 44);--track-background-hover: rgb(44, 44, 44);--track-background-active: rgb(44, 44, 44);--track-value-background: rgb(164, 164, 164);--track-value-background-hover: rgb(164, 164, 164);--track-value-background-active: rgb(164, 164, 164)}.form_input-range.slider-progress[data-v-d88ffd28]{--range: calc(var(--max) - var(--min));--ratio: calc((var(--value) - var(--min)) / var(--range));--sx: calc(.5 * 0em + var(--ratio) * (100% - 0em))}.form_input-range[data-v-d88ffd28]:focus{outline:none}.form_input-range[data-v-d88ffd28]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:var(--thumb-border);box-shadow:var(--thumb-box-shadow);margin-top:calc(var(--track-height) * .5 - var(--thumb-height) * .5 - 2px);margin-left:calc(0 - var(--track-value-padding));cursor:col-resize;transition:background .2s ease-in-out,box-shadow .2s ease-in-out,border-color .2s ease-in-out,transform .2s ease-in-out}.form_input-range[data-v-d88ffd28]::-webkit-slider-runnable-track{height:var(--track-height);border:var(--track-border);border-radius:var(--track-border-radius);background:var(--track-background);box-shadow:var(--track-box-shadow);position:relative;cursor:col-resize;transition:box-shadow .2s ease-in-out,border-color .2s ease-in-out}.form_input-range[data-v-d88ffd28]::-webkit-slider-thumb:hover{background:var(--thumb-background-hover)}.form_input-range[data-v-d88ffd28]:hover::-webkit-slider-runnable-track{background:var(--track-background-hover)}.form_input-range[data-v-d88ffd28]::-webkit-slider-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-d88ffd28]:active::-webkit-slider-runnable-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-d88ffd28]::-webkit-slider-runnable-track{margin-right:calc(0 - var(--track-value-padding));background:linear-gradient(var(--track-value-background),var(--track-value-background)) 0 / var(--sx) 100% no-repeat,var(--track-background)}.form_input-range.slider-progress[data-v-d88ffd28]:hover::-webkit-slider-runnable-track{background:linear-gradient(var(--track-value-background-hover),var(--track-value-background-hover)) 0 / var(--sx) 100% no-repeat,var(--track-background-hover)}.form_input-range.slider-progress[data-v-d88ffd28]:active::-webkit-slider-runnable-track{background:linear-gradient(var(--track-value-background-active),var(--track-value-background-active)) 0 / var(--sx) 100% no-repeat,var(--track-background-active)}.form_input-range[data-v-d88ffd28]::-moz-range-thumb{width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:none;box-shadow:var(--thumb-box-shadow);cursor:col-resize;margin-left:calc(0 - var(--track-value-padding))}.form_input-range[data-v-d88ffd28]::-moz-range-track{height:var(--track-height);border:var(--track-border);border-radius:var(--track-border-radius);background:var(--track-background);box-shadow:var(--track-box-shadow);cursor:col-resize;width:calc(100% - var(--track-value-padding) * 2)}.form_input-range[data-v-d88ffd28]::-moz-range-thumb:hover{background:var(--thumb-background-hover)}.form_input-range[data-v-d88ffd28]:hover::-moz-range-track{background:var(--track-background-hover)}.form_input-range[data-v-d88ffd28]::-moz-range-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-d88ffd28]:active::-moz-range-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-d88ffd28]::-moz-range-track{background:linear-gradient(var(--track-value-background),var(--track-value-background)) 0 / var(--sx) 100% no-repeat,var(--track-background)}.form_input-range.slider-progress[data-v-d88ffd28]:hover::-moz-range-track{background:linear-gradient(var(--track-value-background-hover),var(--track-value-background-hover)) 0 / var(--sx) 100% no-repeat,var(--track-background-hover)}.form_input-range.slider-progress[data-v-d88ffd28]:active::-moz-range-track{background:linear-gradient(var(--track-value-background-active),var(--track-value-background-active)) 0 / var(--sx) 100% no-repeat,var(--track-background-active)}.form_input-range[data-v-d88ffd28]::-ms-fill-upper{background:transparent;border-color:transparent}.form_input-range[data-v-d88ffd28]::-ms-fill-lower{background:transparent;border-color:transparent}.form_input-range[data-v-d88ffd28]::-ms-thumb{width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:var(--thumb-border);box-shadow:var(--thumb-box-shadow);margin-top:0;margin-left:calc(0 - var(--track-value-padding));box-sizing:border-box;cursor:col-resize}.form_input-range[data-v-d88ffd28]::-ms-track{height:var(--track-height);border-radius:var(--track-border-radius);background:var(--track-background);border:var(--track-border);box-shadow:var(--track-box-shadow);box-sizing:border-box;cursor:col-resize}.form_input-range[data-v-d88ffd28]::-ms-thumb:hover{background:var(--thumb-background-hover)}.form_input-range[data-v-d88ffd28]:hover::-ms-track{background:var(--track-background-hover)}.form_input-range[data-v-d88ffd28]::-ms-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-d88ffd28]:active::-ms-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-d88ffd28]::-ms-fill-lower{height:var(--track-height);border-radius:var(--track-border-radius) 0 0 var(--track-border-radius);margin:0;background:var(--track-value-background);border:none;border-right-width:0;margin-left:calc(var(--track-value-padding));margin-right:calc(0 - var(--track-value-padding))}.form_input-range.slider-progress[data-v-d88ffd28]:hover::-ms-fill-lower{background:var(--track-value-background-hover)}.form_input-range.slider-progress[data-v-d88ffd28]:active::-ms-fill-lower{background:var(--track-value-background-active)}.color-hue-range[data-v-ae80cb9d]{height:2.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.5rem;background:linear-gradient(to right,#ffb6cb,#ffbaae 8.33%,#ffbc9d 12.5%,#ffbd94 14.58%,#ffbe8f 15.62%,#ffbe8c,#ffbe89 16.67%,#fac704,#bedf0d 33.33%,#bae025,#b6e133 34.38%,#aee347 35.42%,#9be764 37.5%,#6ded8f 41.67%,#4aefa1 43.75%,#2ef1aa 44.79%,#13f1ae 45.31%,#00f1b0,#00f1b3 45.83%,#00f0bc,#01efc4 47.92%,#00eed2 50%,#36e6ff 58.33%,#84dbff,#9cd6ff 66.67%,#9dd5ff,#9ed5ff 67.19%,#a0d4ff 67.71%,#a4d3ff 68.75%,#acd1ff 70.83%,#bcf 75%,#d6c1ff,#ffadf7,#ffb6cb);background:linear-gradient(to right,color(xyz 0.829 0.56 0.613),color(xyz 0.771 0.573 0.303) 8.33%,color(xyz 0.747 0.579 0.179) 12.5%,color(xyz 0.736 0.581 0.124) 14.58%,color(xyz 0.731 0.582 0.098) 15.62%,color(xyz 0.729 0.583 0.085),color(xyz 0.726 0.583 0.073) 16.67%,#fac704,#bedf0d 33.33%,#bae025,#b6e133 34.38%,#aee347 35.42%,#9be764 37.5%,#6ded8f 41.67%,#4aefa1 43.75%,#2ef1aa 44.79%,#13f1ae,color(xyz 0.392 0.664 0.531) 45.83%,color(xyz 0.388 0.665 0.577),color(xyz 0.384 0.667 0.624) 47.92%,color(xyz 0.377 0.67 0.724) 50%,color(xyz 0.456 0.651 1.158) 58.33%,color(xyz 0.503 0.639 1.415),color(xyz 0.554 0.627 1.699) 66.67%,color(xyz 0.56 0.625 1.697),color(xyz 0.566 0.623 1.694) 67.71%,color(xyz 0.578 0.62 1.688) 68.75%,color(xyz 0.601 0.613 1.677) 70.83%,color(xyz 0.651 0.6 1.654) 75%,color(xyz 0.756 0.573 1.609),color(xyz 0.777 0.569 1.05),color(xyz 0.829 0.56 0.613))}.color-hue-range[data-v-ae80cb9d]::-webkit-slider-thumb{width:.25rem;height:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;--un-border-opacity:1;border-color:rgb(115 115 115 / var(--un-border-opacity));border-radius:.375rem;background-color:rgb(82 82 82 / var(--un-bg-opacity));--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity));--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.dark .color-hue-range[data-v-ae80cb9d]::-webkit-slider-thumb{width:.25rem;height:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity));border-radius:.375rem;background-color:rgb(245 245 245 / var(--un-bg-opacity));--un-bg-opacity:1;background-color:rgb(212 212 212 / var(--un-bg-opacity));--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.color-hue-range[data-v-ae80cb9d]::-moz-range-thumb{width:.25rem;height:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;--un-border-opacity:1;border-color:rgb(115 115 115 / var(--un-border-opacity));border-radius:.375rem;background-color:rgb(82 82 82 / var(--un-bg-opacity));--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity));--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.dark .color-hue-range[data-v-ae80cb9d]::-moz-range-thumb{width:.25rem;height:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity));border-radius:.375rem;background-color:rgb(245 245 245 / var(--un-bg-opacity));--un-bg-opacity:1;background-color:rgb(212 212 212 / var(--un-bg-opacity));--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__arrow-container{display:none}.v-popper__inner{border:none!important}
|
|
|
|
assets/Select-DG6Ttq5U.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.form_input-range[data-v-c59a94f0]{--height: 2em;min-height:var(--height);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border-radius:4px;transition:background-color .2s ease;--thumb-width: 4px;--thumb-height: var(--height);--thumb-box-shadow: 0 0 0px #e6e6e6;--thumb-border: none;--thumb-border-radius: 999px;--thumb-background: oklch(80% var(--chromatic-chroma-200) calc(var(--chromatic-hue) + 0));--thumb-background-hover: oklch(90% var(--chromatic-chroma-200) calc(var(--chromatic-hue) + 0));--thumb-background-active: oklch(70% var(--chromatic-chroma-200) calc(var(--chromatic-hue) + 0));--track-height: calc(var(--height) - var(--track-value-padding) * 2);--track-box-shadow: none;--track-border: solid 2px rgb(238, 238, 238);--track-border-radius: 6px;--track-background: rgb(238, 238, 238);--track-background-hover: rgb(238, 238, 238);--track-background-active: rgb(238, 238, 238);--track-value-background: rgb(255, 255, 255);--track-value-background-hover: rgb(255, 255, 255);--track-value-background-active: rgb(255, 255, 255);--track-value-padding: 2px}.dark .form_input-range[data-v-c59a94f0]{--thumb-background: oklch(70% var(--chromatic-chroma-200) calc(var(--chromatic-hue) + 0));--thumb-background-hover: oklch(90% var(--chromatic-chroma-200) calc(var(--chromatic-hue) + 0));--thumb-background-active: oklch(80% var(--chromatic-chroma-200) calc(var(--chromatic-hue) + 0));--track-border: solid 2px rgb(44, 44, 44);--track-background: rgb(44, 44, 44);--track-background-hover: rgb(44, 44, 44);--track-background-active: rgb(44, 44, 44);--track-value-background: rgb(164, 164, 164);--track-value-background-hover: rgb(164, 164, 164);--track-value-background-active: rgb(164, 164, 164)}.form_input-range.slider-progress[data-v-c59a94f0]{--range: calc(var(--max) - var(--min));--ratio: calc((var(--value) - var(--min)) / var(--range));--sx: calc(.5 * 0em + var(--ratio) * (100% - 0em))}.form_input-range[data-v-c59a94f0]:focus{outline:none}.form_input-range[data-v-c59a94f0]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:var(--thumb-border);box-shadow:var(--thumb-box-shadow);margin-top:calc(var(--track-height) * .5 - var(--thumb-height) * .5 - 2px);margin-left:calc(0 - var(--track-value-padding));cursor:col-resize;transition:background .2s ease-in-out,box-shadow .2s ease-in-out,border-color .2s ease-in-out,transform .2s ease-in-out}.form_input-range[data-v-c59a94f0]::-webkit-slider-runnable-track{height:var(--track-height);border:var(--track-border);border-radius:var(--track-border-radius);background:var(--track-background);box-shadow:var(--track-box-shadow);position:relative;cursor:col-resize;transition:box-shadow .2s ease-in-out,border-color .2s ease-in-out}.form_input-range[data-v-c59a94f0]::-webkit-slider-thumb:hover{background:var(--thumb-background-hover)}.form_input-range[data-v-c59a94f0]:hover::-webkit-slider-runnable-track{background:var(--track-background-hover)}.form_input-range[data-v-c59a94f0]::-webkit-slider-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-c59a94f0]:active::-webkit-slider-runnable-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-c59a94f0]::-webkit-slider-runnable-track{margin-right:calc(0 - var(--track-value-padding));background:linear-gradient(var(--track-value-background),var(--track-value-background)) 0 / var(--sx) 100% no-repeat,var(--track-background)}.form_input-range.slider-progress[data-v-c59a94f0]:hover::-webkit-slider-runnable-track{background:linear-gradient(var(--track-value-background-hover),var(--track-value-background-hover)) 0 / var(--sx) 100% no-repeat,var(--track-background-hover)}.form_input-range.slider-progress[data-v-c59a94f0]:active::-webkit-slider-runnable-track{background:linear-gradient(var(--track-value-background-active),var(--track-value-background-active)) 0 / var(--sx) 100% no-repeat,var(--track-background-active)}.form_input-range[data-v-c59a94f0]::-moz-range-thumb{width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:none;box-shadow:var(--thumb-box-shadow);cursor:col-resize;margin-left:calc(0 - var(--track-value-padding))}.form_input-range[data-v-c59a94f0]::-moz-range-track{height:var(--track-height);border:var(--track-border);border-radius:var(--track-border-radius);background:var(--track-background);box-shadow:var(--track-box-shadow);cursor:col-resize;width:calc(100% - var(--track-value-padding) * 2)}.form_input-range[data-v-c59a94f0]::-moz-range-thumb:hover{background:var(--thumb-background-hover)}.form_input-range[data-v-c59a94f0]:hover::-moz-range-track{background:var(--track-background-hover)}.form_input-range[data-v-c59a94f0]::-moz-range-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-c59a94f0]:active::-moz-range-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-c59a94f0]::-moz-range-track{background:linear-gradient(var(--track-value-background),var(--track-value-background)) 0 / var(--sx) 100% no-repeat,var(--track-background)}.form_input-range.slider-progress[data-v-c59a94f0]:hover::-moz-range-track{background:linear-gradient(var(--track-value-background-hover),var(--track-value-background-hover)) 0 / var(--sx) 100% no-repeat,var(--track-background-hover)}.form_input-range.slider-progress[data-v-c59a94f0]:active::-moz-range-track{background:linear-gradient(var(--track-value-background-active),var(--track-value-background-active)) 0 / var(--sx) 100% no-repeat,var(--track-background-active)}.form_input-range[data-v-c59a94f0]::-ms-fill-upper{background:transparent;border-color:transparent}.form_input-range[data-v-c59a94f0]::-ms-fill-lower{background:transparent;border-color:transparent}.form_input-range[data-v-c59a94f0]::-ms-thumb{width:var(--thumb-width);height:var(--thumb-height);border-radius:var(--thumb-border-radius);background:var(--thumb-background);border:var(--thumb-border);box-shadow:var(--thumb-box-shadow);margin-top:0;margin-left:calc(0 - var(--track-value-padding));box-sizing:border-box;cursor:col-resize}.form_input-range[data-v-c59a94f0]::-ms-track{height:var(--track-height);border-radius:var(--track-border-radius);background:var(--track-background);border:var(--track-border);box-shadow:var(--track-box-shadow);box-sizing:border-box;cursor:col-resize}.form_input-range[data-v-c59a94f0]::-ms-thumb:hover{background:var(--thumb-background-hover)}.form_input-range[data-v-c59a94f0]:hover::-ms-track{background:var(--track-background-hover)}.form_input-range[data-v-c59a94f0]::-ms-thumb:active{background:var(--thumb-background-active)}.form_input-range[data-v-c59a94f0]:active::-ms-track{background:var(--track-background-active)}.form_input-range.slider-progress[data-v-c59a94f0]::-ms-fill-lower{height:var(--track-height);border-radius:var(--track-border-radius) 0 0 var(--track-border-radius);margin:0;background:var(--track-value-background);border:none;border-right-width:0;margin-left:calc(var(--track-value-padding));margin-right:calc(0 - var(--track-value-padding))}.form_input-range.slider-progress[data-v-c59a94f0]:hover::-ms-fill-lower{background:var(--track-value-background-hover)}.form_input-range.slider-progress[data-v-c59a94f0]:active::-ms-fill-lower{background:var(--track-value-background-active)}.color-hue-range[data-v-ae80cb9d]{height:2.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.5rem;background:linear-gradient(to right,#ffb6cb,#ffbaae 8.33%,#ffbc9d 12.5%,#ffbd94 14.58%,#ffbe8f 15.62%,#ffbe8c,#ffbe89 16.67%,#fac704,#bedf0d 33.33%,#bae025,#b6e133 34.38%,#aee347 35.42%,#9be764 37.5%,#6ded8f 41.67%,#4aefa1 43.75%,#2ef1aa 44.79%,#13f1ae 45.31%,#00f1b0,#00f1b3 45.83%,#00f0bc,#01efc4 47.92%,#00eed2 50%,#36e6ff 58.33%,#84dbff,#9cd6ff 66.67%,#9dd5ff,#9ed5ff 67.19%,#a0d4ff 67.71%,#a4d3ff 68.75%,#acd1ff 70.83%,#bcf 75%,#d6c1ff,#ffadf7,#ffb6cb);background:linear-gradient(to right,color(xyz 0.829 0.56 0.613),color(xyz 0.771 0.573 0.303) 8.33%,color(xyz 0.747 0.579 0.179) 12.5%,color(xyz 0.736 0.581 0.124) 14.58%,color(xyz 0.731 0.582 0.098) 15.62%,color(xyz 0.729 0.583 0.085),color(xyz 0.726 0.583 0.073) 16.67%,#fac704,#bedf0d 33.33%,#bae025,#b6e133 34.38%,#aee347 35.42%,#9be764 37.5%,#6ded8f 41.67%,#4aefa1 43.75%,#2ef1aa 44.79%,#13f1ae,color(xyz 0.392 0.664 0.531) 45.83%,color(xyz 0.388 0.665 0.577),color(xyz 0.384 0.667 0.624) 47.92%,color(xyz 0.377 0.67 0.724) 50%,color(xyz 0.456 0.651 1.158) 58.33%,color(xyz 0.503 0.639 1.415),color(xyz 0.554 0.627 1.699) 66.67%,color(xyz 0.56 0.625 1.697),color(xyz 0.566 0.623 1.694) 67.71%,color(xyz 0.578 0.62 1.688) 68.75%,color(xyz 0.601 0.613 1.677) 70.83%,color(xyz 0.651 0.6 1.654) 75%,color(xyz 0.756 0.573 1.609),color(xyz 0.777 0.569 1.05),color(xyz 0.829 0.56 0.613))}.color-hue-range[data-v-ae80cb9d]::-webkit-slider-thumb{width:.25rem;height:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;--un-border-opacity:1;border-color:rgb(115 115 115 / var(--un-border-opacity));border-radius:.375rem;background-color:rgb(82 82 82 / var(--un-bg-opacity));--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity));--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.dark .color-hue-range[data-v-ae80cb9d]::-webkit-slider-thumb{width:.25rem;height:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity));border-radius:.375rem;background-color:rgb(245 245 245 / var(--un-bg-opacity));--un-bg-opacity:1;background-color:rgb(212 212 212 / var(--un-bg-opacity));--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.color-hue-range[data-v-ae80cb9d]::-moz-range-thumb{width:.25rem;height:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;--un-border-opacity:1;border-color:rgb(115 115 115 / var(--un-border-opacity));border-radius:.375rem;background-color:rgb(82 82 82 / var(--un-bg-opacity));--un-bg-opacity:1;background-color:rgb(38 38 38 / var(--un-bg-opacity));--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.dark .color-hue-range[data-v-ae80cb9d]::-moz-range-thumb{width:.25rem;height:3rem;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity));border-radius:.375rem;background-color:rgb(245 245 245 / var(--un-bg-opacity));--un-bg-opacity:1;background-color:rgb(212 212 212 / var(--un-bg-opacity));--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;transition-duration:.2s}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__arrow-container{display:none}.v-popper__inner{border:none!important}
|
assets/{Select.vue_vue_type_style_index_0_lang-BH7HpSd3.js → Select.vue_vue_type_style_index_0_lang-csKR1SR-.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as ve,cO as At,cP as Pt,a2 as Ae,c as Pe,o as ee,a as Q,W as Ie,c3 as Ct,bf as Re,bA as fe,a3 as be,cQ as Ot,X as lt,_ as zt,cR as Nt,bg as We,b as kt,cj as Ht,cu as Rt,cv as Bt}from"./index-D2WYGmMW.js";const dt=["top","right","bottom","left"],je=["start","end"],Ve=dt.reduce((e,t)=>e.concat(t,t+"-"+je[0],t+"-"+je[1]),[]),ae=Math.min,K=Math.max,Si=Math.round,Ti=Math.floor,Ai=e=>({x:e,y:e}),Mt={left:"right",right:"left",bottom:"top",top:"bottom"},Dt={start:"end",end:"start"};function Ce(e,t,i){return K(e,ae(t,i))}function E(e,t){return typeof e=="function"?e(t):e}function H(e){return e.split("-")[0]}function k(e){return e.split("-")[1]}function Be(e){return e==="x"?"y":"x"}function Me(e){return e==="y"?"height":"width"}function Y(e){return["top","bottom"].includes(H(e))?"y":"x"}function De(e){return Be(Y(e))}function ct(e,t,i){i===void 0&&(i=!1);const o=k(e),n=De(e),s=Me(n);let r=n==="x"?o===(i?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=ge(r)),[r,ge(r)]}function Lt(e){const t=ge(e);return[me(e),t,me(t)]}function me(e){return e.replace(/start|end/g,t=>Dt[t])}function Et(e,t,i){const o=["left","right"],n=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(e){case"top":case"bottom":return i?t?n:o:t?o:n;case"left":case"right":return t?s:r;default:return[]}}function Ft(e,t,i,o){const n=k(e);let s=Et(H(e),i==="start",o);return n&&(s=s.map(r=>r+"-"+n),t&&(s=s.concat(s.map(me)))),s}function ge(e){return e.replace(/left|right|bottom|top/g,t=>Mt[t])}function It(e){return{top:0,right:0,bottom:0,left:0,...e}}function pt(e){return typeof e!="number"?It(e):{top:e,right:e,bottom:e,left:e}}function oe(e){const{x:t,y:i,width:o,height:n}=e;return{width:o,height:n,top:i,left:t,right:t+o,bottom:i+n,x:t,y:i}}function qe(e,t,i){let{reference:o,floating:n}=e;const s=Y(t),r=De(t),a=Me(r),l=H(t),d=s==="y",h=o.x+o.width/2-n.width/2,c=o.y+o.height/2-n.height/2,u=o[a]/2-n[a]/2;let p;switch(l){case"top":p={x:h,y:o.y-n.height};break;case"bottom":p={x:h,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:c};break;case"left":p={x:o.x-n.width,y:c};break;default:p={x:o.x,y:o.y}}switch(k(t)){case"start":p[r]-=u*(i&&d?-1:1);break;case"end":p[r]+=u*(i&&d?-1:1);break}return p}const Wt=async(e,t,i)=>{const{placement:o="bottom",strategy:n="absolute",middleware:s=[],platform:r}=i,a=s.filter(Boolean),l=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:n}),{x:h,y:c}=qe(d,o,l),u=o,p={},f=0;for(let m=0;m<a.length;m++){const{name:w,fn:g}=a[m],{x:y,y:x,data:_,reset:$}=await g({x:h,y:c,initialPlacement:o,placement:u,strategy:n,middlewareData:p,rects:d,platform:r,elements:{reference:e,floating:t}});h=y??h,c=x??c,p={...p,[w]:{...p[w],..._}},$&&f<=50&&(f++,typeof $=="object"&&($.placement&&(u=$.placement),$.rects&&(d=$.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:n}):$.rects),{x:h,y:c}=qe(d,u,l)),m=-1)}return{x:h,y:c,placement:u,strategy:n,middlewareData:p}};async function ie(e,t){var i;t===void 0&&(t={});const{x:o,y:n,platform:s,rects:r,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:c="floating",altBoundary:u=!1,padding:p=0}=E(t,e),f=pt(p),w=a[u?c==="floating"?"reference":"floating":c],g=oe(await s.getClippingRect({element:(i=await(s.isElement==null?void 0:s.isElement(w)))==null||i?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:h,strategy:l})),y=c==="floating"?{x:o,y:n,width:r.floating.width,height:r.floating.height}:r.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),_=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},$=oe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:l}):y);return{top:(g.top-$.top+f.top)/_.y,bottom:($.bottom-g.bottom+f.bottom)/_.y,left:(g.left-$.left+f.left)/_.x,right:($.right-g.right+f.right)/_.x}}const jt=e=>({name:"arrow",options:e,async fn(t){const{x:i,y:o,placement:n,rects:s,platform:r,elements:a,middlewareData:l}=t,{element:d,padding:h=0}=E(e,t)||{};if(d==null)return{};const c=pt(h),u={x:i,y:o},p=De(n),f=Me(p),m=await r.getDimensions(d),w=p==="y",g=w?"top":"left",y=w?"bottom":"right",x=w?"clientHeight":"clientWidth",_=s.reference[f]+s.reference[p]-u[p]-s.floating[f],$=u[p]-s.reference[p],T=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let A=T?T[x]:0;(!A||!await(r.isElement==null?void 0:r.isElement(T)))&&(A=a.floating[x]||s.floating[f]);const R=_/2-$/2,C=A/2-m[f]/2-1,b=ae(c[g],C),P=ae(c[y],C),O=b,B=A-m[f]-P,S=A/2-m[f]/2+R,J=Ce(O,S,B),F=!l.arrow&&k(n)!=null&&S!==J&&s.reference[f]/2-(S<O?b:P)-m[f]/2<0,M=F?S<O?S-O:S-B:0;return{[p]:u[p]+M,data:{[p]:J,centerOffset:S-J-M,...F&&{alignmentOffset:M}},reset:F}}});function Vt(e,t,i){return(e?[...i.filter(n=>k(n)===e),...i.filter(n=>k(n)!==e)]:i.filter(n=>H(n)===n)).filter(n=>e?k(n)===e||(t?me(n)!==n:!1):!0)}const qt=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var i,o,n;const{rects:s,middlewareData:r,placement:a,platform:l,elements:d}=t,{crossAxis:h=!1,alignment:c,allowedPlacements:u=Ve,autoAlignment:p=!0,...f}=E(e,t),m=c!==void 0||u===Ve?Vt(c||null,p,u):u,w=await ie(t,f),g=((i=r.autoPlacement)==null?void 0:i.index)||0,y=m[g];if(y==null)return{};const x=ct(y,s,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(a!==y)return{reset:{placement:m[0]}};const _=[w[H(y)],w[x[0]],w[x[1]]],$=[...((o=r.autoPlacement)==null?void 0:o.overflows)||[],{placement:y,overflows:_}],T=m[g+1];if(T)return{data:{index:g+1,overflows:$},reset:{placement:T}};const A=$.map(b=>{const P=k(b.placement);return[b.placement,P&&h?b.overflows.slice(0,2).reduce((O,B)=>O+B,0):b.overflows[0],b.overflows]}).sort((b,P)=>b[1]-P[1]),C=((n=A.filter(b=>b[2].slice(0,k(b[0])?2:3).every(P=>P<=0))[0])==null?void 0:n[0])||A[0][0];return C!==a?{data:{index:g+1,overflows:$},reset:{placement:C}}:{}}}},Gt=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var i,o;const{placement:n,middlewareData:s,rects:r,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:h=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...w}=E(e,t);if((i=s.arrow)!=null&&i.alignmentOffset)return{};const g=H(n),y=Y(a),x=H(a)===a,_=await(l.isRTL==null?void 0:l.isRTL(d.floating)),$=u||(x||!m?[ge(a)]:Lt(a)),T=f!=="none";!u&&T&&$.push(...Ft(a,m,f,_));const A=[a,...$],R=await ie(t,w),C=[];let b=((o=s.flip)==null?void 0:o.overflows)||[];if(h&&C.push(R[g]),c){const S=ct(n,r,_);C.push(R[S[0]],R[S[1]])}if(b=[...b,{placement:n,overflows:C}],!C.every(S=>S<=0)){var P,O;const S=(((P=s.flip)==null?void 0:P.index)||0)+1,J=A[S];if(J)return{data:{index:S,overflows:b},reset:{placement:J}};let F=(O=b.filter(M=>M.overflows[0]<=0).sort((M,I)=>M.overflows[1]-I.overflows[1])[0])==null?void 0:O.placement;if(!F)switch(p){case"bestFit":{var B;const M=(B=b.filter(I=>{if(T){const W=Y(I.placement);return W===y||W==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(W=>W>0).reduce((W,Tt)=>W+Tt,0)]).sort((I,W)=>I[1]-W[1])[0])==null?void 0:B[0];M&&(F=M);break}case"initialPlacement":F=a;break}if(n!==F)return{reset:{placement:F}}}return{}}}};function Ge(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ye(e){return dt.some(t=>e[t]>=0)}const Pi=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:i}=t,{strategy:o="referenceHidden",...n}=E(e,t);switch(o){case"referenceHidden":{const s=await ie(t,{...n,elementContext:"reference"}),r=Ge(s,i.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:Ye(r)}}}case"escaped":{const s=await ie(t,{...n,altBoundary:!0}),r=Ge(s,i.floating);return{data:{escapedOffsets:r,escaped:Ye(r)}}}default:return{}}}}};async function Yt(e,t){const{placement:i,platform:o,elements:n}=e,s=await(o.isRTL==null?void 0:o.isRTL(n.floating)),r=H(i),a=k(i),l=Y(i)==="y",d=["left","top"].includes(r)?-1:1,h=s&&l?-1:1,c=E(t,e);let{mainAxis:u,crossAxis:p,alignmentAxis:f}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&typeof f=="number"&&(p=a==="end"?f*-1:f),l?{x:p*h,y:u*d}:{x:u*d,y:p*h}}const Xt=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var i,o;const{x:n,y:s,placement:r,middlewareData:a}=t,l=await Yt(t,e);return r===((i=a.offset)==null?void 0:i.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:n+l.x,y:s+l.y,data:{...l,placement:r}}}}},Ut=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:o,placement:n}=t,{mainAxis:s=!0,crossAxis:r=!1,limiter:a={fn:w=>{let{x:g,y}=w;return{x:g,y}}},...l}=E(e,t),d={x:i,y:o},h=await ie(t,l),c=Y(H(n)),u=Be(c);let p=d[u],f=d[c];if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",y=p+h[w],x=p-h[g];p=Ce(y,p,x)}if(r){const w=c==="y"?"top":"left",g=c==="y"?"bottom":"right",y=f+h[w],x=f-h[g];f=Ce(y,f,x)}const m=a.fn({...t,[u]:p,[c]:f});return{...m,data:{x:m.x-i,y:m.y-o,enabled:{[u]:s,[c]:r}}}}}},Ci=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:i,y:o,placement:n,rects:s,middlewareData:r}=t,{offset:a=0,mainAxis:l=!0,crossAxis:d=!0}=E(e,t),h={x:i,y:o},c=Y(n),u=Be(c);let p=h[u],f=h[c];const m=E(a,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const x=u==="y"?"height":"width",_=s.reference[u]-s.floating[x]+w.mainAxis,$=s.reference[u]+s.reference[x]-w.mainAxis;p<_?p=_:p>$&&(p=$)}if(d){var g,y;const x=u==="y"?"width":"height",_=["top","left"].includes(H(n)),$=s.reference[c]-s.floating[x]+(_&&((g=r.offset)==null?void 0:g[c])||0)+(_?0:w.crossAxis),T=s.reference[c]+s.reference[x]+(_?0:((y=r.offset)==null?void 0:y[c])||0)-(_?w.crossAxis:0);f<$?f=$:f>T&&(f=T)}return{[u]:p,[c]:f}}}},Kt=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var i,o;const{placement:n,rects:s,platform:r,elements:a}=t,{apply:l=()=>{},...d}=E(e,t),h=await ie(t,d),c=H(n),u=k(n),p=Y(n)==="y",{width:f,height:m}=s.floating;let w,g;c==="top"||c==="bottom"?(w=c,g=u===(await(r.isRTL==null?void 0:r.isRTL(a.floating))?"start":"end")?"left":"right"):(g=c,w=u==="end"?"top":"bottom");const y=m-h.top-h.bottom,x=f-h.left-h.right,_=ae(m-h[w],y),$=ae(f-h[g],x),T=!t.middlewareData.shift;let A=_,R=$;if((i=t.middlewareData.shift)!=null&&i.enabled.x&&(R=x),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=y),T&&!u){const b=K(h.left,0),P=K(h.right,0),O=K(h.top,0),B=K(h.bottom,0);p?R=f-2*(b!==0||P!==0?b+P:K(h.left,h.right)):A=m-2*(O!==0||B!==0?O+B:K(h.top,h.bottom))}await l({...t,availableWidth:R,availableHeight:A});const C=await r.getDimensions(a.floating);return f!==C.width||m!==C.height?{reset:{rects:!0}}:{}}}};function z(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function D(e){return z(e).getComputedStyle(e)}const Xe=Math.min,ne=Math.max,we=Math.round;function ht(e){const t=D(e);let i=parseFloat(t.width),o=parseFloat(t.height);const n=e.offsetWidth,s=e.offsetHeight,r=we(i)!==n||we(o)!==s;return r&&(i=n,o=s),{width:i,height:o,fallback:r}}function X(e){return ft(e)?(e.nodeName||"").toLowerCase():""}let pe;function ut(){if(pe)return pe;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(pe=e.brands.map(t=>t.brand+"/"+t.version).join(" "),pe):navigator.userAgent}function L(e){return e instanceof z(e).HTMLElement}function q(e){return e instanceof z(e).Element}function ft(e){return e instanceof z(e).Node}function Ue(e){return typeof ShadowRoot>"u"?!1:e instanceof z(e).ShadowRoot||e instanceof ShadowRoot}function xe(e){const{overflow:t,overflowX:i,overflowY:o,display:n}=D(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+i)&&!["inline","contents"].includes(n)}function Qt(e){return["table","td","th"].includes(X(e))}function Oe(e){const t=/firefox/i.test(ut()),i=D(e),o=i.backdropFilter||i.WebkitBackdropFilter;return i.transform!=="none"||i.perspective!=="none"||!!o&&o!=="none"||t&&i.willChange==="filter"||t&&!!i.filter&&i.filter!=="none"||["transform","perspective"].some(n=>i.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const s=i.contain;return s!=null&&s.includes(n)})}function mt(){return!/^((?!chrome|android).)*safari/i.test(ut())}function Le(e){return["html","body","#document"].includes(X(e))}function gt(e){return q(e)?e:e.contextElement}const wt={x:1,y:1};function te(e){const t=gt(e);if(!L(t))return wt;const i=t.getBoundingClientRect(),{width:o,height:n,fallback:s}=ht(t);let r=(s?we(i.width):i.width)/o,a=(s?we(i.height):i.height)/n;return r&&Number.isFinite(r)||(r=1),a&&Number.isFinite(a)||(a=1),{x:r,y:a}}function le(e,t,i,o){var n,s;t===void 0&&(t=!1),i===void 0&&(i=!1);const r=e.getBoundingClientRect(),a=gt(e);let l=wt;t&&(o?q(o)&&(l=te(o)):l=te(e));const d=a?z(a):window,h=!mt()&&i;let c=(r.left+(h&&((n=d.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,u=(r.top+(h&&((s=d.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,p=r.width/l.x,f=r.height/l.y;if(a){const m=z(a),w=o&&q(o)?z(o):o;let g=m.frameElement;for(;g&&o&&w!==m;){const y=te(g),x=g.getBoundingClientRect(),_=getComputedStyle(g);x.x+=(g.clientLeft+parseFloat(_.paddingLeft))*y.x,x.y+=(g.clientTop+parseFloat(_.paddingTop))*y.y,c*=y.x,u*=y.y,p*=y.x,f*=y.y,c+=x.x,u+=x.y,g=z(g).frameElement}}return{width:p,height:f,top:u,right:c+p,bottom:u+f,left:c,x:c,y:u}}function G(e){return((ft(e)?e.ownerDocument:e.document)||window.document).documentElement}function $e(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function yt(e){return le(G(e)).left+$e(e).scrollLeft}function de(e){if(X(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ue(e)&&e.host||G(e);return Ue(t)?t.host:t}function vt(e){const t=de(e);return Le(t)?t.ownerDocument.body:L(t)&&xe(t)?t:vt(t)}function ye(e,t){var i;t===void 0&&(t=[]);const o=vt(e),n=o===((i=e.ownerDocument)==null?void 0:i.body),s=z(o);return n?t.concat(s,s.visualViewport||[],xe(o)?o:[]):t.concat(o,ye(o))}function Ke(e,t,i){return t==="viewport"?oe(function(o,n){const s=z(o),r=G(o),a=s.visualViewport;let l=r.clientWidth,d=r.clientHeight,h=0,c=0;if(a){l=a.width,d=a.height;const u=mt();(u||!u&&n==="fixed")&&(h=a.offsetLeft,c=a.offsetTop)}return{width:l,height:d,x:h,y:c}}(e,i)):q(t)?oe(function(o,n){const s=le(o,!0,n==="fixed"),r=s.top+o.clientTop,a=s.left+o.clientLeft,l=L(o)?te(o):{x:1,y:1};return{width:o.clientWidth*l.x,height:o.clientHeight*l.y,x:a*l.x,y:r*l.y}}(t,i)):oe(function(o){const n=G(o),s=$e(o),r=o.ownerDocument.body,a=ne(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),l=ne(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let d=-s.scrollLeft+yt(o);const h=-s.scrollTop;return D(r).direction==="rtl"&&(d+=ne(n.clientWidth,r.clientWidth)-a),{width:a,height:l,x:d,y:h}}(G(e)))}function Qe(e){return L(e)&&D(e).position!=="fixed"?e.offsetParent:null}function Ze(e){const t=z(e);let i=Qe(e);for(;i&&Qt(i)&&D(i).position==="static";)i=Qe(i);return i&&(X(i)==="html"||X(i)==="body"&&D(i).position==="static"&&!Oe(i))?t:i||function(o){let n=de(o);for(;L(n)&&!Le(n);){if(Oe(n))return n;n=de(n)}return null}(e)||t}function Zt(e,t,i){const o=L(t),n=G(t),s=le(e,!0,i==="fixed",t);let r={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&i!=="fixed")if((X(t)!=="body"||xe(n))&&(r=$e(t)),L(t)){const l=le(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else n&&(a.x=yt(n));return{x:s.left+r.scrollLeft-a.x,y:s.top+r.scrollTop-a.y,width:s.width,height:s.height}}const Jt={getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:o,strategy:n}=e;const s=i==="clippingAncestors"?function(d,h){const c=h.get(d);if(c)return c;let u=ye(d).filter(w=>q(w)&&X(w)!=="body"),p=null;const f=D(d).position==="fixed";let m=f?de(d):d;for(;q(m)&&!Le(m);){const w=D(m),g=Oe(m);(f?g||p:g||w.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=w:u=u.filter(y=>y!==m),m=de(m)}return h.set(d,u),u}(t,this._c):[].concat(i),r=[...s,o],a=r[0],l=r.reduce((d,h)=>{const c=Ke(t,h,n);return d.top=ne(c.top,d.top),d.right=Xe(c.right,d.right),d.bottom=Xe(c.bottom,d.bottom),d.left=ne(c.left,d.left),d},Ke(t,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:i,strategy:o}=e;const n=L(i),s=G(i);if(i===s)return t;let r={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((n||!n&&o!=="fixed")&&((X(i)!=="body"||xe(s))&&(r=$e(i)),L(i))){const d=le(i);a=te(i),l.x=d.x+i.clientLeft,l.y=d.y+i.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-r.scrollLeft*a.x+l.x,y:t.y*a.y-r.scrollTop*a.y+l.y}},isElement:q,getDimensions:function(e){return L(e)?ht(e):e.getBoundingClientRect()},getOffsetParent:Ze,getDocumentElement:G,getScale:te,async getElementRects(e){let{reference:t,floating:i,strategy:o}=e;const n=this.getOffsetParent||Ze,s=this.getDimensions;return{reference:Zt(t,await n(i),o),floating:{x:0,y:0,...await s(i)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>D(e).direction==="rtl"},ei=(e,t,i)=>{const o=new Map,n={platform:Jt,...i},s={...n.platform,_c:o};return Wt(e,t,{...n,platform:s})},Z={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ze(e,t){let i=Z.themes[e]||{},o;do o=i[t],typeof o>"u"?i.$extend?i=Z.themes[i.$extend]||{}:(i=null,o=Z[t]):i=null;while(i);return o}function ti(e){const t=[e];let i=Z.themes[e]||{};do i.$extend&&!i.$resetCss?(t.push(i.$extend),i=Z.themes[i.$extend]||{}):i=null;while(i);return t.map(o=>`v-popper--theme-${o}`)}function Je(e){const t=[e];let i=Z.themes[e]||{};do i.$extend?(t.push(i.$extend),i=Z.themes[i.$extend]||{}):i=null;while(i);return t}let ce=!1;if(typeof window<"u"){ce=!1;try{const e=Object.defineProperty({},"passive",{get(){ce=!0}});window.addEventListener("test",null,e)}catch{}}let xt=!1;typeof window<"u"&&typeof navigator<"u"&&(xt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ii=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),et={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},tt={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function it(e,t){const i=e.indexOf(t);i!==-1&&e.splice(i,1)}function Se(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const N=[];let U=null;const ot={};function nt(e){let t=ot[e];return t||(t=ot[e]=[]),t}let Ne=function(){};typeof window<"u"&&(Ne=window.Element);function v(e){return function(t){return ze(t.theme,e)}}const Te="__floating-vue__popper",$t=()=>ve({name:"VPopper",provide(){return{[Te]:{parentPopper:this}}},inject:{[Te]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:v("disabled")},positioningDisabled:{type:Boolean,default:v("positioningDisabled")},placement:{type:String,default:v("placement"),validator:e=>ii.includes(e)},delay:{type:[String,Number,Object],default:v("delay")},distance:{type:[Number,String],default:v("distance")},skidding:{type:[Number,String],default:v("skidding")},triggers:{type:Array,default:v("triggers")},showTriggers:{type:[Array,Function],default:v("showTriggers")},hideTriggers:{type:[Array,Function],default:v("hideTriggers")},popperTriggers:{type:Array,default:v("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:v("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:v("popperHideTriggers")},container:{type:[String,Object,Ne,Boolean],default:v("container")},boundary:{type:[String,Ne],default:v("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:v("strategy")},autoHide:{type:[Boolean,Function],default:v("autoHide")},handleResize:{type:Boolean,default:v("handleResize")},instantMove:{type:Boolean,default:v("instantMove")},eagerMount:{type:Boolean,default:v("eagerMount")},popperClass:{type:[String,Array,Object],default:v("popperClass")},computeTransformOrigin:{type:Boolean,default:v("computeTransformOrigin")},autoMinSize:{type:Boolean,default:v("autoMinSize")},autoSize:{type:[Boolean,String],default:v("autoSize")},autoMaxSize:{type:Boolean,default:v("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:v("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:v("preventOverflow")},overflowPadding:{type:[Number,String],default:v("overflowPadding")},arrowPadding:{type:[Number,String],default:v("arrowPadding")},arrowOverflow:{type:Boolean,default:v("arrowOverflow")},flip:{type:Boolean,default:v("flip")},shift:{type:Boolean,default:v("shift")},shiftCrossAxis:{type:Boolean,default:v("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:v("noAutoFocus")},disposeTimeout:{type:Number,default:v("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Te])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:i=!1}={}){var o,n;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(i||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var i;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Xt({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(qt({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Ut({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Gt({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(jt({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:n,middlewareData:s})=>{let r;const{centerOffset:a}=s.arrow;return o.startsWith("top")||o.startsWith("bottom")?r=Math.abs(a)>n.reference.width/2:r=Math.abs(a)>n.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:s,middlewareData:r})=>{var a;if((a=r.autoSize)!=null&&a.skip)return{};let l,d;return s.startsWith("top")||s.startsWith("bottom")?l=n.reference.width:d=n.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Kt({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:n})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const i=await ei(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:{...i.middlewareData.arrow,...i.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),U&&this.instantMove&&U.instantMove&&U!==this.parentPopper){U.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(U=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Se(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ye(this.$_referenceNode),...ye(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),i=this.$_popperNode.querySelector(".v-popper__wrapper"),o=i.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(o.left+i.offsetLeft),s=t.y+t.height/2-(o.top+i.offsetTop);this.result.transformOrigin=`${n}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let i=0;i<N.length;i++)t=N[i],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}N.push(this),document.body.classList.add("v-popper--some-open");for(const t of Je(this.theme))nt(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Se(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,it(N,this),N.length===0&&document.body.classList.remove("v-popper--some-open");for(const i of Je(this.theme)){const o=nt(i);it(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${i}`)}U===this&&(U=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Se(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=i=>{this.isShown&&!this.$_hideInProgress||(i.usedByTooltip=!0,!this.$_preventShow&&this.show({event:i}))};this.$_registerTriggerListeners(this.$_targetNodes,et,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],et,this.popperTriggers,this.popperShowTriggers,e);const t=i=>{i.usedByTooltip||this.hide({event:i})};this.$_registerTriggerListeners(this.$_targetNodes,tt,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],tt,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,i){this.$_events.push({targetNodes:e,eventType:t,handler:i}),e.forEach(o=>o.addEventListener(t,i,ce?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,i,o,n){let s=i;o!=null&&(s=typeof o=="function"?o(s):o),s.forEach(r=>{const a=t[r];a&&this.$_registerEventListeners(e,a,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(i=>{const{targetNodes:o,eventType:n,handler:s}=i;!e||e===n?o.forEach(r=>r.removeEventListener(n,s)):t.push(i)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const i of this.$_targetNodes){const o=i.getAttribute(e);o&&(i.removeAttribute(e),i.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const i in e){const o=e[i];o==null?t.removeAttribute(i):t.setAttribute(i,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(se>=e.left&&se<=e.right&&re>=e.top&&re<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),i=se-j,o=re-V,n=t.left+t.width/2-j+(t.top+t.height/2)-V+t.width+t.height,s=j+i*n,r=V+o*n;return he(j,V,s,r,t.left,t.top,t.left,t.bottom)||he(j,V,s,r,t.left,t.top,t.right,t.top)||he(j,V,s,r,t.right,t.top,t.right,t.bottom)||he(j,V,s,r,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(xt){const e=ce?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>st(t),e),document.addEventListener("touchend",t=>rt(t,!0),e)}else window.addEventListener("mousedown",e=>st(e),!0),window.addEventListener("click",e=>rt(e,!1),!0);window.addEventListener("resize",si)}function st(e,t){for(let i=0;i<N.length;i++){const o=N[i];try{o.mouseDownContains=o.popperNode().contains(e.target)}catch{}}}function rt(e,t){oi(e,t)}function oi(e,t){const i={};for(let o=N.length-1;o>=0;o--){const n=N[o];try{const s=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!i[n.randomId]&&at(n,s,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=n.parentPopper;for(;a;)i[a.randomId]=!0,a=a.parentPopper;return}let r=n.parentPopper;for(;r&&at(r,r.containsGlobalTarget,e);)r.$_handleGlobalClose(e,t),r=r.parentPopper}})}catch{}}}function at(e,t,i){return i.closeAllPopover||i.closePopover&&t||ni(e,i)&&!t}function ni(e,t){if(typeof e.autoHide=="function"){const i=e.autoHide(t);return e.lastAutoHide=i,i}return e.autoHide}function si(){for(let e=0;e<N.length;e++)N[e].$_computePosition()}let j=0,V=0,se=0,re=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{j=se,V=re,se=e.clientX,re=e.clientY},ce?{passive:!0}:void 0);function he(e,t,i,o,n,s,r,a){const l=((r-n)*(t-s)-(a-s)*(e-n))/((a-s)*(i-e)-(r-n)*(o-t)),d=((i-e)*(t-s)-(o-t)*(e-n))/((a-s)*(i-e)-(r-n)*(o-t));return l>=0&&l<=1&&d>=0&&d<=1}const ri={extends:$t()},Ee=(e,t)=>{const i=e.__vccOpts||e;for(const[o,n]of t)i[o]=n;return i};function ai(e,t,i,o,n,s){return ee(),Pe("div",{ref:"reference",class:lt(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[fe(e.$slots,"default",Rt(Bt(e.slotData)))],2)}const li=Ee(ri,[["render",ai]]);function di(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var i=e.indexOf("Trident/");if(i>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let ue;function ke(){ke.init||(ke.init=!0,ue=di()!==-1)}var _e={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ke(),zt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ue&&this.$el.appendChild(e),e.data="about:blank",ue||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ue&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const ci=Nt();At("data-v-b329ee4c");const pi={class:"resize-observer",tabindex:"-1"};Pt();const hi=ci((e,t,i,o,n,s)=>(ee(),Re("div",pi)));_e.render=hi;_e.__scopeId="data-v-b329ee4c";_e.__file="src/components/ResizeObserver.vue";const _t=(e="theme")=>({computed:{themeClass(){return ti(this[e])}}}),ui=ve({name:"VPopperContent",components:{ResizeObserver:_e},mixins:[_t()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),fi=["id","aria-hidden","tabindex","data-popper-placement"],mi={ref:"inner",class:"v-popper__inner"},gi=Q("div",{class:"v-popper__arrow-outer"},null,-1),wi=Q("div",{class:"v-popper__arrow-inner"},null,-1),yi=[gi,wi];function vi(e,t,i,o,n,s){const r=Ae("ResizeObserver");return ee(),Pe("div",{id:e.popperId,ref:"popover",class:lt(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:be(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Ot(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[Q("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),Q("div",{class:"v-popper__wrapper",style:be(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Q("div",mi,[e.mounted?(ee(),Pe(Ct,{key:0},[Q("div",null,[fe(e.$slots,"default")]),e.handleResize?(ee(),Re(r,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ie("",!0)],64)):Ie("",!0)],512),Q("div",{ref:"arrow",class:"v-popper__arrow-container",style:be(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},yi,4)],4)],46,fi)}const bt=Ee(ui,[["render",vi]]),St={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let He=function(){};typeof window<"u"&&(He=window.Element);const xi=ve({name:"VPopperWrapper",components:{Popper:li,PopperContent:bt},mixins:[St,_t("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,He,Boolean],default:void 0},boundary:{type:[String,He],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function $i(e,t,i,o,n,s){const r=Ae("PopperContent"),a=Ae("Popper");return ee(),Re(a,Ht({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:We(({popperId:l,isShown:d,shouldMountContent:h,skipTransition:c,autoHide:u,show:p,hide:f,handleResize:m,onResize:w,classes:g,result:y})=>[fe(e.$slots,"default",{shown:d,show:p,hide:f}),kt(r,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:d,mounted:h,"skip-transition":c,"auto-hide":u,"handle-resize":m,classes:g,result:y,onHide:f,onResize:w},{default:We(()=>[fe(e.$slots,"popper",{shown:d,hide:f})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Fe=Ee(xi,[["render",$i]]),_i={...Fe,name:"VDropdown",vPopperTheme:"dropdown"};({...Fe});({...Fe});ve({name:"VTooltipDirective",components:{Popper:$t(),PopperContent:bt},mixins:[St],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ze(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ze(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,i=this.content(this);i.then?i.then(o=>this.onResult(t,o)):this.onResult(t,i)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}});const Oi=_i;export{Kt as a,Ai as b,Wt as c,jt as d,Si as e,Gt as f,ae as g,Pi as h,Ti as i,Oi as k,Ci as l,K as m,Xt as o,oe as r,Ut as s};
|
|
|
1 |
+
import{d as ve,cO as At,cP as Pt,a2 as Ae,c as Pe,o as ee,a as Q,W as Ie,c3 as Ct,bf as Re,bA as fe,a3 as be,cQ as Ot,X as lt,_ as zt,cR as Nt,bg as We,b as kt,cj as Ht,cu as Rt,cv as Bt}from"./index-D7HCX4VR.js";const dt=["top","right","bottom","left"],je=["start","end"],Ve=dt.reduce((e,t)=>e.concat(t,t+"-"+je[0],t+"-"+je[1]),[]),ae=Math.min,K=Math.max,Si=Math.round,Ti=Math.floor,Ai=e=>({x:e,y:e}),Mt={left:"right",right:"left",bottom:"top",top:"bottom"},Dt={start:"end",end:"start"};function Ce(e,t,i){return K(e,ae(t,i))}function E(e,t){return typeof e=="function"?e(t):e}function H(e){return e.split("-")[0]}function k(e){return e.split("-")[1]}function Be(e){return e==="x"?"y":"x"}function Me(e){return e==="y"?"height":"width"}function Y(e){return["top","bottom"].includes(H(e))?"y":"x"}function De(e){return Be(Y(e))}function ct(e,t,i){i===void 0&&(i=!1);const o=k(e),n=De(e),s=Me(n);let r=n==="x"?o===(i?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=ge(r)),[r,ge(r)]}function Lt(e){const t=ge(e);return[me(e),t,me(t)]}function me(e){return e.replace(/start|end/g,t=>Dt[t])}function Et(e,t,i){const o=["left","right"],n=["right","left"],s=["top","bottom"],r=["bottom","top"];switch(e){case"top":case"bottom":return i?t?n:o:t?o:n;case"left":case"right":return t?s:r;default:return[]}}function Ft(e,t,i,o){const n=k(e);let s=Et(H(e),i==="start",o);return n&&(s=s.map(r=>r+"-"+n),t&&(s=s.concat(s.map(me)))),s}function ge(e){return e.replace(/left|right|bottom|top/g,t=>Mt[t])}function It(e){return{top:0,right:0,bottom:0,left:0,...e}}function pt(e){return typeof e!="number"?It(e):{top:e,right:e,bottom:e,left:e}}function oe(e){const{x:t,y:i,width:o,height:n}=e;return{width:o,height:n,top:i,left:t,right:t+o,bottom:i+n,x:t,y:i}}function qe(e,t,i){let{reference:o,floating:n}=e;const s=Y(t),r=De(t),a=Me(r),l=H(t),d=s==="y",h=o.x+o.width/2-n.width/2,c=o.y+o.height/2-n.height/2,u=o[a]/2-n[a]/2;let p;switch(l){case"top":p={x:h,y:o.y-n.height};break;case"bottom":p={x:h,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:c};break;case"left":p={x:o.x-n.width,y:c};break;default:p={x:o.x,y:o.y}}switch(k(t)){case"start":p[r]-=u*(i&&d?-1:1);break;case"end":p[r]+=u*(i&&d?-1:1);break}return p}const Wt=async(e,t,i)=>{const{placement:o="bottom",strategy:n="absolute",middleware:s=[],platform:r}=i,a=s.filter(Boolean),l=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:n}),{x:h,y:c}=qe(d,o,l),u=o,p={},f=0;for(let m=0;m<a.length;m++){const{name:w,fn:g}=a[m],{x:y,y:x,data:_,reset:$}=await g({x:h,y:c,initialPlacement:o,placement:u,strategy:n,middlewareData:p,rects:d,platform:r,elements:{reference:e,floating:t}});h=y??h,c=x??c,p={...p,[w]:{...p[w],..._}},$&&f<=50&&(f++,typeof $=="object"&&($.placement&&(u=$.placement),$.rects&&(d=$.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:n}):$.rects),{x:h,y:c}=qe(d,u,l)),m=-1)}return{x:h,y:c,placement:u,strategy:n,middlewareData:p}};async function ie(e,t){var i;t===void 0&&(t={});const{x:o,y:n,platform:s,rects:r,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:c="floating",altBoundary:u=!1,padding:p=0}=E(t,e),f=pt(p),w=a[u?c==="floating"?"reference":"floating":c],g=oe(await s.getClippingRect({element:(i=await(s.isElement==null?void 0:s.isElement(w)))==null||i?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:h,strategy:l})),y=c==="floating"?{x:o,y:n,width:r.floating.width,height:r.floating.height}:r.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),_=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},$=oe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:x,strategy:l}):y);return{top:(g.top-$.top+f.top)/_.y,bottom:($.bottom-g.bottom+f.bottom)/_.y,left:(g.left-$.left+f.left)/_.x,right:($.right-g.right+f.right)/_.x}}const jt=e=>({name:"arrow",options:e,async fn(t){const{x:i,y:o,placement:n,rects:s,platform:r,elements:a,middlewareData:l}=t,{element:d,padding:h=0}=E(e,t)||{};if(d==null)return{};const c=pt(h),u={x:i,y:o},p=De(n),f=Me(p),m=await r.getDimensions(d),w=p==="y",g=w?"top":"left",y=w?"bottom":"right",x=w?"clientHeight":"clientWidth",_=s.reference[f]+s.reference[p]-u[p]-s.floating[f],$=u[p]-s.reference[p],T=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let A=T?T[x]:0;(!A||!await(r.isElement==null?void 0:r.isElement(T)))&&(A=a.floating[x]||s.floating[f]);const R=_/2-$/2,C=A/2-m[f]/2-1,b=ae(c[g],C),P=ae(c[y],C),O=b,B=A-m[f]-P,S=A/2-m[f]/2+R,J=Ce(O,S,B),F=!l.arrow&&k(n)!=null&&S!==J&&s.reference[f]/2-(S<O?b:P)-m[f]/2<0,M=F?S<O?S-O:S-B:0;return{[p]:u[p]+M,data:{[p]:J,centerOffset:S-J-M,...F&&{alignmentOffset:M}},reset:F}}});function Vt(e,t,i){return(e?[...i.filter(n=>k(n)===e),...i.filter(n=>k(n)!==e)]:i.filter(n=>H(n)===n)).filter(n=>e?k(n)===e||(t?me(n)!==n:!1):!0)}const qt=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var i,o,n;const{rects:s,middlewareData:r,placement:a,platform:l,elements:d}=t,{crossAxis:h=!1,alignment:c,allowedPlacements:u=Ve,autoAlignment:p=!0,...f}=E(e,t),m=c!==void 0||u===Ve?Vt(c||null,p,u):u,w=await ie(t,f),g=((i=r.autoPlacement)==null?void 0:i.index)||0,y=m[g];if(y==null)return{};const x=ct(y,s,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(a!==y)return{reset:{placement:m[0]}};const _=[w[H(y)],w[x[0]],w[x[1]]],$=[...((o=r.autoPlacement)==null?void 0:o.overflows)||[],{placement:y,overflows:_}],T=m[g+1];if(T)return{data:{index:g+1,overflows:$},reset:{placement:T}};const A=$.map(b=>{const P=k(b.placement);return[b.placement,P&&h?b.overflows.slice(0,2).reduce((O,B)=>O+B,0):b.overflows[0],b.overflows]}).sort((b,P)=>b[1]-P[1]),C=((n=A.filter(b=>b[2].slice(0,k(b[0])?2:3).every(P=>P<=0))[0])==null?void 0:n[0])||A[0][0];return C!==a?{data:{index:g+1,overflows:$},reset:{placement:C}}:{}}}},Gt=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var i,o;const{placement:n,middlewareData:s,rects:r,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:h=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...w}=E(e,t);if((i=s.arrow)!=null&&i.alignmentOffset)return{};const g=H(n),y=Y(a),x=H(a)===a,_=await(l.isRTL==null?void 0:l.isRTL(d.floating)),$=u||(x||!m?[ge(a)]:Lt(a)),T=f!=="none";!u&&T&&$.push(...Ft(a,m,f,_));const A=[a,...$],R=await ie(t,w),C=[];let b=((o=s.flip)==null?void 0:o.overflows)||[];if(h&&C.push(R[g]),c){const S=ct(n,r,_);C.push(R[S[0]],R[S[1]])}if(b=[...b,{placement:n,overflows:C}],!C.every(S=>S<=0)){var P,O;const S=(((P=s.flip)==null?void 0:P.index)||0)+1,J=A[S];if(J)return{data:{index:S,overflows:b},reset:{placement:J}};let F=(O=b.filter(M=>M.overflows[0]<=0).sort((M,I)=>M.overflows[1]-I.overflows[1])[0])==null?void 0:O.placement;if(!F)switch(p){case"bestFit":{var B;const M=(B=b.filter(I=>{if(T){const W=Y(I.placement);return W===y||W==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(W=>W>0).reduce((W,Tt)=>W+Tt,0)]).sort((I,W)=>I[1]-W[1])[0])==null?void 0:B[0];M&&(F=M);break}case"initialPlacement":F=a;break}if(n!==F)return{reset:{placement:F}}}return{}}}};function Ge(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ye(e){return dt.some(t=>e[t]>=0)}const Pi=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:i}=t,{strategy:o="referenceHidden",...n}=E(e,t);switch(o){case"referenceHidden":{const s=await ie(t,{...n,elementContext:"reference"}),r=Ge(s,i.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:Ye(r)}}}case"escaped":{const s=await ie(t,{...n,altBoundary:!0}),r=Ge(s,i.floating);return{data:{escapedOffsets:r,escaped:Ye(r)}}}default:return{}}}}};async function Yt(e,t){const{placement:i,platform:o,elements:n}=e,s=await(o.isRTL==null?void 0:o.isRTL(n.floating)),r=H(i),a=k(i),l=Y(i)==="y",d=["left","top"].includes(r)?-1:1,h=s&&l?-1:1,c=E(t,e);let{mainAxis:u,crossAxis:p,alignmentAxis:f}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&typeof f=="number"&&(p=a==="end"?f*-1:f),l?{x:p*h,y:u*d}:{x:u*d,y:p*h}}const Xt=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var i,o;const{x:n,y:s,placement:r,middlewareData:a}=t,l=await Yt(t,e);return r===((i=a.offset)==null?void 0:i.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:n+l.x,y:s+l.y,data:{...l,placement:r}}}}},Ut=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:o,placement:n}=t,{mainAxis:s=!0,crossAxis:r=!1,limiter:a={fn:w=>{let{x:g,y}=w;return{x:g,y}}},...l}=E(e,t),d={x:i,y:o},h=await ie(t,l),c=Y(H(n)),u=Be(c);let p=d[u],f=d[c];if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",y=p+h[w],x=p-h[g];p=Ce(y,p,x)}if(r){const w=c==="y"?"top":"left",g=c==="y"?"bottom":"right",y=f+h[w],x=f-h[g];f=Ce(y,f,x)}const m=a.fn({...t,[u]:p,[c]:f});return{...m,data:{x:m.x-i,y:m.y-o,enabled:{[u]:s,[c]:r}}}}}},Ci=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:i,y:o,placement:n,rects:s,middlewareData:r}=t,{offset:a=0,mainAxis:l=!0,crossAxis:d=!0}=E(e,t),h={x:i,y:o},c=Y(n),u=Be(c);let p=h[u],f=h[c];const m=E(a,t),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const x=u==="y"?"height":"width",_=s.reference[u]-s.floating[x]+w.mainAxis,$=s.reference[u]+s.reference[x]-w.mainAxis;p<_?p=_:p>$&&(p=$)}if(d){var g,y;const x=u==="y"?"width":"height",_=["top","left"].includes(H(n)),$=s.reference[c]-s.floating[x]+(_&&((g=r.offset)==null?void 0:g[c])||0)+(_?0:w.crossAxis),T=s.reference[c]+s.reference[x]+(_?0:((y=r.offset)==null?void 0:y[c])||0)-(_?w.crossAxis:0);f<$?f=$:f>T&&(f=T)}return{[u]:p,[c]:f}}}},Kt=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var i,o;const{placement:n,rects:s,platform:r,elements:a}=t,{apply:l=()=>{},...d}=E(e,t),h=await ie(t,d),c=H(n),u=k(n),p=Y(n)==="y",{width:f,height:m}=s.floating;let w,g;c==="top"||c==="bottom"?(w=c,g=u===(await(r.isRTL==null?void 0:r.isRTL(a.floating))?"start":"end")?"left":"right"):(g=c,w=u==="end"?"top":"bottom");const y=m-h.top-h.bottom,x=f-h.left-h.right,_=ae(m-h[w],y),$=ae(f-h[g],x),T=!t.middlewareData.shift;let A=_,R=$;if((i=t.middlewareData.shift)!=null&&i.enabled.x&&(R=x),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=y),T&&!u){const b=K(h.left,0),P=K(h.right,0),O=K(h.top,0),B=K(h.bottom,0);p?R=f-2*(b!==0||P!==0?b+P:K(h.left,h.right)):A=m-2*(O!==0||B!==0?O+B:K(h.top,h.bottom))}await l({...t,availableWidth:R,availableHeight:A});const C=await r.getDimensions(a.floating);return f!==C.width||m!==C.height?{reset:{rects:!0}}:{}}}};function z(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function D(e){return z(e).getComputedStyle(e)}const Xe=Math.min,ne=Math.max,we=Math.round;function ht(e){const t=D(e);let i=parseFloat(t.width),o=parseFloat(t.height);const n=e.offsetWidth,s=e.offsetHeight,r=we(i)!==n||we(o)!==s;return r&&(i=n,o=s),{width:i,height:o,fallback:r}}function X(e){return ft(e)?(e.nodeName||"").toLowerCase():""}let pe;function ut(){if(pe)return pe;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(pe=e.brands.map(t=>t.brand+"/"+t.version).join(" "),pe):navigator.userAgent}function L(e){return e instanceof z(e).HTMLElement}function q(e){return e instanceof z(e).Element}function ft(e){return e instanceof z(e).Node}function Ue(e){return typeof ShadowRoot>"u"?!1:e instanceof z(e).ShadowRoot||e instanceof ShadowRoot}function xe(e){const{overflow:t,overflowX:i,overflowY:o,display:n}=D(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+i)&&!["inline","contents"].includes(n)}function Qt(e){return["table","td","th"].includes(X(e))}function Oe(e){const t=/firefox/i.test(ut()),i=D(e),o=i.backdropFilter||i.WebkitBackdropFilter;return i.transform!=="none"||i.perspective!=="none"||!!o&&o!=="none"||t&&i.willChange==="filter"||t&&!!i.filter&&i.filter!=="none"||["transform","perspective"].some(n=>i.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const s=i.contain;return s!=null&&s.includes(n)})}function mt(){return!/^((?!chrome|android).)*safari/i.test(ut())}function Le(e){return["html","body","#document"].includes(X(e))}function gt(e){return q(e)?e:e.contextElement}const wt={x:1,y:1};function te(e){const t=gt(e);if(!L(t))return wt;const i=t.getBoundingClientRect(),{width:o,height:n,fallback:s}=ht(t);let r=(s?we(i.width):i.width)/o,a=(s?we(i.height):i.height)/n;return r&&Number.isFinite(r)||(r=1),a&&Number.isFinite(a)||(a=1),{x:r,y:a}}function le(e,t,i,o){var n,s;t===void 0&&(t=!1),i===void 0&&(i=!1);const r=e.getBoundingClientRect(),a=gt(e);let l=wt;t&&(o?q(o)&&(l=te(o)):l=te(e));const d=a?z(a):window,h=!mt()&&i;let c=(r.left+(h&&((n=d.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,u=(r.top+(h&&((s=d.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,p=r.width/l.x,f=r.height/l.y;if(a){const m=z(a),w=o&&q(o)?z(o):o;let g=m.frameElement;for(;g&&o&&w!==m;){const y=te(g),x=g.getBoundingClientRect(),_=getComputedStyle(g);x.x+=(g.clientLeft+parseFloat(_.paddingLeft))*y.x,x.y+=(g.clientTop+parseFloat(_.paddingTop))*y.y,c*=y.x,u*=y.y,p*=y.x,f*=y.y,c+=x.x,u+=x.y,g=z(g).frameElement}}return{width:p,height:f,top:u,right:c+p,bottom:u+f,left:c,x:c,y:u}}function G(e){return((ft(e)?e.ownerDocument:e.document)||window.document).documentElement}function $e(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function yt(e){return le(G(e)).left+$e(e).scrollLeft}function de(e){if(X(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ue(e)&&e.host||G(e);return Ue(t)?t.host:t}function vt(e){const t=de(e);return Le(t)?t.ownerDocument.body:L(t)&&xe(t)?t:vt(t)}function ye(e,t){var i;t===void 0&&(t=[]);const o=vt(e),n=o===((i=e.ownerDocument)==null?void 0:i.body),s=z(o);return n?t.concat(s,s.visualViewport||[],xe(o)?o:[]):t.concat(o,ye(o))}function Ke(e,t,i){return t==="viewport"?oe(function(o,n){const s=z(o),r=G(o),a=s.visualViewport;let l=r.clientWidth,d=r.clientHeight,h=0,c=0;if(a){l=a.width,d=a.height;const u=mt();(u||!u&&n==="fixed")&&(h=a.offsetLeft,c=a.offsetTop)}return{width:l,height:d,x:h,y:c}}(e,i)):q(t)?oe(function(o,n){const s=le(o,!0,n==="fixed"),r=s.top+o.clientTop,a=s.left+o.clientLeft,l=L(o)?te(o):{x:1,y:1};return{width:o.clientWidth*l.x,height:o.clientHeight*l.y,x:a*l.x,y:r*l.y}}(t,i)):oe(function(o){const n=G(o),s=$e(o),r=o.ownerDocument.body,a=ne(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),l=ne(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight);let d=-s.scrollLeft+yt(o);const h=-s.scrollTop;return D(r).direction==="rtl"&&(d+=ne(n.clientWidth,r.clientWidth)-a),{width:a,height:l,x:d,y:h}}(G(e)))}function Qe(e){return L(e)&&D(e).position!=="fixed"?e.offsetParent:null}function Ze(e){const t=z(e);let i=Qe(e);for(;i&&Qt(i)&&D(i).position==="static";)i=Qe(i);return i&&(X(i)==="html"||X(i)==="body"&&D(i).position==="static"&&!Oe(i))?t:i||function(o){let n=de(o);for(;L(n)&&!Le(n);){if(Oe(n))return n;n=de(n)}return null}(e)||t}function Zt(e,t,i){const o=L(t),n=G(t),s=le(e,!0,i==="fixed",t);let r={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&i!=="fixed")if((X(t)!=="body"||xe(n))&&(r=$e(t)),L(t)){const l=le(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else n&&(a.x=yt(n));return{x:s.left+r.scrollLeft-a.x,y:s.top+r.scrollTop-a.y,width:s.width,height:s.height}}const Jt={getClippingRect:function(e){let{element:t,boundary:i,rootBoundary:o,strategy:n}=e;const s=i==="clippingAncestors"?function(d,h){const c=h.get(d);if(c)return c;let u=ye(d).filter(w=>q(w)&&X(w)!=="body"),p=null;const f=D(d).position==="fixed";let m=f?de(d):d;for(;q(m)&&!Le(m);){const w=D(m),g=Oe(m);(f?g||p:g||w.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=w:u=u.filter(y=>y!==m),m=de(m)}return h.set(d,u),u}(t,this._c):[].concat(i),r=[...s,o],a=r[0],l=r.reduce((d,h)=>{const c=Ke(t,h,n);return d.top=ne(c.top,d.top),d.right=Xe(c.right,d.right),d.bottom=Xe(c.bottom,d.bottom),d.left=ne(c.left,d.left),d},Ke(t,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:i,strategy:o}=e;const n=L(i),s=G(i);if(i===s)return t;let r={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((n||!n&&o!=="fixed")&&((X(i)!=="body"||xe(s))&&(r=$e(i)),L(i))){const d=le(i);a=te(i),l.x=d.x+i.clientLeft,l.y=d.y+i.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-r.scrollLeft*a.x+l.x,y:t.y*a.y-r.scrollTop*a.y+l.y}},isElement:q,getDimensions:function(e){return L(e)?ht(e):e.getBoundingClientRect()},getOffsetParent:Ze,getDocumentElement:G,getScale:te,async getElementRects(e){let{reference:t,floating:i,strategy:o}=e;const n=this.getOffsetParent||Ze,s=this.getDimensions;return{reference:Zt(t,await n(i),o),floating:{x:0,y:0,...await s(i)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>D(e).direction==="rtl"},ei=(e,t,i)=>{const o=new Map,n={platform:Jt,...i},s={...n.platform,_c:o};return Wt(e,t,{...n,platform:s})},Z={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ze(e,t){let i=Z.themes[e]||{},o;do o=i[t],typeof o>"u"?i.$extend?i=Z.themes[i.$extend]||{}:(i=null,o=Z[t]):i=null;while(i);return o}function ti(e){const t=[e];let i=Z.themes[e]||{};do i.$extend&&!i.$resetCss?(t.push(i.$extend),i=Z.themes[i.$extend]||{}):i=null;while(i);return t.map(o=>`v-popper--theme-${o}`)}function Je(e){const t=[e];let i=Z.themes[e]||{};do i.$extend?(t.push(i.$extend),i=Z.themes[i.$extend]||{}):i=null;while(i);return t}let ce=!1;if(typeof window<"u"){ce=!1;try{const e=Object.defineProperty({},"passive",{get(){ce=!0}});window.addEventListener("test",null,e)}catch{}}let xt=!1;typeof window<"u"&&typeof navigator<"u"&&(xt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ii=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),et={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},tt={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function it(e,t){const i=e.indexOf(t);i!==-1&&e.splice(i,1)}function Se(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const N=[];let U=null;const ot={};function nt(e){let t=ot[e];return t||(t=ot[e]=[]),t}let Ne=function(){};typeof window<"u"&&(Ne=window.Element);function v(e){return function(t){return ze(t.theme,e)}}const Te="__floating-vue__popper",$t=()=>ve({name:"VPopper",provide(){return{[Te]:{parentPopper:this}}},inject:{[Te]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:v("disabled")},positioningDisabled:{type:Boolean,default:v("positioningDisabled")},placement:{type:String,default:v("placement"),validator:e=>ii.includes(e)},delay:{type:[String,Number,Object],default:v("delay")},distance:{type:[Number,String],default:v("distance")},skidding:{type:[Number,String],default:v("skidding")},triggers:{type:Array,default:v("triggers")},showTriggers:{type:[Array,Function],default:v("showTriggers")},hideTriggers:{type:[Array,Function],default:v("hideTriggers")},popperTriggers:{type:Array,default:v("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:v("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:v("popperHideTriggers")},container:{type:[String,Object,Ne,Boolean],default:v("container")},boundary:{type:[String,Ne],default:v("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:v("strategy")},autoHide:{type:[Boolean,Function],default:v("autoHide")},handleResize:{type:Boolean,default:v("handleResize")},instantMove:{type:Boolean,default:v("instantMove")},eagerMount:{type:Boolean,default:v("eagerMount")},popperClass:{type:[String,Array,Object],default:v("popperClass")},computeTransformOrigin:{type:Boolean,default:v("computeTransformOrigin")},autoMinSize:{type:Boolean,default:v("autoMinSize")},autoSize:{type:[Boolean,String],default:v("autoSize")},autoMaxSize:{type:Boolean,default:v("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:v("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:v("preventOverflow")},overflowPadding:{type:[Number,String],default:v("overflowPadding")},arrowPadding:{type:[Number,String],default:v("arrowPadding")},arrowOverflow:{type:Boolean,default:v("arrowOverflow")},flip:{type:Boolean,default:v("flip")},shift:{type:Boolean,default:v("shift")},shiftCrossAxis:{type:Boolean,default:v("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:v("noAutoFocus")},disposeTimeout:{type:Number,default:v("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Te])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:i=!1}={}){var o,n;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(i||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var i;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Xt({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(qt({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Ut({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Gt({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(jt({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:n,middlewareData:s})=>{let r;const{centerOffset:a}=s.arrow;return o.startsWith("top")||o.startsWith("bottom")?r=Math.abs(a)>n.reference.width/2:r=Math.abs(a)>n.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:s,middlewareData:r})=>{var a;if((a=r.autoSize)!=null&&a.skip)return{};let l,d;return s.startsWith("top")||s.startsWith("bottom")?l=n.reference.width:d=n.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=d!=null?`${d}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Kt({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:n})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const i=await ei(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:{...i.middlewareData.arrow,...i.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),U&&this.instantMove&&U.instantMove&&U!==this.parentPopper){U.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(U=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Se(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ye(this.$_referenceNode),...ye(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),i=this.$_popperNode.querySelector(".v-popper__wrapper"),o=i.parentNode.getBoundingClientRect(),n=t.x+t.width/2-(o.left+i.offsetLeft),s=t.y+t.height/2-(o.top+i.offsetTop);this.result.transformOrigin=`${n}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let i=0;i<N.length;i++)t=N[i],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}N.push(this),document.body.classList.add("v-popper--some-open");for(const t of Je(this.theme))nt(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Se(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,it(N,this),N.length===0&&document.body.classList.remove("v-popper--some-open");for(const i of Je(this.theme)){const o=nt(i);it(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${i}`)}U===this&&(U=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Se(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=i=>{this.isShown&&!this.$_hideInProgress||(i.usedByTooltip=!0,!this.$_preventShow&&this.show({event:i}))};this.$_registerTriggerListeners(this.$_targetNodes,et,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],et,this.popperTriggers,this.popperShowTriggers,e);const t=i=>{i.usedByTooltip||this.hide({event:i})};this.$_registerTriggerListeners(this.$_targetNodes,tt,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],tt,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,i){this.$_events.push({targetNodes:e,eventType:t,handler:i}),e.forEach(o=>o.addEventListener(t,i,ce?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,i,o,n){let s=i;o!=null&&(s=typeof o=="function"?o(s):o),s.forEach(r=>{const a=t[r];a&&this.$_registerEventListeners(e,a,n)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(i=>{const{targetNodes:o,eventType:n,handler:s}=i;!e||e===n?o.forEach(r=>r.removeEventListener(n,s)):t.push(i)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const i of this.$_targetNodes){const o=i.getAttribute(e);o&&(i.removeAttribute(e),i.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const i in e){const o=e[i];o==null?t.removeAttribute(i):t.setAttribute(i,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(se>=e.left&&se<=e.right&&re>=e.top&&re<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),i=se-j,o=re-V,n=t.left+t.width/2-j+(t.top+t.height/2)-V+t.width+t.height,s=j+i*n,r=V+o*n;return he(j,V,s,r,t.left,t.top,t.left,t.bottom)||he(j,V,s,r,t.left,t.top,t.right,t.top)||he(j,V,s,r,t.right,t.top,t.right,t.bottom)||he(j,V,s,r,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(xt){const e=ce?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>st(t),e),document.addEventListener("touchend",t=>rt(t,!0),e)}else window.addEventListener("mousedown",e=>st(e),!0),window.addEventListener("click",e=>rt(e,!1),!0);window.addEventListener("resize",si)}function st(e,t){for(let i=0;i<N.length;i++){const o=N[i];try{o.mouseDownContains=o.popperNode().contains(e.target)}catch{}}}function rt(e,t){oi(e,t)}function oi(e,t){const i={};for(let o=N.length-1;o>=0;o--){const n=N[o];try{const s=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!i[n.randomId]&&at(n,s,e)){if(n.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=n.parentPopper;for(;a;)i[a.randomId]=!0,a=a.parentPopper;return}let r=n.parentPopper;for(;r&&at(r,r.containsGlobalTarget,e);)r.$_handleGlobalClose(e,t),r=r.parentPopper}})}catch{}}}function at(e,t,i){return i.closeAllPopover||i.closePopover&&t||ni(e,i)&&!t}function ni(e,t){if(typeof e.autoHide=="function"){const i=e.autoHide(t);return e.lastAutoHide=i,i}return e.autoHide}function si(){for(let e=0;e<N.length;e++)N[e].$_computePosition()}let j=0,V=0,se=0,re=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{j=se,V=re,se=e.clientX,re=e.clientY},ce?{passive:!0}:void 0);function he(e,t,i,o,n,s,r,a){const l=((r-n)*(t-s)-(a-s)*(e-n))/((a-s)*(i-e)-(r-n)*(o-t)),d=((i-e)*(t-s)-(o-t)*(e-n))/((a-s)*(i-e)-(r-n)*(o-t));return l>=0&&l<=1&&d>=0&&d<=1}const ri={extends:$t()},Ee=(e,t)=>{const i=e.__vccOpts||e;for(const[o,n]of t)i[o]=n;return i};function ai(e,t,i,o,n,s){return ee(),Pe("div",{ref:"reference",class:lt(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[fe(e.$slots,"default",Rt(Bt(e.slotData)))],2)}const li=Ee(ri,[["render",ai]]);function di(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var i=e.indexOf("Trident/");if(i>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let ue;function ke(){ke.init||(ke.init=!0,ue=di()!==-1)}var _e={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ke(),zt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",ue&&this.$el.appendChild(e),e.data="about:blank",ue||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!ue&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const ci=Nt();At("data-v-b329ee4c");const pi={class:"resize-observer",tabindex:"-1"};Pt();const hi=ci((e,t,i,o,n,s)=>(ee(),Re("div",pi)));_e.render=hi;_e.__scopeId="data-v-b329ee4c";_e.__file="src/components/ResizeObserver.vue";const _t=(e="theme")=>({computed:{themeClass(){return ti(this[e])}}}),ui=ve({name:"VPopperContent",components:{ResizeObserver:_e},mixins:[_t()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),fi=["id","aria-hidden","tabindex","data-popper-placement"],mi={ref:"inner",class:"v-popper__inner"},gi=Q("div",{class:"v-popper__arrow-outer"},null,-1),wi=Q("div",{class:"v-popper__arrow-inner"},null,-1),yi=[gi,wi];function vi(e,t,i,o,n,s){const r=Ae("ResizeObserver");return ee(),Pe("div",{id:e.popperId,ref:"popover",class:lt(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:be(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Ot(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[Q("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),Q("div",{class:"v-popper__wrapper",style:be(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[Q("div",mi,[e.mounted?(ee(),Pe(Ct,{key:0},[Q("div",null,[fe(e.$slots,"default")]),e.handleResize?(ee(),Re(r,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ie("",!0)],64)):Ie("",!0)],512),Q("div",{ref:"arrow",class:"v-popper__arrow-container",style:be(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},yi,4)],4)],46,fi)}const bt=Ee(ui,[["render",vi]]),St={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let He=function(){};typeof window<"u"&&(He=window.Element);const xi=ve({name:"VPopperWrapper",components:{Popper:li,PopperContent:bt},mixins:[St,_t("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,He,Boolean],default:void 0},boundary:{type:[String,He],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function $i(e,t,i,o,n,s){const r=Ae("PopperContent"),a=Ae("Popper");return ee(),Re(a,Ht({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:We(({popperId:l,isShown:d,shouldMountContent:h,skipTransition:c,autoHide:u,show:p,hide:f,handleResize:m,onResize:w,classes:g,result:y})=>[fe(e.$slots,"default",{shown:d,show:p,hide:f}),kt(r,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:d,mounted:h,"skip-transition":c,"auto-hide":u,"handle-resize":m,classes:g,result:y,onHide:f,onResize:w},{default:We(()=>[fe(e.$slots,"popper",{shown:d,hide:f})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Fe=Ee(xi,[["render",$i]]),_i={...Fe,name:"VDropdown",vPopperTheme:"dropdown"};({...Fe});({...Fe});ve({name:"VTooltipDirective",components:{Popper:$t(),PopperContent:bt},mixins:[St],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ze(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ze(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,i=this.content(this);i.then?i.then(o=>this.onResult(t,o)):this.onResult(t,i)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}});const Oi=_i;export{Kt as a,Ai as b,Wt as c,jt as d,Si as e,Gt as f,ae as g,Pi as h,Ti as i,Oi as k,Ci as l,K as m,Xt as o,oe as r,Ut as s};
|
assets/{SpeechProviderSettings.vue_vue_type_script_setup_true_lang-DWSy2Z9z.js → SpeechProviderSettings.vue_vue_type_script_setup_true_lang-Cn-PwtFl.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as B,c2 as ee,c as _,o as g,bA as L,bh as O,a as l,X as G,c3 as q,$ as H,e as u,w as K,U as W,b as $,u as s,Y as k,W as R,ca as A,cc as te,c4 as oe,V as ae,a0 as le,f as M,T as se,bf as re,bg as C,cu as D,cv as E,cq as ie}from"./index-D2WYGmMW.js";import{b as ne,a as ue}from"./TestDummyMarker.vue_vue_type_script_setup_true_lang-Bemf8jvO.js";import"./Select.vue_vue_type_style_index_0_lang-BH7HpSd3.js";/* empty css */import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-CDcOtXKI.js";import"./three-vrm.module-CUFR2yrr.js";import"./emotions-DWNSb738.js";import"./mcp-BZIA1D4z.js";import{u as de,g as ce}from"./speech-DGQ9csRh.js";import{u as ve}from"./providers-Dur8rXFq.js";import{_ as pe}from"./ProviderAdvancedSettings.vue_vue_type_script_setup_true_lang-hfHLOit3.js";import{_ as me}from"./ProviderApiKeyInput.vue_vue_type_script_setup_true_lang-CtHTqn6c.js";import{_ as fe}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-C-QAdPs4.js";import{_ as ge}from"./ProviderBasicSettings.vue_vue_type_script_setup_true_lang-D6ReMgam.js";import{_ as be}from"./ProviderSettingsContainer.vue_vue_type_script_setup_true_lang-BmYRx-RP.js";const _e={text:"neutral-200/50 dark:neutral-600/20","pointer-events-none":"",fixed:"",top:"[calc(100dvh-15rem)]","bottom-0":"","right--5":"","z--1":"",initial:{scale:.9,opacity:0,x:20},enter:{scale:1,opacity:1,x:0},duration:500,"size-60":""},he=B({__name:"ProviderSettingsLayout2",props:{providerName:null,providerIcon:null,providerIconColor:null,onBack:{type:Function}},setup(y){return(a,S)=>{const d=ee("motion");return g(),_(q,null,[L(a.$slots,"default"),O((g(),_("div",_e,[l("div",{text:"60",class:G(y.providerIcon||y.providerIconColor)},null,2)])),[[d]])],64)}}}),xe={"w-full":"","rounded-xl":""},ye={class:"mb-4 text-lg text-neutral-500 md:text-2xl dark:text-neutral-400","w-full":""},ke={class:"inline-flex items-center gap-4"},Se={flex:"~ col gap-4"},Ue=["placeholder"],we=["placeholder"],Ie={flex:"~ col gap-6"},Ve={grid:"~ cols-2 gap-4"},Te={class:"flex items-center gap-1 text-sm font-medium"},$e={class:"text-xs text-neutral-500 dark:text-neutral-400"},Le=["value"],Re={flex:"~ row","gap-4":""},Pe=["disabled"],Me={flex:"~ row","items-center":"","gap-2":""},Ce={flex:"~ row","items-center":"","gap-2":""},Oe={key:2,class:"mt-2 text-sm text-red-500"},ze={key:3,class:"mt-2 text-sm text-red-500"},Ke={key:4,class:"mt-2 text-sm text-red-500"},Be=["src"],rt=B({__name:"SpeechPlayground",props:{defaultText:null,availableVoices:null,generateSpeech:{type:Function},apiKeyConfigured:{type:Boolean}},setup(y,{expose:a}){const S=y,{t:d}=H(),m=u(S.defaultText||"Hello! This is a test of the voice synthesis."),U=u(!1),t=u(""),v=u(""),f=u(null),i=u(!1),h=u(""),p=u("");K(()=>S.availableVoices,n=>{var r;n.length>0&&!p.value&&(p.value=((r=n[0])==null?void 0:r.id)||"")},{immediate:!0});async function x(){if(!(!m.value.trim()&&!i.value||i.value&&!h.value.trim()||!p.value)){U.value=!0,v.value="";try{t.value&&I();const n=i.value?h.value:m.value,r=await S.generateSpeech(n,p.value,i.value);t.value=URL.createObjectURL(new Blob([r])),setTimeout(()=>{f.value&&f.value.play()},100)}catch(n){console.error("Error generating speech:",n),v.value=n instanceof Error?n.message:"An unknown error occurred"}finally{U.value=!1}}}function I(){f.value&&(f.value.pause(),f.value.currentTime=0),t.value&&(URL.revokeObjectURL(t.value),t.value="")}return W(()=>{t.value&&URL.revokeObjectURL(t.value)}),a({testText:m,ssmlText:h,useSSML:i,selectedVoice:p,isGenerating:U,audioUrl:t,errorMessage:v,audioPlayer:f,generateTestSpeech:x,stopTestAudio:I}),(n,r)=>(g(),_("div",xe,[l("h2",ye,[l("div",ke,[$(s(ne)),l("div",null,k(s(d)("settings.pages.providers.provider.elevenlabs.playground.title")),1)])]),l("div",Se,[$(s(ue),{modelValue:i.value,"onUpdate:modelValue":r[0]||(r[0]=c=>i.value=c),label:s(d)("settings.pages.modules.speech.sections.section.voice-settings.use-ssml.label"),description:s(d)("settings.pages.modules.speech.sections.section.voice-settings.use-ssml.description")},null,8,["modelValue","label","description"]),i.value?O((g(),_("textarea",{key:1,"onUpdate:modelValue":r[2]||(r[2]=c=>h.value=c),placeholder:s(d)("settings.pages.modules.speech.sections.section.voice-settings.input-ssml.placeholder"),border:"neutral-100 dark:neutral-800 solid 2 focus:neutral-200 dark:focus:neutral-700",transition:"all duration-250 ease-in-out",bg:"neutral-100 dark:neutral-800 focus:neutral-50 dark:focus:neutral-900","h-48":"","w-full":"","rounded-lg":"","px-3":"","py-2":"","text-sm":"","font-mono":"","outline-none":""},null,8,we)),[[A,h.value]]):O((g(),_("textarea",{key:0,"onUpdate:modelValue":r[1]||(r[1]=c=>m.value=c),placeholder:s(d)("settings.pages.providers.provider.elevenlabs.playground.fields.field.input.placeholder"),border:"neutral-100 dark:neutral-800 solid 2 focus:neutral-200 dark:focus:neutral-700",transition:"all duration-250 ease-in-out",bg:"neutral-100 dark:neutral-800 focus:neutral-50 dark:focus:neutral-900","h-24":"","w-full":"","rounded-lg":"","px-3":"","py-2":"","text-sm":"","outline-none":""},null,8,Ue)),[[A,m.value]]),l("div",Ie,[l("label",Ve,[l("div",null,[l("div",Te,k(s(d)("settings.pages.providers.provider.elevenlabs.playground.fields.field.voice.label")),1),l("div",$e,k(s(d)("settings.pages.providers.provider.elevenlabs.playground.fields.field.voice.description")),1)]),O(l("select",{"onUpdate:modelValue":r[3]||(r[3]=c=>p.value=c),border:"neutral-300 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"border duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":""},[(g(!0),_(q,null,oe(y.availableVoices,c=>(g(),_("option",{key:c.id,value:c.id},k(c.name),9,Le))),128))],512),[[te,p.value]])])]),l("div",Re,[l("button",{border:"neutral-800 dark:neutral-200 solid 2",transition:"border duration-250 ease-in-out","rounded-lg":"","px-4":"",text:"neutral-100 dark:neutral-900","py-2":"","text-sm":"",disabled:U.value||!m.value.trim()&&!i.value||i.value&&!h.value.trim()||!p.value||!y.apiKeyConfigured,class:G({"opacity-50 cursor-not-allowed":U.value||!m.value.trim()&&!i.value||i.value&&!h.value.trim()||!p.value||!y.apiKeyConfigured}),bg:"neutral-700 dark:neutral-300",onClick:x},[l("div",Me,[r[4]||(r[4]=l("div",{"i-solar:play-circle-bold-duotone":""},null,-1)),l("span",null,k(U.value?s(d)("settings.pages.providers.provider.elevenlabs.playground.buttons.button.test-voice.generating"):s(d)("settings.pages.providers.provider.elevenlabs.playground.buttons.button.test-voice.label")),1)])],10,Pe),t.value?(g(),_("button",{key:0,border:"primary-300 dark:primary-800 solid 2",transition:"border duration-250 ease-in-out","rounded-lg":"","px-4":"","py-2":"","text-sm":"",onClick:I},[l("div",Ce,[r[5]||(r[5]=l("div",{"i-solar:stop-circle-bold-duotone":""},null,-1)),l("span",null,k(s(d)("settings.pages.modules.speech.sections.section.playground.buttons.stop.label")),1)])])):R("",!0)]),y.apiKeyConfigured?R("",!0):(g(),_("div",Oe,k(s(d)("settings.pages.providers.provider.elevenlabs.playground.validation.error-missing-api-key")),1)),p.value?R("",!0):(g(),_("div",ze,k(s(d)("settings.pages.modules.speech.sections.section.playground.select-voice.required")),1)),v.value?(g(),_("div",Ke,k(v.value),1)):R("",!0),t.value?(g(),_("audio",{key:5,ref_key:"audioPlayer",ref:f,src:t.value,controls:"",class:"mt-2 w-full"},null,8,Be)):R("",!0)]),L(n.$slots,"default")]))}}),Ne={flex:"~ col md:row gap-6"},je={flex:"~ col gap-6"},Fe={class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},Ae={flex:"~ col gap-4"},De={flex:"~ col gap-6",class:"w-full md:w-[60%]"},Ee={"w-full":"","rounded-xl":""},it=B({__name:"SpeechProviderSettings",props:{providerId:null,defaultModel:null,additionalSettings:null},setup(y){const a=y,{t:S}=H(),d=ae(),m=ve(),U=de(),{providers:t}=le(m),v=M(()=>m.getProviderMetadata(a.providerId)),f=M({get:()=>{var e;return((e=t.value[a.providerId])==null?void 0:e.apiKey)||""},set:e=>{t.value[a.providerId]||(t.value[a.providerId]={}),t.value[a.providerId].apiKey=e}}),i=M({get:()=>{var e,o,b;return((e=t.value[a.providerId])==null?void 0:e.baseUrl)||((b=(o=v.value)==null?void 0:o.defaultOptions)==null?void 0:b.call(o).baseUrl)||""},set:e=>{t.value[a.providerId]||(t.value[a.providerId]={}),t.value[a.providerId].baseUrl=e}}),h=u("Hello! This is a test of voice synthesis."),p=u(!1),x=u(""),I=u(""),n=u(null),r=u(!1),c=u(""),N=u(""),w=u({});function X(){var e;(e=t.value[a.providerId])!=null&&e.voiceSettings?w.value={...t.value[a.providerId].voiceSettings}:w.value={pitch:0,speed:1,volume:0,...a.additionalSettings}}se(()=>{var e,o,b,V;m.initializeProvider(a.providerId),f.value=((e=t.value[a.providerId])==null?void 0:e.apiKey)||"",i.value=((o=t.value[a.providerId])==null?void 0:o.baseUrl)||((V=(b=v.value)==null?void 0:b.defaultOptions)==null?void 0:V.call(b).baseUrl)||"",X(),m.configuredProviders[a.providerId]&&U.loadVoicesForProvider(a.providerId)});const z=ie(()=>{var e,o;t.value[a.providerId]={...t.value[a.providerId],apiKey:f.value,baseUrl:i.value||((o=(e=v.value)==null?void 0:e.defaultOptions)==null?void 0:o.call(e).baseUrl)||"",voiceSettings:{...w.value}}},1e3);K([f,i],z),K(w,z,{deep:!0});async function Y(){if(!h.value.trim()&&!r.value||r.value&&!c.value.trim())return;const e=m.getProviderInstance(a.providerId);if(!e){console.error("Failed to initialize speech provider");return}if(!N.value){console.error("No active speech voice selected");return}p.value=!0,I.value="";try{x.value&&j();const o=a.defaultModel||"default",b=r.value?c.value:h.value,V=await ce({...e.speech(o,{voiceSettings:w.value}),input:b,voice:N.value});x.value=URL.createObjectURL(new Blob([V])),setTimeout(()=>{n.value&&n.value.play()},100)}catch(o){console.error("Error generating speech:",o),I.value=o instanceof Error?o.message:"An unknown error occurred"}finally{p.value=!1}}function j(){n.value&&(n.value.pause(),n.value.currentTime=0),x.value&&(URL.revokeObjectURL(x.value),x.value="")}W(()=>{x.value&&URL.revokeObjectURL(x.value)});function J(){var e,o;w.value={...((o=(e=v.value)==null?void 0:e.defaultOptions)==null?void 0:o.call(e).voiceSettings)||{}},z()}function Q(e,o){w.value[e]=o}const F=M(()=>({voiceSettings:w.value,updateVoiceSettings:Q,isGenerating:p.value,testText:h.value,useSSML:r.value,ssmlText:c.value,generateTestSpeech:Y,stopTestAudio:j,audioUrl:x.value,audioPlayer:n.value,errorMessage:I.value}));return(e,o)=>{var b,V;return g(),re(he,{"provider-name":(b=v.value)==null?void 0:b.localizedName,"provider-icon":(V=v.value)==null?void 0:V.icon,"on-back":()=>s(d).back()},{default:C(()=>[l("div",Ne,[$(s(be),{class:"w-full md:w-[40%]"},{default:C(()=>[$(s(ge),{title:s(S)("settings.pages.providers.common.section.basic.title"),description:s(S)("settings.pages.providers.common.section.basic.description"),"on-reset":J},{default:C(()=>{var T;return[$(s(me),{modelValue:f.value,"onUpdate:modelValue":o[0]||(o[0]=P=>f.value=P),"provider-name":(T=v.value)==null?void 0:T.localizedName,placeholder:"sk-"},null,8,["modelValue","provider-name"]),L(e.$slots,"basic-settings")]}),_:3},8,["title","description"]),l("div",je,[l("h2",Fe,k(s(S)("settings.pages.providers.common.section.voice.title")),1),l("div",Ae,[L(e.$slots,"voice-settings",D(E(F.value)))])]),$(s(pe),{title:s(S)("settings.pages.providers.common.section.advanced.title")},{default:C(()=>{var T,P;return[$(s(fe),{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=Z=>i.value=Z),placeholder:((P=(T=v.value)==null?void 0:T.defaultOptions)==null?void 0:P.call(T).baseUrl)||"",required:""},null,8,["modelValue","placeholder"]),L(e.$slots,"advanced-settings")]}),_:3},8,["title"])]),_:3}),l("div",De,[l("div",Ee,[L(e.$slots,"playground",D(E(F.value)))])])])]),_:3},8,["provider-name","provider-icon","on-back"])}}});export{rt as _,it as a};
|
|
|
1 |
+
import{d as B,c2 as ee,c as _,o as g,bA as L,bh as O,a as l,X as G,c3 as q,$ as H,e as u,w as K,U as W,b as $,u as s,Y as k,W as R,ca as A,cc as te,c4 as oe,V as ae,a0 as le,f as M,T as se,bf as re,bg as C,cu as D,cv as E,cq as ie}from"./index-D7HCX4VR.js";import{b as ne,a as ue}from"./TestDummyMarker.vue_vue_type_script_setup_true_lang-B8ttvJp0.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";/* empty css */import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";import"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";import{u as de,g as ce}from"./speech-D8cCufg2.js";import{u as ve}from"./providers-DepZj6_J.js";import{_ as pe}from"./ProviderAdvancedSettings.vue_vue_type_script_setup_true_lang-DyAoTyc1.js";import{_ as me}from"./ProviderApiKeyInput.vue_vue_type_script_setup_true_lang-BKRXTEtv.js";import{_ as fe}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-CY_3wYwt.js";import{_ as ge}from"./ProviderBasicSettings.vue_vue_type_script_setup_true_lang-FDIyR7vt.js";import{_ as be}from"./ProviderSettingsContainer.vue_vue_type_script_setup_true_lang-C8iT0FMz.js";const _e={text:"neutral-200/50 dark:neutral-600/20","pointer-events-none":"",fixed:"",top:"[calc(100dvh-15rem)]","bottom-0":"","right--5":"","z--1":"",initial:{scale:.9,opacity:0,x:20},enter:{scale:1,opacity:1,x:0},duration:500,"size-60":""},he=B({__name:"ProviderSettingsLayout2",props:{providerName:null,providerIcon:null,providerIconColor:null,onBack:{type:Function}},setup(y){return(a,S)=>{const d=ee("motion");return g(),_(q,null,[L(a.$slots,"default"),O((g(),_("div",_e,[l("div",{text:"60",class:G(y.providerIcon||y.providerIconColor)},null,2)])),[[d]])],64)}}}),xe={"w-full":"","rounded-xl":""},ye={class:"mb-4 text-lg text-neutral-500 md:text-2xl dark:text-neutral-400","w-full":""},ke={class:"inline-flex items-center gap-4"},Se={flex:"~ col gap-4"},Ue=["placeholder"],we=["placeholder"],Ie={flex:"~ col gap-6"},Ve={grid:"~ cols-2 gap-4"},Te={class:"flex items-center gap-1 text-sm font-medium"},$e={class:"text-xs text-neutral-500 dark:text-neutral-400"},Le=["value"],Re={flex:"~ row","gap-4":""},Pe=["disabled"],Me={flex:"~ row","items-center":"","gap-2":""},Ce={flex:"~ row","items-center":"","gap-2":""},Oe={key:2,class:"mt-2 text-sm text-red-500"},ze={key:3,class:"mt-2 text-sm text-red-500"},Ke={key:4,class:"mt-2 text-sm text-red-500"},Be=["src"],rt=B({__name:"SpeechPlayground",props:{defaultText:null,availableVoices:null,generateSpeech:{type:Function},apiKeyConfigured:{type:Boolean}},setup(y,{expose:a}){const S=y,{t:d}=H(),m=u(S.defaultText||"Hello! This is a test of the voice synthesis."),U=u(!1),t=u(""),v=u(""),f=u(null),i=u(!1),h=u(""),p=u("");K(()=>S.availableVoices,n=>{var r;n.length>0&&!p.value&&(p.value=((r=n[0])==null?void 0:r.id)||"")},{immediate:!0});async function x(){if(!(!m.value.trim()&&!i.value||i.value&&!h.value.trim()||!p.value)){U.value=!0,v.value="";try{t.value&&I();const n=i.value?h.value:m.value,r=await S.generateSpeech(n,p.value,i.value);t.value=URL.createObjectURL(new Blob([r])),setTimeout(()=>{f.value&&f.value.play()},100)}catch(n){console.error("Error generating speech:",n),v.value=n instanceof Error?n.message:"An unknown error occurred"}finally{U.value=!1}}}function I(){f.value&&(f.value.pause(),f.value.currentTime=0),t.value&&(URL.revokeObjectURL(t.value),t.value="")}return W(()=>{t.value&&URL.revokeObjectURL(t.value)}),a({testText:m,ssmlText:h,useSSML:i,selectedVoice:p,isGenerating:U,audioUrl:t,errorMessage:v,audioPlayer:f,generateTestSpeech:x,stopTestAudio:I}),(n,r)=>(g(),_("div",xe,[l("h2",ye,[l("div",ke,[$(s(ne)),l("div",null,k(s(d)("settings.pages.providers.provider.elevenlabs.playground.title")),1)])]),l("div",Se,[$(s(ue),{modelValue:i.value,"onUpdate:modelValue":r[0]||(r[0]=c=>i.value=c),label:s(d)("settings.pages.modules.speech.sections.section.voice-settings.use-ssml.label"),description:s(d)("settings.pages.modules.speech.sections.section.voice-settings.use-ssml.description")},null,8,["modelValue","label","description"]),i.value?O((g(),_("textarea",{key:1,"onUpdate:modelValue":r[2]||(r[2]=c=>h.value=c),placeholder:s(d)("settings.pages.modules.speech.sections.section.voice-settings.input-ssml.placeholder"),border:"neutral-100 dark:neutral-800 solid 2 focus:neutral-200 dark:focus:neutral-700",transition:"all duration-250 ease-in-out",bg:"neutral-100 dark:neutral-800 focus:neutral-50 dark:focus:neutral-900","h-48":"","w-full":"","rounded-lg":"","px-3":"","py-2":"","text-sm":"","font-mono":"","outline-none":""},null,8,we)),[[A,h.value]]):O((g(),_("textarea",{key:0,"onUpdate:modelValue":r[1]||(r[1]=c=>m.value=c),placeholder:s(d)("settings.pages.providers.provider.elevenlabs.playground.fields.field.input.placeholder"),border:"neutral-100 dark:neutral-800 solid 2 focus:neutral-200 dark:focus:neutral-700",transition:"all duration-250 ease-in-out",bg:"neutral-100 dark:neutral-800 focus:neutral-50 dark:focus:neutral-900","h-24":"","w-full":"","rounded-lg":"","px-3":"","py-2":"","text-sm":"","outline-none":""},null,8,Ue)),[[A,m.value]]),l("div",Ie,[l("label",Ve,[l("div",null,[l("div",Te,k(s(d)("settings.pages.providers.provider.elevenlabs.playground.fields.field.voice.label")),1),l("div",$e,k(s(d)("settings.pages.providers.provider.elevenlabs.playground.fields.field.voice.description")),1)]),O(l("select",{"onUpdate:modelValue":r[3]||(r[3]=c=>p.value=c),border:"neutral-300 dark:neutral-800 solid 2 focus:neutral-400 dark:focus:neutral-600",transition:"border duration-250 ease-in-out","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-nowrap":"","text-sm":"","outline-none":""},[(g(!0),_(q,null,oe(y.availableVoices,c=>(g(),_("option",{key:c.id,value:c.id},k(c.name),9,Le))),128))],512),[[te,p.value]])])]),l("div",Re,[l("button",{border:"neutral-800 dark:neutral-200 solid 2",transition:"border duration-250 ease-in-out","rounded-lg":"","px-4":"",text:"neutral-100 dark:neutral-900","py-2":"","text-sm":"",disabled:U.value||!m.value.trim()&&!i.value||i.value&&!h.value.trim()||!p.value||!y.apiKeyConfigured,class:G({"opacity-50 cursor-not-allowed":U.value||!m.value.trim()&&!i.value||i.value&&!h.value.trim()||!p.value||!y.apiKeyConfigured}),bg:"neutral-700 dark:neutral-300",onClick:x},[l("div",Me,[r[4]||(r[4]=l("div",{"i-solar:play-circle-bold-duotone":""},null,-1)),l("span",null,k(U.value?s(d)("settings.pages.providers.provider.elevenlabs.playground.buttons.button.test-voice.generating"):s(d)("settings.pages.providers.provider.elevenlabs.playground.buttons.button.test-voice.label")),1)])],10,Pe),t.value?(g(),_("button",{key:0,border:"primary-300 dark:primary-800 solid 2",transition:"border duration-250 ease-in-out","rounded-lg":"","px-4":"","py-2":"","text-sm":"",onClick:I},[l("div",Ce,[r[5]||(r[5]=l("div",{"i-solar:stop-circle-bold-duotone":""},null,-1)),l("span",null,k(s(d)("settings.pages.modules.speech.sections.section.playground.buttons.stop.label")),1)])])):R("",!0)]),y.apiKeyConfigured?R("",!0):(g(),_("div",Oe,k(s(d)("settings.pages.providers.provider.elevenlabs.playground.validation.error-missing-api-key")),1)),p.value?R("",!0):(g(),_("div",ze,k(s(d)("settings.pages.modules.speech.sections.section.playground.select-voice.required")),1)),v.value?(g(),_("div",Ke,k(v.value),1)):R("",!0),t.value?(g(),_("audio",{key:5,ref_key:"audioPlayer",ref:f,src:t.value,controls:"",class:"mt-2 w-full"},null,8,Be)):R("",!0)]),L(n.$slots,"default")]))}}),Ne={flex:"~ col md:row gap-6"},je={flex:"~ col gap-6"},Fe={class:"text-lg text-neutral-500 md:text-2xl dark:text-neutral-400"},Ae={flex:"~ col gap-4"},De={flex:"~ col gap-6",class:"w-full md:w-[60%]"},Ee={"w-full":"","rounded-xl":""},it=B({__name:"SpeechProviderSettings",props:{providerId:null,defaultModel:null,additionalSettings:null},setup(y){const a=y,{t:S}=H(),d=ae(),m=ve(),U=de(),{providers:t}=le(m),v=M(()=>m.getProviderMetadata(a.providerId)),f=M({get:()=>{var e;return((e=t.value[a.providerId])==null?void 0:e.apiKey)||""},set:e=>{t.value[a.providerId]||(t.value[a.providerId]={}),t.value[a.providerId].apiKey=e}}),i=M({get:()=>{var e,o,b;return((e=t.value[a.providerId])==null?void 0:e.baseUrl)||((b=(o=v.value)==null?void 0:o.defaultOptions)==null?void 0:b.call(o).baseUrl)||""},set:e=>{t.value[a.providerId]||(t.value[a.providerId]={}),t.value[a.providerId].baseUrl=e}}),h=u("Hello! This is a test of voice synthesis."),p=u(!1),x=u(""),I=u(""),n=u(null),r=u(!1),c=u(""),N=u(""),w=u({});function X(){var e;(e=t.value[a.providerId])!=null&&e.voiceSettings?w.value={...t.value[a.providerId].voiceSettings}:w.value={pitch:0,speed:1,volume:0,...a.additionalSettings}}se(()=>{var e,o,b,V;m.initializeProvider(a.providerId),f.value=((e=t.value[a.providerId])==null?void 0:e.apiKey)||"",i.value=((o=t.value[a.providerId])==null?void 0:o.baseUrl)||((V=(b=v.value)==null?void 0:b.defaultOptions)==null?void 0:V.call(b).baseUrl)||"",X(),m.configuredProviders[a.providerId]&&U.loadVoicesForProvider(a.providerId)});const z=ie(()=>{var e,o;t.value[a.providerId]={...t.value[a.providerId],apiKey:f.value,baseUrl:i.value||((o=(e=v.value)==null?void 0:e.defaultOptions)==null?void 0:o.call(e).baseUrl)||"",voiceSettings:{...w.value}}},1e3);K([f,i],z),K(w,z,{deep:!0});async function Y(){if(!h.value.trim()&&!r.value||r.value&&!c.value.trim())return;const e=m.getProviderInstance(a.providerId);if(!e){console.error("Failed to initialize speech provider");return}if(!N.value){console.error("No active speech voice selected");return}p.value=!0,I.value="";try{x.value&&j();const o=a.defaultModel||"default",b=r.value?c.value:h.value,V=await ce({...e.speech(o,{voiceSettings:w.value}),input:b,voice:N.value});x.value=URL.createObjectURL(new Blob([V])),setTimeout(()=>{n.value&&n.value.play()},100)}catch(o){console.error("Error generating speech:",o),I.value=o instanceof Error?o.message:"An unknown error occurred"}finally{p.value=!1}}function j(){n.value&&(n.value.pause(),n.value.currentTime=0),x.value&&(URL.revokeObjectURL(x.value),x.value="")}W(()=>{x.value&&URL.revokeObjectURL(x.value)});function J(){var e,o;w.value={...((o=(e=v.value)==null?void 0:e.defaultOptions)==null?void 0:o.call(e).voiceSettings)||{}},z()}function Q(e,o){w.value[e]=o}const F=M(()=>({voiceSettings:w.value,updateVoiceSettings:Q,isGenerating:p.value,testText:h.value,useSSML:r.value,ssmlText:c.value,generateTestSpeech:Y,stopTestAudio:j,audioUrl:x.value,audioPlayer:n.value,errorMessage:I.value}));return(e,o)=>{var b,V;return g(),re(he,{"provider-name":(b=v.value)==null?void 0:b.localizedName,"provider-icon":(V=v.value)==null?void 0:V.icon,"on-back":()=>s(d).back()},{default:C(()=>[l("div",Ne,[$(s(be),{class:"w-full md:w-[40%]"},{default:C(()=>[$(s(ge),{title:s(S)("settings.pages.providers.common.section.basic.title"),description:s(S)("settings.pages.providers.common.section.basic.description"),"on-reset":J},{default:C(()=>{var T;return[$(s(me),{modelValue:f.value,"onUpdate:modelValue":o[0]||(o[0]=P=>f.value=P),"provider-name":(T=v.value)==null?void 0:T.localizedName,placeholder:"sk-"},null,8,["modelValue","provider-name"]),L(e.$slots,"basic-settings")]}),_:3},8,["title","description"]),l("div",je,[l("h2",Fe,k(s(S)("settings.pages.providers.common.section.voice.title")),1),l("div",Ae,[L(e.$slots,"voice-settings",D(E(F.value)))])]),$(s(pe),{title:s(S)("settings.pages.providers.common.section.advanced.title")},{default:C(()=>{var T,P;return[$(s(fe),{modelValue:i.value,"onUpdate:modelValue":o[1]||(o[1]=Z=>i.value=Z),placeholder:((P=(T=v.value)==null?void 0:T.defaultOptions)==null?void 0:P.call(T).baseUrl)||"",required:""},null,8,["modelValue","placeholder"]),L(e.$slots,"advanced-settings")]}),_:3},8,["title"])]),_:3}),l("div",De,[l("div",Ee,[L(e.$slots,"playground",D(E(F.value)))])])])]),_:3},8,["provider-name","provider-icon","on-back"])}}});export{rt as _,it as a};
|
assets/Stage-BU30pHp3.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.volumed[data-v-568551bc]{transform-style:preserve-3d;width:fit-content;height:fit-content}.test-dummy-flat[data-v-b4ef37ac]{display:inline-block;position:relative}.test-dummy-flat .marker[data-v-b4ef37ac]{position:absolute;top:0;right:0;bottom:0;left:0;background:conic-gradient(#ffeb3b,#ffeb3b 90deg,#000 90deg,#000 180deg,#ffeb3b 180deg,#ffeb3b 270deg,#000 270deg,#000 360deg);border-radius:50%;box-shadow:0 4px 12px #b9b9b933}.dark .test-dummy-flat .marker[data-v-b4ef37ac]{box-shadow:0 4px 12px #0003}.menu-icon-item[data-v-b1037d36]{position:relative;overflow:hidden}.menu-icon-item[data-v-b1037d36]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;width:25%;height:100%;-webkit-mask-image:linear-gradient(120deg,white 30%,transparent 50%);mask-image:linear-gradient(120deg,white 30%,transparent 50%);opacity:0;transition:all .4s ease-in-out}.dark .menu-icon-item[data-v-b1037d36]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.menu-icon-item[data-v-b1037d36]:hover:before,.menu-icon-item._hover[data-v-b1037d36]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .menu-icon-item[data-v-b1037d36]:hover:before,.dark .menu-icon-item._hover[data-v-b1037d36]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.menu-icon-item[data-v-b1037d36]:after{background-image:radial-gradient(circle at 1px 1px,rgb(229 229 229 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.6;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;width:100%;height:100%;background-size:10px 10px;content:"";-webkit-mask-image:linear-gradient(165deg,white 30%,transparent 50%);mask-image:linear-gradient(165deg,white 30%,transparent 50%);transition:all .4s ease-in-out}.menu-icon-item[data-v-b1037d36]:after:hover{background-image:radial-gradient(circle at 1px 1px,oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:%alpha}.dark .menu-icon-item[data-v-b1037d36]:after{background-image:radial-gradient(circle at 1px 1px,rgb(64 64 64 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.25}.dark .menu-icon-item[data-v-b1037d36]:after:hover{background-image:radial-gradient(circle at 1px 1px,oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:%alpha}.menu-icon-item-icon[data-v-b1037d36]{opacity:.5}.menu-icon-item:hover .menu-icon-item-title[data-v-b1037d36],.menu-icon-item._hover .menu-icon-item-title[data-v-b1037d36]{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.menu-icon-item:hover .menu-icon-item-description[data-v-b1037d36],.menu-icon-item._hover .menu-icon-item-description[data-v-b1037d36]{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity));opacity:.8}.menu-icon-item:hover .menu-icon-item-icon[data-v-b1037d36],.menu-icon-item._hover .menu-icon-item-icon[data-v-b1037d36]{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity));scale:1.2}.dark .menu-icon-item:hover .menu-icon-item-title[data-v-b1037d36],.dark .menu-icon-item._hover .menu-icon-item-title[data-v-b1037d36]{--un-text-opacity:1;color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark .menu-icon-item:hover .menu-icon-item-description[data-v-b1037d36],.dark .menu-icon-item._hover .menu-icon-item-description[data-v-b1037d36]{--un-text-opacity:1;color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity));opacity:.8}.dark .menu-icon-item:hover .menu-icon-item-icon[data-v-b1037d36],.dark .menu-icon-item._hover .menu-icon-item-icon[data-v-b1037d36]{--un-text-opacity:1;color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.menu-icon-status-item[data-v-b53bc3f0]{position:relative;overflow:hidden}.menu-icon-status-item[data-v-b53bc3f0]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .4s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .menu-icon-status-item[data-v-b53bc3f0]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.menu-icon-status-item[data-v-b53bc3f0]:hover:before,.menu-icon-status-item._hover[data-v-b53bc3f0]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:50%;opacity:1}.dark .menu-icon-status-item[data-v-b53bc3f0]:hover:before,.dark .menu-icon-status-item._hover[data-v-b53bc3f0]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.menu-icon-status-item-link[data-v-b53bc3f0]:after{background-image:radial-gradient(circle at 1px 1px,rgb(229 229 229 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.8;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;width:100%;height:100%;background-size:10px 10px;content:"";-webkit-mask-image:linear-gradient(165deg,white 30%,transparent 50%);mask-image:linear-gradient(165deg,white 30%,transparent 50%);transition:all .4s ease-in-out}.menu-icon-status-item-link[data-v-b53bc3f0]:after:hover{background-image:radial-gradient(circle at 1px 1px,oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:%alpha}.dark .menu-icon-status-item-link[data-v-b53bc3f0]:after{background-image:radial-gradient(circle at 1px 1px,rgb(64 64 64 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.4}.dark .menu-icon-status-item-link[data-v-b53bc3f0]:after:hover{background-image:radial-gradient(circle at 1px 1px,oklch(90% var(--theme-colors-chroma-200) calc(var(--theme-colors-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:%alpha}.menu-icon-status-item-icon-color[data-v-b53bc3f0]{opacity:.5}.menu-icon-status-item:hover .menu-icon-status-item-title[data-v-b53bc3f0],.menu-icon-status-item._hover .menu-icon-status-item-title[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.menu-icon-status-item:hover .menu-icon-status-item-description[data-v-b53bc3f0],.menu-icon-status-item._hover .menu-icon-status-item-description[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(54% var(--theme-colors-chroma-600) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity));opacity:.8}.menu-icon-status-item:hover .menu-icon-status-item-icon[data-v-b53bc3f0],.menu-icon-status-item._hover .menu-icon-status-item-icon[data-v-b53bc3f0],.menu-icon-status-item:hover .menu-icon-status-item-icon-color[data-v-b53bc3f0],.menu-icon-status-item._hover .menu-icon-status-item-icon-color[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity));scale:1.2}.dark .menu-icon-status-item:hover .menu-icon-status-item-title[data-v-b53bc3f0],.dark .menu-icon-status-item._hover .menu-icon-status-item-title[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.dark .menu-icon-status-item:hover .menu-icon-status-item-description[data-v-b53bc3f0],.dark .menu-icon-status-item._hover .menu-icon-status-item-description[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(85% var(--theme-colors-chroma-300) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity));opacity:.8}.dark .menu-icon-status-item:hover .menu-icon-status-item-icon[data-v-b53bc3f0],.dark .menu-icon-status-item._hover .menu-icon-status-item-icon[data-v-b53bc3f0],.dark .menu-icon-status-item:hover .menu-icon-status-item-icon-color[data-v-b53bc3f0],.dark .menu-icon-status-item._hover .menu-icon-status-item-icon-color[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / var(--un-text-opacity))}.form_radio-card-detail[data-v-01e1298e]{position:relative;overflow:hidden}.form_radio-card-detail[data-v-01e1298e]:before{pointer-events:none;--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .35s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .form_radio-card-detail[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.form_radio-card-detail[data-v-01e1298e]:hover:before,.form_radio-card-detail._hover[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .form_radio-card-detail[data-v-01e1298e]:hover:before,.dark .form_radio-card-detail._hover[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.form_radio-card-detail-active[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:.5}.dark .form_radio-card-detail-active[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}input[type=search][data-v-7ad6d626]::-webkit-search-cancel-button{display:none}.form_radio-card-simple[data-v-50bfb5e4]{position:relative;overflow:hidden}.form_radio-card-simple[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .35s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .form_radio-card-simple[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.form_radio-card-simple[data-v-50bfb5e4]:hover:before,.form_radio-card-simple._hover[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .form_radio-card-simple[data-v-50bfb5e4]:hover:before,.dark .form_radio-card-simple._hover[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.form_radio-card-simple-active[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:.5}.dark .form_radio-card-simple-active[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.form_voice-card[data-v-a5ae8da9]{position:relative;overflow:hidden;display:flex;flex-direction:column}.form_voice-card[data-v-a5ae8da9]:before{pointer-events:none;--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .35s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .form_voice-card[data-v-a5ae8da9]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.form_voice-card[data-v-a5ae8da9]:hover:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .form_voice-card[data-v-a5ae8da9]:hover:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}input[type=search][data-v-4dd3b9e2]::-webkit-search-cancel-button{display:none}.voice-card[data-v-4dd3b9e2]{position:relative;overflow:hidden;display:flex;flex-direction:column}.voice-card[data-v-4dd3b9e2]:before{pointer-events:none;--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .35s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .voice-card[data-v-4dd3b9e2]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position)}.voice-card[data-v-4dd3b9e2]:hover:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--theme-colors-chroma) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .voice-card[data-v-4dd3b9e2]:hover:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--theme-colors-chroma-400) calc(var(--theme-colors-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.card-hover-effect[data-v-895421da]{transform-style:preserve-3d;transform-origin:center;will-change:transform;transition:transform .3s cubic-bezier(.23,1,.32,1)}.card-hover-effect[data-v-895421da]:before,.card-hover-effect[data-v-895421da]:after{content:"";position:absolute;left:0;right:0;bottom:0;top:0;background-repeat:no-repeat;transition:all .33s ease;pointer-events:none}.card-hover-effect[data-v-895421da]:before{background-position:var(--card-position-x) var(--card-position-y);background-size:300% 300%;background-image:linear-gradient(115deg,transparent 0%,rgba(var(--color-primary-500),calc(.3 * var(--effect-intensity))) 25%,transparent 47%,transparent 53%,rgba(var(--color-primary-600),calc(.3 * var(--effect-intensity))) 75%,transparent 100%);opacity:calc(.5 * var(--effect-intensity));filter:brightness(.5) contrast(1);z-index:1;mix-blend-mode:color-dodge}.card-hover-effect[data-v-895421da]:after{background-position:var(--sparkle-position-x) var(--sparkle-position-y);background-size:160%;background-image:linear-gradient(125deg,rgba(var(--color-primary-500),calc(.3 * var(--effect-intensity))) 15%,rgba(var(--color-primary-400),calc(.25 * var(--effect-intensity))) 30%,rgba(var(--color-primary-300),calc(.2 * var(--effect-intensity))) 40%,rgba(var(--color-primary-200),calc(.1 * var(--effect-intensity))) 60%,rgba(var(--color-primary-400),calc(.25 * var(--effect-intensity))) 70%,rgba(var(--color-primary-500),calc(.3 * var(--effect-intensity))) 85%);background-blend-mode:overlay;opacity:calc(var(--sparkle-opacity) * var(--effect-intensity));filter:brightness(1) contrast(1);z-index:2;mix-blend-mode:color-dodge}.card-hover-effect[data-v-895421da]:hover:before{opacity:calc(.88 * var(--effect-intensity));filter:brightness(.66) contrast(1.33)}.card-hover-effect[data-v-895421da]:hover:after{opacity:var(--effect-intensity);filter:brightness(1.1) contrast(1.2)}.animate-stripe[data-v-af8294f5]{background-image:repeating-linear-gradient(-45deg,#f472b6,#f472b6 25px,#f9a8d4 25px,#f9a8d4 50px);animation:progress-af8294f5 2s linear infinite;background-size:150% 100%}@-webkit-keyframes progress-af8294f5{0%{background-position:0 0}to{background-position:-75px 0px}}@-moz-keyframes progress-af8294f5{0%{background-position:0 0}to{background-position:-75px 0px}}@-ms-keyframes progress-af8294f5{0%{background-position:0 0}to{background-position:-75px 0px}}@keyframes progress-af8294f5{0%{background-position:0 0}to{background-position:-70px 0px}}
|
|
|
|
assets/Stage-BgJLNEtF.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.volumed[data-v-568551bc]{transform-style:preserve-3d;width:fit-content;height:fit-content}.test-dummy-flat[data-v-b4ef37ac]{display:inline-block;position:relative}.test-dummy-flat .marker[data-v-b4ef37ac]{position:absolute;top:0;right:0;bottom:0;left:0;background:conic-gradient(#ffeb3b,#ffeb3b 90deg,#000 90deg,#000 180deg,#ffeb3b 180deg,#ffeb3b 270deg,#000 270deg,#000 360deg);border-radius:50%;box-shadow:0 4px 12px #b9b9b933}.dark .test-dummy-flat .marker[data-v-b4ef37ac]{box-shadow:0 4px 12px #0003}.menu-icon-item[data-v-b1037d36]{position:relative;overflow:hidden}.menu-icon-item[data-v-b1037d36]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;width:25%;height:100%;-webkit-mask-image:linear-gradient(120deg,white 30%,transparent 50%);mask-image:linear-gradient(120deg,white 30%,transparent 50%);opacity:0;transition:all .4s ease-in-out}.dark .menu-icon-item[data-v-b1037d36]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position)}.menu-icon-item[data-v-b1037d36]:hover:before,.menu-icon-item._hover[data-v-b1037d36]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .menu-icon-item[data-v-b1037d36]:hover:before,.dark .menu-icon-item._hover[data-v-b1037d36]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.menu-icon-item[data-v-b1037d36]:after{background-image:radial-gradient(circle at 1px 1px,rgb(229 229 229 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.6;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;width:100%;height:100%;background-size:10px 10px;content:"";-webkit-mask-image:linear-gradient(165deg,white 30%,transparent 50%);mask-image:linear-gradient(165deg,white 30%,transparent 50%);transition:all .4s ease-in-out}.menu-icon-item[data-v-b1037d36]:after:hover{background-image:radial-gradient(circle at 1px 1px,oklch(85% var(--chromatic-chroma-300) calc(var(--chromatic-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:%alpha}.dark .menu-icon-item[data-v-b1037d36]:after{background-image:radial-gradient(circle at 1px 1px,rgb(64 64 64 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.25}.dark .menu-icon-item[data-v-b1037d36]:after:hover{background-image:radial-gradient(circle at 1px 1px,oklch(90% var(--chromatic-chroma-200) calc(var(--chromatic-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:%alpha}.menu-icon-item-icon[data-v-b1037d36]{opacity:.5}.menu-icon-item:hover .menu-icon-item-title[data-v-b1037d36],.menu-icon-item._hover .menu-icon-item-title[data-v-b1037d36]{--un-text-opacity:1;color:oklch(54% var(--chromatic-chroma-600) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity))}.menu-icon-item:hover .menu-icon-item-description[data-v-b1037d36],.menu-icon-item._hover .menu-icon-item-description[data-v-b1037d36]{--un-text-opacity:1;color:oklch(54% var(--chromatic-chroma-600) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity));opacity:.8}.menu-icon-item:hover .menu-icon-item-icon[data-v-b1037d36],.menu-icon-item._hover .menu-icon-item-icon[data-v-b1037d36]{--un-text-opacity:1;color:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity));scale:1.2}.dark .menu-icon-item:hover .menu-icon-item-title[data-v-b1037d36],.dark .menu-icon-item._hover .menu-icon-item-title[data-v-b1037d36]{--un-text-opacity:1;color:oklch(85% var(--chromatic-chroma-300) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity))}.dark .menu-icon-item:hover .menu-icon-item-description[data-v-b1037d36],.dark .menu-icon-item._hover .menu-icon-item-description[data-v-b1037d36]{--un-text-opacity:1;color:oklch(85% var(--chromatic-chroma-300) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity));opacity:.8}.dark .menu-icon-item:hover .menu-icon-item-icon[data-v-b1037d36],.dark .menu-icon-item._hover .menu-icon-item-icon[data-v-b1037d36]{--un-text-opacity:1;color:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity))}.menu-icon-status-item[data-v-b53bc3f0]{position:relative;overflow:hidden}.menu-icon-status-item[data-v-b53bc3f0]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .4s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .menu-icon-status-item[data-v-b53bc3f0]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position)}.menu-icon-status-item[data-v-b53bc3f0]:hover:before,.menu-icon-status-item._hover[data-v-b53bc3f0]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:50%;opacity:1}.dark .menu-icon-status-item[data-v-b53bc3f0]:hover:before,.dark .menu-icon-status-item._hover[data-v-b53bc3f0]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.menu-icon-status-item-link[data-v-b53bc3f0]:after{background-image:radial-gradient(circle at 1px 1px,rgb(229 229 229 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.8;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;width:100%;height:100%;background-size:10px 10px;content:"";-webkit-mask-image:linear-gradient(165deg,white 30%,transparent 50%);mask-image:linear-gradient(165deg,white 30%,transparent 50%);transition:all .4s ease-in-out}.menu-icon-status-item-link[data-v-b53bc3f0]:after:hover{background-image:radial-gradient(circle at 1px 1px,oklch(85% var(--chromatic-chroma-300) calc(var(--chromatic-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:%alpha}.dark .menu-icon-status-item-link[data-v-b53bc3f0]:after{background-image:radial-gradient(circle at 1px 1px,rgb(64 64 64 / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:.4}.dark .menu-icon-status-item-link[data-v-b53bc3f0]:after:hover{background-image:radial-gradient(circle at 1px 1px,oklch(90% var(--chromatic-chroma-200) calc(var(--chromatic-hue) + 0) / var(--un-background-opacity)) 1px,transparent 0);--un-background-opacity:%alpha}.menu-icon-status-item-icon-color[data-v-b53bc3f0]{opacity:.5}.menu-icon-status-item:hover .menu-icon-status-item-title[data-v-b53bc3f0],.menu-icon-status-item._hover .menu-icon-status-item-title[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(54% var(--chromatic-chroma-600) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity))}.menu-icon-status-item:hover .menu-icon-status-item-description[data-v-b53bc3f0],.menu-icon-status-item._hover .menu-icon-status-item-description[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(54% var(--chromatic-chroma-600) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity));opacity:.8}.menu-icon-status-item:hover .menu-icon-status-item-icon[data-v-b53bc3f0],.menu-icon-status-item._hover .menu-icon-status-item-icon[data-v-b53bc3f0],.menu-icon-status-item:hover .menu-icon-status-item-icon-color[data-v-b53bc3f0],.menu-icon-status-item._hover .menu-icon-status-item-icon-color[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity));scale:1.2}.dark .menu-icon-status-item:hover .menu-icon-status-item-title[data-v-b53bc3f0],.dark .menu-icon-status-item._hover .menu-icon-status-item-title[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(85% var(--chromatic-chroma-300) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity))}.dark .menu-icon-status-item:hover .menu-icon-status-item-description[data-v-b53bc3f0],.dark .menu-icon-status-item._hover .menu-icon-status-item-description[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(85% var(--chromatic-chroma-300) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity));opacity:.8}.dark .menu-icon-status-item:hover .menu-icon-status-item-icon[data-v-b53bc3f0],.dark .menu-icon-status-item._hover .menu-icon-status-item-icon[data-v-b53bc3f0],.dark .menu-icon-status-item:hover .menu-icon-status-item-icon-color[data-v-b53bc3f0],.dark .menu-icon-status-item._hover .menu-icon-status-item-icon-color[data-v-b53bc3f0]{--un-text-opacity:1;color:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / var(--un-text-opacity))}.form_radio-card-detail[data-v-01e1298e]{position:relative;overflow:hidden}.form_radio-card-detail[data-v-01e1298e]:before{pointer-events:none;--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .35s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .form_radio-card-detail[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position)}.form_radio-card-detail[data-v-01e1298e]:hover:before,.form_radio-card-detail._hover[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .form_radio-card-detail[data-v-01e1298e]:hover:before,.dark .form_radio-card-detail._hover[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.form_radio-card-detail-active[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:.5}.dark .form_radio-card-detail-active[data-v-01e1298e]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}input[type=search][data-v-7ad6d626]::-webkit-search-cancel-button{display:none}.form_radio-card-simple[data-v-50bfb5e4]{position:relative;overflow:hidden}.form_radio-card-simple[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .35s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .form_radio-card-simple[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position)}.form_radio-card-simple[data-v-50bfb5e4]:hover:before,.form_radio-card-simple._hover[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .form_radio-card-simple[data-v-50bfb5e4]:hover:before,.dark .form_radio-card-simple._hover[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.form_radio-card-simple-active[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:.5}.dark .form_radio-card-simple-active[data-v-50bfb5e4]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.form_voice-card[data-v-a5ae8da9]{position:relative;overflow:hidden;display:flex;flex-direction:column}.form_voice-card[data-v-a5ae8da9]:before{pointer-events:none;--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .35s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .form_voice-card[data-v-a5ae8da9]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position)}.form_voice-card[data-v-a5ae8da9]:hover:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .form_voice-card[data-v-a5ae8da9]:hover:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}input[type=search][data-v-4dd3b9e2]::-webkit-search-cancel-button{display:none}.voice-card[data-v-4dd3b9e2]{position:relative;overflow:hidden;display:flex;flex-direction:column}.voice-card[data-v-4dd3b9e2]:before{pointer-events:none;--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:25%;height:100%;transition:all .35s ease-in-out;-webkit-mask-image:linear-gradient(120deg,#fff);mask-image:linear-gradient(120deg,#fff);opacity:0}.dark .voice-card[data-v-4dd3b9e2]:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-from-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position)}.voice-card[data-v-4dd3b9e2]:hover:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(62% var(--chromatic-chroma-500) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position);--un-gradient-shape:to right in oklch;--un-gradient:var(--un-gradient-shape), var(--un-gradient-stops);background-image:linear-gradient(var(--un-gradient));width:85%;opacity:1}.dark .voice-card[data-v-4dd3b9e2]:hover:before{--un-gradient-from-position:0%;--un-gradient-from:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .2) var(--un-gradient-from-position);--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0) var(--un-gradient-to-position);--un-gradient-stops:var(--un-gradient-from), var(--un-gradient-to);--un-gradient-via-position:50%;--un-gradient-to:oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / 0);--un-gradient-stops:var(--un-gradient-from), oklch(74% var(--chromatic-chroma-400) calc(var(--chromatic-hue) + 0) / .1) var(--un-gradient-via-position), var(--un-gradient-to);--un-gradient-to-position:100%;--un-gradient-to:transparent var(--un-gradient-to-position)}.card-hover-effect[data-v-895421da]{transform-style:preserve-3d;transform-origin:center;will-change:transform;transition:transform .3s cubic-bezier(.23,1,.32,1)}.card-hover-effect[data-v-895421da]:before,.card-hover-effect[data-v-895421da]:after{content:"";position:absolute;left:0;right:0;bottom:0;top:0;background-repeat:no-repeat;transition:all .33s ease;pointer-events:none}.card-hover-effect[data-v-895421da]:before{background-position:var(--card-position-x) var(--card-position-y);background-size:300% 300%;background-image:linear-gradient(115deg,transparent 0%,rgba(var(--color-primary-500),calc(.3 * var(--effect-intensity))) 25%,transparent 47%,transparent 53%,rgba(var(--color-primary-600),calc(.3 * var(--effect-intensity))) 75%,transparent 100%);opacity:calc(.5 * var(--effect-intensity));filter:brightness(.5) contrast(1);z-index:1;mix-blend-mode:color-dodge}.card-hover-effect[data-v-895421da]:after{background-position:var(--sparkle-position-x) var(--sparkle-position-y);background-size:160%;background-image:linear-gradient(125deg,rgba(var(--color-primary-500),calc(.3 * var(--effect-intensity))) 15%,rgba(var(--color-primary-400),calc(.25 * var(--effect-intensity))) 30%,rgba(var(--color-primary-300),calc(.2 * var(--effect-intensity))) 40%,rgba(var(--color-primary-200),calc(.1 * var(--effect-intensity))) 60%,rgba(var(--color-primary-400),calc(.25 * var(--effect-intensity))) 70%,rgba(var(--color-primary-500),calc(.3 * var(--effect-intensity))) 85%);background-blend-mode:overlay;opacity:calc(var(--sparkle-opacity) * var(--effect-intensity));filter:brightness(1) contrast(1);z-index:2;mix-blend-mode:color-dodge}.card-hover-effect[data-v-895421da]:hover:before{opacity:calc(.88 * var(--effect-intensity));filter:brightness(.66) contrast(1.33)}.card-hover-effect[data-v-895421da]:hover:after{opacity:var(--effect-intensity);filter:brightness(1.1) contrast(1.2)}.animate-stripe[data-v-af8294f5]{background-image:repeating-linear-gradient(-45deg,#f472b6,#f472b6 25px,#f9a8d4 25px,#f9a8d4 50px);animation:progress-af8294f5 2s linear infinite;background-size:150% 100%}@-webkit-keyframes progress-af8294f5{0%{background-position:0 0}to{background-position:-75px 0px}}@-moz-keyframes progress-af8294f5{0%{background-position:0 0}to{background-position:-75px 0px}}@-ms-keyframes progress-af8294f5{0%{background-position:0 0}to{background-position:-75px 0px}}@keyframes progress-af8294f5{0%{background-position:0 0}to{background-position:-70px 0px}}
|
assets/{Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-CDcOtXKI.js → Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
assets/{TestDummyMarker.vue_vue_type_script_setup_true_lang-Bemf8jvO.js → TestDummyMarker.vue_vue_type_script_setup_true_lang-B8ttvJp0.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{c3 as P,d as c,cE as O,cj as V,cF as N,cB as E,bf as b,o as d,bg as _,bA as k,u as i,cA as D,cN as L,e as $,f as v,d2 as M,cx as U,d3 as z,w as H,c as g,c4 as K,bl as Y,d4 as G,W,cQ as X,cl as Q,ch as C,b as w,cg as B,a as f,Y as x,T as R,bh as J,ca as Z,b_ as j,a3 as A,a8 as S,U as ee}from"./index-D2WYGmMW.js";import"./Select.vue_vue_type_style_index_0_lang-BH7HpSd3.js";import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-CDcOtXKI.js";function T(t){return t?t.flatMap(e=>e.type===P?T(e.children):[e]):[]}const te=c({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:e,slots:a}){return()=>{var m;if(!a.default)return null;const o=T(a.default()),l=o.findIndex(h=>h.type!==O);if(l===-1)return o;const r=o[l];(m=r.props)==null||delete m.ref;const n=r.props?V(e,r.props):e,u=N({...r,props:{}},n);return o.length===1?u:(o[l]=u,o)}}}),ae=["area","img","input"],q=c({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:e,slots:a}){const o=t.asChild?"template":t.as;return typeof o=="string"&&ae.includes(o)?()=>E(o,e):o!=="template"?()=>E(t.as,e,{default:a.default}):()=>E(te,e,{default:a.default})}}),ne=c({__name:"VisuallyHidden",props:{feature:{default:"focusable"},asChild:{type:Boolean},as:{default:"span"}},setup(t){return(e,a)=>(d(),b(i(q),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature==="focusable"?"true":void 0,"data-hidden":e.feature==="fully-hidden"?"":void 0,tabindex:e.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:_(()=>[k(e.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}});function le(t,e){const a=`${t}Context`,o=Symbol(a);return[n=>{const u=D(o,n);if(u||u===null)return u;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},n=>(L(o,n),n)]}function I(){const t=U(),e=$(),a=v(()=>{var n,u;return["#text","#comment"].includes((n=e.value)==null?void 0:n.$el.nodeName)?(u=e.value)==null?void 0:u.$el.nextElementSibling:M(e)}),o=Object.assign({},t.exposed),l={};for(const n in t.props)Object.defineProperty(l,n,{enumerable:!0,configurable:!0,get:()=>t.props[n]});if(Object.keys(o).length>0)for(const n in o)Object.defineProperty(l,n,{enumerable:!0,configurable:!0,get:()=>o[n]});Object.defineProperty(l,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=l;function r(n){e.value=n,n&&(Object.defineProperty(l,"$el",{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),t.exposed=l)}return{forwardRef:r,currentRef:e,currentElement:a}}function oe(){const t=$(),e=v(()=>{var a,o;return["#text","#comment"].includes((a=t.value)==null?void 0:a.$el.nodeName)?(o=t.value)==null?void 0:o.$el.nextElementSibling:M(t)});return{primitiveElement:t,currentElement:e}}function re(t){return v(()=>{var e;return z(t)?!!((e=M(t))!=null&&e.closest("form")):!0})}const F=c({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:"fully-hidden"}},setup(t){const e=t,{primitiveElement:a,currentElement:o}=oe(),l=v(()=>e.checked??e.value);return H(l,(r,n)=>{if(!o.value)return;const u=o.value,m=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(m,"value").set;if(p&&r!==n){const s=new Event("input",{bubbles:!0}),y=new Event("change",{bubbles:!0});p.call(u,r),u.dispatchEvent(s),u.dispatchEvent(y)}}),(r,n)=>(d(),b(ne,V({ref_key:"primitiveElement",ref:a},{...e,...r.$attrs},{as:"input"}),null,16))}}),se=c({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:"fully-hidden"}},setup(t){const e=t,a=v(()=>typeof e.value=="object"&&Array.isArray(e.value)&&e.value.length===0&&e.required),o=v(()=>typeof e.value=="string"||typeof e.value=="number"||typeof e.value=="boolean"?[{name:e.name,value:e.value}]:typeof e.value=="object"&&Array.isArray(e.value)?e.value.flatMap((l,r)=>typeof l=="object"?Object.entries(l).map(([n,u])=>({name:`[${e.name}][${r}][${n}]`,value:u})):{name:`[${e.name}][${r}]`,value:l}):e.value!==null&&typeof e.value=="object"&&!Array.isArray(e.value)?Object.entries(e.value).map(([l,r])=>({name:`[${e.name}][${l}]`,value:r})):[]);return(l,r)=>a.value?(d(),b(F,V({key:l.name},{...e,...l.$attrs},{name:l.name,value:l.value}),null,16,["name","value"])):(d(!0),g(P,{key:1},K(o.value,n=>(d(),b(F,V({key:n.name,ref_for:!0},{...e,...l.$attrs},{name:n.name,value:n.value}),null,16,["name","value"]))),128))}}),[ue,ie]=le("SwitchRoot"),de=c({__name:"SwitchRoot",props:{defaultValue:{type:Boolean},modelValue:{type:[Boolean,null],default:void 0},disabled:{type:Boolean},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"},name:{},required:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=e,{disabled:l}=Y(a),r=G(a,"modelValue",o,{defaultValue:a.defaultValue,passive:a.modelValue===void 0});function n(){l.value||(r.value=!r.value)}const{forwardRef:u,currentElement:m}=I(),h=re(m),p=v(()=>{var s;return a.id&&m.value?(s=document.querySelector(`[for="${a.id}"]`))==null?void 0:s.innerText:void 0});return ie({modelValue:r,toggleCheck:n,disabled:l}),(s,y)=>(d(),b(i(q),V(s.$attrs,{id:s.id,ref:i(u),role:"switch",type:s.as==="button"?"button":void 0,value:s.value,"aria-label":s.$attrs["aria-label"]||p.value,"aria-checked":i(r),"aria-required":s.required,"data-state":i(r)?"checked":"unchecked","data-disabled":i(l)?"":void 0,"as-child":s.asChild,as:s.as,disabled:i(l),onClick:n,onKeydown:X(Q(n,["prevent"]),["enter"])}),{default:_(()=>[k(s.$slots,"default",{modelValue:i(r)}),i(h)&&s.name?(d(),b(i(se),{key:0,type:"checkbox",name:s.name,disabled:i(l),required:s.required,value:s.value,checked:!!i(r)},null,8,["name","disabled","required","value","checked"])):W("",!0)]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]))}}),ce=c({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const e=ue();return I(),(a,o)=>{var l;return d(),b(i(q),{"data-state":(l=i(e).modelValue)!=null&&l.value?"checked":"unchecked","data-disabled":i(e).disabled.value?"":void 0,"as-child":a.asChild,as:a.as},{default:_(()=>[k(a.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),me=c({__name:"Checkbox",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(t){const e=C(t,"modelValue");return(a,o)=>(d(),b(i(de),{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=l=>e.value=l),transition:"background duration-250 ease-in-out",outline:"focus-within:none",flex:"~",border:"neutral-300 dark:neutral-700 data-[state=checked]:primary-200 data-[state=unchecked]:neutral-300 focus-within:neutral-800",bg:"data-[state=checked]:primary-400 data-[state=unchecked]:neutral-300 data-[state=checked]:dark:primary-400/80 dark:data-[state=unchecked]:neutral-800",relative:"","h-7":"",w:"12.5","rounded-full":"",shadow:"sm focus-within:shadow-neutral-800 focus-within:[0_0_0_1px] "},{default:_(()=>[w(i(ce),{"my-auto":"","size-6":"",flex:"","items-center":"","justify-center":"","translate-x":"0.5 data-[state=checked]:full","rounded-full":"","bg-white":"","text-xs":"","shadow-xl":"",transition:"transform duration-250 ease-in-out","will-change-transform":""})]),_:1},8,["modelValue"]))}}),pe={flex:"~ col gap-4"},fe={flex:"~ row","items-center":"","gap-2":""},ve={flex:"1"},he={class:"flex items-center gap-1 text-sm font-medium"},ye={class:"text-xs text-neutral-500 dark:text-neutral-400"},Re=c({__name:"FieldCheckbox",props:B({label:null,description:null},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,a=C(t,"modelValue");return(o,l)=>(d(),g("label",pe,[f("div",fe,[f("div",ve,[f("div",he,x(e.label),1),f("div",ye,x(e.description),1)]),w(me,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=r=>a.value=r)},null,8,["modelValue"])])]))}}),be=["min","max","step"],_e=c({__name:"Range",props:B({min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},thumbColor:{default:"#9090906e"},trackColor:{default:"gray"},trackValueColor:{default:"red"}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,a=C(t,"modelValue"),o=v(()=>e.min*1e4),l=v(()=>e.max*1e4),r=v(()=>e.step*1e4),n=$(),u=v({get:()=>a.value*1e4,set:p=>{a.value=p/1e4,m()}});R(()=>{m()});function m(){n.value&&(n.value.style.setProperty("--value",n.value.value),n.value.style.setProperty("--min",n.value.min?n.value.min:e.min.toString()),n.value.style.setProperty("--max",n.value.max?n.value.max:e.max.toString()))}function h(p){const s=p.target;s.style.setProperty("--value",s.value)}return(p,s)=>J((d(),g("input",{ref_key:"sliderRef",ref:n,"onUpdate:modelValue":s[0]||(s[0]=y=>u.value=y),type:"range",min:o.value,max:l.value,step:r.value,class:"slider-progress form_input-range",onInput:h},null,40,be)),[[Z,u.value,void 0,{number:!0}]])}}),ge=j(_e,[["__scopeId","data-v-d88ffd28"]]),xe={flex:"~ col gap-4"},Ve={flex:"~ row","items-center":"","gap-2":""},$e={flex:"1"},we={class:"flex items-center gap-1 text-sm font-medium"},ke={class:"text-xs text-neutral-500 dark:text-neutral-400"},Ce={"font-mono":""},Ee={flex:"~ row","items-center":"","gap-2":""},Te=c({__name:"FieldRange",props:B({min:null,max:null,step:null,label:null,description:null,formatValue:{type:Function}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,a=C(t,"modelValue");return(o,l)=>{var r;return d(),g("label",xe,[f("div",Ve,[f("div",$e,[f("div",we,x(t.label),1),f("div",ke,x(t.description),1)]),f("span",Ce,x(((r=e.formatValue)==null?void 0:r.call(e,a.value))||a.value),1)]),f("div",Ee,[w(ge,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=n=>a.value=n),min:t.min||0,max:t.max||1,step:t.step||.01,"w-full":""},null,8,["modelValue","min","max","step"])])])}}}),Se=c({__name:"Volumed",props:{perspective:null,transform:null},setup(t){return(e,a)=>(d(),g("div",{class:"volumed",style:A({perspective:`${t.perspective}px`,transform:t.transform})},[k(e.$slots,"default",{},void 0,!0)],4))}}),Me=j(Se,[["__scopeId","data-v-568551bc"]]),Be=c({__name:"CursorMomentum",props:{baseSpeed:{default:.1},friction:{default:.95},momentumFactor:{default:.005}},setup(t,{expose:e}){const a=t,o=$(1),l=$(0);let r=0;const n=S(()=>a.friction),u=S(()=>a.baseSpeed),m=S(()=>a.momentumFactor);function h(s){r||(r=s);const y=s-r;r=s,o.value=u.value+(o.value-u.value)*n.value,l.value+=o.value*y,requestAnimationFrame(h)}function p(s){const y=Math.sqrt(s.movementX**2+s.movementY**2);o.value+=y*m.value}return R(()=>{window.addEventListener("mousemove",p),requestAnimationFrame(h)}),ee(()=>{window.removeEventListener("mousemove",p)}),e({momentum:o,currentValue:l}),(s,y)=>k(s.$slots,"default",{momentum:o.value,currentValue:l.value})}}),je=c({__name:"TestDummyMarkerFlat",props:{size:null},setup(t){return(e,a)=>(d(),g("div",{class:"test-dummy-flat",style:A({width:`${t.size}px`,height:`${t.size}px`})},a[0]||(a[0]=[f("div",{class:"marker"},null,-1)]),4))}}),Ae=j(je,[["__scopeId","data-v-b4ef37ac"]]),Ie=c({__name:"TestDummyMarker",setup(t){return(e,a)=>(d(),b(Be,{"base-speed":.1,friction:.95,"momentum-factor":5e-4},{default:_(({currentValue:o})=>[w(Me,{perspective:800,transform:"rotateX(45deg) translateY(3px)"},{default:_(()=>[w(Ae,{size:24,style:A({transform:`rotate(${o}deg)`})},null,8,["style"])]),_:2},1024)]),_:1}))}});export{Te as _,Re as a,Ie as b};
|
|
|
1 |
+
import{c3 as P,d as c,cE as O,cj as V,cF as N,cB as E,bf as b,o as d,bg as _,bA as k,u as i,cA as D,cN as L,e as $,f as v,d2 as M,cx as U,d3 as z,w as H,c as g,c4 as K,bl as Y,d4 as G,W,cQ as X,cl as Q,ch as C,b as w,cg as B,a as f,Y as x,T as R,bh as J,ca as Z,b_ as j,a3 as A,a8 as S,U as ee}from"./index-D7HCX4VR.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";function T(t){return t?t.flatMap(e=>e.type===P?T(e.children):[e]):[]}const te=c({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:e,slots:a}){return()=>{var m;if(!a.default)return null;const o=T(a.default()),l=o.findIndex(h=>h.type!==O);if(l===-1)return o;const r=o[l];(m=r.props)==null||delete m.ref;const n=r.props?V(e,r.props):e,u=N({...r,props:{}},n);return o.length===1?u:(o[l]=u,o)}}}),ae=["area","img","input"],q=c({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:e,slots:a}){const o=t.asChild?"template":t.as;return typeof o=="string"&&ae.includes(o)?()=>E(o,e):o!=="template"?()=>E(t.as,e,{default:a.default}):()=>E(te,e,{default:a.default})}}),ne=c({__name:"VisuallyHidden",props:{feature:{default:"focusable"},asChild:{type:Boolean},as:{default:"span"}},setup(t){return(e,a)=>(d(),b(i(q),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature==="focusable"?"true":void 0,"data-hidden":e.feature==="fully-hidden"?"":void 0,tabindex:e.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:_(()=>[k(e.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}});function le(t,e){const a=`${t}Context`,o=Symbol(a);return[n=>{const u=D(o,n);if(u||u===null)return u;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},n=>(L(o,n),n)]}function I(){const t=U(),e=$(),a=v(()=>{var n,u;return["#text","#comment"].includes((n=e.value)==null?void 0:n.$el.nodeName)?(u=e.value)==null?void 0:u.$el.nextElementSibling:M(e)}),o=Object.assign({},t.exposed),l={};for(const n in t.props)Object.defineProperty(l,n,{enumerable:!0,configurable:!0,get:()=>t.props[n]});if(Object.keys(o).length>0)for(const n in o)Object.defineProperty(l,n,{enumerable:!0,configurable:!0,get:()=>o[n]});Object.defineProperty(l,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=l;function r(n){e.value=n,n&&(Object.defineProperty(l,"$el",{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),t.exposed=l)}return{forwardRef:r,currentRef:e,currentElement:a}}function oe(){const t=$(),e=v(()=>{var a,o;return["#text","#comment"].includes((a=t.value)==null?void 0:a.$el.nodeName)?(o=t.value)==null?void 0:o.$el.nextElementSibling:M(t)});return{primitiveElement:t,currentElement:e}}function re(t){return v(()=>{var e;return z(t)?!!((e=M(t))!=null&&e.closest("form")):!0})}const F=c({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:"fully-hidden"}},setup(t){const e=t,{primitiveElement:a,currentElement:o}=oe(),l=v(()=>e.checked??e.value);return H(l,(r,n)=>{if(!o.value)return;const u=o.value,m=window.HTMLInputElement.prototype,p=Object.getOwnPropertyDescriptor(m,"value").set;if(p&&r!==n){const s=new Event("input",{bubbles:!0}),y=new Event("change",{bubbles:!0});p.call(u,r),u.dispatchEvent(s),u.dispatchEvent(y)}}),(r,n)=>(d(),b(ne,V({ref_key:"primitiveElement",ref:a},{...e,...r.$attrs},{as:"input"}),null,16))}}),se=c({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{},value:{},checked:{type:Boolean,default:void 0},required:{type:Boolean},disabled:{type:Boolean},feature:{default:"fully-hidden"}},setup(t){const e=t,a=v(()=>typeof e.value=="object"&&Array.isArray(e.value)&&e.value.length===0&&e.required),o=v(()=>typeof e.value=="string"||typeof e.value=="number"||typeof e.value=="boolean"?[{name:e.name,value:e.value}]:typeof e.value=="object"&&Array.isArray(e.value)?e.value.flatMap((l,r)=>typeof l=="object"?Object.entries(l).map(([n,u])=>({name:`[${e.name}][${r}][${n}]`,value:u})):{name:`[${e.name}][${r}]`,value:l}):e.value!==null&&typeof e.value=="object"&&!Array.isArray(e.value)?Object.entries(e.value).map(([l,r])=>({name:`[${e.name}][${l}]`,value:r})):[]);return(l,r)=>a.value?(d(),b(F,V({key:l.name},{...e,...l.$attrs},{name:l.name,value:l.value}),null,16,["name","value"])):(d(!0),g(P,{key:1},K(o.value,n=>(d(),b(F,V({key:n.name,ref_for:!0},{...e,...l.$attrs},{name:n.name,value:n.value}),null,16,["name","value"]))),128))}}),[ue,ie]=le("SwitchRoot"),de=c({__name:"SwitchRoot",props:{defaultValue:{type:Boolean},modelValue:{type:[Boolean,null],default:void 0},disabled:{type:Boolean},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"},name:{},required:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:e}){const a=t,o=e,{disabled:l}=Y(a),r=G(a,"modelValue",o,{defaultValue:a.defaultValue,passive:a.modelValue===void 0});function n(){l.value||(r.value=!r.value)}const{forwardRef:u,currentElement:m}=I(),h=re(m),p=v(()=>{var s;return a.id&&m.value?(s=document.querySelector(`[for="${a.id}"]`))==null?void 0:s.innerText:void 0});return ie({modelValue:r,toggleCheck:n,disabled:l}),(s,y)=>(d(),b(i(q),V(s.$attrs,{id:s.id,ref:i(u),role:"switch",type:s.as==="button"?"button":void 0,value:s.value,"aria-label":s.$attrs["aria-label"]||p.value,"aria-checked":i(r),"aria-required":s.required,"data-state":i(r)?"checked":"unchecked","data-disabled":i(l)?"":void 0,"as-child":s.asChild,as:s.as,disabled:i(l),onClick:n,onKeydown:X(Q(n,["prevent"]),["enter"])}),{default:_(()=>[k(s.$slots,"default",{modelValue:i(r)}),i(h)&&s.name?(d(),b(i(se),{key:0,type:"checkbox",name:s.name,disabled:i(l),required:s.required,value:s.value,checked:!!i(r)},null,8,["name","disabled","required","value","checked"])):W("",!0)]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]))}}),ce=c({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){const e=ue();return I(),(a,o)=>{var l;return d(),b(i(q),{"data-state":(l=i(e).modelValue)!=null&&l.value?"checked":"unchecked","data-disabled":i(e).disabled.value?"":void 0,"as-child":a.asChild,as:a.as},{default:_(()=>[k(a.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),me=c({__name:"Checkbox",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(t){const e=C(t,"modelValue");return(a,o)=>(d(),b(i(de),{modelValue:e.value,"onUpdate:modelValue":o[0]||(o[0]=l=>e.value=l),transition:"background duration-250 ease-in-out",outline:"focus-within:none",flex:"~",border:"neutral-300 dark:neutral-700 data-[state=checked]:primary-200 data-[state=unchecked]:neutral-300 focus-within:neutral-800",bg:"data-[state=checked]:primary-400 data-[state=unchecked]:neutral-300 data-[state=checked]:dark:primary-400/80 dark:data-[state=unchecked]:neutral-800",relative:"","h-7":"",w:"12.5","rounded-full":"",shadow:"sm focus-within:shadow-neutral-800 focus-within:[0_0_0_1px] "},{default:_(()=>[w(i(ce),{"my-auto":"","size-6":"",flex:"","items-center":"","justify-center":"","translate-x":"0.5 data-[state=checked]:full","rounded-full":"","bg-white":"","text-xs":"","shadow-xl":"",transition:"transform duration-250 ease-in-out","will-change-transform":""})]),_:1},8,["modelValue"]))}}),pe={flex:"~ col gap-4"},fe={flex:"~ row","items-center":"","gap-2":""},ve={flex:"1"},he={class:"flex items-center gap-1 text-sm font-medium"},ye={class:"text-xs text-neutral-500 dark:text-neutral-400"},Re=c({__name:"FieldCheckbox",props:B({label:null,description:null},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,a=C(t,"modelValue");return(o,l)=>(d(),g("label",pe,[f("div",fe,[f("div",ve,[f("div",he,x(e.label),1),f("div",ye,x(e.description),1)]),w(me,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=r=>a.value=r)},null,8,["modelValue"])])]))}}),be=["min","max","step"],_e=c({__name:"Range",props:B({min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},thumbColor:{default:"#9090906e"},trackColor:{default:"gray"},trackValueColor:{default:"red"}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,a=C(t,"modelValue"),o=v(()=>e.min*1e4),l=v(()=>e.max*1e4),r=v(()=>e.step*1e4),n=$(),u=v({get:()=>a.value*1e4,set:p=>{a.value=p/1e4,m()}});R(()=>{m()});function m(){n.value&&(n.value.style.setProperty("--value",n.value.value),n.value.style.setProperty("--min",n.value.min?n.value.min:e.min.toString()),n.value.style.setProperty("--max",n.value.max?n.value.max:e.max.toString()))}function h(p){const s=p.target;s.style.setProperty("--value",s.value)}return(p,s)=>J((d(),g("input",{ref_key:"sliderRef",ref:n,"onUpdate:modelValue":s[0]||(s[0]=y=>u.value=y),type:"range",min:o.value,max:l.value,step:r.value,class:"slider-progress form_input-range",onInput:h},null,40,be)),[[Z,u.value,void 0,{number:!0}]])}}),ge=j(_e,[["__scopeId","data-v-c59a94f0"]]),xe={flex:"~ col gap-4"},Ve={flex:"~ row","items-center":"","gap-2":""},$e={flex:"1"},we={class:"flex items-center gap-1 text-sm font-medium"},ke={class:"text-xs text-neutral-500 dark:text-neutral-400"},Ce={"font-mono":""},Ee={flex:"~ row","items-center":"","gap-2":""},Te=c({__name:"FieldRange",props:B({min:null,max:null,step:null,label:null,description:null,formatValue:{type:Function}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const e=t,a=C(t,"modelValue");return(o,l)=>{var r;return d(),g("label",xe,[f("div",Ve,[f("div",$e,[f("div",we,x(t.label),1),f("div",ke,x(t.description),1)]),f("span",Ce,x(((r=e.formatValue)==null?void 0:r.call(e,a.value))||a.value),1)]),f("div",Ee,[w(ge,{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=n=>a.value=n),min:t.min||0,max:t.max||1,step:t.step||.01,"w-full":""},null,8,["modelValue","min","max","step"])])])}}}),Se=c({__name:"Volumed",props:{perspective:null,transform:null},setup(t){return(e,a)=>(d(),g("div",{class:"volumed",style:A({perspective:`${t.perspective}px`,transform:t.transform})},[k(e.$slots,"default",{},void 0,!0)],4))}}),Me=j(Se,[["__scopeId","data-v-568551bc"]]),Be=c({__name:"CursorMomentum",props:{baseSpeed:{default:.1},friction:{default:.95},momentumFactor:{default:.005}},setup(t,{expose:e}){const a=t,o=$(1),l=$(0);let r=0;const n=S(()=>a.friction),u=S(()=>a.baseSpeed),m=S(()=>a.momentumFactor);function h(s){r||(r=s);const y=s-r;r=s,o.value=u.value+(o.value-u.value)*n.value,l.value+=o.value*y,requestAnimationFrame(h)}function p(s){const y=Math.sqrt(s.movementX**2+s.movementY**2);o.value+=y*m.value}return R(()=>{window.addEventListener("mousemove",p),requestAnimationFrame(h)}),ee(()=>{window.removeEventListener("mousemove",p)}),e({momentum:o,currentValue:l}),(s,y)=>k(s.$slots,"default",{momentum:o.value,currentValue:l.value})}}),je=c({__name:"TestDummyMarkerFlat",props:{size:null},setup(t){return(e,a)=>(d(),g("div",{class:"test-dummy-flat",style:A({width:`${t.size}px`,height:`${t.size}px`})},a[0]||(a[0]=[f("div",{class:"marker"},null,-1)]),4))}}),Ae=j(je,[["__scopeId","data-v-b4ef37ac"]]),Ie=c({__name:"TestDummyMarker",setup(t){return(e,a)=>(d(),b(Be,{"base-speed":.1,friction:.95,"momentum-factor":5e-4},{default:_(({currentValue:o})=>[w(Me,{perspective:800,transform:"rotateX(45deg) translateY(3px)"},{default:_(()=>[w(Ae,{size:24,style:A({transform:`rotate(${o}deg)`})},null,8,["style"])]),_:2},1024)]),_:1}))}});export{Te as _,Re as a,Ie as b};
|
assets/{Textarea.vue_vue_type_script_setup_true_lang-B_B_k5Hr.js → Textarea.vue_vue_type_script_setup_true_lang-l_0OEYvy.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as r}from"./Basic.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as r}from"./Basic.vue_vue_type_script_setup_true_lang-B5smKUwB.js";import{d as t,ch as u,bf as d,o as n}from"./index-D7HCX4VR.js";const p=t({__name:"Textarea",props:{modelValue:{default:""},modelModifiers:{}},emits:["update:modelValue"],setup(l){const e=u(l,"modelValue");return(s,a)=>(n(),d(r,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=o=>e.value=o),border:"focus:primary-300 dark:focus:primary-400/50 2 solid neutral-100 dark:neutral-900",transition:"all duration-200 ease-in-out",text:"disabled:neutral-400 dark:disabled:neutral-600",cursor:"disabled:not-allowed","w-full":"","rounded-lg":"","px-2":"","py-1":"","text-sm":"","outline-none":"",shadow:"sm",bg:"neutral-50 dark:neutral-950 focus:neutral-50 dark:focus:neutral-900"},null,8,["modelValue"]))}});export{p as _};
|
assets/{TransitionVertical.vue_vue_type_script_setup_true_lang-CRbTvk1B.js → TransitionVertical.vue_vue_type_script_setup_true_lang-DI4_VHvP.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as m,bf as T,o as l,cm as b,bg as B,bA as v}from"./index-
|
|
|
1 |
+
import{d as m,bf as T,o as l,cm as b,bg as B,bA as v}from"./index-D7HCX4VR.js";const n="0px",W=m({__name:"TransitionVertical",props:{duration:{default:250},easingEnter:{default:"ease-in-out"},easingLeave:{default:"ease-in-out"},opacityClosed:{default:0},opacityOpened:{default:1}},setup(c){const r=c;function p(o){return{height:o.style.height,width:o.style.width,position:o.style.position,visibility:o.style.visibility,overflow:o.style.overflow,paddingTop:o.style.paddingTop,paddingBottom:o.style.paddingBottom,borderTopWidth:o.style.borderTopWidth,borderBottomWidth:o.style.borderBottomWidth,marginTop:o.style.marginTop,marginBottom:o.style.marginBottom}}function y(o,t){const{width:i}=getComputedStyle(o);o.style.width=i,o.style.position="absolute",o.style.visibility="hidden",o.style.height="";const{height:s}=getComputedStyle(o);return o.style.width=t.width,o.style.position=t.position,o.style.visibility=t.visibility,o.style.height=n,o.style.overflow="hidden",t.height&&t.height!==n?t.height:s}function h(o,t,i,s,d){const e=o.animate(s,d);o.style.height=t.height,e.onfinish=()=>{o.style.overflow=t.overflow,i()}}function g(o,t){return[{height:n,opacity:r.opacityClosed,paddingTop:n,paddingBottom:n,borderTopWidth:n,borderBottomWidth:n,marginTop:n,marginBottom:n},{height:o,opacity:r.opacityOpened,paddingTop:t.paddingTop,paddingBottom:t.paddingBottom,borderTopWidth:t.borderTopWidth,borderBottomWidth:t.borderBottomWidth,marginTop:t.marginTop,marginBottom:t.marginBottom}]}function u(o,t){const i=o,s=p(i),d=y(i,s),e=g(d,s),a={duration:r.duration,easing:r.easingEnter};h(i,s,t,e,a)}function f(o,t){const i=o,s=p(i),{height:d}=getComputedStyle(i);i.style.height=d,i.style.overflow="hidden";const e=g(d,s).reverse(),a={duration:r.duration,easing:r.easingLeave};h(i,s,t,e,a)}return(o,t)=>(l(),T(b,{css:!1,onEnter:u,onLeave:f},{default:B(()=>[v(o.$slots,"default")]),_:3}))}});export{W as _};
|
assets/{_...all_-wXEXd08C.js → _...all_-CvLU7PxS.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{b_ as e,c as _,o as c}from"./index-
|
|
|
1 |
+
import{b_ as e,c as _,o as c}from"./index-D7HCX4VR.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/{airi-card-C8RVFLnh.js → airi-card-xdAfH1PV.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
import{a4 as W,c9 as L,f as g,a0 as O,T as D,$ as G,w as H}from"./index-
|
2 |
`),u].join(`
|
3 |
|
4 |
`)}}const Q=W("airi-card",()=>{const a=L("airi-cards",new Map),u=L("airi-card-active-id","default"),n=g(()=>a.value.get(u.value)),P=b(),R=k(),{activeModel:l}=O(P),{activeSpeechVoiceId:m,activeSpeechModel:p}=O(R),$=s=>{const e=crypto.randomUUID();return a.value.set(e,f(s)),e},B=s=>{a.value.delete(s)},V=s=>a.value.get(s);function v(s){var t,r,i,c,d,h,_,y,S,x,C,M,I,w,E,A,T,U,j;const e="data"in s?(r=(t=s.data)==null?void 0:t.extensions)==null?void 0:r.airi:(i=s.extensions)==null?void 0:i.airi,o={consciousness:{model:l.value},speech:{model:p.value,voice_id:m.value}};return e?{modules:{consciousness:{model:((d=(c=e.modules)==null?void 0:c.consciousness)==null?void 0:d.model)??o.consciousness.model},speech:{model:((_=(h=e.modules)==null?void 0:h.speech)==null?void 0:_.model)??o.speech.model,voice_id:((S=(y=e.modules)==null?void 0:y.speech)==null?void 0:S.voice_id)??o.speech.voice_id,pitch:(C=(x=e.modules)==null?void 0:x.speech)==null?void 0:C.pitch,rate:(I=(M=e.modules)==null?void 0:M.speech)==null?void 0:I.rate,ssml:(E=(w=e.modules)==null?void 0:w.speech)==null?void 0:E.ssml,language:(T=(A=e.modules)==null?void 0:A.speech)==null?void 0:T.language},vrm:(U=e.modules)==null?void 0:U.vrm,live2d:(j=e.modules)==null?void 0:j.live2d},agents:e.agents??{}}:{modules:o,agents:{}}}function f(s){if("data"in s){const e=s;return{name:e.data.name,version:e.data.character_version??"1.0.0",description:e.data.description??"",creator:e.data.creator??"",notes:e.data.creator_notes??"",notesMultilingual:e.data.creator_notes_multilingual,personality:e.data.personality??"",scenario:e.data.scenario??"",greetings:[e.data.first_mes,...e.data.alternate_greetings??[]],greetingsGroupOnly:e.data.group_only_greetings??[],systemPrompt:e.data.system_prompt??"",postHistoryInstructions:e.data.post_history_instructions??"",messageExample:e.data.mes_example?e.data.mes_example.split(`<START>
|
|
|
1 |
+
import{a4 as W,c9 as L,f as g,a0 as O,T as D,$ as G,w as H}from"./index-D7HCX4VR.js";import{c as N}from"./emotions-DWNSb738.js";import{u as b}from"./consciousness-CZ80YtY5.js";import{u as k}from"./speech-D8cCufg2.js";function q(a,u){return{role:"system",content:[a,N.map(n=>`- ${n}`).join(`
|
2 |
`),u].join(`
|
3 |
|
4 |
`)}}const Q=W("airi-card",()=>{const a=L("airi-cards",new Map),u=L("airi-card-active-id","default"),n=g(()=>a.value.get(u.value)),P=b(),R=k(),{activeModel:l}=O(P),{activeSpeechVoiceId:m,activeSpeechModel:p}=O(R),$=s=>{const e=crypto.randomUUID();return a.value.set(e,f(s)),e},B=s=>{a.value.delete(s)},V=s=>a.value.get(s);function v(s){var t,r,i,c,d,h,_,y,S,x,C,M,I,w,E,A,T,U,j;const e="data"in s?(r=(t=s.data)==null?void 0:t.extensions)==null?void 0:r.airi:(i=s.extensions)==null?void 0:i.airi,o={consciousness:{model:l.value},speech:{model:p.value,voice_id:m.value}};return e?{modules:{consciousness:{model:((d=(c=e.modules)==null?void 0:c.consciousness)==null?void 0:d.model)??o.consciousness.model},speech:{model:((_=(h=e.modules)==null?void 0:h.speech)==null?void 0:_.model)??o.speech.model,voice_id:((S=(y=e.modules)==null?void 0:y.speech)==null?void 0:S.voice_id)??o.speech.voice_id,pitch:(C=(x=e.modules)==null?void 0:x.speech)==null?void 0:C.pitch,rate:(I=(M=e.modules)==null?void 0:M.speech)==null?void 0:I.rate,ssml:(E=(w=e.modules)==null?void 0:w.speech)==null?void 0:E.ssml,language:(T=(A=e.modules)==null?void 0:A.speech)==null?void 0:T.language},vrm:(U=e.modules)==null?void 0:U.vrm,live2d:(j=e.modules)==null?void 0:j.live2d},agents:e.agents??{}}:{modules:o,agents:{}}}function f(s){if("data"in s){const e=s;return{name:e.data.name,version:e.data.character_version??"1.0.0",description:e.data.description??"",creator:e.data.creator??"",notes:e.data.creator_notes??"",notesMultilingual:e.data.creator_notes_multilingual,personality:e.data.personality??"",scenario:e.data.scenario??"",greetings:[e.data.first_mes,...e.data.alternate_greetings??[]],greetingsGroupOnly:e.data.group_only_greetings??[],systemPrompt:e.data.system_prompt??"",postHistoryInstructions:e.data.post_history_instructions??"",messageExample:e.data.mes_example?e.data.mes_example.split(`<START>
|
assets/{alibaba-cloud-model-studio-B6WhCtqN.js → alibaba-cloud-model-studio-sMAGnqmb.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as m}from"./TestDummyMarker.vue_vue_type_script_setup_true_lang-
|
|
|
1 |
+
import{_ as m}from"./TestDummyMarker.vue_vue_type_script_setup_true_lang-B8ttvJp0.js";import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";/* empty css */import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";import{d as x,e as f,a0 as $,$ as k,f as V,T as F,w as v,bf as B,o as I,bg as y,b as c,u as i,a as T}from"./index-D7HCX4VR.js";import"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";import{u as U}from"./providers-DepZj6_J.js";import{u as E}from"./speech-D8cCufg2.js";import{_ as K,a as L}from"./SpeechProviderSettings.vue_vue_type_script_setup_true_lang-Cn-PwtFl.js";import{b as P}from"./route-block-B_A1xBdJ.js";import"./index-LHmcipjy.js";import"./index-CIqqlMPn.js";import"./ProviderAdvancedSettings.vue_vue_type_script_setup_true_lang-DyAoTyc1.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-BgecN6qM.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DI4_VHvP.js";import"./ProviderApiKeyInput.vue_vue_type_script_setup_true_lang-BKRXTEtv.js";import"./FieldInput.vue_vue_type_script_setup_true_lang-npB69nXh.js";import"./Input.vue_vue_type_script_setup_true_lang-BTDULx3d.js";import"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-CY_3wYwt.js";import"./ProviderBasicSettings.vue_vue_type_script_setup_true_lang-FDIyR7vt.js";import"./ProviderSettingsContainer.vue_vue_type_script_setup_true_lang-C8iT0FMz.js";const N={flex:"~ col gap-4"},o="alibaba-cloud-model-studio",_="cosyvoice-v1",z=x({__name:"alibaba-cloud-model-studio",setup(G){const u={speed:1},d=f(0),l=f(1),n=f(0),p=E(),r=U(),{providers:g}=$(r),{t:s}=k(),h=V(()=>{var e;return!!((e=g.value[o])!=null&&e.apiKey)}),w=V(()=>p.availableVoices[o]||[]);async function M(e,t,a){const b=r.getProviderInstance(o);if(!b)throw new Error("Failed to initialize speech provider");const C=r.getProviderConfig(o),S=C.model||_;return await p.speech(b,S,e,t,{...C,...u})}return F(async()=>{const e=r.getProviderConfig(o);await r.getProviderMetadata(o).validators.validateProviderConfig(e)?await p.loadVoicesForProvider(o):console.error("Failed to validate provider config",e)}),v(d,async()=>{const e=r.getProviderConfig(o);e.pitch=d.value}),v(l,async()=>{const e=r.getProviderConfig(o);e.speed=l.value}),v(n,async()=>{const e=r.getProviderConfig(o);e.volume=n.value}),v(g,async()=>{const e=r.getProviderConfig(o);await r.getProviderMetadata(o).validators.validateProviderConfig(e)?await p.loadVoicesForProvider(o):console.error("Failed to validate provider config",e)},{immediate:!0}),(e,t)=>(I(),B(i(L),{"provider-id":o,"default-model":_,"additional-settings":u},{"voice-settings":y(()=>[T("div",N,[c(i(m),{modelValue:d.value,"onUpdate:modelValue":t[0]||(t[0]=a=>d.value=a),label:i(s)("settings.pages.providers.provider.common.fields.field.pitch.label"),description:i(s)("settings.pages.providers.provider.common.fields.field.pitch.description"),min:-100,max:100,step:1,"format-value":a=>`${a}%`},null,8,["modelValue","label","description","format-value"]),c(i(m),{modelValue:l.value,"onUpdate:modelValue":t[1]||(t[1]=a=>l.value=a),label:i(s)("settings.pages.providers.provider.common.fields.field.speed.label"),description:i(s)("settings.pages.providers.provider.common.fields.field.speed.description"),min:.5,max:2,step:.01},null,8,["modelValue","label","description"]),c(i(m),{modelValue:n.value,"onUpdate:modelValue":t[2]||(t[2]=a=>n.value=a),label:i(s)("settings.pages.providers.provider.common.fields.field.volume.label"),description:i(s)("settings.pages.providers.provider.common.fields.field.volume.description"),min:-100,max:100,step:1,"format-value":a=>`${a}%`},null,8,["modelValue","label","description","format-value"])])]),playground:y(()=>[c(i(K),{"available-voices":w.value,"generate-speech":M,"api-key-configured":h.value,"default-text":"Hello! This is a test of the ElevenLabs voice synthesis."},null,8,["available-voices","api-key-configured"])]),_:1}))}});typeof P=="function"&&P(z);export{z as default};
|
assets/{anthropic-BKTtBvDQ.js → anthropic-Cs21upu-.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import"./Select.vue_vue_type_style_index_0_lang-
|
|
|
1 |
+
import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";/* empty css */import"./Stage.vue_vue_type_style_index_0_scoped_af8294f5_lang-sO-yuYZL.js";import{d as S,$ as x,V as U,a0 as V,f as v,T as w,w as C,bf as K,o as R,bg as c,a as i,b as l,ci as p,u as a}from"./index-D7HCX4VR.js";import"./three-vrm.module-DiGxQJqt.js";import"./emotions-DWNSb738.js";import"./mcp-DgU0tpf-.js";import{u as $}from"./providers-DepZj6_J.js";import{_ as O}from"./ProviderAdvancedSettings.vue_vue_type_script_setup_true_lang-DyAoTyc1.js";import{_ as A}from"./ProviderApiKeyInput.vue_vue_type_script_setup_true_lang-BKRXTEtv.js";import{_ as I}from"./ProviderBaseUrlInput.vue_vue_type_script_setup_true_lang-CY_3wYwt.js";import{_ as N}from"./ProviderBasicSettings.vue_vue_type_script_setup_true_lang-FDIyR7vt.js";import{_ as T}from"./ProviderSettingsContainer.vue_vue_type_script_setup_true_lang-C8iT0FMz.js";import{_ as B}from"./ProviderSettingsLayout.vue_vue_type_script_setup_true_lang-BXTSNxW7.js";import{b as _}from"./route-block-B_A1xBdJ.js";import"./index-LHmcipjy.js";import"./index-CIqqlMPn.js";import"./Collapsable.vue_vue_type_script_setup_true_lang-BgecN6qM.js";import"./TransitionVertical.vue_vue_type_script_setup_true_lang-DI4_VHvP.js";import"./FieldInput.vue_vue_type_script_setup_true_lang-npB69nXh.js";import"./Input.vue_vue_type_script_setup_true_lang-BTDULx3d.js";const e="anthropic",z=S({__name:"anthropic",setup(M){const{t:u}=x(),g=U(),f=$(),{providers:o}=V(f),m=v(()=>f.getProviderMetadata(e)),s=v({get:()=>{var t;return((t=o.value[e])==null?void 0:t.apiKey)||""},set:t=>{o.value[e]||(o.value[e]={}),o.value[e].apiKey=t}}),n=v({get:()=>{var t;return((t=o.value[e])==null?void 0:t.baseUrl)||"https://api.anthropic.com/v1/"},set:t=>{o.value[e]||(o.value[e]={}),o.value[e].baseUrl=t}});w(()=>{var t,r;o.value[e]||(o.value[e]={baseUrl:"https://api.anthropic.com/v1/"}),s.value=((t=o.value[e])==null?void 0:t.apiKey)||"",n.value=((r=o.value[e])==null?void 0:r.baseUrl)||"https://api.anthropic.com/v1/"}),C([s,n],()=>{o.value[e]={...o.value[e],apiKey:s.value,baseUrl:n.value||"https://api.anthropic.com/v1/"}});function y(){o.value[e]={baseUrl:"https://api.anthropic.com/v1/"}}return(t,r)=>{var h,b;return R(),K(a(B),{"provider-name":((h=m.value)==null?void 0:h.localizedName)||"Anthropic | Claude","provider-icon":(b=m.value)==null?void 0:b.icon,"on-back":()=>a(g).back()},{default:c(()=>[r[2]||(r[2]=i("div",{bg:"orange-50 dark:orange-900/20","rounded-xl":"","p-4":"",flex:"~ col gap-3"},[i("h2",{"text-xl":"","font-semibold":"",text:"orange-700 dark:orange-500"}," Before you start "),i("p",null,[p(" While Anthropic recently did announce that they are having a beta support for OpenAI SDK compatibility "),i("a",{underline:"",href:"https://docs.anthropic.com/en/api/openai-sdk"},"(you can read more here)"),p(", but due to the implementation details comes with "),i("a",{underline:"",href:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS"},"CORS"),p(" restrictions which not aligned with the OpenAI SDK, it's currently not possible to use this provider in the browser. ")]),i("p",null,[p(" If you do need to use this provider, you will need a dedicated proxy backend like a Serverless Function running on "),i("a",{underline:"",href:"https://workers.cloudflare.com/"},"Cloudflare Workers"),p(" or some CORS bypassing services to bypass the CORS restrictions. ")])],-1)),l(a(T),null,{default:c(()=>[l(a(N),{title:a(u)("settings.pages.providers.common.section.basic.title"),description:a(u)("settings.pages.providers.common.section.basic.description"),"on-reset":y},{default:c(()=>{var d;return[l(a(A),{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=k=>s.value=k),"provider-name":((d=m.value)==null?void 0:d.localizedName)||"Anthropic",placeholder:"sk-..."},null,8,["modelValue","provider-name"])]}),_:1},8,["title","description"]),l(a(O),{title:a(u)("settings.pages.providers.common.section.advanced.title")},{default:c(()=>[l(a(I),{modelValue:n.value,"onUpdate:modelValue":r[1]||(r[1]=d=>n.value=d),placeholder:"https://api.anthropic.com/v1/"},null,8,["modelValue"])]),_:1},8,["title"])]),_:1})]),_:1,__:[2]},8,["provider-name","provider-icon","on-back"])}}});typeof _=="function"&&_(z);export{z as default};
|
assets/{audio-BkxfUoD8.js → audio-C9GHcVn0.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as s,e as f,c as d,o as p,a as t}from"./index-
|
|
|
1 |
+
import{d as s,e as f,c as d,o as p,a as t}from"./index-D7HCX4VR.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/{background-remove-TMZHR2C1.js → background-remove-BaZ8ULC5.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
var _v=Object.defineProperty;var gv=(e,r,t)=>r in e?_v(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var Y=(e,r,t)=>gv(e,typeof r!="symbol"?r+"":r,t);import"./Select.vue_vue_type_style_index_0_lang-BH7HpSd3.js";import{_ as wv}from"./InputFile.vue_vue_type_script_setup_true_lang-Doe_GoGG.js";import{c as bv}from"./index-CIqqlMPn.js";import{d as Mv,e as zs,f as yv,T as vv,c as Tn,o as En,a as Vr,b as xv,Y as Ef,c3 as Pf,c4 as Cf,W as Sf,a3 as Tv,u as Ev}from"./index-D2WYGmMW.js";const la=new Map,kn=[],Pv=(e,r,t)=>{if(r&&typeof r.init=="function"&&typeof r.createInferenceSessionHandler=="function"){const s=la.get(e);if(s===void 0)la.set(e,{backend:r,priority:t});else{if(s.priority>t)return;if(s.priority===t&&s.backend!==r)throw new Error(`cannot register backend "${e}" using priority ${t}`)}if(t>=0){const o=kn.indexOf(e);o!==-1&&kn.splice(o,1);for(let n=0;n<kn.length;n++)if(la.get(kn[n]).priority<=t){kn.splice(n,0,e);return}kn.push(e)}return}throw new TypeError("not a valid backend")},Cv=async e=>{const r=la.get(e);if(!r)return"backend not found.";if(r.initialized)return r.backend;if(r.aborted)return r.error;{const t=!!r.initPromise;try{return t||(r.initPromise=r.backend.init(e)),await r.initPromise,r.initialized=!0,r.backend}catch(s){return t||(r.error=`${s}`,r.aborted=!0),r.error}finally{delete r.initPromise}}},Sv=async e=>{const r=e.executionProviders||[],t=r.map(l=>typeof l=="string"?l:l.name),s=t.length===0?kn:t;let o;const n=[],i=new Set;for(const l of s){const u=await Cv(l);typeof u=="string"?n.push({name:l,err:u}):(o||(o=u),o===u&&i.add(l))}if(!o)throw new Error(`no available backend found. ERR: ${n.map(l=>`[${l.name}] ${l.err}`).join(", ")}`);for(const{name:l,err:u}of n)t.includes(l)&&console.warn(`removing requested execution provider "${l}" from session options because it is not available: ${u}`);const a=r.filter(l=>i.has(typeof l=="string"?l:l.name));return[o,new Proxy(e,{get:(l,u)=>u==="executionProviders"?a:Reflect.get(l,u)})]},$v="1.22.0";let $f="warning";const Ts={wasm:{},webgl:{},webgpu:{},versions:{common:$v},set logLevel(e){if(e!==void 0){if(typeof e!="string"||["verbose","info","warning","error","fatal"].indexOf(e)===-1)throw new Error(`Unsupported logging level: ${e}`);$f=e}},get logLevel(){return $f}};Object.defineProperty(Ts,"logLevel",{enumerable:!0});const kv=Ts,Iv=(e,r)=>{const t=typeof document<"u"?document.createElement("canvas"):new OffscreenCanvas(1,1);t.width=e.dims[3],t.height=e.dims[2];const s=t.getContext("2d");if(s!=null){let o,n;(r==null?void 0:r.tensorLayout)!==void 0&&r.tensorLayout==="NHWC"?(o=e.dims[2],n=e.dims[3]):(o=e.dims[3],n=e.dims[2]);const i=(r==null?void 0:r.format)!==void 0?r.format:"RGB",a=r==null?void 0:r.norm;let l,u;a===void 0||a.mean===void 0?l=[255,255,255,255]:typeof a.mean=="number"?l=[a.mean,a.mean,a.mean,a.mean]:(l=[a.mean[0],a.mean[1],a.mean[2],0],a.mean[3]!==void 0&&(l[3]=a.mean[3])),a===void 0||a.bias===void 0?u=[0,0,0,0]:typeof a.bias=="number"?u=[a.bias,a.bias,a.bias,a.bias]:(u=[a.bias[0],a.bias[1],a.bias[2],0],a.bias[3]!==void 0&&(u[3]=a.bias[3]));const p=n*o;let c=0,d=p,_=p*2,f=-1;i==="RGBA"?(c=0,d=p,_=p*2,f=p*3):i==="RGB"?(c=0,d=p,_=p*2):i==="RBG"&&(c=0,_=p,d=p*2);for(let v=0;v<n;v++)for(let $=0;$<o;$++){const g=(e.data[c++]-u[0])*l[0],w=(e.data[d++]-u[1])*l[1],C=(e.data[_++]-u[2])*l[2],E=f===-1?255:(e.data[f++]-u[3])*l[3];s.fillStyle="rgba("+g+","+w+","+C+","+E+")",s.fillRect($,v,1,1)}if("toDataURL"in t)return t.toDataURL();throw new Error("toDataURL is not supported")}else throw new Error("Can not access image data")},Av=(e,r)=>{const t=typeof document<"u"?document.createElement("canvas").getContext("2d"):new OffscreenCanvas(1,1).getContext("2d");let s;if(t!=null){let o,n,i;(r==null?void 0:r.tensorLayout)!==void 0&&r.tensorLayout==="NHWC"?(o=e.dims[2],n=e.dims[1],i=e.dims[3]):(o=e.dims[3],n=e.dims[2],i=e.dims[1]);const a=r!==void 0&&r.format!==void 0?r.format:"RGB",l=r==null?void 0:r.norm;let u,p;l===void 0||l.mean===void 0?u=[255,255,255,255]:typeof l.mean=="number"?u=[l.mean,l.mean,l.mean,l.mean]:(u=[l.mean[0],l.mean[1],l.mean[2],255],l.mean[3]!==void 0&&(u[3]=l.mean[3])),l===void 0||l.bias===void 0?p=[0,0,0,0]:typeof l.bias=="number"?p=[l.bias,l.bias,l.bias,l.bias]:(p=[l.bias[0],l.bias[1],l.bias[2],0],l.bias[3]!==void 0&&(p[3]=l.bias[3]));const c=n*o;if(r!==void 0&&(r.format!==void 0&&i===4&&r.format!=="RGBA"||i===3&&r.format!=="RGB"&&r.format!=="BGR"))throw new Error("Tensor format doesn't match input tensor dims");const d=4;let _=0,f=1,v=2,$=3,g=0,w=c,C=c*2,E=-1;a==="RGBA"?(g=0,w=c,C=c*2,E=c*3):a==="RGB"?(g=0,w=c,C=c*2):a==="RBG"&&(g=0,C=c,w=c*2),s=t.createImageData(o,n);for(let x=0;x<n*o;_+=d,f+=d,v+=d,$+=d,x++)s.data[_]=(e.data[g++]-p[0])*u[0],s.data[f]=(e.data[w++]-p[1])*u[1],s.data[v]=(e.data[C++]-p[2])*u[2],s.data[$]=E===-1?255:(e.data[E++]-p[3])*u[3]}else throw new Error("Can not access image data");return s},Al=(e,r)=>{if(e===void 0)throw new Error("Image buffer must be defined");if(r.height===void 0||r.width===void 0)throw new Error("Image height and width must be defined");if(r.tensorLayout==="NHWC")throw new Error("NHWC Tensor layout is not supported yet");const{height:t,width:s}=r,o=r.norm??{mean:255,bias:0};let n,i;typeof o.mean=="number"?n=[o.mean,o.mean,o.mean,o.mean]:n=[o.mean[0],o.mean[1],o.mean[2],o.mean[3]??255],typeof o.bias=="number"?i=[o.bias,o.bias,o.bias,o.bias]:i=[o.bias[0],o.bias[1],o.bias[2],o.bias[3]??0];const a=r.format!==void 0?r.format:"RGBA",l=r.tensorFormat!==void 0&&r.tensorFormat!==void 0?r.tensorFormat:"RGB",u=t*s,p=l==="RGBA"?new Float32Array(u*4):new Float32Array(u*3);let c=4,d=0,_=1,f=2,v=3,$=0,g=u,w=u*2,C=-1;a==="RGB"&&(c=3,d=0,_=1,f=2,v=-1),l==="RGBA"?C=u*3:l==="RBG"?($=0,w=u,g=u*2):l==="BGR"&&(w=0,g=u,$=u*2);for(let x=0;x<u;x++,d+=c,f+=c,_+=c,v+=c)p[$++]=(e[d]+i[0])/n[0],p[g++]=(e[_]+i[1])/n[1],p[w++]=(e[f]+i[2])/n[2],C!==-1&&v!==-1&&(p[C++]=(e[v]+i[3])/n[3]);return l==="RGBA"?new us("float32",p,[1,4,t,s]):new us("float32",p,[1,3,t,s])},Fv=async(e,r)=>{const t=typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement,s=typeof ImageData<"u"&&e instanceof ImageData,o=typeof ImageBitmap<"u"&&e instanceof ImageBitmap,n=typeof e=="string";let i,a=r??{};const l=()=>{if(typeof document<"u")return document.createElement("canvas");if(typeof OffscreenCanvas<"u")return new OffscreenCanvas(1,1);throw new Error("Canvas is not supported")},u=p=>typeof HTMLCanvasElement<"u"&&p instanceof HTMLCanvasElement||p instanceof OffscreenCanvas?p.getContext("2d"):null;if(t){const p=l();p.width=e.width,p.height=e.height;const c=u(p);if(c!=null){let d=e.height,_=e.width;if(r!==void 0&&r.resizedHeight!==void 0&&r.resizedWidth!==void 0&&(d=r.resizedHeight,_=r.resizedWidth),r!==void 0){if(a=r,r.tensorFormat!==void 0)throw new Error("Image input config format must be RGBA for HTMLImageElement");a.tensorFormat="RGBA",a.height=d,a.width=_}else a.tensorFormat="RGBA",a.height=d,a.width=_;c.drawImage(e,0,0),i=c.getImageData(0,0,_,d).data}else throw new Error("Can not access image data")}else if(s){let p,c;if(r!==void 0&&r.resizedWidth!==void 0&&r.resizedHeight!==void 0?(p=r.resizedHeight,c=r.resizedWidth):(p=e.height,c=e.width),r!==void 0&&(a=r),a.format="RGBA",a.height=p,a.width=c,r!==void 0){const d=l();d.width=c,d.height=p;const _=u(d);if(_!=null)_.putImageData(e,0,0),i=_.getImageData(0,0,c,p).data;else throw new Error("Can not access image data")}else i=e.data}else if(o){if(r===void 0)throw new Error("Please provide image config with format for Imagebitmap");const p=l();p.width=e.width,p.height=e.height;const c=u(p);if(c!=null){const d=e.height,_=e.width;return c.drawImage(e,0,0,_,d),i=c.getImageData(0,0,_,d).data,a.height=d,a.width=_,Al(i,a)}else throw new Error("Can not access image data")}else{if(n)return new Promise((p,c)=>{const d=l(),_=u(d);if(!e||!_)return c();const f=new Image;f.crossOrigin="Anonymous",f.src=e,f.onload=()=>{d.width=f.width,d.height=f.height,_.drawImage(f,0,0,d.width,d.height);const v=_.getImageData(0,0,d.width,d.height);a.height=d.height,a.width=d.width,p(Al(v.data,a))}});throw new Error("Input data provided is not supported - aborted tensor creation")}if(i!==void 0)return Al(i,a);throw new Error("Input data provided is not supported - aborted tensor creation")},Ov=(e,r)=>{const{width:t,height:s,download:o,dispose:n}=r,i=[1,s,t,4];return new us({location:"texture",type:"float32",texture:e,dims:i,download:o,dispose:n})},Dv=(e,r)=>{const{dataType:t,dims:s,download:o,dispose:n}=r;return new us({location:"gpu-buffer",type:t??"float32",gpuBuffer:e,dims:s,download:o,dispose:n})},Lv=(e,r)=>{const{dataType:t,dims:s,download:o,dispose:n}=r;return new us({location:"ml-tensor",type:t??"float32",mlTensor:e,dims:s,download:o,dispose:n})},zv=(e,r,t)=>new us({location:"cpu-pinned",type:e,data:r,dims:t??[r.length]}),ro=new Map([["float32",Float32Array],["uint8",Uint8Array],["int8",Int8Array],["uint16",Uint16Array],["int16",Int16Array],["int32",Int32Array],["bool",Uint8Array],["float64",Float64Array],["uint32",Uint32Array],["int4",Uint8Array],["uint4",Uint8Array]]),ua=new Map([[Float32Array,"float32"],[Uint8Array,"uint8"],[Int8Array,"int8"],[Uint16Array,"uint16"],[Int16Array,"int16"],[Int32Array,"int32"],[Float64Array,"float64"],[Uint32Array,"uint32"]]);let kf=!1;const Bv=()=>{if(!kf){kf=!0;const e=typeof BigInt64Array<"u"&&BigInt64Array.from,r=typeof BigUint64Array<"u"&&BigUint64Array.from,t=globalThis.Float16Array,s=typeof t<"u"&&t.from;e&&(ro.set("int64",BigInt64Array),ua.set(BigInt64Array,"int64")),r&&(ro.set("uint64",BigUint64Array),ua.set(BigUint64Array,"uint64")),s?(ro.set("float16",t),ua.set(t,"float16")):ro.set("float16",Uint16Array)}},Rv=e=>{let r=1;for(let t=0;t<e.length;t++){const s=e[t];if(typeof s!="number"||!Number.isSafeInteger(s))throw new TypeError(`dims[${t}] must be an integer, got: ${s}`);if(s<0)throw new RangeError(`dims[${t}] must be a non-negative integer, got: ${s}`);r*=s}return r},jv=(e,r)=>{switch(e.location){case"cpu":return new us(e.type,e.data,r);case"cpu-pinned":return new us({location:"cpu-pinned",data:e.data,type:e.type,dims:r});case"texture":return new us({location:"texture",texture:e.texture,type:e.type,dims:r});case"gpu-buffer":return new us({location:"gpu-buffer",gpuBuffer:e.gpuBuffer,type:e.type,dims:r});case"ml-tensor":return new us({location:"ml-tensor",mlTensor:e.mlTensor,type:e.type,dims:r});default:throw new Error(`tensorReshape: tensor location ${e.location} is not supported`)}};let us=class{constructor(r,t,s){Bv();let o,n;if(typeof r=="object"&&"location"in r)switch(this.dataLocation=r.location,o=r.type,n=r.dims,r.location){case"cpu-pinned":{const a=ro.get(o);if(!a)throw new TypeError(`unsupported type "${o}" to create tensor from pinned buffer`);if(!(r.data instanceof a))throw new TypeError(`buffer should be of type ${a.name}`);this.cpuData=r.data;break}case"texture":{if(o!=="float32")throw new TypeError(`unsupported type "${o}" to create tensor from texture`);this.gpuTextureData=r.texture,this.downloader=r.download,this.disposer=r.dispose;break}case"gpu-buffer":{if(o!=="float32"&&o!=="float16"&&o!=="int32"&&o!=="int64"&&o!=="uint32"&&o!=="uint8"&&o!=="bool"&&o!=="uint4"&&o!=="int4")throw new TypeError(`unsupported type "${o}" to create tensor from gpu buffer`);this.gpuBufferData=r.gpuBuffer,this.downloader=r.download,this.disposer=r.dispose;break}case"ml-tensor":{if(o!=="float32"&&o!=="float16"&&o!=="int32"&&o!=="int64"&&o!=="uint32"&&o!=="uint64"&&o!=="int8"&&o!=="uint8"&&o!=="bool"&&o!=="uint4"&&o!=="int4")throw new TypeError(`unsupported type "${o}" to create tensor from MLTensor`);this.mlTensorData=r.mlTensor,this.downloader=r.download,this.disposer=r.dispose;break}default:throw new Error(`Tensor constructor: unsupported location '${this.dataLocation}'`)}else{let a,l;if(typeof r=="string")if(o=r,l=s,r==="string"){if(!Array.isArray(t))throw new TypeError("A string tensor's data must be a string array.");a=t}else{const u=ro.get(r);if(u===void 0)throw new TypeError(`Unsupported tensor type: ${r}.`);if(Array.isArray(t)){if(r==="float16"&&u===Uint16Array||r==="uint4"||r==="int4")throw new TypeError(`Creating a ${r} tensor from number array is not supported. Please use ${u.name} as data.`);r==="uint64"||r==="int64"?a=u.from(t,BigInt):a=u.from(t)}else if(t instanceof u)a=t;else if(t instanceof Uint8ClampedArray)if(r==="uint8")a=Uint8Array.from(t);else throw new TypeError("A Uint8ClampedArray tensor's data must be type of uint8");else if(r==="float16"&&t instanceof Uint16Array&&u!==Uint16Array)a=new globalThis.Float16Array(t.buffer,t.byteOffset,t.length);else throw new TypeError(`A ${o} tensor's data must be type of ${u}`)}else if(l=t,Array.isArray(r)){if(r.length===0)throw new TypeError("Tensor type cannot be inferred from an empty array.");const u=typeof r[0];if(u==="string")o="string",a=r;else if(u==="boolean")o="bool",a=Uint8Array.from(r);else throw new TypeError(`Invalid element type of data array: ${u}.`)}else if(r instanceof Uint8ClampedArray)o="uint8",a=Uint8Array.from(r);else{const u=ua.get(r.constructor);if(u===void 0)throw new TypeError(`Unsupported type for tensor data: ${r.constructor}.`);o=u,a=r}if(l===void 0)l=[a.length];else if(!Array.isArray(l))throw new TypeError("A tensor's dims must be a number array");n=l,this.cpuData=a,this.dataLocation="cpu"}const i=Rv(n);if(this.cpuData&&i!==this.cpuData.length&&!((o==="uint4"||o==="int4")&&Math.ceil(i/2)===this.cpuData.length))throw new Error(`Tensor's size(${i}) does not match data length(${this.cpuData.length}).`);this.type=o,this.dims=n,this.size=i}static async fromImage(r,t){return Fv(r,t)}static fromTexture(r,t){return Ov(r,t)}static fromGpuBuffer(r,t){return Dv(r,t)}static fromMLTensor(r,t){return Lv(r,t)}static fromPinnedBuffer(r,t,s){return zv(r,t,s)}toDataURL(r){return Iv(this,r)}toImageData(r){return Av(this,r)}get data(){if(this.ensureValid(),!this.cpuData)throw new Error("The data is not on CPU. Use `getData()` to download GPU data to CPU, or use `texture` or `gpuBuffer` property to access the GPU data directly.");return this.cpuData}get location(){return this.dataLocation}get texture(){if(this.ensureValid(),!this.gpuTextureData)throw new Error("The data is not stored as a WebGL texture.");return this.gpuTextureData}get gpuBuffer(){if(this.ensureValid(),!this.gpuBufferData)throw new Error("The data is not stored as a WebGPU buffer.");return this.gpuBufferData}get mlTensor(){if(this.ensureValid(),!this.mlTensorData)throw new Error("The data is not stored as a WebNN MLTensor.");return this.mlTensorData}async getData(r){switch(this.ensureValid(),this.dataLocation){case"cpu":case"cpu-pinned":return this.data;case"texture":case"gpu-buffer":case"ml-tensor":{if(!this.downloader)throw new Error("The current tensor is not created with a specified data downloader.");if(this.isDownloading)throw new Error("The current tensor is being downloaded.");try{this.isDownloading=!0;const t=await this.downloader();return this.downloader=void 0,this.dataLocation="cpu",this.cpuData=t,r&&this.disposer&&(this.disposer(),this.disposer=void 0),t}finally{this.isDownloading=!1}}default:throw new Error(`cannot get data from location: ${this.dataLocation}`)}}dispose(){if(this.isDownloading)throw new Error("The current tensor is being downloaded.");this.disposer&&(this.disposer(),this.disposer=void 0),this.cpuData=void 0,this.gpuTextureData=void 0,this.gpuBufferData=void 0,this.mlTensorData=void 0,this.downloader=void 0,this.isDownloading=void 0,this.dataLocation="none"}ensureValid(){if(this.dataLocation==="none")throw new Error("The tensor is disposed.")}reshape(r){if(this.ensureValid(),this.downloader||this.disposer)throw new Error("Cannot reshape a tensor that owns GPU resource.");return jv(this,r)}};const eo=us,db=(e,r)=>{(typeof Ts.trace>"u"?!Ts.wasm.trace:!Ts.trace)||console.timeStamp(`${e}::ORT::${r}`)},pb=(e,r)=>{var o;const t=((o=new Error().stack)==null?void 0:o.split(/\r\n|\r|\n/g))||[];let s=!1;for(let n=0;n<t.length;n++){if(s&&!t[n].includes("TRACE_FUNC")){let i=`FUNC_${e}::${t[n].trim().split(" ")[1]}`;r&&(i+=`::${r}`),db("CPU",i);return}t[n].includes("TRACE_FUNC")&&(s=!0)}},Au=e=>{(typeof Ts.trace>"u"?!Ts.wasm.trace:!Ts.trace)||pb("BEGIN",e)},Fu=e=>{(typeof Ts.trace>"u"?!Ts.wasm.trace:!Ts.trace)||pb("END",e)};let Nv=class hb{constructor(r){this.handler=r}async run(r,t,s){Au();const o={};let n={};if(typeof r!="object"||r===null||r instanceof eo||Array.isArray(r))throw new TypeError("'feeds' must be an object that use input names as keys and OnnxValue as corresponding values.");let i=!0;if(typeof t=="object"){if(t===null)throw new TypeError("Unexpected argument[1]: cannot be null.");if(t instanceof eo)throw new TypeError("'fetches' cannot be a Tensor");if(Array.isArray(t)){if(t.length===0)throw new TypeError("'fetches' cannot be an empty array.");i=!1;for(const u of t){if(typeof u!="string")throw new TypeError("'fetches' must be a string array or an object.");if(this.outputNames.indexOf(u)===-1)throw new RangeError(`'fetches' contains invalid output name: ${u}.`);o[u]=null}if(typeof s=="object"&&s!==null)n=s;else if(typeof s<"u")throw new TypeError("'options' must be an object.")}else{let u=!1;const p=Object.getOwnPropertyNames(t);for(const c of this.outputNames)if(p.indexOf(c)!==-1){const d=t[c];(d===null||d instanceof eo)&&(u=!0,i=!1,o[c]=d)}if(u){if(typeof s=="object"&&s!==null)n=s;else if(typeof s<"u")throw new TypeError("'options' must be an object.")}else n=t}}else if(typeof t<"u")throw new TypeError("Unexpected argument[1]: must be 'fetches' or 'options'.");for(const u of this.inputNames)if(typeof r[u]>"u")throw new Error(`input '${u}' is missing in 'feeds'.`);if(i)for(const u of this.outputNames)o[u]=null;const a=await this.handler.run(r,o,n),l={};for(const u in a)if(Object.hasOwnProperty.call(a,u)){const p=a[u];p instanceof eo?l[u]=p:l[u]=new eo(p.type,p.data,p.dims)}return Fu(),l}async release(){return this.handler.dispose()}static async create(r,t,s,o){Au();let n,i={};if(typeof r=="string"){if(n=r,typeof t=="object"&&t!==null)i=t;else if(typeof t<"u")throw new TypeError("'options' must be an object.")}else if(r instanceof Uint8Array){if(n=r,typeof t=="object"&&t!==null)i=t;else if(typeof t<"u")throw new TypeError("'options' must be an object.")}else if(r instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&r instanceof SharedArrayBuffer){const p=r;let c=0,d=r.byteLength;if(typeof t=="object"&&t!==null)i=t;else if(typeof t=="number"){if(c=t,!Number.isSafeInteger(c))throw new RangeError("'byteOffset' must be an integer.");if(c<0||c>=p.byteLength)throw new RangeError(`'byteOffset' is out of range [0, ${p.byteLength}).`);if(d=r.byteLength-c,typeof s=="number"){if(d=s,!Number.isSafeInteger(d))throw new RangeError("'byteLength' must be an integer.");if(d<=0||c+d>p.byteLength)throw new RangeError(`'byteLength' is out of range (0, ${p.byteLength-c}].`);if(typeof o=="object"&&o!==null)i=o;else if(typeof o<"u")throw new TypeError("'options' must be an object.")}else if(typeof s<"u")throw new TypeError("'byteLength' must be a number.")}else if(typeof t<"u")throw new TypeError("'options' must be an object.");n=new Uint8Array(p,c,d)}else throw new TypeError("Unexpected argument[0]: must be 'path' or 'buffer'.");const[a,l]=await Sv(i),u=await a.createInferenceSessionHandler(n,l);return Fu(),new hb(u)}startProfiling(){this.handler.startProfiling()}endProfiling(){this.handler.endProfiling()}get inputNames(){return this.handler.inputNames}get outputNames(){return this.handler.outputNames}get inputMetadata(){return this.handler.inputMetadata}get outputMetadata(){return this.handler.outputMetadata}};const Vv=Nv,Uv=Object.freeze(Object.defineProperty({__proto__:null,InferenceSession:Vv,TRACE:db,TRACE_FUNC_BEGIN:Au,TRACE_FUNC_END:Fu,Tensor:eo,env:kv,registerBackend:Pv},Symbol.toStringTag,{value:"Module"}));/*!
|
2 |
* ONNX Runtime Web v1.22.0-dev.20250409-89f8206ba4
|
3 |
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4 |
* Licensed under the MIT License.
|
|
|
1 |
+
var _v=Object.defineProperty;var gv=(e,r,t)=>r in e?_v(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var Y=(e,r,t)=>gv(e,typeof r!="symbol"?r+"":r,t);import"./Select.vue_vue_type_style_index_0_lang-csKR1SR-.js";import{_ as wv}from"./InputFile.vue_vue_type_script_setup_true_lang-M88MYfAL.js";import{c as bv}from"./index-CIqqlMPn.js";import{d as Mv,e as zs,f as yv,T as vv,c as Tn,o as En,a as Vr,b as xv,Y as Ef,c3 as Pf,c4 as Cf,W as Sf,a3 as Tv,u as Ev}from"./index-D7HCX4VR.js";const la=new Map,kn=[],Pv=(e,r,t)=>{if(r&&typeof r.init=="function"&&typeof r.createInferenceSessionHandler=="function"){const s=la.get(e);if(s===void 0)la.set(e,{backend:r,priority:t});else{if(s.priority>t)return;if(s.priority===t&&s.backend!==r)throw new Error(`cannot register backend "${e}" using priority ${t}`)}if(t>=0){const o=kn.indexOf(e);o!==-1&&kn.splice(o,1);for(let n=0;n<kn.length;n++)if(la.get(kn[n]).priority<=t){kn.splice(n,0,e);return}kn.push(e)}return}throw new TypeError("not a valid backend")},Cv=async e=>{const r=la.get(e);if(!r)return"backend not found.";if(r.initialized)return r.backend;if(r.aborted)return r.error;{const t=!!r.initPromise;try{return t||(r.initPromise=r.backend.init(e)),await r.initPromise,r.initialized=!0,r.backend}catch(s){return t||(r.error=`${s}`,r.aborted=!0),r.error}finally{delete r.initPromise}}},Sv=async e=>{const r=e.executionProviders||[],t=r.map(l=>typeof l=="string"?l:l.name),s=t.length===0?kn:t;let o;const n=[],i=new Set;for(const l of s){const u=await Cv(l);typeof u=="string"?n.push({name:l,err:u}):(o||(o=u),o===u&&i.add(l))}if(!o)throw new Error(`no available backend found. ERR: ${n.map(l=>`[${l.name}] ${l.err}`).join(", ")}`);for(const{name:l,err:u}of n)t.includes(l)&&console.warn(`removing requested execution provider "${l}" from session options because it is not available: ${u}`);const a=r.filter(l=>i.has(typeof l=="string"?l:l.name));return[o,new Proxy(e,{get:(l,u)=>u==="executionProviders"?a:Reflect.get(l,u)})]},$v="1.22.0";let $f="warning";const Ts={wasm:{},webgl:{},webgpu:{},versions:{common:$v},set logLevel(e){if(e!==void 0){if(typeof e!="string"||["verbose","info","warning","error","fatal"].indexOf(e)===-1)throw new Error(`Unsupported logging level: ${e}`);$f=e}},get logLevel(){return $f}};Object.defineProperty(Ts,"logLevel",{enumerable:!0});const kv=Ts,Iv=(e,r)=>{const t=typeof document<"u"?document.createElement("canvas"):new OffscreenCanvas(1,1);t.width=e.dims[3],t.height=e.dims[2];const s=t.getContext("2d");if(s!=null){let o,n;(r==null?void 0:r.tensorLayout)!==void 0&&r.tensorLayout==="NHWC"?(o=e.dims[2],n=e.dims[3]):(o=e.dims[3],n=e.dims[2]);const i=(r==null?void 0:r.format)!==void 0?r.format:"RGB",a=r==null?void 0:r.norm;let l,u;a===void 0||a.mean===void 0?l=[255,255,255,255]:typeof a.mean=="number"?l=[a.mean,a.mean,a.mean,a.mean]:(l=[a.mean[0],a.mean[1],a.mean[2],0],a.mean[3]!==void 0&&(l[3]=a.mean[3])),a===void 0||a.bias===void 0?u=[0,0,0,0]:typeof a.bias=="number"?u=[a.bias,a.bias,a.bias,a.bias]:(u=[a.bias[0],a.bias[1],a.bias[2],0],a.bias[3]!==void 0&&(u[3]=a.bias[3]));const p=n*o;let c=0,d=p,_=p*2,f=-1;i==="RGBA"?(c=0,d=p,_=p*2,f=p*3):i==="RGB"?(c=0,d=p,_=p*2):i==="RBG"&&(c=0,_=p,d=p*2);for(let v=0;v<n;v++)for(let $=0;$<o;$++){const g=(e.data[c++]-u[0])*l[0],w=(e.data[d++]-u[1])*l[1],C=(e.data[_++]-u[2])*l[2],E=f===-1?255:(e.data[f++]-u[3])*l[3];s.fillStyle="rgba("+g+","+w+","+C+","+E+")",s.fillRect($,v,1,1)}if("toDataURL"in t)return t.toDataURL();throw new Error("toDataURL is not supported")}else throw new Error("Can not access image data")},Av=(e,r)=>{const t=typeof document<"u"?document.createElement("canvas").getContext("2d"):new OffscreenCanvas(1,1).getContext("2d");let s;if(t!=null){let o,n,i;(r==null?void 0:r.tensorLayout)!==void 0&&r.tensorLayout==="NHWC"?(o=e.dims[2],n=e.dims[1],i=e.dims[3]):(o=e.dims[3],n=e.dims[2],i=e.dims[1]);const a=r!==void 0&&r.format!==void 0?r.format:"RGB",l=r==null?void 0:r.norm;let u,p;l===void 0||l.mean===void 0?u=[255,255,255,255]:typeof l.mean=="number"?u=[l.mean,l.mean,l.mean,l.mean]:(u=[l.mean[0],l.mean[1],l.mean[2],255],l.mean[3]!==void 0&&(u[3]=l.mean[3])),l===void 0||l.bias===void 0?p=[0,0,0,0]:typeof l.bias=="number"?p=[l.bias,l.bias,l.bias,l.bias]:(p=[l.bias[0],l.bias[1],l.bias[2],0],l.bias[3]!==void 0&&(p[3]=l.bias[3]));const c=n*o;if(r!==void 0&&(r.format!==void 0&&i===4&&r.format!=="RGBA"||i===3&&r.format!=="RGB"&&r.format!=="BGR"))throw new Error("Tensor format doesn't match input tensor dims");const d=4;let _=0,f=1,v=2,$=3,g=0,w=c,C=c*2,E=-1;a==="RGBA"?(g=0,w=c,C=c*2,E=c*3):a==="RGB"?(g=0,w=c,C=c*2):a==="RBG"&&(g=0,C=c,w=c*2),s=t.createImageData(o,n);for(let x=0;x<n*o;_+=d,f+=d,v+=d,$+=d,x++)s.data[_]=(e.data[g++]-p[0])*u[0],s.data[f]=(e.data[w++]-p[1])*u[1],s.data[v]=(e.data[C++]-p[2])*u[2],s.data[$]=E===-1?255:(e.data[E++]-p[3])*u[3]}else throw new Error("Can not access image data");return s},Al=(e,r)=>{if(e===void 0)throw new Error("Image buffer must be defined");if(r.height===void 0||r.width===void 0)throw new Error("Image height and width must be defined");if(r.tensorLayout==="NHWC")throw new Error("NHWC Tensor layout is not supported yet");const{height:t,width:s}=r,o=r.norm??{mean:255,bias:0};let n,i;typeof o.mean=="number"?n=[o.mean,o.mean,o.mean,o.mean]:n=[o.mean[0],o.mean[1],o.mean[2],o.mean[3]??255],typeof o.bias=="number"?i=[o.bias,o.bias,o.bias,o.bias]:i=[o.bias[0],o.bias[1],o.bias[2],o.bias[3]??0];const a=r.format!==void 0?r.format:"RGBA",l=r.tensorFormat!==void 0&&r.tensorFormat!==void 0?r.tensorFormat:"RGB",u=t*s,p=l==="RGBA"?new Float32Array(u*4):new Float32Array(u*3);let c=4,d=0,_=1,f=2,v=3,$=0,g=u,w=u*2,C=-1;a==="RGB"&&(c=3,d=0,_=1,f=2,v=-1),l==="RGBA"?C=u*3:l==="RBG"?($=0,w=u,g=u*2):l==="BGR"&&(w=0,g=u,$=u*2);for(let x=0;x<u;x++,d+=c,f+=c,_+=c,v+=c)p[$++]=(e[d]+i[0])/n[0],p[g++]=(e[_]+i[1])/n[1],p[w++]=(e[f]+i[2])/n[2],C!==-1&&v!==-1&&(p[C++]=(e[v]+i[3])/n[3]);return l==="RGBA"?new us("float32",p,[1,4,t,s]):new us("float32",p,[1,3,t,s])},Fv=async(e,r)=>{const t=typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement,s=typeof ImageData<"u"&&e instanceof ImageData,o=typeof ImageBitmap<"u"&&e instanceof ImageBitmap,n=typeof e=="string";let i,a=r??{};const l=()=>{if(typeof document<"u")return document.createElement("canvas");if(typeof OffscreenCanvas<"u")return new OffscreenCanvas(1,1);throw new Error("Canvas is not supported")},u=p=>typeof HTMLCanvasElement<"u"&&p instanceof HTMLCanvasElement||p instanceof OffscreenCanvas?p.getContext("2d"):null;if(t){const p=l();p.width=e.width,p.height=e.height;const c=u(p);if(c!=null){let d=e.height,_=e.width;if(r!==void 0&&r.resizedHeight!==void 0&&r.resizedWidth!==void 0&&(d=r.resizedHeight,_=r.resizedWidth),r!==void 0){if(a=r,r.tensorFormat!==void 0)throw new Error("Image input config format must be RGBA for HTMLImageElement");a.tensorFormat="RGBA",a.height=d,a.width=_}else a.tensorFormat="RGBA",a.height=d,a.width=_;c.drawImage(e,0,0),i=c.getImageData(0,0,_,d).data}else throw new Error("Can not access image data")}else if(s){let p,c;if(r!==void 0&&r.resizedWidth!==void 0&&r.resizedHeight!==void 0?(p=r.resizedHeight,c=r.resizedWidth):(p=e.height,c=e.width),r!==void 0&&(a=r),a.format="RGBA",a.height=p,a.width=c,r!==void 0){const d=l();d.width=c,d.height=p;const _=u(d);if(_!=null)_.putImageData(e,0,0),i=_.getImageData(0,0,c,p).data;else throw new Error("Can not access image data")}else i=e.data}else if(o){if(r===void 0)throw new Error("Please provide image config with format for Imagebitmap");const p=l();p.width=e.width,p.height=e.height;const c=u(p);if(c!=null){const d=e.height,_=e.width;return c.drawImage(e,0,0,_,d),i=c.getImageData(0,0,_,d).data,a.height=d,a.width=_,Al(i,a)}else throw new Error("Can not access image data")}else{if(n)return new Promise((p,c)=>{const d=l(),_=u(d);if(!e||!_)return c();const f=new Image;f.crossOrigin="Anonymous",f.src=e,f.onload=()=>{d.width=f.width,d.height=f.height,_.drawImage(f,0,0,d.width,d.height);const v=_.getImageData(0,0,d.width,d.height);a.height=d.height,a.width=d.width,p(Al(v.data,a))}});throw new Error("Input data provided is not supported - aborted tensor creation")}if(i!==void 0)return Al(i,a);throw new Error("Input data provided is not supported - aborted tensor creation")},Ov=(e,r)=>{const{width:t,height:s,download:o,dispose:n}=r,i=[1,s,t,4];return new us({location:"texture",type:"float32",texture:e,dims:i,download:o,dispose:n})},Dv=(e,r)=>{const{dataType:t,dims:s,download:o,dispose:n}=r;return new us({location:"gpu-buffer",type:t??"float32",gpuBuffer:e,dims:s,download:o,dispose:n})},Lv=(e,r)=>{const{dataType:t,dims:s,download:o,dispose:n}=r;return new us({location:"ml-tensor",type:t??"float32",mlTensor:e,dims:s,download:o,dispose:n})},zv=(e,r,t)=>new us({location:"cpu-pinned",type:e,data:r,dims:t??[r.length]}),ro=new Map([["float32",Float32Array],["uint8",Uint8Array],["int8",Int8Array],["uint16",Uint16Array],["int16",Int16Array],["int32",Int32Array],["bool",Uint8Array],["float64",Float64Array],["uint32",Uint32Array],["int4",Uint8Array],["uint4",Uint8Array]]),ua=new Map([[Float32Array,"float32"],[Uint8Array,"uint8"],[Int8Array,"int8"],[Uint16Array,"uint16"],[Int16Array,"int16"],[Int32Array,"int32"],[Float64Array,"float64"],[Uint32Array,"uint32"]]);let kf=!1;const Bv=()=>{if(!kf){kf=!0;const e=typeof BigInt64Array<"u"&&BigInt64Array.from,r=typeof BigUint64Array<"u"&&BigUint64Array.from,t=globalThis.Float16Array,s=typeof t<"u"&&t.from;e&&(ro.set("int64",BigInt64Array),ua.set(BigInt64Array,"int64")),r&&(ro.set("uint64",BigUint64Array),ua.set(BigUint64Array,"uint64")),s?(ro.set("float16",t),ua.set(t,"float16")):ro.set("float16",Uint16Array)}},Rv=e=>{let r=1;for(let t=0;t<e.length;t++){const s=e[t];if(typeof s!="number"||!Number.isSafeInteger(s))throw new TypeError(`dims[${t}] must be an integer, got: ${s}`);if(s<0)throw new RangeError(`dims[${t}] must be a non-negative integer, got: ${s}`);r*=s}return r},jv=(e,r)=>{switch(e.location){case"cpu":return new us(e.type,e.data,r);case"cpu-pinned":return new us({location:"cpu-pinned",data:e.data,type:e.type,dims:r});case"texture":return new us({location:"texture",texture:e.texture,type:e.type,dims:r});case"gpu-buffer":return new us({location:"gpu-buffer",gpuBuffer:e.gpuBuffer,type:e.type,dims:r});case"ml-tensor":return new us({location:"ml-tensor",mlTensor:e.mlTensor,type:e.type,dims:r});default:throw new Error(`tensorReshape: tensor location ${e.location} is not supported`)}};let us=class{constructor(r,t,s){Bv();let o,n;if(typeof r=="object"&&"location"in r)switch(this.dataLocation=r.location,o=r.type,n=r.dims,r.location){case"cpu-pinned":{const a=ro.get(o);if(!a)throw new TypeError(`unsupported type "${o}" to create tensor from pinned buffer`);if(!(r.data instanceof a))throw new TypeError(`buffer should be of type ${a.name}`);this.cpuData=r.data;break}case"texture":{if(o!=="float32")throw new TypeError(`unsupported type "${o}" to create tensor from texture`);this.gpuTextureData=r.texture,this.downloader=r.download,this.disposer=r.dispose;break}case"gpu-buffer":{if(o!=="float32"&&o!=="float16"&&o!=="int32"&&o!=="int64"&&o!=="uint32"&&o!=="uint8"&&o!=="bool"&&o!=="uint4"&&o!=="int4")throw new TypeError(`unsupported type "${o}" to create tensor from gpu buffer`);this.gpuBufferData=r.gpuBuffer,this.downloader=r.download,this.disposer=r.dispose;break}case"ml-tensor":{if(o!=="float32"&&o!=="float16"&&o!=="int32"&&o!=="int64"&&o!=="uint32"&&o!=="uint64"&&o!=="int8"&&o!=="uint8"&&o!=="bool"&&o!=="uint4"&&o!=="int4")throw new TypeError(`unsupported type "${o}" to create tensor from MLTensor`);this.mlTensorData=r.mlTensor,this.downloader=r.download,this.disposer=r.dispose;break}default:throw new Error(`Tensor constructor: unsupported location '${this.dataLocation}'`)}else{let a,l;if(typeof r=="string")if(o=r,l=s,r==="string"){if(!Array.isArray(t))throw new TypeError("A string tensor's data must be a string array.");a=t}else{const u=ro.get(r);if(u===void 0)throw new TypeError(`Unsupported tensor type: ${r}.`);if(Array.isArray(t)){if(r==="float16"&&u===Uint16Array||r==="uint4"||r==="int4")throw new TypeError(`Creating a ${r} tensor from number array is not supported. Please use ${u.name} as data.`);r==="uint64"||r==="int64"?a=u.from(t,BigInt):a=u.from(t)}else if(t instanceof u)a=t;else if(t instanceof Uint8ClampedArray)if(r==="uint8")a=Uint8Array.from(t);else throw new TypeError("A Uint8ClampedArray tensor's data must be type of uint8");else if(r==="float16"&&t instanceof Uint16Array&&u!==Uint16Array)a=new globalThis.Float16Array(t.buffer,t.byteOffset,t.length);else throw new TypeError(`A ${o} tensor's data must be type of ${u}`)}else if(l=t,Array.isArray(r)){if(r.length===0)throw new TypeError("Tensor type cannot be inferred from an empty array.");const u=typeof r[0];if(u==="string")o="string",a=r;else if(u==="boolean")o="bool",a=Uint8Array.from(r);else throw new TypeError(`Invalid element type of data array: ${u}.`)}else if(r instanceof Uint8ClampedArray)o="uint8",a=Uint8Array.from(r);else{const u=ua.get(r.constructor);if(u===void 0)throw new TypeError(`Unsupported type for tensor data: ${r.constructor}.`);o=u,a=r}if(l===void 0)l=[a.length];else if(!Array.isArray(l))throw new TypeError("A tensor's dims must be a number array");n=l,this.cpuData=a,this.dataLocation="cpu"}const i=Rv(n);if(this.cpuData&&i!==this.cpuData.length&&!((o==="uint4"||o==="int4")&&Math.ceil(i/2)===this.cpuData.length))throw new Error(`Tensor's size(${i}) does not match data length(${this.cpuData.length}).`);this.type=o,this.dims=n,this.size=i}static async fromImage(r,t){return Fv(r,t)}static fromTexture(r,t){return Ov(r,t)}static fromGpuBuffer(r,t){return Dv(r,t)}static fromMLTensor(r,t){return Lv(r,t)}static fromPinnedBuffer(r,t,s){return zv(r,t,s)}toDataURL(r){return Iv(this,r)}toImageData(r){return Av(this,r)}get data(){if(this.ensureValid(),!this.cpuData)throw new Error("The data is not on CPU. Use `getData()` to download GPU data to CPU, or use `texture` or `gpuBuffer` property to access the GPU data directly.");return this.cpuData}get location(){return this.dataLocation}get texture(){if(this.ensureValid(),!this.gpuTextureData)throw new Error("The data is not stored as a WebGL texture.");return this.gpuTextureData}get gpuBuffer(){if(this.ensureValid(),!this.gpuBufferData)throw new Error("The data is not stored as a WebGPU buffer.");return this.gpuBufferData}get mlTensor(){if(this.ensureValid(),!this.mlTensorData)throw new Error("The data is not stored as a WebNN MLTensor.");return this.mlTensorData}async getData(r){switch(this.ensureValid(),this.dataLocation){case"cpu":case"cpu-pinned":return this.data;case"texture":case"gpu-buffer":case"ml-tensor":{if(!this.downloader)throw new Error("The current tensor is not created with a specified data downloader.");if(this.isDownloading)throw new Error("The current tensor is being downloaded.");try{this.isDownloading=!0;const t=await this.downloader();return this.downloader=void 0,this.dataLocation="cpu",this.cpuData=t,r&&this.disposer&&(this.disposer(),this.disposer=void 0),t}finally{this.isDownloading=!1}}default:throw new Error(`cannot get data from location: ${this.dataLocation}`)}}dispose(){if(this.isDownloading)throw new Error("The current tensor is being downloaded.");this.disposer&&(this.disposer(),this.disposer=void 0),this.cpuData=void 0,this.gpuTextureData=void 0,this.gpuBufferData=void 0,this.mlTensorData=void 0,this.downloader=void 0,this.isDownloading=void 0,this.dataLocation="none"}ensureValid(){if(this.dataLocation==="none")throw new Error("The tensor is disposed.")}reshape(r){if(this.ensureValid(),this.downloader||this.disposer)throw new Error("Cannot reshape a tensor that owns GPU resource.");return jv(this,r)}};const eo=us,db=(e,r)=>{(typeof Ts.trace>"u"?!Ts.wasm.trace:!Ts.trace)||console.timeStamp(`${e}::ORT::${r}`)},pb=(e,r)=>{var o;const t=((o=new Error().stack)==null?void 0:o.split(/\r\n|\r|\n/g))||[];let s=!1;for(let n=0;n<t.length;n++){if(s&&!t[n].includes("TRACE_FUNC")){let i=`FUNC_${e}::${t[n].trim().split(" ")[1]}`;r&&(i+=`::${r}`),db("CPU",i);return}t[n].includes("TRACE_FUNC")&&(s=!0)}},Au=e=>{(typeof Ts.trace>"u"?!Ts.wasm.trace:!Ts.trace)||pb("BEGIN",e)},Fu=e=>{(typeof Ts.trace>"u"?!Ts.wasm.trace:!Ts.trace)||pb("END",e)};let Nv=class hb{constructor(r){this.handler=r}async run(r,t,s){Au();const o={};let n={};if(typeof r!="object"||r===null||r instanceof eo||Array.isArray(r))throw new TypeError("'feeds' must be an object that use input names as keys and OnnxValue as corresponding values.");let i=!0;if(typeof t=="object"){if(t===null)throw new TypeError("Unexpected argument[1]: cannot be null.");if(t instanceof eo)throw new TypeError("'fetches' cannot be a Tensor");if(Array.isArray(t)){if(t.length===0)throw new TypeError("'fetches' cannot be an empty array.");i=!1;for(const u of t){if(typeof u!="string")throw new TypeError("'fetches' must be a string array or an object.");if(this.outputNames.indexOf(u)===-1)throw new RangeError(`'fetches' contains invalid output name: ${u}.`);o[u]=null}if(typeof s=="object"&&s!==null)n=s;else if(typeof s<"u")throw new TypeError("'options' must be an object.")}else{let u=!1;const p=Object.getOwnPropertyNames(t);for(const c of this.outputNames)if(p.indexOf(c)!==-1){const d=t[c];(d===null||d instanceof eo)&&(u=!0,i=!1,o[c]=d)}if(u){if(typeof s=="object"&&s!==null)n=s;else if(typeof s<"u")throw new TypeError("'options' must be an object.")}else n=t}}else if(typeof t<"u")throw new TypeError("Unexpected argument[1]: must be 'fetches' or 'options'.");for(const u of this.inputNames)if(typeof r[u]>"u")throw new Error(`input '${u}' is missing in 'feeds'.`);if(i)for(const u of this.outputNames)o[u]=null;const a=await this.handler.run(r,o,n),l={};for(const u in a)if(Object.hasOwnProperty.call(a,u)){const p=a[u];p instanceof eo?l[u]=p:l[u]=new eo(p.type,p.data,p.dims)}return Fu(),l}async release(){return this.handler.dispose()}static async create(r,t,s,o){Au();let n,i={};if(typeof r=="string"){if(n=r,typeof t=="object"&&t!==null)i=t;else if(typeof t<"u")throw new TypeError("'options' must be an object.")}else if(r instanceof Uint8Array){if(n=r,typeof t=="object"&&t!==null)i=t;else if(typeof t<"u")throw new TypeError("'options' must be an object.")}else if(r instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&r instanceof SharedArrayBuffer){const p=r;let c=0,d=r.byteLength;if(typeof t=="object"&&t!==null)i=t;else if(typeof t=="number"){if(c=t,!Number.isSafeInteger(c))throw new RangeError("'byteOffset' must be an integer.");if(c<0||c>=p.byteLength)throw new RangeError(`'byteOffset' is out of range [0, ${p.byteLength}).`);if(d=r.byteLength-c,typeof s=="number"){if(d=s,!Number.isSafeInteger(d))throw new RangeError("'byteLength' must be an integer.");if(d<=0||c+d>p.byteLength)throw new RangeError(`'byteLength' is out of range (0, ${p.byteLength-c}].`);if(typeof o=="object"&&o!==null)i=o;else if(typeof o<"u")throw new TypeError("'options' must be an object.")}else if(typeof s<"u")throw new TypeError("'byteLength' must be a number.")}else if(typeof t<"u")throw new TypeError("'options' must be an object.");n=new Uint8Array(p,c,d)}else throw new TypeError("Unexpected argument[0]: must be 'path' or 'buffer'.");const[a,l]=await Sv(i),u=await a.createInferenceSessionHandler(n,l);return Fu(),new hb(u)}startProfiling(){this.handler.startProfiling()}endProfiling(){this.handler.endProfiling()}get inputNames(){return this.handler.inputNames}get outputNames(){return this.handler.outputNames}get inputMetadata(){return this.handler.inputMetadata}get outputMetadata(){return this.handler.outputMetadata}};const Vv=Nv,Uv=Object.freeze(Object.defineProperty({__proto__:null,InferenceSession:Vv,TRACE:db,TRACE_FUNC_BEGIN:Au,TRACE_FUNC_END:Fu,Tensor:eo,env:kv,registerBackend:Pv},Symbol.toStringTag,{value:"Module"}));/*!
|
2 |
* ONNX Runtime Web v1.22.0-dev.20250409-89f8206ba4
|
3 |
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4 |
* Licensed under the MIT License.
|