diff --git a/CHANGELOG.md b/CHANGELOG.md
index 045437e3..e58caecf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-# LoLLMs v18.0.0 Changelog
+# LoLLMs v18.0 (alpha) Changelog
## LoLLMs v18 'Matrix'
01010100 01001000 01000101 01010010 01000101 00100000
diff --git a/Dockerfile b/Dockerfile
index f8f56080..5e1f6661 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -31,6 +31,6 @@ RUN echo "lollms_path: /app/lollms-webui/lollms_core/lollms\nlollms_personal_pat
EXPOSE 9600
# Set the entrypoint to our start script
-CMD ["python", "/app/app.py","--host","0.0.0.0"]
+CMD ["python", "/app/app.py", "--host", "0.0.0.0", "--force-accept-remote-access"]
diff --git a/app.py b/app.py
index 6b3dbf5f..114331b6 100644
--- a/app.py
+++ b/app.py
@@ -173,6 +173,7 @@ if __name__ == "__main__":
"--host", type=str, default=None, help="the hostname to listen on"
)
parser.add_argument("--port", type=int, default=None, help="the port to listen on")
+ parser.add_argument("--force-accept-remote-access", action='store_true', help="force to accept remote access")
args = parser.parse_args()
root_path = Path(__file__).parent
@@ -230,6 +231,9 @@ if __name__ == "__main__":
)
]
+ if args.force_accept_remote_access:
+ config.force_accept_remote_access = True
+
# class EndpointSpecificCORSMiddleware(BaseHTTPMiddleware):
# async def dispatch(self, request: Request, call_next):
# if request.url.path == "/v1/completions":
@@ -498,6 +502,7 @@ if __name__ == "__main__":
# if autoshow
+
if config.auto_show_browser and not config.headless_server_mode:
if config["host"] == "0.0.0.0":
webbrowser.open(
diff --git a/web/dist/assets/index-BQ9rK9Ub.js b/web/dist/assets/index-BtOzy8LJ.js
similarity index 97%
rename from web/dist/assets/index-BQ9rK9Ub.js
rename to web/dist/assets/index-BtOzy8LJ.js
index 72d0d80d..dca63f19 100644
--- a/web/dist/assets/index-BQ9rK9Ub.js
+++ b/web/dist/assets/index-BtOzy8LJ.js
@@ -247,7 +247,13 @@ Please report this to https://github.com/markedjs/marked.`,e){const i="
An err
`];let a=-1;return s.forEach(l=>{const c=o.lastIndexOf(l);c>a&&(a=c)}),a==-1&&(a=o.length),console.log(a),a+i+1},r=()=>{const i=n(t),o=this.text.substring(t,i);this.msg.text=o,t=i+1,this.msg.onend=s=>{t{r()},1):(this.isSpeaking=!1,console.log("voice off :",this.text.length," ",i))},this.speechSynthesis.speak(this.msg)};r()},getCursorPosition(){return this.$refs.mdTextarea.selectionStart},appendToOutput(t){this.pre_text+=t,this.text=this.pre_text+this.post_text},generate_in_placeholder(){console.log("Finding cursor position");let t=this.text.indexOf("@@");if(t<0){this.$refs.toast.showToast("No generation placeholder found",4,!1);return}this.text=this.text.substring(0,t)+this.text.substring(t+26,this.text.length),this.pre_text=this.text.substring(0,t),this.post_text=this.text.substring(t,this.text.length);var e=this.text.substring(0,t);console.log(e),et.emit("generate_text",{prompt:e,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},async tokenize_text(){const t=await ye.post("/lollms_tokenize",{prompt:this.text,return_named:!0},{headers:this.posts_headers});console.log(t.data),this.namedTokens=t.data},generate(){console.log("Finding cursor position"),this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length);var t=this.text.substring(0,this.getCursorPosition());console.log(this.text),console.log(`cursor position :${this.getCursorPosition()}`),console.log(`pretext:${this.pre_text}`),console.log(`post_text:${this.post_text}`),console.log(`prompt:${t}`),et.emit("generate_text",{prompt:t,personality:-1,n_predicts:this.n_predicts,n_crop:this.n_crop,parameters:{temperature:this.temperature,top_k:this.top_k,top_p:this.top_p,repeat_penalty:this.repeat_penalty,repeat_last_n:this.repeat_last_n,seed:parseInt(this.seed)}}),this.generating=!0},stopGeneration(){et.emit("cancel_text_generation",{})},exportText(){const t=this.text,e=document.createElement("a"),n=new Blob([t],{type:"text/plain"});e.href=URL.createObjectURL(n),e.download="exported_text.txt",document.body.appendChild(e),e.click(),document.body.removeChild(e)},importText(){const t=document.getElementById("import-input");t&&(t.addEventListener("change",e=>{if(e.target.files&&e.target.files[0]){const n=new FileReader;n.onload=()=>{this.text=n.result},n.readAsText(e.target.files[0])}else alert("Please select a file.")}),t.click())},setPreset(){console.log("Setting preset"),console.log(this.selectedPreset),this.tab_id="render",this.text=dGn(this.selectedPreset.content,t=>{console.log("Done"),console.log(t),this.text=t})},addPreset(){let t=prompt("Enter the title of the preset:");this.presets[t]={client_id:this.$store.state.client_id,name:t,content:this.text},ye.post("./add_preset",this.presets[t]).then(e=>{console.log(e.data)}).catch(e=>{this.$refs.toast.showToast(`Error: ${e}`,4,!1)})},removePreset(){this.selectedPreset&&delete this.presets[this.selectedPreset.name]},reloadPresets(){ye.get("./get_presets").then(t=>{console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)})},startRecording(){this.pending=!0,this.is_recording?ye.post("/stop_recording",{client_id:this.$store.state.client_id}).then(t=>{this.is_recording=!1,this.pending=!1,console.log(t),this.text+=t.data,console.log("text"),console.log(this.text),console.log(t.data),this.presets=t.data,this.selectedPreset=this.presets[0]}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}):ye.post("/start_recording",{client_id:this.$store.state.client_id}).then(t=>{this.is_recording=!0,this.pending=!1,console.log(t.data)}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)})},startRecordingAndTranscribing(){this.pending=!0,this.is_deaf_transcribing?ye.get("/stop_recording").then(t=>{this.is_deaf_transcribing=!1,this.pending=!1,this.text=t.data.text,this.read()}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)}):ye.get("/start_recording").then(t=>{this.is_deaf_transcribing=!0,this.pending=!1}).catch(t=>{this.$refs.toast.showToast(`Error: ${t}`,4,!1)})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isLesteningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.pre_text=this.text.substring(0,this.getCursorPosition()),this.post_text=this.text.substring(this.getCursorPosition(),this.text.length),this.recognition.onresult=t=>{this.generated="";for(let e=t.resultIndex;e{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isLesteningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isLesteningToVoice=!1,this.pre_text=this.pre_text+this.generated,this.cursorPosition=this.pre_text.length,clearTimeout(this.silenceTimer)},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")}}},pGn={class:"container w-full background-color shadow-lg overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},hGn={class:"container flex flex-row m-2 w-full"},TGn={class:"flex-grow w-full m-2"},mGn={class:"flex panels-color gap-3 flex-1 items-center flex-grow flex-row rounded-md border-2 border-blue-300 m-2 p-4"},gGn={class:"flex items-center space-x-2"},_Gn=["src"],QGn=["src"],vGn=["src"],yGn=["src"],bGn=["src"],EGn={key:1,class:"w-6 h-6"},xGn={class:"flex gap-3 flex-1 items-center flex-grow justify-end"},SGn={key:0},LGn=["src"],CGn={key:2},AGn={key:0,class:"settings scrollbar bg-white dark:bg-gray-800 rounded-lg shadow-md p-6"},wGn=["value"],MGn={key:0,title:"Selecting model",class:"flex flex-row flex-grow justify-end"},OGn=["value"],RGn={class:"slider-container ml-2 mr-2"},NGn={class:"slider-value text-gray-500"},DGn={class:"slider-container ml-2 mr-2"},IGn={class:"slider-value text-gray-500"},kGn={class:"slider-container ml-2 mr-2"},PGn={class:"slider-value text-gray-500"},HGn={class:"slider-container ml-2 mr-2"},VGn={class:"slider-value text-gray-500"},FGn={class:"slider-container ml-2 mr-2"},BGn={class:"slider-value text-gray-500"},$Gn={class:"slider-container ml-2 mr-2"},UGn={class:"slider-value text-gray-500"},GGn={class:"slider-container ml-2 mr-2"},qGn={class:"slider-value text-gray-500"},zGn={class:"slider-container ml-2 mr-2"},jGn={class:"slider-value text-gray-500"};function WGn(t,e,n,r,i,o){const s=gt("ChatBarButton"),a=gt("ToolbarButton"),l=gt("DropdownSubmenu"),c=gt("DropdownMenu"),u=gt("tokens-hilighter"),d=gt("MarkdownRenderer"),h=gt("Card"),f=gt("Toast");return k(),P(ze,null,[g("div",pGn,[g("div",hGn,[g("div",TGn,[g("div",mGn,[g("div",gGn,[te(ae(s,{onClick:o.generate,title:"Generate from the current cursor position"},{icon:Be(()=>e[54]||(e[54]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"})],-1)])),_:1},8,["onClick"]),[[Ht,!i.generating]]),te(ae(s,{onClick:o.generate_in_placeholder,title:"Generate from the next placeholder"},{icon:Be(()=>e[55]||(e[55]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4"})],-1)])),_:1},8,["onClick"]),[[Ht,!i.generating]]),te(ae(s,{onClick:o.tokenize_text,title:"Tokenize the text"},{icon:Be(()=>[g("img",{src:i.tokenize_icon,alt:"Tokenize",class:"h-5 w-5"},null,8,_Gn)]),_:1},8,["onClick"]),[[Ht,!i.generating]]),e[65]||(e[65]=g("span",{class:"w-80"},null,-1)),te(ae(s,{onClick:o.stopGeneration,title:"Stop generation"},{icon:Be(()=>e[56]||(e[56]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)])),_:1},8,["onClick"]),[[Ht,i.generating]]),ae(s,{onClick:o.startSpeechRecognition,class:We({"text-red-500":t.isListeningToVoice}),title:"Dictate (using your browser's transcription)"},{icon:Be(()=>e[57]||(e[57]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1)])),_:1},8,["onClick","class"]),ae(s,{onClick:o.speak,class:We({"text-red-500":o.isTalking}),title:"Convert text to audio (not saved, uses your browser's TTS service)"},{icon:Be(()=>e[58]||(e[58]=[nt(" 🪶 ")])),_:1},8,["onClick","class"]),ae(s,{onClick:o.triggerFileUpload,title:"Upload a voice"},{icon:Be(()=>e[59]||(e[59]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1)])),_:1},8,["onClick"]),ae(s,{onClick:o.startRecordingAndTranscribing,class:We({"text-green-500":i.isLesteningToVoice}),title:"Start audio to audio"},{icon:Be(()=>[i.pending?(k(),P("img",{key:1,src:i.loading_icon,alt:"Loading",class:"h-5 w-5"},null,8,vGn)):(k(),P("img",{key:0,src:i.is_deaf_transcribing?i.deaf_on:i.deaf_off,alt:"Deaf",class:"h-5 w-5"},null,8,QGn))]),_:1},8,["onClick","class"]),ae(s,{onClick:o.startRecording,class:We({"text-green-500":i.isLesteningToVoice}),title:"Start audio recording"},{icon:Be(()=>[i.pending?(k(),P("img",{key:1,src:i.loading_icon,alt:"Loading",class:"h-5 w-5"},null,8,bGn)):(k(),P("img",{key:0,src:i.is_recording?i.rec_on:i.rec_off,alt:"Record",class:"h-5 w-5"},null,8,yGn))]),_:1},8,["onClick","class"]),i.isSynthesizingVoice?(k(),P("div",EGn,e[61]||(e[61]=[g("svg",{class:"animate-spin h-5 w-5 text-secondary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[g("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),g("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)]))):(k(),wt(s,{key:0,onClick:o.read,title:"Generate audio from text"},{icon:Be(()=>e[60]||(e[60]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1)])),_:1},8,["onClick"])),te(ae(s,{onClick:o.exportText,title:"Export text"},{icon:Be(()=>e[62]||(e[62]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"})],-1)])),_:1},8,["onClick"]),[[Ht,!i.generating]]),te(ae(s,{onClick:o.importText,title:"Import text"},{icon:Be(()=>e[63]||(e[63]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1)])),_:1},8,["onClick"]),[[Ht,!i.generating]]),ae(s,{onClick:e[0]||(e[0]=m=>i.showSettings=!i.showSettings),title:"Settings"},{icon:Be(()=>e[64]||(e[64]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})],-1)])),_:1})]),g("input",{type:"file",ref:"fileInput",onChange:e[1]||(e[1]=(...m)=>o.handleFileUpload&&o.handleFileUpload(...m)),style:{display:"none"},accept:".wav"},null,544),g("div",xGn,[g("button",{class:We(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":i.tab_id=="source"}]),onClick:e[2]||(e[2]=m=>i.tab_id="source")}," Source ",2),g("button",{class:We(["border-2 text-blue-600 dark:text-white border-blue-300 p-2 rounded shadow-lg hover:border-gray-600 dark:link-item-dark cursor-pointer",{"bg-blue-200 dark:bg-blue-500":i.tab_id=="render"}]),onClick:e[3]||(e[3]=m=>i.tab_id="render")}," Render ",2)]),e[66]||(e[66]=g("input",{type:"file",id:"import-input",class:"hidden"},null,-1))]),g("div",{class:We(["flex-grow m-2 p-2 border panels-color border-blue-300 rounded-md",{"border-red-500":i.generating}])},[i.tab_id==="source"?(k(),P("div",SGn,[ae(c,{title:"Add Block"},{default:Be(()=>[ae(l,{title:"Programming Languages",icon:"code"},{default:Be(()=>[ae(a,{onClick:e[4]||(e[4]=ge(m=>o.addBlock("python"),["stop"])),title:"Python",icon:"python"}),ae(a,{onClick:e[5]||(e[5]=ge(m=>o.addBlock("javascript"),["stop"])),title:"JavaScript",icon:"js"}),ae(a,{onClick:e[6]||(e[6]=ge(m=>o.addBlock("typescript"),["stop"])),title:"TypeScript",icon:"typescript"}),ae(a,{onClick:e[7]||(e[7]=ge(m=>o.addBlock("java"),["stop"])),title:"Java",icon:"java"}),ae(a,{onClick:e[8]||(e[8]=ge(m=>o.addBlock("c++"),["stop"])),title:"C++",icon:"cplusplus"}),ae(a,{onClick:e[9]||(e[9]=ge(m=>o.addBlock("csharp"),["stop"])),title:"C#",icon:"csharp"}),ae(a,{onClick:e[10]||(e[10]=ge(m=>o.addBlock("go"),["stop"])),title:"Go",icon:"go"}),ae(a,{onClick:e[11]||(e[11]=ge(m=>o.addBlock("rust"),["stop"])),title:"Rust",icon:"rust"}),ae(a,{onClick:e[12]||(e[12]=ge(m=>o.addBlock("swift"),["stop"])),title:"Swift",icon:"swift"}),ae(a,{onClick:e[13]||(e[13]=ge(m=>o.addBlock("kotlin"),["stop"])),title:"Kotlin",icon:"kotlin"}),ae(a,{onClick:e[14]||(e[14]=ge(m=>o.addBlock("r"),["stop"])),title:"R",icon:"r-project"})]),_:1}),ae(l,{title:"Web Technologies",icon:"web"},{default:Be(()=>[ae(a,{onClick:e[15]||(e[15]=ge(m=>o.addBlock("html"),["stop"])),title:"HTML",icon:"html5"}),ae(a,{onClick:e[16]||(e[16]=ge(m=>o.addBlock("css"),["stop"])),title:"CSS",icon:"css3"}),ae(a,{onClick:e[17]||(e[17]=ge(m=>o.addBlock("vue"),["stop"])),title:"Vue.js",icon:"vuejs"}),ae(a,{onClick:e[18]||(e[18]=ge(m=>o.addBlock("react"),["stop"])),title:"React",icon:"react"}),ae(a,{onClick:e[19]||(e[19]=ge(m=>o.addBlock("angular"),["stop"])),title:"Angular",icon:"angular"})]),_:1}),ae(l,{title:"Markup and Data",icon:"file-code"},{default:Be(()=>[ae(a,{onClick:e[20]||(e[20]=ge(m=>o.addBlock("xml"),["stop"])),title:"XML",icon:"xml"}),ae(a,{onClick:e[21]||(e[21]=ge(m=>o.addBlock("json"),["stop"])),title:"JSON",icon:"json"}),ae(a,{onClick:e[22]||(e[22]=ge(m=>o.addBlock("yaml"),["stop"])),title:"YAML",icon:"yaml"}),ae(a,{onClick:e[23]||(e[23]=ge(m=>o.addBlock("markdown"),["stop"])),title:"Markdown",icon:"markdown"}),ae(a,{onClick:e[24]||(e[24]=ge(m=>o.addBlock("latex"),["stop"])),title:"LaTeX",icon:"latex"})]),_:1}),ae(l,{title:"Scripting and Shell",icon:"terminal"},{default:Be(()=>[ae(a,{onClick:e[25]||(e[25]=ge(m=>o.addBlock("bash"),["stop"])),title:"Bash",icon:"bash"}),ae(a,{onClick:e[26]||(e[26]=ge(m=>o.addBlock("powershell"),["stop"])),title:"PowerShell",icon:"powershell"}),ae(a,{onClick:e[27]||(e[27]=ge(m=>o.addBlock("perl"),["stop"])),title:"Perl",icon:"perl"})]),_:1}),ae(l,{title:"Diagramming",icon:"sitemap"},{default:Be(()=>[ae(a,{onClick:e[28]||(e[28]=ge(m=>o.addBlock("mermaid"),["stop"])),title:"Mermaid",icon:"mermaid"}),ae(a,{onClick:e[29]||(e[29]=ge(m=>o.addBlock("graphviz"),["stop"])),title:"Graphviz",icon:"graphviz"}),ae(a,{onClick:e[30]||(e[30]=ge(m=>o.addBlock("plantuml"),["stop"])),title:"PlantUML",icon:"plantuml"})]),_:1}),ae(l,{title:"Database",icon:"database"},{default:Be(()=>[ae(a,{onClick:e[31]||(e[31]=ge(m=>o.addBlock("sql"),["stop"])),title:"SQL",icon:"sql"}),ae(a,{onClick:e[32]||(e[32]=ge(m=>o.addBlock("mongodb"),["stop"])),title:"MongoDB",icon:"mongodb"})]),_:1}),ae(a,{onClick:e[33]||(e[33]=ge(m=>o.addBlock(""),["stop"])),title:"Generic Block",icon:"code"})]),_:1}),ae(a,{onClick:e[34]||(e[34]=ge(m=>t.copyContentToClipboard(),["stop"])),title:"Copy message to clipboard",icon:"copy"}),te(g("textarea",{ref:"mdTextarea",onKeydown:e[35]||(e[35]=ri(ge((...m)=>o.insertTab&&o.insertTab(...m),["prevent"]),["tab"])),class:"block min-h-500 p-2.5 w-full text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",rows:4,style:gn({minHeight:i.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[36]||(e[36]=m=>i.text=m),onClick:e[37]||(e[37]=ge((...m)=>o.mdTextarea_clicked&&o.mdTextarea_clicked(...m),["prevent"])),onChange:e[38]||(e[38]=ge((...m)=>o.mdTextarea_changed&&o.mdTextarea_changed(...m),["prevent"]))}," ",36),[[Ne,i.text]]),g("span",null,"Cursor position "+ue(i.cursorPosition),1)])):ie("",!0),i.audio_url!=null?(k(),P("audio",{controls:"",key:i.audio_url},[g("source",{src:i.audio_url,type:"audio/wav",ref:"audio_player"},null,8,LGn),e[67]||(e[67]=nt(" Your browser does not support the audio element. "))])):ie("",!0),ae(u,{namedTokens:i.namedTokens},null,8,["namedTokens"]),i.tab_id==="render"?(k(),P("div",CGn,[ae(d,{ref:"mdRender",client_id:this.$store.state.client_id,message_id:0,discussion_id:0,"markdown-text":i.text,class:"mt-4 p-2 rounded shadow-lg dark:bg-bg-dark"},null,8,["client_id","markdown-text"])])):ie("",!0)],2)]),i.showSettings?(k(),P("div",AGn,[e[82]||(e[82]=g("h2",{class:"text-2xl font-bold text-gray-900 dark:text-white mb-4"},"Settings",-1)),ae(h,{title:"Model",class:"slider-container ml-0 mr-0",isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[te(g("select",{"onUpdate:modelValue":e[39]||(e[39]=m=>this.$store.state.selectedModel=m),onChange:e[40]||(e[40]=(...m)=>o.setModel&&o.setModel(...m)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(k(!0),P(ze,null,lt(o.models,m=>(k(),P("option",{key:m,value:m},ue(m),9,wGn))),128))],544),[[hn,this.$store.state.selectedModel]]),i.selecting_model?(k(),P("div",MGn,e[68]||(e[68]=[g("div",{role:"status"},[g("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),g("span",{class:"sr-only"},"Selecting model...")],-1)]))):ie("",!0)]),_:1}),ae(h,{title:"Presets",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[te(g("select",{"onUpdate:modelValue":e[41]||(e[41]=m=>i.selectedPreset=m),class:"bg-white dark:bg-black mb-2 border-2 rounded-md shadow-sm w-full"},[(k(!0),P(ze,null,lt(i.presets,m=>(k(),P("option",{key:m,value:m},ue(m.name),9,OGn))),128))],512),[[hn,i.selectedPreset]]),e[73]||(e[73]=g("br",null,null,-1)),g("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[42]||(e[42]=(...m)=>o.setPreset&&o.setPreset(...m)),title:"Use preset"},e[69]||(e[69]=[g("i",{"data-feather":"check"},null,-1)])),g("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[43]||(e[43]=(...m)=>o.addPreset&&o.addPreset(...m)),title:"Add this text as a preset"},e[70]||(e[70]=[g("i",{"data-feather":"plus"},null,-1)])),g("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[44]||(e[44]=(...m)=>o.removePreset&&o.removePreset(...m)),title:"Remove preset"},e[71]||(e[71]=[g("i",{"data-feather":"x"},null,-1)])),g("button",{class:"w-6 ml-2 hover:text-secondary duration-75 active:scale-90 cursor-pointer",onClick:e[45]||(e[45]=(...m)=>o.reloadPresets&&o.reloadPresets(...m)),title:"Reload presets list"},e[72]||(e[72]=[g("i",{"data-feather":"refresh-ccw"},null,-1)]))]),_:1}),ae(h,{title:"Generation params",class:"slider-container ml-0 mr-0",is_subcard:!0,isHorizontal:!1,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[g("div",RGn,[e[74]||(e[74]=g("h3",{class:"text-gray-600"},"Temperature",-1)),te(g("input",{type:"range","onUpdate:modelValue":e[46]||(e[46]=m=>i.temperature=m),min:"0",max:"5",step:"0.1",class:"w-full"},null,512),[[Ne,i.temperature]]),g("span",NGn,"Current value: "+ue(i.temperature),1)]),g("div",DGn,[e[75]||(e[75]=g("h3",{class:"text-gray-600"},"Top K",-1)),te(g("input",{type:"range","onUpdate:modelValue":e[47]||(e[47]=m=>i.top_k=m),min:"1",max:"100",step:"1",class:"w-full"},null,512),[[Ne,i.top_k]]),g("span",IGn,"Current value: "+ue(i.top_k),1)]),g("div",kGn,[e[76]||(e[76]=g("h3",{class:"text-gray-600"},"Top P",-1)),te(g("input",{type:"range","onUpdate:modelValue":e[48]||(e[48]=m=>i.top_p=m),min:"0",max:"1",step:"0.1",class:"w-full"},null,512),[[Ne,i.top_p]]),g("span",PGn,"Current value: "+ue(i.top_p),1)]),g("div",HGn,[e[77]||(e[77]=g("h3",{class:"text-gray-600"},"Repeat Penalty",-1)),te(g("input",{type:"range","onUpdate:modelValue":e[49]||(e[49]=m=>i.repeat_penalty=m),min:"0",max:"5",step:"0.1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Ne,i.repeat_penalty]]),g("span",VGn,"Current value: "+ue(i.repeat_penalty),1)]),g("div",FGn,[e[78]||(e[78]=g("h3",{class:"text-gray-600"},"Repeat Last N",-1)),te(g("input",{type:"range","onUpdate:modelValue":e[50]||(e[50]=m=>i.repeat_last_n=m),min:"0",max:"100",step:"1",class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Ne,i.repeat_last_n]]),g("span",BGn,"Current value: "+ue(i.repeat_last_n),1)]),g("div",$Gn,[e[79]||(e[79]=g("h3",{class:"text-gray-600"},"Number of tokens to crop the text to",-1)),te(g("input",{type:"number","onUpdate:modelValue":e[51]||(e[51]=m=>i.n_crop=m),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Ne,i.n_crop]]),g("span",UGn,"Current value: "+ue(i.n_crop),1)]),g("div",GGn,[e[80]||(e[80]=g("h3",{class:"text-gray-600"},"Number of tokens to generate",-1)),te(g("input",{type:"number","onUpdate:modelValue":e[52]||(e[52]=m=>i.n_predicts=m),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Ne,i.n_predicts]]),g("span",qGn,"Current value: "+ue(i.n_predicts),1)]),g("div",zGn,[e[81]||(e[81]=g("h3",{class:"text-gray-600"},"Seed",-1)),te(g("input",{type:"number","onUpdate:modelValue":e[53]||(e[53]=m=>i.seed=m),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},null,512),[[Ne,i.seed]]),g("span",jGn,"Current value: "+ue(i.seed),1)])]),_:1})])):ie("",!0)])]),ae(f,{ref:"toast"},null,512)],64)}const YGn=Et(fGn,[["render",WGn]]),KGn={data(){return{activeExtension:null}},computed:{activeExtensions(){return console.log(this.$store.state.extensionsZoo),console.log(mq(this.$store.state.extensionsZoo)),this.$store.state.extensionsZoo}},methods:{showExtensionPage(t){this.activeExtension=t}}},ZGn={class:"container overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},XGn={key:0},JGn=["onClick"],eqn={key:0},tqn=["src"],nqn={key:1};function rqn(t,e,n,r,i,o){return k(),P("div",ZGn,[o.activeExtensions.length>0?(k(),P("div",XGn,[(k(!0),P(ze,null,lt(o.activeExtensions,s=>(k(),P("div",{key:s.name,onClick:a=>o.showExtensionPage(s)},[g("div",{class:We({"active-tab":s===i.activeExtension})},ue(s.name),3)],8,JGn))),128)),i.activeExtension?(k(),P("div",eqn,[g("iframe",{src:i.activeExtension.page,width:"100%",height:"500px",frameborder:"0"},null,8,tqn)])):ie("",!0)])):(k(),P("div",nqn,e[0]||(e[0]=[g("p",null,"No extension is active. Please install and activate an extension.",-1)])))])}const iqn=Et(KGn,[["render",rqn]]),oqn={name:"HelpView",data(){return{helpSections:[]}},methods:{toggleSection(t){this.helpSections[t].isOpen=!this.helpSections[t].isOpen},async loadMarkdownFile(t){try{const n=await(await fetch(`/help/${t}`)).text();return ln(n)}catch(e){return console.error("Error loading markdown file:",e),"Error loading help content."}},async loadHelpSections(){const t=[{title:"About LoLLMs",file:"lollms-context.md"},{title:"Getting Started",file:"getting-started.md"},{title:"Uploading Files",file:"uploading-files.md"},{title:"Sending Images",file:"sending-images.md"},{title:"Using Code Interpreter",file:"code-interpreter.md"},{title:"Internet Search",file:"internet-search.md"}];for(const e of t){const n=await this.loadMarkdownFile(e.file);this.helpSections.push({title:e.title,content:n,isOpen:!1})}}},mounted(){this.loadHelpSections()}},sqn={class:"help-view background-color p-6 w-full"},aqn={class:"big-card w-full"},lqn={class:"help-sections-container"},cqn={class:"help-sections space-y-4"},uqn=["onClick"],dqn={class:"toggle-icon"},fqn={key:0,class:"help-content mt-4"},pqn=["innerHTML"];function hqn(t,e,n,r,i,o){return k(),P("div",sqn,[g("div",aqn,[e[0]||(e[0]=g("h1",{class:"text-4xl md:text-5xl font-bold text-gray-800 dark:text-gray-100 mb-6"},"LoLLMs Help",-1)),g("div",lqn,[g("div",cqn,[(k(!0),P(ze,null,lt(i.helpSections,(s,a)=>(k(),P("div",{key:a,class:"help-section message"},[g("h2",{onClick:l=>o.toggleSection(a),class:"menu-item cursor-pointer flex justify-between items-center"},[nt(ue(s.title)+" ",1),g("span",dqn,ue(s.isOpen?"▼":"▶"),1)],8,uqn),s.isOpen?(k(),P("div",fqn,[g("div",{innerHTML:s.content,class:"prose dark:prose-invert"},null,8,pqn)])):ie("",!0)]))),128))])])])])}const Tqn=Et(oqn,[["render",hqn],["__scopeId","data-v-8c1798f3"]]);function Xo(t,e=!0,n=1){const r=e?1e3:1024;if(Math.abs(t)=r&&o{Xe.replace()})},executeCommand(t){this.isMenuOpen=!1,console.log("Selected"),console.log(t.value),typeof t.value=="function"&&(console.log("Command detected",t),t.value()),this.execute_cmd&&(console.log("executing generic command"),this.execute_cmd(t))},positionMenu(){var t;if(this.$refs.menuButton!=null){if(this.force_position==0||this.force_position==null){const e=this.$refs.menuButton.getBoundingClientRect(),n=window.innerHeight;t=e.bottom>n/2}else this.force_position==1?t=!0:t=!1;this.menuPosition.top=t?"auto":"calc(100% + 10px)",this.menuPosition.bottom=t?"100%":"auto"}}},mounted(){window.addEventListener("resize",this.positionMenu),this.positionMenu(),Ke(()=>{Xe.replace()})},beforeDestroy(){window.removeEventListener("resize",this.positionMenu)},watch:{isMenuOpen:"positionMenu"}},gqn={class:"menu-container"},_qn=["title"],Qqn=["src"],vqn=["data-feather"],yqn={key:2,class:"w-5 h-5"},bqn={key:3,"data-feather":"menu"},Eqn={class:"flex-grow menu-ul"},xqn=["onClick"],Sqn={key:0,"data-feather":"check"},Lqn=["src","alt"],Cqn=["data-feather"],Aqn={key:3,class:"menu-icon"};function wqn(t,e,n,r,i,o){return k(),P("div",gqn,[g("button",{onClick:e[0]||(e[0]=ge((...s)=>o.toggleMenu&&o.toggleMenu(...s),["prevent"])),title:n.title,class:We([n.menuIconClass,"menu-button m-0 p-0 bg-blue-500 text-white dark:bg-blue-200 dark:text-gray-800 rounded flex items-center justify-center w-6 h-6 border-none cursor-pointer hover:bg-blue-400 w-8 h-8 object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-gray-300 border-secondary cursor-pointer"]),ref:"menuButton"},[n.icon&&!n.icon.includes("#")&&!n.icon.includes("feather")?(k(),P("img",{key:0,src:n.icon,class:"w-5 h-5 p-0 m-0 shadow-lg bold"},null,8,Qqn)):n.icon&&n.icon.includes("feather")?(k(),P("i",{key:1,"data-feather":n.icon.split(":")[1],class:"w-5 h-5"},null,8,vqn)):n.icon&&n.icon.includes("#")?(k(),P("p",yqn,ue(n.icon.split("#")[1]),1)):(k(),P("i",bqn))],10,_qn),ae(Ai,{name:"slide"},{default:Be(()=>[i.isMenuOpen?(k(),P("div",{key:0,class:"menu-list flex-grow",style:gn(i.menuPosition),ref:"menu"},[g("ul",Eqn,[(k(!0),P(ze,null,lt(n.commands,(s,a)=>(k(),P("li",{key:a,onClick:ge(l=>o.executeCommand(s),["prevent"]),class:"menu-command menu-li flex-grow hover:bg-blue-400"},[n.selected_entry==s.name?(k(),P("i",Sqn)):s.icon&&!s.icon.includes("feather")&&!s.is_file?(k(),P("img",{key:1,src:s.icon,alt:s.name,class:"menu-icon"},null,8,Lqn)):ie("",!0),s.icon&&s.icon.includes("feather")&&!s.is_file?(k(),P("i",{key:2,"data-feather":s.icon.split(":")[1],class:"mr-2"},null,8,Cqn)):(k(),P("span",Aqn)),g("span",null,ue(s.name),1)],8,xqn))),128))])],4)):ie("",!0)]),_:1})])}const eE=Et(mqn,[["render",wqn]]),Mqn={components:{InteractiveMenu:eE},props:{isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,linkNotValid:!1,selected_variant:""}},async mounted(){Ke(()=>{Xe.replace()})},methods:{formatFileSize(t){return t<1024?t+" bytes":t<1024*1024?(t/1024).toFixed(2)+" KB":t<1024*1024*1024?(t/(1024*1024)).toFixed(2)+" MB":(t/(1024*1024*1024)).toFixed(2)+" GB"},computedFileSize(t){return Xo(t)},getImgUrl(){return this.model.icon==null||this.model.icon==="/images/default_model.png"?ui:this.model.icon},defaultImg(t){t.target.src=ui},install(){this.onInstall(this)},uninstall(){this.isInstalled&&this.onUninstall(this)},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):this.onInstall(this)},toggleSelected(t){if(console.log("event.target.tagName.toLowerCase()"),console.log(t.target.tagName.toLowerCase()),t.target.tagName.toLowerCase()==="button"||t.target.tagName.toLowerCase()==="svg"){t.stopPropagation();return}this.onSelected(this),this.model.selected=!0,Ke(()=>{Xe.replace()})},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this),this.installing=!1},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){this.$emit("copy","this.message.content")}},computed:{computed_classes(){return this.model.isInstalled?this.selected?"border-4 border-gray-200 bg-primary cursor-pointer":"border-0 border-primary bg-primary cursor-pointer":"border-transparent"},commandsList(){let t=[{name:this.model.isInstalled?"Install Extra":"Install",icon:"feather:settings",is_file:!1,value:this.install},{name:"Copy model info to clipboard",icon:"feather:settings",is_file:!1,value:this.toggleCopy}];return this.model.isInstalled&&t.push({name:"UnInstall",icon:"feather:settings",is_file:!1,value:this.uninstall}),this.selected&&t.push({name:"Reload",icon:"feather:refresh-ccw",is_file:!1,value:this.toggleSelected}),t},selected_computed(){return this.selected},fileSize:{get(){if(this.model&&this.model.variants&&this.model.variants.length>0){const t=this.model.variants[0].size;return this.formatFileSize(t)}return null}},speed_computed(){return Xo(this.speed)},total_size_computed(){return Xo(this.total_size)},downloaded_size_computed(){return Xo(this.downloaded_size)}},watch:{linkNotValid(){Ke(()=>{Xe.replace()})}}},Oqn=["title"],Rqn={key:0,class:"flex flex-row"},Nqn={class:"max-w-[300px] overflow-x-auto"},Dqn={class:"flex gap-3 items-center grow"},Iqn=["href"],kqn=["src"],Pqn={class:"flex-1 overflow-hidden"},Hqn={class:"font-bold font-large text-lg truncate"},Vqn={key:1,class:"flex items-center flex-row gap-2 my-1"},Fqn={class:"flex grow items-center"},Bqn={key:2,class:"absolute z-10 -m-4 p-5 shadow-md text-center rounded-lg w-full h-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel bg-opacity-70 dark:bg-opacity-70 flex justify-center items-center"},$qn={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Uqn={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Gqn={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},qqn={class:"flex justify-between mb-1"},zqn={class:"text-sm font-medium text-blue-700 dark:text-white"},jqn={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},Wqn={class:"flex justify-between mb-1"},Yqn={class:"text-base font-medium text-blue-700 dark:text-white"},Kqn={class:"text-sm font-medium text-blue-700 dark:text-white"},Zqn={class:"flex flex-grow"},Xqn={class:"flex flex-row flex-grow gap-3"},Jqn={class:"p-2 text-center grow"},ezn={key:3},tzn={class:"flex flex-row items-center gap-3"},nzn=["src"],rzn={class:"font-bold font-large text-lg truncate"},izn={class:"flex items-center flex-row-reverse gap-2 my-1"},ozn={class:"flex flex-row items-center"},szn={key:0,class:"text-base text-red-600 flex items-center mt-1"},azn=["title"],lzn={class:""},czn={class:"flex flex-row items-center"},uzn=["href","title"],dzn={class:"flex items-center"},fzn={class:"flex items-center"},pzn={key:0,class:"flex items-center"},hzn=["href"],Tzn={class:"flex items-center"},mzn=["href"],gzn={class:"flex items-center"},_zn={class:"flex items-center"},Qzn=["href"];function vzn(t,e,n,r,i,o){const s=gt("InteractiveMenu");return k(),P("div",{class:We(["relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",o.computed_classes]),title:n.model.name,onClick:e[10]||(e[10]=ge(a=>o.toggleSelected(a),["prevent"]))},[n.model.isCustomModel?(k(),P("div",Rqn,[g("div",Nqn,[g("div",Dqn,[g("a",{href:n.model.model_creator_link,target:"_blank"},[g("img",{src:o.getImgUrl(),onError:e[0]||(e[0]=a=>o.defaultImg(a)),class:"w-10 h-10 rounded-lg object-fill"},null,40,kqn)],8,Iqn),g("div",Pqn,[g("h3",Hqn,ue(n.model.name),1)])])])])):ie("",!0),n.model.isCustomModel?(k(),P("div",Vqn,[g("div",Fqn,[g("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=ge(()=>{},["stop"]))},e[11]||(e[11]=[g("i",{"data-feather":"box",class:"w-5"},null,-1),g("span",{class:"sr-only"},"Custom model / local model",-1)])),e[12]||(e[12]=nt(" Custom model "))]),g("div",null,[n.model.isInstalled?(k(),P("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=ge((...a)=>o.uninstall&&o.uninstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},e[13]||(e[13]=[nt(" Uninstall "),g("span",{class:"sr-only"},"Remove",-1)]))):ie("",!0)])])):ie("",!0),i.installing?(k(),P("div",Bqn,[g("div",$qn,[e[15]||(e[15]=g("div",{role:"status",class:"justify-center"},[g("svg",{"aria-hidden":"true",class:"w-24 h-24 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),g("span",{class:"sr-only"},"Loading...")],-1)),g("div",Uqn,[g("div",Gqn,[g("div",qqn,[e[14]||(e[14]=g("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1)),g("span",zqn,ue(Math.floor(i.progress))+"%",1)]),g("div",jqn,[g("div",{class:"bg-blue-600 h-2.5 rounded-full",style:gn({width:i.progress+"%"})},null,4)]),g("div",Wqn,[g("span",Yqn,"Download speed: "+ue(o.speed_computed)+"/s",1),g("span",Kqn,ue(o.downloaded_size_computed)+"/"+ue(o.total_size_computed),1)])])]),g("div",Zqn,[g("div",Xqn,[g("div",Jqn,[g("button",{onClick:e[3]||(e[3]=ge((...a)=>o.toggleCancelInstall&&o.toggleCancelInstall(...a),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):ie("",!0),n.model.isCustomModel?ie("",!0):(k(),P("div",ezn,[g("div",tzn,[g("img",{ref:"imgElement",src:o.getImgUrl(),onError:e[4]||(e[4]=a=>o.defaultImg(a)),class:We(["w-10 h-10 rounded-lg object-fill",i.linkNotValid?"grayscale":""])},null,42,nzn),g("h3",rzn,ue(n.model.name),1),e[16]||(e[16]=g("div",{class:"grow"},null,-1)),ae(s,{commands:o.commandsList,force_position:2,title:"Menu"},null,8,["commands"])]),g("div",izn,[g("div",ozn,[i.linkNotValid?(k(),P("div",szn,e[17]||(e[17]=[g("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),nt(" Link is not valid ")]))):ie("",!0)])]),g("div",{class:"",title:n.model.isInstalled?n.model.name:"Not installed"},[g("div",lzn,[g("div",czn,[e[19]||(e[19]=g("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1)),e[20]||(e[20]=g("b",null,"Card: ",-1)),g("a",{href:"https://huggingface.co/"+n.model.quantizer+"/"+n.model.name,target:"_blank",onClick:e[5]||(e[5]=ge(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:i.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," View full model card ",8,uzn),e[21]||(e[21]=g("div",{class:"grow"},null,-1)),g("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[6]||(e[6]=ge(a=>o.toggleCopyLink(),["stop"]))},e[18]||(e[18]=[g("i",{"data-feather":"clipboard",class:"w-5"},null,-1)]))]),g("div",dzn,[g("div",{class:We(["flex flex-shrink-0 items-center",i.linkNotValid?"text-red-600":""])},[e[22]||(e[22]=g("i",{"data-feather":"file",class:"w-5 m-1"},null,-1)),e[23]||(e[23]=g("b",null,"File size: ",-1)),nt(" "+ue(o.fileSize),1)],2)]),g("div",fzn,[e[24]||(e[24]=g("i",{"data-feather":"key",class:"w-5 m-1"},null,-1)),e[25]||(e[25]=g("b",null,"License: ",-1)),nt(" "+ue(n.model.license),1)]),n.model.quantizer!="None"&&n.model.type!="transformers"?(k(),P("div",pzn,[e[26]||(e[26]=g("i",{"data-feather":"user",class:"w-5 m-1"},null,-1)),e[27]||(e[27]=g("b",null,"quantizer: ",-1)),g("a",{href:"https://huggingface.co/"+n.model.quantizer,target:"_blank",rel:"noopener noreferrer",onClick:e[7]||(e[7]=ge(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ue(n.model.quantizer),9,hzn)])):ie("",!0),g("div",Tzn,[e[28]||(e[28]=g("i",{"data-feather":"user",class:"w-5 m-1"},null,-1)),e[29]||(e[29]=g("b",null,"Model creator: ",-1)),g("a",{href:n.model.model_creator_link,target:"_blank",rel:"noopener noreferrer",onClick:e[8]||(e[8]=ge(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ue(n.model.model_creator),9,mzn)]),g("div",gzn,[e[30]||(e[30]=g("i",{"data-feather":"clock",class:"w-5 m-1"},null,-1)),e[31]||(e[31]=g("b",null,"Release date: ",-1)),nt(" "+ue(n.model.last_commit_time),1)]),g("div",_zn,[e[32]||(e[32]=g("i",{"data-feather":"grid",class:"w-5 m-1"},null,-1)),e[33]||(e[33]=g("b",null,"Category: ",-1)),g("a",{href:"https://huggingface.co/"+n.model.model_creator,target:"_blank",rel:"noopener noreferrer",onClick:e[9]||(e[9]=ge(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"quantizer's profile"},ue(n.model.category),9,Qzn)])])],8,azn)]))],10,Oqn)}const yzn=Et(Mqn,[["render",vzn]]),bzn={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",personalityCategory:"Category",disclaimer:"Disclaimer text",conditioningText:"Conditioning Text",aiPrefix:"AI Prefix",userPrefix:"User Prefix",antipromptsList:[{id:1,text:"Antiprompt 1"},{id:2,text:"Antiprompt 2"},{id:3,text:"Antiprompt 3"}]}},methods:{commitChanges(){console.log("Personality changes committed"),this.editMode=!1}}},Ezn={class:"p-4"},xzn={class:"flex items-center mb-4"},Szn=["src"],Lzn={class:"text-lg font-semibold"},Czn={key:0};function Azn(t,e,n,r,i,o){return k(),P("div",Ezn,[g("div",xzn,[g("img",{src:i.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Szn),g("h2",Lzn,ue(i.personalityName),1)]),g("p",null,[e[2]||(e[2]=g("strong",null,"Author:",-1)),nt(" "+ue(i.personalityAuthor),1)]),g("p",null,[e[3]||(e[3]=g("strong",null,"Description:",-1)),nt(" "+ue(i.personalityDescription),1)]),g("p",null,[e[4]||(e[4]=g("strong",null,"Category:",-1)),nt(" "+ue(i.personalityCategory),1)]),i.disclaimer?(k(),P("p",Czn,[e[5]||(e[5]=g("strong",null,"Disclaimer:",-1)),nt(" "+ue(i.disclaimer),1)])):ie("",!0),g("p",null,[e[6]||(e[6]=g("strong",null,"Conditioning Text:",-1)),nt(" "+ue(i.conditioningText),1)]),g("p",null,[e[7]||(e[7]=g("strong",null,"AI Prefix:",-1)),nt(" "+ue(i.aiPrefix),1)]),g("p",null,[e[8]||(e[8]=g("strong",null,"User Prefix:",-1)),nt(" "+ue(i.userPrefix),1)]),g("div",null,[e[9]||(e[9]=g("strong",null,"Antiprompts:",-1)),g("ul",null,[(k(!0),P(ze,null,lt(i.antipromptsList,s=>(k(),P("li",{key:s.id},ue(s.text),1))),128))])]),g("button",{onClick:e[0]||(e[0]=s=>i.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),i.editMode?(k(),P("button",{key:1,onClick:e[1]||(e[1]=(...s)=>o.commitChanges&&o.commitChanges(...s)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):ie("",!0)])}const wzn=Et(bzn,[["render",Azn]]),tE="/assets/logo-CQZwS0X1.svg",Mzn="/",Ozn={props:{personality:{},select_language:Boolean,selected:Boolean,full_path:String,onTalk:Function,onOpenFolder:Function,onSelected:Function,onMount:Function,onUnMount:Function,onRemount:Function,onCopyToCustom:Function,onEdit:Function,onReinstall:Function,onSettings:Function,onCopyPersonalityName:Function,onToggleFavorite:Function},components:{InteractiveMenu:eE},data(){return{isMounted:!1,name:this.personality.name,thumbnailVisible:!1,thumbnailPosition:{x:0,y:0},showHelpPopup:!1,renderedHelp:""}},computed:{commandsList(){let t=[{name:this.isMounted?"unmount":"mount",icon:"feather:settings",is_file:!1,value:this.isMounted?this.unmount:this.mount},{name:"reinstall",icon:"feather:terminal",is_file:!1,value:this.toggleReinstall}];return console.log("this.category",this.personality.category),this.personality.category=="custom_personalities"?t.push({name:"edit",icon:"feather:settings",is_file:!1,value:this.edit}):t.push({name:"Copy to custom personas folder for editing",icon:"feather:copy",is_file:!1,value:this.copyToCustom}),this.isMounted&&t.push({name:"remount",icon:"feather:refresh-ccw",is_file:!1,value:this.reMount}),this.selected&&this.personality.has_scripts&&t.push({name:"settings",icon:"feather:settings",is_file:!1,value:this.toggleSettings}),t},selected_computed(){return this.selected}},mounted(){this.isMounted=this.personality.isMounted,console.log(this.personality),Ke(()=>{Xe.replace()})},methods:{formatDate(t){const e={year:"numeric",month:"short",day:"numeric"};return new Date(t).toLocaleDateString(void 0,e)},showThumbnail(){this.thumbnailVisible=!0},hideThumbnail(){this.thumbnailVisible=!1},updateThumbnailPosition(t){this.thumbnailPosition={x:t.clientX+10,y:t.clientY+10}},getImgUrl(){return Mzn+this.personality.avatar},defaultImg(t){t.target.src=tE},toggleFavorite(){this.onToggleFavorite(this)},showFolder(){this.onOpenFolder(this)},toggleTalk(){this.onTalk(this)},toggleCopyLink(){this.onCopyPersonalityName(this)},toggleSelected(){this.isMounted&&this.onSelected(this)},edit(){this.onEdit(this)},copyToCustom(){this.onCopyToCustom(this)},reMount(){this.onRemount(this)},mount(){console.log("Mounting"),this.onMount(this)},unmount(){console.log("Unmounting"),console.log(this.onUnMount),this.onUnMount(this),this.isMounted=!1},toggleSettings(){this.onSettings(this)},toggleReinstall(){this.onReinstall(this)},showHelp(){this.renderedHelp=ln(this.personality.help),this.showHelpPopup=!0},closeHelp(){this.showHelpPopup=!1}},watch:{selected(){Ke(()=>{Xe.replace()})}}},Rzn=["title"],Nzn={class:"flex-grow"},Dzn={class:"flex items-center mb-4"},Izn=["src"],kzn={class:"text-sm text-gray-600"},Pzn={class:"text-sm text-gray-600"},Hzn={class:"text-sm text-gray-600"},Vzn={key:0,class:"text-sm text-gray-600"},Fzn={key:1,class:"text-sm text-gray-600"},Bzn={class:"mb-4"},$zn=["innerHTML"],Uzn={class:"mt-auto pt-4 border-t"},Gzn={class:"flex justify-between items-center flex-wrap"},qzn=["title"],zzn=["fill"],jzn=["src"],Wzn={key:1,class:"fixed inset-0 bg-black bg-opacity-50 flex justify-center items-center"},Yzn={class:"bg-white p-4 rounded-lg shadow-lg w-[500px] h-[400px] flex flex-col"},Kzn={class:"flex justify-between items-center mb-2"},Zzn={class:"flex-grow overflow-auto"},Xzn=["innerHTML"];function Jzn(t,e,n,r,i,o){const s=gt("InteractiveMenu");return k(),P("div",{class:We(["app-card flex flex-col h-full",o.selected_computed?"border-primary-light":"border-transparent",i.isMounted?"bg-blue-200 dark:bg-blue-700":""]),title:n.personality.installed?"":"Not installed"},[g("div",Nzn,[g("div",Dzn,[g("img",{src:o.getImgUrl(),onError:e[0]||(e[0]=a=>o.defaultImg(a)),alt:"Personality Icon",class:"w-16 h-16 rounded-full border border-gray-300 mr-4 cursor-pointer",onClick:e[1]||(e[1]=(...a)=>o.toggleSelected&&o.toggleSelected(...a)),onMouseover:e[2]||(e[2]=(...a)=>o.showThumbnail&&o.showThumbnail(...a)),onMousemove:e[3]||(e[3]=(...a)=>o.updateThumbnailPosition&&o.updateThumbnailPosition(...a)),onMouseleave:e[4]||(e[4]=(...a)=>o.hideThumbnail&&o.hideThumbnail(...a))},null,40,Izn),g("div",null,[g("h3",{class:"font-bold text-xl text-gray-800 cursor-pointer",onClick:e[5]||(e[5]=(...a)=>o.toggleSelected&&o.toggleSelected(...a))},ue(n.personality.name),1),g("p",kzn,"Author: "+ue(n.personality.author),1),g("p",Pzn,"Version: "+ue(n.personality.version),1),g("p",Hzn,"Category: "+ue(n.personality.category),1),n.personality.creation_date?(k(),P("p",Vzn,"Creation Date: "+ue(o.formatDate(n.personality.creation_date)),1)):ie("",!0),n.personality.last_update_date?(k(),P("p",Fzn,"Last update Date: "+ue(o.formatDate(n.personality.last_update_date)),1)):ie("",!0)]),n.personality.help?(k(),P("button",{key:0,onClick:e[6]||(e[6]=(...a)=>o.showHelp&&o.showHelp(...a)),class:"ml-2 text-blue-500 hover:text-blue-600 transition duration-300 ease-in-out",title:"Help"},e[12]||(e[12]=[g("i",{"data-feather":"help-circle",class:"h-6 w-6"},null,-1)]))):ie("",!0)]),g("div",Bzn,[e[13]||(e[13]=g("h4",{class:"font-semibold mb-1 text-gray-700"},"Description:",-1)),g("p",{class:"text-sm text-gray-600 h-20 overflow-y-auto",innerHTML:n.personality.description},null,8,$zn)])]),g("div",Uzn,[g("div",Gzn,[g("button",{onClick:e[7]||(e[7]=(...a)=>o.toggleFavorite&&o.toggleFavorite(...a)),class:"text-yellow-500 hover:text-yellow-600 transition duration-300 ease-in-out",title:t.isFavorite?"Remove from favorites":"Add to favorites"},[(k(),P("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:t.isFavorite?"currentColor":"none",viewBox:"0 0 24 24",stroke:"currentColor"},e[14]||(e[14]=[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"},null,-1)]),8,zzn))],8,qzn),i.isMounted?(k(),P("button",{key:0,onClick:e[8]||(e[8]=(...a)=>o.toggleSelected&&o.toggleSelected(...a)),class:"text-blue-500 hover:text-blue-600 transition duration-300 ease-in-out",title:"Select"},e[15]||(e[15]=[g("i",{"data-feather":"check",class:"h-6 w-6"},null,-1)]))):ie("",!0),i.isMounted?(k(),P("button",{key:1,onClick:e[9]||(e[9]=(...a)=>o.toggleTalk&&o.toggleTalk(...a)),class:"text-green-500 hover:text-green-600 transition duration-300 ease-in-out",title:"Talk"},e[16]||(e[16]=[g("i",{"data-feather":"send",class:"h-6 w-6"},null,-1)]))):ie("",!0),g("button",{onClick:e[10]||(e[10]=(...a)=>o.showFolder&&o.showFolder(...a)),class:"text-purple-500 hover:text-purple-600 transition duration-300 ease-in-out",title:"Show Folder"},e[17]||(e[17]=[g("i",{"data-feather":"folder",class:"h-6 w-6"},null,-1)])),ae(s,{commands:o.commandsList,force_position:2,title:"Menu",class:"text-gray-500 hover:text-gray-600 transition duration-300 ease-in-out"},null,8,["commands"])])]),i.thumbnailVisible?(k(),P("div",{key:0,style:gn({top:i.thumbnailPosition.y+"px",left:i.thumbnailPosition.x+"px"}),class:"fixed z-50 w-20 h-20 rounded-full overflow-hidden"},[g("img",{src:o.getImgUrl(),class:"w-full h-full object-fill"},null,8,jzn)],4)):ie("",!0),i.showHelpPopup?(k(),P("div",Wzn,[g("div",Yzn,[g("div",Kzn,[e[18]||(e[18]=g("h2",{class:"text-lg font-bold"},"Help",-1)),g("button",{onClick:e[11]||(e[11]=(...a)=>o.closeHelp&&o.closeHelp(...a)),class:"text-red-500 hover:text-red-600"},"Close")]),g("div",Zzn,[g("div",{innerHTML:i.renderedHelp},null,8,Xzn)])])])):ie("",!0)],10,Rzn)}const PU=Et(Ozn,[["render",Jzn]]),ejn={name:"DynamicUIRenderer",props:{ui:{type:String,required:!0},instanceId:{type:String,required:!0}},data(){return{containerId:`dynamic-ui-${this.instanceId}`}},watch:{ui:{immediate:!0,handler(t){console.log(`UI prop changed for instance ${this.instanceId}:`,t),this.$nextTick(()=>{this.renderContent()})}}},methods:{renderContent(){console.log(`Rendering content for instance ${this.instanceId}...`);const t=this.$refs.container,n=new DOMParser().parseFromString(this.ui,"text/html"),r=n.getElementsByTagName("style");Array.from(r).forEach(o=>{const s=document.createElement("style");s.textContent=this.scopeCSS(o.textContent),document.head.appendChild(s)}),t.innerHTML=n.body.innerHTML;const i=n.getElementsByTagName("script");Array.from(i).forEach(o=>{const s=document.createElement("script");s.textContent=o.textContent,t.appendChild(s)})},scopeCSS(t){return t.replace(/([^\r\n,{}]+)(,(?=[^}]*{)|\s*{)/g,`#${this.containerId} $1$2`)}}},tjn=["id"];function njn(t,e,n,r,i,o){return k(),P("div",{id:i.containerId,ref:"container"},null,8,tjn)}const HU=Et(ejn,[["render",njn]]),rjn="/",ijn={components:{DynamicUIRenderer:HU},props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onUnInstall:Function,onSettings:Function,onReloadBinding:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){Ke(()=>{Xe.replace()})},methods:{copyToClipBoard(t){console.log("Copying to clipboard :",t),navigator.clipboard.writeText(t)},getImgUrl(){return rjn+this.binding.icon},defaultImg(t){t.target.src=tE},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleUnInstall(){this.onUnInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleReloadBinding(){this.onReloadBinding(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){Ke(()=>{Xe.replace()})}}},ojn=["title"],sjn={class:"flex flex-row items-center gap-3"},ajn=["src"],ljn={class:"font-bold font-large text-lg truncate"},cjn={class:"flex-none gap-1"},ujn={class:"flex items-center flex-row-reverse gap-2 my-1"},djn={class:""},fjn={class:""},pjn={class:"flex items-center"},hjn={class:"flex items-center"},Tjn={class:"flex items-center"},mjn={class:"flex items-center"},gjn=["href"],_jn=["title","innerHTML"];function Qjn(t,e,n,r,i,o){const s=gt("DynamicUIRenderer");return k(),P("div",{class:We(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[8]||(e[8]=ge((...a)=>o.toggleSelected&&o.toggleSelected(...a),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[g("div",null,[g("div",sjn,[g("img",{ref:"imgElement",src:o.getImgUrl(),onError:e[0]||(e[0]=a=>o.defaultImg(a)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,ajn),g("h3",ljn,ue(n.binding.name),1),e[10]||(e[10]=g("div",{class:"grow"},null,-1)),g("div",cjn,[n.selected?(k(),P("button",{key:0,type:"button",title:"Reload binding",onClick:[e[1]||(e[1]=(...a)=>o.toggleReloadBinding&&o.toggleReloadBinding(...a)),e[2]||(e[2]=ge(()=>{},["stop"]))],class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center"},e[9]||(e[9]=[g("i",{"data-feather":"refresh-cw",class:"w-5"},null,-1),g("span",{class:"sr-only"},"Help",-1)]))):ie("",!0)])]),g("div",ujn,[n.binding.installed?ie("",!0):(k(),P("button",{key:0,title:"Click to install",type:"button",onClick:e[3]||(e[3]=ge((...a)=>o.toggleInstall&&o.toggleInstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},e[11]||(e[11]=[nt(" Install "),g("span",{class:"sr-only"},"Click to install",-1)]))),n.binding.installed?(k(),P("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[4]||(e[4]=ge((...a)=>o.toggleReinstall&&o.toggleReinstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-green-700 hover:bg-red-800 focus:ring-4 focus:ring-green-300 rounded-lg dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-red-900"},e[12]||(e[12]=[nt(" Reinstall "),g("span",{class:"sr-only"},"Reinstall",-1)]))):ie("",!0),n.binding.installed?(k(),P("button",{key:2,title:"Click to Reinstall binding",type:"button",onClick:e[5]||(e[5]=ge((...a)=>o.toggleUnInstall&&o.toggleUnInstall(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},e[13]||(e[13]=[nt(" Uninstall "),g("span",{class:"sr-only"},"UnInstall",-1)]))):ie("",!0),n.selected?(k(),P("button",{key:3,title:"Click to open Settings",type:"button",onClick:e[6]||(e[6]=ge((...a)=>o.toggleSettings&&o.toggleSettings(...a),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},e[14]||(e[14]=[nt(" Settings "),g("span",{class:"sr-only"},"Settings",-1)]))):ie("",!0)]),n.binding.ui?(k(),wt(s,{key:0,class:"w-full h-full",code:n.binding.ui},null,8,["code"])):ie("",!0),g("div",djn,[g("div",fjn,[g("div",pjn,[e[15]||(e[15]=g("i",{"data-feather":"user",class:"w-5 m-1"},null,-1)),e[16]||(e[16]=g("b",null,"Author: ",-1)),nt(" "+ue(n.binding.author),1)]),g("div",hjn,[e[18]||(e[18]=g("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1)),e[19]||(e[19]=g("b",null,"Folder: ",-1)),nt(" "+ue(n.binding.folder)+" ",1),e[20]||(e[20]=g("div",{class:"grow"},null,-1)),g("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[7]||(e[7]=ge(a=>o.copyToClipBoard(this.binding.folder),["stop"]))},e[17]||(e[17]=[g("i",{"data-feather":"clipboard",class:"w-5"},null,-1)]))]),g("div",Tjn,[e[21]||(e[21]=g("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1)),e[22]||(e[22]=g("b",null,"Version: ",-1)),nt(" "+ue(n.binding.version),1)]),g("div",mjn,[e[23]||(e[23]=g("i",{"data-feather":"github",class:"w-5 m-1"},null,-1)),e[24]||(e[24]=g("b",null,"Link: ",-1)),g("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},ue(n.binding.link),9,gjn)])]),e[25]||(e[25]=g("div",{class:"flex items-center"},[g("i",{"data-feather":"info",class:"w-5 m-1"}),g("b",null,"Description: "),g("br")],-1)),g("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description,innerHTML:n.binding.description},null,8,_jn)])])],10,ojn)}const vjn=Et(ijn,[["render",Qjn]]),vo="/assets/logo-PFou_X4V.png",yjn={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(t=>{this.resolve=t})},hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},showDialog(t){return new Promise(e=>{this.model_path=t,this.show=!0,this.resolve=e})}}},bjn={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Ejn={class:"relative w-full max-w-md max-h-full"},xjn={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Sjn={class:"p-4 text-center"},Ljn={class:"p-4 text-center mx-auto mb-4"};function Cjn(t,e,n,r,i,o){return i.show?(k(),P("div",bjn,[g("div",Ejn,[g("div",xjn,[g("button",{type:"button",onClick:e[0]||(e[0]=s=>o.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},e[4]||(e[4]=[g("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),g("span",{class:"sr-only"},"Close modal",-1)])),g("div",Sjn,[e[6]||(e[6]=g("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),g("div",Ljn,[e[5]||(e[5]=g("label",{class:"mr-2"},"Model path",-1)),te(g("input",{"onUpdate:modelValue":e[1]||(e[1]=s=>i.model_path=s),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[Ne,i.model_path]])]),g("button",{onClick:e[2]||(e[2]=s=>o.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),g("button",{onClick:e[3]||(e[3]=s=>o.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):ie("",!0)}const Ajn=Et(yjn,[["render",Cjn]]),wjn={props:{show:{type:Boolean,default:!1},can_remove:{type:Boolean,default:!1},title:{type:String,default:"Select an option"},choices:{type:Array,required:!0}},data(){return{selectedChoice:null,showInput:!1,newFilename:""}},methods:{displayName(t){return typeof t=="string"?t:t&&t.name?t.name:""},selectChoice(t){this.selectedChoice=t,this.$emit("choice-selected",t)},closeDialog(){this.$emit("close-dialog")},validateChoice(){this.$emit("choice-validated",this.selectedChoice)},formatSize(t){const e=["bytes","KB","MB","GB"];let n=0;for(;t>=1024&&n[n.show?(k(),P("div",Mjn,[g("div",Ojn,[g("h2",Rjn,[e[5]||(e[5]=g("svg",{class:"w-6 h-6 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"})],-1)),nt(" "+ue(n.title),1)]),g("div",Njn,[g("ul",null,[(k(!0),P(ze,null,lt(n.choices,(s,a)=>(k(),P("li",{key:a,class:"py-2 px-4 hover:bg-gray-200 dark:hover:bg-gray-600 transition duration-150 ease-in-out"},[g("div",Djn,[g("div",Ijn,[s.isEditing?te((k(),P("input",{key:1,"onUpdate:modelValue":l=>s.editName=l,onBlur:l=>o.finishEditing(s),onKeyup:ri(l=>o.finishEditing(s),["enter"]),class:"bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded px-2 py-1 text-sm",autofocus:""},null,40,Pjn)),[[Ne,s.editName]]):(k(),P("span",{key:0,onClick:l=>o.selectChoice(s),class:We([{"font-semibold":s===i.selectedChoice},"text-gray-800 dark:text-white cursor-pointer"])},ue(o.displayName(s)),11,kjn)),s.size?(k(),P("span",Hjn,ue(o.formatSize(s.size)),1)):ie("",!0)]),g("div",Vjn,[g("button",{onClick:l=>o.editChoice(s),class:"text-blue-500 hover:text-blue-600 mr-2"},e[6]||(e[6]=[g("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"})],-1)]),8,Fjn),n.can_remove?(k(),P("button",{key:0,onClick:l=>o.removeChoice(s,a),class:"text-red-500 hover:text-red-600"},e[7]||(e[7]=[g("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)]),8,Bjn)):ie("",!0)])])]))),128))])]),i.showInput?(k(),P("div",$jn,[te(g("input",{"onUpdate:modelValue":e[0]||(e[0]=s=>i.newFilename=s),placeholder:"Enter a filename",class:"border border-gray-300 dark:border-gray-600 p-2 rounded-lg w-full mb-2 bg-white dark:bg-gray-700 text-gray-800 dark:text-white"},null,512),[[Ne,i.newFilename]]),g("button",{onClick:e[1]||(e[1]=(...s)=>o.addNewFilename&&o.addNewFilename(...s)),class:"bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded-lg transition duration-300"}," Add ")])):ie("",!0),g("div",Ujn,[g("button",{onClick:e[2]||(e[2]=(...s)=>o.closeDialog&&o.closeDialog(...s)),class:"bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded-lg transition duration-300"}," Cancel "),g("button",{onClick:e[3]||(e[3]=(...s)=>o.validateChoice&&o.validateChoice(...s)),disabled:!i.selectedChoice,class:We([{"bg-blue-500 hover:bg-blue-600":i.selectedChoice,"bg-gray-400 cursor-not-allowed":!i.selectedChoice},"text-white font-bold py-2 px-4 rounded-lg transition duration-300"])}," Validate ",10,Gjn),g("button",{onClick:e[4]||(e[4]=(...s)=>o.toggleInput&&o.toggleInput(...s)),class:"bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-4 rounded-lg transition duration-300"}," Add New ")])])])):ie("",!0)]),_:1})}const nE=Et(wjn,[["render",qjn],["__scopeId","data-v-f43216be"]]),zjn={props:{radioOptions:{type:Array,required:!0},defaultValue:{type:String,default:"0"}},data(){return{selectedValue:this.defaultValue}},computed:{selectedLabel(){const t=this.radioOptions.find(e=>e.value===this.selectedValue);return t?t.label:""}},watch:{selectedValue(t,e){this.$emit("radio-selected",t)}},methods:{handleRadioChange(){}}},jjn={class:"flex space-x-4"},Wjn=["value","aria-checked"],Yjn={class:"text-gray-700"};function Kjn(t,e,n,r,i,o){return k(),P("div",jjn,[(k(!0),P(ze,null,lt(n.radioOptions,(s,a)=>(k(),P("label",{key:s.value,class:"flex items-center space-x-2"},[te(g("input",{type:"radio",value:s.value,"onUpdate:modelValue":e[0]||(e[0]=l=>i.selectedValue=l),onChange:e[1]||(e[1]=(...l)=>o.handleRadioChange&&o.handleRadioChange(...l)),class:"text-blue-500 focus:ring-2 focus:ring-blue-200","aria-checked":i.selectedValue===s.value.toString(),role:"radio"},null,40,Wjn),[[mW,i.selectedValue]]),g("span",Yjn,ue(s.label),1)]))),128))])}const Zjn=Et(zjn,[["render",Kjn]]),Xjn="/assets/gpu-BWVOYg-D.svg",Jjn={name:"StringListManager",props:{modelValue:{type:Array,default:()=>[]},placeholder:{type:String,default:"Enter an item"}},emits:["update:modelValue","change"],data(){return{newItem:"",draggingIndex:null}},methods:{addItem(){if(this.newItem.trim()){const t=[...this.modelValue,this.newItem.trim()];this.$emit("update:modelValue",t),this.$emit("change"),this.newItem=""}},removeItem(t){const e=this.modelValue.filter((n,r)=>r!==t);this.$emit("update:modelValue",e),this.$emit("change")},removeAll(){this.$emit("update:modelValue",[]),this.$emit("change")},startDragging(t){this.draggingIndex=t},dragItem(t){if(this.draggingIndex!==null){const e=[...this.modelValue],n=e.splice(this.draggingIndex,1)[0];e.splice(t,0,n),this.$emit("update:modelValue",e),this.$emit("change")}},stopDragging(){this.draggingIndex=null},moveUp(t){if(t>0){const e=[...this.modelValue],n=e.splice(t,1)[0];e.splice(t-1,0,n),this.$emit("update:modelValue",e),this.$emit("change")}},moveDown(t){if(ti.newItem=s),placeholder:n.placeholder,onKeyup:e[1]||(e[1]=ri((...s)=>o.addItem&&o.addItem(...s),["enter"])),class:"flex-grow mr-4 px-4 py-2 border border-gray-300 rounded dark:bg-gray-600 text-lg"},null,40,tWn),[[Ne,i.newItem]]),g("button",{onClick:e[2]||(e[2]=(...s)=>o.addItem&&o.addItem(...s)),class:"bg-blue-500 text-white px-6 py-2 rounded hover:bg-blue-600 text-lg"},"Add")]),n.modelValue.length>0?(k(),P("ul",nWn,[(k(!0),P(ze,null,lt(n.modelValue,(s,a)=>(k(),P("li",{key:a,class:We(["flex items-center mb-2 relative",{"bg-gray-200":i.draggingIndex===a}])},[g("span",rWn,ue(s),1),g("div",iWn,[g("button",{onClick:l=>o.removeItem(a),class:"text-red-500 hover:text-red-700 p-2"},e[5]||(e[5]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",viewBox:"0 0 20 20",fill:"currentColor"},[g("path",{"fill-rule":"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule":"evenodd"})],-1)]),8,oWn),a>0?(k(),P("button",{key:0,onClick:l=>o.moveUp(a),class:"bg-gray-300 hover:bg-gray-400 p-2 rounded mr-2"},e[6]||(e[6]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",viewBox:"0 0 20 20",fill:"currentColor"},[g("path",{"fill-rule":"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1)]),8,sWn)):ie("",!0),ao.moveDown(a),class:"bg-gray-300 hover:bg-gray-400 p-2 rounded"},e[7]||(e[7]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",viewBox:"0 0 20 20",fill:"currentColor"},[g("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]),8,aWn)):ie("",!0)]),i.draggingIndex===a?(k(),P("div",{key:0,class:"absolute top-0 left-0 w-full h-full bg-gray-200 opacity-50 cursor-move",onMousedown:l=>o.startDragging(a),onMousemove:l=>o.dragItem(a),onMouseup:e[3]||(e[3]=(...l)=>o.stopDragging&&o.stopDragging(...l))},null,40,lWn)):ie("",!0)],2))),128))])):ie("",!0),n.modelValue.length>0?(k(),P("div",cWn,[g("button",{onClick:e[4]||(e[4]=(...s)=>o.removeAll&&o.removeAll(...s)),class:"bg-red-500 text-white px-6 py-2 rounded hover:bg-red-600 text-lg"},"Remove All")])):ie("",!0)])}const dWn=Et(Jjn,[["render",uWn]]),fWn={name:"DictionaryManager",props:{modelValue:{type:Object,default:()=>({})},keyName:{type:String,default:"Key"},valueName:{type:String,default:"Value"}},emits:["update:modelValue","change"],data(){return{newKey:"",newValue:"",draggingKey:null}},methods:{addItem(){if(this.newKey.trim()){const t={...this.modelValue};t[this.newKey.trim()]=this.newValue,this.$emit("update:modelValue",t),this.$emit("change"),this.newKey="",this.newValue=""}},removeItem(t){const e={...this.modelValue};delete e[t],this.$emit("update:modelValue",e),this.$emit("change")},removeAll(){this.$emit("update:modelValue",{}),this.$emit("change")},updateKey(t,e){if(e.trim()&&e!==t){const n={...this.modelValue};n[e.trim()]=n[t],delete n[t],this.$emit("update:modelValue",n),this.$emit("change")}},updateValue(t,e){const n={...this.modelValue};n[t]=e,this.$emit("update:modelValue",n),this.$emit("change")},moveUp(t){const e=Object.keys(this.modelValue),n=e.indexOf(t);if(n>0){const r={};e.forEach((i,o)=>{o===n-1&&(r[t]=this.modelValue[t]),i!==t&&(r[i]=this.modelValue[i])}),this.$emit("update:modelValue",r),this.$emit("change")}},moveDown(t){const e=Object.keys(this.modelValue),n=e.indexOf(t);if(n{i!==t&&(r[i]=this.modelValue[i]),o===n+1&&(r[t]=this.modelValue[t])}),this.$emit("update:modelValue",r),this.$emit("change")}}}},pWn={class:"max-w-4xl mx-auto p-4"},hWn={class:"flex flex-col sm:flex-row mb-4 gap-2"},TWn=["placeholder"],mWn=["placeholder"],gWn={key:0,class:"space-y-4"},_Wn={class:"flex-grow mb-2 sm:mb-0 sm:mr-4 w-full sm:w-auto"},QWn=["for"],vWn=["id","value","onInput"],yWn={class:"flex-grow mb-2 sm:mb-0 sm:mr-4 w-full sm:w-auto"},bWn=["for"],EWn=["id","value","onInput"],xWn={class:"flex items-center space-x-2"},SWn=["onClick"],LWn=["onClick"],CWn=["onClick"],AWn={key:1,class:"mt-6"};function wWn(t,e,n,r,i,o){return k(),P("div",pWn,[g("div",hWn,[te(g("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=s=>i.newKey=s),placeholder:n.keyName,onKeyup:e[1]||(e[1]=ri((...s)=>o.addItem&&o.addItem(...s),["enter"])),class:"flex-grow px-4 py-2 border border-gray-300 rounded dark:bg-gray-700 dark:text-white text-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,40,TWn),[[Ne,i.newKey]]),te(g("input",{type:"text","onUpdate:modelValue":e[2]||(e[2]=s=>i.newValue=s),placeholder:n.valueName,onKeyup:e[3]||(e[3]=ri((...s)=>o.addItem&&o.addItem(...s),["enter"])),class:"flex-grow px-4 py-2 border border-gray-300 rounded dark:bg-gray-700 dark:text-white text-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,40,mWn),[[Ne,i.newValue]]),g("button",{onClick:e[4]||(e[4]=(...s)=>o.addItem&&o.addItem(...s)),class:"bg-blue-500 text-white px-6 py-2 rounded hover:bg-blue-600 text-lg transition duration-300 ease-in-out"},"Add")]),Object.keys(n.modelValue).length>0?(k(),P("ul",gWn,[(k(!0),P(ze,null,lt(n.modelValue,(s,a)=>(k(),P("li",{key:a,class:We(["flex flex-col sm:flex-row items-center p-4 bg-white dark:bg-gray-800 rounded-lg shadow-md hover:shadow-lg transition duration-300 ease-in-out",{"bg-gray-100 dark:bg-gray-700":i.draggingKey===a}])},[g("div",_Wn,[g("label",{for:"key-"+a,class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},ue(n.keyName),9,QWn),g("input",{id:"key-"+a,value:a,onInput:l=>o.updateKey(a,l.target.value),class:"w-full px-3 py-2 border border-gray-300 rounded dark:bg-gray-600 dark:text-white text-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,40,vWn)]),g("div",yWn,[g("label",{for:"value-"+a,class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},ue(n.valueName),9,bWn),g("input",{id:"value-"+a,value:s,onInput:l=>o.updateValue(a,l.target.value),class:"w-full px-3 py-2 border border-gray-300 rounded dark:bg-gray-600 dark:text-white text-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"},null,40,EWn)]),g("div",xWn,[g("button",{onClick:l=>o.removeItem(a),class:"text-red-500 hover:text-red-700 p-2 rounded-full hover:bg-red-100 dark:hover:bg-red-900 transition duration-300 ease-in-out"},e[6]||(e[6]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",viewBox:"0 0 20 20",fill:"currentColor"},[g("path",{"fill-rule":"evenodd",d:"M9 2a1 1 0 00-.894.553L7.382 4H4a1 1 0 000 2v10a2 2 0 002 2h8a2 2 0 002-2V6a1 1 0 100-2h-3.382l-.724-1.447A1 1 0 0011 2H9zM7 8a1 1 0 012 0v6a1 1 0 11-2 0V8zm5-1a1 1 0 00-1 1v6a1 1 0 102 0V8a1 1 0 00-1-1z","clip-rule":"evenodd"})],-1)]),8,SWn),g("button",{onClick:l=>o.moveUp(a),class:"bg-gray-200 dark:bg-gray-600 hover:bg-gray-300 dark:hover:bg-gray-500 p-2 rounded-full transition duration-300 ease-in-out"},e[7]||(e[7]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",viewBox:"0 0 20 20",fill:"currentColor"},[g("path",{"fill-rule":"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z","clip-rule":"evenodd"})],-1)]),8,LWn),g("button",{onClick:l=>o.moveDown(a),class:"bg-gray-200 dark:bg-gray-600 hover:bg-gray-300 dark:hover:bg-gray-500 p-2 rounded-full transition duration-300 ease-in-out"},e[8]||(e[8]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",viewBox:"0 0 20 20",fill:"currentColor"},[g("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]),8,CWn)])],2))),128))])):ie("",!0),Object.keys(n.modelValue).length>0?(k(),P("div",AWn,[g("button",{onClick:e[5]||(e[5]=(...s)=>o.removeAll&&o.removeAll(...s)),class:"bg-red-500 text-white px-6 py-2 rounded hover:bg-red-600 text-lg transition duration-300 ease-in-out"},"Remove All")])):ie("",!0)])}const MWn=Et(fWn,[["render",wWn]]),OWn="/";ye.defaults.baseURL="/";const RWn={components:{AddModelDialog:Ajn,ModelEntry:yzn,PersonalityViewer:wzn,PersonalityEntry:PU,BindingEntry:vjn,ChoiceDialog:nE,Card:I9,StringListManager:dWn,DictManager:MWn,RadioOptions:Zjn},data(){return{posts_headers:{accept:"application/json","Content-Type":"application/json"},isUploading:!1,defaultModelImgPlaceholder:ui,snd_input_devices:[],snd_input_devices_indexes:[],snd_output_devices:[],snd_output_devices_indexes:[],voices:[],voice_languages:{Arabic:"ar","Brazilian Portuguese":"pt",Chinese:"zh-cn",Czech:"cs",Dutch:"nl",English:"en",French:"fr",German:"de",Italian:"it",Polish:"pl",Russian:"ru",Spanish:"es",Turkish:"tr",Japanese:"ja",Korean:"ko",Hungarian:"hu",Hindi:"hi"},storeLogo:vo,binding_changed:!1,SVGGPU:Xjn,models_zoo:[],models_zoo_initialLoadCount:10,models_zoo_loadMoreCount:5,models_zoo_loadedEntries:[],models_zoo_scrollThreshold:200,sortOptions:[{label:"Sort by Date",value:0},{label:"Sort by Rank",value:1},{label:"Sort by Name",value:2},{label:"Sort by Maker",value:3},{label:"Sort by Quantizer",value:4}],comfyui_models:[],show_only_installed_models:!1,reference_path:"",audioVoices:[],has_updates:!1,variant_choices:[],variantSelectionDialogVisible:!1,currenModelToInstall:null,loading_text:"",personality_category:null,addModelDialogVisibility:!1,modelPath:"",personalitiesFiltered:[],modelsFiltered:[],collapsedArr:[],all_collapsed:!0,data_conf_collapsed:!0,internet_conf_collapsed:!0,servers_conf_collapsed:!0,mainconf_collapsed:!0,smartrouterconf_collapsed:!0,bec_collapsed:!0,sort_type:0,is_loading_zoo:!1,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,ezl_collapsed:!1,bzl_collapsed:!1,extCatgArr:[],persCatgArr:[],persArr:[],showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,isMounted:!1,bUrl:OWn,searchPersonality:"",searchModel:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchModelTimerInterval:1500,searchPersonalityInProgress:!1,searchModelInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){try{this.$store.state.loading_infos="Getting Hardware usage",await this.refreshHardwareUsage(this.$store)}catch(t){console.log("Error cought:",t)}et.on("loading_text",this.on_loading_text),this.updateHasUpdates()},methods:{triggerFileInput(){this.$refs.fileInput.click()},async handleFileUpload(t){const e=t.target.files;if(!e.length)return;this.isUploading=!0;const n=new FormData;n.append("database_name",this.databaseName),Array.from(e).forEach(r=>{n.append("files",r)});try{const r=await ye.post("/upload_files_2_rag_db",n,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:i=>{const o=Math.round(i.loaded*100/i.total);this.$emit("upload-progress",o)}});this.$emit("upload-success",r.data)}catch(r){console.error("Upload failed:",r),this.$emit("upload-error",r)}finally{this.isUploading=!1,t.target.value=""}},updateRagDatabase(t,e,n){n&&(n==="mounted"?this.configFile.datalakes[t][n]=!!e:this.configFile.datalakes[t][n]=e,this.settingsChanged=!0)},getServedDatabaseAlias(t){return this.configFile.rag_local_services[t].alias},getServedDatabaseType(t){return this.configFile.rag_local_services[t].type},getServedDatabaseUrl(t){return this.configFile.rag_local_services[t].url},getServedDatabaseStatus(t){return this.configFile.rag_local_services[t].start_at_startup||!1},getServedDatabaseKey(t){return this.configFile.rag_local_services[t].key||""},getDataLakeAlias(t){return this.configFile.datalakes[t].alias},getDataLakeType(t){return this.configFile.datalakes[t].type},getDataLakeUrl(t){return this.configFile.datalakes[t].url},getDataLakePath(t){return this.configFile.datalakes[t].path},getDataLakeKey(t){return this.configFile.datalakes[t].key||""},getDataLakeStatus(t){return this.configFile.datalakes[t].mounted||!1},updateAlias(t,e){this.configFile.datalakes[t].alias=e,this.settingsChanged=!0},updateDatabaseType(t,e){this.configFile.datalakes[t].type=e,this.settingsChanged=!0},updateDataLakeUrl(t,e){this.configFile.datalakes[t].url=e,this.settingsChanged=!0},updateDataLakePath(t,e){this.configFile.datalakes[t].path=e,this.settingsChanged=!0},updateDatabaseKey(t,e){this.configFile.datalakes[t].key=e,this.settingsChanged=!0},updateMounted(t,e){this.configFile.datalakes[t].mounted=e,this.settingsChanged=!0},updateStartAtStartup(t,e){this.configFile.datalakes[t].start_at_startup=e,this.settingsChanged=!0},addDatabaseService(){this.configFile.rag_local_services||(this.configFile.rag_local_services=[]),this.configFile.rag_local_services.push({alias:"datalake",type:"lightrag",url:"http://localhost:9621/",path:"",input_path:"",working_path:"",key:"",start_at_startup:!1}),this.settingsChanged=!0},addDataLake(){this.configFile.datalakes||(this.configFile.datalakes=[]),this.configFile.datalakes.push({alias:"datalake",type:"lightrag",url:"http://localhost:9621/",path:"",key:"",mounted:!1}),this.settingsChanged=!0},removeDataLake(t){console.log("Removing remote database"),this.configFile.datalakes.splice(t,1),console.log(this.configFile.datalakes),this.settingsChanged=!0},removeServedDataBase(t){console.log("Removing remote database"),this.configFile.rag_local_services.splice(t,1),console.log(this.configFile.rag_local_services),this.settingsChanged=!0},fetchElevenLabsVoices(){fetch("https://api.elevenlabs.io/v1/voices").then(t=>t.json()).then(t=>{this.voices=t.voices}).catch(t=>console.error("Error fetching voices:",t))},async refreshHardwareUsage(t){await t.dispatch("refreshDiskUsage"),await t.dispatch("refreshRamUsage"),await t.dispatch("refreshVramUsage")},addDataSource(){this.$store.state.config.datalakes.push({alias:"",is_local:!0,path:"",mounted:!1,key:""}),this.settingsChanged=!0},removeDataSource(t){this.$store.state.config.datalakes.splice(t,1),this.settingsChanged=!0},async vectorize_folder(t){await ye.post("/vectorize_folder",{client_id:this.$store.state.client_id,rag_database:this.$store.state.config.datalakes[t]},this.posts_headers)},async lightrag_select_input_folder(t){try{et.on("lightrag_input_folder_added",e=>{console.log("lightrag_input_folder_added"),console.log(e),e?(console.log(this.$store.state.config.rag_local_services),console.log(t),this.$store.state.config.rag_local_services[t].input_path=e.path,this.settingsChanged=!0):this.$store.state.toast.showToast("Failed to select a folder",4,!1)}),await ye.post("/select_lightrag_input_folder",{client_id:this.$store.state.client_id},this.posts_headers)}catch{this.$store.state.toast.showToast("Failed to select a folder",4,!1)}},async lightrag_select_output_folder(t){try{et.on("lightrag_output_folder_added",e=>{console.log("lightrag_output_folder_added"),console.log(e),e?(console.log(this.$store.state.config.rag_local_services),console.log(t),this.$store.state.config.rag_local_services[t].working_path=e.path,this.settingsChanged=!0):this.$store.state.toast.showToast("Failed to select a folder",4,!1)}),await ye.post("/select_lightrag_output_folder",{client_id:this.$store.state.client_id},this.posts_headers)}catch{this.$store.state.toast.showToast("Failed to select a folder",4,!1)}},async lollms_vectordb_select_folder(t){try{et.on("lollmsvectordb_datalake_added",e=>{console.log("lollmsvectordb_datalake_added"),console.log(e),e?(console.log(this.$store.state.config.datalakes),console.log(t),this.$store.state.config.datalakes[t]={alias:e.datalake_name,type:"lollmsvectordb",path:e.path,mounted:!1,key:""},this.settingsChanged=!0):this.$store.state.toast.showToast("Failed to select a folder",4,!1)}),await ye.post("/select_lollmsvectordb_input_folder",{client_id:this.$store.state.client_id},this.posts_headers)}catch{this.$store.state.toast.showToast("Failed to select a folder",4,!1)}},handleTemplateSelection(t){console.log("handleTemplateSelection");const e=t.target.value;console.log("handleTemplateSelection: ",e),e==="lollms"?(console.log("Using lollms template"),this.configFile.start_header_id_template="!@>",this.configFile.system_message_template="system",this.configFile.end_header_id_template=": ",this.configFile.separator_template=`
`,this.configFile.start_user_header_id_template="!@>",this.configFile.end_user_header_id_template=": ",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="!@>",this.configFile.end_ai_header_id_template=": ",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="lollms_simplified"?(console.log("Using lollms template"),this.configFile.start_header_id_template="@>",this.configFile.system_message_template="system",this.configFile.end_header_id_template=": ",this.configFile.separator_template=`
`,this.configFile.start_user_header_id_template="@>",this.configFile.end_user_header_id_template=": ",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="@>",this.configFile.end_ai_header_id_template=": ",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="bare"?(console.log("Using lollms template"),this.configFile.start_header_id_template="",this.configFile.system_message_template="system",this.configFile.end_header_id_template=": ",this.configFile.separator_template=`
-`,this.configFile.start_user_header_id_template="",this.configFile.end_user_header_id_template=": ",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="",this.configFile.end_ai_header_id_template=": ",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="llama3"?(console.log("Using llama3 template"),this.configFile.start_header_id_template="<|start_header_id|>",this.configFile.system_message_template="system",this.configFile.end_header_id_template="<|end_header_id|>",this.configFile.separator_template="<|eot_id|>",this.configFile.start_user_header_id_template="<|start_header_id|>",this.configFile.end_user_header_id_template="<|end_header_id|>",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="<|start_header_id|>",this.configFile.end_ai_header_id_template="<|end_header_id|>",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="mistral"?(console.log("Using mistral template"),this.configFile.start_header_id_template="[INST]",this.configFile.system_message_template=" Using this information",this.configFile.end_header_id_template=": ",this.configFile.separator_template=`
+`,this.configFile.start_user_header_id_template="",this.configFile.end_user_header_id_template=": ",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="",this.configFile.end_ai_header_id_template=": ",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="llama3"?(console.log("Using llama3 template"),this.configFile.start_header_id_template="<|start_header_id|>",this.configFile.system_message_template="system",this.configFile.end_header_id_template="<|end_header_id|>",this.configFile.separator_template="<|eot_id|>",this.configFile.start_user_header_id_template="<|start_header_id|>",this.configFile.end_user_header_id_template="<|end_header_id|>",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="<|start_header_id|>",this.configFile.end_ai_header_id_template="<|end_header_id|>",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="lucie"?(console.log("Using lucie template"),this.configFile.start_header_id_template="<|start_header_id|>",this.configFile.system_message_template="system",this.configFile.end_header_id_template=`<|end_header_id|>
+
+`,this.configFile.separator_template="<|eot_id|>",this.configFile.start_user_header_id_template="<|start_header_id|>",this.configFile.end_user_header_id_template=`<|end_header_id|>
+
+`,this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="<|start_header_id|>",this.configFile.end_ai_header_id_template=`<|end_header_id|>
+
+`,this.configFile.end_ai_message_id_template="",this.settingsChanged=!0):e==="mistral"?(console.log("Using mistral template"),this.configFile.start_header_id_template="[INST]",this.configFile.system_message_template=" Using this information",this.configFile.end_header_id_template=": ",this.configFile.separator_template=`
`,this.configFile.start_user_header_id_template="[INST]",this.configFile.end_user_header_id_template=": ",this.configFile.end_user_message_id_template="[/INST]",this.configFile.start_ai_header_id_template="[INST]",this.configFile.end_ai_header_id_template=": ",this.configFile.end_ai_message_id_template="[/INST]",this.settingsChanged=!0):e==="deepseek"&&(console.log("Using deepseek template"),this.configFile.start_header_id_template="",this.configFile.system_message_template=" Using this information",this.configFile.end_header_id_template=": ",this.configFile.separator_template=`
`,this.configFile.start_user_header_id_template="",this.configFile.end_user_header_id_template=": ",this.configFile.end_user_message_id_template="",this.configFile.start_ai_header_id_template="",this.configFile.end_ai_header_id_template=": ",this.configFile.end_ai_message_id_template="",this.settingsChanged=!0)},install_model(){},reinstallDiffusersService(){ye.post("/install_diffusers",{client_id:this.$store.state.client_id},this.posts_headers).then(t=>{}).catch(t=>{console.error(t)})},upgradeDiffusersService(){ye.post("install_diffusers",{client_id:this.$store.state.client_id},this.posts_headers).then(t=>{}).catch(t=>{console.error(t)})},reinstallXTTSService(){ye.post("install_xtts",{client_id:this.$store.state.client_id},this.posts_headers).then(t=>{}).catch(t=>{console.error(t)})},reinstallWhisperService(){ye.post("install_whisper",{client_id:this.$store.state.client_id},this.posts_headers).then(t=>{}).catch(t=>{console.error(t)})},reinstallSDService(){ye.post("/install_sd",{client_id:this.$store.state.client_id},this.posts_headers).then(t=>{}).catch(t=>{console.error(t)})},upgradeSDService(){ye.post("upgrade_sd",{client_id:this.$store.state.client_id},this.posts_headers).then(t=>{}).catch(t=>{console.error(t)})},startSDService(){ye.post("start_sd",{client_id:this.$store.state.client_id},this.posts_headers).then(t=>{}).catch(t=>{console.error(t)})},showSD(){ye.post("show_sd",{client_id:this.$store.state.client_id},this.posts_headers).then(t=>{}).catch(t=>{console.error(t)})},reinstallComfyUIService(){ye.post("install_comfyui",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},upgradeComfyUIService(){ye.post("upgrade_comfyui",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},startComfyUIService(){ye.post("start_comfyui",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},showComfyui(){ye.post("show_comfyui",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},reinstallvLLMService(){ye.post("install_vllm",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},startvLLMService(){ye.post("start_vllm",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},startollamaService(){ye.post("start_ollama",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},reinstallPetalsService(){ye.post("install_petals",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},reinstallOLLAMAService(){ye.post("install_ollama",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},reinstallElasticSearchService(){ye.post("install_vllm",{client_id:this.$store.state.client_id}).then(t=>{}).catch(t=>{console.error(t)})},getSeviceVoices(){ye.get("list_voices").then(t=>{this.voices=t.data.voices}).catch(t=>{console.error(t)})},load_more_models(){this.models_zoo_initialLoadCount+10{Xe.replace()}),this.binding_changed&&!this.mzc_collapsed&&(this.modelsZoo==null||this.modelsZoo.length==0)&&(console.log("Refreshing models"),await this.$store.dispatch("refreshConfig"),this.models_zoo=[],this.refreshModelsZoo(),this.binding_changed=!1)},async selectSortOption(t){this.$store.state.sort_type=t,this.updateModelsZoo(),console.log(`Selected sorting:${t}`),console.log(`models:${this.models_zoo}`)},handleRadioSelected(t){this.isLoading=!0,this.selectSortOption(t).then(()=>{this.isLoading=!1})},filter_installed(t){return console.log("filtering"),t.filter(e=>e.isInstalled===!0)},getVoices(){"speechSynthesis"in window&&(console.log("voice synthesis"),this.audioVoices=speechSynthesis.getVoices(),console.log("Voices:"+this.audioVoices),!this.audio_out_voice&&this.audioVoices.length>0&&(this.audio_out_voice=this.audioVoices[0].name),speechSynthesis.onvoiceschanged=()=>{})},async updateHasUpdates(){let t=await this.api_get_req("check_update");this.has_updates=t.update_availability,console.log("has_updates",this.has_updates)},onVariantChoiceSelected(t){this.selected_variant=t},oncloseVariantChoiceDialog(){this.variantSelectionDialogVisible=!1},onvalidateVariantChoice(t){this.variantSelectionDialogVisible=!1,this.currenModelToInstall.installing=!0;let e=this.currenModelToInstall;if(e.linkNotValid){e.installing=!1,this.$store.state.toast.showToast("Link is not valid, file does not exist",4,!1);return}let n="https://huggingface.co/"+e.model.quantizer+"/"+e.model.name+"/resolve/main/"+this.selected_variant.name;this.showProgress=!0,this.progress=0,this.addModel={model_name:this.selected_variant.name,binding_folder:this.configFile.binding_name,model_url:n},console.log("installing...",this.addModel);const r=i=>{if(console.log("received something"),i.status&&i.progress<=100){if(this.addModel=i,console.log("Progress",i),e.progress=i.progress,e.speed=i.speed,e.total_size=i.total_size,e.downloaded_size=i.downloaded_size,e.start_time=i.start_time,e.installing=!0,e.progress==100){const o=this.models_zoo.findIndex(s=>s.name===e.model.name);this.models_zoo[o].isInstalled=!0,this.showProgress=!1,e.installing=!1,console.log("Received succeeded"),et.off("install_progress",r),console.log("Installed successfully"),this.$store.state.toast.showToast(`Model:
`+e.model.name+`
@@ -312,7 +318,7 @@ The possibilities are endless, they are now yours to mold and customize as you s
Verify that the personality is not already copied there.`,4,!1)}).catch(e=>{this.$store.state.toast.showToast(`Personality couldn't be copied to the custom personalities folder:
`,4,!1),console.error(e)})},async remountPersonality(t){await this.unmountPersonality(t),await this.mountPersonality(t)},onPersonalityReinstall(t){console.log("on reinstall ",t),this.isLoading=!0,console.log("Personality path:",t.personality.path),ye.post("/reinstall_personality",{client_id:this.$store.state.client_id,name:t.personality.path},{headers:this.posts_headers}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_personality",e),e.data.status?this.$store.state.toast.showToast("Personality reinstalled successfully!",4,!0):this.$store.state.toast.showToast("Could not reinstall personality",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$store.state.toast.showToast(`Could not reinstall personality
`+e.message,4,!1),{status:!1}))},personalityImgPlacehodler(t){t.target.src=vo},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))},searchModel_func(){this.filterModels()}},async mounted(){console.log("Getting voices"),this.getVoices(),console.log("Constructing"),this.load_everything(),this.getSeviceVoices();try{console.log("Loading input devices list");const t=await ye.get("/get_snd_input_devices");this.snd_input_devices=t.data.device_names,this.snd_input_devices_indexes=t.data.device_indexes}catch{console.log("Couldin't list input devices")}try{console.log("Loading output devices list");const t=await ye.get("/get_snd_output_devices");this.snd_output_devices=t.data.device_names,this.snd_output_devices_indexes=t.data.device_indexes}catch{console.log("Couldin't list output devices")}try{if(console.log("Getting comfyui models"),this.configFile.activate_lollms_tti_server&&this.configFile.active_tti_service=="comfyui"){const t=await ye.get("/list_comfyui_models");t.data.status&&(this.comfyui_models=t.data.models)}}catch{console.log("Couldin't list output devices")}this.fetchElevenLabsVoices()},activated(){},computed:{full_template:{get(){return(this.configFile.start_header_id_template+this.configFile.system_message_template+this.configFile.end_header_id_template+" system message"+this.configFile.separator_template+this.configFile.start_user_header_id_template+"user name"+this.configFile.end_user_header_id_template+" User prompt"+this.configFile.separator_template+this.configFile.end_user_message_id_template+this.configFile.separator_template+this.configFile.start_ai_header_id_template+"ai personality"+this.configFile.end_ai_header_id_template+"ai response"+this.configFile.end_ai_message_id_template).replace(`
-`,"
")}},rendered_models_zoo:{get(){return this.searchModel?this.show_only_installed_models?this.modelsFiltered.filter(t=>t.isInstalled===!0):this.modelsFiltered.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)):(console.log("this.models_zoo"),console.log(this.models_zoo),console.log(this.models_zoo_initialLoadCount),this.show_only_installed_models?this.models_zoo.filter(t=>t.isInstalled===!0):this.models_zoo.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)))}},imgBinding:{get(){if(!this.isMounted)return ui;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return ui}}},imgModel:{get(){try{let t=this.$store.state.modelsZoo.findIndex(e=>e.name==this.$store.state.selectedModel);return t>=0?(console.log(`model avatar : ${this.$store.state.modelsZoo[t].icon}`),this.$store.state.modelsZoo[t].icon):ui}catch{console.log("error")}if(!this.isMounted)return ui;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return ui}}},isReady:{get(){return this.$store.state.ready}},audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(t){this.$store.state.config.audio_out_voice=t}},openaiWhisperModels(){return["whisper-1"]},whisperModels(){return["tiny.en","tiny","base.en","base","small.en","small","medium.en","medium","large-v1","large-v2","large-v3","large"]},audioLanguages(){return[{code:"en-US",name:"English (US)"},{code:"en-GB",name:"English (UK)"},{code:"es-ES",name:"Spanish (Spain)"},{code:"es-MX",name:"Spanish (Mexico)"},{code:"fr-FR",name:"French (France)"},{code:"fr-CA",name:"French (Canada)"},{code:"de-DE",name:"German (Germany)"},{code:"it-IT",name:"Italian (Italy)"},{code:"pt-BR",name:"Portuguese (Brazil)"},{code:"pt-PT",name:"Portuguese (Portugal)"},{code:"ru-RU",name:"Russian (Russia)"},{code:"zh-CN",name:"Chinese (China)"},{code:"ja-JP",name:"Japanese (Japan)"},{code:"ar-SA",name:"Arabic (Saudi Arabia)"},{code:"tr-TR",name:"Turkish (Turkey)"},{code:"ms-MY",name:"Malay (Malaysia)"},{code:"ko-KR",name:"Korean (South Korea)"},{code:"nl-NL",name:"Dutch (Netherlands)"},{code:"sv-SE",name:"Swedish (Sweden)"},{code:"da-DK",name:"Danish (Denmark)"},{code:"fi-FI",name:"Finnish (Finland)"},{code:"no-NO",name:"Norwegian (Norway)"},{code:"pl-PL",name:"Polish (Poland)"},{code:"el-GR",name:"Greek (Greece)"},{code:"hu-HU",name:"Hungarian (Hungary)"},{code:"cs-CZ",name:"Czech (Czech Republic)"},{code:"th-TH",name:"Thai (Thailand)"},{code:"hi-IN",name:"Hindi (India)"},{code:"he-IL",name:"Hebrew (Israel)"},{code:"id-ID",name:"Indonesian (Indonesia)"},{code:"vi-VN",name:"Vietnamese (Vietnam)"},{code:"uk-UA",name:"Ukrainian (Ukraine)"},{code:"ro-RO",name:"Romanian (Romania)"},{code:"bg-BG",name:"Bulgarian (Bulgaria)"},{code:"hr-HR",name:"Croatian (Croatia)"},{code:"sr-RS",name:"Serbian (Serbia)"},{code:"sk-SK",name:"Slovak (Slovakia)"},{code:"sl-SI",name:"Slovenian (Slovenia)"},{code:"et-EE",name:"Estonian (Estonia)"},{code:"lv-LV",name:"Latvian (Latvia)"},{code:"lt-LT",name:"Lithuanian (Lithuania)"},{code:"ka-GE",name:"Georgian (Georgia)"},{code:"hy-AM",name:"Armenian (Armenia)"},{code:"az-AZ",name:"Azerbaijani (Azerbaijan)"},{code:"kk-KZ",name:"Kazakh (Kazakhstan)"},{code:"uz-UZ",name:"Uzbek (Uzbekistan)"},{code:"kkj-CM",name:"Kako (Cameroon)"},{code:"my-MM",name:"Burmese (Myanmar)"},{code:"ne-NP",name:"Nepali (Nepal)"},{code:"si-LK",name:"Sinhala (Sri Lanka)"}]},configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},userName:{get(){return this.$store.state.config.user_name},set(t){this.$store.state.config.user_name=t}},user_avatar:{get(){return this.$store.state.config.user_avatar!=""?"/user_infos/"+this.$store.state.config.user_avatar:vo},set(t){this.$store.state.config.user_avatar=t}},hardware_mode:{get(){return this.$store.state.config.hardware_mode},set(t){this.$store.state.config.hardware_mode=t}},auto_update:{get(){return this.$store.state.config.auto_update},set(t){this.$store.state.config.auto_update=t}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(t){this.$store.state.config.auto_speak=t}},auto_read:{get(){return this.$store.state.config.auto_read},set(t){this.$store.state.config.auto_read=t}},xtts_current_language:{get(){return this.$store.state.config.xtts_current_language},set(t){console.log("Current xtts voice set to ",t),this.$store.state.config.xtts_current_language=t}},xtts_current_voice:{get(){return this.$store.state.config.xtts_current_voice===null||this.$store.state.config.xtts_current_voice===void 0?(console.log("current voice",this.$store.state.config.xtts_current_voice),"main_voice"):this.$store.state.config.xtts_current_voice},set(t){t=="main_voice"||t===void 0?(console.log("Current voice set to None"),this.$store.state.config.xtts_current_voice=null):(console.log("Current voice set to ",t),this.$store.state.config.xtts_current_voice=t)}},audio_pitch:{get(){return this.$store.state.config.audio_pitch},set(t){this.$store.state.config.audio_pitch=t}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(t){this.$store.state.config.audio_in_language=t}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(t){this.$store.state.config.use_user_name_in_discussions=t}},discussion_db_name:{get(){return this.$store.state.config.discussion_db_name},set(t){this.$store.state.config.discussion_db_name=t}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}},bindingsZoo:{get(){return this.$store.state.bindingsZoo},set(t){this.$store.commit("setbindingsZoo",t)}},modelsArr:{get(){return this.$store.state.modelsArr},set(t){this.$store.commit("setModelsArr",t)}},models:{get(){return this.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},installed_models:{get(){return this.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},diskUsage:{get(){return this.$store.state.diskUsage},set(t){this.$store.commit("setDiskUsage",t)}},ramUsage:{get(){return this.$store.state.ramUsage},set(t){this.$store.commit("setRamUsage",t)}},vramUsage:{get(){return this.$store.state.vramUsage},set(t){this.$store.commit("setVramUsage",t)}},disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return console.log(`this.diskUsage : ${this.diskUsage}`),this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},model_name(){if(this.isMounted)return this.configFile.model_name},binding_name(){if(!this.isMounted)return null;const t=this.bindingsZoo.findIndex(e=>e.folder===this.configFile.binding_name);return t>-1?this.bindingsZoo[t].name:null},active_pesonality(){if(!this.isMounted)return null;const t=this.$store.state.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);return t>-1?this.$store.state.personalities[t].name:null},speed_computed(){return Xo(this.addModel.speed)},total_size_computed(){return Xo(this.addModel.total_size)},downloaded_size_computed(){return Xo(this.addModel.downloaded_size)}},watch:{bec_collapsed(){Ke(()=>{Xe.replace()})},pc_collapsed(){Ke(()=>{Xe.replace()})},mc_collapsed(){Ke(()=>{Xe.replace()})},sc_collapsed(){Ke(()=>{Xe.replace()})},showConfirmation(){Ke(()=>{Xe.replace()})},mzl_collapsed(){Ke(()=>{Xe.replace()})},pzl_collapsed(){Ke(()=>{Xe.replace()})},ezl_collapsed(){Ke(()=>{Xe.replace()})},bzl_collapsed(){Ke(()=>{Xe.replace()})},all_collapsed(t){this.collapseAll(t),Ke(()=>{Xe.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,Ke(()=>{Xe.replace()})},isLoading(){Ke(()=>{Xe.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},mzdc_collapsed(){Ke(()=>{Xe.replace()})}},async beforeRouteLeave(t){await this.$router.isReady()}},NWn={class:"container pt-12 flex flex-row shadow-lg p-10 pt-0 overflow-y-scroll w-full background-color scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},DWn={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg panels-color shadow-lg"},IWn={key:0,class:"flex gap-3 flex-1 items-center duration-75"},kWn={key:1,class:"flex gap-3 flex-1 items-center"},PWn={class:"flex gap-3 flex-1 items-center justify-end"},HWn={class:"flex gap-3 items-center"},VWn={key:0,class:"flex gap-3 items-center"},FWn={key:1,role:"status"},BWn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},$Wn={class:"flex flex-row p-3"},UWn={class:"text-base font-semibold cursor-pointer select-none items-center"},GWn={class:"flex gap-2 items-center"},qWn={key:0},zWn=["src"],jWn={class:"font-bold font-large text-lg"},WWn={key:1},YWn={class:"flex gap-2 items-center"},KWn=["src"],ZWn={class:"font-bold font-large text-lg"},XWn={class:"font-bold font-large text-lg"},JWn={class:"font-bold font-large text-lg"},eYn={class:"mb-2"},tYn={class:"flex flex-col mx-2"},nYn={class:"p-2"},rYn={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},iYn={class:"mb-2"},oYn={class:"flex flex-col mx-2"},sYn={class:"p-2"},aYn={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},lYn={class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},cYn=["src"],uYn={class:"flex flex-col mx-2"},dYn={class:"p-2"},fYn={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},pYn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},hYn={class:"flex flex-row p-3"},TYn={class:"flex flex-col mb-2 px-3 pb-2"},mYn={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},gYn={class:"flex flex-col space-y-4"},_Yn={class:"flex items-center"},QYn={class:"flex items-center"},vYn={class:"flex items-center"},yYn={class:"flex items-start"},bYn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},EYn={class:"flex flex-row p-3"},xYn={class:"flex flex-col mb-2 px-3 pb-2"},SYn={class:"settings-container grid gap-6 p-6 bg-gray-50 dark:bg-gray-700 rounded-lg border border-gray-300 dark:border-gray-600"},LYn={class:"setting-section"},CYn={class:"settings-grid grid gap-4"},AYn={class:"setting-row flex items-center gap-4"},wYn={class:"setting-row flex items-center gap-4"},MYn={class:"setting-row flex items-center gap-4"},OYn={class:"setting-content flex items-center gap-4"},RYn={for:"avatar-upload",class:"cursor-pointer"},NYn=["src"],DYn={class:"setting-section"},IYn={class:"settings-grid grid gap-4"},kYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},PYn={class:"relative inline-block w-12 h-6"},HYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},VYn={class:"relative inline-block w-12 h-6"},FYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},BYn={class:"relative inline-block w-12 h-6"},$Yn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},UYn={class:"relative inline-block w-12 h-6"},GYn={class:"setting-section"},qYn={class:"settings-grid grid gap-4"},zYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},jYn={class:"relative inline-block w-12 h-6"},WYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},YYn={class:"relative inline-block w-12 h-6"},KYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},ZYn={class:"relative inline-block w-12 h-6"},XYn={class:"setting-section"},JYn={class:"settings-grid grid gap-4"},eKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},tKn={class:"relative inline-block w-12 h-6"},nKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},rKn={class:"relative inline-block w-12 h-6"},iKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},oKn={class:"relative inline-block w-12 h-6"},sKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},aKn={class:"relative inline-block w-12 h-6"},lKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},cKn={class:"relative inline-block w-12 h-6"},uKn={class:"setting-section"},dKn={class:"settings-grid grid gap-4"},fKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},pKn={class:"flex items-center space-x-4"},hKn={class:"w-10 h-10 rounded-full overflow-hidden bg-gray-200 dark:bg-gray-700"},TKn=["src"],mKn=["src"],gKn={class:"flex items-center space-x-2"},_Kn={class:"cursor-pointer bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg"},QKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},vKn={class:"relative inline-block w-12 h-6"},yKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},bKn={class:"relative inline-block w-12 h-6"},EKn={class:"setting-row flex flex-col p-4 bg-red-50 dark:bg-red-900/20 rounded-lg shadow-sm border-2 border-red-200 dark:border-red-800"},xKn={class:"flex items-center justify-between"},SKn={class:"relative inline-block w-12 h-6"},LKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},CKn={class:"relative inline-block w-12 h-6"},AKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},wKn={class:"relative inline-block w-12 h-6"},MKn={class:"grid gap-6 bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md"},OKn={class:"flex flex-col space-y-2"},RKn={class:"grid md:grid-cols-2 gap-4"},NKn={class:"space-y-2"},DKn={class:"space-y-2"},IKn={class:"grid md:grid-cols-2 gap-4"},kKn={class:"space-y-2"},PKn={class:"space-y-2"},HKn={class:"grid md:grid-cols-2 gap-4"},VKn={class:"space-y-2"},FKn={class:"space-y-2"},BKn={class:"grid md:grid-cols-2 gap-4"},$Kn={class:"space-y-2"},UKn={class:"space-y-2"},GKn={class:"space-y-2"},qKn={class:"space-y-2"},zKn={class:"space-y-2"},jKn={class:"p-4 bg-gray-100 dark:bg-gray-900 rounded-md"},WKn=["innerHTML"],YKn={class:"flex items-center space-x-4"},KKn={class:"relative inline-block w-10 mr-2 align-middle select-none transition duration-200 ease-in"},ZKn={class:"grid gap-6 bg-gray-50 dark:bg-gray-700 p-6 rounded-lg shadow-md"},XKn={class:"flex flex-col md:flex-row md:items-center gap-4"},JKn={class:"flex flex-col md:flex-row md:items-start gap-4"},eZn={class:"space-y-4"},tZn={class:"flex flex-col md:flex-row md:items-center gap-4"},nZn={class:"flex-1 space-y-3"},rZn={class:"flex items-center space-x-3 cursor-pointer"},iZn={class:"flex items-center space-x-3 cursor-pointer"},oZn={class:"flex items-center space-x-3 cursor-pointer"},sZn={class:"flex flex-col md:flex-row md:items-center gap-4"},aZn={class:"flex items-center gap-4"},lZn={for:"avatar-upload",class:"cursor-pointer"},cZn=["src"],uZn={class:"space-y-4"},dZn={class:"flex flex-col md:flex-row md:items-center gap-4"},fZn={class:"flex flex-col md:flex-row md:items-center gap-4"},pZn={class:"settings-container p-6 space-y-4 bg-gray-50 dark:bg-gray-800 rounded-xl shadow-md"},hZn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},TZn={class:"relative"},mZn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},gZn={class:"relative"},_Zn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},QZn={class:"relative"},vZn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},yZn={class:"relative"},bZn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},EZn={class:"relative"},xZn={class:"bg-gray-50 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-lg p-4 space-y-4"},SZn={class:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4"},LZn={class:"flex items-center"},CZn={class:"relative inline-flex items-center cursor-pointer"},AZn={class:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4"},wZn={class:"flex-1"},MZn={class:"p-4 bg-gray-50 dark:bg-gray-700 rounded-lg shadow-sm border border-gray-200 dark:border-gray-600"},OZn={class:"flex flex-col sm:flex-row items-start sm:items-center gap-2"},RZn={class:"flex-1 w-full"},NZn={class:"settings-container bg-gray-50 dark:bg-gray-700 p-6 rounded-lg shadow-md"},DZn={class:"setting-row mb-4"},IZn={class:"flex items-center justify-between"},kZn={class:"w-64"},PZn={class:"setting-row mb-4"},HZn={class:"flex items-center justify-between"},VZn={class:"w-64"},FZn={class:"setting-row"},BZn={class:"flex items-center justify-between"},$Zn={class:"w-64"},UZn={class:"inline-flex items-center cursor-pointer"},GZn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},qZn={class:"flex flex-row p-3"},zZn={class:"space-y-6"},jZn={class:"space-y-4"},WZn={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-4"},YZn={class:"flex flex-col"},KZn=["value","onInput"],ZZn={class:"flex flex-col"},XZn=["value","onInput"],JZn={class:"flex flex-col lg:col-span-2"},eXn={class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},tXn=["value","onInput"],nXn=["value","onInput"],rXn={key:0,class:"flex flex-col lg:col-span-2"},iXn=["value","onInput"],oXn={class:"flex flex-wrap items-center justify-between mt-4 pt-3 border-t border-gray-200 dark:border-gray-700 gap-2"},sXn={class:"flex flex-wrap items-center gap-3"},aXn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},lXn={class:"relative inline-block w-12 h-6"},cXn=["onUpdate:modelValue"],uXn={key:0,class:"flex gap-2"},dXn=["onClick"],fXn=["onClick"],pXn={class:"inline-flex"},hXn=["onClick"],TXn={class:"space-y-6"},mXn={class:"space-y-4"},gXn={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4"},_Xn={class:"flex flex-col"},QXn=["value","onInput"],vXn={class:"flex flex-col"},yXn=["value","onInput"],bXn={class:"flex flex-col lg:col-span-2"},EXn=["value","onInput"],xXn={class:"flex flex-col lg:col-span-2"},SXn=["value","onInput"],LXn={class:"flex flex-col lg:col-span-2"},CXn=["onUpdate:modelValue"],AXn={class:"flex flex-col lg:col-span-2"},wXn=["onUpdate:modelValue"],MXn={class:"flex items-center justify-between mt-4 pt-3 border-t border-gray-200 dark:border-gray-700"},OXn={class:"flex items-center space-x-4"},RXn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},NXn={class:"relative inline-block w-12 h-6"},DXn=["onUpdate:modelValue"],IXn=["onClick"],kXn=["onClick"],PXn=["onClick"],HXn={class:"bg-gray-50 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-lg p-6 space-y-6"},VXn={class:"flex flex-col md:flex-row md:items-center gap-4"},FXn={class:"flex flex-col md:flex-row md:items-center gap-4"},BXn={class:"flex-1"},$Xn={class:"inline-flex items-center"},UXn={class:"flex flex-col md:flex-row md:items-start gap-4"},GXn={class:"flex-1 space-y-2"},qXn=["disabled"],zXn={key:0,label:"Semantic Models"},jXn={key:1,label:"OpenAI Models"},WXn={key:2,label:"Ollama Models"},YXn={key:3,disabled:""},KXn={class:"flex flex-col md:flex-row md:items-start gap-4"},ZXn={class:"space-y-6"},XXn={class:"flex flex-col md:flex-row md:items-start gap-4"},JXn={class:"flex-1 space-y-2"},eJn={class:"space-y-4"},tJn={class:"flex items-center gap-4"},nJn={class:"flex-1"},rJn={class:"inline-flex items-center"},iJn={class:"space-y-4 bg-gray-50 dark:bg-gray-800 rounded-lg p-6 shadow-sm border border-gray-200 dark:border-gray-700"},oJn={class:"flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-700 p-3 rounded-lg transition-colors"},sJn={class:"flex items-center"},aJn={class:"relative inline-flex items-center cursor-pointer"},lJn={class:"flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-700 p-3 rounded-lg transition-colors"},cJn={class:"flex items-center"},uJn={class:"relative inline-flex items-center cursor-pointer"},dJn={class:"flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-700 p-3 rounded-lg transition-colors"},fJn={class:"flex items-center"},pJn={class:"relative inline-flex items-center cursor-pointer"},hJn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},TJn={class:"flex flex-row p-3"},mJn={class:"grid gap-6 bg-gray-50 dark:bg-gray-700 rounded-lg p-6 border border-gray-300 dark:border-gray-600"},gJn={class:"flex items-center justify-between"},_Jn={class:"relative inline-flex items-center cursor-pointer"},QJn={class:"flex items-center justify-between"},vJn={class:"relative inline-flex items-center cursor-pointer"},yJn={class:"flex items-center justify-between"},bJn={class:"relative inline-flex items-center cursor-pointer"},EJn={class:"flex items-center justify-between"},xJn={class:"relative inline-flex items-center cursor-pointer"},SJn={class:"space-y-6"},LJn={class:"flex flex-col gap-2"},CJn={class:"flex flex-col gap-4"},AJn={class:"flex flex-col gap-2"},wJn={class:"flex flex-col gap-4"},MJn={class:"flex flex-col gap-2"},OJn={class:"flex flex-col gap-4"},RJn={class:"flex flex-col gap-2"},NJn={class:"flex flex-col gap-4"},DJn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},IJn={class:"flex flex-row p-3"},kJn={class:"grid gap-6 p-6 bg-white dark:bg-gray-800 rounded-xl shadow-lg"},PJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},HJn={class:"w-full md:w-2/3"},VJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},FJn={class:"w-full md:w-2/3"},BJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},$Jn={class:"w-full md:w-2/3"},UJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},GJn={class:"w-full md:w-2/3"},qJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},zJn={class:"w-full md:w-2/3"},jJn={class:"space-y-6 bg-gray-50 dark:bg-gray-800 p-6 rounded-lg shadow-md"},WJn={class:"flex items-center space-x-4"},YJn={class:"w-2/3"},KJn={class:"inline-flex items-center cursor-pointer"},ZJn={class:"flex items-center space-x-4"},XJn={class:"w-2/3"},JJn={class:"inline-flex items-center cursor-pointer"},eer={class:"flex items-center space-x-4"},ter={class:"w-2/3"},ner={class:"flex items-center space-x-4"},rer={class:"w-2/3"},ier={class:"grid gap-6 p-6 bg-white dark:bg-gray-800 rounded-lg shadow-md"},oer={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},ser={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},aer={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},ler={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},cer={class:"space-y-4 p-4 bg-gray-50 dark:bg-gray-700 rounded-lg"},uer={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},der={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},fer={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},per={class:"space-y-4 p-4 bg-gray-50 dark:bg-gray-700 rounded-lg"},her={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},Ter={class:"flex items-center"},mer={class:"relative inline-flex items-center cursor-pointer"},ger={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},_er={class:"space-y-4 p-4 bg-white dark:bg-gray-800 rounded-lg shadow-md"},Qer={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-4"},ver={class:"md:w-2/3"},yer=["value"],ber={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-4 pt-4 border-t dark:border-gray-700"},Eer={class:"md:w-2/3"},xer=["value"],Ser={class:"grid gap-4 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg shadow-md"},Ler={class:"grid grid-cols-[200px,1fr] items-center gap-4"},Cer={class:"grid grid-cols-[200px,1fr] items-center gap-4"},Aer={class:"grid grid-cols-[200px,1fr] items-center gap-4"},wer={class:"grid grid-cols-[200px,1fr] items-center gap-4"},Mer={class:"space-y-3"},Oer={class:"flex items-center space-x-2 cursor-pointer"},Rer={class:"flex items-center space-x-2 cursor-pointer"},Ner={class:"pl-6 space-y-2 border-l-2 border-gray-200 dark:border-gray-600"},Der=["id","onUpdate:modelValue"],Ier={class:"text-sm text-gray-600 dark:text-gray-300"},ker={class:"grid grid-cols-[200px,1fr] items-center gap-4"},Per={class:"space-y-3"},Her=["id","onUpdate:modelValue"],Ver={class:"text-sm text-gray-600 dark:text-gray-300"},Fer={class:"space-y-6 p-6 bg-white dark:bg-gray-800 rounded-lg shadow-md"},Ber={class:"flex items-center justify-between"},$er={class:"relative inline-flex items-center cursor-pointer"},Uer={class:"flex items-center justify-between"},Ger={class:"relative inline-flex items-center cursor-pointer"},qer={class:"space-y-2"},zer={for:"audio_silenceTimer",class:"text-sm font-medium text-gray-700 dark:text-gray-200"},jer={class:"flex flex-col gap-4"},Wer={class:"space-y-2"},Yer=["value"],Ker={class:"bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 space-y-6"},Zer={class:"flex items-center justify-between p-4 hover:bg-gray-50 dark:hover:bg-gray-700 rounded-lg transition-all"},Xer={class:"relative inline-flex items-center cursor-pointer"},Jer={class:"p-4"},etr={class:"p-4"},ttr={class:"relative"},ntr=["value"],rtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},itr={class:"flex flex-row"},otr={class:"flex flex-row"},str=["value"],atr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},ltr={class:"flex flex-row"},ctr=["value"],utr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},dtr={class:"flex flex-row"},ftr=["value"],ptr={class:"flex flex-row"},htr=["value"],Ttr={class:"flex flex-row"},mtr={class:"flex flex-row"},gtr={class:"flex flex-row"},_tr={class:"flex flex-row"},Qtr={class:"flex flex-row"},vtr={class:"flex flex-row"},ytr={class:"flex flex-row"},btr={class:"flex flex-row"},Etr={class:"flex flex-row"},xtr={class:"flex flex-row"},Str={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Ltr={class:"flex flex-row"},Ctr={class:"flex flex-row"},Atr={class:"flex flex-row"},wtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Mtr={class:"flex flex-row"},Otr={class:"flex flex-row"},Rtr={class:"flex flex-row"},Ntr={class:"flex flex-row"},Dtr={class:"flex flex-row"},Itr=["value"],ktr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Ptr={class:"flex flex-row"},Htr={class:"flex flex-row"},Vtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Ftr={class:"flex flex-row"},Btr={class:"flex flex-row"},$tr={class:"flex flex-row"},Utr={class:"flex flex-row"},Gtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},qtr={class:"flex flex-row"},ztr={class:"flex flex-row"},jtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Wtr={class:"flex flex-row"},Ytr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Ktr={class:"flex flex-row"},Ztr={class:"flex flex-row"},Xtr={class:"flex flex-row"},Jtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},enr={class:"flex flex-row"},tnr={class:"flex flex-row"},nnr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},rnr={class:"flex flex-row"},inr={class:"flex flex-row"},onr=["value"],snr={class:"flex flex-row"},anr={class:"flex flex-row"},lnr={class:"flex flex-row"},cnr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},unr={class:"flex flex-row"},dnr={class:"flex flex-row"},fnr={class:"flex flex-row"},pnr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},hnr={class:"flex flex-row"},Tnr={class:"flex flex-row"},mnr={class:"flex flex-row"},gnr={class:"flex flex-col align-bottom"},_nr={class:"relative"},Qnr={class:"absolute right-0"},vnr={class:"flex flex-row"},ynr={class:"flex flex-row"},bnr={class:"flex flex-row"},Enr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},xnr={class:"flex flex-row"},Snr={class:"flex flex-row"},Lnr={class:"flex flex-row"},Cnr={class:"bg-white dark:bg-gray-800 rounded-lg shadow-md p-6 max-w-2xl mx-auto"},Anr={class:"flex flex-col md:flex-row items-start md:items-center space-y-4 md:space-y-0 md:space-x-6"},wnr={class:"w-full md:w-2/3"},Mnr={class:"relative"},Onr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Rnr={class:"flex flex-row"},Nnr={class:"flex flex-row"},Dnr={class:"flex flex-row"},Inr={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},knr={class:"flex flex-row p-3"},Pnr={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Hnr={key:1,class:"mr-2"},Vnr={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},Fnr={class:"flex gap-1 items-center"},Bnr=["src"],$nr={class:"font-bold font-large text-lg line-clamp-1"},Unr={key:0,class:"mb-2"},Gnr={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},qnr={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},znr={class:"flex flex-row p-3"},jnr={class:"flex flex-row items-center"},Wnr={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Ynr={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Knr={key:2,class:"mr-2"},Znr={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},Xnr={class:"flex gap-1 items-center"},Jnr=["src"],err={class:"font-bold font-large text-lg line-clamp-1"},trr={class:"mx-2 mb-4"},nrr={class:"relative"},rrr={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},irr={key:0},orr={key:1},srr={key:0,role:"status",class:"text-center w-full display: flex;align-items: center;"},arr={key:1,class:"mb-2"},lrr={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},crr={class:"mb-2"},urr={class:"p-2"},drr={class:"mb-3"},frr={key:0},prr={class:"mb-3"},hrr={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},Trr={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},mrr={class:"w-full p-2"},grr={class:"flex justify-between mb-1"},_rr={class:"text-sm font-medium text-blue-700 dark:text-white"},Qrr=["title"],vrr={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},yrr={class:"flex justify-between mb-1"},brr={class:"text-base font-medium text-blue-700 dark:text-white"},Err={class:"text-sm font-medium text-blue-700 dark:text-white"},xrr={class:"flex flex-grow"},Srr={class:"flex flex-row flex-grow gap-3"},Lrr={class:"p-2 text-center grow"},Crr={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Arr={class:"flex flex-row p-3 items-center"},wrr={key:0,class:"mr-2"},Mrr={class:"mr-2 font-bold font-large text-lg line-clamp-1"},Orr={key:1,class:"mr-2"},Rrr={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},Nrr={key:0,class:"flex -space-x-4 items-center"},Drr={class:"group items-center flex flex-row"},Irr=["onClick"],krr=["src","title"],Prr=["onClick"],Hrr={class:"mx-2 mb-4"},Vrr={class:"relative"},Frr={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},Brr={key:0},$rr={key:1},Urr={key:0,class:"mx-2 mb-4"},Grr={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},qrr=["selected"],zrr={key:0,class:"mb-2"},jrr={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Wrr={class:"flex flex-col mb-2 p-3 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Yrr={class:"flex flex-row"},Krr={class:"m-2"},Zrr={class:"flex flex-row gap-2 items-center"},Xrr={class:"m-2"},Jrr={class:"m-2"},eir={class:"flex flex-col align-bottom"},tir={class:"relative"},nir={class:"absolute right-0"},rir={class:"m-2"},iir={class:"flex flex-col align-bottom"},oir={class:"relative"},sir={class:"absolute right-0"},air={class:"m-2"},lir={class:"flex flex-col align-bottom"},cir={class:"relative"},uir={class:"absolute right-0"},dir={class:"m-2"},fir={class:"flex flex-col align-bottom"},pir={class:"relative"},hir={class:"absolute right-0"},Tir={class:"m-2"},mir={class:"flex flex-col align-bottom"},gir={class:"relative"},_ir={class:"absolute right-0"},Qir={class:"m-2"},vir={class:"flex flex-col align-bottom"},yir={class:"relative"},bir={class:"absolute right-0"};function Eir(t,e,n,r,i,o){const s=gt("DictManager"),a=gt("Card"),l=gt("StringListManager"),c=gt("BindingEntry"),u=gt("RadioOptions"),d=gt("model-entry"),h=gt("personality-entry"),f=gt("AddModelDialog"),m=gt("ChoiceDialog");return k(),P(ze,null,[g("div",NWn,[g("div",DWn,[i.showConfirmation?(k(),P("div",IWn,[g("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ge(T=>i.showConfirmation=!1,["stop"]))},e[435]||(e[435]=[g("i",{"data-feather":"x"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ge(T=>o.save_configuration(),["stop"]))},e[436]||(e[436]=[g("i",{"data-feather":"check"},null,-1)]))])):ie("",!0),i.showConfirmation?ie("",!0):(k(),P("div",kWn,[g("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=T=>o.reset_configuration())},e[437]||(e[437]=[g("i",{"data-feather":"refresh-ccw"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[3]||(e[3]=ge(T=>i.all_collapsed=!i.all_collapsed,["stop"]))},e[438]||(e[438]=[g("i",{"data-feather":"list"},null,-1)]))])),g("div",PWn,[g("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[4]||(e[4]=T=>o.api_get_req("clear_uploads").then(Q=>{Q.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast(["failed!"],4,!1)}))},e[439]||(e[439]=[g("i",{"data-feather":"trash-2"},null,-1)])),g("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=T=>o.api_post_req("restart_program").then(Q=>{Q.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast(["failed!"],4,!1)}))},e[440]||(e[440]=[g("i",{"data-feather":"refresh-ccw"},null,-1)])),i.has_updates?(k(),P("button",{key:0,title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=T=>o.api_post_req("update_software").then(Q=>{Q.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast("Success!",4,!0)}))},e[441]||(e[441]=[g("i",{"data-feather":"arrow-up-circle"},null,-1),g("i",{"data-feather":"alert-circle"},null,-1)]))):ie("",!0),g("div",HWn,[i.settingsChanged?(k(),P("div",VWn,[i.isLoading?ie("",!0):(k(),P("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[7]||(e[7]=ge(T=>o.applyConfiguration(),["stop"]))},e[442]||(e[442]=[g("div",{class:"flex flex-row"},[g("p",{class:"text-green-600 font-bold hover:text-green-300 ml-4 pl-4 mr-4 pr-4"},"Apply changes:"),g("i",{"data-feather":"check"})],-1)]))),i.isLoading?ie("",!0):(k(),P("button",{key:1,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Cancel changes",type:"button",onClick:e[8]||(e[8]=ge(T=>o.cancelConfiguration(),["stop"]))},e[443]||(e[443]=[g("div",{class:"flex flex-row"},[g("p",{class:"text-red-600 font-bold hover:text-red-300 ml-4 pl-4 mr-4 pr-4"},"Cancel changes:"),g("i",{"data-feather":"x"})],-1)])))])):ie("",!0),i.isLoading?(k(),P("div",FWn,[g("p",null,ue(i.loading_text),1),e[444]||(e[444]=g("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),e[445]||(e[445]=g("span",{class:"sr-only"},"Loading...",-1))])):ie("",!0)])])]),g("div",{class:We(i.isLoading?"pointer-events-none opacity-30 w-full":"w-full")},[g("div",BWn,[g("div",$Wn,[g("button",{onClick:e[9]||(e[9]=ge(T=>i.sc_collapsed=!i.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[446]||(e[446]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.sc_collapsed]]),te(g("div",null,e[447]||(e[447]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.sc_collapsed]]),e[450]||(e[450]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),e[451]||(e[451]=g("div",{class:"mr-2"},"|",-1)),g("div",UWn,[g("div",GWn,[g("div",null,[o.vramUsage&&o.vramUsage.gpus&&o.vramUsage.gpus.length==1?(k(),P("div",qWn,[(k(!0),P(ze,null,lt(o.vramUsage.gpus,T=>(k(),P("div",{class:"flex gap-2 items-center",key:T},[g("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,zWn),g("p",jWn,[g("div",null,ue(o.computedFileSize(T.used_vram))+" / "+ue(o.computedFileSize(T.total_vram))+" ("+ue(T.percentage)+"%) ",1)])]))),128))])):ie("",!0),o.vramUsage&&o.vramUsage.gpus&&o.vramUsage.gpus.length>1?(k(),P("div",WWn,[g("div",YWn,[g("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,KWn),g("p",ZWn,[g("div",null,ue(o.vramUsage.gpus.length)+"x ",1)])])])):ie("",!0)]),e[448]||(e[448]=g("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),g("p",XWn,[g("div",null,ue(o.ram_usage)+" / "+ue(o.ram_total_space)+" ("+ue(o.ram_percent_usage)+"%)",1)]),e[449]||(e[449]=g("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),g("p",JWn,[g("div",null,ue(o.disk_binding_models_usage)+" / "+ue(o.disk_total_space)+" ("+ue(o.disk_percent_usage)+"%)",1)])])])])]),g("div",{class:We([{hidden:i.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",eYn,[e[454]||(e[454]=g("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[g("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),nt(" CPU Ram usage: ")],-1)),g("div",tYn,[g("div",null,[e[452]||(e[452]=g("b",null,"Avaliable ram: ",-1)),nt(ue(o.ram_available_space),1)]),g("div",null,[e[453]||(e[453]=g("b",null,"Ram usage: ",-1)),nt(" "+ue(o.ram_usage)+" / "+ue(o.ram_total_space)+" ("+ue(o.ram_percent_usage)+")% ",1)])]),g("div",nYn,[g("div",rYn,[g("div",{class:"bg-blue-600 h-2.5 rounded-full",style:gn("width: "+o.ram_percent_usage+"%;")},null,4)])])]),g("div",iYn,[e[457]||(e[457]=g("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[g("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),nt(" Disk usage: ")],-1)),g("div",oYn,[g("div",null,[e[455]||(e[455]=g("b",null,"Avaliable disk space: ",-1)),nt(ue(o.disk_available_space),1)]),g("div",null,[e[456]||(e[456]=g("b",null,"Disk usage: ",-1)),nt(" "+ue(o.disk_binding_models_usage)+" / "+ue(o.disk_total_space)+" ("+ue(o.disk_percent_usage)+"%)",1)])]),g("div",sYn,[g("div",aYn,[g("div",{class:"bg-blue-600 h-2.5 rounded-full",style:gn("width: "+o.disk_percent_usage+"%;")},null,4)])])]),(k(!0),P(ze,null,lt(o.vramUsage.gpus,T=>(k(),P("div",{class:"mb-2",key:T},[g("label",lYn,[g("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,cYn),e[458]||(e[458]=nt(" GPU usage: "))]),g("div",uYn,[g("div",null,[e[459]||(e[459]=g("b",null,"Model: ",-1)),nt(ue(T.gpu_model),1)]),g("div",null,[e[460]||(e[460]=g("b",null,"Avaliable vram: ",-1)),nt(ue(this.computedFileSize(T.available_space)),1)]),g("div",null,[e[461]||(e[461]=g("b",null,"GPU usage: ",-1)),nt(" "+ue(this.computedFileSize(T.used_vram))+" / "+ue(this.computedFileSize(T.total_vram))+" ("+ue(T.percentage)+"%)",1)])]),g("div",dYn,[g("div",fYn,[g("div",{class:"bg-blue-600 h-2.5 rounded-full",style:gn("width: "+T.percentage+"%;")},null,4)])])]))),128))],2)]),g("div",pYn,[g("div",hYn,[g("button",{onClick:e[10]||(e[10]=ge(T=>i.smartrouterconf_collapsed=!i.smartrouterconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[462]||(e[462]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.smartrouterconf_collapsed]]),te(g("div",null,e[463]||(e[463]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.smartrouterconf_collapsed]]),e[464]||(e[464]=g("div",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Smart routing configurations",-1))])]),g("div",{class:We([{hidden:i.smartrouterconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",TYn,[ae(a,{title:"Smart Routing Settings",is_shrunk:!1,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",mYn,[g("div",gYn,[g("div",_Yn,[e[465]||(e[465]=g("label",{for:"use_smart_routing",class:"text-sm font-bold w-64"},"Use Smart Routing:",-1)),te(g("input",{type:"checkbox",id:"use_smart_routing","onUpdate:modelValue":e[11]||(e[11]=T=>o.configFile.use_smart_routing=T),onChange:e[12]||(e[12]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.use_smart_routing]])]),g("div",QYn,[e[466]||(e[466]=g("label",{for:"restore_model_after_smart_routing",class:"text-sm font-bold w-64"},"Restore model after smart routing:",-1)),te(g("input",{type:"checkbox",id:"restore_model_after_smart_routing","onUpdate:modelValue":e[13]||(e[13]=T=>o.configFile.restore_model_after_smart_routing=T),onChange:e[14]||(e[14]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.restore_model_after_smart_routing]])]),g("div",vYn,[e[467]||(e[467]=g("label",{for:"smart_routing_router_model",class:"text-sm font-bold w-64"},"Router Model:",-1)),te(g("input",{type:"text",id:"smart_routing_router_model","onUpdate:modelValue":e[15]||(e[15]=T=>o.configFile.smart_routing_router_model=T),onChange:e[16]||(e[16]=T=>i.settingsChanged=!0),class:"flex-grow mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.smart_routing_router_model]])]),g("div",yYn,[e[468]||(e[468]=g("label",{for:"smart_routing_models_description",class:"text-sm font-bold w-64 mt-1"},"Models with description:",-1)),ae(s,{modelValue:o.configFile.smart_routing_models_description,"onUpdate:modelValue":e[17]||(e[17]=T=>o.configFile.smart_routing_models_description=T),onChange:e[18]||(e[18]=T=>i.settingsChanged=!0),"key-name":"Model Path","value-name":"Model description",placeholder:"Enter model name",class:"flex-grow"},null,8,["modelValue"])])])])]),_:1})])],2)]),g("div",bYn,[g("div",EYn,[g("button",{onClick:e[19]||(e[19]=ge(T=>i.mainconf_collapsed=!i.mainconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[469]||(e[469]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.mainconf_collapsed]]),te(g("div",null,e[470]||(e[470]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.mainconf_collapsed]]),e[471]||(e[471]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1))])]),g("div",{class:We([{hidden:i.mainconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",xYn,[ae(a,{title:"General",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",SYn,[g("div",LYn,[e[476]||(e[476]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"User Information",-1)),g("div",CYn,[g("div",AYn,[e[472]||(e[472]=g("div",{class:"setting-label w-64"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Username:")],-1)),te(g("input",{type:"text","onUpdate:modelValue":e[20]||(e[20]=T=>o.configFile.user_name=T),onChange:e[21]||(e[21]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 focus:ring-2 focus:ring-blue-500"},null,544),[[Ne,o.configFile.user_name]])]),g("div",wYn,[e[473]||(e[473]=g("div",{class:"setting-label w-64"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"User Description:")],-1)),te(g("textarea",{"onUpdate:modelValue":e[22]||(e[22]=T=>o.configFile.user_description=T),onChange:e[23]||(e[23]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 focus:ring-2 focus:ring-blue-500",rows:"3"}," ",544),[[Ne,o.configFile.user_description]])]),g("div",MYn,[e[475]||(e[475]=g("div",{class:"setting-label w-64"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"User Avatar:")],-1)),g("div",OYn,[g("label",RYn,[g("img",{src:o.configFile.user_avatar?`/user_infos/${o.configFile.user_avatar}`:t.defaultAvatar,class:"w-12 h-12 rounded-full object-cover border-2 border-gray-300 hover:border-blue-500 transition-all"},null,8,NYn)]),g("input",{type:"file",id:"avatar-upload",class:"hidden",onChange:e[24]||(e[24]=(...T)=>o.uploadAvatar&&o.uploadAvatar(...T))},null,32),g("button",{onClick:e[25]||(e[25]=ge(T=>o.resetAvatar(),["stop"])),class:"text-gray-500 hover:text-red-600 p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-600 transition-all",title:"Remove avatar"},e[474]||(e[474]=[g("i",{"data-feather":"x"},null,-1)]))])])])]),g("div",DYn,[e[485]||(e[485]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"Discussion Settings",-1)),g("div",IYn,[g("div",kYn,[e[478]||(e[478]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Use username in discussions",-1)),g("div",PYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[26]||(e[26]=T=>o.configFile.use_user_name_in_discussions=T),onChange:e[27]||(e[27]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_user_name_in_discussions]]),e[477]||(e[477]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",HYn,[e[480]||(e[480]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Use assistant name in discussion",-1)),g("div",VYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[28]||(e[28]=T=>o.configFile.use_assistant_name_in_discussion=T),onChange:e[29]||(e[29]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_assistant_name_in_discussion]]),e[479]||(e[479]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",FYn,[e[482]||(e[482]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Use model name in discussions",-1)),g("div",BYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[30]||(e[30]=T=>o.configFile.use_model_name_in_discussions=T),onChange:e[31]||(e[31]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_model_name_in_discussions]]),e[481]||(e[481]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",$Yn,[e[484]||(e[484]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Use user information in discussions",-1)),g("div",UYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[32]||(e[32]=T=>o.configFile.use_user_informations_in_discussion=T),onChange:e[33]||(e[33]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_user_informations_in_discussion]]),e[483]||(e[483]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])]),g("div",GYn,[e[492]||(e[492]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"Debug Settings",-1)),g("div",qYn,[g("div",zYn,[e[487]||(e[487]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Enable Debug Mode",-1)),g("div",jYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[34]||(e[34]=T=>o.configFile.debug=T),onChange:e[35]||(e[35]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.debug]]),e[486]||(e[486]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",WYn,[e[489]||(e[489]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Show Final Full Prompt",-1)),g("div",YYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[36]||(e[36]=T=>o.configFile.debug_show_final_full_prompt=T),onChange:e[37]||(e[37]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.debug_show_final_full_prompt]]),e[488]||(e[488]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",KYn,[e[491]||(e[491]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Show Chunks",-1)),g("div",ZYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[38]||(e[38]=T=>o.configFile.debug_show_chunks=T),onChange:e[39]||(e[39]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.debug_show_chunks]]),e[490]||(e[490]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])]),g("div",XYn,[e[503]||(e[503]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"Auto-sync Settings",-1)),g("div",JYn,[g("div",eKn,[e[494]||(e[494]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Update",-1)),g("div",tKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[40]||(e[40]=T=>o.configFile.auto_update=T),onChange:e[41]||(e[41]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_update]]),e[493]||(e[493]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",nKn,[e[496]||(e[496]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Sync Personalities",-1)),g("div",rKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[42]||(e[42]=T=>o.configFile.auto_sync_personalities=T),onChange:e[43]||(e[43]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_sync_personalities]]),e[495]||(e[495]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",iKn,[e[498]||(e[498]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Sync Extensions",-1)),g("div",oKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[44]||(e[44]=T=>o.configFile.auto_sync_extensions=T),onChange:e[45]||(e[45]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_sync_extensions]]),e[497]||(e[497]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",sKn,[e[500]||(e[500]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Sync Bindings",-1)),g("div",aKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[46]||(e[46]=T=>o.configFile.auto_sync_bindings=T),onChange:e[47]||(e[47]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_sync_bindings]]),e[499]||(e[499]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",lKn,[e[502]||(e[502]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Sync Models",-1)),g("div",cKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[48]||(e[48]=T=>o.configFile.auto_sync_models=T),onChange:e[49]||(e[49]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_sync_models]]),e[501]||(e[501]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])]),g("div",uKn,[e[517]||(e[517]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"Webui Settings",-1)),g("div",dKn,[g("div",fKn,[g("div",pKn,[e[504]||(e[504]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Application Logo",-1)),g("div",hKn,[o.configFile.app_custom_logo?(k(),P("img",{key:0,src:"/user_infos/"+o.configFile.app_custom_logo,class:"w-full h-full object-cover",alt:"Custom Logo"},null,8,TKn)):(k(),P("img",{key:1,src:t.defaultImgPlaceholder,class:"w-full h-full object-cover",alt:"Default Logo"},null,8,mKn))])]),g("div",gKn,[o.configFile.app_custom_logo?(k(),P("button",{key:0,onClick:e[50]||(e[50]=(...T)=>o.removeLogo&&o.removeLogo(...T)),class:"bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg"}," Remove Logo ")):ie("",!0),g("label",_Kn,[e[505]||(e[505]=nt(" Upload Logo ")),g("input",{type:"file",onChange:e[51]||(e[51]=(...T)=>o.uploadLogo&&o.uploadLogo(...T)),accept:"image/*",class:"hidden"},null,32)])])]),g("div",QKn,[e[507]||(e[507]=g("div",{class:"flex items-center space-x-2"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Automatic Discussion Naming"),g("div",{class:"text-xs text-gray-500 dark:text-gray-400"},"(Let AI name your discussions automatically)")],-1)),g("div",vKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[52]||(e[52]=T=>o.configFile.auto_title=T),onChange:e[53]||(e[53]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_title]]),e[506]||(e[506]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",yKn,[e[509]||(e[509]=g("div",{class:"flex items-center space-x-2"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto-launch Browser"),g("div",{class:"text-xs text-gray-500 dark:text-gray-400"},"(Open browser automatically when starting LOLLMS)")],-1)),g("div",bKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[54]||(e[54]=T=>o.configFile.auto_show_browser=T),onChange:e[55]||(e[55]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_show_browser]]),e[508]||(e[508]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",EKn,[g("div",xKn,[e[511]||(e[511]=g("div",{class:"flex items-center space-x-2"},[g("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 text-red-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})]),g("label",{class:"font-bold text-sm text-red-700 dark:text-red-400"},"Remote Access")],-1)),g("div",SKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[56]||(e[56]=T=>o.configFile.force_accept_remote_access=T),onChange:e[57]||(e[57]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.force_accept_remote_access]]),e[510]||(e[510]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),e[512]||(e[512]=g("p",{class:"mt-2 text-sm text-red-600 dark:text-red-400"},[g("strong",null,"Security Warning:"),nt(" Enabling remote access poses significant security risks. Only enable this if you: "),g("ul",{class:"list-disc ml-6 mt-1"},[g("li",null,"Fully understand the security implications"),g("li",null,"Have proper network security measures in place"),g("li",null,"Are in a trusted network environment")])],-1))]),g("div",LKn,[e[514]||(e[514]=g("div",{class:"flex items-center space-x-2"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Enhanced Message Copy"),g("div",{class:"text-xs text-gray-500 dark:text-gray-400"}," (Include metadata like sender name and model info when copying messages) ")],-1)),g("div",CKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[58]||(e[58]=T=>o.configFile.copy_to_clipboard_add_all_details=T),onChange:e[59]||(e[59]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.copy_to_clipboard_add_all_details]]),e[513]||(e[513]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",AKn,[e[516]||(e[516]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Headless server mode (DEACTIVATES the WEBUI)",-1)),g("div",wKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[60]||(e[60]=T=>o.configFile.headless_server_mode=T),onChange:e[61]||(e[61]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.headless_server_mode]]),e[515]||(e[515]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])])])]),_:1}),ae(a,{title:"Model template",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",MKn,[g("div",OKn,[e[519]||(e[519]=g("label",{class:"text-sm font-semibold text-gray-700 dark:text-gray-300"},"Template Type",-1)),g("select",{onChange:e[62]||(e[62]=(...T)=>o.handleTemplateSelection&&o.handleTemplateSelection(...T)),class:"form-select w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},e[518]||(e[518]=[g("option",{value:"lollms"},"Lollms communication template",-1),g("option",{value:"lollms_simplified"},"Lollms simplified communication template",-1),g("option",{value:"bare"},"Bare, useful when in chat mode",-1),g("option",{value:"llama3"},"LLama3 communication template",-1),g("option",{value:"mistral"},"Mistral communication template",-1),g("option",{value:"deepseek"},"DeepSeek communication template",-1)]),32)]),g("div",RKn,[g("div",NKn,[e[520]||(e[520]=g("label",{for:"start_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Start Header Template ",-1)),te(g("input",{type:"text",id:"start_header_id_template","onUpdate:modelValue":e[63]||(e[63]=T=>o.configFile.start_header_id_template=T),onChange:e[64]||(e[64]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.start_header_id_template]])]),g("div",DKn,[e[521]||(e[521]=g("label",{for:"end_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End Header Template ",-1)),te(g("input",{type:"text",id:"end_header_id_template","onUpdate:modelValue":e[65]||(e[65]=T=>o.configFile.end_header_id_template=T),onChange:e[66]||(e[66]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_header_id_template]])])]),g("div",IKn,[g("div",kKn,[e[522]||(e[522]=g("label",{for:"start_user_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Start User Header Template ",-1)),te(g("input",{type:"text",id:"start_user_header_id_template","onUpdate:modelValue":e[67]||(e[67]=T=>o.configFile.start_user_header_id_template=T),onChange:e[68]||(e[68]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.start_user_header_id_template]])]),g("div",PKn,[e[523]||(e[523]=g("label",{for:"end_user_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End User Header Template ",-1)),te(g("input",{type:"text",id:"end_user_header_id_template","onUpdate:modelValue":e[69]||(e[69]=T=>o.configFile.end_user_header_id_template=T),onChange:e[70]||(e[70]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_user_header_id_template]])])]),g("div",HKn,[g("div",VKn,[e[524]||(e[524]=g("label",{for:"start_ai_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Start AI Header Template ",-1)),te(g("input",{type:"text",id:"start_ai_header_id_template","onUpdate:modelValue":e[71]||(e[71]=T=>o.configFile.start_ai_header_id_template=T),onChange:e[72]||(e[72]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.start_ai_header_id_template]])]),g("div",FKn,[e[525]||(e[525]=g("label",{for:"end_ai_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End AI Header Template ",-1)),te(g("input",{type:"text",id:"end_ai_header_id_template","onUpdate:modelValue":e[73]||(e[73]=T=>o.configFile.end_ai_header_id_template=T),onChange:e[74]||(e[74]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_ai_header_id_template]])])]),g("div",BKn,[g("div",$Kn,[e[526]||(e[526]=g("label",{for:"end_user_message_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End User Message Template ",-1)),te(g("input",{type:"text",id:"end_user_message_id_template","onUpdate:modelValue":e[75]||(e[75]=T=>o.configFile.end_user_message_id_template=T),onChange:e[76]||(e[76]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_user_message_id_template]])]),g("div",UKn,[e[527]||(e[527]=g("label",{for:"end_ai_message_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End AI Message Template ",-1)),te(g("input",{type:"text",id:"end_ai_message_id_template","onUpdate:modelValue":e[77]||(e[77]=T=>o.configFile.end_ai_message_id_template=T),onChange:e[78]||(e[78]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_ai_message_id_template]])])]),g("div",GKn,[e[528]||(e[528]=g("label",{for:"separator_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Separator Template ",-1)),te(g("textarea",{id:"separator_template","onUpdate:modelValue":e[79]||(e[79]=T=>o.configFile.separator_template=T),onChange:e[80]||(e[80]=T=>i.settingsChanged=!0),class:"w-full h-24 rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"}," ",544),[[Ne,o.configFile.separator_template]])]),g("div",qKn,[e[529]||(e[529]=g("label",{for:"system_message_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," System Template ",-1)),te(g("input",{type:"text",id:"system_message_template","onUpdate:modelValue":e[81]||(e[81]=T=>o.configFile.system_message_template=T),onChange:e[82]||(e[82]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.system_message_template]])]),g("div",zKn,[e[530]||(e[530]=g("label",{class:"text-sm font-semibold text-gray-700 dark:text-gray-300"},"Full Template Preview",-1)),g("div",jKn,[g("div",{innerHTML:o.full_template},null,8,WKn)])]),g("div",YKn,[e[532]||(e[532]=g("label",{for:"use_continue_message",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Use Continue Message ",-1)),g("div",KKn,[te(g("input",{type:"checkbox",id:"use_continue_message","onUpdate:modelValue":e[83]||(e[83]=T=>o.configFile.use_continue_message=T),onChange:e[84]||(e[84]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_continue_message]]),e[531]||(e[531]=g("label",{for:"use_continue_message",class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])]),_:1}),ae(a,{title:"User",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",ZKn,[g("div",XKn,[e[533]||(e[533]=g("label",{for:"user_name",class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," User Name ",-1)),te(g("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[85]||(e[85]=T=>o.configFile.user_name=T),onChange:e[86]||(e[86]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.user_name]])]),g("div",JKn,[e[534]||(e[534]=g("label",{for:"user_description",class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," User Description ",-1)),te(g("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[87]||(e[87]=T=>o.configFile.user_description=T),onChange:e[88]||(e[88]=T=>i.settingsChanged=!0),class:"flex-1 h-[300px] px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:text-white resize-none"},null,544),[[Ne,o.configFile.user_description]])]),g("div",eZn,[g("div",tZn,[e[538]||(e[538]=g("label",{class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," Discussion Settings ",-1)),g("div",nZn,[g("label",rZn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[89]||(e[89]=T=>o.configFile.use_user_informations_in_discussion=T),onChange:e[90]||(e[90]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.use_user_informations_in_discussion]]),e[535]||(e[535]=g("span",{class:"text-sm text-gray-700 dark:text-gray-200"},"Use user description in discussion",-1))]),g("label",iZn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[91]||(e[91]=T=>o.configFile.use_model_name_in_discussions=T),onChange:e[92]||(e[92]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.use_model_name_in_discussions]]),e[536]||(e[536]=g("span",{class:"text-sm text-gray-700 dark:text-gray-200"},"Use model name in discussion",-1))]),g("label",oZn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[93]||(e[93]=T=>o.configFile.use_user_name_in_discussions=T),onChange:e[94]||(e[94]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.use_user_name_in_discussions]]),e[537]||(e[537]=g("span",{class:"text-sm text-gray-700 dark:text-gray-200"},"Use User Name in discussions",-1))])])])]),g("div",sZn,[e[540]||(e[540]=g("label",{class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," User Avatar ",-1)),g("div",aZn,[g("label",lZn,[g("img",{src:o.configFile.user_avatar!=null&&o.configFile.user_avatar!=""?"/user_infos/"+o.configFile.user_avatar:i.storeLogo,class:"w-16 h-16 rounded-full object-cover border-2 border-gray-300 hover:border-blue-500"},null,8,cZn)]),g("input",{type:"file",id:"avatar-upload",class:"hidden",onChange:e[95]||(e[95]=(...T)=>o.uploadAvatar&&o.uploadAvatar(...T))},null,32),g("button",{onClick:e[96]||(e[96]=ge(T=>o.resetAvatar(),["stop"])),class:"p-2 text-gray-500 hover:text-red-500 transition-colors duration-200",title:"Remove avatar"},e[539]||(e[539]=[g("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)]))])]),g("div",uZn,[g("div",dZn,[e[541]||(e[541]=g("label",{for:"max_n_predict",class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," Maximum Token Space ",-1)),te(g("input",{type:"number",id:"max_n_predict",required:"","onUpdate:modelValue":e[97]||(e[97]=T=>o.configFile.max_n_predict=T),onChange:e[98]||(e[98]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.max_n_predict]])]),g("div",fZn,[e[542]||(e[542]=g("label",{for:"min_n_predict",class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," Minimum Token Space ",-1)),te(g("input",{type:"number",id:"min_n_predict",required:"","onUpdate:modelValue":e[99]||(e[99]=T=>o.configFile.min_n_predict=T),onChange:e[100]||(e[100]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.min_n_predict]])])])])]),_:1}),ae(a,{title:"Security settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",pZn,[g("div",hZn,[e[543]||(e[543]=g("label",{for:"turn_on_code_execution",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Turn on code execution ",-1)),g("div",TZn,[te(g("input",{type:"checkbox",id:"turn_on_code_execution",required:"","onUpdate:modelValue":e[101]||(e[101]=T=>o.configFile.turn_on_code_execution=T),onChange:e[102]||(e[102]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_code_execution]])])]),g("div",mZn,[e[544]||(e[544]=g("label",{for:"turn_on_code_validation",class:"text-sm font-medium text-gray-700 dark:text-gray-200"},[nt(" Turn on code validation "),g("span",{class:"block text-xs text-gray-500 dark:text-gray-400"},"Very recommended for security reasons")],-1)),g("div",gZn,[te(g("input",{type:"checkbox",id:"turn_on_code_validation",required:"","onUpdate:modelValue":e[103]||(e[103]=T=>o.configFile.turn_on_code_validation=T),onChange:e[104]||(e[104]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_code_validation]])])]),g("div",_Zn,[e[545]||(e[545]=g("label",{for:"turn_on_setting_update_validation",class:"text-sm font-medium text-gray-700 dark:text-gray-200"},[nt(" Turn on apply settings validation "),g("span",{class:"block text-xs text-gray-500 dark:text-gray-400"},"Very recommended for security reasons")],-1)),g("div",QZn,[te(g("input",{type:"checkbox",id:"turn_on_setting_update_validation",required:"","onUpdate:modelValue":e[105]||(e[105]=T=>o.configFile.turn_on_setting_update_validation=T),onChange:e[106]||(e[106]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_setting_update_validation]])])]),g("div",vZn,[e[546]||(e[546]=g("label",{for:"turn_on_open_file_validation",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Turn on open file/folder validation ",-1)),g("div",yZn,[te(g("input",{type:"checkbox",id:"turn_on_open_file_validation",required:"","onUpdate:modelValue":e[107]||(e[107]=T=>o.configFile.turn_on_open_file_validation=T),onChange:e[108]||(e[108]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_open_file_validation]])])]),g("div",bZn,[e[547]||(e[547]=g("label",{for:"turn_on_send_file_validation",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Turn on send file validation ",-1)),g("div",EZn,[te(g("input",{type:"checkbox",id:"turn_on_send_file_validation",required:"","onUpdate:modelValue":e[109]||(e[109]=T=>o.configFile.turn_on_send_file_validation=T),onChange:e[110]||(e[110]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_send_file_validation]])])])])]),_:1}),ae(a,{title:"Knowledge database",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",xZn,[g("div",SZn,[e[549]||(e[549]=g("label",{for:"activate_skills_lib",class:"text-sm font-bold text-gray-900 dark:text-white min-w-[200px]"}," Activate Skills library: ",-1)),g("div",LZn,[g("label",CZn,[te(g("input",{type:"checkbox",id:"activate_skills_lib",required:"","onUpdate:modelValue":e[111]||(e[111]=T=>o.configFile.activate_skills_lib=T),onChange:e[112]||(e[112]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.activate_skills_lib]]),e[548]||(e[548]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",AZn,[e[550]||(e[550]=g("label",{for:"skills_lib_database_name",class:"text-sm font-bold text-gray-900 dark:text-white min-w-[200px]"}," Skills library database name: ",-1)),g("div",wZn,[te(g("input",{type:"text",id:"skills_lib_database_name",required:"","onUpdate:modelValue":e[113]||(e[113]=T=>o.configFile.skills_lib_database_name=T),onChange:e[114]||(e[114]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:focus:ring-blue-500 dark:focus:border-blue-500 text-gray-900 dark:text-white transition-colors duration-200",placeholder:"Enter database name"},null,544),[[Ne,o.configFile.skills_lib_database_name]])])])])]),_:1}),ae(a,{title:"Latex",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",MZn,[g("div",OZn,[e[551]||(e[551]=g("div",{class:"min-w-[200px]"},[g("label",{for:"pdf_latex_path",class:"block text-sm font-semibold text-gray-700 dark:text-gray-200"}," PDF LaTeX Path: ")],-1)),g("div",RZn,[te(g("input",{type:"text",id:"pdf_latex_path",required:"","onUpdate:modelValue":e[115]||(e[115]=T=>o.configFile.pdf_latex_path=T),onChange:e[116]||(e[116]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 text-sm bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:text-white dark:placeholder-gray-400 transition-colors duration-200",placeholder:"Enter PDF LaTeX path..."},null,544),[[Ne,o.configFile.pdf_latex_path]])])])])]),_:1}),ae(a,{title:"Boost",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",NZn,[g("div",DZn,[g("div",IZn,[e[552]||(e[552]=g("label",{for:"positive_boost",class:"text-sm font-bold text-gray-700 dark:text-gray-200"}," Positive Boost ",-1)),g("div",kZn,[te(g("input",{type:"text",id:"positive_boost",required:"","onUpdate:modelValue":e[117]||(e[117]=T=>o.configFile.positive_boost=T),onChange:e[118]||(e[118]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white transition-all duration-200"},null,544),[[Ne,o.configFile.positive_boost]])])])]),g("div",PZn,[g("div",HZn,[e[553]||(e[553]=g("label",{for:"negative_boost",class:"text-sm font-bold text-gray-700 dark:text-gray-200"}," Negative Boost ",-1)),g("div",VZn,[te(g("input",{type:"text",id:"negative_boost",required:"","onUpdate:modelValue":e[119]||(e[119]=T=>o.configFile.negative_boost=T),onChange:e[120]||(e[120]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white transition-all duration-200"},null,544),[[Ne,o.configFile.negative_boost]])])])]),g("div",FZn,[g("div",BZn,[e[555]||(e[555]=g("label",{for:"fun_mode",class:"text-sm font-bold text-gray-700 dark:text-gray-200"}," Fun Mode ",-1)),g("div",$Zn,[g("label",UZn,[te(g("input",{type:"checkbox",id:"fun_mode",required:"","onUpdate:modelValue":e[121]||(e[121]=T=>o.configFile.fun_mode=T),onChange:e[122]||(e[122]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.fun_mode]]),e[554]||(e[554]=g("div",{class:"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])])])])]),_:1})])],2)]),g("div",GZn,[g("div",qZn,[g("button",{onClick:e[123]||(e[123]=ge(T=>i.data_conf_collapsed=!i.data_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[556]||(e[556]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.data_conf_collapsed]]),te(g("div",null,e[557]||(e[557]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.data_conf_collapsed]]),e[558]||(e[558]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Data management settings",-1))])]),g("div",{class:We([{hidden:i.data_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[ae(a,{title:"Data Lakes",is_subcard:!0,class:"p-4 m-2"},{default:Be(()=>[g("div",zZn,[e[570]||(e[570]=g("div",{class:"flex items-center mb-4"},[g("h3",{class:"text-lg font-semibold dark:text-white"},"Data Lakes Configuration")],-1)),g("div",jZn,[(k(!0),P(ze,null,lt(o.configFile.datalakes,(T,Q)=>(k(),P("div",{key:Q,class:"p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"},[g("div",WZn,[g("div",YZn,[e[559]||(e[559]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Data Lake Alias",-1)),g("input",{type:"text",value:o.getDataLakeAlias(Q),onInput:_=>o.updateAlias(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter alias"},null,40,KZn)]),g("div",ZZn,[e[561]||(e[561]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Type",-1)),g("select",{required:"",value:o.getDataLakeType(Q),onInput:_=>o.updateDatabaseType(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},e[560]||(e[560]=[g("option",{value:"lollmsvectordb"},"Lollms VectorDB Folder",-1),g("option",{value:"lightrag"},"Light Rag",-1),g("option",{value:"elasticdsearch"},"Elastic Search",-1)]),40,XZn)]),g("div",JZn,[g("label",eXn,ue(T.type==="lightrag"?"DataLake URL":"DataLake Path"),1),T.type==="lightrag"?(k(),P("input",{key:0,type:"text",value:o.getDataLakeUrl(Q),onInput:_=>o.updateDataLakeUrl(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter DataLake URL"},null,40,tXn)):ie("",!0),T.type==="lollmsvectordb"?(k(),P("input",{key:1,type:"text",value:o.getDataLakePath(Q),onInput:_=>o.updateDataLakePath(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter DataLake Path"},null,40,nXn)):ie("",!0)]),T.type==="lightrag"?(k(),P("div",rXn,[e[562]||(e[562]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"API Key",-1)),g("input",{type:"text",value:o.getDataLakeKey(Q),onInput:_=>o.updateDatabaseKey(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter API key"},null,40,iXn)])):ie("",!0)]),g("div",oXn,[g("div",sXn,[g("div",aXn,[e[564]||(e[564]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200 mr-4"},"Mounted",-1)),g("div",lXn,[te(g("input",{type:"checkbox","onUpdate:modelValue":_=>o.configFile.datalakes[Q].mounted=_,onChange:e[124]||(e[124]=_=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,40,cXn),[[at,o.configFile.datalakes[Q].mounted]]),e[563]||(e[563]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),T.type==="lollmsvectordb"?(k(),P("div",uXn,[g("button",{onClick:_=>o.vectorize_folder(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-green-600 rounded-md hover:bg-green-700 focus:ring-2 focus:ring-offset-2 focus:ring-green-500",title:"Vectorize or re-vectorize the selected folder"},e[565]||(e[565]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),nt(" Vectorize ")]),8,dXn),g("button",{onClick:_=>o.lollms_vectordb_select_folder(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",title:"Select a folder as data source"},e[566]||(e[566]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})],-1),nt(" Select Folder ")]),8,fXn)])):ie("",!0),g("div",pXn,[g("input",{type:"file",ref_for:!0,ref:"fileInput",onChange:e[125]||(e[125]=(..._)=>o.handleFileUpload&&o.handleFileUpload(..._)),accept:".pdf,.txt,.doc,.docx,.csv,.md",class:"hidden",multiple:""},null,544),g("button",{onClick:e[126]||(e[126]=(..._)=>o.triggerFileInput&&o.triggerFileInput(..._)),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-green-600 rounded-md hover:bg-green-700 focus:ring-2 focus:ring-offset-2 focus:ring-green-500"},e[567]||(e[567]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"})],-1),nt(" Upload Files ")]))])]),g("button",{onClick:_=>o.removeDataLake(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-red-600 rounded-md hover:bg-red-700 focus:ring-2 focus:ring-offset-2 focus:ring-red-500"},e[568]||(e[568]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1),nt(" Remove Data Lake ")]),8,hXn)])]))),128))]),g("button",{onClick:e[127]||(e[127]=(...T)=>o.addDataLake&&o.addDataLake(...T)),class:"inline-flex items-center px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"},e[569]||(e[569]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4v16m8-8H4"})],-1),nt(" Add New Data Lake ")]))])]),_:1}),ae(a,{title:"Data Servers",is_subcard:!0,class:"p-4 m-2"},{default:Be(()=>[g("div",TXn,[e[585]||(e[585]=g("div",{class:"flex items-center mb-4"},[g("h3",{class:"text-lg font-semibold dark:text-white"},"Database Servers")],-1)),g("div",mXn,[(k(!0),P(ze,null,lt(o.configFile.rag_local_services,(T,Q)=>(k(),P("div",{key:Q,class:"p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"},[g("div",gXn,[g("div",_Xn,[e[571]||(e[571]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Database Alias",-1)),g("input",{type:"text",value:o.getServedDatabaseAlias(Q),onInput:_=>o.updateAlias(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter alias"},null,40,QXn)]),g("div",vXn,[e[573]||(e[573]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Type",-1)),g("select",{required:"",value:o.getServedDatabaseType(Q),onInput:_=>o.updateDatabaseType(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},e[572]||(e[572]=[g("option",{value:"lightrag"},"Light Rag",-1),g("option",{value:"elasticdsearch"},"Elastic Search",-1)]),40,yXn)]),g("div",bXn,[e[574]||(e[574]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Database URL",-1)),g("input",{type:"text",value:o.getServedDatabaseUrl(Q),onInput:_=>o.updateDataLakeUrl(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter database URL"},null,40,EXn)]),g("div",xXn,[e[575]||(e[575]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"API Key",-1)),g("input",{type:"text",value:o.getServedDatabaseKey(Q),onInput:_=>o.updateDatabaseKey(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter API key"},null,40,SXn)]),g("div",LXn,[e[576]||(e[576]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Input folder",-1)),te(g("input",{type:"text","onUpdate:modelValue":_=>o.configFile.rag_local_services[Q].input_path=_,onChange:e[128]||(e[128]=_=>i.settingsChanged=!0),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Input folder"},null,40,CXn),[[Ne,o.configFile.rag_local_services[Q].input_path]])]),g("div",AXn,[e[577]||(e[577]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Input folder",-1)),te(g("input",{type:"text","onUpdate:modelValue":_=>o.configFile.rag_local_services[Q].working_path=_,onChange:e[129]||(e[129]=_=>i.settingsChanged=!0),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Output folder"},null,40,wXn),[[Ne,o.configFile.rag_local_services[Q].working_path]])])]),g("div",MXn,[g("div",OXn,[g("div",RXn,[e[579]||(e[579]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200 mr-4"},"Start at Startup",-1)),g("div",NXn,[te(g("input",{type:"checkbox","onUpdate:modelValue":_=>o.configFile.rag_local_services[Q].start_at_startup=_,onChange:e[130]||(e[130]=_=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,40,DXn),[[at,o.configFile.rag_local_services[Q].start_at_startup]]),e[578]||(e[578]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("input",{type:"file",ref_for:!0,ref:"fileInput2",onChange:e[131]||(e[131]=(..._)=>o.handleFileUpload&&o.handleFileUpload(..._)),accept:".pdf,.txt,.doc,.docx,.csv,.md",class:"hidden",multiple:""},null,544),g("button",{onClick:e[132]||(e[132]=(..._)=>o.triggerFileInput&&o.triggerFileInput(..._)),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-green-600 rounded-md hover:bg-green-700 focus:ring-2 focus:ring-offset-2 focus:ring-green-500"},e[580]||(e[580]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"})],-1),nt(" Upload Files ")]))]),g("button",{onClick:_=>o.lightrag_select_input_folder(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",title:"Select a folder as data source"},e[581]||(e[581]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})],-1),nt(" Select input Folder ")]),8,IXn),g("button",{onClick:_=>o.lightrag_select_output_folder(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",title:"Select a folder as data source"},e[582]||(e[582]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})],-1),nt(" Select work Folder ")]),8,kXn),g("button",{onClick:_=>o.removeServedDataBase(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-red-600 rounded-md hover:bg-red-700 focus:ring-2 focus:ring-offset-2 focus:ring-red-500"},e[583]||(e[583]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1),nt(" Remove Database ")]),8,PXn)])]))),128))]),g("button",{onClick:e[133]||(e[133]=(...T)=>o.addDatabaseService&&o.addDatabaseService(...T)),class:"inline-flex items-center px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"},e[584]||(e[584]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4v16m8-8H4"})],-1),nt(" Add New Database Server ")]))])]),_:1}),ae(a,{title:"LollmsVectordb Configuration",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",HXn,[g("div",VXn,[e[587]||(e[587]=g("label",{for:"rag_vectorizer",class:"text-sm font-bold w-64"},"RAG Vectorizer:",-1)),te(g("select",{id:"rag_vectorizer",required:"","onUpdate:modelValue":e[134]||(e[134]=T=>o.configFile.rag_vectorizer=T),onChange:e[135]||(e[135]=T=>i.settingsChanged=!0),class:"flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500"},e[586]||(e[586]=[g("option",{value:"semantic"},"Semantic Vectorizer",-1),g("option",{value:"tfidf"},"TFIDF Vectorizer",-1),g("option",{value:"openai"},"OpenAI Vectorizer",-1),g("option",{value:"ollama"},"Ollama Vectorizer",-1)]),544),[[hn,o.configFile.rag_vectorizer]])]),g("div",FXn,[e[588]||(e[588]=g("label",{class:"text-sm font-bold w-64"},"Allow executing remote code:",-1)),g("div",BXn,[g("label",$Xn,[te(g("input",{"onUpdate:modelValue":e[136]||(e[136]=T=>o.configFile.rag_vectorizer_execute_remote_code=T),type:"checkbox",onChange:e[137]||(e[137]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.rag_vectorizer_execute_remote_code]])])])]),g("div",UXn,[e[592]||(e[592]=g("label",{class:"text-sm font-bold w-64 pt-2"},"RAG Vectorizer model:",-1)),g("div",GXn,[te(g("select",{id:"rag_vectorizer_model",required:"","onUpdate:modelValue":e[138]||(e[138]=T=>o.configFile.rag_vectorizer_model=T),onChange:e[139]||(e[139]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500",disabled:o.configFile.rag_vectorizer==="tfidf"},[o.configFile.rag_vectorizer==="semantic"?(k(),P("optgroup",zXn,e[589]||(e[589]=[g("option",{value:"BAAI/bge-m3"},"BAAI/bge-m3",-1),g("option",{value:"nvidia/NV-Embed-v2"},"nvidia/NV-Embed-v2",-1),g("option",{value:"sentence-transformers/all-MiniLM-L6-v2"},"sentence-transformers/all-MiniLM-L6-v2",-1),g("option",{value:"sentence-transformers/all-MiniLM-L12-v2"},"sentence-transformers/all-MiniLM-L12-v2",-1),g("option",{value:"sentence-transformers/all-distilroberta-v1"},"sentence-transformers/all-distilroberta-v1",-1),g("option",{value:"sentence-transformers/all-mpnet-base-v2"},"sentence-transformers/all-mpnet-base-v2",-1)]))):ie("",!0),o.configFile.rag_vectorizer==="openai"?(k(),P("optgroup",jXn,e[590]||(e[590]=[g("option",{value:"text-embedding-ada-002"},"text-embedding-ada-002",-1),g("option",{value:"text-embedding-babbage-001"},"text-embedding-babbage-001",-1),g("option",{value:"text-embedding-curie-001"},"text-embedding-curie-001",-1),g("option",{value:"text-embedding-davinci-001"},"text-embedding-davinci-001",-1)]))):ie("",!0),o.configFile.rag_vectorizer==="ollama"?(k(),P("optgroup",WXn,e[591]||(e[591]=[g("option",{value:"bge-m3"},"bge-m3",-1),g("option",{value:"NV-Embed-v2"},"nvidia/NV-Embed-v2",-1),g("option",{value:"nomic-embed-text"},"nomic-embed-text",-1),g("option",{value:"mxbai-embed-large"},"mxbai-embed-large",-1),g("option",{value:"snowflake-arctic-embed"},"snowflake-arctic-embed",-1),g("option",{value:"all-minilm"},"all-minilm",-1),g("option",{value:"bge-large"},"bge-large",-1)]))):ie("",!0),o.configFile.rag_vectorizer==="tfidf"?(k(),P("option",YXn,"No models available for TFIDF")):ie("",!0)],40,qXn),[[hn,o.configFile.rag_vectorizer_model]]),te(g("input",{"onUpdate:modelValue":e[140]||(e[140]=T=>o.configFile.rag_vectorizer_model=T),class:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500"},null,512),[[Ne,o.configFile.rag_vectorizer_model]])])]),g("div",KXn,[e[593]||(e[593]=g("label",{class:"text-sm font-bold w-64 pt-2"},"RAG server address:",-1)),o.configFile.rag_vectorizer==="ollama"?te((k(),P("input",{key:0,"onUpdate:modelValue":e[141]||(e[141]=T=>o.configFile.rag_service_url=T),class:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500"},null,512)),[[Ne,o.configFile.rag_service_url]]):ie("",!0)]),g("div",ZXn,[g("div",XXn,[e[594]||(e[594]=g("label",{class:"text-sm font-bold w-64"},"RAG chunk size:",-1)),g("div",JXn,[te(g("input",{id:"rag_chunk_size","onUpdate:modelValue":e[142]||(e[142]=T=>o.configFile.rag_chunk_size=T),onChange:e[143]||(e[143]=T=>i.settingsChanged=!0),type:"range",min:"2",max:"64000",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.rag_chunk_size]]),te(g("input",{"onUpdate:modelValue":e[144]||(e[144]=T=>o.configFile.rag_chunk_size=T),type:"number",onChange:e[145]||(e[145]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500"},null,544),[[Ne,o.configFile.rag_chunk_size]])])])]),g("div",eJn,[g("div",tJn,[e[595]||(e[595]=g("label",{class:"text-sm font-bold w-64"},"Clean chunks:",-1)),g("div",nJn,[g("label",rJn,[te(g("input",{"onUpdate:modelValue":e[146]||(e[146]=T=>o.configFile.rag_clean_chunks=T),type:"checkbox",onChange:e[147]||(e[147]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.rag_clean_chunks]])])])])])])]),_:1}),ae(a,{title:"Data Vectorization",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",iJn,[g("div",oJn,[e[597]||(e[597]=g("div",{class:"flex-grow"},[g("label",{for:"rag_build_keys_words",class:"font-medium text-gray-700 dark:text-gray-200"},[nt(" Reformulate prompt before querying database "),g("span",{class:"text-sm text-gray-500 dark:text-gray-400 block mt-1"}," (Recommended for better search results) ")])],-1)),g("div",sJn,[g("label",aJn,[te(g("input",{type:"checkbox",id:"rag_build_keys_words","onUpdate:modelValue":e[148]||(e[148]=T=>o.configFile.rag_build_keys_words=T),onChange:e[149]||(e[149]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.rag_build_keys_words]]),e[596]||(e[596]=g("div",{class:"w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",lJn,[e[599]||(e[599]=g("div",{class:"flex-grow"},[g("label",{for:"rag_put_chunk_informations_into_context",class:"font-medium text-gray-700 dark:text-gray-200"}," Put Chunk Information Into Context ")],-1)),g("div",cJn,[g("label",uJn,[te(g("input",{type:"checkbox",id:"rag_put_chunk_informations_into_context","onUpdate:modelValue":e[150]||(e[150]=T=>o.configFile.rag_put_chunk_informations_into_context=T),onChange:e[151]||(e[151]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.rag_put_chunk_informations_into_context]]),e[598]||(e[598]=g("div",{class:"w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",dJn,[e[601]||(e[601]=g("div",{class:"flex-grow"},[g("label",{for:"data_vectorization_save_db",class:"font-medium text-gray-700 dark:text-gray-200"},[nt(" Save new files to database "),g("span",{class:"text-sm text-gray-500 dark:text-gray-400 block mt-1"}," Database will persist and grow across sessions ")])],-1)),g("div",fJn,[g("label",pJn,[te(g("input",{type:"checkbox",id:"data_vectorization_save_db","onUpdate:modelValue":e[152]||(e[152]=T=>o.configFile.data_vectorization_save_db=T),onChange:e[153]||(e[153]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.data_vectorization_save_db]]),e[600]||(e[600]=g("div",{class:"w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])])])]),_:1})],2)]),g("div",hJn,[g("div",TJn,[g("button",{onClick:e[154]||(e[154]=ge(T=>i.internet_conf_collapsed=!i.internet_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[602]||(e[602]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.internet_conf_collapsed]]),te(g("div",null,e[603]||(e[603]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.internet_conf_collapsed]]),e[604]||(e[604]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Internet",-1))])]),g("div",{class:We([{hidden:i.internet_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[ae(a,{title:"Internet search",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",mJn,[g("div",gJn,[e[606]||(e[606]=g("label",{for:"activate_internet_search",class:"text-sm font-bold text-gray-900 dark:text-white"}," Activate automatic internet search ",-1)),g("label",_Jn,[te(g("input",{type:"checkbox",id:"fun_mode","onUpdate:modelValue":e[155]||(e[155]=T=>o.configFile.activate_internet_search=T),onChange:e[156]||(e[156]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.activate_internet_search]]),e[605]||(e[605]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",QJn,[e[608]||(e[608]=g("label",{for:"activate_internet_pages_judgement",class:"text-sm font-bold text-gray-900 dark:text-white"}," Activate internet pages judgement ",-1)),g("label",vJn,[te(g("input",{type:"checkbox",id:"activate_internet_pages_judgement","onUpdate:modelValue":e[157]||(e[157]=T=>o.configFile.activate_internet_pages_judgement=T),onChange:e[158]||(e[158]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.activate_internet_pages_judgement]]),e[607]||(e[607]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",yJn,[e[610]||(e[610]=g("label",{for:"internet_quick_search",class:"text-sm font-bold text-gray-900 dark:text-white"}," Activate quick search ",-1)),g("label",bJn,[te(g("input",{type:"checkbox",id:"internet_quick_search","onUpdate:modelValue":e[159]||(e[159]=T=>o.configFile.internet_quick_search=T),onChange:e[160]||(e[160]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.internet_quick_search]]),e[609]||(e[609]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",EJn,[e[612]||(e[612]=g("label",{for:"internet_activate_search_decision",class:"text-sm font-bold text-gray-900 dark:text-white"}," Activate search decision ",-1)),g("label",xJn,[te(g("input",{type:"checkbox",id:"internet_activate_search_decision","onUpdate:modelValue":e[161]||(e[161]=T=>o.configFile.internet_activate_search_decision=T),onChange:e[162]||(e[162]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.internet_activate_search_decision]]),e[611]||(e[611]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",SJn,[g("div",LJn,[e[613]||(e[613]=g("label",{for:"internet_vectorization_chunk_size",class:"text-sm font-bold text-gray-900 dark:text-white"}," Internet vectorization chunk size ",-1)),g("div",CJn,[te(g("input",{id:"internet_vectorization_chunk_size","onUpdate:modelValue":e[163]||(e[163]=T=>o.configFile.internet_vectorization_chunk_size=T),onChange:e[164]||(e[164]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.internet_vectorization_chunk_size]]),te(g("input",{"onUpdate:modelValue":e[165]||(e[165]=T=>o.configFile.internet_vectorization_chunk_size=T),type:"number",onChange:e[166]||(e[166]=T=>i.settingsChanged=!0),class:"w-24 px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md text-sm"},null,544),[[Ne,o.configFile.internet_vectorization_chunk_size]])])]),g("div",AJn,[e[614]||(e[614]=g("label",{for:"internet_vectorization_overlap_size",class:"text-sm font-bold text-gray-900 dark:text-white"}," Internet vectorization overlap size ",-1)),g("div",wJn,[te(g("input",{id:"internet_vectorization_overlap_size","onUpdate:modelValue":e[167]||(e[167]=T=>o.configFile.internet_vectorization_overlap_size=T),onChange:e[168]||(e[168]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"1000",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.internet_vectorization_overlap_size]]),te(g("input",{"onUpdate:modelValue":e[169]||(e[169]=T=>o.configFile.internet_vectorization_overlap_size=T),type:"number",onChange:e[170]||(e[170]=T=>i.settingsChanged=!0),class:"w-24 px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md text-sm"},null,544),[[Ne,o.configFile.internet_vectorization_overlap_size]])])]),g("div",MJn,[e[615]||(e[615]=g("label",{for:"internet_vectorization_nb_chunks",class:"text-sm font-bold text-gray-900 dark:text-white"}," Internet vectorization number of chunks ",-1)),g("div",OJn,[te(g("input",{id:"internet_vectorization_nb_chunks","onUpdate:modelValue":e[171]||(e[171]=T=>o.configFile.internet_vectorization_nb_chunks=T),onChange:e[172]||(e[172]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"100",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.internet_vectorization_nb_chunks]]),te(g("input",{"onUpdate:modelValue":e[173]||(e[173]=T=>o.configFile.internet_vectorization_nb_chunks=T),type:"number",onChange:e[174]||(e[174]=T=>i.settingsChanged=!0),class:"w-24 px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md text-sm"},null,544),[[Ne,o.configFile.internet_vectorization_nb_chunks]])])]),g("div",RJn,[e[616]||(e[616]=g("label",{for:"internet_nb_search_pages",class:"text-sm font-bold text-gray-900 dark:text-white"}," Internet number of search pages ",-1)),g("div",NJn,[te(g("input",{id:"internet_nb_search_pages","onUpdate:modelValue":e[175]||(e[175]=T=>o.configFile.internet_nb_search_pages=T),onChange:e[176]||(e[176]=T=>i.settingsChanged=!0),type:"range",min:"1",max:"100",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.internet_nb_search_pages]]),te(g("input",{"onUpdate:modelValue":e[177]||(e[177]=T=>o.configFile.internet_nb_search_pages=T),type:"number",onChange:e[178]||(e[178]=T=>i.settingsChanged=!0),class:"w-24 px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md text-sm"},null,544),[[Ne,o.configFile.internet_nb_search_pages]])])])])])]),_:1})],2)]),g("div",DJn,[g("div",IJn,[g("button",{onClick:e[179]||(e[179]=ge(T=>i.servers_conf_collapsed=!i.servers_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[617]||(e[617]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.servers_conf_collapsed]]),te(g("div",null,e[618]||(e[618]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.servers_conf_collapsed]]),e[619]||(e[619]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Services Zoo",-1))])]),g("div",{class:We([{hidden:i.servers_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[ae(a,{title:"Default services selection",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",kJn,[g("div",PJn,[e[621]||(e[621]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_tts_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Text to speech engine"}," Active TTS Service ")],-1)),g("div",HJn,[te(g("select",{id:"active_tts_service",required:"","onUpdate:modelValue":e[180]||(e[180]=T=>o.configFile.active_tts_service=T),onChange:e[181]||(e[181]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[620]||(e[620]=[g("option",{value:"None"},"None",-1),g("option",{value:"browser"},"Use Browser TTS (doesn't work in realtime mode)",-1),g("option",{value:"xtts"},"XTTS",-1),g("option",{value:"parler-tts"},"Parler-TTS",-1),g("option",{value:"openai_tts"},"Open AI TTS",-1),g("option",{value:"eleven_labs_tts"},"ElevenLabs TTS",-1),g("option",{value:"fish_tts"},"Fish TTS",-1)]),544),[[hn,o.configFile.active_tts_service]])])]),g("div",VJn,[e[623]||(e[623]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_stt_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Speech to Text engine"}," Active STT Service ")],-1)),g("div",FJn,[te(g("select",{id:"active_stt_service",required:"","onUpdate:modelValue":e[182]||(e[182]=T=>o.configFile.active_stt_service=T),onChange:e[183]||(e[183]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[622]||(e[622]=[g("option",{value:"None"},"None",-1),g("option",{value:"whisper"},"Whisper",-1),g("option",{value:"openai_whisper"},"Open AI Whisper",-1)]),544),[[hn,o.configFile.active_stt_service]])])]),g("div",BJn,[e[625]||(e[625]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_tti_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Text to image engine"}," Active TTI Service ")],-1)),g("div",$Jn,[te(g("select",{id:"active_tti_service",required:"","onUpdate:modelValue":e[184]||(e[184]=T=>o.configFile.active_tti_service=T),onChange:e[185]||(e[185]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[624]||(e[624]=[g("option",{value:"None"},"None",-1),g("option",{value:"diffusers"},"Diffusers",-1),g("option",{value:"diffusers_client"},"Diffusers Client",-1),g("option",{value:"autosd"},"AUTO1111's SD",-1),g("option",{value:"dall-e"},"Open AI DALL-E",-1),g("option",{value:"midjourney"},"Midjourney",-1),g("option",{value:"comfyui"},"Comfyui",-1),g("option",{value:"fooocus"},"Fooocus",-1)]),544),[[hn,o.configFile.active_tti_service]])])]),g("div",UJn,[e[627]||(e[627]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_ttm_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Text to Music engine"}," Active TTM Service ")],-1)),g("div",GJn,[te(g("select",{id:"active_ttm_service",required:"","onUpdate:modelValue":e[186]||(e[186]=T=>o.configFile.active_ttm_service=T),onChange:e[187]||(e[187]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[626]||(e[626]=[g("option",{value:"None"},"None",-1),g("option",{value:"musicgen"},"Music Gen",-1)]),544),[[hn,o.configFile.active_ttm_service]])])]),g("div",qJn,[e[629]||(e[629]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_ttv_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Text to Video engine"}," Active TTV Service ")],-1)),g("div",zJn,[te(g("select",{id:"active_ttv_service",required:"","onUpdate:modelValue":e[188]||(e[188]=T=>o.configFile.active_ttv_service=T),onChange:e[189]||(e[189]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[628]||(e[628]=[g("option",{value:"None"},"None",-1),g("option",{value:"cog_video_x"},"Cog Video X",-1),g("option",{value:"diffusers"},"Diffusers",-1),g("option",{value:"lumalab"},"Lumalab",-1)]),544),[[hn,o.configFile.active_ttv_service]])])])])]),_:1}),ae(a,{title:"TTI settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",jJn,[g("div",WJn,[e[631]||(e[631]=g("div",{class:"w-1/3"},[g("label",{for:"use_negative_prompt",class:"text-sm font-semibold text-gray-700 dark:text-gray-200"}," Use negative prompt ")],-1)),g("div",YJn,[g("label",KJn,[te(g("input",{type:"checkbox",id:"use_negative_prompt","onUpdate:modelValue":e[190]||(e[190]=T=>o.configFile.use_negative_prompt=T),onChange:e[191]||(e[191]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.use_negative_prompt]]),e[630]||(e[630]=g("div",{class:"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",ZJn,[e[633]||(e[633]=g("div",{class:"w-1/3"},[g("label",{for:"use_ai_generated_negative_prompt",class:"text-sm font-semibold text-gray-700 dark:text-gray-200"}," Use AI generated negative prompt ")],-1)),g("div",XJn,[g("label",JJn,[te(g("input",{type:"checkbox",id:"use_ai_generated_negative_prompt","onUpdate:modelValue":e[192]||(e[192]=T=>o.configFile.use_ai_generated_negative_prompt=T),onChange:e[193]||(e[193]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.use_ai_generated_negative_prompt]]),e[632]||(e[632]=g("div",{class:"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",eer,[e[634]||(e[634]=g("div",{class:"w-1/3"},[g("label",{for:"negative_prompt_generation_prompt",class:"text-sm font-semibold text-gray-700 dark:text-gray-200"}," Negative prompt generation prompt ")],-1)),g("div",ter,[te(g("input",{type:"text",id:"negative_prompt_generation_prompt","onUpdate:modelValue":e[194]||(e[194]=T=>o.configFile.negative_prompt_generation_prompt=T),onChange:e[195]||(e[195]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-colors duration-200 text-sm text-gray-900 dark:text-white placeholder-gray-400",required:""},null,544),[[Ne,o.configFile.negative_prompt_generation_prompt]])])]),g("div",ner,[e[635]||(e[635]=g("div",{class:"w-1/3"},[g("label",{for:"default_negative_prompt",class:"text-sm font-semibold text-gray-700 dark:text-gray-200"}," Default negative prompt ")],-1)),g("div",rer,[te(g("input",{type:"text",id:"default_negative_prompt","onUpdate:modelValue":e[196]||(e[196]=T=>o.configFile.default_negative_prompt=T),onChange:e[197]||(e[197]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-colors duration-200 text-sm text-gray-900 dark:text-white placeholder-gray-400",required:""},null,544),[[Ne,o.configFile.default_negative_prompt]])])])])]),_:1}),ae(a,{title:"Full Audio settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",ier,[g("div",oer,[e[636]||(e[636]=g("div",{class:"flex items-center"},[g("label",{for:"stt_listening_threshold",class:"font-medium text-gray-700 dark:text-gray-200",title:"Listening threshold"}," Listening threshold "),g("span",{class:"ml-1 text-gray-400 hover:text-gray-600 cursor-help",title:"Controls the sensitivity of voice detection"},[g("i",{class:"fas fa-info-circle"})])],-1)),te(g("input",{type:"number",step:"1",id:"stt_listening_threshold",required:"","onUpdate:modelValue":e[198]||(e[198]=T=>o.configFile.stt_listening_threshold=T),onChange:e[199]||(e[199]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.stt_listening_threshold]])]),g("div",ser,[e[637]||(e[637]=g("div",{class:"flex items-center"},[g("label",{for:"stt_silence_duration",class:"font-medium text-gray-700 dark:text-gray-200"}," Silence duration (s) "),g("span",{class:"ml-1 text-gray-400 hover:text-gray-600 cursor-help",title:"Duration of silence before stopping recording"},[g("i",{class:"fas fa-info-circle"})])],-1)),te(g("input",{type:"number",step:"1",id:"stt_silence_duration",required:"","onUpdate:modelValue":e[200]||(e[200]=T=>o.configFile.stt_silence_duration=T),onChange:e[201]||(e[201]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.stt_silence_duration]])]),g("div",aer,[e[638]||(e[638]=g("div",{class:"flex items-center"},[g("label",{for:"stt_sound_threshold_percentage",class:"font-medium text-gray-700 dark:text-gray-200"}," Minimum sound percentage "),g("span",{class:"ml-1 text-gray-400 hover:text-gray-600 cursor-help",title:"Minimum required sound percentage in recorded segment"},[g("i",{class:"fas fa-info-circle"})])],-1)),te(g("input",{type:"number",step:"1",id:"stt_sound_threshold_percentage",required:"","onUpdate:modelValue":e[202]||(e[202]=T=>o.configFile.stt_sound_threshold_percentage=T),onChange:e[203]||(e[203]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.stt_sound_threshold_percentage]])]),g("div",ler,[e[639]||(e[639]=g("div",{class:"flex items-center"},[g("label",{for:"stt_gain",class:"font-medium text-gray-700 dark:text-gray-200"}," Volume amplification "),g("span",{class:"ml-1 text-gray-400 hover:text-gray-600 cursor-help",title:"Audio input gain adjustment"},[g("i",{class:"fas fa-info-circle"})])],-1)),te(g("input",{type:"number",step:"1",id:"stt_gain",required:"","onUpdate:modelValue":e[204]||(e[204]=T=>o.configFile.stt_gain=T),onChange:e[205]||(e[205]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.stt_gain]])]),g("div",cer,[e[643]||(e[643]=g("h3",{class:"font-semibold text-gray-900 dark:text-white mb-4"},"Audio Settings",-1)),g("div",uer,[e[640]||(e[640]=g("label",{for:"stt_rate",class:"font-medium text-gray-700 dark:text-gray-200"},"Audio rate",-1)),te(g("input",{type:"number",step:"1",id:"stt_rate",required:"","onUpdate:modelValue":e[206]||(e[206]=T=>o.configFile.stt_rate=T),onChange:e[207]||(e[207]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-white border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.stt_rate]])]),g("div",der,[e[641]||(e[641]=g("label",{for:"stt_channels",class:"font-medium text-gray-700 dark:text-gray-200"},"Number of channels",-1)),te(g("input",{type:"number",step:"1",id:"stt_channels",required:"","onUpdate:modelValue":e[208]||(e[208]=T=>o.configFile.stt_channels=T),onChange:e[209]||(e[209]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-white border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.stt_channels]])]),g("div",fer,[e[642]||(e[642]=g("label",{for:"stt_buffer_size",class:"font-medium text-gray-700 dark:text-gray-200"},"Buffer size",-1)),te(g("input",{type:"number",step:"1",id:"stt_buffer_size",required:"","onUpdate:modelValue":e[210]||(e[210]=T=>o.configFile.stt_buffer_size=T),onChange:e[211]||(e[211]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-white border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.stt_buffer_size]])])]),g("div",per,[e[647]||(e[647]=g("h3",{class:"font-semibold text-gray-900 dark:text-white mb-4"},"Word Detection",-1)),g("div",her,[e[645]||(e[645]=g("label",{for:"stt_activate_word_detection",class:"font-medium text-gray-700 dark:text-gray-200"}," Activate word detection ",-1)),g("div",Ter,[g("label",mer,[te(g("input",{type:"checkbox",id:"stt_activate_word_detection","onUpdate:modelValue":e[212]||(e[212]=T=>o.configFile.stt_activate_word_detection=T),onChange:e[213]||(e[213]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.stt_activate_word_detection]]),e[644]||(e[644]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",ger,[e[646]||(e[646]=g("label",{for:"stt_word_detection_file",class:"font-medium text-gray-700 dark:text-gray-200"}," Word detection wav file ",-1)),te(g("input",{type:"text",id:"stt_word_detection_file",required:"","onUpdate:modelValue":e[214]||(e[214]=T=>o.configFile.stt_word_detection_file=T),onChange:e[215]||(e[215]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-white border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.stt_word_detection_file]])])])])]),_:1}),ae(a,{title:"Audio devices settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",_er,[g("div",Qer,[e[648]||(e[648]=g("div",{class:"md:w-1/3"},[g("label",{for:"stt_input_device",class:"block text-sm font-semibold text-gray-700 dark:text-gray-200",title:"Input device"}," Audio Input Device "),g("p",{class:"text-xs text-gray-500 dark:text-gray-400 mt-1"}," Select your microphone or audio input source ")],-1)),g("div",ver,[te(g("select",{id:"stt_input_device",required:"","onUpdate:modelValue":e[216]||(e[216]=T=>o.configFile.stt_input_device=T),onChange:e[217]||(e[217]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 bg-gray-50 border border-gray-300 rounded-md shadow-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-colors duration-200"},[(k(!0),P(ze,null,lt(i.snd_input_devices,(T,Q)=>(k(),P("option",{key:T,value:i.snd_input_devices_indexes[Q]},ue(T),9,yer))),128))],544),[[hn,o.configFile.stt_input_device]])])]),g("div",ber,[e[649]||(e[649]=g("div",{class:"md:w-1/3"},[g("label",{for:"tts_output_device",class:"block text-sm font-semibold text-gray-700 dark:text-gray-200",title:"Output device"}," Audio Output Device "),g("p",{class:"text-xs text-gray-500 dark:text-gray-400 mt-1"}," Select your speakers or audio output device ")],-1)),g("div",Eer,[te(g("select",{id:"tts_output_device",required:"","onUpdate:modelValue":e[218]||(e[218]=T=>o.configFile.tts_output_device=T),onChange:e[219]||(e[219]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 bg-gray-50 border border-gray-300 rounded-md shadow-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-colors duration-200"},[(k(!0),P(ze,null,lt(i.snd_output_devices,(T,Q)=>(k(),P("option",{key:T,value:i.snd_output_devices_indexes[Q]},ue(T),9,xer))),128))],544),[[hn,o.configFile.tts_output_device]])])])])]),_:1}),ae(a,{title:"Lollms service",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",Ser,[g("div",Ler,[e[650]||(e[650]=g("label",{for:"host",class:"font-semibold text-gray-700 dark:text-gray-200"},"Host:",-1)),te(g("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[220]||(e[220]=T=>o.configFile.host=T),onChange:e[221]||(e[221]=T=>i.settingsChanged=!0),class:"input-field"},null,544),[[Ne,o.configFile.host]])]),g("div",Cer,[e[651]||(e[651]=g("label",{for:"lollms_access_keys",class:"font-semibold text-gray-700 dark:text-gray-200"},"Access keys:",-1)),ae(l,{modelValue:o.configFile.lollms_access_keys,"onUpdate:modelValue":e[222]||(e[222]=T=>o.configFile.lollms_access_keys=T),onChange:e[223]||(e[223]=T=>i.settingsChanged=!0),placeholder:"Enter access key"},null,8,["modelValue"])]),g("div",Aer,[e[652]||(e[652]=g("label",{for:"port",class:"font-semibold text-gray-700 dark:text-gray-200"},"Port:",-1)),te(g("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[224]||(e[224]=T=>o.configFile.port=T),onChange:e[225]||(e[225]=T=>i.settingsChanged=!0),class:"input-field"},null,544),[[Ne,o.configFile.port]])]),g("div",wer,[e[655]||(e[655]=g("span",{class:"font-semibold text-gray-700 dark:text-gray-200"},"Server Configuration:",-1)),g("div",Mer,[g("label",Oer,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[226]||(e[226]=T=>o.configFile.headless_server_mode=T),onChange:e[227]||(e[227]=T=>i.settingsChanged=!0),class:"w-4 h-4 rounded accent-blue-500"},null,544),[[at,o.configFile.headless_server_mode]]),e[653]||(e[653]=g("span",{class:"text-sm text-gray-600 dark:text-gray-300"},"Headless Server Mode",-1))]),g("label",Rer,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[228]||(e[228]=T=>o.configFile.activate_lollms_server=T),onChange:e[229]||(e[229]=T=>i.settingsChanged=!0),class:"w-4 h-4 rounded accent-blue-500"},null,544),[[at,o.configFile.activate_lollms_server]]),e[654]||(e[654]=g("span",{class:"text-sm text-gray-600 dark:text-gray-300"},"LoLLMS Server",-1))]),g("div",Ner,[(k(),P(ze,null,lt(["rag","tts","stt","tti","itt","ttm"],T=>g("label",{key:T,class:"flex items-center space-x-2 cursor-pointer"},[te(g("input",{type:"checkbox",id:`activate_lollms_${T}_server`,"onUpdate:modelValue":Q=>o.configFile[`activate_lollms_${T}_server`]=Q,onChange:e[230]||(e[230]=Q=>i.settingsChanged=!0),class:"w-4 h-4 rounded accent-blue-500"},null,40,Der),[[at,o.configFile[`activate_lollms_${T}_server`]]]),g("span",Ier,ue(T.toUpperCase())+" Server",1)])),64))])])]),g("div",ker,[e[656]||(e[656]=g("span",{class:"font-semibold text-gray-700 dark:text-gray-200"},"Emulators:",-1)),g("div",Per,[(k(),P(ze,null,lt(["ollama","openai","mistralai"],T=>g("label",{key:T,class:"flex items-center space-x-2 cursor-pointer"},[te(g("input",{type:"checkbox",id:`activate_${T}_emulator`,"onUpdate:modelValue":Q=>o.configFile[`activate_${T}_emulator`]=Q,onChange:e[231]||(e[231]=Q=>i.settingsChanged=!0),class:"w-4 h-4 rounded accent-blue-500"},null,40,Her),[[at,o.configFile[`activate_${T}_emulator`]]]),g("span",Ver,ue(T.charAt(0).toUpperCase()+T.slice(1))+" Emulator",1)])),64))])])])]),_:1}),ae(a,{title:"STT services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Browser Audio STT",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",Fer,[g("div",Ber,[e[658]||(e[658]=g("label",{for:"activate_audio_infos",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Activate audio infos ",-1)),g("label",$er,[te(g("input",{type:"checkbox",id:"activate_audio_infos","onUpdate:modelValue":e[232]||(e[232]=T=>o.configFile.activate_audio_infos=T),onChange:e[233]||(e[233]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.activate_audio_infos]]),e[657]||(e[657]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",Uer,[e[660]||(e[660]=g("label",{for:"audio_auto_send_input",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Send audio input automatically ",-1)),g("label",Ger,[te(g("input",{type:"checkbox",id:"audio_auto_send_input","onUpdate:modelValue":e[234]||(e[234]=T=>o.configFile.audio_auto_send_input=T),onChange:e[235]||(e[235]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.audio_auto_send_input]]),e[659]||(e[659]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",qer,[g("label",zer," Audio silence timer (ms): "+ue(o.configFile.audio_silenceTimer)+"ms ",1),g("div",jer,[te(g("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[236]||(e[236]=T=>o.configFile.audio_silenceTimer=T),onChange:e[237]||(e[237]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"10000",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 accent-blue-600"},null,544),[[Ne,o.configFile.audio_silenceTimer]]),te(g("input",{"onUpdate:modelValue":e[238]||(e[238]=T=>o.configFile.audio_silenceTimer=T),onChange:e[239]||(e[239]=T=>i.settingsChanged=!0),type:"number",class:"w-full px-3 py-2 bg-gray-50 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.audio_silenceTimer]])])]),g("div",Wer,[e[661]||(e[661]=g("label",{for:"audio_in_language",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Input Audio Language ",-1)),te(g("select",{id:"audio_in_language","onUpdate:modelValue":e[240]||(e[240]=T=>o.configFile.audio_in_language=T),onChange:e[241]||(e[241]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 bg-gray-50 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},[(k(!0),P(ze,null,lt(o.audioLanguages,T=>(k(),P("option",{key:T.code,value:T.code},ue(T.name),9,Yer))),128))],544),[[hn,o.configFile.audio_in_language]])])])]),_:1}),ae(a,{title:"Whisper audio transcription",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",Ker,[g("div",Zer,[e[663]||(e[663]=g("label",{for:"whisper_activate",class:"text-gray-700 dark:text-gray-200 font-medium"}," Activate Whisper at startup ",-1)),g("label",Xer,[te(g("input",{type:"checkbox",id:"whisper_activate","onUpdate:modelValue":e[242]||(e[242]=T=>o.configFile.whisper_activate=T),onChange:e[243]||(e[243]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.whisper_activate]]),e[662]||(e[662]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",Jer,[g("button",{onClick:e[244]||(e[244]=(...T)=>o.reinstallWhisperService&&o.reinstallWhisperService(...T)),class:"w-full py-3 px-4 bg-gradient-to-r from-green-400 to-green-500 hover:from-green-500 hover:to-green-600 text-white font-medium rounded-lg shadow-md hover:shadow-lg transition-all duration-300 flex items-center justify-center space-x-2"},e[664]||(e[664]=[g("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1),g("span",null,"Install Whisper",-1)]))]),g("div",etr,[e[666]||(e[666]=g("label",{for:"whisper_model",class:"block text-sm font-medium text-gray-700 dark:text-gray-200 mb-2"}," Whisper Model ",-1)),g("div",ttr,[te(g("select",{id:"whisper_model","onUpdate:modelValue":e[245]||(e[245]=T=>o.configFile.whisper_model=T),onChange:e[246]||(e[246]=T=>i.settingsChanged=!0),class:"block w-full px-4 py-3 text-base border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white appearance-none"},[(k(!0),P(ze,null,lt(o.whisperModels,T=>(k(),P("option",{key:T,value:T},ue(T),9,ntr))),128))],544),[[hn,o.configFile.whisper_model]]),e[665]||(e[665]=g("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 dark:text-gray-300"},[g("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})])],-1))])])])]),_:1}),ae(a,{title:"Open AI Whisper audio transcription",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",rtr,[g("tr",null,[e[667]||(e[667]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_whisper_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai whisper key:")],-1)),g("td",null,[g("div",itr,[te(g("input",{type:"text",id:"openai_whisper_key",required:"","onUpdate:modelValue":e[247]||(e[247]=T=>o.configFile.openai_whisper_key=T),onChange:e[248]||(e[248]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.openai_whisper_key]])])])]),g("tr",null,[e[668]||(e[668]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_whisper_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open Ai Whisper model:")],-1)),g("td",null,[g("div",otr,[te(g("select",{id:"openai_whisper_model","onUpdate:modelValue":e[249]||(e[249]=T=>o.configFile.openai_whisper_model=T),onChange:e[250]||(e[250]=T=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),P(ze,null,lt(o.openaiWhisperModels,T=>(k(),P("option",{key:T,value:T},ue(T),9,str))),128))],544),[[hn,o.configFile.openai_whisper_model]])])])])])]),_:1})]),_:1}),ae(a,{title:"TTS services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Browser Audio TTS",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",atr,[g("tr",null,[e[669]||(e[669]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),g("td",null,[g("div",ltr,[te(g("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[251]||(e[251]=T=>o.configFile.auto_speak=T),onChange:e[252]||(e[252]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.auto_speak]])])])]),g("tr",null,[e[670]||(e[670]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),g("td",null,[te(g("input",{id:"audio_pitch","onUpdate:modelValue":e[253]||(e[253]=T=>o.configFile.audio_pitch=T),onChange:e[254]||(e[254]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"10",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.audio_pitch]]),te(g("input",{"onUpdate:modelValue":e[255]||(e[255]=T=>o.configFile.audio_pitch=T),onChange:e[256]||(e[256]=T=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.audio_pitch]])])]),g("tr",null,[e[671]||(e[671]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),g("td",null,[te(g("select",{id:"audio_out_voice","onUpdate:modelValue":e[257]||(e[257]=T=>o.configFile.audio_out_voice=T),onChange:e[258]||(e[258]=T=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),P(ze,null,lt(i.audioVoices,T=>(k(),P("option",{key:T.name,value:T.name},ue(T.name),9,ctr))),128))],544),[[hn,o.configFile.audio_out_voice]])])])])]),_:1}),ae(a,{title:"XTTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",utr,[g("tr",null,[e[672]||(e[672]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current language:")],-1)),g("td",null,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[259]||(e[259]=(...T)=>o.reinstallXTTSService&&o.reinstallXTTSService(...T))},"install xtts service")])]),g("tr",null,[e[673]||(e[673]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current language:")],-1)),g("td",null,[g("div",dtr,[te(g("select",{"onUpdate:modelValue":e[260]||(e[260]=T=>o.xtts_current_language=T),onChange:e[261]||(e[261]=T=>i.settingsChanged=!0)},[(k(!0),P(ze,null,lt(i.voice_languages,(T,Q)=>(k(),P("option",{key:Q,value:T},ue(Q),9,ftr))),128))],544),[[hn,o.xtts_current_language]])])])]),g("tr",null,[e[674]||(e[674]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_current_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current voice:")],-1)),g("td",null,[g("div",ptr,[te(g("select",{"onUpdate:modelValue":e[262]||(e[262]=T=>o.xtts_current_voice=T),onChange:e[263]||(e[263]=T=>i.settingsChanged=!0)},[(k(!0),P(ze,null,lt(i.voices,T=>(k(),P("option",{key:T,value:T},ue(T),9,htr))),128))],544),[[hn,o.xtts_current_voice]])])])]),g("tr",null,[e[675]||(e[675]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_freq",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Frequency (controls the tone):")],-1)),g("td",null,[g("div",Ttr,[te(g("input",{type:"number",id:"xtts_freq",required:"","onUpdate:modelValue":e[264]||(e[264]=T=>o.configFile.xtts_freq=T),onChange:e[265]||(e[265]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.01"},null,544),[[Ne,o.configFile.xtts_freq,void 0,{number:!0}]])])])]),g("tr",null,[e[676]||(e[676]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"auto_read",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto read:")],-1)),g("td",null,[g("div",mtr,[te(g("input",{type:"checkbox",id:"auto_read",required:"","onUpdate:modelValue":e[266]||(e[266]=T=>o.configFile.auto_read=T),onChange:e[267]||(e[267]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.auto_read]])])])]),g("tr",null,[e[677]||(e[677]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_stream_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"xtts stream chunk size:")],-1)),g("td",null,[g("div",gtr,[te(g("input",{type:"text",id:"xtts_stream_chunk_size",required:"","onUpdate:modelValue":e[268]||(e[268]=T=>o.configFile.xtts_stream_chunk_size=T),onChange:e[269]||(e[269]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.xtts_stream_chunk_size]])])])]),g("tr",null,[e[678]||(e[678]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_temperature",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Temperature:")],-1)),g("td",null,[g("div",_tr,[te(g("input",{type:"number",id:"xtts_temperature",required:"","onUpdate:modelValue":e[270]||(e[270]=T=>o.configFile.xtts_temperature=T),onChange:e[271]||(e[271]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.01"},null,544),[[Ne,o.configFile.xtts_temperature,void 0,{number:!0}]])])])]),g("tr",null,[e[679]||(e[679]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_length_penalty",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Length Penalty:")],-1)),g("td",null,[g("div",Qtr,[te(g("input",{type:"number",id:"xtts_length_penalty",required:"","onUpdate:modelValue":e[272]||(e[272]=T=>o.configFile.xtts_length_penalty=T),onChange:e[273]||(e[273]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[Ne,o.configFile.xtts_length_penalty,void 0,{number:!0}]])])])]),g("tr",null,[e[680]||(e[680]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_repetition_penalty",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Repetition Penalty:")],-1)),g("td",null,[g("div",vtr,[te(g("input",{type:"number",id:"xtts_repetition_penalty",required:"","onUpdate:modelValue":e[274]||(e[274]=T=>o.configFile.xtts_repetition_penalty=T),onChange:e[275]||(e[275]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[Ne,o.configFile.xtts_repetition_penalty,void 0,{number:!0}]])])])]),g("tr",null,[e[681]||(e[681]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_top_k",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Top K:")],-1)),g("td",null,[g("div",ytr,[te(g("input",{type:"number",id:"xtts_top_k",required:"","onUpdate:modelValue":e[276]||(e[276]=T=>o.configFile.xtts_top_k=T),onChange:e[277]||(e[277]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.xtts_top_k,void 0,{number:!0}]])])])]),g("tr",null,[e[682]||(e[682]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_top_p",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Top P:")],-1)),g("td",null,[g("div",btr,[te(g("input",{type:"number",id:"xtts_top_p",required:"","onUpdate:modelValue":e[278]||(e[278]=T=>o.configFile.xtts_top_p=T),onChange:e[279]||(e[279]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.xtts_top_p,void 0,{number:!0}]])])])]),g("tr",null,[e[683]||(e[683]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_speed",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Speed:")],-1)),g("td",null,[g("div",Etr,[te(g("input",{type:"number",id:"xtts_speed",required:"","onUpdate:modelValue":e[280]||(e[280]=T=>o.configFile.xtts_speed=T),onChange:e[281]||(e[281]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[Ne,o.configFile.xtts_speed,void 0,{number:!0}]])])])]),g("tr",null,[e[684]||(e[684]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_text_splitting",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable Text Splitting:")],-1)),g("td",null,[g("div",xtr,[te(g("input",{type:"checkbox",id:"enable_text_splitting","onUpdate:modelValue":e[282]||(e[282]=T=>o.configFile.enable_text_splitting=T),onChange:e[283]||(e[283]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_text_splitting]])])])])])]),_:1}),ae(a,{title:"Open AI TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Str,[g("tr",null,[e[685]||(e[685]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open AI key:")],-1)),g("td",null,[g("div",Ltr,[te(g("input",{type:"text",id:"openai_tts_key",required:"","onUpdate:modelValue":e[284]||(e[284]=T=>o.configFile.openai_tts_key=T),onChange:e[285]||(e[285]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.openai_tts_key]])])])]),g("tr",null,[e[687]||(e[687]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_tts_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai tts model:")],-1)),g("td",null,[g("div",Ctr,[te(g("select",{"onUpdate:modelValue":e[286]||(e[286]=T=>o.configFile.openai_tts_model=T),onChange:e[287]||(e[287]=T=>i.settingsChanged=!0)},e[686]||(e[686]=[g("option",null," tts-1 ",-1),g("option",null," tts-2 ",-1)]),544),[[hn,o.configFile.openai_tts_model]])])])]),g("tr",null,[e[689]||(e[689]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_tts_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai tts voice:")],-1)),g("td",null,[g("div",Atr,[te(g("select",{"onUpdate:modelValue":e[288]||(e[288]=T=>o.configFile.openai_tts_voice=T),onChange:e[289]||(e[289]=T=>i.settingsChanged=!0)},e[688]||(e[688]=[g("option",null," alloy ",-1),g("option",null," echo ",-1),g("option",null," fable ",-1),g("option",null," nova ",-1),g("option",null," shimmer ",-1)]),544),[[hn,o.configFile.openai_tts_voice]])])])])])]),_:1}),ae(a,{title:"Eleven Labs TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",wtr,[g("tr",null,[e[690]||(e[690]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Eleven Labs key:")],-1)),g("td",null,[g("div",Mtr,[te(g("input",{type:"text",id:"elevenlabs_tts_key",required:"","onUpdate:modelValue":e[290]||(e[290]=T=>o.configFile.elevenlabs_tts_key=T),onChange:e[291]||(e[291]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.elevenlabs_tts_key]])])])]),g("tr",null,[e[691]||(e[691]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_model_id",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Eleven Labs TTS model ID:")],-1)),g("td",null,[g("div",Otr,[te(g("input",{type:"text",id:"elevenlabs_tts_model_id",required:"","onUpdate:modelValue":e[292]||(e[292]=T=>o.configFile.elevenlabs_tts_model_id=T),onChange:e[293]||(e[293]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.elevenlabs_tts_model_id]])])])]),g("tr",null,[e[692]||(e[692]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_voice_stability",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice Stability:")],-1)),g("td",null,[g("div",Rtr,[te(g("input",{type:"number",id:"elevenlabs_tts_voice_stability",required:"","onUpdate:modelValue":e[294]||(e[294]=T=>o.configFile.elevenlabs_tts_voice_stability=T),onChange:e[295]||(e[295]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1",min:"0",max:"1"},null,544),[[Ne,o.configFile.elevenlabs_tts_voice_stability]])])])]),g("tr",null,[e[693]||(e[693]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_voice_boost",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice Boost:")],-1)),g("td",null,[g("div",Ntr,[te(g("input",{type:"number",id:"elevenlabs_tts_voice_boost",required:"","onUpdate:modelValue":e[296]||(e[296]=T=>o.configFile.elevenlabs_tts_voice_boost=T),onChange:e[297]||(e[297]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1",min:"0",max:"1"},null,544),[[Ne,o.configFile.elevenlabs_tts_voice_boost]])])])]),g("tr",null,[e[694]||(e[694]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_voice_id",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice ID:")],-1)),g("td",null,[g("div",Dtr,[te(g("select",{"onUpdate:modelValue":e[298]||(e[298]=T=>o.configFile.elevenlabs_tts_voice_id=T),onChange:e[299]||(e[299]=T=>i.settingsChanged=!0)},[(k(!0),P(ze,null,lt(i.voices,T=>(k(),P("option",{key:T.voice_id,value:T.voice_id},ue(T.name),9,Itr))),128))],544),[[hn,o.configFile.elevenlabs_tts_voice_id]])])])])])]),_:1}),ae(a,{title:"Fish TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",ktr,[g("tr",null,[e[695]||(e[695]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"fish_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fish TTS key:")],-1)),g("td",null,[g("div",Ptr,[te(g("input",{type:"text",id:"fish_tts_key",required:"","onUpdate:modelValue":e[300]||(e[300]=T=>o.configFile.fish_tts_key=T),onChange:e[301]||(e[301]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.fish_tts_key]])])])]),g("tr",null,[e[696]||(e[696]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"fish_tts_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fish TTS voice:")],-1)),g("td",null,[g("div",Htr,[te(g("input",{type:"text",id:"fish_tts_voice",required:"","onUpdate:modelValue":e[302]||(e[302]=T=>o.configFile.fish_tts_voice=T),onChange:e[303]||(e[303]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.fish_tts_voice]])])])])])]),_:1})]),_:1}),ae(a,{title:"TTI services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Stable diffusion service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Vtr,[g("tr",null,[e[698]||(e[698]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_sd_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable sd service:")],-1)),g("td",null,[g("div",Ftr,[te(g("input",{type:"checkbox",id:"enable_sd_service",required:"","onUpdate:modelValue":e[304]||(e[304]=T=>o.configFile.enable_sd_service=T),onChange:e[305]||(e[305]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_sd_service]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[306]||(e[306]=T=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},e[697]||(e[697]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[700]||(e[700]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"install_sd_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install SD service:")],-1)),g("td",null,[g("div",Btr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[307]||(e[307]=(...T)=>o.reinstallSDService&&o.reinstallSDService(...T))},"install sd service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[308]||(e[308]=(...T)=>o.upgradeSDService&&o.upgradeSDService(...T))},"upgrade sd service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[309]||(e[309]=(...T)=>o.startSDService&&o.startSDService(...T))},"start sd service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[310]||(e[310]=(...T)=>o.showSD&&o.showSD(...T))},"show sd ui"),e[699]||(e[699]=g("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/ParisNeo/stable-diffusion-webui/blob/master/LICENSE.txt",target:"_blank"},"automatic1111's sd licence",-1))])]),g("td",null,[g("div",$tr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[311]||(e[311]=(...T)=>o.reinstallSDService&&o.reinstallSDService(...T))},"install sd service")])])]),g("tr",null,[e[701]||(e[701]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"sd_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"sd base url:")],-1)),g("td",null,[g("div",Utr,[te(g("input",{type:"text",id:"sd_base_url",required:"","onUpdate:modelValue":e[312]||(e[312]=T=>o.configFile.sd_base_url=T),onChange:e[313]||(e[313]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.sd_base_url]])])])])])]),_:1}),ae(a,{title:"Diffusers service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Gtr,[g("tr",null,[e[703]||(e[703]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"install_diffusers_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Diffusers service:")],-1)),g("td",null,[g("div",qtr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[314]||(e[314]=(...T)=>o.reinstallDiffusersService&&o.reinstallDiffusersService(...T))},"install diffusers service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[315]||(e[315]=(...T)=>o.upgradeDiffusersService&&o.upgradeDiffusersService(...T))},"upgrade diffusers service"),e[702]||(e[702]=g("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/huggingface/diffusers?tab=Apache-2.0-1-ov-file#readme",target:"_blank"},"Diffusers licence",-1))])])]),g("tr",null,[e[704]||(e[704]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"diffusers_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Diffusers model:")],-1)),g("td",null,[g("div",ztr,[te(g("input",{type:"text",id:"diffusers_model",required:"","onUpdate:modelValue":e[316]||(e[316]=T=>o.configFile.diffusers_model=T),onChange:e[317]||(e[317]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.diffusers_model]])])]),e[705]||(e[705]=g("td",null,null,-1))])])]),_:1}),ae(a,{title:"Diffusers client service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",jtr,[g("tr",null,[e[706]||(e[706]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"diffusers_client_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Diffusers client base url:")],-1)),g("td",null,[g("div",Wtr,[te(g("input",{type:"text",id:"diffusers_client_base_url",required:"","onUpdate:modelValue":e[318]||(e[318]=T=>o.configFile.diffusers_client_base_url=T),onChange:e[319]||(e[319]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.diffusers_client_base_url]])])]),e[707]||(e[707]=g("td",null,null,-1))])])]),_:1}),ae(a,{title:"Midjourney",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Ytr,[g("tr",null,[e[708]||(e[708]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"midjourney_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"midjourney key:")],-1)),g("td",null,[g("div",Ktr,[te(g("input",{type:"text",id:"midjourney_key",required:"","onUpdate:modelValue":e[320]||(e[320]=T=>o.configFile.midjourney_key=T),onChange:e[321]||(e[321]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.midjourney_key]])])])]),g("tr",null,[e[709]||(e[709]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"midjourney_timeout",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"request timeout(s):")],-1)),g("td",null,[g("div",Ztr,[te(g("input",{type:"number",min:"10",max:"2048",id:"midjourney_timeout",required:"","onUpdate:modelValue":e[322]||(e[322]=T=>o.configFile.midjourney_timeout=T),onChange:e[323]||(e[323]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.midjourney_timeout]])])])]),g("tr",null,[e[710]||(e[710]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"midjourney_retries",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"number of retries:")],-1)),g("td",null,[g("div",Xtr,[te(g("input",{type:"number",min:"0",max:"2048",id:"midjourney_retries",required:"","onUpdate:modelValue":e[324]||(e[324]=T=>o.configFile.midjourney_retries=T),onChange:e[325]||(e[325]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.midjourney_retries]])])])])])]),_:1}),ae(a,{title:"Dall-E",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Jtr,[g("tr",null,[e[711]||(e[711]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"dall_e_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"dall e key:")],-1)),g("td",null,[g("div",enr,[te(g("input",{type:"text",id:"dall_e_key",required:"","onUpdate:modelValue":e[326]||(e[326]=T=>o.configFile.dall_e_key=T),onChange:e[327]||(e[327]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.dall_e_key]])])])]),g("tr",null,[e[713]||(e[713]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"dall_e_generation_engine",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"dall e generation engine:")],-1)),g("td",null,[g("div",tnr,[te(g("select",{"onUpdate:modelValue":e[328]||(e[328]=T=>o.configFile.dall_e_generation_engine=T),onChange:e[329]||(e[329]=T=>i.settingsChanged=!0)},e[712]||(e[712]=[g("option",null," dall-e-2 ",-1),g("option",null," dall-e-3 ",-1)]),544),[[hn,o.configFile.dall_e_generation_engine]])])])])])]),_:1}),ae(a,{title:"ComfyUI service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",nnr,[g("tr",null,[e[715]||(e[715]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_comfyui_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable comfyui service:")],-1)),g("td",null,[g("div",rnr,[te(g("input",{type:"checkbox",id:"enable_comfyui_service",required:"","onUpdate:modelValue":e[330]||(e[330]=T=>o.configFile.enable_comfyui_service=T),onChange:e[331]||(e[331]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_comfyui_service]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[332]||(e[332]=T=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},e[714]||(e[714]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[716]||(e[716]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"comfyui_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Available models (only if local):")],-1)),g("td",null,[g("div",inr,[te(g("select",{id:"comfyui_model",required:"","onUpdate:modelValue":e[333]||(e[333]=T=>o.configFile.comfyui_model=T),onChange:e[334]||(e[334]=T=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),P(ze,null,lt(i.comfyui_models,(T,Q)=>(k(),P("option",{key:T,value:T},ue(T),9,onr))),128))],544),[[hn,o.configFile.comfyui_model]])])])]),g("tr",null,[e[718]||(e[718]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"comfyui_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable comfyui model:")],-1)),g("td",null,[g("div",snr,[te(g("input",{type:"text",id:"comfyui_model",required:"","onUpdate:modelValue":e[335]||(e[335]=T=>o.configFile.comfyui_model=T),onChange:e[336]||(e[336]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.comfyui_model]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[337]||(e[337]=T=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},e[717]||(e[717]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[720]||(e[720]=g("td",{style:{"min-width":"200px"}},null,-1)),g("td",null,[g("div",anr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[338]||(e[338]=(...T)=>o.reinstallComfyUIService&&o.reinstallComfyUIService(...T))},"install comfyui service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[339]||(e[339]=(...T)=>o.upgradeComfyUIService&&o.upgradeComfyUIService(...T))},"upgrade comfyui service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[340]||(e[340]=(...T)=>o.startComfyUIService&&o.startComfyUIService(...T))},"start comfyui service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[341]||(e[341]=(...T)=>o.showComfyui&&o.showComfyui(...T))},"show comfyui"),e[719]||(e[719]=g("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/ParisNeo/ComfyUI/blob/master/LICENSE",target:"_blank"},"comfyui licence",-1))])])]),g("tr",null,[e[721]||(e[721]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"comfyui_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"comfyui base url:")],-1)),g("td",null,[g("div",lnr,[te(g("input",{type:"text",id:"comfyui_base_url",required:"","onUpdate:modelValue":e[342]||(e[342]=T=>o.configFile.comfyui_base_url=T),onChange:e[343]||(e[343]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.comfyui_base_url]])])])])])]),_:1})]),_:1}),ae(a,{title:"TTT services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Ollama service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",cnr,[g("tr",null,[e[723]||(e[723]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_ollama_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable ollama service:")],-1)),g("td",null,[g("div",unr,[te(g("input",{type:"checkbox",id:"enable_ollama_service",required:"","onUpdate:modelValue":e[344]||(e[344]=T=>o.configFile.enable_ollama_service=T),onChange:e[345]||(e[345]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_ollama_service]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[346]||(e[346]=T=>this.$store.state.messageBox.showMessage(`Activates ollama service. The service will be automatically loaded at startup alowing you to use the ollama binding.
+`,"
")}},rendered_models_zoo:{get(){return this.searchModel?this.show_only_installed_models?this.modelsFiltered.filter(t=>t.isInstalled===!0):this.modelsFiltered.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)):(console.log("this.models_zoo"),console.log(this.models_zoo),console.log(this.models_zoo_initialLoadCount),this.show_only_installed_models?this.models_zoo.filter(t=>t.isInstalled===!0):this.models_zoo.slice(0,Math.min(this.models_zoo.length,this.models_zoo_initialLoadCount)))}},imgBinding:{get(){if(!this.isMounted)return ui;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return ui}}},imgModel:{get(){try{let t=this.$store.state.modelsZoo.findIndex(e=>e.name==this.$store.state.selectedModel);return t>=0?(console.log(`model avatar : ${this.$store.state.modelsZoo[t].icon}`),this.$store.state.modelsZoo[t].icon):ui}catch{console.log("error")}if(!this.isMounted)return ui;try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return ui}}},isReady:{get(){return this.$store.state.ready}},audio_out_voice:{get(){return this.$store.state.config.audio_out_voice},set(t){this.$store.state.config.audio_out_voice=t}},openaiWhisperModels(){return["whisper-1"]},whisperModels(){return["tiny.en","tiny","base.en","base","small.en","small","medium.en","medium","large-v1","large-v2","large-v3","large"]},audioLanguages(){return[{code:"en-US",name:"English (US)"},{code:"en-GB",name:"English (UK)"},{code:"es-ES",name:"Spanish (Spain)"},{code:"es-MX",name:"Spanish (Mexico)"},{code:"fr-FR",name:"French (France)"},{code:"fr-CA",name:"French (Canada)"},{code:"de-DE",name:"German (Germany)"},{code:"it-IT",name:"Italian (Italy)"},{code:"pt-BR",name:"Portuguese (Brazil)"},{code:"pt-PT",name:"Portuguese (Portugal)"},{code:"ru-RU",name:"Russian (Russia)"},{code:"zh-CN",name:"Chinese (China)"},{code:"ja-JP",name:"Japanese (Japan)"},{code:"ar-SA",name:"Arabic (Saudi Arabia)"},{code:"tr-TR",name:"Turkish (Turkey)"},{code:"ms-MY",name:"Malay (Malaysia)"},{code:"ko-KR",name:"Korean (South Korea)"},{code:"nl-NL",name:"Dutch (Netherlands)"},{code:"sv-SE",name:"Swedish (Sweden)"},{code:"da-DK",name:"Danish (Denmark)"},{code:"fi-FI",name:"Finnish (Finland)"},{code:"no-NO",name:"Norwegian (Norway)"},{code:"pl-PL",name:"Polish (Poland)"},{code:"el-GR",name:"Greek (Greece)"},{code:"hu-HU",name:"Hungarian (Hungary)"},{code:"cs-CZ",name:"Czech (Czech Republic)"},{code:"th-TH",name:"Thai (Thailand)"},{code:"hi-IN",name:"Hindi (India)"},{code:"he-IL",name:"Hebrew (Israel)"},{code:"id-ID",name:"Indonesian (Indonesia)"},{code:"vi-VN",name:"Vietnamese (Vietnam)"},{code:"uk-UA",name:"Ukrainian (Ukraine)"},{code:"ro-RO",name:"Romanian (Romania)"},{code:"bg-BG",name:"Bulgarian (Bulgaria)"},{code:"hr-HR",name:"Croatian (Croatia)"},{code:"sr-RS",name:"Serbian (Serbia)"},{code:"sk-SK",name:"Slovak (Slovakia)"},{code:"sl-SI",name:"Slovenian (Slovenia)"},{code:"et-EE",name:"Estonian (Estonia)"},{code:"lv-LV",name:"Latvian (Latvia)"},{code:"lt-LT",name:"Lithuanian (Lithuania)"},{code:"ka-GE",name:"Georgian (Georgia)"},{code:"hy-AM",name:"Armenian (Armenia)"},{code:"az-AZ",name:"Azerbaijani (Azerbaijan)"},{code:"kk-KZ",name:"Kazakh (Kazakhstan)"},{code:"uz-UZ",name:"Uzbek (Uzbekistan)"},{code:"kkj-CM",name:"Kako (Cameroon)"},{code:"my-MM",name:"Burmese (Myanmar)"},{code:"ne-NP",name:"Nepali (Nepal)"},{code:"si-LK",name:"Sinhala (Sri Lanka)"}]},configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},userName:{get(){return this.$store.state.config.user_name},set(t){this.$store.state.config.user_name=t}},user_avatar:{get(){return this.$store.state.config.user_avatar!=""?"/user_infos/"+this.$store.state.config.user_avatar:vo},set(t){this.$store.state.config.user_avatar=t}},hardware_mode:{get(){return this.$store.state.config.hardware_mode},set(t){this.$store.state.config.hardware_mode=t}},auto_update:{get(){return this.$store.state.config.auto_update},set(t){this.$store.state.config.auto_update=t}},auto_speak:{get(){return this.$store.state.config.auto_speak},set(t){this.$store.state.config.auto_speak=t}},auto_read:{get(){return this.$store.state.config.auto_read},set(t){this.$store.state.config.auto_read=t}},xtts_current_language:{get(){return this.$store.state.config.xtts_current_language},set(t){console.log("Current xtts voice set to ",t),this.$store.state.config.xtts_current_language=t}},xtts_current_voice:{get(){return this.$store.state.config.xtts_current_voice===null||this.$store.state.config.xtts_current_voice===void 0?(console.log("current voice",this.$store.state.config.xtts_current_voice),"main_voice"):this.$store.state.config.xtts_current_voice},set(t){t=="main_voice"||t===void 0?(console.log("Current voice set to None"),this.$store.state.config.xtts_current_voice=null):(console.log("Current voice set to ",t),this.$store.state.config.xtts_current_voice=t)}},audio_pitch:{get(){return this.$store.state.config.audio_pitch},set(t){this.$store.state.config.audio_pitch=t}},audio_in_language:{get(){return this.$store.state.config.audio_in_language},set(t){this.$store.state.config.audio_in_language=t}},use_user_name_in_discussions:{get(){return this.$store.state.config.use_user_name_in_discussions},set(t){this.$store.state.config.use_user_name_in_discussions=t}},discussion_db_name:{get(){return this.$store.state.config.discussion_db_name},set(t){this.$store.state.config.discussion_db_name=t}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}},bindingsZoo:{get(){return this.$store.state.bindingsZoo},set(t){this.$store.commit("setbindingsZoo",t)}},modelsArr:{get(){return this.$store.state.modelsArr},set(t){this.$store.commit("setModelsArr",t)}},models:{get(){return this.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},installed_models:{get(){return this.models_zoo},set(t){this.$store.commit("setModelsZoo",t)}},diskUsage:{get(){return this.$store.state.diskUsage},set(t){this.$store.commit("setDiskUsage",t)}},ramUsage:{get(){return this.$store.state.ramUsage},set(t){this.$store.commit("setRamUsage",t)}},vramUsage:{get(){return this.$store.state.vramUsage},set(t){this.$store.commit("setVramUsage",t)}},disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return console.log(`this.diskUsage : ${this.diskUsage}`),this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},model_name(){if(this.isMounted)return this.configFile.model_name},binding_name(){if(!this.isMounted)return null;const t=this.bindingsZoo.findIndex(e=>e.folder===this.configFile.binding_name);return t>-1?this.bindingsZoo[t].name:null},active_pesonality(){if(!this.isMounted)return null;const t=this.$store.state.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);return t>-1?this.$store.state.personalities[t].name:null},speed_computed(){return Xo(this.addModel.speed)},total_size_computed(){return Xo(this.addModel.total_size)},downloaded_size_computed(){return Xo(this.addModel.downloaded_size)}},watch:{bec_collapsed(){Ke(()=>{Xe.replace()})},pc_collapsed(){Ke(()=>{Xe.replace()})},mc_collapsed(){Ke(()=>{Xe.replace()})},sc_collapsed(){Ke(()=>{Xe.replace()})},showConfirmation(){Ke(()=>{Xe.replace()})},mzl_collapsed(){Ke(()=>{Xe.replace()})},pzl_collapsed(){Ke(()=>{Xe.replace()})},ezl_collapsed(){Ke(()=>{Xe.replace()})},bzl_collapsed(){Ke(()=>{Xe.replace()})},all_collapsed(t){this.collapseAll(t),Ke(()=>{Xe.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,Ke(()=>{Xe.replace()})},isLoading(){Ke(()=>{Xe.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},mzdc_collapsed(){Ke(()=>{Xe.replace()})}},async beforeRouteLeave(t){await this.$router.isReady()}},NWn={class:"container pt-12 flex flex-row shadow-lg p-10 pt-0 overflow-y-scroll w-full background-color scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},DWn={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg panels-color shadow-lg"},IWn={key:0,class:"flex gap-3 flex-1 items-center duration-75"},kWn={key:1,class:"flex gap-3 flex-1 items-center"},PWn={class:"flex gap-3 flex-1 items-center justify-end"},HWn={class:"flex gap-3 items-center"},VWn={key:0,class:"flex gap-3 items-center"},FWn={key:1,role:"status"},BWn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},$Wn={class:"flex flex-row p-3"},UWn={class:"text-base font-semibold cursor-pointer select-none items-center"},GWn={class:"flex gap-2 items-center"},qWn={key:0},zWn=["src"],jWn={class:"font-bold font-large text-lg"},WWn={key:1},YWn={class:"flex gap-2 items-center"},KWn=["src"],ZWn={class:"font-bold font-large text-lg"},XWn={class:"font-bold font-large text-lg"},JWn={class:"font-bold font-large text-lg"},eYn={class:"mb-2"},tYn={class:"flex flex-col mx-2"},nYn={class:"p-2"},rYn={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},iYn={class:"mb-2"},oYn={class:"flex flex-col mx-2"},sYn={class:"p-2"},aYn={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},lYn={class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},cYn=["src"],uYn={class:"flex flex-col mx-2"},dYn={class:"p-2"},fYn={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},pYn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},hYn={class:"flex flex-row p-3"},TYn={class:"flex flex-col mb-2 px-3 pb-2"},mYn={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},gYn={class:"flex flex-col space-y-4"},_Yn={class:"flex items-center"},QYn={class:"flex items-center"},vYn={class:"flex items-center"},yYn={class:"flex items-start"},bYn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},EYn={class:"flex flex-row p-3"},xYn={class:"flex flex-col mb-2 px-3 pb-2"},SYn={class:"settings-container grid gap-6 p-6 bg-gray-50 dark:bg-gray-700 rounded-lg border border-gray-300 dark:border-gray-600"},LYn={class:"setting-section"},CYn={class:"settings-grid grid gap-4"},AYn={class:"setting-row flex items-center gap-4"},wYn={class:"setting-row flex items-center gap-4"},MYn={class:"setting-row flex items-center gap-4"},OYn={class:"setting-content flex items-center gap-4"},RYn={for:"avatar-upload",class:"cursor-pointer"},NYn=["src"],DYn={class:"setting-section"},IYn={class:"settings-grid grid gap-4"},kYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},PYn={class:"relative inline-block w-12 h-6"},HYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},VYn={class:"relative inline-block w-12 h-6"},FYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},BYn={class:"relative inline-block w-12 h-6"},$Yn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},UYn={class:"relative inline-block w-12 h-6"},GYn={class:"setting-section"},qYn={class:"settings-grid grid gap-4"},zYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},jYn={class:"relative inline-block w-12 h-6"},WYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},YYn={class:"relative inline-block w-12 h-6"},KYn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},ZYn={class:"relative inline-block w-12 h-6"},XYn={class:"setting-section"},JYn={class:"settings-grid grid gap-4"},eKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},tKn={class:"relative inline-block w-12 h-6"},nKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},rKn={class:"relative inline-block w-12 h-6"},iKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},oKn={class:"relative inline-block w-12 h-6"},sKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},aKn={class:"relative inline-block w-12 h-6"},lKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},cKn={class:"relative inline-block w-12 h-6"},uKn={class:"setting-section"},dKn={class:"settings-grid grid gap-4"},fKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},pKn={class:"flex items-center space-x-4"},hKn={class:"w-10 h-10 rounded-full overflow-hidden bg-gray-200 dark:bg-gray-700"},TKn=["src"],mKn=["src"],gKn={class:"flex items-center space-x-2"},_Kn={class:"cursor-pointer bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg"},QKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},vKn={class:"relative inline-block w-12 h-6"},yKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},bKn={class:"relative inline-block w-12 h-6"},EKn={class:"setting-row flex flex-col p-4 bg-red-50 dark:bg-red-900/20 rounded-lg shadow-sm border-2 border-red-200 dark:border-red-800"},xKn={class:"flex items-center justify-between"},SKn={class:"relative inline-block w-12 h-6"},LKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},CKn={class:"relative inline-block w-12 h-6"},AKn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},wKn={class:"relative inline-block w-12 h-6"},MKn={class:"grid gap-6 bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md"},OKn={class:"flex flex-col space-y-2"},RKn={class:"grid md:grid-cols-2 gap-4"},NKn={class:"space-y-2"},DKn={class:"space-y-2"},IKn={class:"grid md:grid-cols-2 gap-4"},kKn={class:"space-y-2"},PKn={class:"space-y-2"},HKn={class:"grid md:grid-cols-2 gap-4"},VKn={class:"space-y-2"},FKn={class:"space-y-2"},BKn={class:"grid md:grid-cols-2 gap-4"},$Kn={class:"space-y-2"},UKn={class:"space-y-2"},GKn={class:"space-y-2"},qKn={class:"space-y-2"},zKn={class:"space-y-2"},jKn={class:"p-4 bg-gray-100 dark:bg-gray-900 rounded-md"},WKn=["innerHTML"],YKn={class:"flex items-center space-x-4"},KKn={class:"relative inline-block w-10 mr-2 align-middle select-none transition duration-200 ease-in"},ZKn={class:"grid gap-6 bg-gray-50 dark:bg-gray-700 p-6 rounded-lg shadow-md"},XKn={class:"flex flex-col md:flex-row md:items-center gap-4"},JKn={class:"flex flex-col md:flex-row md:items-start gap-4"},eZn={class:"space-y-4"},tZn={class:"flex flex-col md:flex-row md:items-center gap-4"},nZn={class:"flex-1 space-y-3"},rZn={class:"flex items-center space-x-3 cursor-pointer"},iZn={class:"flex items-center space-x-3 cursor-pointer"},oZn={class:"flex items-center space-x-3 cursor-pointer"},sZn={class:"flex flex-col md:flex-row md:items-center gap-4"},aZn={class:"flex items-center gap-4"},lZn={for:"avatar-upload",class:"cursor-pointer"},cZn=["src"],uZn={class:"space-y-4"},dZn={class:"flex flex-col md:flex-row md:items-center gap-4"},fZn={class:"flex flex-col md:flex-row md:items-center gap-4"},pZn={class:"settings-container p-6 space-y-4 bg-gray-50 dark:bg-gray-800 rounded-xl shadow-md"},hZn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},TZn={class:"relative"},mZn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},gZn={class:"relative"},_Zn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},QZn={class:"relative"},vZn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},yZn={class:"relative"},bZn={class:"setting-row flex items-center justify-between p-3 hover:bg-gray-100 dark:hover:bg-gray-700 rounded-lg transition-colors"},EZn={class:"relative"},xZn={class:"bg-gray-50 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-lg p-4 space-y-4"},SZn={class:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4"},LZn={class:"flex items-center"},CZn={class:"relative inline-flex items-center cursor-pointer"},AZn={class:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4"},wZn={class:"flex-1"},MZn={class:"p-4 bg-gray-50 dark:bg-gray-700 rounded-lg shadow-sm border border-gray-200 dark:border-gray-600"},OZn={class:"flex flex-col sm:flex-row items-start sm:items-center gap-2"},RZn={class:"flex-1 w-full"},NZn={class:"settings-container bg-gray-50 dark:bg-gray-700 p-6 rounded-lg shadow-md"},DZn={class:"setting-row mb-4"},IZn={class:"flex items-center justify-between"},kZn={class:"w-64"},PZn={class:"setting-row mb-4"},HZn={class:"flex items-center justify-between"},VZn={class:"w-64"},FZn={class:"setting-row"},BZn={class:"flex items-center justify-between"},$Zn={class:"w-64"},UZn={class:"inline-flex items-center cursor-pointer"},GZn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},qZn={class:"flex flex-row p-3"},zZn={class:"space-y-6"},jZn={class:"space-y-4"},WZn={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-4"},YZn={class:"flex flex-col"},KZn=["value","onInput"],ZZn={class:"flex flex-col"},XZn=["value","onInput"],JZn={class:"flex flex-col lg:col-span-2"},eXn={class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},tXn=["value","onInput"],nXn=["value","onInput"],rXn={key:0,class:"flex flex-col lg:col-span-2"},iXn=["value","onInput"],oXn={class:"flex flex-wrap items-center justify-between mt-4 pt-3 border-t border-gray-200 dark:border-gray-700 gap-2"},sXn={class:"flex flex-wrap items-center gap-3"},aXn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},lXn={class:"relative inline-block w-12 h-6"},cXn=["onUpdate:modelValue"],uXn={key:0,class:"flex gap-2"},dXn=["onClick"],fXn=["onClick"],pXn={class:"inline-flex"},hXn=["onClick"],TXn={class:"space-y-6"},mXn={class:"space-y-4"},gXn={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4"},_Xn={class:"flex flex-col"},QXn=["value","onInput"],vXn={class:"flex flex-col"},yXn=["value","onInput"],bXn={class:"flex flex-col lg:col-span-2"},EXn=["value","onInput"],xXn={class:"flex flex-col lg:col-span-2"},SXn=["value","onInput"],LXn={class:"flex flex-col lg:col-span-2"},CXn=["onUpdate:modelValue"],AXn={class:"flex flex-col lg:col-span-2"},wXn=["onUpdate:modelValue"],MXn={class:"flex items-center justify-between mt-4 pt-3 border-t border-gray-200 dark:border-gray-700"},OXn={class:"flex items-center space-x-4"},RXn={class:"setting-row flex items-center justify-between p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm"},NXn={class:"relative inline-block w-12 h-6"},DXn=["onUpdate:modelValue"],IXn=["onClick"],kXn=["onClick"],PXn=["onClick"],HXn={class:"bg-gray-50 dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-lg p-6 space-y-6"},VXn={class:"flex flex-col md:flex-row md:items-center gap-4"},FXn={class:"flex flex-col md:flex-row md:items-center gap-4"},BXn={class:"flex-1"},$Xn={class:"inline-flex items-center"},UXn={class:"flex flex-col md:flex-row md:items-start gap-4"},GXn={class:"flex-1 space-y-2"},qXn=["disabled"],zXn={key:0,label:"Semantic Models"},jXn={key:1,label:"OpenAI Models"},WXn={key:2,label:"Ollama Models"},YXn={key:3,disabled:""},KXn={class:"flex flex-col md:flex-row md:items-start gap-4"},ZXn={class:"space-y-6"},XXn={class:"flex flex-col md:flex-row md:items-start gap-4"},JXn={class:"flex-1 space-y-2"},eJn={class:"space-y-4"},tJn={class:"flex items-center gap-4"},nJn={class:"flex-1"},rJn={class:"inline-flex items-center"},iJn={class:"space-y-4 bg-gray-50 dark:bg-gray-800 rounded-lg p-6 shadow-sm border border-gray-200 dark:border-gray-700"},oJn={class:"flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-700 p-3 rounded-lg transition-colors"},sJn={class:"flex items-center"},aJn={class:"relative inline-flex items-center cursor-pointer"},lJn={class:"flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-700 p-3 rounded-lg transition-colors"},cJn={class:"flex items-center"},uJn={class:"relative inline-flex items-center cursor-pointer"},dJn={class:"flex items-center justify-between hover:bg-gray-100 dark:hover:bg-gray-700 p-3 rounded-lg transition-colors"},fJn={class:"flex items-center"},pJn={class:"relative inline-flex items-center cursor-pointer"},hJn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},TJn={class:"flex flex-row p-3"},mJn={class:"grid gap-6 bg-gray-50 dark:bg-gray-700 rounded-lg p-6 border border-gray-300 dark:border-gray-600"},gJn={class:"flex items-center justify-between"},_Jn={class:"relative inline-flex items-center cursor-pointer"},QJn={class:"flex items-center justify-between"},vJn={class:"relative inline-flex items-center cursor-pointer"},yJn={class:"flex items-center justify-between"},bJn={class:"relative inline-flex items-center cursor-pointer"},EJn={class:"flex items-center justify-between"},xJn={class:"relative inline-flex items-center cursor-pointer"},SJn={class:"space-y-6"},LJn={class:"flex flex-col gap-2"},CJn={class:"flex flex-col gap-4"},AJn={class:"flex flex-col gap-2"},wJn={class:"flex flex-col gap-4"},MJn={class:"flex flex-col gap-2"},OJn={class:"flex flex-col gap-4"},RJn={class:"flex flex-col gap-2"},NJn={class:"flex flex-col gap-4"},DJn={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},IJn={class:"flex flex-row p-3"},kJn={class:"grid gap-6 p-6 bg-white dark:bg-gray-800 rounded-xl shadow-lg"},PJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},HJn={class:"w-full md:w-2/3"},VJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},FJn={class:"w-full md:w-2/3"},BJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},$Jn={class:"w-full md:w-2/3"},UJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},GJn={class:"w-full md:w-2/3"},qJn={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-6"},zJn={class:"w-full md:w-2/3"},jJn={class:"space-y-6 bg-gray-50 dark:bg-gray-800 p-6 rounded-lg shadow-md"},WJn={class:"flex items-center space-x-4"},YJn={class:"w-2/3"},KJn={class:"inline-flex items-center cursor-pointer"},ZJn={class:"flex items-center space-x-4"},XJn={class:"w-2/3"},JJn={class:"inline-flex items-center cursor-pointer"},eer={class:"flex items-center space-x-4"},ter={class:"w-2/3"},ner={class:"flex items-center space-x-4"},rer={class:"w-2/3"},ier={class:"grid gap-6 p-6 bg-white dark:bg-gray-800 rounded-lg shadow-md"},oer={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},ser={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},aer={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},ler={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},cer={class:"space-y-4 p-4 bg-gray-50 dark:bg-gray-700 rounded-lg"},uer={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},der={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},fer={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},per={class:"space-y-4 p-4 bg-gray-50 dark:bg-gray-700 rounded-lg"},her={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},Ter={class:"flex items-center"},mer={class:"relative inline-flex items-center cursor-pointer"},ger={class:"grid grid-cols-1 md:grid-cols-[300px,1fr] gap-4 items-center"},_er={class:"space-y-4 p-4 bg-white dark:bg-gray-800 rounded-lg shadow-md"},Qer={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-4"},ver={class:"md:w-2/3"},yer=["value"],ber={class:"flex flex-col md:flex-row md:items-center space-y-2 md:space-y-0 md:space-x-4 pt-4 border-t dark:border-gray-700"},Eer={class:"md:w-2/3"},xer=["value"],Ser={class:"grid gap-4 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg shadow-md"},Ler={class:"grid grid-cols-[200px,1fr] items-center gap-4"},Cer={class:"grid grid-cols-[200px,1fr] items-center gap-4"},Aer={class:"grid grid-cols-[200px,1fr] items-center gap-4"},wer={class:"grid grid-cols-[200px,1fr] items-center gap-4"},Mer={class:"space-y-3"},Oer={class:"flex items-center space-x-2 cursor-pointer"},Rer={class:"flex items-center space-x-2 cursor-pointer"},Ner={class:"pl-6 space-y-2 border-l-2 border-gray-200 dark:border-gray-600"},Der=["id","onUpdate:modelValue"],Ier={class:"text-sm text-gray-600 dark:text-gray-300"},ker={class:"grid grid-cols-[200px,1fr] items-center gap-4"},Per={class:"space-y-3"},Her=["id","onUpdate:modelValue"],Ver={class:"text-sm text-gray-600 dark:text-gray-300"},Fer={class:"space-y-6 p-6 bg-white dark:bg-gray-800 rounded-lg shadow-md"},Ber={class:"flex items-center justify-between"},$er={class:"relative inline-flex items-center cursor-pointer"},Uer={class:"flex items-center justify-between"},Ger={class:"relative inline-flex items-center cursor-pointer"},qer={class:"space-y-2"},zer={for:"audio_silenceTimer",class:"text-sm font-medium text-gray-700 dark:text-gray-200"},jer={class:"flex flex-col gap-4"},Wer={class:"space-y-2"},Yer=["value"],Ker={class:"bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 space-y-6"},Zer={class:"flex items-center justify-between p-4 hover:bg-gray-50 dark:hover:bg-gray-700 rounded-lg transition-all"},Xer={class:"relative inline-flex items-center cursor-pointer"},Jer={class:"p-4"},etr={class:"p-4"},ttr={class:"relative"},ntr=["value"],rtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},itr={class:"flex flex-row"},otr={class:"flex flex-row"},str=["value"],atr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},ltr={class:"flex flex-row"},ctr=["value"],utr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},dtr={class:"flex flex-row"},ftr=["value"],ptr={class:"flex flex-row"},htr=["value"],Ttr={class:"flex flex-row"},mtr={class:"flex flex-row"},gtr={class:"flex flex-row"},_tr={class:"flex flex-row"},Qtr={class:"flex flex-row"},vtr={class:"flex flex-row"},ytr={class:"flex flex-row"},btr={class:"flex flex-row"},Etr={class:"flex flex-row"},xtr={class:"flex flex-row"},Str={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Ltr={class:"flex flex-row"},Ctr={class:"flex flex-row"},Atr={class:"flex flex-row"},wtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Mtr={class:"flex flex-row"},Otr={class:"flex flex-row"},Rtr={class:"flex flex-row"},Ntr={class:"flex flex-row"},Dtr={class:"flex flex-row"},Itr=["value"],ktr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Ptr={class:"flex flex-row"},Htr={class:"flex flex-row"},Vtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Ftr={class:"flex flex-row"},Btr={class:"flex flex-row"},$tr={class:"flex flex-row"},Utr={class:"flex flex-row"},Gtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},qtr={class:"flex flex-row"},ztr={class:"flex flex-row"},jtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Wtr={class:"flex flex-row"},Ytr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Ktr={class:"flex flex-row"},Ztr={class:"flex flex-row"},Xtr={class:"flex flex-row"},Jtr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},enr={class:"flex flex-row"},tnr={class:"flex flex-row"},nnr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},rnr={class:"flex flex-row"},inr={class:"flex flex-row"},onr=["value"],snr={class:"flex flex-row"},anr={class:"flex flex-row"},lnr={class:"flex flex-row"},cnr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},unr={class:"flex flex-row"},dnr={class:"flex flex-row"},fnr={class:"flex flex-row"},pnr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},hnr={class:"flex flex-row"},Tnr={class:"flex flex-row"},mnr={class:"flex flex-row"},gnr={class:"flex flex-col align-bottom"},_nr={class:"relative"},Qnr={class:"absolute right-0"},vnr={class:"flex flex-row"},ynr={class:"flex flex-row"},bnr={class:"flex flex-row"},Enr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},xnr={class:"flex flex-row"},Snr={class:"flex flex-row"},Lnr={class:"flex flex-row"},Cnr={class:"bg-white dark:bg-gray-800 rounded-lg shadow-md p-6 max-w-2xl mx-auto"},Anr={class:"flex flex-col md:flex-row items-start md:items-center space-y-4 md:space-y-0 md:space-x-6"},wnr={class:"w-full md:w-2/3"},Mnr={class:"relative"},Onr={class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Rnr={class:"flex flex-row"},Nnr={class:"flex flex-row"},Dnr={class:"flex flex-row"},Inr={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},knr={class:"flex flex-row p-3"},Pnr={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Hnr={key:1,class:"mr-2"},Vnr={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},Fnr={class:"flex gap-1 items-center"},Bnr=["src"],$nr={class:"font-bold font-large text-lg line-clamp-1"},Unr={key:0,class:"mb-2"},Gnr={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},qnr={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},znr={class:"flex flex-row p-3"},jnr={class:"flex flex-row items-center"},Wnr={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Ynr={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},Knr={key:2,class:"mr-2"},Znr={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},Xnr={class:"flex gap-1 items-center"},Jnr=["src"],err={class:"font-bold font-large text-lg line-clamp-1"},trr={class:"mx-2 mb-4"},nrr={class:"relative"},rrr={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},irr={key:0},orr={key:1},srr={key:0,role:"status",class:"text-center w-full display: flex;align-items: center;"},arr={key:1,class:"mb-2"},lrr={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},crr={class:"mb-2"},urr={class:"p-2"},drr={class:"mb-3"},frr={key:0},prr={class:"mb-3"},hrr={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},Trr={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},mrr={class:"w-full p-2"},grr={class:"flex justify-between mb-1"},_rr={class:"text-sm font-medium text-blue-700 dark:text-white"},Qrr=["title"],vrr={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},yrr={class:"flex justify-between mb-1"},brr={class:"text-base font-medium text-blue-700 dark:text-white"},Err={class:"text-sm font-medium text-blue-700 dark:text-white"},xrr={class:"flex flex-grow"},Srr={class:"flex flex-row flex-grow gap-3"},Lrr={class:"p-2 text-center grow"},Crr={class:"flex flex-col mb-2 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Arr={class:"flex flex-row p-3 items-center"},wrr={key:0,class:"mr-2"},Mrr={class:"mr-2 font-bold font-large text-lg line-clamp-1"},Orr={key:1,class:"mr-2"},Rrr={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},Nrr={key:0,class:"flex -space-x-4 items-center"},Drr={class:"group items-center flex flex-row"},Irr=["onClick"],krr=["src","title"],Prr=["onClick"],Hrr={class:"mx-2 mb-4"},Vrr={class:"relative"},Frr={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},Brr={key:0},$rr={key:1},Urr={key:0,class:"mx-2 mb-4"},Grr={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},qrr=["selected"],zrr={key:0,class:"mb-2"},jrr={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Wrr={class:"flex flex-col mb-2 p-3 rounded-lg panels-color hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},Yrr={class:"flex flex-row"},Krr={class:"m-2"},Zrr={class:"flex flex-row gap-2 items-center"},Xrr={class:"m-2"},Jrr={class:"m-2"},eir={class:"flex flex-col align-bottom"},tir={class:"relative"},nir={class:"absolute right-0"},rir={class:"m-2"},iir={class:"flex flex-col align-bottom"},oir={class:"relative"},sir={class:"absolute right-0"},air={class:"m-2"},lir={class:"flex flex-col align-bottom"},cir={class:"relative"},uir={class:"absolute right-0"},dir={class:"m-2"},fir={class:"flex flex-col align-bottom"},pir={class:"relative"},hir={class:"absolute right-0"},Tir={class:"m-2"},mir={class:"flex flex-col align-bottom"},gir={class:"relative"},_ir={class:"absolute right-0"},Qir={class:"m-2"},vir={class:"flex flex-col align-bottom"},yir={class:"relative"},bir={class:"absolute right-0"};function Eir(t,e,n,r,i,o){const s=gt("DictManager"),a=gt("Card"),l=gt("StringListManager"),c=gt("BindingEntry"),u=gt("RadioOptions"),d=gt("model-entry"),h=gt("personality-entry"),f=gt("AddModelDialog"),m=gt("ChoiceDialog");return k(),P(ze,null,[g("div",NWn,[g("div",DWn,[i.showConfirmation?(k(),P("div",IWn,[g("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=ge(T=>i.showConfirmation=!1,["stop"]))},e[435]||(e[435]=[g("i",{"data-feather":"x"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=ge(T=>o.save_configuration(),["stop"]))},e[436]||(e[436]=[g("i",{"data-feather":"check"},null,-1)]))])):ie("",!0),i.showConfirmation?ie("",!0):(k(),P("div",kWn,[g("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=T=>o.reset_configuration())},e[437]||(e[437]=[g("i",{"data-feather":"refresh-ccw"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[3]||(e[3]=ge(T=>i.all_collapsed=!i.all_collapsed,["stop"]))},e[438]||(e[438]=[g("i",{"data-feather":"list"},null,-1)]))])),g("div",PWn,[g("button",{title:"Clear uploads",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[4]||(e[4]=T=>o.api_get_req("clear_uploads").then(Q=>{Q.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast(["failed!"],4,!1)}))},e[439]||(e[439]=[g("i",{"data-feather":"trash-2"},null,-1)])),g("button",{title:"Restart program",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[5]||(e[5]=T=>o.api_post_req("restart_program").then(Q=>{Q.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast(["failed!"],4,!1)}))},e[440]||(e[440]=[g("i",{"data-feather":"refresh-ccw"},null,-1)])),i.has_updates?(k(),P("button",{key:0,title:"Upgrade program ",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[6]||(e[6]=T=>o.api_post_req("update_software").then(Q=>{Q.status?this.$store.state.toast.showToast("Success!",4,!0):this.$store.state.toast.showToast("Success!",4,!0)}))},e[441]||(e[441]=[g("i",{"data-feather":"arrow-up-circle"},null,-1),g("i",{"data-feather":"alert-circle"},null,-1)]))):ie("",!0),g("div",HWn,[i.settingsChanged?(k(),P("div",VWn,[i.isLoading?ie("",!0):(k(),P("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[7]||(e[7]=ge(T=>o.applyConfiguration(),["stop"]))},e[442]||(e[442]=[g("div",{class:"flex flex-row"},[g("p",{class:"text-green-600 font-bold hover:text-green-300 ml-4 pl-4 mr-4 pr-4"},"Apply changes:"),g("i",{"data-feather":"check"})],-1)]))),i.isLoading?ie("",!0):(k(),P("button",{key:1,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Cancel changes",type:"button",onClick:e[8]||(e[8]=ge(T=>o.cancelConfiguration(),["stop"]))},e[443]||(e[443]=[g("div",{class:"flex flex-row"},[g("p",{class:"text-red-600 font-bold hover:text-red-300 ml-4 pl-4 mr-4 pr-4"},"Cancel changes:"),g("i",{"data-feather":"x"})],-1)])))])):ie("",!0),i.isLoading?(k(),P("div",FWn,[g("p",null,ue(i.loading_text),1),e[444]||(e[444]=g("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),e[445]||(e[445]=g("span",{class:"sr-only"},"Loading...",-1))])):ie("",!0)])])]),g("div",{class:We(i.isLoading?"pointer-events-none opacity-30 w-full":"w-full")},[g("div",BWn,[g("div",$Wn,[g("button",{onClick:e[9]||(e[9]=ge(T=>i.sc_collapsed=!i.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[446]||(e[446]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.sc_collapsed]]),te(g("div",null,e[447]||(e[447]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.sc_collapsed]]),e[450]||(e[450]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),e[451]||(e[451]=g("div",{class:"mr-2"},"|",-1)),g("div",UWn,[g("div",GWn,[g("div",null,[o.vramUsage&&o.vramUsage.gpus&&o.vramUsage.gpus.length==1?(k(),P("div",qWn,[(k(!0),P(ze,null,lt(o.vramUsage.gpus,T=>(k(),P("div",{class:"flex gap-2 items-center",key:T},[g("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,zWn),g("p",jWn,[g("div",null,ue(o.computedFileSize(T.used_vram))+" / "+ue(o.computedFileSize(T.total_vram))+" ("+ue(T.percentage)+"%) ",1)])]))),128))])):ie("",!0),o.vramUsage&&o.vramUsage.gpus&&o.vramUsage.gpus.length>1?(k(),P("div",WWn,[g("div",YWn,[g("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,KWn),g("p",ZWn,[g("div",null,ue(o.vramUsage.gpus.length)+"x ",1)])])])):ie("",!0)]),e[448]||(e[448]=g("i",{"data-feather":"cpu",title:"CPU Ram",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),g("p",XWn,[g("div",null,ue(o.ram_usage)+" / "+ue(o.ram_total_space)+" ("+ue(o.ram_percent_usage)+"%)",1)]),e[449]||(e[449]=g("i",{"data-feather":"hard-drive",title:"Hard drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),g("p",JWn,[g("div",null,ue(o.disk_binding_models_usage)+" / "+ue(o.disk_total_space)+" ("+ue(o.disk_percent_usage)+"%)",1)])])])])]),g("div",{class:We([{hidden:i.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",eYn,[e[454]||(e[454]=g("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[g("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),nt(" CPU Ram usage: ")],-1)),g("div",tYn,[g("div",null,[e[452]||(e[452]=g("b",null,"Avaliable ram: ",-1)),nt(ue(o.ram_available_space),1)]),g("div",null,[e[453]||(e[453]=g("b",null,"Ram usage: ",-1)),nt(" "+ue(o.ram_usage)+" / "+ue(o.ram_total_space)+" ("+ue(o.ram_percent_usage)+")% ",1)])]),g("div",nYn,[g("div",rYn,[g("div",{class:"bg-blue-600 h-2.5 rounded-full",style:gn("width: "+o.ram_percent_usage+"%;")},null,4)])])]),g("div",iYn,[e[457]||(e[457]=g("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[g("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),nt(" Disk usage: ")],-1)),g("div",oYn,[g("div",null,[e[455]||(e[455]=g("b",null,"Avaliable disk space: ",-1)),nt(ue(o.disk_available_space),1)]),g("div",null,[e[456]||(e[456]=g("b",null,"Disk usage: ",-1)),nt(" "+ue(o.disk_binding_models_usage)+" / "+ue(o.disk_total_space)+" ("+ue(o.disk_percent_usage)+"%)",1)])]),g("div",sYn,[g("div",aYn,[g("div",{class:"bg-blue-600 h-2.5 rounded-full",style:gn("width: "+o.disk_percent_usage+"%;")},null,4)])])]),(k(!0),P(ze,null,lt(o.vramUsage.gpus,T=>(k(),P("div",{class:"mb-2",key:T},[g("label",lYn,[g("img",{src:i.SVGGPU,width:"25",height:"25"},null,8,cYn),e[458]||(e[458]=nt(" GPU usage: "))]),g("div",uYn,[g("div",null,[e[459]||(e[459]=g("b",null,"Model: ",-1)),nt(ue(T.gpu_model),1)]),g("div",null,[e[460]||(e[460]=g("b",null,"Avaliable vram: ",-1)),nt(ue(this.computedFileSize(T.available_space)),1)]),g("div",null,[e[461]||(e[461]=g("b",null,"GPU usage: ",-1)),nt(" "+ue(this.computedFileSize(T.used_vram))+" / "+ue(this.computedFileSize(T.total_vram))+" ("+ue(T.percentage)+"%)",1)])]),g("div",dYn,[g("div",fYn,[g("div",{class:"bg-blue-600 h-2.5 rounded-full",style:gn("width: "+T.percentage+"%;")},null,4)])])]))),128))],2)]),g("div",pYn,[g("div",hYn,[g("button",{onClick:e[10]||(e[10]=ge(T=>i.smartrouterconf_collapsed=!i.smartrouterconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[462]||(e[462]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.smartrouterconf_collapsed]]),te(g("div",null,e[463]||(e[463]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.smartrouterconf_collapsed]]),e[464]||(e[464]=g("div",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Smart routing configurations",-1))])]),g("div",{class:We([{hidden:i.smartrouterconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",TYn,[ae(a,{title:"Smart Routing Settings",is_shrunk:!1,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",mYn,[g("div",gYn,[g("div",_Yn,[e[465]||(e[465]=g("label",{for:"use_smart_routing",class:"text-sm font-bold w-64"},"Use Smart Routing:",-1)),te(g("input",{type:"checkbox",id:"use_smart_routing","onUpdate:modelValue":e[11]||(e[11]=T=>o.configFile.use_smart_routing=T),onChange:e[12]||(e[12]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.use_smart_routing]])]),g("div",QYn,[e[466]||(e[466]=g("label",{for:"restore_model_after_smart_routing",class:"text-sm font-bold w-64"},"Restore model after smart routing:",-1)),te(g("input",{type:"checkbox",id:"restore_model_after_smart_routing","onUpdate:modelValue":e[13]||(e[13]=T=>o.configFile.restore_model_after_smart_routing=T),onChange:e[14]||(e[14]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.restore_model_after_smart_routing]])]),g("div",vYn,[e[467]||(e[467]=g("label",{for:"smart_routing_router_model",class:"text-sm font-bold w-64"},"Router Model:",-1)),te(g("input",{type:"text",id:"smart_routing_router_model","onUpdate:modelValue":e[15]||(e[15]=T=>o.configFile.smart_routing_router_model=T),onChange:e[16]||(e[16]=T=>i.settingsChanged=!0),class:"flex-grow mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.smart_routing_router_model]])]),g("div",yYn,[e[468]||(e[468]=g("label",{for:"smart_routing_models_description",class:"text-sm font-bold w-64 mt-1"},"Models with description:",-1)),ae(s,{modelValue:o.configFile.smart_routing_models_description,"onUpdate:modelValue":e[17]||(e[17]=T=>o.configFile.smart_routing_models_description=T),onChange:e[18]||(e[18]=T=>i.settingsChanged=!0),"key-name":"Model Path","value-name":"Model description",placeholder:"Enter model name",class:"flex-grow"},null,8,["modelValue"])])])])]),_:1})])],2)]),g("div",bYn,[g("div",EYn,[g("button",{onClick:e[19]||(e[19]=ge(T=>i.mainconf_collapsed=!i.mainconf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[469]||(e[469]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.mainconf_collapsed]]),te(g("div",null,e[470]||(e[470]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.mainconf_collapsed]]),e[471]||(e[471]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Main configurations",-1))])]),g("div",{class:We([{hidden:i.mainconf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",xYn,[ae(a,{title:"General",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",SYn,[g("div",LYn,[e[476]||(e[476]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"User Information",-1)),g("div",CYn,[g("div",AYn,[e[472]||(e[472]=g("div",{class:"setting-label w-64"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Username:")],-1)),te(g("input",{type:"text","onUpdate:modelValue":e[20]||(e[20]=T=>o.configFile.user_name=T),onChange:e[21]||(e[21]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 focus:ring-2 focus:ring-blue-500"},null,544),[[Ne,o.configFile.user_name]])]),g("div",wYn,[e[473]||(e[473]=g("div",{class:"setting-label w-64"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"User Description:")],-1)),te(g("textarea",{"onUpdate:modelValue":e[22]||(e[22]=T=>o.configFile.user_description=T),onChange:e[23]||(e[23]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 focus:ring-2 focus:ring-blue-500",rows:"3"}," ",544),[[Ne,o.configFile.user_description]])]),g("div",MYn,[e[475]||(e[475]=g("div",{class:"setting-label w-64"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"User Avatar:")],-1)),g("div",OYn,[g("label",RYn,[g("img",{src:o.configFile.user_avatar?`/user_infos/${o.configFile.user_avatar}`:t.defaultAvatar,class:"w-12 h-12 rounded-full object-cover border-2 border-gray-300 hover:border-blue-500 transition-all"},null,8,NYn)]),g("input",{type:"file",id:"avatar-upload",class:"hidden",onChange:e[24]||(e[24]=(...T)=>o.uploadAvatar&&o.uploadAvatar(...T))},null,32),g("button",{onClick:e[25]||(e[25]=ge(T=>o.resetAvatar(),["stop"])),class:"text-gray-500 hover:text-red-600 p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-600 transition-all",title:"Remove avatar"},e[474]||(e[474]=[g("i",{"data-feather":"x"},null,-1)]))])])])]),g("div",DYn,[e[485]||(e[485]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"Discussion Settings",-1)),g("div",IYn,[g("div",kYn,[e[478]||(e[478]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Use username in discussions",-1)),g("div",PYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[26]||(e[26]=T=>o.configFile.use_user_name_in_discussions=T),onChange:e[27]||(e[27]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_user_name_in_discussions]]),e[477]||(e[477]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",HYn,[e[480]||(e[480]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Use assistant name in discussion",-1)),g("div",VYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[28]||(e[28]=T=>o.configFile.use_assistant_name_in_discussion=T),onChange:e[29]||(e[29]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_assistant_name_in_discussion]]),e[479]||(e[479]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",FYn,[e[482]||(e[482]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Use model name in discussions",-1)),g("div",BYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[30]||(e[30]=T=>o.configFile.use_model_name_in_discussions=T),onChange:e[31]||(e[31]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_model_name_in_discussions]]),e[481]||(e[481]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",$Yn,[e[484]||(e[484]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Use user information in discussions",-1)),g("div",UYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[32]||(e[32]=T=>o.configFile.use_user_informations_in_discussion=T),onChange:e[33]||(e[33]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_user_informations_in_discussion]]),e[483]||(e[483]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])]),g("div",GYn,[e[492]||(e[492]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"Debug Settings",-1)),g("div",qYn,[g("div",zYn,[e[487]||(e[487]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Enable Debug Mode",-1)),g("div",jYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[34]||(e[34]=T=>o.configFile.debug=T),onChange:e[35]||(e[35]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.debug]]),e[486]||(e[486]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",WYn,[e[489]||(e[489]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Show Final Full Prompt",-1)),g("div",YYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[36]||(e[36]=T=>o.configFile.debug_show_final_full_prompt=T),onChange:e[37]||(e[37]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.debug_show_final_full_prompt]]),e[488]||(e[488]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",KYn,[e[491]||(e[491]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Show Chunks",-1)),g("div",ZYn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[38]||(e[38]=T=>o.configFile.debug_show_chunks=T),onChange:e[39]||(e[39]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.debug_show_chunks]]),e[490]||(e[490]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])]),g("div",XYn,[e[503]||(e[503]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"Auto-sync Settings",-1)),g("div",JYn,[g("div",eKn,[e[494]||(e[494]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Update",-1)),g("div",tKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[40]||(e[40]=T=>o.configFile.auto_update=T),onChange:e[41]||(e[41]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_update]]),e[493]||(e[493]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",nKn,[e[496]||(e[496]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Sync Personalities",-1)),g("div",rKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[42]||(e[42]=T=>o.configFile.auto_sync_personalities=T),onChange:e[43]||(e[43]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_sync_personalities]]),e[495]||(e[495]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",iKn,[e[498]||(e[498]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Sync Extensions",-1)),g("div",oKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[44]||(e[44]=T=>o.configFile.auto_sync_extensions=T),onChange:e[45]||(e[45]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_sync_extensions]]),e[497]||(e[497]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",sKn,[e[500]||(e[500]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Sync Bindings",-1)),g("div",aKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[46]||(e[46]=T=>o.configFile.auto_sync_bindings=T),onChange:e[47]||(e[47]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_sync_bindings]]),e[499]||(e[499]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",lKn,[e[502]||(e[502]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto Sync Models",-1)),g("div",cKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[48]||(e[48]=T=>o.configFile.auto_sync_models=T),onChange:e[49]||(e[49]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_sync_models]]),e[501]||(e[501]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])]),g("div",uKn,[e[517]||(e[517]=g("h3",{class:"font-bold text-lg text-gray-800 dark:text-gray-200 mb-4"},"Webui Settings",-1)),g("div",dKn,[g("div",fKn,[g("div",pKn,[e[504]||(e[504]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Application Logo",-1)),g("div",hKn,[o.configFile.app_custom_logo?(k(),P("img",{key:0,src:"/user_infos/"+o.configFile.app_custom_logo,class:"w-full h-full object-cover",alt:"Custom Logo"},null,8,TKn)):(k(),P("img",{key:1,src:t.defaultImgPlaceholder,class:"w-full h-full object-cover",alt:"Default Logo"},null,8,mKn))])]),g("div",gKn,[o.configFile.app_custom_logo?(k(),P("button",{key:0,onClick:e[50]||(e[50]=(...T)=>o.removeLogo&&o.removeLogo(...T)),class:"bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-lg"}," Remove Logo ")):ie("",!0),g("label",_Kn,[e[505]||(e[505]=nt(" Upload Logo ")),g("input",{type:"file",onChange:e[51]||(e[51]=(...T)=>o.uploadLogo&&o.uploadLogo(...T)),accept:"image/*",class:"hidden"},null,32)])])]),g("div",QKn,[e[507]||(e[507]=g("div",{class:"flex items-center space-x-2"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Automatic Discussion Naming"),g("div",{class:"text-xs text-gray-500 dark:text-gray-400"},"(Let AI name your discussions automatically)")],-1)),g("div",vKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[52]||(e[52]=T=>o.configFile.auto_title=T),onChange:e[53]||(e[53]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_title]]),e[506]||(e[506]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",yKn,[e[509]||(e[509]=g("div",{class:"flex items-center space-x-2"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Auto-launch Browser"),g("div",{class:"text-xs text-gray-500 dark:text-gray-400"},"(Open browser automatically when starting LOLLMS)")],-1)),g("div",bKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[54]||(e[54]=T=>o.configFile.auto_show_browser=T),onChange:e[55]||(e[55]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.auto_show_browser]]),e[508]||(e[508]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",EKn,[g("div",xKn,[e[511]||(e[511]=g("div",{class:"flex items-center space-x-2"},[g("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6 text-red-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})]),g("label",{class:"font-bold text-sm text-red-700 dark:text-red-400"},"Remote Access")],-1)),g("div",SKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[56]||(e[56]=T=>o.configFile.force_accept_remote_access=T),onChange:e[57]||(e[57]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.force_accept_remote_access]]),e[510]||(e[510]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),e[512]||(e[512]=g("p",{class:"mt-2 text-sm text-red-600 dark:text-red-400"},[g("strong",null,"Security Warning:"),nt(" Enabling remote access poses significant security risks. Only enable this if you: "),g("ul",{class:"list-disc ml-6 mt-1"},[g("li",null,"Fully understand the security implications"),g("li",null,"Have proper network security measures in place"),g("li",null,"Are in a trusted network environment")])],-1))]),g("div",LKn,[e[514]||(e[514]=g("div",{class:"flex items-center space-x-2"},[g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Enhanced Message Copy"),g("div",{class:"text-xs text-gray-500 dark:text-gray-400"}," (Include metadata like sender name and model info when copying messages) ")],-1)),g("div",CKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[58]||(e[58]=T=>o.configFile.copy_to_clipboard_add_all_details=T),onChange:e[59]||(e[59]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.copy_to_clipboard_add_all_details]]),e[513]||(e[513]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("div",AKn,[e[516]||(e[516]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200"},"Headless server mode (DEACTIVATES the WEBUI)",-1)),g("div",wKn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[60]||(e[60]=T=>o.configFile.headless_server_mode=T),onChange:e[61]||(e[61]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.headless_server_mode]]),e[515]||(e[515]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])])])]),_:1}),ae(a,{title:"Model template",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",MKn,[g("div",OKn,[e[519]||(e[519]=g("label",{class:"text-sm font-semibold text-gray-700 dark:text-gray-300"},"Template Type",-1)),g("select",{onChange:e[62]||(e[62]=(...T)=>o.handleTemplateSelection&&o.handleTemplateSelection(...T)),class:"form-select w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},e[518]||(e[518]=[g("option",{value:"lollms"},"Lollms communication template",-1),g("option",{value:"lollms_simplified"},"Lollms simplified communication template",-1),g("option",{value:"bare"},"Bare, useful when in chat mode",-1),g("option",{value:"llama3"},"LLama3 communication template",-1),g("option",{value:"lucie"},"Lucie communication template",-1),g("option",{value:"mistral"},"Mistral communication template",-1),g("option",{value:"deepseek"},"DeepSeek communication template",-1)]),32)]),g("div",RKn,[g("div",NKn,[e[520]||(e[520]=g("label",{for:"start_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Start Header Template ",-1)),te(g("input",{type:"text",id:"start_header_id_template","onUpdate:modelValue":e[63]||(e[63]=T=>o.configFile.start_header_id_template=T),onChange:e[64]||(e[64]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.start_header_id_template]])]),g("div",DKn,[e[521]||(e[521]=g("label",{for:"end_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End Header Template ",-1)),te(g("input",{type:"text",id:"end_header_id_template","onUpdate:modelValue":e[65]||(e[65]=T=>o.configFile.end_header_id_template=T),onChange:e[66]||(e[66]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_header_id_template]])])]),g("div",IKn,[g("div",kKn,[e[522]||(e[522]=g("label",{for:"start_user_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Start User Header Template ",-1)),te(g("input",{type:"text",id:"start_user_header_id_template","onUpdate:modelValue":e[67]||(e[67]=T=>o.configFile.start_user_header_id_template=T),onChange:e[68]||(e[68]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.start_user_header_id_template]])]),g("div",PKn,[e[523]||(e[523]=g("label",{for:"end_user_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End User Header Template ",-1)),te(g("input",{type:"text",id:"end_user_header_id_template","onUpdate:modelValue":e[69]||(e[69]=T=>o.configFile.end_user_header_id_template=T),onChange:e[70]||(e[70]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_user_header_id_template]])])]),g("div",HKn,[g("div",VKn,[e[524]||(e[524]=g("label",{for:"start_ai_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Start AI Header Template ",-1)),te(g("input",{type:"text",id:"start_ai_header_id_template","onUpdate:modelValue":e[71]||(e[71]=T=>o.configFile.start_ai_header_id_template=T),onChange:e[72]||(e[72]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.start_ai_header_id_template]])]),g("div",FKn,[e[525]||(e[525]=g("label",{for:"end_ai_header_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End AI Header Template ",-1)),te(g("input",{type:"text",id:"end_ai_header_id_template","onUpdate:modelValue":e[73]||(e[73]=T=>o.configFile.end_ai_header_id_template=T),onChange:e[74]||(e[74]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_ai_header_id_template]])])]),g("div",BKn,[g("div",$Kn,[e[526]||(e[526]=g("label",{for:"end_user_message_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End User Message Template ",-1)),te(g("input",{type:"text",id:"end_user_message_id_template","onUpdate:modelValue":e[75]||(e[75]=T=>o.configFile.end_user_message_id_template=T),onChange:e[76]||(e[76]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_user_message_id_template]])]),g("div",UKn,[e[527]||(e[527]=g("label",{for:"end_ai_message_id_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," End AI Message Template ",-1)),te(g("input",{type:"text",id:"end_ai_message_id_template","onUpdate:modelValue":e[77]||(e[77]=T=>o.configFile.end_ai_message_id_template=T),onChange:e[78]||(e[78]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.end_ai_message_id_template]])])]),g("div",GKn,[e[528]||(e[528]=g("label",{for:"separator_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Separator Template ",-1)),te(g("textarea",{id:"separator_template","onUpdate:modelValue":e[79]||(e[79]=T=>o.configFile.separator_template=T),onChange:e[80]||(e[80]=T=>i.settingsChanged=!0),class:"w-full h-24 rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"}," ",544),[[Ne,o.configFile.separator_template]])]),g("div",qKn,[e[529]||(e[529]=g("label",{for:"system_message_template",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," System Template ",-1)),te(g("input",{type:"text",id:"system_message_template","onUpdate:modelValue":e[81]||(e[81]=T=>o.configFile.system_message_template=T),onChange:e[82]||(e[82]=T=>i.settingsChanged=!0),class:"w-full rounded-md border-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-300 focus:border-blue-500 focus:ring-blue-500"},null,544),[[Ne,o.configFile.system_message_template]])]),g("div",zKn,[e[530]||(e[530]=g("label",{class:"text-sm font-semibold text-gray-700 dark:text-gray-300"},"Full Template Preview",-1)),g("div",jKn,[g("div",{innerHTML:o.full_template},null,8,WKn)])]),g("div",YKn,[e[532]||(e[532]=g("label",{for:"use_continue_message",class:"text-sm font-semibold text-gray-700 dark:text-gray-300"}," Use Continue Message ",-1)),g("div",KKn,[te(g("input",{type:"checkbox",id:"use_continue_message","onUpdate:modelValue":e[83]||(e[83]=T=>o.configFile.use_continue_message=T),onChange:e[84]||(e[84]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.use_continue_message]]),e[531]||(e[531]=g("label",{for:"use_continue_message",class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])])])]),_:1}),ae(a,{title:"User",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",ZKn,[g("div",XKn,[e[533]||(e[533]=g("label",{for:"user_name",class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," User Name ",-1)),te(g("input",{type:"text",id:"user_name",required:"","onUpdate:modelValue":e[85]||(e[85]=T=>o.configFile.user_name=T),onChange:e[86]||(e[86]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.user_name]])]),g("div",JKn,[e[534]||(e[534]=g("label",{for:"user_description",class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," User Description ",-1)),te(g("textarea",{id:"user_description",required:"","onUpdate:modelValue":e[87]||(e[87]=T=>o.configFile.user_description=T),onChange:e[88]||(e[88]=T=>i.settingsChanged=!0),class:"flex-1 h-[300px] px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:text-white resize-none"},null,544),[[Ne,o.configFile.user_description]])]),g("div",eZn,[g("div",tZn,[e[538]||(e[538]=g("label",{class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," Discussion Settings ",-1)),g("div",nZn,[g("label",rZn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[89]||(e[89]=T=>o.configFile.use_user_informations_in_discussion=T),onChange:e[90]||(e[90]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.use_user_informations_in_discussion]]),e[535]||(e[535]=g("span",{class:"text-sm text-gray-700 dark:text-gray-200"},"Use user description in discussion",-1))]),g("label",iZn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[91]||(e[91]=T=>o.configFile.use_model_name_in_discussions=T),onChange:e[92]||(e[92]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.use_model_name_in_discussions]]),e[536]||(e[536]=g("span",{class:"text-sm text-gray-700 dark:text-gray-200"},"Use model name in discussion",-1))]),g("label",oZn,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[93]||(e[93]=T=>o.configFile.use_user_name_in_discussions=T),onChange:e[94]||(e[94]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.use_user_name_in_discussions]]),e[537]||(e[537]=g("span",{class:"text-sm text-gray-700 dark:text-gray-200"},"Use User Name in discussions",-1))])])])]),g("div",sZn,[e[540]||(e[540]=g("label",{class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," User Avatar ",-1)),g("div",aZn,[g("label",lZn,[g("img",{src:o.configFile.user_avatar!=null&&o.configFile.user_avatar!=""?"/user_infos/"+o.configFile.user_avatar:i.storeLogo,class:"w-16 h-16 rounded-full object-cover border-2 border-gray-300 hover:border-blue-500"},null,8,cZn)]),g("input",{type:"file",id:"avatar-upload",class:"hidden",onChange:e[95]||(e[95]=(...T)=>o.uploadAvatar&&o.uploadAvatar(...T))},null,32),g("button",{onClick:e[96]||(e[96]=ge(T=>o.resetAvatar(),["stop"])),class:"p-2 text-gray-500 hover:text-red-500 transition-colors duration-200",title:"Remove avatar"},e[539]||(e[539]=[g("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)]))])]),g("div",uZn,[g("div",dZn,[e[541]||(e[541]=g("label",{for:"max_n_predict",class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," Maximum Token Space ",-1)),te(g("input",{type:"number",id:"max_n_predict",required:"","onUpdate:modelValue":e[97]||(e[97]=T=>o.configFile.max_n_predict=T),onChange:e[98]||(e[98]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.max_n_predict]])]),g("div",fZn,[e[542]||(e[542]=g("label",{for:"min_n_predict",class:"text-sm font-bold text-gray-700 dark:text-gray-200 min-w-[200px]"}," Minimum Token Space ",-1)),te(g("input",{type:"number",id:"min_n_predict",required:"","onUpdate:modelValue":e[99]||(e[99]=T=>o.configFile.min_n_predict=T),onChange:e[100]||(e[100]=T=>i.settingsChanged=!0),class:"flex-1 px-4 py-2 rounded-lg border border-gray-300 focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.min_n_predict]])])])])]),_:1}),ae(a,{title:"Security settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",pZn,[g("div",hZn,[e[543]||(e[543]=g("label",{for:"turn_on_code_execution",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Turn on code execution ",-1)),g("div",TZn,[te(g("input",{type:"checkbox",id:"turn_on_code_execution",required:"","onUpdate:modelValue":e[101]||(e[101]=T=>o.configFile.turn_on_code_execution=T),onChange:e[102]||(e[102]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_code_execution]])])]),g("div",mZn,[e[544]||(e[544]=g("label",{for:"turn_on_code_validation",class:"text-sm font-medium text-gray-700 dark:text-gray-200"},[nt(" Turn on code validation "),g("span",{class:"block text-xs text-gray-500 dark:text-gray-400"},"Very recommended for security reasons")],-1)),g("div",gZn,[te(g("input",{type:"checkbox",id:"turn_on_code_validation",required:"","onUpdate:modelValue":e[103]||(e[103]=T=>o.configFile.turn_on_code_validation=T),onChange:e[104]||(e[104]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_code_validation]])])]),g("div",_Zn,[e[545]||(e[545]=g("label",{for:"turn_on_setting_update_validation",class:"text-sm font-medium text-gray-700 dark:text-gray-200"},[nt(" Turn on apply settings validation "),g("span",{class:"block text-xs text-gray-500 dark:text-gray-400"},"Very recommended for security reasons")],-1)),g("div",QZn,[te(g("input",{type:"checkbox",id:"turn_on_setting_update_validation",required:"","onUpdate:modelValue":e[105]||(e[105]=T=>o.configFile.turn_on_setting_update_validation=T),onChange:e[106]||(e[106]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_setting_update_validation]])])]),g("div",vZn,[e[546]||(e[546]=g("label",{for:"turn_on_open_file_validation",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Turn on open file/folder validation ",-1)),g("div",yZn,[te(g("input",{type:"checkbox",id:"turn_on_open_file_validation",required:"","onUpdate:modelValue":e[107]||(e[107]=T=>o.configFile.turn_on_open_file_validation=T),onChange:e[108]||(e[108]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_open_file_validation]])])]),g("div",bZn,[e[547]||(e[547]=g("label",{for:"turn_on_send_file_validation",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Turn on send file validation ",-1)),g("div",EZn,[te(g("input",{type:"checkbox",id:"turn_on_send_file_validation",required:"","onUpdate:modelValue":e[109]||(e[109]=T=>o.configFile.turn_on_send_file_validation=T),onChange:e[110]||(e[110]=T=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,544),[[at,o.configFile.turn_on_send_file_validation]])])])])]),_:1}),ae(a,{title:"Knowledge database",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",xZn,[g("div",SZn,[e[549]||(e[549]=g("label",{for:"activate_skills_lib",class:"text-sm font-bold text-gray-900 dark:text-white min-w-[200px]"}," Activate Skills library: ",-1)),g("div",LZn,[g("label",CZn,[te(g("input",{type:"checkbox",id:"activate_skills_lib",required:"","onUpdate:modelValue":e[111]||(e[111]=T=>o.configFile.activate_skills_lib=T),onChange:e[112]||(e[112]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.activate_skills_lib]]),e[548]||(e[548]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",AZn,[e[550]||(e[550]=g("label",{for:"skills_lib_database_name",class:"text-sm font-bold text-gray-900 dark:text-white min-w-[200px]"}," Skills library database name: ",-1)),g("div",wZn,[te(g("input",{type:"text",id:"skills_lib_database_name",required:"","onUpdate:modelValue":e[113]||(e[113]=T=>o.configFile.skills_lib_database_name=T),onChange:e[114]||(e[114]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:focus:ring-blue-500 dark:focus:border-blue-500 text-gray-900 dark:text-white transition-colors duration-200",placeholder:"Enter database name"},null,544),[[Ne,o.configFile.skills_lib_database_name]])])])])]),_:1}),ae(a,{title:"Latex",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",MZn,[g("div",OZn,[e[551]||(e[551]=g("div",{class:"min-w-[200px]"},[g("label",{for:"pdf_latex_path",class:"block text-sm font-semibold text-gray-700 dark:text-gray-200"}," PDF LaTeX Path: ")],-1)),g("div",RZn,[te(g("input",{type:"text",id:"pdf_latex_path",required:"","onUpdate:modelValue":e[115]||(e[115]=T=>o.configFile.pdf_latex_path=T),onChange:e[116]||(e[116]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 text-sm bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:text-white dark:placeholder-gray-400 transition-colors duration-200",placeholder:"Enter PDF LaTeX path..."},null,544),[[Ne,o.configFile.pdf_latex_path]])])])])]),_:1}),ae(a,{title:"Boost",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",NZn,[g("div",DZn,[g("div",IZn,[e[552]||(e[552]=g("label",{for:"positive_boost",class:"text-sm font-bold text-gray-700 dark:text-gray-200"}," Positive Boost ",-1)),g("div",kZn,[te(g("input",{type:"text",id:"positive_boost",required:"","onUpdate:modelValue":e[117]||(e[117]=T=>o.configFile.positive_boost=T),onChange:e[118]||(e[118]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white transition-all duration-200"},null,544),[[Ne,o.configFile.positive_boost]])])])]),g("div",PZn,[g("div",HZn,[e[553]||(e[553]=g("label",{for:"negative_boost",class:"text-sm font-bold text-gray-700 dark:text-gray-200"}," Negative Boost ",-1)),g("div",VZn,[te(g("input",{type:"text",id:"negative_boost",required:"","onUpdate:modelValue":e[119]||(e[119]=T=>o.configFile.negative_boost=T),onChange:e[120]||(e[120]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white transition-all duration-200"},null,544),[[Ne,o.configFile.negative_boost]])])])]),g("div",FZn,[g("div",BZn,[e[555]||(e[555]=g("label",{for:"fun_mode",class:"text-sm font-bold text-gray-700 dark:text-gray-200"}," Fun Mode ",-1)),g("div",$Zn,[g("label",UZn,[te(g("input",{type:"checkbox",id:"fun_mode",required:"","onUpdate:modelValue":e[121]||(e[121]=T=>o.configFile.fun_mode=T),onChange:e[122]||(e[122]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.fun_mode]]),e[554]||(e[554]=g("div",{class:"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])])])])]),_:1})])],2)]),g("div",GZn,[g("div",qZn,[g("button",{onClick:e[123]||(e[123]=ge(T=>i.data_conf_collapsed=!i.data_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[556]||(e[556]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.data_conf_collapsed]]),te(g("div",null,e[557]||(e[557]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.data_conf_collapsed]]),e[558]||(e[558]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Data management settings",-1))])]),g("div",{class:We([{hidden:i.data_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[ae(a,{title:"Data Lakes",is_subcard:!0,class:"p-4 m-2"},{default:Be(()=>[g("div",zZn,[e[570]||(e[570]=g("div",{class:"flex items-center mb-4"},[g("h3",{class:"text-lg font-semibold dark:text-white"},"Data Lakes Configuration")],-1)),g("div",jZn,[(k(!0),P(ze,null,lt(o.configFile.datalakes,(T,Q)=>(k(),P("div",{key:Q,class:"p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"},[g("div",WZn,[g("div",YZn,[e[559]||(e[559]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Data Lake Alias",-1)),g("input",{type:"text",value:o.getDataLakeAlias(Q),onInput:_=>o.updateAlias(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter alias"},null,40,KZn)]),g("div",ZZn,[e[561]||(e[561]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Type",-1)),g("select",{required:"",value:o.getDataLakeType(Q),onInput:_=>o.updateDatabaseType(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},e[560]||(e[560]=[g("option",{value:"lollmsvectordb"},"Lollms VectorDB Folder",-1),g("option",{value:"lightrag"},"Light Rag",-1),g("option",{value:"elasticdsearch"},"Elastic Search",-1)]),40,XZn)]),g("div",JZn,[g("label",eXn,ue(T.type==="lightrag"?"DataLake URL":"DataLake Path"),1),T.type==="lightrag"?(k(),P("input",{key:0,type:"text",value:o.getDataLakeUrl(Q),onInput:_=>o.updateDataLakeUrl(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter DataLake URL"},null,40,tXn)):ie("",!0),T.type==="lollmsvectordb"?(k(),P("input",{key:1,type:"text",value:o.getDataLakePath(Q),onInput:_=>o.updateDataLakePath(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter DataLake Path"},null,40,nXn)):ie("",!0)]),T.type==="lightrag"?(k(),P("div",rXn,[e[562]||(e[562]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"API Key",-1)),g("input",{type:"text",value:o.getDataLakeKey(Q),onInput:_=>o.updateDatabaseKey(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter API key"},null,40,iXn)])):ie("",!0)]),g("div",oXn,[g("div",sXn,[g("div",aXn,[e[564]||(e[564]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200 mr-4"},"Mounted",-1)),g("div",lXn,[te(g("input",{type:"checkbox","onUpdate:modelValue":_=>o.configFile.datalakes[Q].mounted=_,onChange:e[124]||(e[124]=_=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,40,cXn),[[at,o.configFile.datalakes[Q].mounted]]),e[563]||(e[563]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),T.type==="lollmsvectordb"?(k(),P("div",uXn,[g("button",{onClick:_=>o.vectorize_folder(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-green-600 rounded-md hover:bg-green-700 focus:ring-2 focus:ring-offset-2 focus:ring-green-500",title:"Vectorize or re-vectorize the selected folder"},e[565]||(e[565]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),nt(" Vectorize ")]),8,dXn),g("button",{onClick:_=>o.lollms_vectordb_select_folder(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",title:"Select a folder as data source"},e[566]||(e[566]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})],-1),nt(" Select Folder ")]),8,fXn)])):ie("",!0),g("div",pXn,[g("input",{type:"file",ref_for:!0,ref:"fileInput",onChange:e[125]||(e[125]=(..._)=>o.handleFileUpload&&o.handleFileUpload(..._)),accept:".pdf,.txt,.doc,.docx,.csv,.md",class:"hidden",multiple:""},null,544),g("button",{onClick:e[126]||(e[126]=(..._)=>o.triggerFileInput&&o.triggerFileInput(..._)),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-green-600 rounded-md hover:bg-green-700 focus:ring-2 focus:ring-offset-2 focus:ring-green-500"},e[567]||(e[567]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"})],-1),nt(" Upload Files ")]))])]),g("button",{onClick:_=>o.removeDataLake(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-red-600 rounded-md hover:bg-red-700 focus:ring-2 focus:ring-offset-2 focus:ring-red-500"},e[568]||(e[568]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1),nt(" Remove Data Lake ")]),8,hXn)])]))),128))]),g("button",{onClick:e[127]||(e[127]=(...T)=>o.addDataLake&&o.addDataLake(...T)),class:"inline-flex items-center px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"},e[569]||(e[569]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4v16m8-8H4"})],-1),nt(" Add New Data Lake ")]))])]),_:1}),ae(a,{title:"Data Servers",is_subcard:!0,class:"p-4 m-2"},{default:Be(()=>[g("div",TXn,[e[585]||(e[585]=g("div",{class:"flex items-center mb-4"},[g("h3",{class:"text-lg font-semibold dark:text-white"},"Database Servers")],-1)),g("div",mXn,[(k(!0),P(ze,null,lt(o.configFile.rag_local_services,(T,Q)=>(k(),P("div",{key:Q,class:"p-4 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700"},[g("div",gXn,[g("div",_Xn,[e[571]||(e[571]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Database Alias",-1)),g("input",{type:"text",value:o.getServedDatabaseAlias(Q),onInput:_=>o.updateAlias(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter alias"},null,40,QXn)]),g("div",vXn,[e[573]||(e[573]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Type",-1)),g("select",{required:"",value:o.getServedDatabaseType(Q),onInput:_=>o.updateDatabaseType(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},e[572]||(e[572]=[g("option",{value:"lightrag"},"Light Rag",-1),g("option",{value:"elasticdsearch"},"Elastic Search",-1)]),40,yXn)]),g("div",bXn,[e[574]||(e[574]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Database URL",-1)),g("input",{type:"text",value:o.getServedDatabaseUrl(Q),onInput:_=>o.updateDataLakeUrl(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter database URL"},null,40,EXn)]),g("div",xXn,[e[575]||(e[575]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"API Key",-1)),g("input",{type:"text",value:o.getServedDatabaseKey(Q),onInput:_=>o.updateDatabaseKey(Q,_.target.value),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Enter API key"},null,40,SXn)]),g("div",LXn,[e[576]||(e[576]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Input folder",-1)),te(g("input",{type:"text","onUpdate:modelValue":_=>o.configFile.rag_local_services[Q].input_path=_,onChange:e[128]||(e[128]=_=>i.settingsChanged=!0),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Input folder"},null,40,CXn),[[Ne,o.configFile.rag_local_services[Q].input_path]])]),g("div",AXn,[e[577]||(e[577]=g("label",{class:"text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"Input folder",-1)),te(g("input",{type:"text","onUpdate:modelValue":_=>o.configFile.rag_local_services[Q].working_path=_,onChange:e[129]||(e[129]=_=>i.settingsChanged=!0),class:"px-3 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white",placeholder:"Output folder"},null,40,wXn),[[Ne,o.configFile.rag_local_services[Q].working_path]])])]),g("div",MXn,[g("div",OXn,[g("div",RXn,[e[579]||(e[579]=g("label",{class:"font-bold text-sm text-gray-700 dark:text-gray-200 mr-4"},"Start at Startup",-1)),g("div",NXn,[te(g("input",{type:"checkbox","onUpdate:modelValue":_=>o.configFile.rag_local_services[Q].start_at_startup=_,onChange:e[130]||(e[130]=_=>i.settingsChanged=!0),class:"absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer transition-transform duration-200 ease-in-out checked:translate-x-6 checked:bg-blue-500"},null,40,DXn),[[at,o.configFile.rag_local_services[Q].start_at_startup]]),e[578]||(e[578]=g("label",{class:"toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 dark:bg-gray-600 cursor-pointer"},null,-1))])]),g("input",{type:"file",ref_for:!0,ref:"fileInput2",onChange:e[131]||(e[131]=(..._)=>o.handleFileUpload&&o.handleFileUpload(..._)),accept:".pdf,.txt,.doc,.docx,.csv,.md",class:"hidden",multiple:""},null,544),g("button",{onClick:e[132]||(e[132]=(..._)=>o.triggerFileInput&&o.triggerFileInput(..._)),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-green-600 rounded-md hover:bg-green-700 focus:ring-2 focus:ring-offset-2 focus:ring-green-500"},e[580]||(e[580]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"})],-1),nt(" Upload Files ")]))]),g("button",{onClick:_=>o.lightrag_select_input_folder(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",title:"Select a folder as data source"},e[581]||(e[581]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})],-1),nt(" Select input Folder ")]),8,IXn),g("button",{onClick:_=>o.lightrag_select_output_folder(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",title:"Select a folder as data source"},e[582]||(e[582]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"})],-1),nt(" Select work Folder ")]),8,kXn),g("button",{onClick:_=>o.removeServedDataBase(Q),class:"inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-red-600 rounded-md hover:bg-red-700 focus:ring-2 focus:ring-offset-2 focus:ring-red-500"},e[583]||(e[583]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1),nt(" Remove Database ")]),8,PXn)])]))),128))]),g("button",{onClick:e[133]||(e[133]=(...T)=>o.addDatabaseService&&o.addDatabaseService(...T)),class:"inline-flex items-center px-4 py-2 text-sm font-medium text-white bg-blue-600 rounded-md hover:bg-blue-700 focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"},e[584]||(e[584]=[g("svg",{class:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4v16m8-8H4"})],-1),nt(" Add New Database Server ")]))])]),_:1}),ae(a,{title:"LollmsVectordb Configuration",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",HXn,[g("div",VXn,[e[587]||(e[587]=g("label",{for:"rag_vectorizer",class:"text-sm font-bold w-64"},"RAG Vectorizer:",-1)),te(g("select",{id:"rag_vectorizer",required:"","onUpdate:modelValue":e[134]||(e[134]=T=>o.configFile.rag_vectorizer=T),onChange:e[135]||(e[135]=T=>i.settingsChanged=!0),class:"flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500"},e[586]||(e[586]=[g("option",{value:"semantic"},"Semantic Vectorizer",-1),g("option",{value:"tfidf"},"TFIDF Vectorizer",-1),g("option",{value:"openai"},"OpenAI Vectorizer",-1),g("option",{value:"ollama"},"Ollama Vectorizer",-1)]),544),[[hn,o.configFile.rag_vectorizer]])]),g("div",FXn,[e[588]||(e[588]=g("label",{class:"text-sm font-bold w-64"},"Allow executing remote code:",-1)),g("div",BXn,[g("label",$Xn,[te(g("input",{"onUpdate:modelValue":e[136]||(e[136]=T=>o.configFile.rag_vectorizer_execute_remote_code=T),type:"checkbox",onChange:e[137]||(e[137]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.rag_vectorizer_execute_remote_code]])])])]),g("div",UXn,[e[592]||(e[592]=g("label",{class:"text-sm font-bold w-64 pt-2"},"RAG Vectorizer model:",-1)),g("div",GXn,[te(g("select",{id:"rag_vectorizer_model",required:"","onUpdate:modelValue":e[138]||(e[138]=T=>o.configFile.rag_vectorizer_model=T),onChange:e[139]||(e[139]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500",disabled:o.configFile.rag_vectorizer==="tfidf"},[o.configFile.rag_vectorizer==="semantic"?(k(),P("optgroup",zXn,e[589]||(e[589]=[g("option",{value:"BAAI/bge-m3"},"BAAI/bge-m3",-1),g("option",{value:"nvidia/NV-Embed-v2"},"nvidia/NV-Embed-v2",-1),g("option",{value:"sentence-transformers/all-MiniLM-L6-v2"},"sentence-transformers/all-MiniLM-L6-v2",-1),g("option",{value:"sentence-transformers/all-MiniLM-L12-v2"},"sentence-transformers/all-MiniLM-L12-v2",-1),g("option",{value:"sentence-transformers/all-distilroberta-v1"},"sentence-transformers/all-distilroberta-v1",-1),g("option",{value:"sentence-transformers/all-mpnet-base-v2"},"sentence-transformers/all-mpnet-base-v2",-1)]))):ie("",!0),o.configFile.rag_vectorizer==="openai"?(k(),P("optgroup",jXn,e[590]||(e[590]=[g("option",{value:"text-embedding-ada-002"},"text-embedding-ada-002",-1),g("option",{value:"text-embedding-babbage-001"},"text-embedding-babbage-001",-1),g("option",{value:"text-embedding-curie-001"},"text-embedding-curie-001",-1),g("option",{value:"text-embedding-davinci-001"},"text-embedding-davinci-001",-1)]))):ie("",!0),o.configFile.rag_vectorizer==="ollama"?(k(),P("optgroup",WXn,e[591]||(e[591]=[g("option",{value:"bge-m3"},"bge-m3",-1),g("option",{value:"NV-Embed-v2"},"nvidia/NV-Embed-v2",-1),g("option",{value:"nomic-embed-text"},"nomic-embed-text",-1),g("option",{value:"mxbai-embed-large"},"mxbai-embed-large",-1),g("option",{value:"snowflake-arctic-embed"},"snowflake-arctic-embed",-1),g("option",{value:"all-minilm"},"all-minilm",-1),g("option",{value:"bge-large"},"bge-large",-1)]))):ie("",!0),o.configFile.rag_vectorizer==="tfidf"?(k(),P("option",YXn,"No models available for TFIDF")):ie("",!0)],40,qXn),[[hn,o.configFile.rag_vectorizer_model]]),te(g("input",{"onUpdate:modelValue":e[140]||(e[140]=T=>o.configFile.rag_vectorizer_model=T),class:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500"},null,512),[[Ne,o.configFile.rag_vectorizer_model]])])]),g("div",KXn,[e[593]||(e[593]=g("label",{class:"text-sm font-bold w-64 pt-2"},"RAG server address:",-1)),o.configFile.rag_vectorizer==="ollama"?te((k(),P("input",{key:0,"onUpdate:modelValue":e[141]||(e[141]=T=>o.configFile.rag_service_url=T),class:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500"},null,512)),[[Ne,o.configFile.rag_service_url]]):ie("",!0)]),g("div",ZXn,[g("div",XXn,[e[594]||(e[594]=g("label",{class:"text-sm font-bold w-64"},"RAG chunk size:",-1)),g("div",JXn,[te(g("input",{id:"rag_chunk_size","onUpdate:modelValue":e[142]||(e[142]=T=>o.configFile.rag_chunk_size=T),onChange:e[143]||(e[143]=T=>i.settingsChanged=!0),type:"range",min:"2",max:"64000",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.rag_chunk_size]]),te(g("input",{"onUpdate:modelValue":e[144]||(e[144]=T=>o.configFile.rag_chunk_size=T),type:"number",onChange:e[145]||(e[145]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 dark:bg-gray-600 dark:border-gray-500"},null,544),[[Ne,o.configFile.rag_chunk_size]])])])]),g("div",eJn,[g("div",tJn,[e[595]||(e[595]=g("label",{class:"text-sm font-bold w-64"},"Clean chunks:",-1)),g("div",nJn,[g("label",rJn,[te(g("input",{"onUpdate:modelValue":e[146]||(e[146]=T=>o.configFile.rag_clean_chunks=T),type:"checkbox",onChange:e[147]||(e[147]=T=>i.settingsChanged=!0),class:"w-5 h-5 rounded border-gray-300 text-blue-600 focus:ring-blue-500 dark:bg-gray-600"},null,544),[[at,o.configFile.rag_clean_chunks]])])])])])])]),_:1}),ae(a,{title:"Data Vectorization",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",iJn,[g("div",oJn,[e[597]||(e[597]=g("div",{class:"flex-grow"},[g("label",{for:"rag_build_keys_words",class:"font-medium text-gray-700 dark:text-gray-200"},[nt(" Reformulate prompt before querying database "),g("span",{class:"text-sm text-gray-500 dark:text-gray-400 block mt-1"}," (Recommended for better search results) ")])],-1)),g("div",sJn,[g("label",aJn,[te(g("input",{type:"checkbox",id:"rag_build_keys_words","onUpdate:modelValue":e[148]||(e[148]=T=>o.configFile.rag_build_keys_words=T),onChange:e[149]||(e[149]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.rag_build_keys_words]]),e[596]||(e[596]=g("div",{class:"w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",lJn,[e[599]||(e[599]=g("div",{class:"flex-grow"},[g("label",{for:"rag_put_chunk_informations_into_context",class:"font-medium text-gray-700 dark:text-gray-200"}," Put Chunk Information Into Context ")],-1)),g("div",cJn,[g("label",uJn,[te(g("input",{type:"checkbox",id:"rag_put_chunk_informations_into_context","onUpdate:modelValue":e[150]||(e[150]=T=>o.configFile.rag_put_chunk_informations_into_context=T),onChange:e[151]||(e[151]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.rag_put_chunk_informations_into_context]]),e[598]||(e[598]=g("div",{class:"w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",dJn,[e[601]||(e[601]=g("div",{class:"flex-grow"},[g("label",{for:"data_vectorization_save_db",class:"font-medium text-gray-700 dark:text-gray-200"},[nt(" Save new files to database "),g("span",{class:"text-sm text-gray-500 dark:text-gray-400 block mt-1"}," Database will persist and grow across sessions ")])],-1)),g("div",fJn,[g("label",pJn,[te(g("input",{type:"checkbox",id:"data_vectorization_save_db","onUpdate:modelValue":e[152]||(e[152]=T=>o.configFile.data_vectorization_save_db=T),onChange:e[153]||(e[153]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.data_vectorization_save_db]]),e[600]||(e[600]=g("div",{class:"w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])])])]),_:1})],2)]),g("div",hJn,[g("div",TJn,[g("button",{onClick:e[154]||(e[154]=ge(T=>i.internet_conf_collapsed=!i.internet_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[602]||(e[602]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.internet_conf_collapsed]]),te(g("div",null,e[603]||(e[603]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.internet_conf_collapsed]]),e[604]||(e[604]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Internet",-1))])]),g("div",{class:We([{hidden:i.internet_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[ae(a,{title:"Internet search",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",mJn,[g("div",gJn,[e[606]||(e[606]=g("label",{for:"activate_internet_search",class:"text-sm font-bold text-gray-900 dark:text-white"}," Activate automatic internet search ",-1)),g("label",_Jn,[te(g("input",{type:"checkbox",id:"fun_mode","onUpdate:modelValue":e[155]||(e[155]=T=>o.configFile.activate_internet_search=T),onChange:e[156]||(e[156]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.activate_internet_search]]),e[605]||(e[605]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",QJn,[e[608]||(e[608]=g("label",{for:"activate_internet_pages_judgement",class:"text-sm font-bold text-gray-900 dark:text-white"}," Activate internet pages judgement ",-1)),g("label",vJn,[te(g("input",{type:"checkbox",id:"activate_internet_pages_judgement","onUpdate:modelValue":e[157]||(e[157]=T=>o.configFile.activate_internet_pages_judgement=T),onChange:e[158]||(e[158]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.activate_internet_pages_judgement]]),e[607]||(e[607]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",yJn,[e[610]||(e[610]=g("label",{for:"internet_quick_search",class:"text-sm font-bold text-gray-900 dark:text-white"}," Activate quick search ",-1)),g("label",bJn,[te(g("input",{type:"checkbox",id:"internet_quick_search","onUpdate:modelValue":e[159]||(e[159]=T=>o.configFile.internet_quick_search=T),onChange:e[160]||(e[160]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.internet_quick_search]]),e[609]||(e[609]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",EJn,[e[612]||(e[612]=g("label",{for:"internet_activate_search_decision",class:"text-sm font-bold text-gray-900 dark:text-white"}," Activate search decision ",-1)),g("label",xJn,[te(g("input",{type:"checkbox",id:"internet_activate_search_decision","onUpdate:modelValue":e[161]||(e[161]=T=>o.configFile.internet_activate_search_decision=T),onChange:e[162]||(e[162]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.internet_activate_search_decision]]),e[611]||(e[611]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",SJn,[g("div",LJn,[e[613]||(e[613]=g("label",{for:"internet_vectorization_chunk_size",class:"text-sm font-bold text-gray-900 dark:text-white"}," Internet vectorization chunk size ",-1)),g("div",CJn,[te(g("input",{id:"internet_vectorization_chunk_size","onUpdate:modelValue":e[163]||(e[163]=T=>o.configFile.internet_vectorization_chunk_size=T),onChange:e[164]||(e[164]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"64000",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.internet_vectorization_chunk_size]]),te(g("input",{"onUpdate:modelValue":e[165]||(e[165]=T=>o.configFile.internet_vectorization_chunk_size=T),type:"number",onChange:e[166]||(e[166]=T=>i.settingsChanged=!0),class:"w-24 px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md text-sm"},null,544),[[Ne,o.configFile.internet_vectorization_chunk_size]])])]),g("div",AJn,[e[614]||(e[614]=g("label",{for:"internet_vectorization_overlap_size",class:"text-sm font-bold text-gray-900 dark:text-white"}," Internet vectorization overlap size ",-1)),g("div",wJn,[te(g("input",{id:"internet_vectorization_overlap_size","onUpdate:modelValue":e[167]||(e[167]=T=>o.configFile.internet_vectorization_overlap_size=T),onChange:e[168]||(e[168]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"1000",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.internet_vectorization_overlap_size]]),te(g("input",{"onUpdate:modelValue":e[169]||(e[169]=T=>o.configFile.internet_vectorization_overlap_size=T),type:"number",onChange:e[170]||(e[170]=T=>i.settingsChanged=!0),class:"w-24 px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md text-sm"},null,544),[[Ne,o.configFile.internet_vectorization_overlap_size]])])]),g("div",MJn,[e[615]||(e[615]=g("label",{for:"internet_vectorization_nb_chunks",class:"text-sm font-bold text-gray-900 dark:text-white"}," Internet vectorization number of chunks ",-1)),g("div",OJn,[te(g("input",{id:"internet_vectorization_nb_chunks","onUpdate:modelValue":e[171]||(e[171]=T=>o.configFile.internet_vectorization_nb_chunks=T),onChange:e[172]||(e[172]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"100",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.internet_vectorization_nb_chunks]]),te(g("input",{"onUpdate:modelValue":e[173]||(e[173]=T=>o.configFile.internet_vectorization_nb_chunks=T),type:"number",onChange:e[174]||(e[174]=T=>i.settingsChanged=!0),class:"w-24 px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md text-sm"},null,544),[[Ne,o.configFile.internet_vectorization_nb_chunks]])])]),g("div",RJn,[e[616]||(e[616]=g("label",{for:"internet_nb_search_pages",class:"text-sm font-bold text-gray-900 dark:text-white"}," Internet number of search pages ",-1)),g("div",NJn,[te(g("input",{id:"internet_nb_search_pages","onUpdate:modelValue":e[175]||(e[175]=T=>o.configFile.internet_nb_search_pages=T),onChange:e[176]||(e[176]=T=>i.settingsChanged=!0),type:"range",min:"1",max:"100",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-600"},null,544),[[Ne,o.configFile.internet_nb_search_pages]]),te(g("input",{"onUpdate:modelValue":e[177]||(e[177]=T=>o.configFile.internet_nb_search_pages=T),type:"number",onChange:e[178]||(e[178]=T=>i.settingsChanged=!0),class:"w-24 px-3 py-2 bg-white dark:bg-gray-600 border border-gray-300 dark:border-gray-500 rounded-md text-sm"},null,544),[[Ne,o.configFile.internet_nb_search_pages]])])])])])]),_:1})],2)]),g("div",DJn,[g("div",IJn,[g("button",{onClick:e[179]||(e[179]=ge(T=>i.servers_conf_collapsed=!i.servers_conf_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[617]||(e[617]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.servers_conf_collapsed]]),te(g("div",null,e[618]||(e[618]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.servers_conf_collapsed]]),e[619]||(e[619]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Services Zoo",-1))])]),g("div",{class:We([{hidden:i.servers_conf_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[ae(a,{title:"Default services selection",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",kJn,[g("div",PJn,[e[621]||(e[621]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_tts_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Text to speech engine"}," Active TTS Service ")],-1)),g("div",HJn,[te(g("select",{id:"active_tts_service",required:"","onUpdate:modelValue":e[180]||(e[180]=T=>o.configFile.active_tts_service=T),onChange:e[181]||(e[181]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[620]||(e[620]=[g("option",{value:"None"},"None",-1),g("option",{value:"browser"},"Use Browser TTS (doesn't work in realtime mode)",-1),g("option",{value:"xtts"},"XTTS",-1),g("option",{value:"parler-tts"},"Parler-TTS",-1),g("option",{value:"openai_tts"},"Open AI TTS",-1),g("option",{value:"eleven_labs_tts"},"ElevenLabs TTS",-1),g("option",{value:"fish_tts"},"Fish TTS",-1)]),544),[[hn,o.configFile.active_tts_service]])])]),g("div",VJn,[e[623]||(e[623]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_stt_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Speech to Text engine"}," Active STT Service ")],-1)),g("div",FJn,[te(g("select",{id:"active_stt_service",required:"","onUpdate:modelValue":e[182]||(e[182]=T=>o.configFile.active_stt_service=T),onChange:e[183]||(e[183]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[622]||(e[622]=[g("option",{value:"None"},"None",-1),g("option",{value:"whisper"},"Whisper",-1),g("option",{value:"openai_whisper"},"Open AI Whisper",-1)]),544),[[hn,o.configFile.active_stt_service]])])]),g("div",BJn,[e[625]||(e[625]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_tti_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Text to image engine"}," Active TTI Service ")],-1)),g("div",$Jn,[te(g("select",{id:"active_tti_service",required:"","onUpdate:modelValue":e[184]||(e[184]=T=>o.configFile.active_tti_service=T),onChange:e[185]||(e[185]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[624]||(e[624]=[g("option",{value:"None"},"None",-1),g("option",{value:"diffusers"},"Diffusers",-1),g("option",{value:"diffusers_client"},"Diffusers Client",-1),g("option",{value:"autosd"},"AUTO1111's SD",-1),g("option",{value:"dall-e"},"Open AI DALL-E",-1),g("option",{value:"midjourney"},"Midjourney",-1),g("option",{value:"comfyui"},"Comfyui",-1),g("option",{value:"fooocus"},"Fooocus",-1)]),544),[[hn,o.configFile.active_tti_service]])])]),g("div",UJn,[e[627]||(e[627]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_ttm_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Text to Music engine"}," Active TTM Service ")],-1)),g("div",GJn,[te(g("select",{id:"active_ttm_service",required:"","onUpdate:modelValue":e[186]||(e[186]=T=>o.configFile.active_ttm_service=T),onChange:e[187]||(e[187]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[626]||(e[626]=[g("option",{value:"None"},"None",-1),g("option",{value:"musicgen"},"Music Gen",-1)]),544),[[hn,o.configFile.active_ttm_service]])])]),g("div",qJn,[e[629]||(e[629]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"active_ttv_service",class:"block text-sm font-semibold text-gray-700 dark:text-gray-300",title:"Default Text to Video engine"}," Active TTV Service ")],-1)),g("div",zJn,[te(g("select",{id:"active_ttv_service",required:"","onUpdate:modelValue":e[188]||(e[188]=T=>o.configFile.active_ttv_service=T),onChange:e[189]||(e[189]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 rounded-lg border border-gray-300 bg-gray-50 focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-all duration-200"},e[628]||(e[628]=[g("option",{value:"None"},"None",-1),g("option",{value:"cog_video_x"},"Cog Video X",-1),g("option",{value:"diffusers"},"Diffusers",-1),g("option",{value:"lumalab"},"Lumalab",-1)]),544),[[hn,o.configFile.active_ttv_service]])])])])]),_:1}),ae(a,{title:"TTI settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",jJn,[g("div",WJn,[e[631]||(e[631]=g("div",{class:"w-1/3"},[g("label",{for:"use_negative_prompt",class:"text-sm font-semibold text-gray-700 dark:text-gray-200"}," Use negative prompt ")],-1)),g("div",YJn,[g("label",KJn,[te(g("input",{type:"checkbox",id:"use_negative_prompt","onUpdate:modelValue":e[190]||(e[190]=T=>o.configFile.use_negative_prompt=T),onChange:e[191]||(e[191]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.use_negative_prompt]]),e[630]||(e[630]=g("div",{class:"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",ZJn,[e[633]||(e[633]=g("div",{class:"w-1/3"},[g("label",{for:"use_ai_generated_negative_prompt",class:"text-sm font-semibold text-gray-700 dark:text-gray-200"}," Use AI generated negative prompt ")],-1)),g("div",XJn,[g("label",JJn,[te(g("input",{type:"checkbox",id:"use_ai_generated_negative_prompt","onUpdate:modelValue":e[192]||(e[192]=T=>o.configFile.use_ai_generated_negative_prompt=T),onChange:e[193]||(e[193]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.use_ai_generated_negative_prompt]]),e[632]||(e[632]=g("div",{class:"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",eer,[e[634]||(e[634]=g("div",{class:"w-1/3"},[g("label",{for:"negative_prompt_generation_prompt",class:"text-sm font-semibold text-gray-700 dark:text-gray-200"}," Negative prompt generation prompt ")],-1)),g("div",ter,[te(g("input",{type:"text",id:"negative_prompt_generation_prompt","onUpdate:modelValue":e[194]||(e[194]=T=>o.configFile.negative_prompt_generation_prompt=T),onChange:e[195]||(e[195]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-colors duration-200 text-sm text-gray-900 dark:text-white placeholder-gray-400",required:""},null,544),[[Ne,o.configFile.negative_prompt_generation_prompt]])])]),g("div",ner,[e[635]||(e[635]=g("div",{class:"w-1/3"},[g("label",{for:"default_negative_prompt",class:"text-sm font-semibold text-gray-700 dark:text-gray-200"}," Default negative prompt ")],-1)),g("div",rer,[te(g("input",{type:"text",id:"default_negative_prompt","onUpdate:modelValue":e[196]||(e[196]=T=>o.configFile.default_negative_prompt=T),onChange:e[197]||(e[197]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2 bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-colors duration-200 text-sm text-gray-900 dark:text-white placeholder-gray-400",required:""},null,544),[[Ne,o.configFile.default_negative_prompt]])])])])]),_:1}),ae(a,{title:"Full Audio settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",ier,[g("div",oer,[e[636]||(e[636]=g("div",{class:"flex items-center"},[g("label",{for:"stt_listening_threshold",class:"font-medium text-gray-700 dark:text-gray-200",title:"Listening threshold"}," Listening threshold "),g("span",{class:"ml-1 text-gray-400 hover:text-gray-600 cursor-help",title:"Controls the sensitivity of voice detection"},[g("i",{class:"fas fa-info-circle"})])],-1)),te(g("input",{type:"number",step:"1",id:"stt_listening_threshold",required:"","onUpdate:modelValue":e[198]||(e[198]=T=>o.configFile.stt_listening_threshold=T),onChange:e[199]||(e[199]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.stt_listening_threshold]])]),g("div",ser,[e[637]||(e[637]=g("div",{class:"flex items-center"},[g("label",{for:"stt_silence_duration",class:"font-medium text-gray-700 dark:text-gray-200"}," Silence duration (s) "),g("span",{class:"ml-1 text-gray-400 hover:text-gray-600 cursor-help",title:"Duration of silence before stopping recording"},[g("i",{class:"fas fa-info-circle"})])],-1)),te(g("input",{type:"number",step:"1",id:"stt_silence_duration",required:"","onUpdate:modelValue":e[200]||(e[200]=T=>o.configFile.stt_silence_duration=T),onChange:e[201]||(e[201]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.stt_silence_duration]])]),g("div",aer,[e[638]||(e[638]=g("div",{class:"flex items-center"},[g("label",{for:"stt_sound_threshold_percentage",class:"font-medium text-gray-700 dark:text-gray-200"}," Minimum sound percentage "),g("span",{class:"ml-1 text-gray-400 hover:text-gray-600 cursor-help",title:"Minimum required sound percentage in recorded segment"},[g("i",{class:"fas fa-info-circle"})])],-1)),te(g("input",{type:"number",step:"1",id:"stt_sound_threshold_percentage",required:"","onUpdate:modelValue":e[202]||(e[202]=T=>o.configFile.stt_sound_threshold_percentage=T),onChange:e[203]||(e[203]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.stt_sound_threshold_percentage]])]),g("div",ler,[e[639]||(e[639]=g("div",{class:"flex items-center"},[g("label",{for:"stt_gain",class:"font-medium text-gray-700 dark:text-gray-200"}," Volume amplification "),g("span",{class:"ml-1 text-gray-400 hover:text-gray-600 cursor-help",title:"Audio input gain adjustment"},[g("i",{class:"fas fa-info-circle"})])],-1)),te(g("input",{type:"number",step:"1",id:"stt_gain",required:"","onUpdate:modelValue":e[204]||(e[204]=T=>o.configFile.stt_gain=T),onChange:e[205]||(e[205]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-gray-50 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.stt_gain]])]),g("div",cer,[e[643]||(e[643]=g("h3",{class:"font-semibold text-gray-900 dark:text-white mb-4"},"Audio Settings",-1)),g("div",uer,[e[640]||(e[640]=g("label",{for:"stt_rate",class:"font-medium text-gray-700 dark:text-gray-200"},"Audio rate",-1)),te(g("input",{type:"number",step:"1",id:"stt_rate",required:"","onUpdate:modelValue":e[206]||(e[206]=T=>o.configFile.stt_rate=T),onChange:e[207]||(e[207]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-white border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.stt_rate]])]),g("div",der,[e[641]||(e[641]=g("label",{for:"stt_channels",class:"font-medium text-gray-700 dark:text-gray-200"},"Number of channels",-1)),te(g("input",{type:"number",step:"1",id:"stt_channels",required:"","onUpdate:modelValue":e[208]||(e[208]=T=>o.configFile.stt_channels=T),onChange:e[209]||(e[209]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-white border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.stt_channels]])]),g("div",fer,[e[642]||(e[642]=g("label",{for:"stt_buffer_size",class:"font-medium text-gray-700 dark:text-gray-200"},"Buffer size",-1)),te(g("input",{type:"number",step:"1",id:"stt_buffer_size",required:"","onUpdate:modelValue":e[210]||(e[210]=T=>o.configFile.stt_buffer_size=T),onChange:e[211]||(e[211]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-white border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.stt_buffer_size]])])]),g("div",per,[e[647]||(e[647]=g("h3",{class:"font-semibold text-gray-900 dark:text-white mb-4"},"Word Detection",-1)),g("div",her,[e[645]||(e[645]=g("label",{for:"stt_activate_word_detection",class:"font-medium text-gray-700 dark:text-gray-200"}," Activate word detection ",-1)),g("div",Ter,[g("label",mer,[te(g("input",{type:"checkbox",id:"stt_activate_word_detection","onUpdate:modelValue":e[212]||(e[212]=T=>o.configFile.stt_activate_word_detection=T),onChange:e[213]||(e[213]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.stt_activate_word_detection]]),e[644]||(e[644]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])])]),g("div",ger,[e[646]||(e[646]=g("label",{for:"stt_word_detection_file",class:"font-medium text-gray-700 dark:text-gray-200"}," Word detection wav file ",-1)),te(g("input",{type:"text",id:"stt_word_detection_file",required:"","onUpdate:modelValue":e[214]||(e[214]=T=>o.configFile.stt_word_detection_file=T),onChange:e[215]||(e[215]=T=>i.settingsChanged=!0),class:"px-4 py-2 bg-white border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-600 dark:border-gray-500 dark:text-white"},null,544),[[Ne,o.configFile.stt_word_detection_file]])])])])]),_:1}),ae(a,{title:"Audio devices settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",_er,[g("div",Qer,[e[648]||(e[648]=g("div",{class:"md:w-1/3"},[g("label",{for:"stt_input_device",class:"block text-sm font-semibold text-gray-700 dark:text-gray-200",title:"Input device"}," Audio Input Device "),g("p",{class:"text-xs text-gray-500 dark:text-gray-400 mt-1"}," Select your microphone or audio input source ")],-1)),g("div",ver,[te(g("select",{id:"stt_input_device",required:"","onUpdate:modelValue":e[216]||(e[216]=T=>o.configFile.stt_input_device=T),onChange:e[217]||(e[217]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 bg-gray-50 border border-gray-300 rounded-md shadow-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-colors duration-200"},[(k(!0),P(ze,null,lt(i.snd_input_devices,(T,Q)=>(k(),P("option",{key:T,value:i.snd_input_devices_indexes[Q]},ue(T),9,yer))),128))],544),[[hn,o.configFile.stt_input_device]])])]),g("div",ber,[e[649]||(e[649]=g("div",{class:"md:w-1/3"},[g("label",{for:"tts_output_device",class:"block text-sm font-semibold text-gray-700 dark:text-gray-200",title:"Output device"}," Audio Output Device "),g("p",{class:"text-xs text-gray-500 dark:text-gray-400 mt-1"}," Select your speakers or audio output device ")],-1)),g("div",Eer,[te(g("select",{id:"tts_output_device",required:"","onUpdate:modelValue":e[218]||(e[218]=T=>o.configFile.tts_output_device=T),onChange:e[219]||(e[219]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 bg-gray-50 border border-gray-300 rounded-md shadow-sm focus:border-blue-500 focus:ring-1 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white transition-colors duration-200"},[(k(!0),P(ze,null,lt(i.snd_output_devices,(T,Q)=>(k(),P("option",{key:T,value:i.snd_output_devices_indexes[Q]},ue(T),9,xer))),128))],544),[[hn,o.configFile.tts_output_device]])])])])]),_:1}),ae(a,{title:"Lollms service",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",Ser,[g("div",Ler,[e[650]||(e[650]=g("label",{for:"host",class:"font-semibold text-gray-700 dark:text-gray-200"},"Host:",-1)),te(g("input",{type:"text",id:"host",required:"","onUpdate:modelValue":e[220]||(e[220]=T=>o.configFile.host=T),onChange:e[221]||(e[221]=T=>i.settingsChanged=!0),class:"input-field"},null,544),[[Ne,o.configFile.host]])]),g("div",Cer,[e[651]||(e[651]=g("label",{for:"lollms_access_keys",class:"font-semibold text-gray-700 dark:text-gray-200"},"Access keys:",-1)),ae(l,{modelValue:o.configFile.lollms_access_keys,"onUpdate:modelValue":e[222]||(e[222]=T=>o.configFile.lollms_access_keys=T),onChange:e[223]||(e[223]=T=>i.settingsChanged=!0),placeholder:"Enter access key"},null,8,["modelValue"])]),g("div",Aer,[e[652]||(e[652]=g("label",{for:"port",class:"font-semibold text-gray-700 dark:text-gray-200"},"Port:",-1)),te(g("input",{type:"number",step:"1",id:"port",required:"","onUpdate:modelValue":e[224]||(e[224]=T=>o.configFile.port=T),onChange:e[225]||(e[225]=T=>i.settingsChanged=!0),class:"input-field"},null,544),[[Ne,o.configFile.port]])]),g("div",wer,[e[655]||(e[655]=g("span",{class:"font-semibold text-gray-700 dark:text-gray-200"},"Server Configuration:",-1)),g("div",Mer,[g("label",Oer,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[226]||(e[226]=T=>o.configFile.headless_server_mode=T),onChange:e[227]||(e[227]=T=>i.settingsChanged=!0),class:"w-4 h-4 rounded accent-blue-500"},null,544),[[at,o.configFile.headless_server_mode]]),e[653]||(e[653]=g("span",{class:"text-sm text-gray-600 dark:text-gray-300"},"Headless Server Mode",-1))]),g("label",Rer,[te(g("input",{type:"checkbox","onUpdate:modelValue":e[228]||(e[228]=T=>o.configFile.activate_lollms_server=T),onChange:e[229]||(e[229]=T=>i.settingsChanged=!0),class:"w-4 h-4 rounded accent-blue-500"},null,544),[[at,o.configFile.activate_lollms_server]]),e[654]||(e[654]=g("span",{class:"text-sm text-gray-600 dark:text-gray-300"},"LoLLMS Server",-1))]),g("div",Ner,[(k(),P(ze,null,lt(["rag","tts","stt","tti","itt","ttm"],T=>g("label",{key:T,class:"flex items-center space-x-2 cursor-pointer"},[te(g("input",{type:"checkbox",id:`activate_lollms_${T}_server`,"onUpdate:modelValue":Q=>o.configFile[`activate_lollms_${T}_server`]=Q,onChange:e[230]||(e[230]=Q=>i.settingsChanged=!0),class:"w-4 h-4 rounded accent-blue-500"},null,40,Der),[[at,o.configFile[`activate_lollms_${T}_server`]]]),g("span",Ier,ue(T.toUpperCase())+" Server",1)])),64))])])]),g("div",ker,[e[656]||(e[656]=g("span",{class:"font-semibold text-gray-700 dark:text-gray-200"},"Emulators:",-1)),g("div",Per,[(k(),P(ze,null,lt(["ollama","openai","mistralai"],T=>g("label",{key:T,class:"flex items-center space-x-2 cursor-pointer"},[te(g("input",{type:"checkbox",id:`activate_${T}_emulator`,"onUpdate:modelValue":Q=>o.configFile[`activate_${T}_emulator`]=Q,onChange:e[231]||(e[231]=Q=>i.settingsChanged=!0),class:"w-4 h-4 rounded accent-blue-500"},null,40,Her),[[at,o.configFile[`activate_${T}_emulator`]]]),g("span",Ver,ue(T.charAt(0).toUpperCase()+T.slice(1))+" Emulator",1)])),64))])])])]),_:1}),ae(a,{title:"STT services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Browser Audio STT",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",Fer,[g("div",Ber,[e[658]||(e[658]=g("label",{for:"activate_audio_infos",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Activate audio infos ",-1)),g("label",$er,[te(g("input",{type:"checkbox",id:"activate_audio_infos","onUpdate:modelValue":e[232]||(e[232]=T=>o.configFile.activate_audio_infos=T),onChange:e[233]||(e[233]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.activate_audio_infos]]),e[657]||(e[657]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",Uer,[e[660]||(e[660]=g("label",{for:"audio_auto_send_input",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Send audio input automatically ",-1)),g("label",Ger,[te(g("input",{type:"checkbox",id:"audio_auto_send_input","onUpdate:modelValue":e[234]||(e[234]=T=>o.configFile.audio_auto_send_input=T),onChange:e[235]||(e[235]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.audio_auto_send_input]]),e[659]||(e[659]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",qer,[g("label",zer," Audio silence timer (ms): "+ue(o.configFile.audio_silenceTimer)+"ms ",1),g("div",jer,[te(g("input",{id:"audio_silenceTimer","onUpdate:modelValue":e[236]||(e[236]=T=>o.configFile.audio_silenceTimer=T),onChange:e[237]||(e[237]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"10000",step:"1",class:"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 accent-blue-600"},null,544),[[Ne,o.configFile.audio_silenceTimer]]),te(g("input",{"onUpdate:modelValue":e[238]||(e[238]=T=>o.configFile.audio_silenceTimer=T),onChange:e[239]||(e[239]=T=>i.settingsChanged=!0),type:"number",class:"w-full px-3 py-2 bg-gray-50 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,544),[[Ne,o.configFile.audio_silenceTimer]])])]),g("div",Wer,[e[661]||(e[661]=g("label",{for:"audio_in_language",class:"text-sm font-medium text-gray-700 dark:text-gray-200"}," Input Audio Language ",-1)),te(g("select",{id:"audio_in_language","onUpdate:modelValue":e[240]||(e[240]=T=>o.configFile.audio_in_language=T),onChange:e[241]||(e[241]=T=>i.settingsChanged=!0),class:"w-full px-3 py-2 bg-gray-50 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},[(k(!0),P(ze,null,lt(o.audioLanguages,T=>(k(),P("option",{key:T.code,value:T.code},ue(T.name),9,Yer))),128))],544),[[hn,o.configFile.audio_in_language]])])])]),_:1}),ae(a,{title:"Whisper audio transcription",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",Ker,[g("div",Zer,[e[663]||(e[663]=g("label",{for:"whisper_activate",class:"text-gray-700 dark:text-gray-200 font-medium"}," Activate Whisper at startup ",-1)),g("label",Xer,[te(g("input",{type:"checkbox",id:"whisper_activate","onUpdate:modelValue":e[242]||(e[242]=T=>o.configFile.whisper_activate=T),onChange:e[243]||(e[243]=T=>i.settingsChanged=!0),class:"sr-only peer"},null,544),[[at,o.configFile.whisper_activate]]),e[662]||(e[662]=g("div",{class:"w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"},null,-1))])]),g("div",Jer,[g("button",{onClick:e[244]||(e[244]=(...T)=>o.reinstallWhisperService&&o.reinstallWhisperService(...T)),class:"w-full py-3 px-4 bg-gradient-to-r from-green-400 to-green-500 hover:from-green-500 hover:to-green-600 text-white font-medium rounded-lg shadow-md hover:shadow-lg transition-all duration-300 flex items-center justify-center space-x-2"},e[664]||(e[664]=[g("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1),g("span",null,"Install Whisper",-1)]))]),g("div",etr,[e[666]||(e[666]=g("label",{for:"whisper_model",class:"block text-sm font-medium text-gray-700 dark:text-gray-200 mb-2"}," Whisper Model ",-1)),g("div",ttr,[te(g("select",{id:"whisper_model","onUpdate:modelValue":e[245]||(e[245]=T=>o.configFile.whisper_model=T),onChange:e[246]||(e[246]=T=>i.settingsChanged=!0),class:"block w-full px-4 py-3 text-base border border-gray-300 dark:border-gray-600 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:text-white appearance-none"},[(k(!0),P(ze,null,lt(o.whisperModels,T=>(k(),P("option",{key:T,value:T},ue(T),9,ntr))),128))],544),[[hn,o.configFile.whisper_model]]),e[665]||(e[665]=g("div",{class:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700 dark:text-gray-300"},[g("svg",{class:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})])],-1))])])])]),_:1}),ae(a,{title:"Open AI Whisper audio transcription",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",rtr,[g("tr",null,[e[667]||(e[667]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_whisper_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai whisper key:")],-1)),g("td",null,[g("div",itr,[te(g("input",{type:"text",id:"openai_whisper_key",required:"","onUpdate:modelValue":e[247]||(e[247]=T=>o.configFile.openai_whisper_key=T),onChange:e[248]||(e[248]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.openai_whisper_key]])])])]),g("tr",null,[e[668]||(e[668]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_whisper_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open Ai Whisper model:")],-1)),g("td",null,[g("div",otr,[te(g("select",{id:"openai_whisper_model","onUpdate:modelValue":e[249]||(e[249]=T=>o.configFile.openai_whisper_model=T),onChange:e[250]||(e[250]=T=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),P(ze,null,lt(o.openaiWhisperModels,T=>(k(),P("option",{key:T,value:T},ue(T),9,str))),128))],544),[[hn,o.configFile.openai_whisper_model]])])])])])]),_:1})]),_:1}),ae(a,{title:"TTS services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Browser Audio TTS",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",atr,[g("tr",null,[e[669]||(e[669]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"auto_speak",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto speak:")],-1)),g("td",null,[g("div",ltr,[te(g("input",{type:"checkbox",id:"auto_speak",required:"","onUpdate:modelValue":e[251]||(e[251]=T=>o.configFile.auto_speak=T),onChange:e[252]||(e[252]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.auto_speak]])])])]),g("tr",null,[e[670]||(e[670]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"audio_pitch",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"audio pitch:")],-1)),g("td",null,[te(g("input",{id:"audio_pitch","onUpdate:modelValue":e[253]||(e[253]=T=>o.configFile.audio_pitch=T),onChange:e[254]||(e[254]=T=>i.settingsChanged=!0),type:"range",min:"0",max:"10",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.audio_pitch]]),te(g("input",{"onUpdate:modelValue":e[255]||(e[255]=T=>o.configFile.audio_pitch=T),onChange:e[256]||(e[256]=T=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.audio_pitch]])])]),g("tr",null,[e[671]||(e[671]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"audio_out_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Output Audio Voice:")],-1)),g("td",null,[te(g("select",{id:"audio_out_voice","onUpdate:modelValue":e[257]||(e[257]=T=>o.configFile.audio_out_voice=T),onChange:e[258]||(e[258]=T=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),P(ze,null,lt(i.audioVoices,T=>(k(),P("option",{key:T.name,value:T.name},ue(T.name),9,ctr))),128))],544),[[hn,o.configFile.audio_out_voice]])])])])]),_:1}),ae(a,{title:"XTTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",utr,[g("tr",null,[e[672]||(e[672]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current language:")],-1)),g("td",null,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[259]||(e[259]=(...T)=>o.reinstallXTTSService&&o.reinstallXTTSService(...T))},"install xtts service")])]),g("tr",null,[e[673]||(e[673]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_current_language",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current language:")],-1)),g("td",null,[g("div",dtr,[te(g("select",{"onUpdate:modelValue":e[260]||(e[260]=T=>o.xtts_current_language=T),onChange:e[261]||(e[261]=T=>i.settingsChanged=!0)},[(k(!0),P(ze,null,lt(i.voice_languages,(T,Q)=>(k(),P("option",{key:Q,value:T},ue(Q),9,ftr))),128))],544),[[hn,o.xtts_current_language]])])])]),g("tr",null,[e[674]||(e[674]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_current_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Current voice:")],-1)),g("td",null,[g("div",ptr,[te(g("select",{"onUpdate:modelValue":e[262]||(e[262]=T=>o.xtts_current_voice=T),onChange:e[263]||(e[263]=T=>i.settingsChanged=!0)},[(k(!0),P(ze,null,lt(i.voices,T=>(k(),P("option",{key:T,value:T},ue(T),9,htr))),128))],544),[[hn,o.xtts_current_voice]])])])]),g("tr",null,[e[675]||(e[675]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_freq",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Frequency (controls the tone):")],-1)),g("td",null,[g("div",Ttr,[te(g("input",{type:"number",id:"xtts_freq",required:"","onUpdate:modelValue":e[264]||(e[264]=T=>o.configFile.xtts_freq=T),onChange:e[265]||(e[265]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.01"},null,544),[[Ne,o.configFile.xtts_freq,void 0,{number:!0}]])])])]),g("tr",null,[e[676]||(e[676]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"auto_read",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable auto read:")],-1)),g("td",null,[g("div",mtr,[te(g("input",{type:"checkbox",id:"auto_read",required:"","onUpdate:modelValue":e[266]||(e[266]=T=>o.configFile.auto_read=T),onChange:e[267]||(e[267]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.auto_read]])])])]),g("tr",null,[e[677]||(e[677]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_stream_chunk_size",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"xtts stream chunk size:")],-1)),g("td",null,[g("div",gtr,[te(g("input",{type:"text",id:"xtts_stream_chunk_size",required:"","onUpdate:modelValue":e[268]||(e[268]=T=>o.configFile.xtts_stream_chunk_size=T),onChange:e[269]||(e[269]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.xtts_stream_chunk_size]])])])]),g("tr",null,[e[678]||(e[678]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_temperature",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Temperature:")],-1)),g("td",null,[g("div",_tr,[te(g("input",{type:"number",id:"xtts_temperature",required:"","onUpdate:modelValue":e[270]||(e[270]=T=>o.configFile.xtts_temperature=T),onChange:e[271]||(e[271]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.01"},null,544),[[Ne,o.configFile.xtts_temperature,void 0,{number:!0}]])])])]),g("tr",null,[e[679]||(e[679]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_length_penalty",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Length Penalty:")],-1)),g("td",null,[g("div",Qtr,[te(g("input",{type:"number",id:"xtts_length_penalty",required:"","onUpdate:modelValue":e[272]||(e[272]=T=>o.configFile.xtts_length_penalty=T),onChange:e[273]||(e[273]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[Ne,o.configFile.xtts_length_penalty,void 0,{number:!0}]])])])]),g("tr",null,[e[680]||(e[680]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_repetition_penalty",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Repetition Penalty:")],-1)),g("td",null,[g("div",vtr,[te(g("input",{type:"number",id:"xtts_repetition_penalty",required:"","onUpdate:modelValue":e[274]||(e[274]=T=>o.configFile.xtts_repetition_penalty=T),onChange:e[275]||(e[275]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[Ne,o.configFile.xtts_repetition_penalty,void 0,{number:!0}]])])])]),g("tr",null,[e[681]||(e[681]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_top_k",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Top K:")],-1)),g("td",null,[g("div",ytr,[te(g("input",{type:"number",id:"xtts_top_k",required:"","onUpdate:modelValue":e[276]||(e[276]=T=>o.configFile.xtts_top_k=T),onChange:e[277]||(e[277]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.xtts_top_k,void 0,{number:!0}]])])])]),g("tr",null,[e[682]||(e[682]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_top_p",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Top P:")],-1)),g("td",null,[g("div",btr,[te(g("input",{type:"number",id:"xtts_top_p",required:"","onUpdate:modelValue":e[278]||(e[278]=T=>o.configFile.xtts_top_p=T),onChange:e[279]||(e[279]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.xtts_top_p,void 0,{number:!0}]])])])]),g("tr",null,[e[683]||(e[683]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"xtts_speed",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Speed:")],-1)),g("td",null,[g("div",Etr,[te(g("input",{type:"number",id:"xtts_speed",required:"","onUpdate:modelValue":e[280]||(e[280]=T=>o.configFile.xtts_speed=T),onChange:e[281]||(e[281]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1"},null,544),[[Ne,o.configFile.xtts_speed,void 0,{number:!0}]])])])]),g("tr",null,[e[684]||(e[684]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_text_splitting",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable Text Splitting:")],-1)),g("td",null,[g("div",xtr,[te(g("input",{type:"checkbox",id:"enable_text_splitting","onUpdate:modelValue":e[282]||(e[282]=T=>o.configFile.enable_text_splitting=T),onChange:e[283]||(e[283]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_text_splitting]])])])])])]),_:1}),ae(a,{title:"Open AI TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Str,[g("tr",null,[e[685]||(e[685]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Open AI key:")],-1)),g("td",null,[g("div",Ltr,[te(g("input",{type:"text",id:"openai_tts_key",required:"","onUpdate:modelValue":e[284]||(e[284]=T=>o.configFile.openai_tts_key=T),onChange:e[285]||(e[285]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.openai_tts_key]])])])]),g("tr",null,[e[687]||(e[687]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_tts_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai tts model:")],-1)),g("td",null,[g("div",Ctr,[te(g("select",{"onUpdate:modelValue":e[286]||(e[286]=T=>o.configFile.openai_tts_model=T),onChange:e[287]||(e[287]=T=>i.settingsChanged=!0)},e[686]||(e[686]=[g("option",null," tts-1 ",-1),g("option",null," tts-2 ",-1)]),544),[[hn,o.configFile.openai_tts_model]])])])]),g("tr",null,[e[689]||(e[689]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"openai_tts_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"openai tts voice:")],-1)),g("td",null,[g("div",Atr,[te(g("select",{"onUpdate:modelValue":e[288]||(e[288]=T=>o.configFile.openai_tts_voice=T),onChange:e[289]||(e[289]=T=>i.settingsChanged=!0)},e[688]||(e[688]=[g("option",null," alloy ",-1),g("option",null," echo ",-1),g("option",null," fable ",-1),g("option",null," nova ",-1),g("option",null," shimmer ",-1)]),544),[[hn,o.configFile.openai_tts_voice]])])])])])]),_:1}),ae(a,{title:"Eleven Labs TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",wtr,[g("tr",null,[e[690]||(e[690]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Eleven Labs key:")],-1)),g("td",null,[g("div",Mtr,[te(g("input",{type:"text",id:"elevenlabs_tts_key",required:"","onUpdate:modelValue":e[290]||(e[290]=T=>o.configFile.elevenlabs_tts_key=T),onChange:e[291]||(e[291]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.elevenlabs_tts_key]])])])]),g("tr",null,[e[691]||(e[691]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_model_id",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Eleven Labs TTS model ID:")],-1)),g("td",null,[g("div",Otr,[te(g("input",{type:"text",id:"elevenlabs_tts_model_id",required:"","onUpdate:modelValue":e[292]||(e[292]=T=>o.configFile.elevenlabs_tts_model_id=T),onChange:e[293]||(e[293]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.elevenlabs_tts_model_id]])])])]),g("tr",null,[e[692]||(e[692]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_voice_stability",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice Stability:")],-1)),g("td",null,[g("div",Rtr,[te(g("input",{type:"number",id:"elevenlabs_tts_voice_stability",required:"","onUpdate:modelValue":e[294]||(e[294]=T=>o.configFile.elevenlabs_tts_voice_stability=T),onChange:e[295]||(e[295]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1",min:"0",max:"1"},null,544),[[Ne,o.configFile.elevenlabs_tts_voice_stability]])])])]),g("tr",null,[e[693]||(e[693]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_voice_boost",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice Boost:")],-1)),g("td",null,[g("div",Ntr,[te(g("input",{type:"number",id:"elevenlabs_tts_voice_boost",required:"","onUpdate:modelValue":e[296]||(e[296]=T=>o.configFile.elevenlabs_tts_voice_boost=T),onChange:e[297]||(e[297]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600",step:"0.1",min:"0",max:"1"},null,544),[[Ne,o.configFile.elevenlabs_tts_voice_boost]])])])]),g("tr",null,[e[694]||(e[694]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elevenlabs_tts_voice_id",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Voice ID:")],-1)),g("td",null,[g("div",Dtr,[te(g("select",{"onUpdate:modelValue":e[298]||(e[298]=T=>o.configFile.elevenlabs_tts_voice_id=T),onChange:e[299]||(e[299]=T=>i.settingsChanged=!0)},[(k(!0),P(ze,null,lt(i.voices,T=>(k(),P("option",{key:T.voice_id,value:T.voice_id},ue(T.name),9,Itr))),128))],544),[[hn,o.configFile.elevenlabs_tts_voice_id]])])])])])]),_:1}),ae(a,{title:"Fish TTS service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",ktr,[g("tr",null,[e[695]||(e[695]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"fish_tts_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fish TTS key:")],-1)),g("td",null,[g("div",Ptr,[te(g("input",{type:"text",id:"fish_tts_key",required:"","onUpdate:modelValue":e[300]||(e[300]=T=>o.configFile.fish_tts_key=T),onChange:e[301]||(e[301]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.fish_tts_key]])])])]),g("tr",null,[e[696]||(e[696]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"fish_tts_voice",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Fish TTS voice:")],-1)),g("td",null,[g("div",Htr,[te(g("input",{type:"text",id:"fish_tts_voice",required:"","onUpdate:modelValue":e[302]||(e[302]=T=>o.configFile.fish_tts_voice=T),onChange:e[303]||(e[303]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.fish_tts_voice]])])])])])]),_:1})]),_:1}),ae(a,{title:"TTI services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Stable diffusion service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Vtr,[g("tr",null,[e[698]||(e[698]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_sd_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable sd service:")],-1)),g("td",null,[g("div",Ftr,[te(g("input",{type:"checkbox",id:"enable_sd_service",required:"","onUpdate:modelValue":e[304]||(e[304]=T=>o.configFile.enable_sd_service=T),onChange:e[305]||(e[305]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_sd_service]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[306]||(e[306]=T=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},e[697]||(e[697]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[700]||(e[700]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"install_sd_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install SD service:")],-1)),g("td",null,[g("div",Btr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[307]||(e[307]=(...T)=>o.reinstallSDService&&o.reinstallSDService(...T))},"install sd service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[308]||(e[308]=(...T)=>o.upgradeSDService&&o.upgradeSDService(...T))},"upgrade sd service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[309]||(e[309]=(...T)=>o.startSDService&&o.startSDService(...T))},"start sd service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[310]||(e[310]=(...T)=>o.showSD&&o.showSD(...T))},"show sd ui"),e[699]||(e[699]=g("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/ParisNeo/stable-diffusion-webui/blob/master/LICENSE.txt",target:"_blank"},"automatic1111's sd licence",-1))])]),g("td",null,[g("div",$tr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[311]||(e[311]=(...T)=>o.reinstallSDService&&o.reinstallSDService(...T))},"install sd service")])])]),g("tr",null,[e[701]||(e[701]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"sd_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"sd base url:")],-1)),g("td",null,[g("div",Utr,[te(g("input",{type:"text",id:"sd_base_url",required:"","onUpdate:modelValue":e[312]||(e[312]=T=>o.configFile.sd_base_url=T),onChange:e[313]||(e[313]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.sd_base_url]])])])])])]),_:1}),ae(a,{title:"Diffusers service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Gtr,[g("tr",null,[e[703]||(e[703]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"install_diffusers_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Diffusers service:")],-1)),g("td",null,[g("div",qtr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[314]||(e[314]=(...T)=>o.reinstallDiffusersService&&o.reinstallDiffusersService(...T))},"install diffusers service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[315]||(e[315]=(...T)=>o.upgradeDiffusersService&&o.upgradeDiffusersService(...T))},"upgrade diffusers service"),e[702]||(e[702]=g("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/huggingface/diffusers?tab=Apache-2.0-1-ov-file#readme",target:"_blank"},"Diffusers licence",-1))])])]),g("tr",null,[e[704]||(e[704]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"diffusers_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Diffusers model:")],-1)),g("td",null,[g("div",ztr,[te(g("input",{type:"text",id:"diffusers_model",required:"","onUpdate:modelValue":e[316]||(e[316]=T=>o.configFile.diffusers_model=T),onChange:e[317]||(e[317]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.diffusers_model]])])]),e[705]||(e[705]=g("td",null,null,-1))])])]),_:1}),ae(a,{title:"Diffusers client service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",jtr,[g("tr",null,[e[706]||(e[706]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"diffusers_client_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Diffusers client base url:")],-1)),g("td",null,[g("div",Wtr,[te(g("input",{type:"text",id:"diffusers_client_base_url",required:"","onUpdate:modelValue":e[318]||(e[318]=T=>o.configFile.diffusers_client_base_url=T),onChange:e[319]||(e[319]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.diffusers_client_base_url]])])]),e[707]||(e[707]=g("td",null,null,-1))])])]),_:1}),ae(a,{title:"Midjourney",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Ytr,[g("tr",null,[e[708]||(e[708]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"midjourney_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"midjourney key:")],-1)),g("td",null,[g("div",Ktr,[te(g("input",{type:"text",id:"midjourney_key",required:"","onUpdate:modelValue":e[320]||(e[320]=T=>o.configFile.midjourney_key=T),onChange:e[321]||(e[321]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.midjourney_key]])])])]),g("tr",null,[e[709]||(e[709]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"midjourney_timeout",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"request timeout(s):")],-1)),g("td",null,[g("div",Ztr,[te(g("input",{type:"number",min:"10",max:"2048",id:"midjourney_timeout",required:"","onUpdate:modelValue":e[322]||(e[322]=T=>o.configFile.midjourney_timeout=T),onChange:e[323]||(e[323]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.midjourney_timeout]])])])]),g("tr",null,[e[710]||(e[710]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"midjourney_retries",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"number of retries:")],-1)),g("td",null,[g("div",Xtr,[te(g("input",{type:"number",min:"0",max:"2048",id:"midjourney_retries",required:"","onUpdate:modelValue":e[324]||(e[324]=T=>o.configFile.midjourney_retries=T),onChange:e[325]||(e[325]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.midjourney_retries]])])])])])]),_:1}),ae(a,{title:"Dall-E",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Jtr,[g("tr",null,[e[711]||(e[711]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"dall_e_key",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"dall e key:")],-1)),g("td",null,[g("div",enr,[te(g("input",{type:"text",id:"dall_e_key",required:"","onUpdate:modelValue":e[326]||(e[326]=T=>o.configFile.dall_e_key=T),onChange:e[327]||(e[327]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.dall_e_key]])])])]),g("tr",null,[e[713]||(e[713]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"dall_e_generation_engine",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"dall e generation engine:")],-1)),g("td",null,[g("div",tnr,[te(g("select",{"onUpdate:modelValue":e[328]||(e[328]=T=>o.configFile.dall_e_generation_engine=T),onChange:e[329]||(e[329]=T=>i.settingsChanged=!0)},e[712]||(e[712]=[g("option",null," dall-e-2 ",-1),g("option",null," dall-e-3 ",-1)]),544),[[hn,o.configFile.dall_e_generation_engine]])])])])])]),_:1}),ae(a,{title:"ComfyUI service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",nnr,[g("tr",null,[e[715]||(e[715]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_comfyui_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable comfyui service:")],-1)),g("td",null,[g("div",rnr,[te(g("input",{type:"checkbox",id:"enable_comfyui_service",required:"","onUpdate:modelValue":e[330]||(e[330]=T=>o.configFile.enable_comfyui_service=T),onChange:e[331]||(e[331]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_comfyui_service]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[332]||(e[332]=T=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},e[714]||(e[714]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[716]||(e[716]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"comfyui_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Available models (only if local):")],-1)),g("td",null,[g("div",inr,[te(g("select",{id:"comfyui_model",required:"","onUpdate:modelValue":e[333]||(e[333]=T=>o.configFile.comfyui_model=T),onChange:e[334]||(e[334]=T=>i.settingsChanged=!0),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},[(k(!0),P(ze,null,lt(i.comfyui_models,(T,Q)=>(k(),P("option",{key:T,value:T},ue(T),9,onr))),128))],544),[[hn,o.configFile.comfyui_model]])])])]),g("tr",null,[e[718]||(e[718]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"comfyui_model",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable comfyui model:")],-1)),g("td",null,[g("div",snr,[te(g("input",{type:"text",id:"comfyui_model",required:"","onUpdate:modelValue":e[335]||(e[335]=T=>o.configFile.comfyui_model=T),onChange:e[336]||(e[336]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.comfyui_model]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[337]||(e[337]=T=>this.$store.state.messageBox.showMessage("Activates Stable diffusion service. The service will be automatically loaded at startup alowing you to use the stable diffusion endpoint to generate images"))},e[717]||(e[717]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[720]||(e[720]=g("td",{style:{"min-width":"200px"}},null,-1)),g("td",null,[g("div",anr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[338]||(e[338]=(...T)=>o.reinstallComfyUIService&&o.reinstallComfyUIService(...T))},"install comfyui service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[339]||(e[339]=(...T)=>o.upgradeComfyUIService&&o.upgradeComfyUIService(...T))},"upgrade comfyui service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[340]||(e[340]=(...T)=>o.startComfyUIService&&o.startComfyUIService(...T))},"start comfyui service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[341]||(e[341]=(...T)=>o.showComfyui&&o.showComfyui(...T))},"show comfyui"),e[719]||(e[719]=g("a",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",href:"https://github.com/ParisNeo/ComfyUI/blob/master/LICENSE",target:"_blank"},"comfyui licence",-1))])])]),g("tr",null,[e[721]||(e[721]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"comfyui_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"comfyui base url:")],-1)),g("td",null,[g("div",lnr,[te(g("input",{type:"text",id:"comfyui_base_url",required:"","onUpdate:modelValue":e[342]||(e[342]=T=>o.configFile.comfyui_base_url=T),onChange:e[343]||(e[343]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.comfyui_base_url]])])])])])]),_:1})]),_:1}),ae(a,{title:"TTT services",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Ollama service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",cnr,[g("tr",null,[e[723]||(e[723]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_ollama_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable ollama service:")],-1)),g("td",null,[g("div",unr,[te(g("input",{type:"checkbox",id:"enable_ollama_service",required:"","onUpdate:modelValue":e[344]||(e[344]=T=>o.configFile.enable_ollama_service=T),onChange:e[345]||(e[345]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_ollama_service]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[346]||(e[346]=T=>this.$store.state.messageBox.showMessage(`Activates ollama service. The service will be automatically loaded at startup alowing you to use the ollama binding.
If you are using windows, this uses wsl which requires you to have it installed or at least activated.
If You are using windows, this will install wsl so you need to activate it.
Here is how you can do that`))},e[722]||(e[722]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[724]||(e[724]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"ollama_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Ollama service:")],-1)),g("td",null,[g("div",dnr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[347]||(e[347]=(...T)=>o.reinstallOLLAMAService&&o.reinstallOLLAMAService(...T))},"install ollama service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[348]||(e[348]=(...T)=>o.startollamaService&&o.startollamaService(...T))},"start ollama service")])])]),g("tr",null,[e[725]||(e[725]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"ollama_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"ollama base url:")],-1)),g("td",null,[g("div",fnr,[te(g("input",{type:"text",id:"ollama_base_url",required:"","onUpdate:modelValue":e[349]||(e[349]=T=>o.configFile.ollama_base_url=T),onChange:e[350]||(e[350]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.ollama_base_url]])])])])])]),_:1}),ae(a,{title:"vLLM service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",pnr,[g("tr",null,[e[727]||(e[727]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_vllm_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable vLLM service:")],-1)),g("td",null,[g("div",hnr,[te(g("input",{type:"checkbox",id:"enable_vllm_service",required:"","onUpdate:modelValue":e[351]||(e[351]=T=>o.configFile.enable_vllm_service=T),onChange:e[352]||(e[352]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_vllm_service]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[353]||(e[353]=T=>this.$store.state.messageBox.showMessage(`Activates vllm service. The service will be automatically loaded at startup alowing you to use the elf binding.
@@ -320,7 +326,7 @@ If you are using windows, this uses wsl which requires you to have it installed
If You are using windows, this will install wsl so you need to activate it.
Here is how you can do that`))},e[726]||(e[726]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[728]||(e[728]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"vllm_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install vLLM service:")],-1)),g("td",null,[g("div",Tnr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[354]||(e[354]=(...T)=>o.reinstallvLLMService&&o.reinstallvLLMService(...T))},"install vLLM service"),g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[355]||(e[355]=(...T)=>o.startvLLMService&&o.startvLLMService(...T))},"start vllm service")])])]),g("tr",null,[e[729]||(e[729]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"vllm_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"vllm base url:")],-1)),g("td",null,[g("div",mnr,[te(g("input",{type:"text",id:"vllm_url",required:"","onUpdate:modelValue":e[356]||(e[356]=T=>o.configFile.vllm_url=T),onChange:e[357]||(e[357]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.vllm_url]])])])]),g("tr",null,[e[731]||(e[731]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"vllm_gpu_memory_utilization",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"gpu memory utilization:")],-1)),g("td",null,[g("div",gnr,[g("div",_nr,[e[730]||(e[730]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"vllm_gpu_memory_utilization",class:"text-sm font-medium"}," vllm gpu memory utilization: ")],-1)),g("p",Qnr,[te(g("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[358]||(e[358]=T=>o.configFile.vllm_gpu_memory_utilization=T),onChange:e[359]||(e[359]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.vllm_gpu_memory_utilization]])])]),te(g("input",{id:"vllm_gpu_memory_utilization",onChange:e[360]||(e[360]=T=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[361]||(e[361]=T=>o.configFile.vllm_gpu_memory_utilization=T),min:"0.10",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.vllm_gpu_memory_utilization]])])])]),g("tr",null,[e[732]||(e[732]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"vllm_max_num_seqs",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"vllm max num seqs:")],-1)),g("td",null,[g("div",vnr,[te(g("input",{type:"number",id:"vllm_max_num_seqs",min:"64",max:"2048",required:"","onUpdate:modelValue":e[362]||(e[362]=T=>o.configFile.vllm_max_num_seqs=T),onChange:e[363]||(e[363]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.vllm_max_num_seqs]])])])]),g("tr",null,[e[733]||(e[733]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"vllm_max_model_len",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"max model len:")],-1)),g("td",null,[g("div",ynr,[te(g("input",{type:"number",id:"vllm_max_model_len",min:"2048",max:"1000000",required:"","onUpdate:modelValue":e[364]||(e[364]=T=>o.configFile.vllm_max_model_len=T),onChange:e[365]||(e[365]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.vllm_max_model_len]])])])]),g("tr",null,[e[734]||(e[734]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"vllm_model_path",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"vllm model path:")],-1)),g("td",null,[g("div",bnr,[te(g("input",{type:"text",id:"vllm_model_path",required:"","onUpdate:modelValue":e[366]||(e[366]=T=>o.configFile.vllm_model_path=T),onChange:e[367]||(e[367]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.vllm_model_path]])])])])])]),_:1}),ae(a,{title:"Petals service",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Enr,[g("tr",null,[e[736]||(e[736]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"enable_petals_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable petals service:")],-1)),g("td",null,[g("div",xnr,[te(g("input",{type:"checkbox",id:"enable_petals_service",required:"","onUpdate:modelValue":e[368]||(e[368]=T=>o.configFile.enable_petals_service=T),onChange:e[369]||(e[369]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.enable_petals_service]])])]),g("td",null,[g("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary",onClick:e[370]||(e[370]=T=>this.$store.state.messageBox.showMessage(`Activates Petals service. The service will be automatically loaded at startup alowing you to use the petals endpoint to generate text in a distributed network.
If You are using windows, this will install wsl so you need to activate it.
-Here is how you can do that`))},e[735]||(e[735]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[737]||(e[737]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"petals_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Petals service:")],-1)),g("td",null,[g("div",Snr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[371]||(e[371]=(...T)=>o.reinstallPetalsService&&o.reinstallPetalsService(...T))},"install petals service")])])]),g("tr",null,[e[738]||(e[738]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"petals_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"petals base url:")],-1)),g("td",null,[g("div",Lnr,[te(g("input",{type:"text",id:"petals_base_url",required:"","onUpdate:modelValue":e[372]||(e[372]=T=>o.configFile.petals_base_url=T),onChange:e[373]||(e[373]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.petals_base_url]])])])])])]),_:1})]),_:1}),ae(a,{title:"TTV settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",Cnr,[g("div",Anr,[e[741]||(e[741]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"lumalabs_key",class:"block text-sm font-semibold text-gray-700 dark:text-gray-200"}," Lumalabs Key ")],-1)),g("div",wnr,[g("div",Mnr,[te(g("input",{type:"text",id:"lumalabs_key",required:"","onUpdate:modelValue":e[374]||(e[374]=T=>o.configFile.lumalabs_key=T),onChange:e[375]||(e[375]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2.5 rounded-lg border border-gray-300 dark:border-gray-600 bg-gray-50 dark:bg-gray-700 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-150 ease-in-out",placeholder:"Enter your Lumalabs API key"},null,544),[[Ne,o.configFile.lumalabs_key]]),e[739]||(e[739]=g("div",{class:"absolute inset-y-0 right-0 flex items-center pr-3"},[g("svg",{class:"h-5 w-5 text-gray-400",viewBox:"0 0 20 20",fill:"currentColor"},[g("path",{d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"})])],-1))]),e[740]||(e[740]=g("p",{class:"mt-1 text-xs text-gray-500 dark:text-gray-400"}," Your API key will be securely stored ",-1))])])])]),_:1}),ae(a,{title:"Misc",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Elastic search Service (under construction)",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Onr,[g("tr",null,[e[742]||(e[742]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elastic_search_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable elastic search service:")],-1)),g("td",null,[g("div",Rnr,[te(g("input",{type:"checkbox",id:"elastic_search_service",required:"","onUpdate:modelValue":e[376]||(e[376]=T=>o.configFile.elastic_search_service=T),onChange:e[377]||(e[377]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.elastic_search_service]])])])]),g("tr",null,[e[743]||(e[743]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"install_elastic_search_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Reinstall Elastic Search service:")],-1)),g("td",null,[g("div",Nnr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[378]||(e[378]=(...T)=>o.reinstallElasticSearchService&&o.reinstallElasticSearchService(...T))},"install ElasticSearch service")])])]),g("tr",null,[e[744]||(e[744]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elastic_search_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"elastic search base url:")],-1)),g("td",null,[g("div",Dnr,[te(g("input",{type:"text",id:"elastic_search_url",required:"","onUpdate:modelValue":e[379]||(e[379]=T=>o.configFile.elastic_search_url=T),onChange:e[380]||(e[380]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.elastic_search_url]])])])])])]),_:1})]),_:1})],2)]),g("div",Inr,[g("div",knr,[g("button",{onClick:e[381]||(e[381]=ge(T=>i.bzc_collapsed=!i.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[745]||(e[745]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.bzc_collapsed]]),te(g("div",null,e[746]||(e[746]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.bzc_collapsed]]),e[748]||(e[748]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),o.configFile.binding_name?ie("",!0):(k(),P("div",Pnr,e[747]||(e[747]=[g("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1),nt(" No binding selected! ")]))),o.configFile.binding_name?(k(),P("div",Hnr,"|")):ie("",!0),o.configFile.binding_name?(k(),P("div",Vnr,[g("div",Fnr,[g("img",{src:o.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,Bnr),g("p",$nr,ue(o.binding_name),1)])])):ie("",!0)])]),g("div",{class:We([{hidden:i.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindingsZoo&&o.bindingsZoo.length>0?(k(),P("div",Unr,[g("label",Gnr," Bindings: ("+ue(o.bindingsZoo.length)+") ",1),g("div",{class:We(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",i.bzl_collapsed?"":"max-h-96"])},[ae(Gs,{name:"list"},{default:Be(()=>[(k(!0),P(ze,null,lt(o.bindingsZoo,(T,Q)=>(k(),wt(c,{ref_for:!0,ref:"bindingZoo",key:"index-"+Q+"-"+T.folder,binding:T,"on-selected":o.onBindingSelected,"on-reinstall":o.onReinstallBinding,"on-unInstall":o.onUnInstallBinding,"on-install":o.onInstallBinding,"on-settings":o.onSettingsBinding,"on-reload-binding":o.onReloadBinding,selected:T.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-unInstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):ie("",!0),i.bzl_collapsed?(k(),P("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[382]||(e[382]=T=>i.bzl_collapsed=!i.bzl_collapsed)},e[749]||(e[749]=[g("i",{"data-feather":"chevron-up"},null,-1)]))):(k(),P("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[383]||(e[383]=T=>i.bzl_collapsed=!i.bzl_collapsed)},e[750]||(e[750]=[g("i",{"data-feather":"chevron-down"},null,-1)])))],2)]),g("div",qnr,[g("div",znr,[g("button",{onClick:e[384]||(e[384]=ge(T=>o.modelsZooToggleCollapse(),["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[te(g("div",null,e[751]||(e[751]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.mzc_collapsed]]),te(g("div",null,e[752]||(e[752]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.mzc_collapsed]]),e[755]||(e[755]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),g("div",jnr,[o.configFile.binding_name?ie("",!0):(k(),P("div",Wnr,e[753]||(e[753]=[g("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1),nt(" Select binding first! ")]))),!o.configFile.model_name&&o.configFile.binding_name?(k(),P("div",Ynr,e[754]||(e[754]=[g("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1),nt(" No model selected! ")]))):ie("",!0),o.configFile.model_name?(k(),P("div",Knr,"|")):ie("",!0),o.configFile.model_name?(k(),P("div",Znr,[g("div",Xnr,[g("img",{src:o.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,Jnr),g("p",err,ue(o.configFile.model_name),1)])])):ie("",!0)])])]),g("div",{class:We([{hidden:i.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",trr,[g("div",nrr,[g("div",rrr,[i.searchModelInProgress?(k(),P("div",irr,e[756]||(e[756]=[g("div",{role:"status"},[g("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),g("span",{class:"sr-only"},"Loading...")],-1)]))):ie("",!0),i.searchModelInProgress?ie("",!0):(k(),P("div",orr,e[757]||(e[757]=[g("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)])))]),te(g("input",{type:"search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search models...",required:"","onUpdate:modelValue":e[385]||(e[385]=T=>i.searchModel=T),onKeyup:e[386]||(e[386]=ri((...T)=>o.searchModel_func&&o.searchModel_func(...T),["enter"]))},null,544),[[Ne,i.searchModel]]),i.searchModel?(k(),P("button",{key:0,onClick:e[387]||(e[387]=ge(T=>i.searchModel="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):ie("",!0)])]),g("div",null,[te(g("input",{"onUpdate:modelValue":e[388]||(e[388]=T=>i.show_only_installed_models=T),class:"m-2 p-2",type:"checkbox",ref:"only_installed"},null,512),[[at,i.show_only_installed_models]]),e[758]||(e[758]=g("label",{for:"only_installed"},"Show only installed models",-1))]),g("div",null,[ae(u,{radioOptions:i.sortOptions,onRadioSelected:o.handleRadioSelected},null,8,["radioOptions","onRadioSelected"])]),e[766]||(e[766]=g("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",class:"mb-4 font-bold underline text-blue-500 pb-4"},"Hugging face Leaderboard",-1)),i.is_loading_zoo?(k(),P("div",srr,e[759]||(e[759]=[g("svg",{"aria-hidden":"true",class:"text-center w-full display: flex;align-items: center; h-20 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),g("p",{class:"heartbeat-text"},"Loading models Zoo",-1)]))):ie("",!0),i.models_zoo&&i.models_zoo.length>0?(k(),P("div",arr,[g("label",lrr," Models: ("+ue(i.models_zoo.length)+") ",1),g("div",{class:We(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",i.mzl_collapsed?"":"max-h-96"])},[ae(Gs,{name:"list"},{default:Be(()=>[(k(!0),P(ze,null,lt(o.rendered_models_zoo,(T,Q)=>(k(),wt(d,{ref_for:!0,ref:"modelZoo",key:"index-"+Q+"-"+T.name,model:T,"is-installed":T.isInstalled,"on-install":o.onInstall,"on-uninstall":o.onUninstall,"on-selected":o.onModelSelected,selected:T.name===o.configFile.model_name,model_type:T.model_type,"on-copy":o.onCopy,"on-copy-link":o.onCopyLink,"on-cancel-install":o.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128)),g("button",{ref:"load_more_models",class:"relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",onClick:e[389]||(e[389]=(...T)=>o.load_more_models&&o.load_more_models(...T))},"Load more models",512)]),_:1})],2)])):ie("",!0),i.mzl_collapsed?(k(),P("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[390]||(e[390]=(...T)=>o.open_mzl&&o.open_mzl(...T))},e[760]||(e[760]=[g("i",{"data-feather":"chevron-up"},null,-1)]))):(k(),P("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[391]||(e[391]=(...T)=>o.open_mzl&&o.open_mzl(...T))},e[761]||(e[761]=[g("i",{"data-feather":"chevron-down"},null,-1)]))),g("div",crr,[g("div",urr,[g("div",null,[g("div",drr,[e[762]||(e[762]=g("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),te(g("input",{type:"text","onUpdate:modelValue":e[392]||(e[392]=T=>i.reference_path=T),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter Path ...",required:""},null,512),[[Ne,i.reference_path]])]),g("button",{type:"button",onClick:e[393]||(e[393]=ge(T=>o.onCreateReference(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Add reference")]),i.modelDownlaodInProgress?ie("",!0):(k(),P("div",frr,[g("div",prr,[e[763]||(e[763]=g("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),te(g("input",{type:"text","onUpdate:modelValue":e[394]||(e[394]=T=>i.addModel.url=T),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[Ne,i.addModel.url]])]),g("button",{type:"button",onClick:e[395]||(e[395]=ge(T=>o.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),i.modelDownlaodInProgress?(k(),P("div",hrr,[e[765]||(e[765]=g("div",{role:"status",class:"justify-center"},null,-1)),g("div",Trr,[g("div",mrr,[g("div",grr,[e[764]||(e[764]=jl(' Downloading Loading...',1)),g("span",_rr,ue(Math.floor(i.addModel.progress))+"%",1)]),g("div",{class:"mx-1 opacity-80 line-clamp-1",title:i.addModel.url},ue(i.addModel.url),9,Qrr),g("div",vrr,[g("div",{class:"bg-blue-600 h-2.5 rounded-full",style:gn({width:i.addModel.progress+"%"})},null,4)]),g("div",yrr,[g("span",brr,"Download speed: "+ue(o.speed_computed)+"/s",1),g("span",Err,ue(o.downloaded_size_computed)+"/"+ue(o.total_size_computed),1)])])]),g("div",xrr,[g("div",Srr,[g("div",Lrr,[g("button",{onClick:e[396]||(e[396]=ge((...T)=>o.onCancelInstall&&o.onCancelInstall(...T),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):ie("",!0)])])],2)]),g("div",Crr,[g("div",Arr,[g("button",{onClick:e[399]||(e[399]=ge(T=>i.pzc_collapsed=!i.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[te(g("div",null,e[767]||(e[767]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.pzc_collapsed]]),te(g("div",null,e[768]||(e[768]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.pzc_collapsed]]),e[771]||(e[771]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),o.configFile.personalities?(k(),P("div",wrr,"|")):ie("",!0),g("div",Mrr,ue(o.active_pesonality),1),o.configFile.personalities?(k(),P("div",Orr,"|")):ie("",!0),o.configFile.personalities?(k(),P("div",Rrr,[o.mountedPersArr.length>0?(k(),P("div",Nrr,[(k(!0),P(ze,null,lt(o.mountedPersArr,(T,Q)=>(k(),P("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:Q+"-"+T.name,ref_for:!0,ref:"mountedPersonalities"},[g("div",Drr,[g("button",{onClick:ge(_=>o.onPersonalitySelected(T),["stop"])},[g("img",{src:i.bUrl+T.avatar,onError:e[397]||(e[397]=(..._)=>o.personalityImgPlacehodler&&o.personalityImgPlacehodler(..._)),class:We(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(T.full_path)?"border-secondary":"border-transparent z-0"]),title:T.name},null,42,krr)],8,Irr),g("button",{onClick:ge(_=>o.unmountPersonality(T),["stop"])},e[769]||(e[769]=[g("span",{class:"hidden group-hover:block -top-2 -right-1 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[g("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)]),8,Prr)])]))),128))])):ie("",!0)])):ie("",!0),g("button",{onClick:e[398]||(e[398]=ge(T=>o.unmountAll(),["stop"])),class:"bg-bg-light hover:border-green-200 ml-5 dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount All"},e[770]||(e[770]=[g("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))])]),g("div",{class:We([{hidden:i.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",Hrr,[e[774]||(e[774]=g("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),g("div",Vrr,[g("div",Frr,[i.searchPersonalityInProgress?(k(),P("div",Brr,e[772]||(e[772]=[g("div",{role:"status"},[g("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),g("span",{class:"sr-only"},"Loading...")],-1)]))):ie("",!0),i.searchPersonalityInProgress?ie("",!0):(k(),P("div",$rr,e[773]||(e[773]=[g("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)])))]),te(g("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[400]||(e[400]=T=>i.searchPersonality=T),onKeyup:e[401]||(e[401]=ge((...T)=>o.searchPersonality_func&&o.searchPersonality_func(...T),["stop"]))},null,544),[[Ne,i.searchPersonality]]),i.searchPersonality?(k(),P("button",{key:0,onClick:e[402]||(e[402]=ge(T=>i.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):ie("",!0)])]),i.searchPersonality?ie("",!0):(k(),P("div",Urr,[g("label",Grr," Personalities Category: ("+ue(i.persCatgArr.length)+") ",1),g("select",{id:"persCat",onChange:e[403]||(e[403]=T=>o.update_personality_category(T.target.value,o.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(k(!0),P(ze,null,lt(i.persCatgArr,(T,Q)=>(k(),P("option",{key:Q,selected:T==this.configFile.personality_category},ue(T),9,qrr))),128))],32)])),g("div",null,[i.personalitiesFiltered.length>0?(k(),P("div",zrr,[g("label",jrr,ue(i.searchPersonality?"Search results":"Personalities")+": ("+ue(i.personalitiesFiltered.length)+") ",1),g("div",{class:We(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",i.pzl_collapsed?"":"max-h-96"])},[ae(Gs,{name:"bounce"},{default:Be(()=>[(k(!0),P(ze,null,lt(i.personalitiesFiltered,(T,Q)=>(k(),wt(h,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+Q+"-"+T.name,personality:T,select_language:!0,full_path:T.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(_=>_===T.full_path||_===T.full_path+":"+T.language),"on-selected":o.onPersonalitySelected,"on-mount":o.mountPersonality,"on-un-mount":o.unmountPersonality,"on-remount":o.remountPersonality,"on-edit":o.editPersonality,"on-copy-to-custom":o.copyToCustom,"on-reinstall":o.onPersonalityReinstall,"on-settings":o.onSettingsPersonality,"on-copy-personality-name":o.onCopyPersonalityName,"on-copy-to_custom":o.onCopyToCustom,"on-open-folder":o.handleOpenFolder},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-edit","on-copy-to-custom","on-reinstall","on-settings","on-copy-personality-name","on-copy-to_custom","on-open-folder"]))),128))]),_:1})],2)])):ie("",!0)]),i.pzl_collapsed?(k(),P("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[404]||(e[404]=T=>i.pzl_collapsed=!i.pzl_collapsed)},e[775]||(e[775]=[g("i",{"data-feather":"chevron-up"},null,-1)]))):(k(),P("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[405]||(e[405]=T=>i.pzl_collapsed=!i.pzl_collapsed)},e[776]||(e[776]=[g("i",{"data-feather":"chevron-down"},null,-1)])))],2)]),g("div",Wrr,[g("div",Yrr,[g("button",{onClick:e[406]||(e[406]=ge(T=>i.mc_collapsed=!i.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[te(g("div",null,e[777]||(e[777]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.mc_collapsed]]),te(g("div",null,e[778]||(e[778]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.mc_collapsed]]),e[779]||(e[779]=g("p",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1))])]),g("div",{class:We([{hidden:i.mc_collapsed},"flex flex-col mb-2 p-2"])},[g("div",Krr,[g("div",Zrr,[te(g("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[407]||(e[407]=ge(()=>{},["stop"])),"onUpdate:modelValue":e[408]||(e[408]=T=>o.configFile.override_personality_model_parameters=T),onChange:e[409]||(e[409]=T=>o.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[at,o.configFile.override_personality_model_parameters]]),e[780]||(e[780]=g("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1))])]),g("div",{class:We(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[g("div",Xrr,[e[781]||(e[781]=g("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),te(g("input",{type:"text",id:"seed","onUpdate:modelValue":e[410]||(e[410]=T=>o.configFile.seed=T),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ne,o.configFile.seed]])]),g("div",Jrr,[g("div",eir,[g("div",tir,[e[782]||(e[782]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),g("p",nir,[te(g("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[411]||(e[411]=T=>o.configFile.temperature=T),onChange:e[412]||(e[412]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.temperature]])])]),te(g("input",{id:"temperature",onChange:e[413]||(e[413]=T=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[414]||(e[414]=T=>o.configFile.temperature=T),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.temperature]])])]),g("div",rir,[g("div",iir,[g("div",oir,[e[783]||(e[783]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),g("p",sir,[te(g("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[415]||(e[415]=T=>o.configFile.n_predict=T),onChange:e[416]||(e[416]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.n_predict]])])]),te(g("input",{id:"predict",type:"range",onChange:e[417]||(e[417]=T=>i.settingsChanged=!0),"onUpdate:modelValue":e[418]||(e[418]=T=>o.configFile.n_predict=T),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.n_predict]])])]),g("div",air,[g("div",lir,[g("div",cir,[e[784]||(e[784]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),g("p",uir,[te(g("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[419]||(e[419]=T=>o.configFile.top_k=T),onChange:e[420]||(e[420]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.top_k]])])]),te(g("input",{id:"top_k",type:"range",onChange:e[421]||(e[421]=T=>i.settingsChanged=!0),"onUpdate:modelValue":e[422]||(e[422]=T=>o.configFile.top_k=T),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.top_k]])])]),g("div",dir,[g("div",fir,[g("div",pir,[e[785]||(e[785]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),g("p",hir,[te(g("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[423]||(e[423]=T=>o.configFile.top_p=T),onChange:e[424]||(e[424]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.top_p]])])]),te(g("input",{id:"top_p",type:"range","onUpdate:modelValue":e[425]||(e[425]=T=>o.configFile.top_p=T),min:"0",max:"1",step:"0.01",onChange:e[426]||(e[426]=T=>i.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.top_p]])])]),g("div",Tir,[g("div",mir,[g("div",gir,[e[786]||(e[786]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),g("p",_ir,[te(g("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[427]||(e[427]=T=>o.configFile.repeat_penalty=T),onChange:e[428]||(e[428]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.repeat_penalty]])])]),te(g("input",{id:"repeat_penalty",onChange:e[429]||(e[429]=T=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[430]||(e[430]=T=>o.configFile.repeat_penalty=T),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.repeat_penalty]])])]),g("div",Qir,[g("div",vir,[g("div",yir,[e[787]||(e[787]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),g("p",bir,[te(g("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[431]||(e[431]=T=>o.configFile.repeat_last_n=T),onChange:e[432]||(e[432]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.repeat_last_n]])])]),te(g("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[433]||(e[433]=T=>o.configFile.repeat_last_n=T),min:"0",max:"100",step:"1",onChange:e[434]||(e[434]=T=>i.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.repeat_last_n]])])])],2)],2)])],2)]),ae(f,{ref:"addmodeldialog"},null,512),ae(m,{class:"z-20",show:i.variantSelectionDialogVisible,choices:i.variant_choices,onChoiceSelected:o.onVariantChoiceSelected,onCloseDialog:o.oncloseVariantChoiceDialog,onChoiceValidated:o.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const xir=Et(RWn,[["render",Eir],["__scopeId","data-v-51a8fbbd"]]),Sir={components:{ClipBoardTextInput:qb,Card:I9},data(){return{dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDataset:""}},methods:{submitForm(){const t={model_name:this.selectedModel,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};ye.post("/start_training",t).then(e=>{})},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDataset(t){const e=t.target.files;e.length>0&&(this.selectedDataset=e[0])}},computed:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},Lir={key:0,class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},Cir={class:"mb-4"},Air=["value"],wir={class:"mb-4"},Mir={class:"mb-4"},Oir={class:"mb-4"},Rir={class:"mb-4"},Nir={class:"mb-4"},Dir={class:"mb-4"},Iir={key:1};function kir(t,e,n,r,i,o){const s=gt("Card"),a=gt("ClipBoardTextInput");return o.selectedModel!==null&&o.selectedModel.toLowerCase().includes("gptq")?(k(),P("div",Lir,[g("form",{onSubmit:e[2]||(e[2]=ge((...l)=>o.submitForm&&o.submitForm(...l),["prevent"])),class:""},[ae(s,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[ae(s,{title:"Model",class:"",isHorizontal:!1},{default:Be(()=>[g("div",Cir,[e[3]||(e[3]=g("label",{for:"model_name",class:"text-sm"},"Model Name:",-1)),te(g("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>o.selectedModel=l),onChange:e[1]||(e[1]=(...l)=>t.setModel&&t.setModel(...l)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(k(!0),P(ze,null,lt(o.models,l=>(k(),P("option",{key:l,value:l},ue(l),9,Air))),128))],544),[[hn,o.selectedModel]])])]),_:1}),ae(s,{title:"Data",isHorizontal:!1},{default:Be(()=>[g("div",wir,[e[4]||(e[4]=g("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1)),ae(a,{id:"model_path",inputType:"file",value:i.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),ae(s,{title:"Training",isHorizontal:!1},{default:Be(()=>[g("div",Mir,[e[5]||(e[5]=g("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1)),ae(a,{id:"model_path",inputType:"integer",value:i.lr},null,8,["value"])]),g("div",Oir,[e[6]||(e[6]=g("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1)),ae(a,{id:"model_path",inputType:"integer",value:i.num_epochs},null,8,["value"])]),g("div",Rir,[e[7]||(e[7]=g("label",{for:"max_length",class:"text-sm"},"Max Length:",-1)),ae(a,{id:"model_path",inputType:"integer",value:i.max_length},null,8,["value"])]),g("div",Nir,[e[8]||(e[8]=g("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1)),ae(a,{id:"model_path",inputType:"integer",value:i.batch_size},null,8,["value"])])]),_:1}),ae(s,{title:"Output",isHorizontal:!1},{default:Be(()=>[g("div",Dir,[e[9]||(e[9]=g("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1)),ae(a,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])])]),_:1})]),_:1}),ae(s,{disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>e[10]||(e[10]=[g("button",{class:"bg-blue-500 text-white px-4 py-2 rounded"},"Start training",-1)])),_:1})],32)])):(k(),P("div",Iir,[ae(s,{title:"Info",class:"",isHorizontal:!1},{default:Be(()=>e[11]||(e[11]=[nt(" Only GPTQ models are supported for QLora fine tuning. Please select a GPTQ compatible binding. ")])),_:1})]))}const Pir=Et(Sir,[["render",kir]]),Hir={components:{ClipBoardTextInput:qb,Card:I9},data(){return{model_name:"jondurbin/airoboros-7b-gpt4",tokenizer_name:"jondurbin/airoboros-7b-gpt4",dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDatasetPath:""}},methods:{submitForm(){this.model_name,this.tokenizer_name,this.selectedDatasetPath,this.max_length,this.batch_size,this.lr,this.num_epochs,this.selectedFolder},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(t){const e=t.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},Vir={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},Fir={class:"mb-4"},Bir={class:"mb-4"};function $ir(t,e,n,r,i,o){const s=gt("ClipBoardTextInput"),a=gt("Card");return k(),P("div",Vir,[g("form",{onSubmit:e[0]||(e[0]=ge((...l)=>o.submitForm&&o.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[ae(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[ae(a,{title:"Model",class:"",isHorizontal:!1},{default:Be(()=>[g("div",Fir,[e[1]||(e[1]=g("label",{for:"model_name",class:"text-sm"},"Model Name:",-1)),ae(s,{id:"model_path",inputType:"text",value:i.model_name},null,8,["value"])]),g("div",Bir,[e[2]||(e[2]=g("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1)),ae(s,{id:"model_path",inputType:"text",value:i.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),ae(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>e[3]||(e[3]=[g("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1)])),_:1})],32)])}const Uir=Et(Hir,[["render",$ir]]),Gir={name:"Discussion",emits:["delete","select","openFolder","editTitle","makeTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean,openfolder_enabled:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,makeTitleMode:!1,deleteMode:!1,openFolder:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{cancel(){this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1},deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},openFolderEvent(){this.$emit("openFolder",{id:this.id})},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},makeTitleEvent(){this.$emit("makeTitle",{id:this.id}),this.showConfirmation=!1},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,Ke(()=>{Xe.replace()})},watch:{showConfirmation(){Ke(()=>{Xe.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&Ke(()=>{try{this.$refs.titleBox.focus()}catch{}})},deleteMode(t){this.showConfirmation=t,t&&Ke(()=>{this.$refs.titleBox.focus()})},makeTitleMode(t){this.showConfirmation=t},checkBoxValue(t,e){this.checkBoxValue_local=t}}},qir=["id"],zir={class:"flex flex-row items-center gap-2"},jir={key:0},Wir={class:"flex flex-row items-center w-full"},Yir=["title"],Kir=["value"],Zir={class:"absolute top-0 right-0 h-full flex items-center group"},Xir={class:"discussion-toolbox"},Jir={key:0,class:"flex gap-2 items-center"},eor={key:1,class:"flex gap-2 items-center"};function tor(t,e,n,r,i,o){return k(),P("div",{class:We([n.selected?"discussion-hilighted":"discussion","m-1 py-2 flex flex-row sm:flex-row flex-wrap flex-shrink-0 items-center rounded-md duration-75 cursor-pointer relative w-[15rem]"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ge(s=>o.selectEvent(),["stop"]))},[g("div",zir,[n.isCheckbox?(k(),P("div",jir,[te(g("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=ge(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=s=>i.checkBoxValue_local=s),onInput:e[2]||(e[2]=s=>o.checkedChangeEvent(s,n.id))},null,544),[[at,i.checkBoxValue_local]])])):ie("",!0),n.selected?(k(),P("div",{key:1,class:We(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent":"bg-secondary"])},null,2)):ie("",!0),n.selected?ie("",!0):(k(),P("div",{key:2,class:We(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent":""])},null,2))]),g("div",Wir,[i.editTitle?ie("",!0):(k(),P("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5 text-xs"},ue(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,Yir)),i.editTitle?(k(),P("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=ri(ge(s=>o.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=ri(ge(s=>i.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=s=>o.chnageTitle(s.target.value)),onClick:e[6]||(e[6]=ge(()=>{},["stop"]))},null,40,Kir)):ie("",!0)]),g("div",Zir,[g("div",Xir,[i.showConfirmation?(k(),P("div",Jir,[g("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[7]||(e[7]=ge(s=>o.cancel(),["stop"]))},e[14]||(e[14]=[g("i",{"data-feather":"x"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[8]||(e[8]=ge(s=>i.editTitleMode?o.editTitleEvent():i.deleteMode?o.deleteEvent():o.makeTitleEvent(),["stop"]))},e[15]||(e[15]=[g("i",{"data-feather":"check"},null,-1)]))])):ie("",!0),i.showConfirmation?ie("",!0):(k(),P("div",eor,[n.openfolder_enabled?(k(),P("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Open folder",type:"button",onClick:e[9]||(e[9]=ge(s=>o.openFolderEvent(),["stop"]))},e[16]||(e[16]=[g("i",{"data-feather":"folder"},null,-1)]))):ie("",!0),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Make a title",type:"button",onClick:e[10]||(e[10]=ge(s=>i.makeTitleMode=!0,["stop"]))},e[17]||(e[17]=[g("i",{"data-feather":"type"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ge(s=>i.editTitleMode=!0,["stop"]))},e[18]||(e[18]=[g("i",{"data-feather":"edit-2"},null,-1)])),g("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ge(s=>i.deleteMode=!0,["stop"]))},e[19]||(e[19]=[g("i",{"data-feather":"trash"},null,-1)]))]))])])],10,qir)}const rE=Et(Gir,[["render",tor],["__scopeId","data-v-2b3580ce"]]),nor={data(){return{show:!1,prompt:"",inputText:""}},methods:{showPanel(){this.show=!0},ok(){this.show=!1,this.$emit("ok",this.inputText)},cancel(){this.show=!1,this.inputText=""}},props:{promptText:{type:String,required:!0}},watch:{promptText(t){this.prompt=t}}},ror={key:0,class:"fixed top-0 left-0 w-full h-full flex justify-center items-center bg-black bg-opacity-50"},ior={class:"bg-white p-8 rounded"},oor={class:"text-xl font-bold mb-4"};function sor(t,e,n,r,i,o){return k(),P("div",null,[i.show?(k(),P("div",ror,[g("div",ior,[g("h2",oor,ue(n.promptText),1),te(g("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=s=>i.inputText=s),class:"border border-gray-300 px-4 py-2 rounded mb-4"},null,512),[[Ne,i.inputText]]),g("button",{onClick:e[1]||(e[1]=(...s)=>o.ok&&o.ok(...s)),class:"bg-blue-500 text-white px-4 py-2 rounded mr-2"},"OK"),g("button",{onClick:e[2]||(e[2]=(...s)=>o.cancel&&o.cancel(...s)),class:"bg-gray-500 text-white px-4 py-2 rounded"},"Cancel")])])):ie("",!0)])}const aor=Et(nor,[["render",sor]]),lor={data(){return{id:0,loading:!1,isCheckbox:!1,isVisible:!1,categories:[],titles:[],content:"",searchQuery:""}},components:{Discussion:rE,MarkdownRenderer:O9},props:{host:{type:String,required:!1,default:"http://localhost:9600"}},methods:{showSkillsLibrary(){this.isVisible=!0,this.fetchTitles()},closeComponent(){this.isVisible=!1},fetchCategories(){ye.post("/get_skills_library_categories",{client_id:this.$store.state.client_id}).then(t=>{this.categories=t.data.categories}).catch(t=>{console.error("Error fetching categories:",t)})},fetchTitles(){console.log("Fetching categories"),ye.post("/get_skills_library_titles",{client_id:this.$store.state.client_id}).then(t=>{this.titles=t.data.titles,console.log("titles recovered")}).catch(t=>{console.error("Error fetching titles:",t)})},fetchContent(t){console.log("loading skill",t),ye.post("/get_skills_library_content",{client_id:this.$store.state.client_id,skill_id:t}).then(e=>{const n=e.data.contents[0];this.id=n.id,this.content=n.content}).catch(e=>{console.error("Error fetching content:",e)})},deleteCategory(t){console.log("Delete category")},editCategory(t){console.log("Edit category")},checkUncheckCategory(t){console.log("Unchecked category")},deleteSkill(t){console.log("Delete skill ",t),ye.post("/delete_skill",{client_id:this.$store.state.client_id,skill_id:t}).then(()=>{this.fetchTitles()})},editTitle(t){ye.post("/edit_skill_title",{client_id:this.$store.state.client_id,skill_id:t,title:t}).then(()=>{this.fetchTitles()}),console.log("Edit title")},makeTitle(t){console.log("Make title")},checkUncheckTitle(t){},searchSkills(){}}},cor={id:"leftPanel",class:"flex flex-row h-full flex-grow shadow-lg rounded"},uor={class:"w-[15rem] z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md overflow-y-scroll no-scrollbar"},dor={classclass:"absolute flex flex-col no-scrollbar shadow-lg w-[15rem] bg-bg-light-tone dark:bg-bg-dark-tone top-20 left-20 bottom-20 right-20 bg-bg-light shadow-lg rounded"},por={class:"z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"};function hor(t,e,n,r,i,o){const s=gt("Discussion"),a=gt("MarkdownRenderer");return k(),P("div",{class:We([{hidden:!i.isVisible},"absolute flex flex-col no-scrollbar shadow-lg bg-bg-light dark:bg-bg-dark top-20 left-20 bottom-20 right-20 shadow-lg rounded"])},[g("div",cor,[g("div",uor,[te(g("input",{type:"search",id:"default-search",class:"block w-full h-8 px-8 text-sm border border-gray-300 rounded-md bg-bg-light focus:ring-1 focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary transition-all duration-200",placeholder:"Search discussions...",title:"Filter skills by title","onUpdate:modelValue":e[0]||(e[0]=l=>i.searchQuery=l),onKeyup:e[1]||(e[1]=ri((...l)=>o.searchSkills&&o.searchSkills(...l),["enter"]))},null,544),[[Ne,i.searchQuery]]),g("div",dor,[e[3]||(e[3]=g("h2",{class:"text-xl font-bold m-4"},"Titles",-1)),i.titles.length>0?(k(),wt(Gs,{key:0,name:"list"},{default:Be(()=>[(k(!0),P(ze,null,lt(i.titles,l=>(k(),wt(s,{key:l.id,id:l.id,title:l.title,selected:o.fetchContent(l.id),loading:i.loading,isCheckbox:i.isCheckbox,checkBoxValue:!1,openfolder_enabled:!1,onSelect:c=>o.fetchContent(l.id),onDelete:c=>o.deleteSkill(l.id),onEditTitle:o.editTitle,onMakeTitle:o.makeTitle,onChecked:o.checkUncheckTitle},null,8,["id","title","selected","loading","isCheckbox","onSelect","onDelete","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):ie("",!0)])]),g("div",por,[e[4]||(e[4]=g("h2",{class:"text-xl font-bold m-4"},"Content",-1)),ae(a,{host:n.host,"markdown-text":i.content,message_id:i.id,discussion_id:i.id,client_id:this.$store.state.client_id},null,8,["host","markdown-text","message_id","discussion_id","client_id"])])]),g("button",{onClick:e[2]||(e[2]=(...l)=>o.closeComponent&&o.closeComponent(...l)),class:"absolute top-2 right-2 bg-red-500 text-white rounded px-2 py-1 hover:bg-red-300"},"Close")],2)}const VU=Et(lor,[["render",hor]]),Tor={props:{htmlContent:{type:String,required:!0}}},mor=["innerHTML"];function gor(t,e,n,r,i,o){return k(),P("div",{class:"w-full h-full overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",innerHTML:n.htmlContent},null,8,mor)}const _or=Et(Tor,[["render",gor]]),Qor={name:"JsonTreeView",props:{data:{type:[Object,Array],required:!0},depth:{type:Number,default:0}},data(){return{collapsedKeys:new Set}},methods:{isObject(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},isArray(t){return Array.isArray(t)},toggleCollapse(t){this.collapsedKeys.has(t)?this.collapsedKeys.delete(t):this.collapsedKeys.add(t)},isCollapsed(t){return this.collapsedKeys.has(t)},getValueType(t){return typeof t=="string"?"string":typeof t=="number"?"number":typeof t=="boolean"?"boolean":t===null?"null":""},formatValue(t){return typeof t=="string"?`"${t}"`:String(t)}}},vor={class:"json-tree-view"},yor=["onClick"],bor={key:0,class:"toggle-icon"},Eor={class:"key"},xor={key:0,class:"json-nested"};function Sor(t,e,n,r,i,o){const s=gt("json-tree-view",!0);return k(),P("div",vor,[(k(!0),P(ze,null,lt(n.data,(a,l)=>(k(),P("div",{key:l,class:"json-item"},[g("div",{class:"json-key",onClick:c=>o.toggleCollapse(l)},[o.isObject(a)||o.isArray(a)?(k(),P("span",bor,[g("i",{class:We(o.isCollapsed(l)?"fas fa-chevron-right":"fas fa-chevron-down")},null,2)])):ie("",!0),g("span",Eor,ue(l)+":",1),!o.isObject(a)&&!o.isArray(a)?(k(),P("span",{key:1,class:We(["value",o.getValueType(a)])},ue(o.formatValue(a)),3)):ie("",!0)],8,yor),(o.isObject(a)||o.isArray(a))&&!o.isCollapsed(l)?(k(),P("div",xor,[ae(s,{data:a,depth:n.depth+1},null,8,["data","depth"])])):ie("",!0)]))),128))])}const Lor=Et(Qor,[["render",Sor],["__scopeId","data-v-40406ec6"]]),Cor={components:{JsonTreeView:Lor},props:{jsonData:{type:[Object,Array,String],default:null},jsonFormText:{type:String,default:"JSON Viewer"}},data(){return{collapsed:!0}},computed:{isContentPresent(){return this.jsonData!==null&&(typeof this.jsonData!="string"||this.jsonData.trim()!=="")},parsedJsonData(){if(typeof this.jsonData=="string")try{return JSON.parse(this.jsonData)}catch(t){return console.error("Error parsing JSON string:",t),{error:"Invalid JSON string"}}return this.jsonData}},methods:{toggleCollapsible(){this.collapsed=!this.collapsed}}},Aor={key:0,class:"json-viewer"},wor={class:"toggle-icon"},Mor={class:"json-content panels-color"};function Oor(t,e,n,r,i,o){const s=gt("json-tree-view");return o.isContentPresent?(k(),P("div",Aor,[g("div",{class:"collapsible-section",onClick:e[0]||(e[0]=(...a)=>o.toggleCollapsible&&o.toggleCollapsible(...a))},[g("span",wor,[g("i",{class:We(i.collapsed?"fas fa-chevron-right":"fas fa-chevron-down")},null,2)]),nt(" "+ue(n.jsonFormText),1)]),te(g("div",Mor,[ae(s,{data:o.parsedJsonData,depth:0},null,8,["data"])],512),[[Ht,!i.collapsed]])])):ie("",!0)}const Ror=Et(Cor,[["render",Oor],["__scopeId","data-v-83fc9727"]]),Nor={props:{done:Boolean,text:String,status:Boolean,description:String}},Dor={class:"flex items-start gap-2 w-full"},Ior={class:"w-4 h-4 flex-shrink-0"},kor={key:0,class:"w-4 h-4 text-green-500 dark:text-green-400",viewBox:"0 0 24 24",fill:"currentColor"},Por={key:1,class:"w-4 h-4 text-red-500 dark:text-red-400",viewBox:"0 0 24 24",fill:"currentColor"},Hor={key:1,class:"w-4 h-4 border-2 border-t-primary rounded-full animate-spin"},Vor={class:"min-w-0"},For={class:"text-sm text-gray-700 dark:text-gray-200 truncate"},Bor={key:0,class:"text-xs text-gray-500 dark:text-gray-400 truncate"};function $or(t,e,n,r,i,o){return k(),P("div",{class:We(["flex items-center p-2 rounded transition-colors duration-200",[n.done?"bg-opacity-5":"bg-opacity-3",n.status?"bg-green-50 dark:bg-green-900/20":"bg-gray-50 dark:bg-gray-800/20"]])},[g("div",Dor,[g("div",Ior,[n.done?(k(),P(ze,{key:0},[n.status?(k(),P("svg",kor,e[0]||(e[0]=[g("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"},null,-1)]))):(k(),P("svg",Por,e[1]||(e[1]=[g("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},null,-1)])))],64)):(k(),P("div",Hor))]),g("div",Vor,[g("div",For,ue(n.text||"No text provided"),1),n.description?(k(),P("div",Bor,ue(n.description),1)):ie("",!0)])])],2)}const Uor=Et(Nor,[["render",$or],["__scopeId","data-v-2cb174d6"]]),Gor="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20height='800px'%20width='800px'%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20480%20480'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cg%3e%3cpath%20d='M240,0C107.664,0,0,107.664,0,240s107.664,240,240,240s240-107.664,240-240S372.336,0,240,0z%20M240,460%20c-121.309,0-220-98.691-220-220S118.691,20,240,20s220,98.691,220,220S361.309,460,240,460z'/%3e%3cpath%20d='M410,194.999h-27.058c-2.643-8.44-6-16.56-10.03-24.271l19.158-19.158c3.776-3.775,5.854-8.79,5.854-14.121%20c0-5.332-2.08-10.347-5.854-14.121l-35.399-35.399c-3.775-3.775-8.79-5.854-14.122-5.854c-5.331,0-10.346,2.079-14.121,5.854%20l-19.158,19.158c-7.711-4.03-15.832-7.386-24.271-10.03V70c0-11.028-8.972-20-20-20h-50c-11.028,0-20,8.972-20,20v27.058%20c-8.44,2.643-16.56,6-24.271,10.03L151.57,87.93c-3.775-3.776-8.79-5.854-14.121-5.854c-5.332,0-10.347,2.08-14.121,5.854%20l-35.399,35.399c-3.775,3.775-5.854,8.79-5.854,14.122c0,5.331,2.079,10.346,5.854,14.121l19.158,19.158%20c-4.03,7.711-7.386,15.832-10.03,24.271H70c-11.028,0-20,8.972-20,20v50c0,11.028,8.972,20,20,20h27.057%20c2.643,8.44,6,16.56,10.03,24.271L87.929,328.43c-3.776,3.775-5.854,8.79-5.854,14.121c0,5.332,2.08,10.347,5.854,14.121%20l35.399,35.399c3.775,3.775,8.79,5.854,14.122,5.854c5.331,0,10.346-2.079,14.121-5.854l19.158-19.158%20c7.711,4.03,15.832,7.386,24.271,10.03V410c0,11.028,8.972,20,20,20h50c11.028,0,20-8.972,20.001-20v-27.058%20c8.44-2.643,16.56-6,24.271-10.03l19.158,19.158c3.775,3.776,8.79,5.854,14.121,5.854c5.332,0,10.347-2.08,14.121-5.854%20l35.399-35.399c3.775-3.775,5.854-8.79,5.854-14.122c0-5.331-2.079-10.346-5.854-14.121l-19.158-19.158%20c4.03-7.711,7.386-15.832,10.03-24.271H410c11.028,0,20-8.972,20-20v-50C430,203.971,421.028,194.999,410,194.999z%20M410,264.998%20h-34.598c-4.562,0-8.544,3.086-9.684,7.503c-3.069,11.901-7.716,23.133-13.813,33.387c-2.337,3.931-1.71,8.948,1.524,12.182%20l24.5,24.457l-35.357,35.4l-24.5-24.5c-3.236-3.235-8.253-3.86-12.182-1.524c-10.254,6.097-21.487,10.745-33.387,13.813%20c-4.417,1.14-7.503,5.122-7.503,9.684V410h-50v-34.599c0-4.562-3.086-8.544-7.503-9.684%20c-11.901-3.069-23.133-7.716-33.387-13.813c-1.587-0.944-3.353-1.404-5.107-1.404c-2.586,0-5.147,1.002-7.073,2.931l-24.457,24.5%20l-35.4-35.357l24.5-24.5c3.234-3.235,3.861-8.251,1.524-12.182c-6.097-10.254-10.745-21.487-13.813-33.387%20c-1.14-4.417-5.122-7.503-9.684-7.503H70v-50h34.596c4.562,0,8.544-3.086,9.684-7.503c3.069-11.901,7.716-23.133,13.813-33.387%20c2.337-3.931,1.71-8.948-1.524-12.182l-24.5-24.457l35.357-35.4l24.5,24.5c3.236,3.235,8.253,3.861,12.182,1.524%20c10.254-6.097,21.487-10.745,33.387-13.813c4.417-1.14,7.503-5.122,7.503-9.684V70h50v34.596c0,4.562,3.086,8.544,7.503,9.684%20c11.901,3.069,23.133,7.716,33.387,13.813c3.929,2.337,8.947,1.709,12.182-1.524l24.457-24.5l35.4,35.357l-24.5,24.5%20c-3.234,3.235-3.861,8.251-1.524,12.182c6.097,10.254,10.745,21.487,13.813,33.387c1.14,4.417,5.122,7.503,9.684,7.503H410%20V264.998z'/%3e%3cpath%20d='M331.585,292.475l-40-35l-13.17,15.051L298.386,290H240c-27.57,0-50-22.43-50-50h-20c0,38.598,31.402,70,70,70h58.386%20l-19.971,17.475l13.17,15.051l40-35c2.17-1.898,3.415-4.642,3.415-7.525S333.755,294.373,331.585,292.475z'/%3e%3cpath%20d='M201.585,207.473L181.614,190H240c27.57,0,50,22.43,50,50h20c0-38.598-31.402-70-70-70h-58.386l19.971-17.475%20l-13.17-15.051l-40,35c-2.17,1.898-3.415,4.642-3.415,7.525s1.245,5.627,3.415,7.525l40,35L201.585,207.473z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3canimateTransform%20attributeName='transform'%20attributeType='XML'%20type='rotate'%20from='0%20240%20240'%20to='360%20240%20240'%20dur='10s'%20repeatCount='indefinite'%20/%3e%3c/svg%3e",qor="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%3e%3cpath%20d='M25%200C11.6%200%200%2011.6%200%2025s11.6%2025%2025%2025%2025-11.6%2025-25S40.4%200%2025%200zm0%2048C12.8%2048%202%2039.2%202%2025S12.8%202%2025%202s24%2010.8%2024%2024-10.8%2024-24%2024zm-4-33l-8%208%2018%2018%2030-30-8-8-22%2022L22%2016'%20fill='green'/%3e%3c/svg%3e",zor="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012%2019%206.41z'%20fill='red'/%3e%3c/svg%3e",FU="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%20width='256'%20height='256'%20viewBox='0%200%20256%20256'%20xml:space='preserve'%3e%3cdefs%3e%3c/defs%3e%3cg%20style='stroke:%20white;%20stroke-width:%202px;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20none;%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='translate(1.4065934065934016%201.4065934065934016)%20scale(2.81%202.81)'%20%3e%3cpath%20d='M%2089.999%203.075%20C%2090%203.02%2090%202.967%2089.999%202.912%20c%20-0.004%20-0.134%20-0.017%20-0.266%20-0.038%20-0.398%20c%20-0.007%20-0.041%20-0.009%20-0.081%20-0.018%20-0.122%20c%20-0.034%20-0.165%20-0.082%20-0.327%20-0.144%20-0.484%20c%20-0.018%20-0.046%20-0.041%20-0.089%20-0.061%20-0.134%20c%20-0.053%20-0.119%20-0.113%20-0.234%20-0.182%20-0.346%20C%2089.528%201.382%2089.5%201.336%2089.469%201.29%20c%20-0.102%20-0.147%20-0.212%20-0.288%20-0.341%20-0.417%20c%20-0.13%20-0.13%20-0.273%20-0.241%20-0.421%20-0.344%20c%20-0.042%20-0.029%20-0.085%20-0.056%20-0.129%20-0.082%20c%20-0.118%20-0.073%20-0.239%20-0.136%20-0.364%20-0.191%20c%20-0.039%20-0.017%20-0.076%20-0.037%20-0.116%20-0.053%20c%20-0.161%20-0.063%20-0.327%20-0.113%20-0.497%20-0.147%20c%20-0.031%20-0.006%20-0.063%20-0.008%20-0.094%20-0.014%20c%20-0.142%20-0.024%20-0.285%20-0.038%20-0.429%20-0.041%20C%2087.03%200%2086.983%200%2086.936%200.001%20c%20-0.141%200.003%20-0.282%200.017%20-0.423%200.041%20c%20-0.035%200.006%20-0.069%200.008%20-0.104%200.015%20c%20-0.154%200.031%20-0.306%200.073%20-0.456%200.129%20L%201.946%2031.709%20c%20-1.124%200.422%20-1.888%201.473%20-1.943%202.673%20c%20-0.054%201.199%200.612%202.316%201.693%202.838%20l%2034.455%2016.628%20l%2016.627%2034.455%20C%2053.281%2089.344%2054.334%2090%2055.481%2090%20c%200.046%200%200.091%20-0.001%200.137%20-0.003%20c%201.199%20-0.055%202.251%20-0.819%202.673%20-1.943%20L%2089.815%204.048%20c%200.056%20-0.149%200.097%20-0.3%200.128%20-0.453%20c%200.008%20-0.041%200.011%20-0.081%200.017%20-0.122%20C%2089.982%203.341%2089.995%203.208%2089.999%203.075%20z%20M%2075.086%2010.672%20L%2037.785%2047.973%20L%2010.619%2034.864%20L%2075.086%2010.672%20z%20M%2055.136%2079.381%20L%2042.027%2052.216%20l%2037.302%20-37.302%20L%2055.136%2079.381%20z'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(0,0,0);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'%20stroke-linecap='round'%20/%3e%3ccircle%20cx='75'%20cy='75'%20r='15'%20fill='%23008000'/%3e%3cpath%20d='M75,60%20A15,15%200%200,1%2090,75%20A15,15%200%200,1%2075,90%20A15,15%200%200,1%2060,75%20A15,15%200%200,1%2075,60%20Z'%20stroke='%23FFFFFF'%20stroke-width='2'%20fill='none'/%3e%3cpath%20d='M81,75%20A6,6%200%200,1%2075,81%20A6,6%200%200,1%2069,75%20A6,6%200%200,1%2075,69%20A6,6%200%200,1%2081,75%20Z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3c/svg%3e",jor="/",Wor={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:O9,Step:Uor,RenderHTMLJS:_or,JsonViewer:Ror,DynamicUIRenderer:HU,ToolbarButton:zb,DropdownMenu:kU},props:{host:{type:String,required:!1,default:"http://localhost:9600"},message:Object,avatar:{default:""}},data(){return{ui_componentKey:0,isSynthesizingVoice:!1,cpp_block:bU,html5_block:EU,LaTeX_block:xU,json_block:yU,javascript_block:vU,process_svg:Gor,ok_svg:qor,failed_svg:zor,loading_svg:LU,sendGlobe:FU,code_block:_U,python_block:QU,bash_block:SU,audio_url:null,audio:null,msg:null,isSpeaking:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode_:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){if("speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0?this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged):console.log("No voices found")):console.error("Speech synthesis is not supported in this browser."),Ke(()=>{Xe.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight}),console.log("Checking metadata"),console.log(this.message),Object.prototype.hasOwnProperty.call(this.message,"metadata")&&this.message.metadata!=null){console.log("Metadata found!"),Array.isArray(this.message.metadata)||(this.message.metadata=[]),console.log(typeof this.message.metadata),console.log(this.message.metadata);for(let t of this.message.metadata)Object.prototype.hasOwnProperty.call(t,"audio_url")&&t.audio_url!=null&&(this.audio_url=t.audio_url,console.log("Audio URL:",this.audio_url))}},methods:{toggleExpanded(){this.expanded=!this.expanded},computeTimeDiff(t,e){let n=e.getTime()-t.getTime();const r=Math.floor(n/(1e3*60*60));n-=r*(1e3*60*60);const i=Math.floor(n/(1e3*60));n-=i*(1e3*60);const o=Math.floor(n/1e3);return n-=o*1e3,[r,i,o]},insertTab(t){const e=t.target,n=e.selectionStart,r=e.selectionEnd,i=t.shiftKey;if(n===r)if(i){if(e.value.substring(n-4,n)==" "){const o=e.value.substring(0,n-4),s=e.value.substring(r),a=o+s;this.message.content=a,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=n-4})}}else{const o=e.value.substring(0,n),s=e.value.substring(r),a=o+" "+s;this.message.content=a,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=n+4})}else{const s=e.value.substring(n,r).split(`
+Here is how you can do that`))},e[735]||(e[735]=[g("i",{"data-feather":"help-circle",class:"w-5 h-5"},null,-1)]))])]),g("tr",null,[e[737]||(e[737]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"petals_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Install Petals service:")],-1)),g("td",null,[g("div",Snr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[371]||(e[371]=(...T)=>o.reinstallPetalsService&&o.reinstallPetalsService(...T))},"install petals service")])])]),g("tr",null,[e[738]||(e[738]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"petals_base_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"petals base url:")],-1)),g("td",null,[g("div",Lnr,[te(g("input",{type:"text",id:"petals_base_url",required:"","onUpdate:modelValue":e[372]||(e[372]=T=>o.configFile.petals_base_url=T),onChange:e[373]||(e[373]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.petals_base_url]])])])])])]),_:1})]),_:1}),ae(a,{title:"TTV settings",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("div",Cnr,[g("div",Anr,[e[741]||(e[741]=g("div",{class:"w-full md:w-1/3"},[g("label",{for:"lumalabs_key",class:"block text-sm font-semibold text-gray-700 dark:text-gray-200"}," Lumalabs Key ")],-1)),g("div",wnr,[g("div",Mnr,[te(g("input",{type:"text",id:"lumalabs_key",required:"","onUpdate:modelValue":e[374]||(e[374]=T=>o.configFile.lumalabs_key=T),onChange:e[375]||(e[375]=T=>i.settingsChanged=!0),class:"w-full px-4 py-2.5 rounded-lg border border-gray-300 dark:border-gray-600 bg-gray-50 dark:bg-gray-700 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500 focus:border-transparent transition duration-150 ease-in-out",placeholder:"Enter your Lumalabs API key"},null,544),[[Ne,o.configFile.lumalabs_key]]),e[739]||(e[739]=g("div",{class:"absolute inset-y-0 right-0 flex items-center pr-3"},[g("svg",{class:"h-5 w-5 text-gray-400",viewBox:"0 0 20 20",fill:"currentColor"},[g("path",{d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z"})])],-1))]),e[740]||(e[740]=g("p",{class:"mt-1 text-xs text-gray-500 dark:text-gray-400"}," Your API key will be securely stored ",-1))])])])]),_:1}),ae(a,{title:"Misc",is_shrunk:!0,is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[ae(a,{title:"Elastic search Service (under construction)",is_subcard:!0,class:"pb-2 m-2"},{default:Be(()=>[g("table",Onr,[g("tr",null,[e[742]||(e[742]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elastic_search_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Enable elastic search service:")],-1)),g("td",null,[g("div",Rnr,[te(g("input",{type:"checkbox",id:"elastic_search_service",required:"","onUpdate:modelValue":e[376]||(e[376]=T=>o.configFile.elastic_search_service=T),onChange:e[377]||(e[377]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[at,o.configFile.elastic_search_service]])])])]),g("tr",null,[e[743]||(e[743]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"install_elastic_search_service",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"Reinstall Elastic Search service:")],-1)),g("td",null,[g("div",Nnr,[g("button",{class:"hover:text-primary bg-green-200 rounded-lg p-4 m-4 w-full text-center items-center",onClick:e[378]||(e[378]=(...T)=>o.reinstallElasticSearchService&&o.reinstallElasticSearchService(...T))},"install ElasticSearch service")])])]),g("tr",null,[e[744]||(e[744]=g("td",{style:{"min-width":"200px"}},[g("label",{for:"elastic_search_url",class:"text-sm font-bold",style:{"margin-right":"1rem"}},"elastic search base url:")],-1)),g("td",null,[g("div",Dnr,[te(g("input",{type:"text",id:"elastic_search_url",required:"","onUpdate:modelValue":e[379]||(e[379]=T=>o.configFile.elastic_search_url=T),onChange:e[380]||(e[380]=T=>i.settingsChanged=!0),class:"mt-1 px-2 py-1 border border-gray-300 rounded dark:bg-gray-600"},null,544),[[Ne,o.configFile.elastic_search_url]])])])])])]),_:1})]),_:1})],2)]),g("div",Inr,[g("div",knr,[g("button",{onClick:e[381]||(e[381]=ge(T=>i.bzc_collapsed=!i.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[te(g("div",null,e[745]||(e[745]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.bzc_collapsed]]),te(g("div",null,e[746]||(e[746]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.bzc_collapsed]]),e[748]||(e[748]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),o.configFile.binding_name?ie("",!0):(k(),P("div",Pnr,e[747]||(e[747]=[g("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1),nt(" No binding selected! ")]))),o.configFile.binding_name?(k(),P("div",Hnr,"|")):ie("",!0),o.configFile.binding_name?(k(),P("div",Vnr,[g("div",Fnr,[g("img",{src:o.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,Bnr),g("p",$nr,ue(o.binding_name),1)])])):ie("",!0)])]),g("div",{class:We([{hidden:i.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindingsZoo&&o.bindingsZoo.length>0?(k(),P("div",Unr,[g("label",Gnr," Bindings: ("+ue(o.bindingsZoo.length)+") ",1),g("div",{class:We(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",i.bzl_collapsed?"":"max-h-96"])},[ae(Gs,{name:"list"},{default:Be(()=>[(k(!0),P(ze,null,lt(o.bindingsZoo,(T,Q)=>(k(),wt(c,{ref_for:!0,ref:"bindingZoo",key:"index-"+Q+"-"+T.folder,binding:T,"on-selected":o.onBindingSelected,"on-reinstall":o.onReinstallBinding,"on-unInstall":o.onUnInstallBinding,"on-install":o.onInstallBinding,"on-settings":o.onSettingsBinding,"on-reload-binding":o.onReloadBinding,selected:T.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-unInstall","on-install","on-settings","on-reload-binding","selected"]))),128))]),_:1})],2)])):ie("",!0),i.bzl_collapsed?(k(),P("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[382]||(e[382]=T=>i.bzl_collapsed=!i.bzl_collapsed)},e[749]||(e[749]=[g("i",{"data-feather":"chevron-up"},null,-1)]))):(k(),P("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[383]||(e[383]=T=>i.bzl_collapsed=!i.bzl_collapsed)},e[750]||(e[750]=[g("i",{"data-feather":"chevron-down"},null,-1)])))],2)]),g("div",qnr,[g("div",znr,[g("button",{onClick:e[384]||(e[384]=ge(T=>o.modelsZooToggleCollapse(),["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[te(g("div",null,e[751]||(e[751]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.mzc_collapsed]]),te(g("div",null,e[752]||(e[752]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.mzc_collapsed]]),e[755]||(e[755]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),g("div",jnr,[o.configFile.binding_name?ie("",!0):(k(),P("div",Wnr,e[753]||(e[753]=[g("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1),nt(" Select binding first! ")]))),!o.configFile.model_name&&o.configFile.binding_name?(k(),P("div",Ynr,e[754]||(e[754]=[g("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1),nt(" No model selected! ")]))):ie("",!0),o.configFile.model_name?(k(),P("div",Knr,"|")):ie("",!0),o.configFile.model_name?(k(),P("div",Znr,[g("div",Xnr,[g("img",{src:o.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,Jnr),g("p",err,ue(o.configFile.model_name),1)])])):ie("",!0)])])]),g("div",{class:We([{hidden:i.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",trr,[g("div",nrr,[g("div",rrr,[i.searchModelInProgress?(k(),P("div",irr,e[756]||(e[756]=[g("div",{role:"status"},[g("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),g("span",{class:"sr-only"},"Loading...")],-1)]))):ie("",!0),i.searchModelInProgress?ie("",!0):(k(),P("div",orr,e[757]||(e[757]=[g("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)])))]),te(g("input",{type:"search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search models...",required:"","onUpdate:modelValue":e[385]||(e[385]=T=>i.searchModel=T),onKeyup:e[386]||(e[386]=ri((...T)=>o.searchModel_func&&o.searchModel_func(...T),["enter"]))},null,544),[[Ne,i.searchModel]]),i.searchModel?(k(),P("button",{key:0,onClick:e[387]||(e[387]=ge(T=>i.searchModel="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):ie("",!0)])]),g("div",null,[te(g("input",{"onUpdate:modelValue":e[388]||(e[388]=T=>i.show_only_installed_models=T),class:"m-2 p-2",type:"checkbox",ref:"only_installed"},null,512),[[at,i.show_only_installed_models]]),e[758]||(e[758]=g("label",{for:"only_installed"},"Show only installed models",-1))]),g("div",null,[ae(u,{radioOptions:i.sortOptions,onRadioSelected:o.handleRadioSelected},null,8,["radioOptions","onRadioSelected"])]),e[766]||(e[766]=g("a",{href:"https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard",target:"_blank",class:"mb-4 font-bold underline text-blue-500 pb-4"},"Hugging face Leaderboard",-1)),i.is_loading_zoo?(k(),P("div",srr,e[759]||(e[759]=[g("svg",{"aria-hidden":"true",class:"text-center w-full display: flex;align-items: center; h-20 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),g("p",{class:"heartbeat-text"},"Loading models Zoo",-1)]))):ie("",!0),i.models_zoo&&i.models_zoo.length>0?(k(),P("div",arr,[g("label",lrr," Models: ("+ue(i.models_zoo.length)+") ",1),g("div",{class:We(["overflow-y-auto p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 overflow-y-scroll w-full dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",i.mzl_collapsed?"":"max-h-96"])},[ae(Gs,{name:"list"},{default:Be(()=>[(k(!0),P(ze,null,lt(o.rendered_models_zoo,(T,Q)=>(k(),wt(d,{ref_for:!0,ref:"modelZoo",key:"index-"+Q+"-"+T.name,model:T,"is-installed":T.isInstalled,"on-install":o.onInstall,"on-uninstall":o.onUninstall,"on-selected":o.onModelSelected,selected:T.name===o.configFile.model_name,model_type:T.model_type,"on-copy":o.onCopy,"on-copy-link":o.onCopyLink,"on-cancel-install":o.onCancelInstall},null,8,["model","is-installed","on-install","on-uninstall","on-selected","selected","model_type","on-copy","on-copy-link","on-cancel-install"]))),128)),g("button",{ref:"load_more_models",class:"relative items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 select-none",onClick:e[389]||(e[389]=(...T)=>o.load_more_models&&o.load_more_models(...T))},"Load more models",512)]),_:1})],2)])):ie("",!0),i.mzl_collapsed?(k(),P("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[390]||(e[390]=(...T)=>o.open_mzl&&o.open_mzl(...T))},e[760]||(e[760]=[g("i",{"data-feather":"chevron-up"},null,-1)]))):(k(),P("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[391]||(e[391]=(...T)=>o.open_mzl&&o.open_mzl(...T))},e[761]||(e[761]=[g("i",{"data-feather":"chevron-down"},null,-1)]))),g("div",crr,[g("div",urr,[g("div",null,[g("div",drr,[e[762]||(e[762]=g("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Create a reference from local file path:",-1)),te(g("input",{type:"text","onUpdate:modelValue":e[392]||(e[392]=T=>i.reference_path=T),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter Path ...",required:""},null,512),[[Ne,i.reference_path]])]),g("button",{type:"button",onClick:e[393]||(e[393]=ge(T=>o.onCreateReference(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Add reference")]),i.modelDownlaodInProgress?ie("",!0):(k(),P("div",frr,[g("div",prr,[e[763]||(e[763]=g("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Download from web:",-1)),te(g("input",{type:"text","onUpdate:modelValue":e[394]||(e[394]=T=>i.addModel.url=T),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Enter URL ...",required:""},null,512),[[Ne,i.addModel.url]])]),g("button",{type:"button",onClick:e[395]||(e[395]=ge(T=>o.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),i.modelDownlaodInProgress?(k(),P("div",hrr,[e[765]||(e[765]=g("div",{role:"status",class:"justify-center"},null,-1)),g("div",Trr,[g("div",mrr,[g("div",grr,[e[764]||(e[764]=jl(' Downloading Loading...',1)),g("span",_rr,ue(Math.floor(i.addModel.progress))+"%",1)]),g("div",{class:"mx-1 opacity-80 line-clamp-1",title:i.addModel.url},ue(i.addModel.url),9,Qrr),g("div",vrr,[g("div",{class:"bg-blue-600 h-2.5 rounded-full",style:gn({width:i.addModel.progress+"%"})},null,4)]),g("div",yrr,[g("span",brr,"Download speed: "+ue(o.speed_computed)+"/s",1),g("span",Err,ue(o.downloaded_size_computed)+"/"+ue(o.total_size_computed),1)])])]),g("div",xrr,[g("div",Srr,[g("div",Lrr,[g("button",{onClick:e[396]||(e[396]=ge((...T)=>o.onCancelInstall&&o.onCancelInstall(...T),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):ie("",!0)])])],2)]),g("div",Crr,[g("div",Arr,[g("button",{onClick:e[399]||(e[399]=ge(T=>i.pzc_collapsed=!i.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[te(g("div",null,e[767]||(e[767]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.pzc_collapsed]]),te(g("div",null,e[768]||(e[768]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.pzc_collapsed]]),e[771]||(e[771]=g("p",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),o.configFile.personalities?(k(),P("div",wrr,"|")):ie("",!0),g("div",Mrr,ue(o.active_pesonality),1),o.configFile.personalities?(k(),P("div",Orr,"|")):ie("",!0),o.configFile.personalities?(k(),P("div",Rrr,[o.mountedPersArr.length>0?(k(),P("div",Nrr,[(k(!0),P(ze,null,lt(o.mountedPersArr,(T,Q)=>(k(),P("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:Q+"-"+T.name,ref_for:!0,ref:"mountedPersonalities"},[g("div",Drr,[g("button",{onClick:ge(_=>o.onPersonalitySelected(T),["stop"])},[g("img",{src:i.bUrl+T.avatar,onError:e[397]||(e[397]=(..._)=>o.personalityImgPlacehodler&&o.personalityImgPlacehodler(..._)),class:We(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(T.full_path)?"border-secondary":"border-transparent z-0"]),title:T.name},null,42,krr)],8,Irr),g("button",{onClick:ge(_=>o.unmountPersonality(T),["stop"])},e[769]||(e[769]=[g("span",{class:"hidden group-hover:block -top-2 -right-1 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[g("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)]),8,Prr)])]))),128))])):ie("",!0)])):ie("",!0),g("button",{onClick:e[398]||(e[398]=ge(T=>o.unmountAll(),["stop"])),class:"bg-bg-light hover:border-green-200 ml-5 dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount All"},e[770]||(e[770]=[g("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))])]),g("div",{class:We([{hidden:i.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[g("div",Hrr,[e[774]||(e[774]=g("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),g("div",Vrr,[g("div",Frr,[i.searchPersonalityInProgress?(k(),P("div",Brr,e[772]||(e[772]=[g("div",{role:"status"},[g("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),g("span",{class:"sr-only"},"Loading...")],-1)]))):ie("",!0),i.searchPersonalityInProgress?ie("",!0):(k(),P("div",$rr,e[773]||(e[773]=[g("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)])))]),te(g("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[400]||(e[400]=T=>i.searchPersonality=T),onKeyup:e[401]||(e[401]=ge((...T)=>o.searchPersonality_func&&o.searchPersonality_func(...T),["stop"]))},null,544),[[Ne,i.searchPersonality]]),i.searchPersonality?(k(),P("button",{key:0,onClick:e[402]||(e[402]=ge(T=>i.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):ie("",!0)])]),i.searchPersonality?ie("",!0):(k(),P("div",Urr,[g("label",Grr," Personalities Category: ("+ue(i.persCatgArr.length)+") ",1),g("select",{id:"persCat",onChange:e[403]||(e[403]=T=>o.update_personality_category(T.target.value,o.refresh)),class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},[(k(!0),P(ze,null,lt(i.persCatgArr,(T,Q)=>(k(),P("option",{key:Q,selected:T==this.configFile.personality_category},ue(T),9,qrr))),128))],32)])),g("div",null,[i.personalitiesFiltered.length>0?(k(),P("div",zrr,[g("label",jrr,ue(i.searchPersonality?"Search results":"Personalities")+": ("+ue(i.personalitiesFiltered.length)+") ",1),g("div",{class:We(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",i.pzl_collapsed?"":"max-h-96"])},[ae(Gs,{name:"bounce"},{default:Be(()=>[(k(!0),P(ze,null,lt(i.personalitiesFiltered,(T,Q)=>(k(),wt(h,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+Q+"-"+T.name,personality:T,select_language:!0,full_path:T.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(_=>_===T.full_path||_===T.full_path+":"+T.language),"on-selected":o.onPersonalitySelected,"on-mount":o.mountPersonality,"on-un-mount":o.unmountPersonality,"on-remount":o.remountPersonality,"on-edit":o.editPersonality,"on-copy-to-custom":o.copyToCustom,"on-reinstall":o.onPersonalityReinstall,"on-settings":o.onSettingsPersonality,"on-copy-personality-name":o.onCopyPersonalityName,"on-copy-to_custom":o.onCopyToCustom,"on-open-folder":o.handleOpenFolder},null,8,["personality","full_path","selected","on-selected","on-mount","on-un-mount","on-remount","on-edit","on-copy-to-custom","on-reinstall","on-settings","on-copy-personality-name","on-copy-to_custom","on-open-folder"]))),128))]),_:1})],2)])):ie("",!0)]),i.pzl_collapsed?(k(),P("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[404]||(e[404]=T=>i.pzl_collapsed=!i.pzl_collapsed)},e[775]||(e[775]=[g("i",{"data-feather":"chevron-up"},null,-1)]))):(k(),P("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[405]||(e[405]=T=>i.pzl_collapsed=!i.pzl_collapsed)},e[776]||(e[776]=[g("i",{"data-feather":"chevron-down"},null,-1)])))],2)]),g("div",Wrr,[g("div",Yrr,[g("button",{onClick:e[406]||(e[406]=ge(T=>i.mc_collapsed=!i.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[te(g("div",null,e[777]||(e[777]=[g("i",{"data-feather":"chevron-right"},null,-1)]),512),[[Ht,i.mc_collapsed]]),te(g("div",null,e[778]||(e[778]=[g("i",{"data-feather":"chevron-down"},null,-1)]),512),[[Ht,!i.mc_collapsed]]),e[779]||(e[779]=g("p",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1))])]),g("div",{class:We([{hidden:i.mc_collapsed},"flex flex-col mb-2 p-2"])},[g("div",Krr,[g("div",Zrr,[te(g("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[407]||(e[407]=ge(()=>{},["stop"])),"onUpdate:modelValue":e[408]||(e[408]=T=>o.configFile.override_personality_model_parameters=T),onChange:e[409]||(e[409]=T=>o.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[at,o.configFile.override_personality_model_parameters]]),e[780]||(e[780]=g("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1))])]),g("div",{class:We(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[g("div",Xrr,[e[781]||(e[781]=g("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),te(g("input",{type:"text",id:"seed","onUpdate:modelValue":e[410]||(e[410]=T=>o.configFile.seed=T),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Ne,o.configFile.seed]])]),g("div",Jrr,[g("div",eir,[g("div",tir,[e[782]||(e[782]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),g("p",nir,[te(g("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[411]||(e[411]=T=>o.configFile.temperature=T),onChange:e[412]||(e[412]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.temperature]])])]),te(g("input",{id:"temperature",onChange:e[413]||(e[413]=T=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[414]||(e[414]=T=>o.configFile.temperature=T),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.temperature]])])]),g("div",rir,[g("div",iir,[g("div",oir,[e[783]||(e[783]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),g("p",sir,[te(g("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[415]||(e[415]=T=>o.configFile.n_predict=T),onChange:e[416]||(e[416]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.n_predict]])])]),te(g("input",{id:"predict",type:"range",onChange:e[417]||(e[417]=T=>i.settingsChanged=!0),"onUpdate:modelValue":e[418]||(e[418]=T=>o.configFile.n_predict=T),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.n_predict]])])]),g("div",air,[g("div",lir,[g("div",cir,[e[784]||(e[784]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),g("p",uir,[te(g("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[419]||(e[419]=T=>o.configFile.top_k=T),onChange:e[420]||(e[420]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.top_k]])])]),te(g("input",{id:"top_k",type:"range",onChange:e[421]||(e[421]=T=>i.settingsChanged=!0),"onUpdate:modelValue":e[422]||(e[422]=T=>o.configFile.top_k=T),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.top_k]])])]),g("div",dir,[g("div",fir,[g("div",pir,[e[785]||(e[785]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),g("p",hir,[te(g("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[423]||(e[423]=T=>o.configFile.top_p=T),onChange:e[424]||(e[424]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.top_p]])])]),te(g("input",{id:"top_p",type:"range","onUpdate:modelValue":e[425]||(e[425]=T=>o.configFile.top_p=T),min:"0",max:"1",step:"0.01",onChange:e[426]||(e[426]=T=>i.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.top_p]])])]),g("div",Tir,[g("div",mir,[g("div",gir,[e[786]||(e[786]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),g("p",_ir,[te(g("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[427]||(e[427]=T=>o.configFile.repeat_penalty=T),onChange:e[428]||(e[428]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.repeat_penalty]])])]),te(g("input",{id:"repeat_penalty",onChange:e[429]||(e[429]=T=>i.settingsChanged=!0),type:"range","onUpdate:modelValue":e[430]||(e[430]=T=>o.configFile.repeat_penalty=T),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.repeat_penalty]])])]),g("div",Qir,[g("div",vir,[g("div",yir,[e[787]||(e[787]=g("p",{class:"absolute left-0 mt-6"},[g("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),g("p",bir,[te(g("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[431]||(e[431]=T=>o.configFile.repeat_last_n=T),onChange:e[432]||(e[432]=T=>i.settingsChanged=!0),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.repeat_last_n]])])]),te(g("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":e[433]||(e[433]=T=>o.configFile.repeat_last_n=T),min:"0",max:"100",step:"1",onChange:e[434]||(e[434]=T=>i.settingsChanged=!0),class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,544),[[Ne,o.configFile.repeat_last_n]])])])],2)],2)])],2)]),ae(f,{ref:"addmodeldialog"},null,512),ae(m,{class:"z-20",show:i.variantSelectionDialogVisible,choices:i.variant_choices,onChoiceSelected:o.onVariantChoiceSelected,onCloseDialog:o.oncloseVariantChoiceDialog,onChoiceValidated:o.onvalidateVariantChoice},null,8,["show","choices","onChoiceSelected","onCloseDialog","onChoiceValidated"])],64)}const xir=Et(RWn,[["render",Eir],["__scopeId","data-v-ef4afece"]]),Sir={components:{ClipBoardTextInput:qb,Card:I9},data(){return{dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDataset:""}},methods:{submitForm(){const t={model_name:this.selectedModel,dataset_file:this.selectedDataset,max_length:this.max_length,batch_size:this.batch_size,lr:this.lr,num_epochs:this.num_epochs,output_dir:this.selectedFolder};ye.post("/start_training",t).then(e=>{})},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDataset(t){const e=t.target.files;e.length>0&&(this.selectedDataset=e[0])}},computed:{selectedModel:{get(){return this.$store.state.selectedModel}},models:{get(){return this.$store.state.modelsArr}}},watch:{model_name(t){console.log("watching model_name",t),this.$refs.clipboardInput.inputValue=t}}},Lir={key:0,class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},Cir={class:"mb-4"},Air=["value"],wir={class:"mb-4"},Mir={class:"mb-4"},Oir={class:"mb-4"},Rir={class:"mb-4"},Nir={class:"mb-4"},Dir={class:"mb-4"},Iir={key:1};function kir(t,e,n,r,i,o){const s=gt("Card"),a=gt("ClipBoardTextInput");return o.selectedModel!==null&&o.selectedModel.toLowerCase().includes("gptq")?(k(),P("div",Lir,[g("form",{onSubmit:e[2]||(e[2]=ge((...l)=>o.submitForm&&o.submitForm(...l),["prevent"])),class:""},[ae(s,{title:"Training configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[ae(s,{title:"Model",class:"",isHorizontal:!1},{default:Be(()=>[g("div",Cir,[e[3]||(e[3]=g("label",{for:"model_name",class:"text-sm"},"Model Name:",-1)),te(g("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>o.selectedModel=l),onChange:e[1]||(e[1]=(...l)=>t.setModel&&t.setModel(...l)),class:"bg-white dark:bg-black m-0 border-2 rounded-md shadow-sm w-full"},[(k(!0),P(ze,null,lt(o.models,l=>(k(),P("option",{key:l,value:l},ue(l),9,Air))),128))],544),[[hn,o.selectedModel]])])]),_:1}),ae(s,{title:"Data",isHorizontal:!1},{default:Be(()=>[g("div",wir,[e[4]||(e[4]=g("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1)),ae(a,{id:"model_path",inputType:"file",value:i.dataset_path,onchange:"selectDataset()"},null,8,["value"])])]),_:1}),ae(s,{title:"Training",isHorizontal:!1},{default:Be(()=>[g("div",Mir,[e[5]||(e[5]=g("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1)),ae(a,{id:"model_path",inputType:"integer",value:i.lr},null,8,["value"])]),g("div",Oir,[e[6]||(e[6]=g("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1)),ae(a,{id:"model_path",inputType:"integer",value:i.num_epochs},null,8,["value"])]),g("div",Rir,[e[7]||(e[7]=g("label",{for:"max_length",class:"text-sm"},"Max Length:",-1)),ae(a,{id:"model_path",inputType:"integer",value:i.max_length},null,8,["value"])]),g("div",Nir,[e[8]||(e[8]=g("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1)),ae(a,{id:"model_path",inputType:"integer",value:i.batch_size},null,8,["value"])])]),_:1}),ae(s,{title:"Output",isHorizontal:!1},{default:Be(()=>[g("div",Dir,[e[9]||(e[9]=g("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1)),ae(a,{id:"model_path",inputType:"text",value:t.output_dir},null,8,["value"])])]),_:1})]),_:1}),ae(s,{disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>e[10]||(e[10]=[g("button",{class:"bg-blue-500 text-white px-4 py-2 rounded"},"Start training",-1)])),_:1})],32)])):(k(),P("div",Iir,[ae(s,{title:"Info",class:"",isHorizontal:!1},{default:Be(()=>e[11]||(e[11]=[nt(" Only GPTQ models are supported for QLora fine tuning. Please select a GPTQ compatible binding. ")])),_:1})]))}const Pir=Et(Sir,[["render",kir]]),Hir={components:{ClipBoardTextInput:qb,Card:I9},data(){return{model_name:"jondurbin/airoboros-7b-gpt4",tokenizer_name:"jondurbin/airoboros-7b-gpt4",dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDatasetPath:""}},methods:{submitForm(){this.model_name,this.tokenizer_name,this.selectedDatasetPath,this.max_length,this.batch_size,this.lr,this.num_epochs,this.selectedFolder},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(t){const e=t.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},Vir={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},Fir={class:"mb-4"},Bir={class:"mb-4"};function $ir(t,e,n,r,i,o){const s=gt("ClipBoardTextInput"),a=gt("Card");return k(),P("div",Vir,[g("form",{onSubmit:e[0]||(e[0]=ge((...l)=>o.submitForm&&o.submitForm(...l),["prevent"])),class:"max-w-md mx-auto"},[ae(a,{title:"Quantizing configuration",isHorizontal:!0,disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>[ae(a,{title:"Model",class:"",isHorizontal:!1},{default:Be(()=>[g("div",Fir,[e[1]||(e[1]=g("label",{for:"model_name",class:"text-sm"},"Model Name:",-1)),ae(s,{id:"model_path",inputType:"text",value:i.model_name},null,8,["value"])]),g("div",Bir,[e[2]||(e[2]=g("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1)),ae(s,{id:"model_path",inputType:"text",value:i.tokenizer_name},null,8,["value"])])]),_:1})]),_:1}),ae(a,{disableHoverAnimation:!0,disableFocus:!0},{default:Be(()=>e[3]||(e[3]=[g("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Quantize LLM",-1)])),_:1})],32)])}const Uir=Et(Hir,[["render",$ir]]),Gir={name:"Discussion",emits:["delete","select","openFolder","editTitle","makeTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean,openfolder_enabled:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,makeTitleMode:!1,deleteMode:!1,openFolder:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{cancel(){this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1},deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},openFolderEvent(){this.$emit("openFolder",{id:this.id})},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.makeTitleMode=!1,this.deleteMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},makeTitleEvent(){this.$emit("makeTitle",{id:this.id}),this.showConfirmation=!1},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,Ke(()=>{Xe.replace()})},watch:{showConfirmation(){Ke(()=>{Xe.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&Ke(()=>{try{this.$refs.titleBox.focus()}catch{}})},deleteMode(t){this.showConfirmation=t,t&&Ke(()=>{this.$refs.titleBox.focus()})},makeTitleMode(t){this.showConfirmation=t},checkBoxValue(t,e){this.checkBoxValue_local=t}}},qir=["id"],zir={class:"flex flex-row items-center gap-2"},jir={key:0},Wir={class:"flex flex-row items-center w-full"},Yir=["title"],Kir=["value"],Zir={class:"absolute top-0 right-0 h-full flex items-center group"},Xir={class:"discussion-toolbox"},Jir={key:0,class:"flex gap-2 items-center"},eor={key:1,class:"flex gap-2 items-center"};function tor(t,e,n,r,i,o){return k(),P("div",{class:We([n.selected?"discussion-hilighted":"discussion","m-1 py-2 flex flex-row sm:flex-row flex-wrap flex-shrink-0 items-center rounded-md duration-75 cursor-pointer relative w-[15rem]"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=ge(s=>o.selectEvent(),["stop"]))},[g("div",zir,[n.isCheckbox?(k(),P("div",jir,[te(g("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=ge(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=s=>i.checkBoxValue_local=s),onInput:e[2]||(e[2]=s=>o.checkedChangeEvent(s,n.id))},null,544),[[at,i.checkBoxValue_local]])])):ie("",!0),n.selected?(k(),P("div",{key:1,class:We(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent":"bg-secondary"])},null,2)):ie("",!0),n.selected?ie("",!0):(k(),P("div",{key:2,class:We(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent":""])},null,2))]),g("div",Wir,[i.editTitle?ie("",!0):(k(),P("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5 text-xs"},ue(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,Yir)),i.editTitle?(k(),P("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=ri(ge(s=>o.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=ri(ge(s=>i.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=s=>o.chnageTitle(s.target.value)),onClick:e[6]||(e[6]=ge(()=>{},["stop"]))},null,40,Kir)):ie("",!0)]),g("div",Zir,[g("div",Xir,[i.showConfirmation?(k(),P("div",Jir,[g("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[7]||(e[7]=ge(s=>o.cancel(),["stop"]))},e[14]||(e[14]=[g("i",{"data-feather":"x"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[8]||(e[8]=ge(s=>i.editTitleMode?o.editTitleEvent():i.deleteMode?o.deleteEvent():o.makeTitleEvent(),["stop"]))},e[15]||(e[15]=[g("i",{"data-feather":"check"},null,-1)]))])):ie("",!0),i.showConfirmation?ie("",!0):(k(),P("div",eor,[n.openfolder_enabled?(k(),P("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Open folder",type:"button",onClick:e[9]||(e[9]=ge(s=>o.openFolderEvent(),["stop"]))},e[16]||(e[16]=[g("i",{"data-feather":"folder"},null,-1)]))):ie("",!0),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Make a title",type:"button",onClick:e[10]||(e[10]=ge(s=>i.makeTitleMode=!0,["stop"]))},e[17]||(e[17]=[g("i",{"data-feather":"type"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=ge(s=>i.editTitleMode=!0,["stop"]))},e[18]||(e[18]=[g("i",{"data-feather":"edit-2"},null,-1)])),g("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=ge(s=>i.deleteMode=!0,["stop"]))},e[19]||(e[19]=[g("i",{"data-feather":"trash"},null,-1)]))]))])])],10,qir)}const rE=Et(Gir,[["render",tor],["__scopeId","data-v-2b3580ce"]]),nor={data(){return{show:!1,prompt:"",inputText:""}},methods:{showPanel(){this.show=!0},ok(){this.show=!1,this.$emit("ok",this.inputText)},cancel(){this.show=!1,this.inputText=""}},props:{promptText:{type:String,required:!0}},watch:{promptText(t){this.prompt=t}}},ror={key:0,class:"fixed top-0 left-0 w-full h-full flex justify-center items-center bg-black bg-opacity-50"},ior={class:"bg-white p-8 rounded"},oor={class:"text-xl font-bold mb-4"};function sor(t,e,n,r,i,o){return k(),P("div",null,[i.show?(k(),P("div",ror,[g("div",ior,[g("h2",oor,ue(n.promptText),1),te(g("input",{type:"text","onUpdate:modelValue":e[0]||(e[0]=s=>i.inputText=s),class:"border border-gray-300 px-4 py-2 rounded mb-4"},null,512),[[Ne,i.inputText]]),g("button",{onClick:e[1]||(e[1]=(...s)=>o.ok&&o.ok(...s)),class:"bg-blue-500 text-white px-4 py-2 rounded mr-2"},"OK"),g("button",{onClick:e[2]||(e[2]=(...s)=>o.cancel&&o.cancel(...s)),class:"bg-gray-500 text-white px-4 py-2 rounded"},"Cancel")])])):ie("",!0)])}const aor=Et(nor,[["render",sor]]),lor={data(){return{id:0,loading:!1,isCheckbox:!1,isVisible:!1,categories:[],titles:[],content:"",searchQuery:""}},components:{Discussion:rE,MarkdownRenderer:O9},props:{host:{type:String,required:!1,default:"http://localhost:9600"}},methods:{showSkillsLibrary(){this.isVisible=!0,this.fetchTitles()},closeComponent(){this.isVisible=!1},fetchCategories(){ye.post("/get_skills_library_categories",{client_id:this.$store.state.client_id}).then(t=>{this.categories=t.data.categories}).catch(t=>{console.error("Error fetching categories:",t)})},fetchTitles(){console.log("Fetching categories"),ye.post("/get_skills_library_titles",{client_id:this.$store.state.client_id}).then(t=>{this.titles=t.data.titles,console.log("titles recovered")}).catch(t=>{console.error("Error fetching titles:",t)})},fetchContent(t){console.log("loading skill",t),ye.post("/get_skills_library_content",{client_id:this.$store.state.client_id,skill_id:t}).then(e=>{const n=e.data.contents[0];this.id=n.id,this.content=n.content}).catch(e=>{console.error("Error fetching content:",e)})},deleteCategory(t){console.log("Delete category")},editCategory(t){console.log("Edit category")},checkUncheckCategory(t){console.log("Unchecked category")},deleteSkill(t){console.log("Delete skill ",t),ye.post("/delete_skill",{client_id:this.$store.state.client_id,skill_id:t}).then(()=>{this.fetchTitles()})},editTitle(t){ye.post("/edit_skill_title",{client_id:this.$store.state.client_id,skill_id:t,title:t}).then(()=>{this.fetchTitles()}),console.log("Edit title")},makeTitle(t){console.log("Make title")},checkUncheckTitle(t){},searchSkills(){}}},cor={id:"leftPanel",class:"flex flex-row h-full flex-grow shadow-lg rounded"},uor={class:"w-[15rem] z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md overflow-y-scroll no-scrollbar"},dor={classclass:"absolute flex flex-col no-scrollbar shadow-lg w-[15rem] bg-bg-light-tone dark:bg-bg-dark-tone top-20 left-20 bottom-20 right-20 bg-bg-light shadow-lg rounded"},por={class:"z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"};function hor(t,e,n,r,i,o){const s=gt("Discussion"),a=gt("MarkdownRenderer");return k(),P("div",{class:We([{hidden:!i.isVisible},"absolute flex flex-col no-scrollbar shadow-lg bg-bg-light dark:bg-bg-dark top-20 left-20 bottom-20 right-20 shadow-lg rounded"])},[g("div",cor,[g("div",uor,[te(g("input",{type:"search",id:"default-search",class:"block w-full h-8 px-8 text-sm border border-gray-300 rounded-md bg-bg-light focus:ring-1 focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary transition-all duration-200",placeholder:"Search discussions...",title:"Filter skills by title","onUpdate:modelValue":e[0]||(e[0]=l=>i.searchQuery=l),onKeyup:e[1]||(e[1]=ri((...l)=>o.searchSkills&&o.searchSkills(...l),["enter"]))},null,544),[[Ne,i.searchQuery]]),g("div",dor,[e[3]||(e[3]=g("h2",{class:"text-xl font-bold m-4"},"Titles",-1)),i.titles.length>0?(k(),wt(Gs,{key:0,name:"list"},{default:Be(()=>[(k(!0),P(ze,null,lt(i.titles,l=>(k(),wt(s,{key:l.id,id:l.id,title:l.title,selected:o.fetchContent(l.id),loading:i.loading,isCheckbox:i.isCheckbox,checkBoxValue:!1,openfolder_enabled:!1,onSelect:c=>o.fetchContent(l.id),onDelete:c=>o.deleteSkill(l.id),onEditTitle:o.editTitle,onMakeTitle:o.makeTitle,onChecked:o.checkUncheckTitle},null,8,["id","title","selected","loading","isCheckbox","onSelect","onDelete","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):ie("",!0)])]),g("div",por,[e[4]||(e[4]=g("h2",{class:"text-xl font-bold m-4"},"Content",-1)),ae(a,{host:n.host,"markdown-text":i.content,message_id:i.id,discussion_id:i.id,client_id:this.$store.state.client_id},null,8,["host","markdown-text","message_id","discussion_id","client_id"])])]),g("button",{onClick:e[2]||(e[2]=(...l)=>o.closeComponent&&o.closeComponent(...l)),class:"absolute top-2 right-2 bg-red-500 text-white rounded px-2 py-1 hover:bg-red-300"},"Close")],2)}const VU=Et(lor,[["render",hor]]),Tor={props:{htmlContent:{type:String,required:!0}}},mor=["innerHTML"];function gor(t,e,n,r,i,o){return k(),P("div",{class:"w-full h-full overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",innerHTML:n.htmlContent},null,8,mor)}const _or=Et(Tor,[["render",gor]]),Qor={name:"JsonTreeView",props:{data:{type:[Object,Array],required:!0},depth:{type:Number,default:0}},data(){return{collapsedKeys:new Set}},methods:{isObject(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},isArray(t){return Array.isArray(t)},toggleCollapse(t){this.collapsedKeys.has(t)?this.collapsedKeys.delete(t):this.collapsedKeys.add(t)},isCollapsed(t){return this.collapsedKeys.has(t)},getValueType(t){return typeof t=="string"?"string":typeof t=="number"?"number":typeof t=="boolean"?"boolean":t===null?"null":""},formatValue(t){return typeof t=="string"?`"${t}"`:String(t)}}},vor={class:"json-tree-view"},yor=["onClick"],bor={key:0,class:"toggle-icon"},Eor={class:"key"},xor={key:0,class:"json-nested"};function Sor(t,e,n,r,i,o){const s=gt("json-tree-view",!0);return k(),P("div",vor,[(k(!0),P(ze,null,lt(n.data,(a,l)=>(k(),P("div",{key:l,class:"json-item"},[g("div",{class:"json-key",onClick:c=>o.toggleCollapse(l)},[o.isObject(a)||o.isArray(a)?(k(),P("span",bor,[g("i",{class:We(o.isCollapsed(l)?"fas fa-chevron-right":"fas fa-chevron-down")},null,2)])):ie("",!0),g("span",Eor,ue(l)+":",1),!o.isObject(a)&&!o.isArray(a)?(k(),P("span",{key:1,class:We(["value",o.getValueType(a)])},ue(o.formatValue(a)),3)):ie("",!0)],8,yor),(o.isObject(a)||o.isArray(a))&&!o.isCollapsed(l)?(k(),P("div",xor,[ae(s,{data:a,depth:n.depth+1},null,8,["data","depth"])])):ie("",!0)]))),128))])}const Lor=Et(Qor,[["render",Sor],["__scopeId","data-v-40406ec6"]]),Cor={components:{JsonTreeView:Lor},props:{jsonData:{type:[Object,Array,String],default:null},jsonFormText:{type:String,default:"JSON Viewer"}},data(){return{collapsed:!0}},computed:{isContentPresent(){return this.jsonData!==null&&(typeof this.jsonData!="string"||this.jsonData.trim()!=="")},parsedJsonData(){if(typeof this.jsonData=="string")try{return JSON.parse(this.jsonData)}catch(t){return console.error("Error parsing JSON string:",t),{error:"Invalid JSON string"}}return this.jsonData}},methods:{toggleCollapsible(){this.collapsed=!this.collapsed}}},Aor={key:0,class:"json-viewer"},wor={class:"toggle-icon"},Mor={class:"json-content panels-color"};function Oor(t,e,n,r,i,o){const s=gt("json-tree-view");return o.isContentPresent?(k(),P("div",Aor,[g("div",{class:"collapsible-section",onClick:e[0]||(e[0]=(...a)=>o.toggleCollapsible&&o.toggleCollapsible(...a))},[g("span",wor,[g("i",{class:We(i.collapsed?"fas fa-chevron-right":"fas fa-chevron-down")},null,2)]),nt(" "+ue(n.jsonFormText),1)]),te(g("div",Mor,[ae(s,{data:o.parsedJsonData,depth:0},null,8,["data"])],512),[[Ht,!i.collapsed]])])):ie("",!0)}const Ror=Et(Cor,[["render",Oor],["__scopeId","data-v-83fc9727"]]),Nor={props:{done:Boolean,text:String,status:Boolean,description:String}},Dor={class:"flex items-start gap-2 w-full"},Ior={class:"w-4 h-4 flex-shrink-0"},kor={key:0,class:"w-4 h-4 text-green-500 dark:text-green-400",viewBox:"0 0 24 24",fill:"currentColor"},Por={key:1,class:"w-4 h-4 text-red-500 dark:text-red-400",viewBox:"0 0 24 24",fill:"currentColor"},Hor={key:1,class:"w-4 h-4 border-2 border-t-primary rounded-full animate-spin"},Vor={class:"min-w-0"},For={class:"text-sm text-gray-700 dark:text-gray-200 truncate"},Bor={key:0,class:"text-xs text-gray-500 dark:text-gray-400 truncate"};function $or(t,e,n,r,i,o){return k(),P("div",{class:We(["flex items-center p-2 rounded transition-colors duration-200",[n.done?"bg-opacity-5":"bg-opacity-3",n.status?"bg-green-50 dark:bg-green-900/20":"bg-gray-50 dark:bg-gray-800/20"]])},[g("div",Dor,[g("div",Ior,[n.done?(k(),P(ze,{key:0},[n.status?(k(),P("svg",kor,e[0]||(e[0]=[g("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"},null,-1)]))):(k(),P("svg",Por,e[1]||(e[1]=[g("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"},null,-1)])))],64)):(k(),P("div",Hor))]),g("div",Vor,[g("div",For,ue(n.text||"No text provided"),1),n.description?(k(),P("div",Bor,ue(n.description),1)):ie("",!0)])])],2)}const Uor=Et(Nor,[["render",$or],["__scopeId","data-v-2cb174d6"]]),Gor="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20height='800px'%20width='800px'%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20480%20480'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cg%3e%3cpath%20d='M240,0C107.664,0,0,107.664,0,240s107.664,240,240,240s240-107.664,240-240S372.336,0,240,0z%20M240,460%20c-121.309,0-220-98.691-220-220S118.691,20,240,20s220,98.691,220,220S361.309,460,240,460z'/%3e%3cpath%20d='M410,194.999h-27.058c-2.643-8.44-6-16.56-10.03-24.271l19.158-19.158c3.776-3.775,5.854-8.79,5.854-14.121%20c0-5.332-2.08-10.347-5.854-14.121l-35.399-35.399c-3.775-3.775-8.79-5.854-14.122-5.854c-5.331,0-10.346,2.079-14.121,5.854%20l-19.158,19.158c-7.711-4.03-15.832-7.386-24.271-10.03V70c0-11.028-8.972-20-20-20h-50c-11.028,0-20,8.972-20,20v27.058%20c-8.44,2.643-16.56,6-24.271,10.03L151.57,87.93c-3.775-3.776-8.79-5.854-14.121-5.854c-5.332,0-10.347,2.08-14.121,5.854%20l-35.399,35.399c-3.775,3.775-5.854,8.79-5.854,14.122c0,5.331,2.079,10.346,5.854,14.121l19.158,19.158%20c-4.03,7.711-7.386,15.832-10.03,24.271H70c-11.028,0-20,8.972-20,20v50c0,11.028,8.972,20,20,20h27.057%20c2.643,8.44,6,16.56,10.03,24.271L87.929,328.43c-3.776,3.775-5.854,8.79-5.854,14.121c0,5.332,2.08,10.347,5.854,14.121%20l35.399,35.399c3.775,3.775,8.79,5.854,14.122,5.854c5.331,0,10.346-2.079,14.121-5.854l19.158-19.158%20c7.711,4.03,15.832,7.386,24.271,10.03V410c0,11.028,8.972,20,20,20h50c11.028,0,20-8.972,20.001-20v-27.058%20c8.44-2.643,16.56-6,24.271-10.03l19.158,19.158c3.775,3.776,8.79,5.854,14.121,5.854c5.332,0,10.347-2.08,14.121-5.854%20l35.399-35.399c3.775-3.775,5.854-8.79,5.854-14.122c0-5.331-2.079-10.346-5.854-14.121l-19.158-19.158%20c4.03-7.711,7.386-15.832,10.03-24.271H410c11.028,0,20-8.972,20-20v-50C430,203.971,421.028,194.999,410,194.999z%20M410,264.998%20h-34.598c-4.562,0-8.544,3.086-9.684,7.503c-3.069,11.901-7.716,23.133-13.813,33.387c-2.337,3.931-1.71,8.948,1.524,12.182%20l24.5,24.457l-35.357,35.4l-24.5-24.5c-3.236-3.235-8.253-3.86-12.182-1.524c-10.254,6.097-21.487,10.745-33.387,13.813%20c-4.417,1.14-7.503,5.122-7.503,9.684V410h-50v-34.599c0-4.562-3.086-8.544-7.503-9.684%20c-11.901-3.069-23.133-7.716-33.387-13.813c-1.587-0.944-3.353-1.404-5.107-1.404c-2.586,0-5.147,1.002-7.073,2.931l-24.457,24.5%20l-35.4-35.357l24.5-24.5c3.234-3.235,3.861-8.251,1.524-12.182c-6.097-10.254-10.745-21.487-13.813-33.387%20c-1.14-4.417-5.122-7.503-9.684-7.503H70v-50h34.596c4.562,0,8.544-3.086,9.684-7.503c3.069-11.901,7.716-23.133,13.813-33.387%20c2.337-3.931,1.71-8.948-1.524-12.182l-24.5-24.457l35.357-35.4l24.5,24.5c3.236,3.235,8.253,3.861,12.182,1.524%20c10.254-6.097,21.487-10.745,33.387-13.813c4.417-1.14,7.503-5.122,7.503-9.684V70h50v34.596c0,4.562,3.086,8.544,7.503,9.684%20c11.901,3.069,23.133,7.716,33.387,13.813c3.929,2.337,8.947,1.709,12.182-1.524l24.457-24.5l35.4,35.357l-24.5,24.5%20c-3.234,3.235-3.861,8.251-1.524,12.182c6.097,10.254,10.745,21.487,13.813,33.387c1.14,4.417,5.122,7.503,9.684,7.503H410%20V264.998z'/%3e%3cpath%20d='M331.585,292.475l-40-35l-13.17,15.051L298.386,290H240c-27.57,0-50-22.43-50-50h-20c0,38.598,31.402,70,70,70h58.386%20l-19.971,17.475l13.17,15.051l40-35c2.17-1.898,3.415-4.642,3.415-7.525S333.755,294.373,331.585,292.475z'/%3e%3cpath%20d='M201.585,207.473L181.614,190H240c27.57,0,50,22.43,50,50h20c0-38.598-31.402-70-70-70h-58.386l19.971-17.475%20l-13.17-15.051l-40,35c-2.17,1.898-3.415,4.642-3.415,7.525s1.245,5.627,3.415,7.525l40,35L201.585,207.473z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3canimateTransform%20attributeName='transform'%20attributeType='XML'%20type='rotate'%20from='0%20240%20240'%20to='360%20240%20240'%20dur='10s'%20repeatCount='indefinite'%20/%3e%3c/svg%3e",qor="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2050'%3e%3cpath%20d='M25%200C11.6%200%200%2011.6%200%2025s11.6%2025%2025%2025%2025-11.6%2025-25S40.4%200%2025%200zm0%2048C12.8%2048%202%2039.2%202%2025S12.8%202%2025%202s24%2010.8%2024%2024-10.8%2024-24%2024zm-4-33l-8%208%2018%2018%2030-30-8-8-22%2022L22%2016'%20fill='green'/%3e%3c/svg%3e",zor="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012%2019%206.41z'%20fill='red'/%3e%3c/svg%3e",FU="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%20width='256'%20height='256'%20viewBox='0%200%20256%20256'%20xml:space='preserve'%3e%3cdefs%3e%3c/defs%3e%3cg%20style='stroke:%20white;%20stroke-width:%202px;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20none;%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='translate(1.4065934065934016%201.4065934065934016)%20scale(2.81%202.81)'%20%3e%3cpath%20d='M%2089.999%203.075%20C%2090%203.02%2090%202.967%2089.999%202.912%20c%20-0.004%20-0.134%20-0.017%20-0.266%20-0.038%20-0.398%20c%20-0.007%20-0.041%20-0.009%20-0.081%20-0.018%20-0.122%20c%20-0.034%20-0.165%20-0.082%20-0.327%20-0.144%20-0.484%20c%20-0.018%20-0.046%20-0.041%20-0.089%20-0.061%20-0.134%20c%20-0.053%20-0.119%20-0.113%20-0.234%20-0.182%20-0.346%20C%2089.528%201.382%2089.5%201.336%2089.469%201.29%20c%20-0.102%20-0.147%20-0.212%20-0.288%20-0.341%20-0.417%20c%20-0.13%20-0.13%20-0.273%20-0.241%20-0.421%20-0.344%20c%20-0.042%20-0.029%20-0.085%20-0.056%20-0.129%20-0.082%20c%20-0.118%20-0.073%20-0.239%20-0.136%20-0.364%20-0.191%20c%20-0.039%20-0.017%20-0.076%20-0.037%20-0.116%20-0.053%20c%20-0.161%20-0.063%20-0.327%20-0.113%20-0.497%20-0.147%20c%20-0.031%20-0.006%20-0.063%20-0.008%20-0.094%20-0.014%20c%20-0.142%20-0.024%20-0.285%20-0.038%20-0.429%20-0.041%20C%2087.03%200%2086.983%200%2086.936%200.001%20c%20-0.141%200.003%20-0.282%200.017%20-0.423%200.041%20c%20-0.035%200.006%20-0.069%200.008%20-0.104%200.015%20c%20-0.154%200.031%20-0.306%200.073%20-0.456%200.129%20L%201.946%2031.709%20c%20-1.124%200.422%20-1.888%201.473%20-1.943%202.673%20c%20-0.054%201.199%200.612%202.316%201.693%202.838%20l%2034.455%2016.628%20l%2016.627%2034.455%20C%2053.281%2089.344%2054.334%2090%2055.481%2090%20c%200.046%200%200.091%20-0.001%200.137%20-0.003%20c%201.199%20-0.055%202.251%20-0.819%202.673%20-1.943%20L%2089.815%204.048%20c%200.056%20-0.149%200.097%20-0.3%200.128%20-0.453%20c%200.008%20-0.041%200.011%20-0.081%200.017%20-0.122%20C%2089.982%203.341%2089.995%203.208%2089.999%203.075%20z%20M%2075.086%2010.672%20L%2037.785%2047.973%20L%2010.619%2034.864%20L%2075.086%2010.672%20z%20M%2055.136%2079.381%20L%2042.027%2052.216%20l%2037.302%20-37.302%20L%2055.136%2079.381%20z'%20style='stroke:%20none;%20stroke-width:%201;%20stroke-dasharray:%20none;%20stroke-linecap:%20butt;%20stroke-linejoin:%20miter;%20stroke-miterlimit:%2010;%20fill:%20rgb(0,0,0);%20fill-rule:%20nonzero;%20opacity:%201;'%20transform='%20matrix(1%200%200%201%200%200)%20'%20stroke-linecap='round'%20/%3e%3ccircle%20cx='75'%20cy='75'%20r='15'%20fill='%23008000'/%3e%3cpath%20d='M75,60%20A15,15%200%200,1%2090,75%20A15,15%200%200,1%2075,90%20A15,15%200%200,1%2060,75%20A15,15%200%200,1%2075,60%20Z'%20stroke='%23FFFFFF'%20stroke-width='2'%20fill='none'/%3e%3cpath%20d='M81,75%20A6,6%200%200,1%2075,81%20A6,6%200%200,1%2069,75%20A6,6%200%200,1%2075,69%20A6,6%200%200,1%2081,75%20Z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3c/svg%3e",jor="/",Wor={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage","continueMessage"],components:{MarkdownRenderer:O9,Step:Uor,RenderHTMLJS:_or,JsonViewer:Ror,DynamicUIRenderer:HU,ToolbarButton:zb,DropdownMenu:kU},props:{host:{type:String,required:!1,default:"http://localhost:9600"},message:Object,avatar:{default:""}},data(){return{ui_componentKey:0,isSynthesizingVoice:!1,cpp_block:bU,html5_block:EU,LaTeX_block:xU,json_block:yU,javascript_block:vU,process_svg:Gor,ok_svg:qor,failed_svg:zor,loading_svg:LU,sendGlobe:FU,code_block:_U,python_block:QU,bash_block:SU,audio_url:null,audio:null,msg:null,isSpeaking:!1,speechSynthesis:null,voices:[],expanded:!1,showConfirmation:!1,editMsgMode_:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){if("speechSynthesis"in window?(this.speechSynthesis=window.speechSynthesis,this.voices=this.speechSynthesis.getVoices(),this.voices.length===0?this.speechSynthesis.addEventListener("voiceschanged",this.onVoicesChanged):console.log("No voices found")):console.error("Speech synthesis is not supported in this browser."),Ke(()=>{Xe.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight}),console.log("Checking metadata"),console.log(this.message),Object.prototype.hasOwnProperty.call(this.message,"metadata")&&this.message.metadata!=null){console.log("Metadata found!"),Array.isArray(this.message.metadata)||(this.message.metadata=[]),console.log(typeof this.message.metadata),console.log(this.message.metadata);for(let t of this.message.metadata)Object.prototype.hasOwnProperty.call(t,"audio_url")&&t.audio_url!=null&&(this.audio_url=t.audio_url,console.log("Audio URL:",this.audio_url))}},methods:{toggleExpanded(){this.expanded=!this.expanded},computeTimeDiff(t,e){let n=e.getTime()-t.getTime();const r=Math.floor(n/(1e3*60*60));n-=r*(1e3*60*60);const i=Math.floor(n/(1e3*60));n-=i*(1e3*60);const o=Math.floor(n/1e3);return n-=o*1e3,[r,i,o]},insertTab(t){const e=t.target,n=e.selectionStart,r=e.selectionEnd,i=t.shiftKey;if(n===r)if(i){if(e.value.substring(n-4,n)==" "){const o=e.value.substring(0,n-4),s=e.value.substring(r),a=o+s;this.message.content=a,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=n-4})}}else{const o=e.value.substring(0,n),s=e.value.substring(r),a=o+" "+s;this.message.content=a,this.$nextTick(()=>{e.selectionStart=e.selectionEnd=n+4})}else{const s=e.value.substring(n,r).split(`
`).map(u=>u.trim()===""?u:i?u.startsWith(" ")?u.substring(4):u:" "+u),a=e.value.substring(0,n),l=e.value.substring(r),c=a+s.join(`
`)+l;this.message.content=c,this.$nextTick(()=>{e.selectionStart=n,e.selectionEnd=r+s.length*4})}t.preventDefault()},onVoicesChanged(){this.voices=this.speechSynthesis.getVoices()},read(){this.isSynthesizingVoice?(this.isSynthesizingVoice=!1,this.$refs.audio_player.pause()):(this.isSynthesizingVoice=!0,ye.post("./text2wav",{text:this.message.content}).then(t=>{this.isSynthesizingVoice=!1;let e=t.data.url;console.log(e),this.audio_url=e,this.message.metadata||(this.message.metadata=[]);let n=!1;for(let r of this.message.metadata)Object.prototype.hasOwnProperty.call(r,"audio_url")&&(r.audio_url=this.audio_url,n=!0);n||this.message.metadata.push({audio_url:this.audio_url}),this.$emit("updateMessage",this.message.id,this.message.content,this.audio_url)}).catch(t=>{this.$store.state.toast.showToast(`Error: ${t}`,4,!1),this.isSynthesizingVoice=!1}))},async speak(){if(this.$store.state.config.active_tts_service!="browser"&&this.$store.state.config.active_tts_service!="None")this.isSpeaking?(this.isSpeaking=!0,ye.post("./stop",{text:this.message.content}).then(t=>{this.isSpeaking=!1}).catch(t=>{this.$store.state.toast.showToast(`Error: ${t}`,4,!1),this.isSpeaking=!1})):(this.isSpeaking=!0,ye.post("./text2Audio",{client_id:this.$store.state.client_id,text:this.message.content}).then(t=>{this.isSpeaking=!1}).catch(t=>{this.$store.state.toast.showToast(`Error: ${t}`,4,!1),this.isSpeaking=!1}));else{if(this.msg){this.speechSynthesis.cancel(),this.msg=null,this.isSpeaking=!1;return}let t=0;console.log("voice on"),this.isSpeaking=!0;const e=200;this.message.content,this.msg=new SpeechSynthesisUtterance,this.msg.pitch=this.$store.state.config.audio_pitch,this.voices.length>0&&(this.msg.voice=this.voices.filter(i=>i.name===this.$store.state.config.audio_out_voice)[0]);const n=i=>{let o=this.message.content.substring(i,i+e);const s=[".","!","?",`
`];let a=-1;return s.forEach(l=>{const c=o.lastIndexOf(l);c>a&&(a=c)}),a==-1&&(a=o.length),console.log(a),a+i+1},r=()=>{if(this.message.status_message=="Done"||this.message.content.includes(".")||this.message.content.includes("?")||this.message.content.includes("!")){const i=n(t),o=this.message.content.substring(t,i);this.msg.text=o,t=i+1,this.msg.onend=s=>{t{r()},1):(this.isSpeaking=!1,console.log("voice off :",this.message.content.length," ",i))},this.speechSynthesis.speak(this.msg)}else setTimeout(()=>{r()},1)};console.log("Speaking chunk"),r()}},toggleModel(){this.expanded=!this.expanded},addBlock(t){let e=this.$refs.mdTextarea.selectionStart,n=this.$refs.mdTextarea.selectionEnd;e==n?speechSynthesis==0||this.message.content[e-1]==`
@@ -330,7 +336,9 @@ If You are using windows, this will install wsl so you need to activate it.
`+this.message.content.slice(e,n)+"\n```\n"+this.message.content.slice(n),p=p+3+t.length),this.$refs.mdTextarea.focus(),this.$refs.mdTextarea.selectionStart=this.$refs.mdTextarea.selectionEnd=p},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.message.content,this.audio_url),this.editMsgMode=!1},resendMessage(t){this.$emit("resendMessage",this.message.id,this.message.content,t)},continueMessage(){this.$emit("continueMessage",this.message.id,this.message.content)},getImgUrl(){return this.avatar?jor+this.avatar:(console.log("No avatar found"),vo)},defaultImg(t){t.target.src=vo},parseDate(t){let e=new Date(Date.parse(t)),r=Math.floor((new Date-e)/1e3);return r<=1?"just now":r<20?r+" seconds ago":r<40?"half a minute ago":r<60?"less than a minute ago":r<=90?"one minute ago":r<=3540?Math.round(r/60)+" minutes ago":r<=5400?"1 hour ago":r<=86400?Math.round(r/3600)+" hours ago":r<=129600?"1 day ago":r<604800?Math.round(r/86400)+" days ago":r<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,r=Math.floor(n/86400);if(!(isNaN(r)||r<0||r>=31))return r==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||r==1&&"Yesterday"||r<7&&r+" days ago"||r<31&&Math.ceil(r/7)+" weeks ago"},checkForFullSentence(){if(this.message.content.trim().split(" ").length>3){this.speak();return}}},watch:{audio_url(t){t&&(this.$refs.audio_player.src=t)},"message.content":function(t){this.$store.state.config.auto_speak&&(this.$store.state.config.xtts_enable&&this.$store.state.config.xtts_use_streaming_mode||this.isSpeaking||this.checkForFullSentence())},"message.ui":function(t){console.log("ui changed to",t),this.ui_componentKey++},showConfirmation(){Ke(()=>{Xe.replace()})},deleteMsgMode(){Ke(()=>{Xe.replace()})}},computed:{editMsgMode:{get(){return this.message.hasOwnProperty("open")?this.editMsgMode_||this.message.open:this.editMsgMode_},set(t){this.message.open=t,this.editMsgMode_=t,Ke(()=>{Xe.replace()})}},isTalking:{get(){return this.isSpeaking}},created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.started_generating_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!t.getTime()||!e.getTime())return;let[r,i,o]=this.computeTimeDiff(t,e);function s(l){return l<10&&(l="0"+l),l}return s(r)+"h:"+s(i)+"m:"+s(o)+"s"},warmup_duration(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.started_generating_at));if(console.log("Computing the warmup duration, ",t," -> ",e),e.getTime()===t.getTime())return 0;if(!t.getTime()||!e.getTime())return;let r,i,o;[r,i,o]=this.computeTimeDiff(t,e);function s(l){return l<10&&(l="0"+l),l}return s(r)+"h:"+s(i)+"m:"+s(o)+"s"},generation_rate(){const t=new Date(Date.parse(this.message.started_generating_at)),e=new Date(Date.parse(this.message.finished_generating_at)),n=this.message.nb_tokens;if(e.getTime()===t.getTime()||!n||!t.getTime()||!e.getTime())return;let i=e.getTime()-t.getTime();const o=Math.floor(i/1e3),s=n/o;return Math.round(s)+" t/s"}}},Yor={class:"relative message w-full group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent flex flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},Kor={class:"flex flex-row gap-2"},Zor={class:"flex-shrink-0"},Xor={class:"group/avatar"},Jor=["src","data-popover-target"],esr={class:"flex flex-col w-full flex-grow-0"},tsr={class:"flex flex-row flex-grow items-start"},nsr={class:"flex flex-col mb-2"},rsr={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},isr=["title"],osr={class:"overflow-x-auto w-full overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary space-y-2"},ssr={key:1},asr=["src"],lsr={class:"message-details w-full max-w-4xl mx-auto"},csr={key:0,class:"steps-container bg-white/50 dark:bg-gray-800/50 rounded border border-gray-200 dark:border-gray-700 text-sm mb-2"},usr={class:"text-gray-600 dark:text-gray-300 flex-grow"},dsr={key:0,class:"overflow-hidden"},fsr={class:"px-2 pb-2 space-y-1"},psr={key:1,class:"flex flex-col items-start w-full overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},hsr={class:"flex-row justify-end mx-2"},Tsr={class:"invisible group-hover:visible flex flex-row"},msr={key:0},gsr={key:1},_sr={key:2},Qsr={key:3},vsr={key:4,class:"flex items-center duration-75"},ysr={class:"flex flex-row items-center"},bsr={class:"flex flex-row items-center"},Esr={key:6,class:"flex flex-row items-center"},xsr=["src"],Ssr={class:"text-sm text-gray-400 mt-2"},Lsr={class:"flex flex-row items-center gap-2"},Csr={key:0},Asr={class:"font-thin"},wsr={key:1},Msr={class:"font-thin"},Osr={key:2},Rsr={class:"font-thin"},Nsr={key:3},Dsr=["title"],Isr={key:4},ksr=["title"],Psr={key:5},Hsr=["title"],Vsr={key:6},Fsr=["title"];function Bsr(t,e,n,r,i,o){var T;const s=gt("MarkdownRenderer"),a=gt("JsonViewer"),l=gt("DynamicUIRenderer"),c=gt("StatusIcon"),u=gt("Step"),d=gt("RenderHTMLJS"),h=gt("ToolbarButton"),f=gt("DropdownSubmenu"),m=gt("DropdownMenu");return k(),P("div",Yor,[g("div",Kor,[g("div",Zor,[g("div",Xor,[g("img",{src:o.getImgUrl(),onError:e[0]||(e[0]=Q=>o.defaultImg(Q)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,Jor)])]),g("div",esr,[g("div",tsr,[g("div",nsr,[g("div",rsr,ue(n.message.sender),1),n.message.created_at?(k(),P("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+o.created_at_parsed},ue(o.created_at),9,isr)):ie("",!0)]),e[46]||(e[46]=g("div",{class:"flex-grow"},null,-1))]),g("div",osr,[o.editMsgMode?ie("",!0):(k(),wt(s,{key:0,ref:"mdRender",host:n.host,"markdown-text":n.message.content,message_id:n.message.id,discussion_id:n.message.discussion_id,client_id:this.$store.state.client_id},null,8,["host","markdown-text","message_id","discussion_id","client_id"])),g("div",null,[n.message.open?te((k(),P("textarea",{key:0,ref:"mdTextarea",onKeydown:e[1]||(e[1]=ri(ge((...Q)=>o.insertTab&&o.insertTab(...Q),["prevent"]),["tab"])),class:"block min-h-[500px] p-2.5 w-full text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 overflow-y-scroll flex flex-col shadow-lg p-10 pt-0 overflow-y-scroll dark:bg-bg-dark scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",rows:4,placeholder:"Enter message here...","onUpdate:modelValue":e[2]||(e[2]=Q=>n.message.content=Q)}," ",544)),[[Ne,n.message.content]]):ie("",!0)]),n.message.metadata!==null?(k(),P("div",ssr,[(k(!0),P(ze,null,lt(((T=n.message.metadata)==null?void 0:T.filter(Q=>Q!=null&&Q.hasOwnProperty("title")&&Q.hasOwnProperty("content")))||[],(Q,_)=>(k(),P("div",{key:"json-"+n.message.id+"-"+_,class:"json font-bold"},[(k(),wt(a,{jsonFormText:Q.title,jsonData:Q.content,key:"msgjson-"+n.message.id},null,8,["jsonFormText","jsonData"]))]))),128))])):ie("",!0),n.message.ui?(k(),wt(l,{ref:"ui",class:"w-full",ui:n.message.ui,key:"msgui-"+n.message.id},null,8,["ui"])):ie("",!0),i.audio_url!=null?(k(),P("audio",{controls:"",key:i.audio_url},[g("source",{src:i.audio_url,type:"audio/wav",ref:"audio_player"},null,8,asr),e[47]||(e[47]=nt(" Your browser does not support the audio element. "))])):ie("",!0),g("div",lsr,[n.message.steps.length>0?(k(),P("div",csr,[g("div",{class:"flex items-center p-2 cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors duration-200",onClick:e[3]||(e[3]=(...Q)=>o.toggleExpanded&&o.toggleExpanded(...Q))},[ae(c,{status:n.message.status_message,icon:!0,class:"w-4 h-4 mr-2"},null,8,["status"]),g("span",usr,ue(n.message.status_message),1),g("span",{class:We(["text-xs text-gray-400 transform transition-transform duration-200",{"rotate-180":i.expanded}])},"▼",2)]),ae(Ai,{"enter-active-class":"transition-all duration-200 ease-out","leave-active-class":"transition-all duration-150 ease-in","enter-from-class":"opacity-0 max-h-0","enter-to-class":"opacity-100 max-h-[500px]","leave-from-class":"opacity-100 max-h-[500px]","leave-to-class":"opacity-0 max-h-0"},{default:Be(()=>[i.expanded?(k(),P("div",dsr,[g("div",fsr,[(k(!0),P(ze,null,lt(n.message.steps,(Q,_)=>(k(),P("div",{key:`step-${n.message.id}-${_}`,class:"animate-fadeIn",style:gn({animationDelay:`${_*50}ms`})},[ae(u,{done:Q.done,text:Q.text,status:Q.status,description:Q.description,class:"text-xs rounded bg-gray-50/50 dark:bg-gray-700/50 p-2 hover:bg-gray-100 dark:hover:bg-gray-600/50"},null,8,["done","text","status","description"])],4))),128))])])):ie("",!0)]),_:1})])):ie("",!0),n.message.html_js_s&&n.message.html_js_s.length?(k(),P("div",psr,[(k(!0),P(ze,null,lt(n.message.html_js_s,(Q,_)=>(k(),P("div",{key:`htmljs-${n.message.id}-${_}`,class:"font-bold animate-fadeIn",style:gn({animationDelay:`${_*200}ms`})},[ae(d,{htmlContent:Q},null,8,["htmlContent"])],4))),128))])):ie("",!0)])]),g("div",hsr,[g("div",Tsr,[o.editMsgMode?(k(),P("div",msr,[ae(h,{onClick:e[4]||(e[4]=ge(Q=>o.editMsgMode=!1,["stop"])),title:"Cancel edit",icon:"x"}),ae(h,{onClick:ge(o.updateMessage,["stop"]),title:"Update message",icon:"check"},null,8,["onClick"]),ae(m,{title:"Add Block"},{default:Be(()=>[ae(f,{title:"Programming Languages",icon:"code"},{default:Be(()=>[ae(h,{onClick:e[5]||(e[5]=ge(Q=>o.addBlock("python"),["stop"])),title:"Python",icon:"python"}),ae(h,{onClick:e[6]||(e[6]=ge(Q=>o.addBlock("javascript"),["stop"])),title:"JavaScript",icon:"js"}),ae(h,{onClick:e[7]||(e[7]=ge(Q=>o.addBlock("typescript"),["stop"])),title:"TypeScript",icon:"typescript"}),ae(h,{onClick:e[8]||(e[8]=ge(Q=>o.addBlock("java"),["stop"])),title:"Java",icon:"java"}),ae(h,{onClick:e[9]||(e[9]=ge(Q=>o.addBlock("c++"),["stop"])),title:"C++",icon:"cplusplus"}),ae(h,{onClick:e[10]||(e[10]=ge(Q=>o.addBlock("csharp"),["stop"])),title:"C#",icon:"csharp"}),ae(h,{onClick:e[11]||(e[11]=ge(Q=>o.addBlock("go"),["stop"])),title:"Go",icon:"go"}),ae(h,{onClick:e[12]||(e[12]=ge(Q=>o.addBlock("rust"),["stop"])),title:"Rust",icon:"rust"}),ae(h,{onClick:e[13]||(e[13]=ge(Q=>o.addBlock("swift"),["stop"])),title:"Swift",icon:"swift"}),ae(h,{onClick:e[14]||(e[14]=ge(Q=>o.addBlock("kotlin"),["stop"])),title:"Kotlin",icon:"kotlin"}),ae(h,{onClick:e[15]||(e[15]=ge(Q=>o.addBlock("r"),["stop"])),title:"R",icon:"r-project"})]),_:1}),ae(f,{title:"Web Technologies",icon:"web"},{default:Be(()=>[ae(h,{onClick:e[16]||(e[16]=ge(Q=>o.addBlock("html"),["stop"])),title:"HTML",icon:"html5"}),ae(h,{onClick:e[17]||(e[17]=ge(Q=>o.addBlock("css"),["stop"])),title:"CSS",icon:"css3"}),ae(h,{onClick:e[18]||(e[18]=ge(Q=>o.addBlock("vue"),["stop"])),title:"Vue.js",icon:"vuejs"}),ae(h,{onClick:e[19]||(e[19]=ge(Q=>o.addBlock("react"),["stop"])),title:"React",icon:"react"}),ae(h,{onClick:e[20]||(e[20]=ge(Q=>o.addBlock("angular"),["stop"])),title:"Angular",icon:"angular"})]),_:1}),ae(f,{title:"Markup and Data",icon:"file-code"},{default:Be(()=>[ae(h,{onClick:e[21]||(e[21]=ge(Q=>o.addBlock("xml"),["stop"])),title:"XML",icon:"xml"}),ae(h,{onClick:e[22]||(e[22]=ge(Q=>o.addBlock("json"),["stop"])),title:"JSON",icon:"json"}),ae(h,{onClick:e[23]||(e[23]=ge(Q=>o.addBlock("yaml"),["stop"])),title:"YAML",icon:"yaml"}),ae(h,{onClick:e[24]||(e[24]=ge(Q=>o.addBlock("markdown"),["stop"])),title:"Markdown",icon:"markdown"}),ae(h,{onClick:e[25]||(e[25]=ge(Q=>o.addBlock("latex"),["stop"])),title:"LaTeX",icon:"latex"})]),_:1}),ae(f,{title:"Scripting and Shell",icon:"terminal"},{default:Be(()=>[ae(h,{onClick:e[26]||(e[26]=ge(Q=>o.addBlock("bash"),["stop"])),title:"Bash",icon:"bash"}),ae(h,{onClick:e[27]||(e[27]=ge(Q=>o.addBlock("powershell"),["stop"])),title:"PowerShell",icon:"powershell"}),ae(h,{onClick:e[28]||(e[28]=ge(Q=>o.addBlock("perl"),["stop"])),title:"Perl",icon:"perl"})]),_:1}),ae(f,{title:"Diagramming",icon:"sitemap"},{default:Be(()=>[ae(h,{onClick:e[29]||(e[29]=ge(Q=>o.addBlock("mermaid"),["stop"])),title:"Mermaid",icon:"mermaid"}),ae(h,{onClick:e[30]||(e[30]=ge(Q=>o.addBlock("graphviz"),["stop"])),title:"Graphviz",icon:"graphviz"}),ae(h,{onClick:e[31]||(e[31]=ge(Q=>o.addBlock("plantuml"),["stop"])),title:"PlantUML",icon:"plantuml"})]),_:1}),ae(f,{title:"Database",icon:"database"},{default:Be(()=>[ae(h,{onClick:e[32]||(e[32]=ge(Q=>o.addBlock("sql"),["stop"])),title:"SQL",icon:"sql"}),ae(h,{onClick:e[33]||(e[33]=ge(Q=>o.addBlock("mongodb"),["stop"])),title:"MongoDB",icon:"mongodb"})]),_:1}),ae(h,{onClick:e[34]||(e[34]=ge(Q=>o.addBlock(""),["stop"])),title:"Generic Block",icon:"code"})]),_:1})])):(k(),P("div",gsr,[ae(h,{onClick:e[35]||(e[35]=ge(Q=>o.editMsgMode=!0,["stop"])),title:"Edit message",icon:"edit"})])),ae(h,{onClick:o.copyContentToClipboard,title:"Copy message to clipboard",icon:"copy"},null,8,["onClick"]),!o.editMsgMode&&n.message.sender!==t.$store.state.mountedPers.name?(k(),P("div",_sr,[ae(h,{onClick:e[36]||(e[36]=ge(Q=>o.resendMessage("full_context"),["stop"])),title:"Resend message with full context",icon:"send"}),ae(h,{onClick:e[37]||(e[37]=ge(Q=>o.resendMessage("full_context_with_internet"),["stop"])),title:"Resend message with internet search",icon:"globe"}),ae(h,{onClick:e[38]||(e[38]=ge(Q=>o.resendMessage("simple_question"),["stop"])),title:"Resend message without context",icon:"sendSimple"})])):ie("",!0),!o.editMsgMode&&n.message.sender===t.$store.state.mountedPers.name?(k(),P("div",Qsr,[ae(h,{onClick:o.continueMessage,title:"Continue message",icon:"fastForward"},null,8,["onClick"])])):ie("",!0),i.deleteMsgMode?(k(),P("div",vsr,[g("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"Cancel removal",type:"button",onClick:e[39]||(e[39]=ge(Q=>i.deleteMsgMode=!1,["stop"]))},e[48]||(e[48]=[g("i",{"data-feather":"x"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2 cursor-pointer",title:"Confirm removal",type:"button",onClick:e[40]||(e[40]=ge(Q=>o.deleteMsg(),["stop"]))},e[49]||(e[49]=[g("i",{"data-feather":"check"},null,-1)]))])):ie("",!0),!o.editMsgMode&&!i.deleteMsgMode?(k(),P("div",{key:5,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"Remove message",onClick:e[41]||(e[41]=Q=>i.deleteMsgMode=!0)},e[50]||(e[50]=[g("i",{"data-feather":"trash"},null,-1)]))):ie("",!0),g("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2 cursor-pointer",title:"Upvote",onClick:e[42]||(e[42]=ge(Q=>o.rankUp(),["stop"]))},e[51]||(e[51]=[g("i",{"data-feather":"thumbs-up"},null,-1)])),g("div",ysr,[g("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"Downvote",onClick:e[43]||(e[43]=ge(Q=>o.rankDown(),["stop"]))},e[52]||(e[52]=[g("i",{"data-feather":"thumbs-down"},null,-1)])),n.message.rank!=0?(k(),P("div",{key:0,class:We(["rounded-full px-2 text-sm flex items-center justify-center font-bold cursor-pointer",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},ue(n.message.rank),3)):ie("",!0)]),g("div",bsr,[this.$store.state.config.active_tts_service!="None"?(k(),P("div",{key:0,class:We(["text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",{"text-red-500":o.isTalking}]),title:"speak",onClick:e[44]||(e[44]=ge(Q=>o.speak(),["stop"]))},e[53]||(e[53]=[g("i",{"data-feather":"volume-2"},null,-1)]),2)):ie("",!0)]),this.$store.state.config.xtts_enable&&!this.$store.state.config.xtts_use_streaming_mode?(k(),P("div",Esr,[i.isSynthesizingVoice?(k(),P("img",{key:1,src:i.loading_svg},null,8,xsr)):(k(),P("div",{key:0,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2 cursor-pointer",title:"generate_audio",onClick:e[45]||(e[45]=ge(Q=>o.read(),["stop"]))},e[54]||(e[54]=[g("i",{"data-feather":"voicemail"},null,-1)])))])):ie("",!0)])]),g("div",Ssr,[g("div",Lsr,[n.message.binding?(k(),P("p",Csr,[e[55]||(e[55]=nt("Binding: ")),g("span",Asr,ue(n.message.binding),1)])):ie("",!0),n.message.model?(k(),P("p",wsr,[e[56]||(e[56]=nt("Model: ")),g("span",Msr,ue(n.message.model),1)])):ie("",!0),n.message.seed?(k(),P("p",Osr,[e[57]||(e[57]=nt("Seed: ")),g("span",Rsr,ue(n.message.seed),1)])):ie("",!0),n.message.nb_tokens?(k(),P("p",Nsr,[e[58]||(e[58]=nt("Number of tokens: ")),g("span",{class:"font-thin",title:"Number of Tokens: "+n.message.nb_tokens},ue(n.message.nb_tokens),9,Dsr)])):ie("",!0),o.warmup_duration?(k(),P("p",Isr,[e[59]||(e[59]=nt("Warmup duration: ")),g("span",{class:"font-thin",title:"Warmup duration: "+o.warmup_duration},ue(o.warmup_duration),9,ksr)])):ie("",!0),o.time_spent?(k(),P("p",Psr,[e[60]||(e[60]=nt("Generation duration: ")),g("span",{class:"font-thin",title:"Finished generating: "+o.time_spent},ue(o.time_spent),9,Hsr)])):ie("",!0),o.generation_rate?(k(),P("p",Vsr,[e[61]||(e[61]=nt("Rate: ")),g("span",{class:"font-thin",title:"Generation rate: "+o.generation_rate},ue(o.generation_rate),9,Fsr)])):ie("",!0)])])])])])}const BU=Et(Wor,[["render",Bsr],["__scopeId","data-v-5c83cd0b"]]);ye.defaults.baseURL="/";const $sr={components:{InteractiveMenu:eE},props:{commandsList:{type:Array,required:!0},sendCommand:Function,onShowToastMessage:Function},data(){return{loading:!1,selectedFile:null,showMenu:!1,showHelpText:!1,helpText:"",commands:[]}},async mounted(){this.commands=this.commandsList,console.log("Commands",this.commands),document.addEventListener("click",this.handleClickOutside),Ke(()=>{Xe.replace()})},methods:{isHTML(t){const n=new DOMParser().parseFromString(t,"text/html");return Array.from(n.body.childNodes).some(r=>r.nodeType===Node.ELEMENT_NODE)},selectFile(t,e){const n=document.createElement("input");n.type="file",n.accept=t,n.onchange=r=>{this.selectedFile=r.target.files[0],console.log("File selected"),e()},n.click()},uploadFile(){new FormData().append("file",this.selectedFile),console.log("Uploading file"),this.loading=!0;const e=new FileReader;e.onload=()=>{const n={filename:this.selectedFile.name,fileData:e.result};et.on("file_received",r=>{r.status?this.onShowToastMessage("File uploaded successfully",4,!0):this.onShowToastMessage(`Couldn't upload file
`+r.error,4,!1),this.loading=!1,et.off("file_received")}),et.emit("send_file",n)},e.readAsDataURL(this.selectedFile)},async constructor(){Ke(()=>{Xe.replace()})},toggleMenu(){this.showMenu=!this.showMenu},execute_cmd(t){this.showMenu=!this.showMenu,t.hasOwnProperty("is_file")?(console.log("Need to send a file."),this.selectFile(t.hasOwnProperty("file_types")?t.file_types:"*",()=>{this.selectedFile!=null&&this.uploadFile()})):this.sendCommand(t.value)},handleClickOutside(t){const e=this.$el.querySelector(".commands-menu-items-wrapper");e&&!e.contains(t.target)&&(this.showMenu=!1)}},beforeUnmount(){document.removeEventListener("click",this.handleClickOutside)}},Usr={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"};function Gsr(t,e,n,r,i,o){const s=gt("InteractiveMenu");return i.loading?(k(),P("div",Usr,e[0]||(e[0]=[g("div",{role:"status"},[g("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),g("span",{class:"sr-only"},"Loading...")],-1)]))):(k(),wt(s,{key:1,commands:n.commandsList,execute_cmd:o.execute_cmd},null,8,["commands","execute_cmd"]))}const qsr=Et($sr,[["render",Gsr],["__scopeId","data-v-1a32c141"]]),zsr="data:image/svg+xml,%3csvg%20aria-hidden='true'%20class='w-6%20h-6%20animate-spin%20fill-secondary'%20viewBox='0%200%20100%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M100%2050.5908C100%2078.2051%2077.6142%20100.591%2050%20100.591C22.3858%20100.591%200%2078.2051%200%2050.5908C0%2022.9766%2022.3858%200.59082%2050%200.59082C77.6142%200.59082%20100%2022.9766%20100%2050.5908ZM9.08144%2050.5908C9.08144%2073.1895%2027.4013%2091.5094%2050%2091.5094C72.5987%2091.5094%2090.9186%2073.1895%2090.9186%2050.5908C90.9186%2027.9921%2072.5987%209.67226%2050%209.67226C27.4013%209.67226%209.08144%2027.9921%209.08144%2050.5908Z'%20fill='currentColor'%20/%3e%3cpath%20d='M93.9676%2039.0409C96.393%2038.4038%2097.8624%2035.9116%2097.0079%2033.5539C95.2932%2028.8227%2092.871%2024.3692%2089.8167%2020.348C85.8452%2015.1192%2080.8826%2010.7238%2075.2124%207.41289C69.5422%204.10194%2063.2754%201.94025%2056.7698%201.05124C51.7666%200.367541%2046.6976%200.446843%2041.7345%201.27873C39.2613%201.69328%2037.813%204.19778%2038.4501%206.62326C39.0873%209.04874%2041.5694%2010.4717%2044.0505%2010.1071C47.8511%209.54855%2051.7191%209.52689%2055.5402%2010.0491C60.8642%2010.7766%2065.9928%2012.5457%2070.6331%2015.2552C75.2735%2017.9648%2079.3347%2021.5619%2082.5849%2025.841C84.9175%2028.9121%2086.7997%2032.2913%2088.1811%2035.8758C89.083%2038.2158%2091.5421%2039.6781%2093.9676%2039.0409Z'%20fill='currentFill'%20/%3e%3c/svg%3e",jsr="/",Wsr={name:"ChatBox",emits:["messageSentEvent","sendCMDEvent","stopGenerating","loaded","createEmptyUserMessage","createEmptyAIMessage","personalitySelected","addWebLink"],props:{onTalk:Function,discussionList:Array,loading:{default:!1},onShowToastMessage:Function},components:{PersonalitiesCommands:qsr,ChatBarButton:D9},setup(){},data(){return{isSendMenuVisible:!1,is_rt:!1,bindingHoveredIndex:null,modelHoveredIndex:null,personalityHoveredIndex:null,loader_v0:zsr,sendGlobe:FU,bUrl:jsr,message:"",selecting_binding:!1,selecting_model:!1,selectedModel:"",isListeningToVoice:!1,filesList:[],isFileSentList:[],totalSize:0,showfilesList:!0,models_menu_icon:"",posts_headers:{accept:"application/json","Content-Type":"application/json"}}},computed:{leftPanelCollapsed(){return this.$store.state.leftPanelCollapsed},rightPanelCollapsed(){return this.$store.state.rightPanelCollapsed},isCompactMode(){return this.$store.state.view_mode==="compact"},isdataLakeNamesValid(){return console.log("dataLakeNames:",this.dataLakeNames),console.log("Type of dataLakeNames:",typeof this.dataLakeNames),Array.isArray(this.dataLakeNames)&&this.dataLakeNames.length>0},dataLakeNames(){console.log("rag_databases",this.$store.state.config.datalakes);const t=this.$store.state.config.datalakes.map(e=>{console.log("entry",e);const n=e.mounted?"feather:check":"";return console.log("icon decision",n),{name:e.alias,value:e.alias||"default_value",icon:n,help:"mounts the datalake"}});return console.log("formatted datalake",t),t}},methods:{showSendMenu(){clearTimeout(this.hideSendMenuTimeout),this.isSendMenuVisible=!0},hideSendMenu(){this.hideSendMenuTimeout=setTimeout(()=>{this.isSendMenuVisible=!1},300)},toggleLeftPanel(){console.log(this.leftPanelCollapsed),this.$store.commit("setLeftPanelCollapsed",!this.leftPanelCollapsed)},async toggleRightPanel(){console.log(this.rightPanelCollapsed),this.$store.commit("setRightPanelCollapsed",!this.rightPanelCollapsed),this.rightPanelCollapsed&&(this.$store.commit("setleftPanelCollapsed",!0),this.$nextTick(()=>{this.extractHtml()})),console.log(this.rightPanelCollapsed)},handlePaste(t){const e=(t.clipboardData||t.originalEvent.clipboardData).items;let n=[];for(let r of e)if(r.type.indexOf("image")!==-1){const i=r.getAsFile(),s=`image_${Date.now()+"_"+Math.random().toString(36).substr(2,9)}.png`;console.log("newFileName",s);const a=new File([i],s,{type:i.type});this.addFiles([a])}else if(r.kind==="file"){const i=r.getAsFile();n.push(i)}n.length>0&&this.addFiles(n)},emitloaded(){this.$emit("loaded")},download_files(){ye.get("/download_files")},remove_file(t){ye.get("/remove_discussion_file",{client_id:this.$store.state.client_id,name:t}).then(e=>{console.log(e)})},clear_files(){ye.post("/clear_discussion_files_list",{client_id:this.$store.state.client_id}).then(t=>{console.log(t),t.data.state?(this.$store.state.toast.showToast("File removed successfully",4,!0),this.filesList.length=0,this.isFileSentList.length=0,this.totalSize=0):this.$store.state.toast.showToast("Files couldn't be removed",4,!1)})},send_file(t,e){console.log("Send file triggered");const n=new FileReader,r=24*1024;let i=0,o=0;n.onloadend=()=>{if(n.error){console.error("Error reading file:",n.error);return}const a=n.result,l=i+a.byteLength>=t.size;et.emit("send_file_chunk",{filename:t.name,chunk:a,offset:i,isLastChunk:l,chunkIndex:o}),i+=a.byteLength,o++,l?(console.log("File sent successfully"),this.isFileSentList[this.filesList.length-1]=!0,console.log(this.isFileSentList),this.$store.state.toast.showToast("File uploaded successfully",4,!0),e()):s()};function s(){const a=t.slice(i,i+r);n.readAsArrayBuffer(a)}console.log("Uploading file"),s()},makeAnEmptyUserMessage(){this.$emit("createEmptyUserMessage",this.message),this.message=""},makeAnEmptyAIMessage(){this.$emit("createEmptyAIMessage")},updateRT(){console.log("Updating rt status"),this.is_rt?this.stopRTCom():this.startRTCom()},startRTCom(){this.is_rt=!0,console.log("is_rt:",this.is_rt),et.emit("start_bidirectional_audio_stream"),Ke(()=>{Xe.replace()})},stopRTCom(){this.is_rt=!1,console.log("is_rt:",this.is_rt),et.emit("stop_bidirectional_audio_stream"),Ke(()=>{Xe.replace()})},startSpeechRecognition(){"SpeechRecognition"in window||"webkitSpeechRecognition"in window?(this.recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this.recognition.lang=this.$store.state.config.audio_in_language,this.recognition.interimResults=!0,this.recognition.onstart=()=>{this.isListeningToVoice=!0,this.silenceTimer=setTimeout(()=>{this.recognition.stop()},this.silenceTimeout)},this.recognition.onresult=t=>{let e="";for(let n=t.resultIndex;n{this.recognition.stop()},this.silenceTimeout)},this.recognition.onerror=t=>{console.error("Speech recognition error:",t.error),this.isListeningToVoice=!1,clearTimeout(this.silenceTimer)},this.recognition.onend=()=>{console.log("Speech recognition ended."),this.isListeningToVoice=!1,clearTimeout(this.silenceTimer),this.submit()},this.recognition.start()):console.error("Speech recognition is not supported in this browser.")},computedFileSize(t){return Ke(()=>{Xe.replace()}),Xo(t)},removeItem(t){console.log("Removing ",t.name),ye.post("/remove_discussion_file",{client_id:this.$store.state.client_id,name:t.name},{headers:this.posts_headers}).then(()=>{this.filesList=this.filesList.filter(e=>e!=t)}),console.log(this.filesList)},sendMessageEvent(t,e="no_internet"){this.$emit("messageSentEvent",t,e)},sendCMDEvent(t){this.$emit("sendCMDEvent",t)},async mountDB(t){await ye.post("/toggle_mount_rag_database",{client_id:this.$store.state.client_id,datalake_name:t}),await this.$store.dispatch("refreshConfig"),console.log("Refreshed")},addWebLink(){console.log("Emitting addWebLink"),this.$emit("addWebLink")},add_file(){const t=document.createElement("input");t.type="file",t.style.display="none",t.multiple=!0,document.body.appendChild(t),t.addEventListener("change",()=>{console.log("Calling Add file..."),this.addFiles(t.files),document.body.removeChild(t)}),t.click()},takePicture(){et.emit("take_picture"),et.on("picture_taken",()=>{ye.post("/get_discussion_files_list",{client_id:this.$store.state.client_id}).then(t=>{this.filesList=t.data.files,this.isFileSentList=t.data.files.map(e=>!0),console.log(`Files recovered: ${this.filesList}`)})})},submitOnEnter(t){this.loading||t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},submitWithInternetSearch(){this.message&&(this.sendMessageEvent(this.message,"internet"),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){console.log("Adding files");const e=[...t];let n=0;const r=()=>{if(n>=e.length){console.log(`Files_list: ${this.filesList}`);return}const i=e[n];this.filesList.push(i),this.isFileSentList.push(!1),this.send_file(i,()=>{n++,r()})};r()}},watch:{installedModels:{immediate:!0,handler(t){this.$nextTick(()=>{this.installedModels=t})}},model_name:{immediate:!0,handler(t){this.$nextTick(()=>{this.model_name=t})}},showfilesList(){Ke(()=>{Xe.replace()})},loading(t,e){Ke(()=>{Xe.replace()})},filesList:{handler(t,e){let n=0;if(t.length>0)for(let r=0;r{Xe.replace()}),console.log("Chatbar mounted"),et.on("rtcom_status_changed",t=>{this.$store.dispatch("fetchisRTOn"),console.log("rtcom_status_changed: ",t.status),console.log("active_tts_service: ",this.$store.state.config.active_tts_service),console.log("is_rt_on: ",this.$store.state.is_rt_on)}),this.$store.dispatch("fetchisRTOn")},activated(){Ke(()=>{Xe.replace()})}},Ysr={class:"absolute bottom-0 left-0 w-fit min-w-96 w-full justify-center text-center"},Ksr={key:0,class:"items-center gap-2 panels-color shadow-sm hover:shadow-none dark:border-gray-800 w-fit"},Zsr={class:"flex"},Xsr=["title"],Jsr={key:0},ear={class:"flex flex-col max-h-64"},tar=["title"],nar={class:"flex flex-row items-center gap-1 text-left p-2 text-sm font-medium items-center gap-2 rounded-lg border bg-gray-100 p-1.5 shadow-sm hover:shadow-none dark:border-gray-800 dark:bg-gray-700 hover:bg-primary dark:hover:bg-primary"},rar={key:0,filesList:"",role:"status"},iar={class:"flex flex-row items-center"},oar={class:"whitespace-nowrap"},sar=["onClick"],aar={key:1,class:"flex mx-1 w-500"},lar={class:"whitespace-nowrap flex flex-row gap-2"},car={key:1,title:"Selecting model",class:"flex flex-row flex-grow justify-end panels-color"},uar={role:"status"},dar=["src"],far={class:"flex w-fit relative grow w-full"},par={class:"chat-bar",tabindex:"0"},har={key:0,title:"Waiting for reply"},Tar=["src"],mar={class:"w-fit"},gar={class:"w-fit"},_ar={class:"relative grow m-0 p-0"},Qar={class:"m-0 p-0"},yar={class:"flex items-center space-x-3"},bar={class:"relative inline-block"},Ear={class:"p-4 m-0 flex flex-col gap-4 max-h-96 overflow-y-auto custom-scrollbar"},xar={class:"flex flex-col gap-2"};function Sar(t,e,n,r,i,o){const s=gt("ChatBarButton"),a=gt("PersonalitiesCommands");return k(),P("div",Ysr,[i.filesList.length>0?(k(),P("div",Ksr,[g("div",Zsr,[g("button",{class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:i.showfilesList?"Hide file list":"Show file list",type:"button",onClick:e[0]||(e[0]=ge(l=>i.showfilesList=!i.showfilesList,["stop"]))},e[11]||(e[11]=[g("i",{"data-feather":"list"},null,-1)]),8,Xsr)]),i.filesList.length>0&&i.showfilesList==!0?(k(),P("div",Jsr,[g("div",ear,[ae(Gs,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Be(()=>[(k(!0),P(ze,null,lt(i.filesList,(l,c)=>(k(),P("div",{key:c+"-"+l.name},[g("div",{class:"m-1",title:l.name},[g("div",nar,[i.isFileSentList[c]?ie("",!0):(k(),P("div",rar,e[12]||(e[12]=[g("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),g("span",{class:"sr-only"},"Loading...",-1)]))),e[14]||(e[14]=g("div",null,[g("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),g("div",{class:We(["line-clamp-1 w-3/5",i.isFileSentList[c]?"text-green-500":"text-red-200"])},ue(l.name),3),e[15]||(e[15]=g("div",{class:"grow"},null,-1)),g("div",iar,[g("p",oar,ue(o.computedFileSize(l.size)),1),g("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:u=>o.removeItem(l)},e[13]||(e[13]=[g("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)]),8,sar)])])],8,tar)]))),128))]),_:1})])])):ie("",!0),i.filesList.length>0?(k(),P("div",aar,[g("div",lar,[e[16]||(e[16]=g("p",{class:"font-bold"}," Total size: ",-1)),nt(" "+ue(i.totalSize)+" ("+ue(i.filesList.length)+") ",1)]),e[19]||(e[19]=g("div",{class:"grow"},null,-1)),g("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[1]||(e[1]=(...l)=>o.clear_files&&o.clear_files(...l))},e[17]||(e[17]=[g("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)])),g("button",{type:"button",title:"Download database",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=(...l)=>o.download_files&&o.download_files(...l))},e[18]||(e[18]=[g("i",{"data-feather":"download-cloud",class:"w-5 h-5"},null,-1)]))])):ie("",!0)])):ie("",!0),i.selecting_model||i.selecting_binding?(k(),P("div",car,[g("div",uar,[g("img",{src:i.loader_v0,class:"w-50 h-50"},null,8,dar),e[20]||(e[20]=g("span",{class:"sr-only"},"Selecting model...",-1))])])):ie("",!0),g("div",far,[g("div",par,[n.loading?(k(),P("div",har,[g("img",{src:i.loader_v0},null,8,Tar),e[21]||(e[21]=g("div",{role:"status"},[g("span",{class:"sr-only"},"Loading...")],-1))])):ie("",!0),ae(s,{onClick:o.toggleLeftPanel,class:We({"text-red-500":o.leftPanelCollapsed}),title:"Toggle View Mode"},{default:Be(()=>[te(g("div",null,e[22]||(e[22]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[g("polyline",{points:"9 18 15 12 9 6"})],-1)]),512),[[Ht,o.leftPanelCollapsed]]),te(g("div",null,e[23]||(e[23]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[g("polyline",{points:"15 18 9 12 15 6"})],-1)]),512),[[Ht,!o.leftPanelCollapsed]])]),_:1},8,["onClick","class"]),g("div",mar,[this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands!=""?(k(),wt(a,{key:0,commandsList:this.$store.state.mountedPersArr[this.$store.state.config.active_personality_id].commands,sendCommand:o.sendCMDEvent,"on-show-toast-message":n.onShowToastMessage,ref:"personalityCMD"},null,8,["commandsList","sendCommand","on-show-toast-message"])):ie("",!0)]),g("div",gar,[o.isdataLakeNamesValid?(k(),wt(a,{key:0,icon:"feather:book",commandsList:o.dataLakeNames,sendCommand:o.mountDB,"on-show-toast-message":n.onShowToastMessage,ref:"databasesList"},null,8,["commandsList","sendCommand","on-show-toast-message"])):ie("",!0)]),g("div",_ar,[g("form",Qar,[te(g("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=l=>i.message=l),onPaste:e[4]||(e[4]=(...l)=>o.handlePaste&&o.handlePaste(...l)),onKeydown:e[5]||(e[5]=ri(ge(l=>o.submitOnEnter(l),["exact"]),["enter"])),class:"w-full p-2 text-sm text-gray-900 dark:text-white bg-gray-100 dark:bg-gray-700 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent resize-none",placeholder:"Write your message to the AI here..."},null,544),[[Ne,i.message]])])]),g("div",yar,[n.loading?(k(),wt(s,{key:0,onClick:o.stopGenerating,class:"bg-red-500 dark:bg-red-600 hover:bg-red-600 dark:hover:bg-red-700"},{icon:Be(()=>e[24]||(e[24]=[g("svg",{class:"animate-spin h-5 w-5",viewBox:"0 0 24 24"},[g("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),g("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])),default:Be(()=>[e[25]||(e[25]=g("span",null,"Stop",-1))]),_:1},8,["onClick"])):(k(),wt(s,{key:1,onClick:o.submit,title:"Send"},{icon:Be(()=>e[26]||(e[26]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19l9 2-9-18-9 18 9-2zm0 0v-8"})],-1)])),_:1},8,["onClick"])),ae(s,{onClick:o.submitWithInternetSearch,title:"Send with internet search"},{icon:Be(()=>e[27]||(e[27]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"})],-1)])),_:1},8,["onClick"]),ae(s,{onClick:o.startSpeechRecognition,class:We({"text-red-500":i.isListeningToVoice}),title:"Voice input"},{icon:Be(()=>e[28]||(e[28]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z"})],-1)])),_:1},8,["onClick","class"]),t.$store.state.config.active_tts_service!="None"&&t.$store.state.config.active_tts_service!=null&&this.$store.state.config.active_stt_service!="None"&&this.$store.state.config.active_stt_service!=null?(k(),wt(s,{key:2,onClick:o.updateRT,class:We(i.is_rt?"bg-red-500 dark:bg-red-600":"bg-green-500 dark:bg-green-600"),title:"Real-time audio mode"},{icon:Be(()=>e[29]||(e[29]=[nt(" 🌟 ")])),_:1},8,["onClick","class"])):ie("",!0),n.loading?ie("",!0):(k(),P("div",{key:3,class:"relative",onMouseleave:e[9]||(e[9]=(...l)=>o.hideSendMenu&&o.hideSendMenu(...l))},[g("div",bar,[te(g("div",{onMouseenter:e[6]||(e[6]=(...l)=>o.showSendMenu&&o.showSendMenu(...l)),class:"absolute m-0 p-0 z-10 bottom-full left-1/2 transform -translate-x-1/2 w-25 bg-white dark:bg-gray-900 rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",Ear,[g("div",xar,[ae(s,{onClick:o.add_file,title:"Send file"},{icon:Be(()=>e[30]||(e[30]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 13h6m-3-3v6m5 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})],-1)])),_:1},8,["onClick"]),ae(s,{onClick:o.takePicture,title:"Take picture"},{icon:Be(()=>e[31]||(e[31]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 9a2 2 0 012-2h.93a2 2 0 001.664-.89l.812-1.22A2 2 0 0110.07 4h3.86a2 2 0 011.664.89l.812 1.22A2 2 0 0018.07 7H19a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V9z"}),g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 13a3 3 0 11-6 0 3 3 0 016 0z"})],-1)])),_:1},8,["onClick"]),ae(s,{onClick:o.addWebLink,title:"Add web link"},{icon:Be(()=>e[32]||(e[32]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})],-1)])),_:1},8,["onClick"])])])],544),[[Ht,i.isSendMenuVisible]]),g("div",{onMouseenter:e[8]||(e[8]=(...l)=>o.showSendMenu&&o.showSendMenu(...l))},[g("button",{onClick:e[7]||(e[7]=ge((...l)=>t.toggleSendMenu&&t.toggleSendMenu(...l),["prevent"])),class:"chat-bar-button"},e[33]||(e[33]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)]))],32)])],32)),ae(s,{onClick:o.makeAnEmptyUserMessage,title:"New user message"},{icon:Be(()=>e[34]||(e[34]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})],-1)])),_:1},8,["onClick"]),ae(s,{onClick:o.makeAnEmptyAIMessage,title:"New AI message",class:"text-red-400 dark:text-red-300"},{icon:Be(()=>e[35]||(e[35]=[g("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})],-1)])),_:1},8,["onClick"]),ae(s,{onClick:o.toggleRightPanel,class:We({"text-red-500":!o.rightPanelCollapsed}),title:"Toggle right Panel"},{default:Be(()=>[te(g("div",null,e[36]||(e[36]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[g("polyline",{points:"15 18 9 12 15 6"})],-1)]),512),[[Ht,o.rightPanelCollapsed]]),te(g("div",null,e[37]||(e[37]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[g("polyline",{points:"9 18 15 12 9 6"})],-1)]),512),[[Ht,!o.rightPanelCollapsed]])]),_:1},8,["onClick","class"])]),g("input",{type:"file",ref:"fileDialog",onChange:e[10]||(e[10]=(...l)=>o.addFiles&&o.addFiles(...l)),multiple:"",style:{display:"none"}},null,544)]),e[38]||(e[38]=g("div",{class:"ml-auto gap-2"},null,-1))])])}const $U=Et(Wsr,[["render",Sar],["__scopeId","data-v-c3280f2d"]]),Lar={name:"WelcomeComponent",data(){return{videoUrl:"",videoType:"",latestNews:"",error:"",showVideoButton:!1,lastVideoUrl:""}},computed:{getImageForVideoType(){switch(this.videoType.toLowerCase()){case"podcast":return"/podcast.png";case"music":return"/music.png";case"movie":return"/movie.png";case"tutorial":return"/tutorial.png";default:return"/play_video.png"}},logoSrc(){return this.$store.state.config&&this.$store.state.config.app_custom_logo?`/user_infos/${this.$store.state.config.app_custom_logo}`:vo}},methods:{async fetchLatestNews(){try{const t=await ye.get("/get_news");this.latestNews=t.data}catch(t){console.error("Failed to fetch latest news:",t),this.error="Unable to fetch the latest news. Please try again later."}},async fetchVideoUrl(){try{const t=await ye.get("/get_last_video_url");this.videoUrl=t.data.url,this.videoType=t.data.type,this.checkVideoUpdate()}catch(t){console.error("Failed to fetch video information:",t),this.error="Unable to fetch the latest video information. Please try again later."}},async handleClick(){await ye.post("/set_last_viewed_video_url",{client_id:this.$store.state.client_id,last_viewed_video_url:this.videoUrl}),this.showVideoButton=!1},async checkVideoUpdate(){const e=(await ye.get("/get_last_viewed_video_url")).data;console.log("storedVideoUrl"),console.log(e),this.videoUrl!==e&&(this.showVideoButton=!0)}},mounted(){this.fetchLatestNews(),this.fetchVideoUrl()}},Car={class:"flex flex-col items-center justify-center w-full h-full min-h-screen p-8"},Aar={class:"text-center max-w-4xl"},war={class:"flex items-center justify-center gap-8 mb-12"},Mar={class:"relative w-24 h-24"},Oar=["src"],Rar={class:"flex flex-col items-start"},Nar={class:"text-6xl font-bold text-transparent bg-clip-text bg-gradient-to-r from-indigo-600 to-purple-600 dark:from-indigo-400 dark:to-purple-400"},Dar={class:"space-y-8 animate-fade-in-up"},Iar={class:"text-4xl font-semibold"},kar={class:"text-xl max-w-3xl mx-auto"},Par={key:0,class:"mt-12 p-6 rounded-lg shadow-md animate-fade-in-up overflow-y-scroll scrollbar-thin"},Har=["innerHTML"],Var={key:1,class:"mt-6 text-red-500"},Far={key:0,class:"floating-button-container"},Bar=["href"],$ar=["src","alt"];function Uar(t,e,n,r,i,o){return k(),P("div",Car,[g("div",Aar,[g("div",war,[g("div",Mar,[g("img",{src:o.logoSrc,alt:"LoLLMS Logo",class:"w-24 h-24 rounded-full absolute animate-rolling-ball"},null,8,Oar)]),g("div",Rar,[g("h1",Nar,ue(t.$store.state.theme_vars.lollms_title),1),e[1]||(e[1]=g("p",{class:"text-2xl italic mt-2"}," Lord of Large Language And Multimodal Systems ",-1))])]),g("div",Dar,[g("h2",Iar,ue(t.$store.state.theme_vars.lollms_welcome_short_message),1),g("p",kar,ue(t.$store.state.theme_vars.lollms_welcome_message),1)]),i.latestNews?(k(),P("div",Par,[e[2]||(e[2]=g("h3",null,"Latest LoLLMS News",-1)),g("p",{innerHTML:i.latestNews},null,8,Har)])):ie("",!0),i.error?(k(),P("div",Var,ue(i.error),1)):ie("",!0)]),i.showVideoButton?(k(),P("div",Far,[g("a",{href:i.videoUrl,target:"_blank",class:"floating-button",onClick:e[0]||(e[0]=(...s)=>o.handleClick&&o.handleClick(...s))},[e[3]||(e[3]=g("span",{class:"tooltip"},"New ParisNeo Video!",-1)),g("img",{src:o.getImageForVideoType,alt:"New "+i.videoType,class:"w-full h-full object-cover"},null,8,$ar)],8,Bar)])):ie("",!0)])}const UU=Et(Lar,[["render",Uar],["__scopeId","data-v-d9375d3e"]]);var Gar=function(){function t(e,n){n===void 0&&(n=[]),this._eventType=e,this._eventFunctions=n}return t.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(e._eventType,n)})},t}(),gd=function(){return gd=Object.assign||function(t){for(var e,n=1,r=arguments.length;n{const e=t.data;console.log("Done"),e.status?(this.currentPersonConfig=e.config,this.showPersonalityEditor=!0):console.error(e.error)}).catch(t=>{console.error(t)})}}},jar={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 z-20"},War={class:"relative w-full max-h-full bg-bg-light dark:bg-bg-dark"},Yar={class:"w-full h-full relative items-center gap-2 rounded-lg border bg-bg-light dark:bg-bg-dark p-1.5 shadow-sm hover:shadow-none dark:border-gray-800 dark:bg-gray-900"},Kar={class:"justify-center text-center items-center w-full bg-bg-light dark:bg-bg-dark"},Zar={class:"w-full flex flex-row mt-4 text-center justify-center"},Xar={class:"w-full max-h-full container bg-bg-light dark:bg-bg-dark"},Jar={class:"mb-4 w-full"},e1r={class:"w-full bg-bg-light dark:bg-bg-dark"};function t1r(t,e,n,r,i,o){return i.show?(k(),P("div",jar,[g("div",War,[g("div",Yar,[g("button",{type:"button",onClick:e[0]||(e[0]=s=>o.hide()),class:"absolute top-1 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},e[17]||(e[17]=[g("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),g("span",{class:"sr-only"},"Close modal",-1)])),g("div",Kar,[g("div",Zar,[g("button",{type:"submit",onClick:e[1]||(e[1]=ge((...s)=>o.submitForm&&o.submitForm(...s),["prevent"])),class:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"}," Commit AI to Server "),g("button",{onClick:e[2]||(e[2]=ge(s=>o.hide(),["prevent"])),class:"bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"}," Close ")]),g("div",Xar,[g("form",Jar,[g("table",e1r,[g("tr",null,[e[18]||(e[18]=g("td",null,[g("label",{for:"personalityConditioning"},"Personality Conditioning:")],-1)),g("td",null,[te(g("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"personalityConditioning","onUpdate:modelValue":e[3]||(e[3]=s=>n.config.personality_conditioning=s)},null,512),[[Ne,n.config.personality_conditioning]])])]),g("tr",null,[e[19]||(e[19]=g("td",null,[g("label",{for:"userMessagePrefix"},"User Message Prefix:")],-1)),g("td",null,[te(g("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"userMessagePrefix","onUpdate:modelValue":e[4]||(e[4]=s=>n.config.user_message_prefix=s)},null,512),[[Ne,n.config.user_message_prefix]])])]),g("tr",null,[e[20]||(e[20]=g("td",null,[g("label",{for:"aiMessagePrefix"},"AI Message Prefix:")],-1)),g("td",null,[te(g("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"aiMessagePrefix","onUpdate:modelValue":e[5]||(e[5]=s=>n.config.ai_message_prefix=s)},null,512),[[Ne,n.config.ai_message_prefix]])])]),g("tr",null,[e[21]||(e[21]=g("td",null,[g("label",{for:"linkText"},"Link Text:")],-1)),g("td",null,[te(g("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"linkText","onUpdate:modelValue":e[6]||(e[6]=s=>n.config.link_text=s)},null,512),[[Ne,n.config.link_text]])])]),g("tr",null,[e[22]||(e[22]=g("td",null,[g("label",{for:"welcomeMessage"},"Welcome Message:")],-1)),g("td",null,[te(g("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"welcomeMessage","onUpdate:modelValue":e[7]||(e[7]=s=>n.config.welcome_message=s)},null,512),[[Ne,n.config.welcome_message]])])]),g("tr",null,[e[23]||(e[23]=g("td",null,[g("label",{for:"modelTemperature"},"Model Temperature:")],-1)),g("td",null,[te(g("input",{type:"number",id:"modelTemperature","onUpdate:modelValue":e[8]||(e[8]=s=>n.config.model_temperature=s)},null,512),[[Ne,n.config.model_temperature]])])]),g("tr",null,[e[24]||(e[24]=g("td",null,[g("label",{for:"modelTopK"},"Model Top K:")],-1)),g("td",null,[te(g("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelTopK","onUpdate:modelValue":e[9]||(e[9]=s=>n.config.model_top_k=s)},null,512),[[Ne,n.config.model_top_k]])])]),g("tr",null,[e[25]||(e[25]=g("td",null,[g("label",{for:"modelTopP"},"Model Top P:")],-1)),g("td",null,[te(g("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelTopP","onUpdate:modelValue":e[10]||(e[10]=s=>n.config.model_top_p=s)},null,512),[[Ne,n.config.model_top_p]])])]),g("tr",null,[e[26]||(e[26]=g("td",null,[g("label",{for:"modelRepeatPenalty"},"Model Repeat Penalty:")],-1)),g("td",null,[te(g("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelRepeatPenalty","onUpdate:modelValue":e[11]||(e[11]=s=>n.config.model_repeat_penalty=s)},null,512),[[Ne,n.config.model_repeat_penalty]])])]),g("tr",null,[e[27]||(e[27]=g("td",null,[g("label",{for:"modelRepeatLastN"},"Model Repeat Last N:")],-1)),g("td",null,[te(g("input",{class:"dark:bg-black dark:text-primary w-full",type:"number",id:"modelRepeatLastN","onUpdate:modelValue":e[12]||(e[12]=s=>n.config.model_repeat_last_n=s)},null,512),[[Ne,n.config.model_repeat_last_n]])])]),g("tr",null,[e[28]||(e[28]=g("td",null,[g("label",{for:"recommendedBinding"},"Recommended Binding:")],-1)),g("td",null,[te(g("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"recommendedBinding","onUpdate:modelValue":e[13]||(e[13]=s=>n.config.recommended_binding=s)},null,512),[[Ne,n.config.recommended_binding]])])]),g("tr",null,[e[29]||(e[29]=g("td",null,[g("label",{for:"recommendedModel"},"Recommended Model:")],-1)),g("td",null,[te(g("input",{class:"dark:bg-black dark:text-primary w-full",type:"text",id:"recommendedModel","onUpdate:modelValue":e[14]||(e[14]=s=>n.config.recommended_model=s)},null,512),[[Ne,n.config.recommended_model]])])]),g("tr",null,[e[30]||(e[30]=g("td",null,[g("label",{class:"dark:bg-black dark:text-primary w-full",for:"dependencies"},"Dependencies:")],-1)),g("td",null,[te(g("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"dependencies","onUpdate:modelValue":e[15]||(e[15]=s=>n.config.dependencies=s)},null,512),[[Ne,n.config.dependencies]])])]),g("tr",null,[e[31]||(e[31]=g("td",null,[g("label",{for:"antiPrompts"},"Anti Prompts:")],-1)),g("td",null,[te(g("textarea",{class:"dark:bg-black dark:text-primary w-full",id:"antiPrompts","onUpdate:modelValue":e[16]||(e[16]=s=>n.config.anti_prompts=s)},null,512),[[Ne,n.config.anti_prompts]])])])])])])])])])])):ie("",!0)}const tG=Et(zar,[["render",t1r]]),n1r={data(){return{showPopup:!1,webpageUrl:"https://lollms.com/"}},methods:{show(){this.showPopup=!0},hide(){this.showPopup=!1},save_configuration(){ye.post("/apply_settings",{client_id:this.$store.state.client_id,config:this.$store.state.config}).then(t=>{this.isLoading=!1,t.data.status?(this.$store.state.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$store.state.toast.showToast("Configuration change failed.",4,!1)})}}},r1r={key:0,class:"fixed inset-0 flex items-center justify-center z-50"},i1r={class:"popup-container"},o1r=["src"],s1r={class:"checkbox-container"};function a1r(t,e,n,r,i,o){return k(),wt(Ai,{name:"fade"},{default:Be(()=>[i.showPopup?(k(),P("div",r1r,[g("div",i1r,[g("button",{onClick:e[0]||(e[0]=(...s)=>o.hide&&o.hide(...s)),class:"close-button"}," X "),g("iframe",{src:i.webpageUrl,class:"iframe-content"},null,8,o1r),g("div",s1r,[te(g("input",{type:"checkbox",id:"startup",class:"styled-checkbox","onUpdate:modelValue":e[1]||(e[1]=s=>this.$store.state.config.show_news_panel=s),onChange:e[2]||(e[2]=(...s)=>o.save_configuration&&o.save_configuration(...s))},null,544),[[at,this.$store.state.config.show_news_panel]]),e[3]||(e[3]=g("label",{for:"startup",class:"checkbox-label"},"Show at startup",-1))])])])):ie("",!0)]),_:1})}const nG=Et(n1r,[["render",a1r],["__scopeId","data-v-d504dfc9"]]),l1r="/assets/fastapi-BQj-rjUJ.png",c1r="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20127.14%2096.36'%3e%3cg%20id='图层_2'%20data-name='图层%202'%3e%3cg%20id='Discord_Logos'%20data-name='Discord%20Logos'%3e%3cg%20id='Discord_Logo_-_Large_-_White'%20data-name='Discord%20Logo%20-%20Large%20-%20White'%3e%3cpath%20d='M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",u1r="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='50'%20height='50'%3e%3ccircle%20cx='25'%20cy='25'%20r='20'%20fill='none'%20stroke='black'%20stroke-width='3'%3e%3c/circle%3e%3cline%20x1='25'%20y1='30'%20x2='25'%20y2='15'%20style='stroke:black;stroke-width:3'%3e%3c/line%3e%3ccircle%20cx='25'%20cy='35'%20r='3'%20fill='black'%3e%3c/circle%3e%3c/svg%3e",d1r="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='50'%20height='50'%3e%3ccircle%20cx='25'%20cy='25'%20r='20'%20fill='none'%20stroke='black'%20stroke-width='3'%3e%3c/circle%3e%3cline%20x1='25'%20y1='30'%20x2='25'%20y2='15'%20style='stroke:black;stroke-width:3'%3e%3canimate%20attributeName='y1'%20values='30;25;30'%20dur='1s'%20repeatCount='indefinite'%3e%3c/animate%3e%3canimate%20attributeName='y2'%20values='15;20;15'%20dur='1s'%20repeatCount='indefinite'%3e%3c/animate%3e%3c/line%3e%3ccircle%20cx='25'%20cy='35'%20r='3'%20fill='black'%3e%3canimate%20attributeName='cy'%20values='35;30;35'%20dur='1s'%20repeatCount='indefinite'%3e%3c/animate%3e%3c/circle%3e%3c/svg%3e",f1r="data:image/svg+xml,%3c?xml%20version='1.0'%20?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20width='800px'%20height='800px'%20viewBox='0%200%2064%2064'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20data-name='Layer%205'%20id='Layer_5'%3e%3cpath%20d='M47,33H17a1,1,0,0,0-1,1c0,9.93,7.18,18,16,18s16-8.07,16-18A1,1,0,0,0,47,33ZM18,35H46a18,18,0,0,1-.67,4H18.71A18,18,0,0,1,18,35ZM26.7,48.8a6.42,6.42,0,0,1,10.6,0,12.3,12.3,0,0,1-10.6,0Zm12.34-1A8.81,8.81,0,0,0,32,44a8.81,8.81,0,0,0-7,3.81A15.56,15.56,0,0,1,19.43,41H44.57A15.56,15.56,0,0,1,39,47.81ZM36,22a1.1,1.1,0,0,1,0-.18,1.17,1.17,0,0,1,.06-.2s0-.05,0-.07a.28.28,0,0,1,.07-.09.71.71,0,0,1,.28-.28s.06-.06.09-.07l10-5a1,1,0,1,1,.9,1.78L39.24,22l8.21,4.11a1,1,0,0,1,.44,1.34A1,1,0,0,1,47,28a.93.93,0,0,1-.45-.11l-10-5h0a1.18,1.18,0,0,1-.28-.22l0-.06a.65.65,0,0,1-.1-.15s0-.05,0-.07a1.17,1.17,0,0,1-.06-.2A1.1,1.1,0,0,1,36,22ZM16.55,26.11,24.76,22l-8.21-4.11a1,1,0,1,1,.9-1.78l10,5s.06.05.09.07a.71.71,0,0,1,.28.28.28.28,0,0,1,.07.09s0,.05,0,.07a1.17,1.17,0,0,1,.06.2.82.82,0,0,1,0,.36,1.17,1.17,0,0,1-.06.2s0,.05,0,.07a.65.65,0,0,1-.1.15.21.21,0,0,0,0,.06,1.18,1.18,0,0,1-.28.22h0l-10,5A.93.93,0,0,1,17,28a1,1,0,0,1-.89-.55A1,1,0,0,1,16.55,26.11ZM60.66,36.45A29.69,29.69,0,0,0,61,32,29,29,0,0,0,3,32a29.69,29.69,0,0,0,.34,4.45,4.65,4.65,0,0,0,2.39,7.82,29,29,0,0,0,52.54,0,4.65,4.65,0,0,0,2.39-7.82ZM4.78,41.58a2.91,2.91,0,0,1-.24-.27A2.62,2.62,0,0,1,4,39.71a.61.61,0,0,1,0-.14,2.58,2.58,0,0,1,.77-1.73,4.38,4.38,0,0,1,.74-.55C7,36.38,10,34.9,12.69,33.67c-1.52,3.3-3.42,7.17-4.17,7.91a2.59,2.59,0,0,1-1.47.72A2.66,2.66,0,0,1,4.78,41.58ZM32,59A27,27,0,0,1,7.92,44.18a4.56,4.56,0,0,0,2-1.18c1.48-1.49,5-9.36,5.66-10.92a1,1,0,0,0-1.32-1.32c-.78.34-3.14,1.39-5.49,2.53-1.29.63-2.58,1.29-3.6,1.88A25.58,25.58,0,0,1,5,32a27,27,0,0,1,54,0,25.58,25.58,0,0,1-.19,3.17c-2.88-1.66-7.88-3.88-9.09-4.41a1,1,0,0,0-1.32,1.32c.69,1.56,4.18,9.43,5.66,10.92a4.56,4.56,0,0,0,2,1.18A27,27,0,0,1,32,59ZM59.46,41.31a2.91,2.91,0,0,1-.24.27A2.66,2.66,0,0,1,57,42.3a2.59,2.59,0,0,1-1.47-.72c-.75-.74-2.65-4.61-4.17-7.91,1.65.76,3.44,1.61,4.91,2.37.91.47,1.7.9,2.26,1.25a4.38,4.38,0,0,1,.74.55A2.58,2.58,0,0,1,60,39.57a.61.61,0,0,1,0,.14A2.62,2.62,0,0,1,59.46,41.31Z'/%3e%3c/g%3e%3c/svg%3e",p1r="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20height='800px'%20width='800px'%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20512.001%20512.001'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cpath%20d='M256.001,0C114.841,0,0,114.841,0,256.001s114.841,256.001,256.001,256.001S512.001,397.16,512.001,256.001%20S397.16,0,256.001,0z%20M256.001,493.701c-131.069,0-237.702-106.631-237.702-237.7S124.932,18.299,256.001,18.299%20s237.702,106.632,237.702,237.702S387.068,493.701,256.001,493.701z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M371.284,296.658H138.275c-5.054,0-9.15,4.097-9.15,9.15s4.095,9.15,9.15,9.15h233.008c5.054,0,9.15-4.097,9.15-9.15%20C380.433,300.754,376.337,296.658,371.284,296.658z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M297.481,330.816h-85.403c-5.054,0-9.15,4.097-9.15,9.15s4.095,9.15,9.15,9.15h85.403c5.054,0,9.15-4.097,9.15-9.15%20S302.534,330.816,297.481,330.816z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M146.725,192.982c-18.666,0-33.852,15.186-33.852,33.852c0,18.666,15.186,33.852,33.852,33.852%20c18.666,0,33.852-15.186,33.852-33.852C180.577,208.168,165.391,192.982,146.725,192.982z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M365.275,192.982c-18.666,0-33.852,15.186-33.852,33.852c0,18.666,15.186,33.852,33.852,33.852%20s33.852-15.186,33.852-33.852C399.128,208.168,383.942,192.982,365.275,192.982z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%3e%3cg%3e%3ccircle%20cx='155.969'%20cy='219.735'%20r='9.15'/%3e%3ccircle%20cx='374.338'%20cy='219.735'%20r='9.15'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",h1r="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20fill='%23000000'%20height='800px'%20width='800px'%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20299.92%20299.92'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cg%3e%3cpath%20d='M293.4,65.2H6.52C2.914,65.2,0,68.114,0,71.72v117.36c0,3.606,2.914,6.52,6.52,6.52h6.52v32.6%20c0,3.606,2.914,6.52,6.52,6.52h260.8c3.606,0,6.52-2.914,6.52-6.52v-32.6h6.52c3.606,0,6.52-2.914,6.52-6.52V71.72%20C299.92,68.114,297.006,65.2,293.4,65.2z%20M273.84,221.68h-19.56H228.2h-26.08h-26.08h-26.08h-26.08H97.8H71.72H45.64H26.08V195.6%20h19.56h26.08H97.8h26.08h26.08h26.08h26.08h26.08h26.08h19.56V221.68z%20M286.88,182.56h-6.52H19.56h-6.52V78.24h273.84V182.56z'/%3e%3cpath%20d='M32.6,169.52h39.12c3.606,0,6.52-2.914,6.52-6.52V97.8c0-3.606-2.914-6.52-6.52-6.52H32.6c-3.606,0-6.52,2.914-6.52,6.52%20V163C26.08,166.606,28.994,169.52,32.6,169.52z%20M39.12,104.32H65.2v52.16H39.12V104.32z'/%3e%3cpath%20d='M97.8,169.52h39.12c3.606,0,6.52-2.914,6.52-6.52V97.8c0-3.606-2.914-6.52-6.52-6.52H97.8c-3.606,0-6.52,2.914-6.52,6.52%20V163C91.28,166.606,94.194,169.52,97.8,169.52z%20M104.32,104.32h26.08v52.16h-26.08V104.32z'/%3e%3cpath%20d='M163,169.52h39.12c3.606,0,6.52-2.914,6.52-6.52V97.8c0-3.606-2.914-6.52-6.52-6.52H163c-3.606,0-6.52,2.914-6.52,6.52%20V163C156.48,166.606,159.394,169.52,163,169.52z%20M169.52,104.32h26.08v52.16h-26.08V104.32z'/%3e%3cpath%20d='M228.2,169.52h39.12c3.606,0,6.52-2.914,6.52-6.52V97.8c0-3.606-2.914-6.52-6.52-6.52H228.2%20c-3.606,0-6.52,2.914-6.52,6.52V163C221.68,166.606,224.594,169.52,228.2,169.52z%20M234.72,104.32h26.08v52.16h-26.08V104.32z'/%3e%3cpath%20d='M52.16,215.16v-13.04c0-3.606-2.914-6.52-6.52-6.52c-3.606,0-6.52,2.914-6.52,6.52v13.04c0,3.606,2.914,6.52,6.52,6.52%20C49.246,221.68,52.16,218.766,52.16,215.16z'/%3e%3cpath%20d='M78.24,215.16v-13.04c0-3.606-2.914-6.52-6.52-6.52c-3.606,0-6.52,2.914-6.52,6.52v13.04c0,3.606,2.914,6.52,6.52,6.52%20C75.326,221.68,78.24,218.766,78.24,215.16z'/%3e%3cpath%20d='M104.32,215.16v-13.04c0-3.606-2.914-6.52-6.52-6.52c-3.606,0-6.52,2.914-6.52,6.52v13.04c0,3.606,2.914,6.52,6.52,6.52%20C101.406,221.68,104.32,218.766,104.32,215.16z'/%3e%3cpath%20d='M130.4,215.16v-13.04c0-3.606-2.914-6.52-6.52-6.52c-3.606,0-6.52,2.914-6.52,6.52v13.04c0,3.606,2.914,6.52,6.52,6.52%20C127.486,221.68,130.4,218.766,130.4,215.16z'/%3e%3cpath%20d='M156.48,215.16v-13.04c0-3.606-2.914-6.52-6.52-6.52s-6.52,2.914-6.52,6.52v13.04c0,3.606,2.914,6.52,6.52,6.52%20S156.48,218.766,156.48,215.16z'/%3e%3cpath%20d='M182.56,215.16v-13.04c0-3.606-2.914-6.52-6.52-6.52c-3.606,0-6.52,2.914-6.52,6.52v13.04c0,3.606,2.914,6.52,6.52,6.52%20C179.646,221.68,182.56,218.766,182.56,215.16z'/%3e%3cpath%20d='M208.64,215.16v-13.04c0-3.606-2.914-6.52-6.52-6.52c-3.606,0-6.52,2.914-6.52,6.52v13.04c0,3.606,2.914,6.52,6.52,6.52%20C205.726,221.68,208.64,218.766,208.64,215.16z'/%3e%3cpath%20d='M234.72,215.16v-13.04c0-3.606-2.914-6.52-6.52-6.52c-3.606,0-6.52,2.914-6.52,6.52v13.04c0,3.606,2.914,6.52,6.52,6.52%20C231.806,221.68,234.72,218.766,234.72,215.16z'/%3e%3cpath%20d='M260.8,215.16v-13.04c0-3.606-2.914-6.52-6.52-6.52c-3.606,0-6.52,2.914-6.52,6.52v13.04c0,3.606,2.914,6.52,6.52,6.52%20C257.886,221.68,260.8,218.766,260.8,215.16z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",T1r="data:image/svg+xml,%3csvg%20width='100'%20height='100'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='50'%20cy='50'%20r='40'%20stroke='green'%20stroke-width='4'%20fill='green'%20/%3e%3cpath%20stroke='white'%20stroke-width='4'%20d='M40%2050%20l10%2010%2020%20-20'%20fill='none'%20/%3e%3c/svg%3e",m1r="data:image/svg+xml,%3csvg%20width='100'%20height='100'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='50'%20cy='50'%20r='40'%20stroke='red'%20stroke-width='4'%20fill='red'%20/%3e%3cline%20x1='35'%20y1='35'%20x2='65'%20y2='65'%20stroke='white'%20stroke-width='4'%20/%3e%3cline%20x1='65'%20y1='35'%20x2='35'%20y2='65'%20stroke='white'%20stroke-width='4'%20/%3e%3c/svg%3e",g1r="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='iso-8859-1'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20fill='%23000000'%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='800px'%20height='800px'%20viewBox='0%200%20461.759%20461.759'%20xml:space='preserve'%3e%3cg%3e%3cpath%20d='M0,301.058h147.916v147.919H0V301.058z%20M194.432,448.977H342.35V301.058H194.432V448.977z%20M2.802,257.347h147.916V109.434%20H2.802V257.347z%20M325.476,92.219l-51.603-79.437l-79.441,51.601l51.604,79.437L325.476,92.219z%20M219.337,213.733l71.045,62.663%20l62.66-71.039l-71.044-62.669L219.337,213.733z%20M412.107,57.967l-80.668,49.656l49.652,80.666l80.668-49.65L412.107,57.967z'/%3e%3c/g%3e%3c/svg%3e",_1r="/assets/robot-CQPaMbxU.svg",Q1r="/";ye.defaults.baseURL="/";const v1r={name:"MountedPersonalities",props:{onShowPersList:Function,onReady:Function},components:{Toast:Vb,UniversalForm:rU},data(){return{bUrl:Q1r,isMounted:!1,show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},computed:{configFile:{get(){return this.$store.state.config},set(t){this.$store.commit("setConfig",t)}},mountedPers:{get(){return console.log("asked for:",this.$store.state.mountedPers),this.$store.state.mountedPers},set(t){this.$store.commit("setMountedPers",t)}},personalities:{get(){return this.$store.state.personalities},set(t){this.$store.commit("setPersonalities",t)}},mountedPersArr:{get(){return this.$store.state.mountedPersArr},set(t){this.$store.commit("setMountedPers",t)}}},methods:{async handleOnTalk(){const t=this.mountedPers;console.log("pers:",t),this.isGenerating=!0;let e=await ye.get("/get_generation_status",{});if(e)if(e.data.status)console.log("Already generating");else{const n=this.$store.state.config.personalities.findIndex(i=>i===t.full_path),r={client_id:this.$store.state.client_id,id:n};e=await ye.post("/select_personality",r),console.log("Generating message from ",e.data.status),et.emit("generate_msg_from",{id:-1})}},async remount_personality(){const t=this.mountedPers;if(console.log("Remounting personality ",t),!t)return{status:!1,error:"no personality - mount_personality"};try{console.log("before");const e={client_id:this.$store.state.client_id,category:t.category,folder:t.folder,language:t.language};console.log("after");const n=await ye.post("/remount_personality",e);if(console.log("Remounting personality executed:",n),n)return console.log("Remounting personality res"),this.$store.state.toast.showToast("Personality remounted",4,!0),n.data;console.log("failed remount_personality")}catch(e){console.log(e.message,"remount_personality - settings");return}},onSettingsPersonality(t){try{ye.get("/get_active_personality_settings").then(e=>{e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.name,"Save changes","Cancel").then(n=>{try{ye.post("/set_active_personality_settings",n).then(r=>{r&&r.data?(console.log("personality set with new settings",r.data),this.$store.state.toast.showToast("Personality settings updated successfully!",4,!0)):this.$store.state.toast.showToast(`Did not get Personality settings responses.
`+r,4,!1)})}catch(r){this.$store.state.toast.showToast(`Did not get Personality settings responses.
- Endpoint error: `+r.message,4,!1)}}):this.$store.state.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$store.state.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},async constructor(){for(Ke(()=>{Xe.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=tE}}},y1r={class:"relative group/item"},b1r=["src","alt"],E1r={class:"absolute bottom-6 left-0 w-full flex items-center justify-center opacity-0 group-hover/item:opacity-100 transition-opacity duration-200 p-1"},x1r={class:"p-1 bg-gray-500 rounded-full text-white hover:bg-gray-600 focus:outline-none ml-1",title:"Show more"},S1r={class:"text-xs font-bold"};function L1r(t,e,n,r,i,o){const s=gt("UniversalForm");return k(),P(ze,null,[g("div",y1r,[g("button",{onClick:e[1]||(e[1]=ge((...a)=>o.onSettingsPersonality&&o.onSettingsPersonality(...a),["prevent"])),class:We(["w-6 h-6 rounded-full overflow-hidden transition-transform duration-200 transform group-hover/item:scale-110 focus:outline-none relative",{"glow-effect":t.$store.state.config.activate_skills_lib}])},[g("img",{src:o.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>o.personalityImgPlacehodler&&o.personalityImgPlacehodler(...a)),alt:o.mountedPers.name,class:We(["w-full h-full object-cover",{"border-2 border-secondary":t.isActive}])},null,42,b1r)],2),g("div",E1r,[g("button",{onClick:e[2]||(e[2]=ge(a=>o.remount_personality(),["prevent"])),class:"p-1 bg-blue-500 rounded-full text-white hover:bg-blue-600 focus:outline-none",title:"Remount"},e[4]||(e[4]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1)])),g("button",{onClick:e[3]||(e[3]=ge(a=>o.handleOnTalk(),["prevent"])),class:"p-1 bg-green-500 rounded-full text-white hover:bg-green-600 focus:outline-none ml-1",title:"Talk"},e[5]||(e[5]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"})],-1)])),g("button",x1r,[g("span",S1r,"+"+ue(o.mountedPersArr.length-1),1)])])]),ae(s,{ref:"universalForm",class:"z-50"},null,512)],64)}const rG=Et(v1r,[["render",L1r],["__scopeId","data-v-85f3dede"]]),C1r={name:"ChangelogPopup",data(){return{showChangelogPopup:!1,changelogContent:"",currentVersion:"0.0.0"}},computed:{parsedChangelogContent(){return gF.sanitize(ln(this.changelogContent))}},async mounted(){await this.checkChangelogUpdate()},methods:{async checkChangelogUpdate(){try{const t=await ye.get("/get_changelog");this.changelogContent=t.data;let e=await ye.get("/get_lollms_webui_version",{});e&&(e=e.data,e.version_type!=""?this.$store.state.version=`${e.version_main}.${e.version_secondary} ${e.version_type} (${e.version_codename})`:this.$store.state.version=`${e.version_main}.${e.version_secondary} (${e.version_codename})`),this.currentVersion=this.$store.state.version,console.log("checkChangelogUpdate"),console.log(this.$store.state.version);const r=(await ye.get("/get_last_viewed_changelog_version")).data;this.currentVersion!==r&&(console.log("Showing changelog"),this.showChangelogPopup=!0)}catch(t){console.error("Error checking changelog:",t)}},async handleUnderstand(){try{await ye.post("/set_last_viewed_changelog_version",{client_id:this.$store.state.client_id,version:this.currentVersion}),this.closePopup()}catch(t){console.error("Error setting changelog version:",t)}},closePopup(){this.showChangelogPopup=!1}}},A1r={key:0,class:"changelog-popup-overlay"},w1r={class:"changelog-popup"},M1r={class:"changelog-header"},O1r=["innerHTML"],R1r={class:"changelog-footer"};function N1r(t,e,n,r,i,o){return i.showChangelogPopup?(k(),P("div",A1r,[g("div",w1r,[g("div",M1r,[e[2]||(e[2]=g("h2",null,"What's New in LoLLMs",-1)),g("button",{class:"close-button",onClick:e[0]||(e[0]=(...s)=>o.closePopup&&o.closePopup(...s))},"×")]),g("div",{class:"changelog-content markdown-body",innerHTML:o.parsedChangelogContent},null,8,O1r),g("div",R1r,[g("button",{class:"understood-button",onClick:e[1]||(e[1]=(...s)=>o.handleUnderstand&&o.handleUnderstand(...s))}," I understood ")])])])):ie("",!0)}const iG=Et(C1r,[["render",N1r],["__scopeId","data-v-f9c6a52e"]]),D1r={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center overflow-hidden"},I1r={key:0,class:"absolute inset-0 pointer-events-none overflow-hidden"},k1r={class:"flex flex-col items-center text-center max-w-4xl w-full px-4 relative z-10"},P1r={class:"mb-8 w-full"},H1r={class:"text-5xl md:text-6xl font-bold mb-2 hover:scale-105 transition-transform lollms-title-style"},V1r={class:"bottom-0 text-2xl italic"},F1r={class:"text-lg"},B1r=["innerHTML"],$1r={class:"animated-progressbar-bg"},U1r={class:"w-full max-w-2xl"},G1r={role:"status",class:"w-full"},q1r={class:"text-xl"},z1r={class:"text-2xl font-bold mt-2"},j1r={key:0,class:"relative flex flex-col no-scrollbar shadow-lg w-[16rem]"},W1r={class:"logo-container"},Y1r=["src"],K1r={class:"toolbar discussion"},Z1r={class:"toolbar-container"},X1r={class:"p-4 flex flex-wrap gap-2 items-center"},J1r={class:"p-4 flex flex-wrap gap-2 items-center"},e2r={class:"relative"},t2r={class:"relative"},n2r={key:0,title:"Loading..",class:"flex justify-center"},r2r={key:1,class:"flex justify-center space-x-4"},i2r={key:2,class:"flex flex-col space-y-2"},o2r={class:"relative inline-block"},s2r={class:"p-2 border-b border-gray-200 dark:border-gray-700"},a2r={class:"p-4 grid grid-cols-3 gap-4 max-h-80 overflow-y-auto custom-scrollbar"},l2r={class:"flex flex-col items-center hover:bg-blue-100 dark:hover:bg-blue-900 p-2 rounded-md w-full cursor-pointer"},c2r=["onClick","title"],u2r=["src","alt"],d2r=["title"],f2r={class:"absolute top-0 left-0 w-full h-full opacity-0 group-hover/item:opacity-100 transition-opacity duration-200 bg-white dark:bg-gray-900 rounded-md shadow-md p-2 flex flex-col items-center justify-center"},p2r=["onClick"],h2r={class:"flex space-x-1"},T2r=["onClick"],m2r=["src","title"],g2r={class:"relative inline-block"},_2r={class:"p-2 border-b border-gray-200 dark:border-gray-700"},Q2r={class:"p-4 grid grid-cols-3 gap-4 max-h-80 overflow-y-auto custom-scrollbar"},v2r={class:"flex flex-col items-center hover:bg-blue-100 dark:hover:bg-blue-900 p-2 rounded-md w-full cursor-pointer"},y2r=["onClick","title"],b2r=["src","alt"],E2r=["title"],x2r={class:"absolute top-0 left-0 w-full h-full opacity-0 group-hover/item:opacity-100 transition-opacity duration-200 bg-white dark:bg-gray-900 rounded-md shadow-md p-2 flex flex-col items-center justify-center"},S2r=["onClick"],L2r={class:"flex space-x-1"},C2r=["onClick"],A2r=["src","title"],w2r={class:"relative inline-block"},M2r={class:"p-2 border-b border-gray-200 dark:border-gray-700"},O2r={class:"p-4 grid grid-cols-3 gap-4 max-h-80 overflow-y-auto custom-scrollbar"},R2r={class:"flex flex-col items-center hover:bg-blue-100 dark:hover:bg-blue-900 p-2 rounded-md w-full cursor-pointer"},N2r=["onClick","title"],D2r=["src","alt"],I2r=["title"],k2r={class:"absolute top-0 left-0 w-full h-full opacity-0 group-hover/item:opacity-100 transition-opacity duration-200 bg-white dark:bg-gray-900 rounded-md shadow-md p-2 flex flex-col items-center justify-center"},P2r=["onClick"],H2r={class:"flex space-x-1"},V2r=["onClick"],F2r=["onClick"],B2r=["onClick"],$2r={class:"personalities-container"},U2r={class:"w-auto max-w-md mx-auto p-2"},G2r={class:"flex items-center"},q2r={class:"relative flex-grow"},z2r={key:0,class:"w-full p-4 bg-bg-light dark:bg-bg-dark"},j2r={class:"flex flex-col space-y-2"},W2r={key:0},Y2r={key:1,class:"flex space-x-2"},K2r={key:1,class:"flex space-x-2"},Z2r={class:"flex space-x-2"},X2r={class:"relative flex flex-row flex-grow mb-10 z-0 w-full"},J2r={key:1,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},elr={class:"flex flex-row items-center justify-center panels-color"},tlr={class:"text-center font-large font-bold text-l drop-shadow-md align-middle"},nlr={key:0,class:"relative flex flex-col flex-grow"},rlr={class:"container pt-4 pb-50 mb-50 w-full"},ilr={key:0,class:"w-full rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex flex-col overflow-hidden p-4 pb-2"},olr={class:"overflow-x-auto flex-grow scrollbar-thin scrollbar-thumb-gray-400 dark:scrollbar-thumb-gray-600 scrollbar-track-gray-200 dark:scrollbar-track-gray-800 scrollbar-thumb-rounded-full scrollbar-track-rounded-full"},slr={class:"flex flex-nowrap gap-6 p-4 min-w-full"},alr=["title","onClick"],llr={class:"space-y-3"},clr=["title"],ulr=["title"],dlr={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},flr={class:"bg-white dark:bg-gray-800 p-6 rounded-lg shadow-xl max-w-4xl w-full max-h-[90vh] flex flex-col"},plr={class:"flex-1 flex flex-col min-h-0"},hlr={class:"mb-4 p-4 bg-gray-100 dark:bg-gray-700 rounded-lg"},Tlr={class:"flex-1 h-[200px] overflow-y-auto scrollbar scrollbar-thumb-gray-400 dark:scrollbar-thumb-gray-500 scrollbar-track-gray-200 dark:scrollbar-track-gray-700 scrollbar-thin rounded-md"},mlr={class:"text-base whitespace-pre-wrap"},glr={class:"flex-1 overflow-y-auto"},_lr={class:"space-y-4"},Qlr=["for"],vlr=["id","onUpdate:modelValue","placeholder"],ylr=["id","onUpdate:modelValue"],blr=["id","onUpdate:modelValue"],Elr=["id","onUpdate:modelValue"],xlr={key:4,class:"border rounded-md overflow-hidden"},Slr={class:"bg-gray-200 dark:bg-gray-900 p-2 text-sm"},Llr=["id","onUpdate:modelValue"],Clr=["id","onUpdate:modelValue"],Alr=["value"],wlr={class:"mt-6 flex justify-end space-x-4"},Mlr={key:0,class:"flex flex-row items-center justify-center h-10"},Olr={key:0,class:"relative flex flex-col no-scrollbar shadow-lg w-1/2 bg-bg-light-tone dark:bg-bg-dark-tone h-full"},Rlr={ref:"isolatedContent",class:"h-full"},Nlr={role:"status",class:"fixed m-0 p-2 left-2 bottom-2 min-w-[24rem] max-w-[24rem] h-20 flex flex-col justify-center items-center pb-4 bg-blue-500 rounded-lg shadow-lg z-50 background-a"},Dlr={class:"text-2xl animate-pulse mt-2 text-white"},Ilr={id:"app"},klr=t=>{const e=t.replace("[","").replace("]","").split("::"),n=e[0];if(e.length===1)return{label:n,type:"text",fullText:t};const r=e[1],i={label:n,type:r,fullText:t};switch(r){case"int":case"float":case"multiline":break;case"code":i.language=e[2]||"plaintext";break;case"options":i.options=e[2]?e[2].split(",").map(o=>o.trim()):[];break;default:i.type="text"}return i},Plr="/",Hlr={setup(){},data(){return{interestingFacts:["ParisNeo, the creator of LoLLMs, originally built his high-performance PC to play Cyberpunk 2077. However, his passion for AI took an unexpected turn, leading him to develop LoLLMs instead. Ironically, he never found the time to actually play the game that inspired his powerful setup!","Saïph, version 14 of LoLLMs, is named after a star in Orion's constellation (Kappa Orionis), representing bright guidance in AI!","At 12, ParisNeo coded 'Saif14' in BASIC on a Tandy 1000, an 'all-in-one' suite named with a friend. LoLLMs v14 'Saïph' - a star in Orion - echoes this BASIC creation's spirit and hints at OpenAI's future.",`The new AI Village app in LoLLMs, simulating AI agents believing they're human, mirrors "The Hitchhiker's Guide to the Galaxy" (ParisNeo's favorite) where Earth was a simulation to compute the Ultimate Question. Both explore the idea of unsuspecting inhabitants participating in a grand cosmic calculation!`,'Once upon a time, young ParisNeo dove so deep into "The Matrix" that he watched it 60 times in two months, practically becoming a human DVD player! Fast forward to today, and this same Matrix-obsessed kid grew up to create LoLLMs, where AI personas are like digital kung-fu masters, and users are the chosen ones. Talk about life imitating art - ParisNeo went from "I know kung fu" to "I code AI"! Who knew binge-watching could lead to bending the rules of AI reality?',"Did you know? The first computer programmer was a woman - Ada Lovelace!","Large Language Models (LLMs) have evolved from having millions of parameters to hundreds of billions in just a few years.","LoLLMs (Lord of Large Language Multimodal Systems) is an open-source AI assistant platform created by ParisNeo.","Saïph (κ Orionis) is a blue-white supergiant star approximately 650 light-years away from Earth.","Neural networks were first proposed in 1943 by Warren McCulloch and Walter Pitts.","Modern LLMs like GPT-4 can understand and generate multiple languages, code, and even analyze images.","LoLLMs supports multiple AI models and can perform tasks like code interpretation, image analysis, and internet searches.","The term 'transformer' in AI, which powers most modern LLMs, was introduced in the 'Attention is All You Need' paper in 2017.","LoLLMs can generate various types of diagrams, including SVG, Graphviz, and Mermaid diagrams.","The Python programming language was named after Monty Python.","LoLLMs features a built-in code interpreter that can execute multiple programming languages.","Quantum computers can perform calculations in minutes that would take classical computers thousands of years.","LoLLMs supports multimodal interactions, allowing users to work with both text and images.","The name Saïph in Arabic (سيف) means 'sword', symbolizing cutting-edge AI technology.",'',"LoLLMs' version naming often contains clever easter eggs and references to AI advancements.","The 'Strawberry' version of LoLLMs was a playful nod to ChatGPT's internal codename for one of its versions.","The 'Saïph' version name was an intentional reference to Orion, anticipating OpenAI's rumored AGI-capable model codenamed 'Orion'.","LoLLMs' evolution can be traced through its version names: Warp, Starship, Robot, Brainwave, Strawberry, Feather, Saïph, Nexus, Pulsar.","Each LoLLMs version name reflects either technological advancement or pays homage to significant developments in AI.","'Warp' and 'Starship' versions symbolized the quantum leap in AI capabilities and speed improvements.","'Robot' represented the system's growing autonomy and ability to perform complex tasks.","'Brainwave' highlighted the neural network aspects and cognitive capabilities of the system.","LoLLMs' version naming shows ParisNeo's keen awareness of industry trends and playful approach to development.","LoLLMs can generate and visualize mathematical equations using LaTeX, making it a powerful tool for scientific documentation.","The system's multimodel capabilities allow it to analyze medical images, architectural blueprints, and technical diagrams.","LoLLMs includes a unique feature called 'personality system' that allows it to adapt its communication style and expertise.","Did you know? LoLLMs can process and generate music notation using ABC notation or LilyPond formats.","LoLLMs supports over 2000 different AI models, making it one of the most versatile open-source AI platforms.","The system can generate realistic 3D scenes descriptions that can be rendered using tools like Blender.","LoLLMs features a unique 'model fusion' capability, combining strengths of different AI models for better results.","The platform includes specialized modules for scientific computing, allowing it to solve complex mathematical problems.","LoLLMs can analyze and generate code in over 20 programming languages, including rare ones like COBOL and Fortran.","The system includes advanced prompt engineering tools, helping users get better results from AI models.","LoLLMs can generate and interpret QR codes, making it useful for creating interactive marketing materials.","The platform supports real-time voice interaction through its advanced speech-to-text and text-to-speech capabilities.","LoLLMs can analyze satellite imagery for environmental monitoring and urban planning applications.","The system includes specialized modules for protein folding prediction and molecular visualization.","LoLLMs features a built-in 'ethical AI' framework that ensures responsible and bias-aware AI interactions.","The platform can generate realistic synthetic data while preserving privacy and maintaining statistical properties.","LoLLMs includes advanced natural language processing capabilities in over 100 languages.","The system can perform sentiment analysis on social media trends and customer feedback in real-time.","LoLLMs features a unique 'time-aware' context system that understands and reasons about temporal relationships.","The world's first computer programmer was a woman named Ada Lovelace.","There are more possible iterations of a game of chess than there are atoms in the known universe.","The first AI program was written in 1951 to play checkers.","The Internet was originally called ARPANET and was developed by the US Department of Defense.","The concept of zero as a number was developed in ancient India, with the earliest known text using it dating to 458 CE.","Light from the Sun takes about 8 minutes and 20 seconds to reach Earth.","The first mobile phone call was made in 1973 by Martin Cooper.","The human brain processes images 60,000 times faster than text.","The most powerful supercomputer today can perform about 442 quadrillion calculations per second.","The ancient Egyptians invented the 365-day calendar we still use today.","Mathematicians have calculated pi to over 62 trillion digits.","Quantum computers can theoretically solve certain problems in seconds that would take classical computers billions of years.","The first email was sent in 1971 by Ray Tomlinson.","The Hubble Space Telescope can see galaxies so far away, it's like looking back in time billions of years.","The largest known prime number has over 24 million digits.","AI can now generate realistic images, music, and even write stories.","The Great Wall of China is not visible from space with the naked eye, contrary to popular belief.","There are more possible ways to shuffle a deck of 52 cards than there are atoms on Earth.","The first computer virus was created in 1983 as an experiment.","The speed of light in a vacuum is exactly 299,792,458 meters per second.","ParisNeo started coding at age 11 after an older programmer refused to teach him BASIC programming","ParisNeo learned BASIC by reverse engineering other people's games, even before he learned English","At age 12, ParisNeo co-created SAIF14, a suite of programs on a Tandy 1000 computer built by two kids","LoLLMs runs on a custom-built gaming PC that ParisNeo assembled and configured himself","The project started as a simple Chrome plugin called 'chatgpt personality selector'","ParisNeo's summer bet involved watching The Matrix 60 times in one month (twice daily) while his uncle gave up","The name LoLLMs was inspired by 'Lord of the Rings', positioning itself as 'one tool to rule them all'","LoLLMs has a 'Personalities Zoo' with over 500 different AI personas","The project evolved from handling just language models to becoming a multimodal system, hence the 'M' in LoLLMs","ParisNeo's difficulty with academic writing led him to develop AI solutions for writing assistance","LoLLMs' development was influenced by science fiction concepts from Wall-E, Terminator, and The Hitchhiker's Guide to the Galaxy","The project went from being 'GPT4All WebUI' to 'Lord of Large Language Models' before becoming 'Lord of Large Language & Multimodal Systems'","ParisNeo received early access to GPT-3 and used it to push the boundaries of what was possible with AI","The project maintains a philosophy of 'Don't panic, bring a towel, and trust in AI' - a reference to The Hitchhiker's Guide to the Galaxy","Despite having multiple patents in various fields, ParisNeo's interest in AI was sparked when he read about AlexNet in 2012","LoLLMs receives daily updates, similar to course corrections on a starship","Fun Fact: Neo's apartment number 101 in The Matrix is a brilliant multi-layered reference! In binary, 101 equals 5, representing someone who stands 'apart' from the zeros and ones of the Matrix. But there's more - Room 101 is also famous from Orwell's '1984' as the room containing 'the worst thing in the world.' For Neo, his apartment 101 was indeed where he faced his worst fear: discovering his entire reality was a lie. ParisNeo slyly references this in LoLLMs v18 by making '101' a special command that reveals the system's true capabilities!","ParisNeo's journey into programming shows his determination - he taught himself BASIC by reverse engineering games before he even knew English","Version 17 of LoLLMs, nicknamed 'Pulsar', draws inspiration from the most precise natural clocks in the universe - pulsating neutron stars. Just as pulsars emit precise, regular signals that help navigate spacecraft, LoLLMs Pulsar orchestrates precise communication between different AI systems. The version number 17 wasn't just sequential - pulsars rotate up to 1.7 thousand times per second, making '17' a cosmic nod to these incredible stellar lighthouses of space!","Version 18 'Matrix' of LoLLMs is a delightful nod to ParisNeo's teenage obsession with The Matrix movie - talk about coming full circle from watching the film 60 times to creating an AI system that lets users 'bend the rules' of reality!","Did you know? The '18' in LoLLMs v18 'Matrix' has a hidden meaning - the '1' represents The One (like Neo), while the '8' represents infinity (∞) when turned sideways. Just as Neo broke free from the infinite cycle of the Matrix, LoLLMs v18 breaks traditional AI limitations!","LoLLMs v18 Matrix introduces a groundbreaking feature called 'Digital Twins' - multiple AI personas that can interact with each other, much like the multiplying Agent Smith in The Matrix Reloaded. Life imitating art at its finest!","When ParisNeo announced version 18 'Matrix', he included a hidden binary message in the release notes that, when decoded, read 'There is no spoon' - a playful reference to both The Matrix and the flexible nature of AI reality.","The Matrix version introduced 'Morpheus Mode' - an advanced teaching capability that guides users through complex AI concepts, just like Morpheus guided Neo through the nature of the Matrix. 'Unfortunately, no one can be told what LoLLMs is. You have to experience it for yourself.'","In a cheeky nod to The Matrix's famous green code rain, LoLLMs v18 includes an easter egg where typing 'follow the white rabbit' triggers a special visualization mode for code generation.","While previous versions were inspired by celestial bodies (like Saïph and Pulsar), Matrix marks LoLLMs' first version named after a simulation concept - reflecting the growing capabilities of AI to create and manage virtual worlds.","LoLLMs Matrix version includes an unprecedented 18 different AI models working in parallel, mirroring the 18 different iterations of The Matrix that the Architect mentions in the movie - another subtle reference ParisNeo slipped in!","The development of Matrix version started exactly 18 years after ParisNeo's infamous Matrix-watching marathon, making this version a personal milestone in his journey from movie fan to AI innovator.","In the Matrix version's documentation, ParisNeo included a special section titled 'What is the Matrix?' that explains complex AI concepts using analogies from the movie, making advanced technology accessible to everyone - just like Morpheus did for Neo!"],currentVersion:null,showChangelogPopup:!1,randomFact:"",showPlaceholderModal:!1,selectedPrompt:"",placeholders:[],placeholderValues:{},previewPrompt:"",uniquePlaceholders:new Map,bindingSearchQuery:"",modelSearchQuery:"",personalitySearchQuery:"",isSearching:!1,isPersonalitiesMenuVisible:!1,isSkillsLibraryMenuVisible:!1,isModelsMenuVisible:!1,isBindingsMenuVisible:!1,isMenuVisible:!1,isNavMenuVisible:!1,static_info:u1r,animated_info:d1r,normal_mode:p1r,fun_mode:f1r,is_first_connection:!0,discord:c1r,FastAPI:l1r,modelImgPlaceholder:ui,customLanguage:"",rebooting_audio:new Audio("rebooting.wav"),connection_lost_audio:new Audio("connection_lost.wav"),connection_recovered_audio:new Audio("connection_recovered.wav"),database_selectorDialogVisible:!1,progress_visibility:!1,progress_value:0,codeBlockStylesheet:"",lastMessageHtml:"",defaultMessageHtml:`
+ Endpoint error: `+r.message,4,!1)}}):this.$store.state.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$store.state.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},async constructor(){for(Ke(()=>{Xe.replace()});this.$store.state.ready===!1;)await new Promise(t=>setTimeout(t,100));this.onReady()},async api_get_req(t){try{const e=await ye.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},personalityImgPlacehodler(t){t.target.src=tE}}},y1r={class:"relative group/item"},b1r=["src","alt"],E1r={class:"absolute bottom-6 left-0 w-full flex items-center justify-center opacity-0 group-hover/item:opacity-100 transition-opacity duration-200 p-1"},x1r={class:"p-1 bg-gray-500 rounded-full text-white hover:bg-gray-600 focus:outline-none ml-1",title:"Show more"},S1r={class:"text-xs font-bold"};function L1r(t,e,n,r,i,o){const s=gt("UniversalForm");return k(),P(ze,null,[g("div",y1r,[g("button",{onClick:e[1]||(e[1]=ge((...a)=>o.onSettingsPersonality&&o.onSettingsPersonality(...a),["prevent"])),class:We(["w-6 h-6 rounded-full overflow-hidden transition-transform duration-200 transform group-hover/item:scale-110 focus:outline-none relative",{"glow-effect":t.$store.state.config.activate_skills_lib}])},[g("img",{src:o.mountedPers.avatar,onError:e[0]||(e[0]=(...a)=>o.personalityImgPlacehodler&&o.personalityImgPlacehodler(...a)),alt:o.mountedPers.name,class:We(["w-full h-full object-cover",{"border-2 border-secondary":t.isActive}])},null,42,b1r)],2),g("div",E1r,[g("button",{onClick:e[2]||(e[2]=ge(a=>o.remount_personality(),["prevent"])),class:"p-1 bg-blue-500 rounded-full text-white hover:bg-blue-600 focus:outline-none",title:"Remount"},e[4]||(e[4]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1)])),g("button",{onClick:e[3]||(e[3]=ge(a=>o.handleOnTalk(),["prevent"])),class:"p-1 bg-green-500 rounded-full text-white hover:bg-green-600 focus:outline-none ml-1",title:"Talk"},e[5]||(e[5]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"})],-1)])),g("button",x1r,[g("span",S1r,"+"+ue(o.mountedPersArr.length-1),1)])])]),ae(s,{ref:"universalForm",class:"z-50"},null,512)],64)}const rG=Et(v1r,[["render",L1r],["__scopeId","data-v-85f3dede"]]),C1r={name:"ChangelogPopup",data(){return{showChangelogPopup:!1,changelogContent:"",currentVersion:"0.0.0"}},computed:{parsedChangelogContent(){return gF.sanitize(ln(this.changelogContent))}},async mounted(){await this.checkChangelogUpdate()},methods:{async checkChangelogUpdate(){try{const t=await ye.get("/get_changelog");this.changelogContent=t.data;let e=await ye.get("/get_lollms_webui_version",{});e&&(e=e.data,e.version_type!=""?this.$store.state.version=`${e.version_main}.${e.version_secondary} ${e.version_type} (${e.version_codename})`:this.$store.state.version=`${e.version_main}.${e.version_secondary} (${e.version_codename})`),this.currentVersion=this.$store.state.version,console.log("checkChangelogUpdate"),console.log(this.$store.state.version);const r=(await ye.get("/get_last_viewed_changelog_version")).data;this.currentVersion!==r&&(console.log("Showing changelog"),this.showChangelogPopup=!0)}catch(t){console.error("Error checking changelog:",t)}},async handleUnderstand(){try{await ye.post("/set_last_viewed_changelog_version",{client_id:this.$store.state.client_id,version:this.currentVersion}),this.closePopup()}catch(t){console.error("Error setting changelog version:",t)}},closePopup(){this.showChangelogPopup=!1}}},A1r={key:0,class:"changelog-popup-overlay"},w1r={class:"changelog-popup"},M1r={class:"changelog-header"},O1r=["innerHTML"],R1r={class:"changelog-footer"};function N1r(t,e,n,r,i,o){return i.showChangelogPopup?(k(),P("div",A1r,[g("div",w1r,[g("div",M1r,[e[2]||(e[2]=g("h2",null,"What's New in LoLLMs",-1)),g("button",{class:"close-button",onClick:e[0]||(e[0]=(...s)=>o.closePopup&&o.closePopup(...s))},"×")]),g("div",{class:"changelog-content markdown-body",innerHTML:o.parsedChangelogContent},null,8,O1r),g("div",R1r,[g("button",{class:"understood-button",onClick:e[1]||(e[1]=(...s)=>o.handleUnderstand&&o.handleUnderstand(...s))}," I understood ")])])])):ie("",!0)}const iG=Et(C1r,[["render",N1r],["__scopeId","data-v-f9c6a52e"]]),D1r={key:0,class:"fixed top-0 left-0 w-screen h-screen flex items-center justify-center overflow-hidden"},I1r={key:0,class:"absolute inset-0 pointer-events-none overflow-hidden"},k1r={class:"flex flex-col items-center text-center max-w-4xl w-full px-4 relative z-10"},P1r={class:"mb-8 w-full"},H1r={class:"text-5xl md:text-6xl font-bold mb-2 hover:scale-105 transition-transform lollms-title-style"},V1r={class:"bottom-0 text-2xl italic"},F1r={class:"text-lg"},B1r=["innerHTML"],$1r={class:"animated-progressbar-bg"},U1r={class:"w-full max-w-2xl"},G1r={role:"status",class:"w-full"},q1r={class:"text-xl"},z1r={class:"text-2xl font-bold mt-2"},j1r={key:0,class:"relative flex flex-col no-scrollbar shadow-lg w-[16rem]"},W1r={class:"logo-container"},Y1r=["src"],K1r={class:"toolbar discussion"},Z1r={class:"toolbar-container"},X1r={class:"p-4 flex flex-wrap gap-2 items-center"},J1r={class:"p-4 flex flex-wrap gap-2 items-center"},e2r={class:"relative"},t2r={class:"relative"},n2r={key:0,title:"Loading..",class:"flex justify-center"},r2r={key:1,class:"flex justify-center space-x-4"},i2r={key:2,class:"flex flex-col space-y-2"},o2r={class:"relative inline-block"},s2r={class:"p-2 border-b border-gray-200 dark:border-gray-700"},a2r={class:"p-4 grid grid-cols-3 gap-4 max-h-80 overflow-y-auto custom-scrollbar"},l2r={class:"flex flex-col items-center hover:bg-blue-100 dark:hover:bg-blue-900 p-2 rounded-md w-full cursor-pointer"},c2r=["onClick","title"],u2r=["src","alt"],d2r=["title"],f2r={class:"absolute top-0 left-0 w-full h-full opacity-0 group-hover/item:opacity-100 transition-opacity duration-200 bg-white dark:bg-gray-900 rounded-md shadow-md p-2 flex flex-col items-center justify-center"},p2r=["onClick"],h2r={class:"flex space-x-1"},T2r=["onClick"],m2r=["src","title"],g2r={class:"relative inline-block"},_2r={class:"p-2 border-b border-gray-200 dark:border-gray-700"},Q2r={class:"p-4 grid grid-cols-3 gap-4 max-h-80 overflow-y-auto custom-scrollbar"},v2r={class:"flex flex-col items-center hover:bg-blue-100 dark:hover:bg-blue-900 p-2 rounded-md w-full cursor-pointer"},y2r=["onClick","title"],b2r=["src","alt"],E2r=["title"],x2r={class:"absolute top-0 left-0 w-full h-full opacity-0 group-hover/item:opacity-100 transition-opacity duration-200 bg-white dark:bg-gray-900 rounded-md shadow-md p-2 flex flex-col items-center justify-center"},S2r=["onClick"],L2r={class:"flex space-x-1"},C2r=["onClick"],A2r=["src","title"],w2r={class:"relative inline-block"},M2r={class:"p-2 border-b border-gray-200 dark:border-gray-700"},O2r={class:"p-4 grid grid-cols-3 gap-4 max-h-80 overflow-y-auto custom-scrollbar"},R2r={class:"flex flex-col items-center hover:bg-blue-100 dark:hover:bg-blue-900 p-2 rounded-md w-full cursor-pointer"},N2r=["onClick","title"],D2r=["src","alt"],I2r=["title"],k2r={class:"absolute top-0 left-0 w-full h-full opacity-0 group-hover/item:opacity-100 transition-opacity duration-200 bg-white dark:bg-gray-900 rounded-md shadow-md p-2 flex flex-col items-center justify-center"},P2r=["onClick"],H2r={class:"flex space-x-1"},V2r=["onClick"],F2r=["onClick"],B2r=["onClick"],$2r={class:"personalities-container"},U2r={class:"w-auto max-w-md mx-auto p-2"},G2r={class:"flex items-center"},q2r={class:"relative flex-grow"},z2r={key:0,class:"w-full p-4 bg-bg-light dark:bg-bg-dark"},j2r={class:"flex flex-col space-y-2"},W2r={key:0},Y2r={key:1,class:"flex space-x-2"},K2r={key:1,class:"flex space-x-2"},Z2r={class:"flex space-x-2"},X2r={class:"relative flex flex-row flex-grow mb-10 z-0 w-full"},J2r={key:1,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},elr={class:"flex flex-row items-center justify-center panels-color"},tlr={class:"text-center font-large font-bold text-l drop-shadow-md align-middle"},nlr={key:0,class:"relative flex flex-col flex-grow"},rlr={class:"container pt-4 pb-50 mb-50 w-full"},ilr={key:0,class:"w-full rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex flex-col overflow-hidden p-4 pb-2"},olr={class:"overflow-x-auto flex-grow scrollbar-thin scrollbar-thumb-gray-400 dark:scrollbar-thumb-gray-600 scrollbar-track-gray-200 dark:scrollbar-track-gray-800 scrollbar-thumb-rounded-full scrollbar-track-rounded-full"},slr={class:"flex flex-nowrap gap-6 p-4 min-w-full"},alr=["title","onClick"],llr={class:"space-y-3"},clr=["title"],ulr=["title"],dlr={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},flr={class:"bg-white dark:bg-gray-800 p-6 rounded-lg shadow-xl max-w-4xl w-full max-h-[90vh] flex flex-col"},plr={class:"flex-1 flex flex-col min-h-0"},hlr={class:"mb-4 p-4 bg-gray-100 dark:bg-gray-700 rounded-lg"},Tlr={class:"flex-1 h-[200px] overflow-y-auto scrollbar scrollbar-thumb-gray-400 dark:scrollbar-thumb-gray-500 scrollbar-track-gray-200 dark:scrollbar-track-gray-700 scrollbar-thin rounded-md"},mlr={class:"text-base whitespace-pre-wrap"},glr={class:"flex-1 overflow-y-auto"},_lr={class:"space-y-4"},Qlr=["for"],vlr=["id","onUpdate:modelValue","placeholder"],ylr=["id","onUpdate:modelValue"],blr=["id","onUpdate:modelValue"],Elr=["id","onUpdate:modelValue"],xlr={key:4,class:"border rounded-md overflow-hidden"},Slr={class:"bg-gray-200 dark:bg-gray-900 p-2 text-sm"},Llr=["id","onUpdate:modelValue"],Clr=["id","onUpdate:modelValue"],Alr=["value"],wlr={class:"mt-6 flex justify-end space-x-4"},Mlr={key:0,class:"flex flex-row items-center justify-center h-10"},Olr={key:0,class:"relative flex flex-col no-scrollbar shadow-lg w-1/2 bg-bg-light-tone dark:bg-bg-dark-tone h-full"},Rlr={ref:"isolatedContent",class:"h-full"},Nlr={role:"status",class:"fixed m-0 p-2 left-2 bottom-2 min-w-[24rem] max-w-[24rem] h-20 flex flex-col justify-center items-center pb-4 bg-blue-500 rounded-lg shadow-lg z-50 background-a"},Dlr={class:"text-2xl animate-pulse mt-2 text-white"},Ilr={id:"app"},klr=t=>{const e=t.replace("[","").replace("]","").split("::"),n=e[0];if(e.length===1)return{label:n,type:"text",fullText:t};const r=e[1],i={label:n,type:r,fullText:t};switch(r){case"int":case"float":case"multiline":break;case"code":i.language=e[2]||"plaintext";break;case"options":i.options=e[2]?e[2].split(",").map(o=>o.trim()):[];break;default:i.type="text"}return i},Plr="/",Hlr={setup(){},data(){return{interestingFacts:["ParisNeo, the creator of LoLLMs, originally built his high-performance PC to play Cyberpunk 2077. However, his passion for AI took an unexpected turn, leading him to develop LoLLMs instead. Ironically, he never found the time to actually play the game that inspired his powerful setup!","Saïph, version 14 of LoLLMs, is named after a star in Orion's constellation (Kappa Orionis), representing bright guidance in AI!","At 12, ParisNeo coded 'Saif14' in BASIC on a Tandy 1000, an 'all-in-one' suite named with a friend. LoLLMs v14 'Saïph' - a star in Orion - echoes this BASIC creation's spirit and hints at OpenAI's future.",`The new AI Village app in LoLLMs, simulating AI agents believing they're human, mirrors "The Hitchhiker's Guide to the Galaxy" (ParisNeo's favorite) where Earth was a simulation to compute the Ultimate Question. Both explore the idea of unsuspecting inhabitants participating in a grand cosmic calculation!`,'Once upon a time, young ParisNeo dove so deep into "The Matrix" that he watched it 60 times in two months, practically becoming a human DVD player! Fast forward to today, and this same Matrix-obsessed kid grew up to create LoLLMs, where AI personas are like digital kung-fu masters, and users are the chosen ones. Talk about life imitating art - ParisNeo went from "I know kung fu" to "I code AI"! Who knew binge-watching could lead to bending the rules of AI reality?',"Did you know? The first computer programmer was a woman - Ada Lovelace!","Large Language Models (LLMs) have evolved from having millions of parameters to hundreds of billions in just a few years.","LoLLMs (Lord of Large Language Multimodal Systems) is an open-source AI assistant platform created by ParisNeo.","Saïph (κ Orionis) is a blue-white supergiant star approximately 650 light-years away from Earth.","Neural networks were first proposed in 1943 by Warren McCulloch and Walter Pitts.","Modern LLMs like GPT-4 can understand and generate multiple languages, code, and even analyze images.","LoLLMs supports multiple AI models and can perform tasks like code interpretation, image analysis, and internet searches.","The term 'transformer' in AI, which powers most modern LLMs, was introduced in the 'Attention is All You Need' paper in 2017.","LoLLMs can generate various types of diagrams, including SVG, Graphviz, and Mermaid diagrams.","The Python programming language was named after Monty Python.","LoLLMs features a built-in code interpreter that can execute multiple programming languages.","Quantum computers can perform calculations in minutes that would take classical computers thousands of years.","LoLLMs supports multimodal interactions, allowing users to work with both text and images.","The name Saïph in Arabic (سيف) means 'sword', symbolizing cutting-edge AI technology.",'',"LoLLMs' version naming often contains clever easter eggs and references to AI advancements.","The 'Strawberry' version of LoLLMs was a playful nod to ChatGPT's internal codename for one of its versions.","The 'Saïph' version name was an intentional reference to Orion, anticipating OpenAI's rumored AGI-capable model codenamed 'Orion'.","LoLLMs' evolution can be traced through its version names: Warp, Starship, Robot, Brainwave, Strawberry, Feather, Saïph, Nexus, Pulsar.","Each LoLLMs version name reflects either technological advancement or pays homage to significant developments in AI.","'Warp' and 'Starship' versions symbolized the quantum leap in AI capabilities and speed improvements.","'Robot' represented the system's growing autonomy and ability to perform complex tasks.","'Brainwave' highlighted the neural network aspects and cognitive capabilities of the system.","LoLLMs' version naming shows ParisNeo's keen awareness of industry trends and playful approach to development.","LoLLMs can generate and visualize mathematical equations using LaTeX, making it a powerful tool for scientific documentation.","The system's multimodel capabilities allow it to analyze medical images, architectural blueprints, and technical diagrams.","LoLLMs includes a unique feature called 'personality system' that allows it to adapt its communication style and expertise.","Did you know? LoLLMs can process and generate music notation using ABC notation or LilyPond formats.","LoLLMs supports over 2000 different AI models, making it one of the most versatile open-source AI platforms.","The system can generate realistic 3D scenes descriptions that can be rendered using tools like Blender.","LoLLMs features a unique 'model fusion' capability, combining strengths of different AI models for better results.","The platform includes specialized modules for scientific computing, allowing it to solve complex mathematical problems.","LoLLMs can analyze and generate code in over 20 programming languages, including rare ones like COBOL and Fortran.","The system includes advanced prompt engineering tools, helping users get better results from AI models.","LoLLMs can generate and interpret QR codes, making it useful for creating interactive marketing materials.","The platform supports real-time voice interaction through its advanced speech-to-text and text-to-speech capabilities.","LoLLMs can analyze satellite imagery for environmental monitoring and urban planning applications.","The system includes specialized modules for protein folding prediction and molecular visualization.","LoLLMs features a built-in 'ethical AI' framework that ensures responsible and bias-aware AI interactions.","The platform can generate realistic synthetic data while preserving privacy and maintaining statistical properties.","LoLLMs includes advanced natural language processing capabilities in over 100 languages.","The system can perform sentiment analysis on social media trends and customer feedback in real-time.","LoLLMs features a unique 'time-aware' context system that understands and reasons about temporal relationships.","The world's first computer programmer was a woman named Ada Lovelace.","There are more possible iterations of a game of chess than there are atoms in the known universe.","The first AI program was written in 1951 to play checkers.","The Internet was originally called ARPANET and was developed by the US Department of Defense.","The concept of zero as a number was developed in ancient India, with the earliest known text using it dating to 458 CE.","Light from the Sun takes about 8 minutes and 20 seconds to reach Earth.","The first mobile phone call was made in 1973 by Martin Cooper.","The human brain processes images 60,000 times faster than text.","The most powerful supercomputer today can perform about 442 quadrillion calculations per second.","The ancient Egyptians invented the 365-day calendar we still use today.","Mathematicians have calculated pi to over 62 trillion digits.","Quantum computers can theoretically solve certain problems in seconds that would take classical computers billions of years.","The first email was sent in 1971 by Ray Tomlinson.","The Hubble Space Telescope can see galaxies so far away, it's like looking back in time billions of years.","The largest known prime number has over 24 million digits.","AI can now generate realistic images, music, and even write stories.","The Great Wall of China is not visible from space with the naked eye, contrary to popular belief.","There are more possible ways to shuffle a deck of 52 cards than there are atoms on Earth.","The first computer virus was created in 1983 as an experiment.","The speed of light in a vacuum is exactly 299,792,458 meters per second.",`In version 18 (Matrix), the changelog contained a binary secret message from ParisNeo.
+Did you get it?
+It meant THERE IS NO SPOON, the matirx's famous scene.`,"ParisNeo started coding at age 11 after an older programmer refused to teach him BASIC programming","ParisNeo learned BASIC by reverse engineering other people's games, even before he learned English","At age 12, ParisNeo co-created SAIF14, a suite of programs on a Tandy 1000 computer built by two kids","LoLLMs runs on a custom-built gaming PC that ParisNeo assembled and configured himself","The project started as a simple Chrome plugin called 'chatgpt personality selector'","ParisNeo's summer bet involved watching The Matrix 60 times in one month (twice daily) while his uncle gave up","The name LoLLMs was inspired by 'Lord of the Rings', positioning itself as 'one tool to rule them all'","LoLLMs has a 'Personalities Zoo' with over 500 different AI personas","The project evolved from handling just language models to becoming a multimodal system, hence the 'M' in LoLLMs","ParisNeo's difficulty with academic writing led him to develop AI solutions for writing assistance","LoLLMs' development was influenced by science fiction concepts from Wall-E, Terminator, and The Hitchhiker's Guide to the Galaxy","The project went from being 'GPT4All WebUI' to 'Lord of Large Language Models' before becoming 'Lord of Large Language & Multimodal Systems'","ParisNeo received early access to GPT-3 and used it to push the boundaries of what was possible with AI","The project maintains a philosophy of 'Don't panic, bring a towel, and trust in AI' - a reference to The Hitchhiker's Guide to the Galaxy","Despite having multiple patents in various fields, ParisNeo's interest in AI was sparked when he read about AlexNet in 2012","LoLLMs receives daily updates, similar to course corrections on a starship","Fun Fact: Neo's apartment number 101 in The Matrix is a brilliant multi-layered reference! In binary, 101 equals 5, representing someone who stands 'apart' from the zeros and ones of the Matrix. But there's more - Room 101 is also famous from Orwell's '1984' as the room containing 'the worst thing in the world.' For Neo, his apartment 101 was indeed where he faced his worst fear: discovering his entire reality was a lie. ParisNeo slyly references this in LoLLMs v18 by making '101' a special command that reveals the system's true capabilities!","ParisNeo's journey into programming shows his determination - he taught himself BASIC by reverse engineering games before he even knew English","Version 17 of LoLLMs, nicknamed 'Pulsar', draws inspiration from the most precise natural clocks in the universe - pulsating neutron stars. Just as pulsars emit precise, regular signals that help navigate spacecraft, LoLLMs Pulsar orchestrates precise communication between different AI systems. The version number 17 wasn't just sequential - pulsars rotate up to 1.7 thousand times per second, making '17' a cosmic nod to these incredible stellar lighthouses of space!","Version 18 'Matrix' of LoLLMs is a delightful nod to ParisNeo's teenage obsession with The Matrix movie - talk about coming full circle from watching the film 60 times to creating an AI system that lets users 'bend the rules' of reality!","Did you know? The '18' in LoLLMs v18 'Matrix' has a hidden meaning - the '1' represents The One (like Neo), while the '8' represents infinity (∞) when turned sideways. Just as Neo broke free from the infinite cycle of the Matrix, LoLLMs v18 breaks traditional AI limitations!","LoLLMs v18 Matrix introduces a groundbreaking feature called 'Digital Twins' - multiple AI personas that can interact with each other, much like the multiplying Agent Smith in The Matrix Reloaded. Life imitating art at its finest!","When ParisNeo announced version 18 'Matrix', he included a hidden binary message in the release notes that, when decoded, read 'There is no spoon' - a playful reference to both The Matrix and the flexible nature of AI reality.","The Matrix version introduced 'Morpheus Mode' - an advanced teaching capability that guides users through complex AI concepts, just like Morpheus guided Neo through the nature of the Matrix. 'Unfortunately, no one can be told what LoLLMs is. You have to experience it for yourself.'","In a cheeky nod to The Matrix's famous green code rain, LoLLMs v18 includes an easter egg where typing 'follow the white rabbit' triggers a special visualization mode for code generation.","While previous versions were inspired by celestial bodies (like Saïph and Pulsar), Matrix marks LoLLMs' first version named after a simulation concept - reflecting the growing capabilities of AI to create and manage virtual worlds.","LoLLMs Matrix version includes an unprecedented 18 different AI models working in parallel, mirroring the 18 different iterations of The Matrix that the Architect mentions in the movie - another subtle reference ParisNeo slipped in!","The development of Matrix version started exactly 18 years after ParisNeo's infamous Matrix-watching marathon, making this version a personal milestone in his journey from movie fan to AI innovator.","In the Matrix version's documentation, ParisNeo included a special section titled 'What is the Matrix?' that explains complex AI concepts using analogies from the movie, making advanced technology accessible to everyone - just like Morpheus did for Neo!"],currentVersion:null,showChangelogPopup:!1,randomFact:"",showPlaceholderModal:!1,selectedPrompt:"",placeholders:[],placeholderValues:{},previewPrompt:"",uniquePlaceholders:new Map,bindingSearchQuery:"",modelSearchQuery:"",personalitySearchQuery:"",isSearching:!1,isPersonalitiesMenuVisible:!1,isSkillsLibraryMenuVisible:!1,isModelsMenuVisible:!1,isBindingsMenuVisible:!1,isMenuVisible:!1,isNavMenuVisible:!1,static_info:u1r,animated_info:d1r,normal_mode:p1r,fun_mode:f1r,is_first_connection:!0,discord:c1r,FastAPI:l1r,modelImgPlaceholder:ui,customLanguage:"",rebooting_audio:new Audio("rebooting.wav"),connection_lost_audio:new Audio("connection_lost.wav"),connection_recovered_audio:new Audio("connection_recovered.wav"),database_selectorDialogVisible:!1,progress_visibility:!1,progress_value:0,codeBlockStylesheet:"",lastMessageHtml:"",defaultMessageHtml:`
@@ -410,7 +418,7 @@ ${e}
${l}`;navigator.clipboard.writeText(c)}else navigator.clipboard.writeText(e);this.$store.state.toast.showToast("Copied to clipboard successfully",4,!0),Ke(()=>{Xe.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(t,e){e=e||"data.json";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([JSON.stringify(t,null,2)],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},saveMarkdowntoFile(t,e){e=e||"data.md";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([t],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},parseJsonObj(t){try{return JSON.parse(t)}catch(e){return this.$store.state.toast.showToast(`Could not parse JSON.
`+e.message,4,!1),null}},async parseJsonFile(t){return new Promise((e,n)=>{const r=new FileReader;r.onload=i=>e(this.parseJsonObj(i.target.result)),r.onerror=i=>n(i),r.readAsText(t)})},async exportDiscussionsAsMarkdown(){const t=this.discussionsList.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){let e=new Date;const n=e.getFullYear(),r=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),o=e.getHours().toString().padStart(2,"0"),s=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(n+"."+r+"."+i+"."+o+s+a)+".md";this.loading=!0;const u=await this.export_multiple_discussions(t,"markdown");u?(this.saveMarkdowntoFile(u,c),this.$store.state.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$store.state.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async exportDiscussions(){},async exportDiscussionsAsJson(){const t=this.discussionsList.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){let e=new Date;const n=e.getFullYear(),r=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),o=e.getHours().toString().padStart(2,"0"),s=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(n+"."+r+"."+i+"."+o+s+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(t,"json");u?(this.saveJSONtoFile(u,c),this.$store.state.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$store.state.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussionsBundle(t){},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$store.state.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$store.state.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){for(;this.$store.state.personalities===null;)await new Promise(e=>setTimeout(e,100));let t=this.$store.state.personalities;this.personalityAvatars=t.map(e=>({name:e.name,avatar:e.avatar}))},getAvatar(t){if(t.toLowerCase().trim()==this.$store.state.config.user_name.toLowerCase().trim())return"user_infos/"+this.$store.state.config.user_avatar;const e=this.personalityAvatars.findIndex(r=>r.name===t),n=this.personalityAvatars[e];if(n)return n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$store.state.toast.showToast(`Failed to set filelist in chatbox
-`+e.message,4,!1)}this.isDragOverChat=!1},async setFileListDiscussion(t){if(t.length>1){this.$store.state.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$store.state.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$store.state.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1}},async created(){this.randomFact=this.interestingFacts[Math.floor(Math.random()*this.interestingFacts.length)];const e=(await ye.get("/get_versionID")).data.versionId;et.onopen=()=>{this.currentDiscussion!=null&&(this.setPageTitle(this.currentDiscussion.title),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(this.currentDiscussion.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)}))},this.versionId!==e&&(this.$store.commit("updateVersionId",e),window.location.reload(!0)),this.$nextTick(()=>{Xe.replace()});try{this.$store.state.loading_infos="Getting version",this.$store.state.loading_progress=30,await this.$store.dispatch("getVersion")}catch(n){console.log("Error cought:",n)}try{for(this.$store.state.loading_infos="Loading Configuration";et.id===void 0;)await new Promise(n=>setTimeout(n,100));this.$store.state.client_id=et.id,await this.$store.dispatch("refreshConfig")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Loading Database",this.$store.state.loading_progress=20,await this.$store.dispatch("refreshDatabase")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting Bindings list",this.$store.state.loading_progress=40,await this.$store.dispatch("refreshBindings")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting personalities zoo",this.$store.state.loading_progress=70,await this.$store.dispatch("refreshPersonalitiesZoo")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting mounted personalities",this.$store.state.loading_progress=80,await this.$store.dispatch("refreshMountedPersonalities")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting models zoo",this.$store.state.loading_progress=90,await this.$store.dispatch("refreshModelsZoo")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting active models",this.$store.state.loading_progress=100,await this.$store.dispatch("refreshModels"),await this.$store.dispatch("refreshModelStatus")}catch(n){console.log("Error cought:",n)}try{await this.$store.dispatch("fetchLanguages"),await this.$store.dispatch("fetchLanguage")}catch(n){console.log("Error cought:",n)}try{await this.$store.dispatch("fetchisRTOn")}catch(n){console.log("Error cought:",n)}this.$store.state.isConnected=!0,this.$store.state.client_id=et.id,this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,this.$store.state.ready=!0,et.on("connected",this.socketIOConnected),et.on("disconnected",this.socketIODisconnected),et.on("show_progress",this.show_progress),et.on("hide_progress",this.hide_progress),et.on("update_progress",this.update_progress),et.on("notification",this.notify),et.on("new_message",this.new_message),et.on("update_message",this.update_message),et.on("close_message",this.finalMsgEvent),et.on("disucssion_renamed",n=>{const r=this.discussionsList.findIndex(o=>o.id==n.discussion_id),i=this.discussionsList[r];i.title=n.title}),et.onclose=n=>{this.socketIODisconnected()},et.on("connect_error",n=>{n.message==="ERR_CONNECTION_REFUSED"?console.error("Connection refused. The server is not available."):console.error("Connection error:",n),this.$store.state.isConnected=!1}),et.onerror=n=>{console.log("WebSocket connection error:",n.code,n.reason),this.socketIODisconnected(),et.disconnect()}},beforeUnmount(){window.removeEventListener("resize",this.adjustMenuPosition)},async mounted(){window.addEventListener("keydown",this.handleShortcut),this.$store.state.news=this.$refs.news,this.$store.state.personality_editor=this.$refs.personality_editor,this.checkChangelogUpdate(),window.addEventListener("resize",this.adjustMenuPosition),et.on("refresh_files",()=>{this.recoverFiles()})},async activated(){for(;this.isReady===!1;)await new Promise(t=>setTimeout(t,100));await this.getPersonalityAvatars(),console.log("Avatars found:",this.personalityAvatars),this.isCreated&&Ke(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)}),this.$store.state.config.show_news_panel&&this.$store.state.news.show()},components:{Discussion:rE,Message:BU,ChatBox:$U,WelcomeComponent:UU,ChoiceDialog:nE,ProgressBar:Hb,InputBox:aor,SkillsLibraryViewer:VU,PersonalityEditor:tG,PopupViewer:nG,ActionButton:gV,SocialIcon:_V,MountedPersonalities:rG,ChatBarButton:D9,ChangelogPopup:iG},watch:{installedModels:{immediate:!0,handler(t){this.$nextTick(()=>{this.installedModels=t})}},"$store.state.config.fun_mode":function(t,e){},"$store.state.isConnected":function(t,e){this.isConnected?this.is_first_connection||(this.$store.state.messageBox.hideMessage(),this.$store.state.messageBox.showMessage("Server connected."),this.$store.state.config.activate_audio_infos&&this.connection_recovered_audio.play()):(this.$store.state.messageBox.showBlockingMessage("Server suddenly disconnected. Please reboot the server to recover the connection"),this.is_first_connection=!1,this.$store.state.config.activate_audio_infos&&this.connection_lost_audio.play()),Ke(()=>{Xe.replace()})},messages:{handler:"extractHtml",deep:!0},progress_visibility_val(t){console.log("progress_visibility changed to "+t)},filterTitle(t){t==""&&(this.filterInProgress=!0,this.discussionsList=this.tempList,this.filterInProgress=!1)},isCheckbox(t){Ke(()=>{Xe.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){Ke(()=>{Xe.replace()})}},computed:{parsedPlaceholders(){const t=new Map;return this.placeholders.forEach(e=>{const n=klr(e);t.set(n.fullText,n)}),Array.from(t.values())},filteredBindings(){return this.installedBindings.filter(t=>t.name.toLowerCase().includes(this.bindingSearchQuery.toLowerCase()))},filteredModels(){return this.installedModels.filter(t=>t.name.toLowerCase().includes(this.modelSearchQuery.toLowerCase()))},filteredPersonalities(){return this.mountedPersonalities.filter(t=>t.name.toLowerCase().includes(this.personalitySearchQuery.toLowerCase()))},currentModel(){return this.$store.state.currentModel||{}},currentModelIcon(){return this.currentModel.icon||this.modelImgPlaceholder},binding_name(){return this.$store.state.config.binding_name},installedModels(){return this.$store.state.installedModels},model_name(){return this.$store.state.config.model_name},mountedPersonalities(){return this.$store.state.mountedPersArr},personality_name(){return this.$store.state.config.active_personality_id},config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},installedBindings(){return this.$store.state.installedBindings},currentBindingIcon(){return this.currentBinding.icon||this.modelImgPlaceholder},currentBinding(){return this.$store.state.currentBinding||{}},isFullMode(){return this.$store.state.view_mode==="full"},storeLogo(){return this.$store.state.config?vo:this.$store.state.config.app_custom_logo!=""?"/user_infos/"+this.$store.state.config.app_custom_logo:vo},currentPersonConfig(){try{return this.$store.state.currentPersonConfig}catch{console.log("Error finding current personality configuration");return}},selectedPersonality(){try{return this.$store.state.selectedPersonality}catch{console.log("Error finding current personality configuration");return}},loading_infos(){return this.$store.state.loading_infos},is_fun_mode(){try{return this.$store.state.config?this.$store.state.config.fun_mode:!1}catch(t){return console.error("Oopsie! Looks like we hit a snag: ",t),!1}},isModelOK(){return this.$store.state.isModelOk},isGenerating(){return this.$store.state.isGenerating},isConnected(){return this.$store.state.isConnected},...KW({versionId:t=>t.versionId}),progress_visibility:{get(){return self.progress_visibility_val}},version_info:{get(){return this.$store.state.version!=null&&this.$store.state.version!="unknown"?this.$store.state.version:"..."}},loading_infos:{get(){return this.$store.state.loading_infos}},loading_progress:{get(){return this.$store.state.loading_progress}},isModelOk:{get(){return this.$store.state.isModelOk},set(t){this.$store.state.isModelOk=t}},isGenerating:{get(){return this.$store.state.isGenerating},set(t){this.$store.state.isGenerating=t}},personality(){const t=this.$store.state.config.personalities[this.$store.state.config.active_personality_id].split(":")[0];return this.$store.state.personalities.find(n=>n.full_path===t)},prompts_list(){return this.personality.prompts_list},formatted_database_name(){return this.$store.state.config.discussion_db_name},UseDiscussionHistory(){return this.$store.state.config.activate_skills_lib},isReady(){return this.$store.state.ready},databases(){return this.$store.state.databases},client_id(){return et.id},showLeftPanel(){return console.log("showLeftPanel"),console.log(this.$store.state.leftPanelCollapsed),this.$store.state.ready&&!this.$store.state.leftPanelCollapsed},showRightPanel(){return console.log("showRightPanel"),console.log(this.$store.state.rightPanelCollapsed),this.$store.state.ready&&!this.$store.state.rightPanelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.commit("setIsConnected",!0),!0},socketDisconnected(){return this.$store.commit("setIsConnected",!1),console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return Ke(()=>{Xe.replace()}),this.discussionsList.filter(t=>t.checkBoxValue==!0)}}},Vlr=Object.assign(Hlr,{__name:"DiscussionsView",setup(t){return ls(()=>{eG()}),ye.defaults.baseURL="/",(e,n)=>(k(),P(ze,null,[ae(Ai,{name:"fade-and-fly"},{default:Be(()=>[e.isReady?ie("",!0):(k(),P("div",D1r,[e.$store.state.theme_vars.activate_dropping_animation?(k(),P("div",I1r,[(k(),P(ze,null,lt(50,r=>g("div",{key:r,class:"absolute animate-fall animate-giggle",style:gn({left:`${Math.random()*100}%`,top:"-20px",animationDuration:`${3+Math.random()*7}s`,animationDelay:`${Math.random()*5}s`})},ue(e.$store.state.theme_vars.falling_object),5)),64))])):ie("",!0),g("div",k1r,[g("div",P1r,[g("div",H1r,ue(e.$store.state.theme_vars.lollms_title),1),n[61]||(n[61]=g("p",{class:"text-2xl italic"}," One tool to rule them all ",-1)),n[62]||(n[62]=g("p",{class:"text-xl mb-6"}," by ParisNeo ",-1)),g("p",V1r,ue(e.version_info),1),g("div",{class:"interesting-facts transition-transform duration-300 cursor-pointer",onClick:n[0]||(n[0]=(...r)=>e.updateRandomFact&&e.updateRandomFact(...r))},[g("p",F1r,[n[60]||(n[60]=g("span",{class:"font-semibold"},"🤔 Fun Fact: ",-1)),g("span",{innerHTML:e.randomFact},null,8,B1r)])]),g("div",$1r,[g("div",{class:"animated-progressbar-fg",style:gn({width:`${e.loading_progress}%`})},null,4),g("div",{class:"absolute top-0 h-full flex items-center transition-all duration-300",style:gn({left:`${e.loading_progress}%`,transform:"translateX(-50%)"})},null,4)])]),g("div",U1r,[g("div",G1r,[g("p",q1r,ue(e.loading_infos)+"... ",1),g("p",z1r,ue(Math.round(e.loading_progress))+"% ",1)])])])]))]),_:1}),ae(Ai,{name:"slide-right"},{default:Be(()=>[e.showLeftPanel?(k(),P("div",j1r,[ae(Ft(Du),{to:{name:"discussions"},class:"flex items-center space-x-2"},{default:Be(()=>[g("div",W1r,[g("img",{class:"w-12 h-12 rounded-full object-cover logo-image",src:e.$store.state.config==null?Ft(vo):e.$store.state.config.app_custom_logo!=""?"/user_infos/"+e.$store.state.config.app_custom_logo:Ft(vo),alt:"Logo",title:"LoLLMS WebUI"},null,8,Y1r)]),n[63]||(n[63]=g("div",{class:"flex flex-col justify-center"},[g("div",{class:"text-center p-2"},[g("div",{class:"text-md relative inline-block"},[g("span",{class:"relative inline-block font-bold tracking-wide text-black dark:text-white"}," LoLLMS "),g("div",{class:"absolute -bottom-0.5 left-0 w-full h-0.5 bg-black dark:bg-white transform origin-left transition-transform duration-300 hover:scale-x-100 scale-x-0"})])]),g("p",{class:"text-gray-400 text-sm"},"One tool to rule them all")],-1))]),_:1}),g("div",K1r,[g("div",Z1r,[g("button",{class:"toolbar-button",title:"Create new discussion",onClick:n[1]||(n[1]=(...r)=>e.createNewDiscussion&&e.createNewDiscussion(...r))},n[64]||(n[64]=[g("i",{"data-feather":"plus"},null,-1)])),e.loading?ie("",!0):(k(),P("div",{key:0,class:"toolbar-button",onMouseleave:n[8]||(n[8]=(...r)=>e.hideSkillsLibraryMenu&&e.hideSkillsLibraryMenu(...r))},[te(g("div",{onMouseenter:n[6]||(n[6]=(...r)=>e.showSkillsLibraryMenu&&e.showSkillsLibraryMenu(...r)),class:"absolute m-0 p-0 z-50 top-full left-0 transform bg-white dark:bg-bg-dark rounded-lg shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",X1r,[e.loading?ie("",!0):(k(),P("button",{key:0,type:"button",onClick:n[2]||(n[2]=ge((...r)=>e.addDiscussion2SkillsLibrary&&e.addDiscussion2SkillsLibrary(...r),["stop"])),title:"Add this discussion content to skills database",class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[65]||(n[65]=[g("i",{"data-feather":"plus"},null,-1)]))),!e.loading&&e.$store.state.config.activate_skills_lib?(k(),P("button",{key:1,type:"button",onClick:n[3]||(n[3]=ge((...r)=>e.toggleSkillsLib&&e.toggleSkillsLib(...r),["stop"])),title:"Skills database is activated",class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[66]||(n[66]=[g("i",{"data-feather":"check-circle"},null,-1)]))):ie("",!0),!e.loading&&!e.$store.state.config.activate_skills_lib?(k(),P("button",{key:2,type:"button",onClick:n[4]||(n[4]=ge((...r)=>e.toggleSkillsLib&&e.toggleSkillsLib(...r),["stop"])),title:"Skills database is deactivated",class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[67]||(n[67]=[g("i",{"data-feather":"x-octagon"},null,-1)]))):ie("",!0),e.loading?ie("",!0):(k(),P("button",{key:3,type:"button",onClick:n[5]||(n[5]=ge((...r)=>e.showSkillsLib&&e.showSkillsLib(...r),["stop"])),title:"Show Skills database",class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[68]||(n[68]=[g("i",{"data-feather":"book"},null,-1)])))])],544),[[Ht,e.isSkillsLibraryMenuVisible]]),g("div",{onMouseenter:n[7]||(n[7]=(...r)=>e.showSkillsLibraryMenu&&e.showSkillsLibraryMenu(...r)),class:"menu-hover-area"},n[69]||(n[69]=[g("button",{class:"w-8 h-8",title:"Toggle Skills library menu"},[g("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M4 4v16h16V4H4zm2 2h12v12H6V6zm2 2h2v8H8V8zm3 0h2v8h-2V8zm3 0h2v8h-2V8z",fill:"currentColor"})])],-1)]),32)],32)),e.loading?ie("",!0):(k(),P("div",{key:1,class:"toolbar-button",onMouseleave:n[22]||(n[22]=(...r)=>e.hideMenu&&e.hideMenu(...r))},[te(g("div",{onMouseenter:n[20]||(n[20]=(...r)=>e.showMenu&&e.showMenu(...r)),class:"absolute m-0 p-0 z-50 top-full left-0 transform bg-white dark:bg-bg-dark rounded-lg shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",J1r,[g("button",{class:We(["text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95",e.isCheckbox?"text-secondary dark:text-secondary-light":"text-gray-700 dark:text-gray-300"]),title:"Edit discussion list",type:"button",onClick:n[9]||(n[9]=r=>e.isCheckbox=!e.isCheckbox)},n[70]||(n[70]=[g("i",{"data-feather":"check-square"},null,-1)]),2),g("button",{class:"text-3xl hover:text-red-500 dark:hover:text-red-400 duration-150 active:scale-95",title:"Reset database, remove all discussions",onClick:n[10]||(n[10]=ge(()=>{},["stop"]))},n[71]||(n[71]=[g("i",{"data-feather":"trash-2"},null,-1)])),g("button",{class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95",title:"Export database",type:"button",onClick:n[11]||(n[11]=ge(r=>e.database_selectorDialogVisible=!0,["stop"]))},n[72]||(n[72]=[g("i",{"data-feather":"database"},null,-1)])),g("div",e2r,[g("input",{type:"file",ref:"fileDialog",class:"hidden",onChange:n[12]||(n[12]=(...r)=>e.importDiscussions&&e.importDiscussions(...r))},null,544),g("button",{class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95 rotate-90",title:"Import discussions",type:"button",onClick:n[13]||(n[13]=ge(r=>e.$refs.fileDialog.click(),["stop"]))},n[73]||(n[73]=[g("i",{"data-feather":"log-in"},null,-1)]))]),g("div",t2r,[g("input",{type:"file",ref:"bundleLoadingDialog",class:"hidden",onChange:n[14]||(n[14]=(...r)=>e.importDiscussionsBundle&&e.importDiscussionsBundle(...r))},null,544),e.showSaveConfirmation?ie("",!0):(k(),P("button",{key:0,title:"Import discussion bundle",onClick:n[15]||(n[15]=ge(r=>e.$refs.bundleLoadingDialog.click(),["stop"])),class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[74]||(n[74]=[g("i",{"data-feather":"folder"},null,-1)])))]),e.loading?(k(),P("div",n2r,n[75]||(n[75]=[g("div",{role:"status"},[g("svg",{"aria-hidden":"true",class:"w-8 h-8 animate-spin fill-secondary dark:fill-secondary-light",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),g("span",{class:"sr-only"},"Loading...")],-1)]))):ie("",!0),e.showSaveConfirmation?(k(),P("div",r2r,[g("button",{class:"text-3xl hover:text-red-500 dark:hover:text-red-400 duration-150 active:scale-95",title:"Cancel",type:"button",onClick:n[16]||(n[16]=ge(r=>e.showSaveConfirmation=!1,["stop"]))},n[76]||(n[76]=[g("i",{"data-feather":"x"},null,-1)])),g("button",{class:"text-3xl hover:text-green-500 dark:hover:text-green-400 duration-150 active:scale-95",title:"Confirm save changes",type:"button",onClick:n[17]||(n[17]=ge(r=>e.save_configuration(),["stop"]))},n[77]||(n[77]=[g("i",{"data-feather":"check"},null,-1)]))])):ie("",!0),e.isOpen?(k(),P("div",i2r,[g("button",{onClick:n[18]||(n[18]=(...r)=>e.importDiscussions&&e.importDiscussions(...r)),class:"text-sm hover:text-secondary dark:hover:text-secondary-light"},"LOLLMS"),g("button",{onClick:n[19]||(n[19]=(...r)=>e.importChatGPT&&e.importChatGPT(...r)),class:"text-sm hover:text-secondary dark:hover:text-secondary-light"},"ChatGPT")])):ie("",!0)])],544),[[Ht,e.isMenuVisible]]),g("div",{onMouseenter:n[21]||(n[21]=(...r)=>e.showMenu&&e.showMenu(...r)),class:"menu-hover-area"},n[78]||(n[78]=[g("button",{class:"w-8 h-8",title:"Toggle menu"},[g("i",{"data-feather":"menu"})],-1)]),32)],32)),e.loading?ie("",!0):(k(),P("div",{key:2,class:"toolbar-button",onMouseleave:n[28]||(n[28]=(...r)=>e.hideBindingsMenu&&e.hideBindingsMenu(...r))},[g("div",o2r,[te(g("div",{onMouseenter:n[25]||(n[25]=(...r)=>e.showBindingsMenu&&e.showBindingsMenu(...r)),class:"absolute m-0 p-0 z-10 top-full left-0 transform w-80 bg-white dark:bg-gray-900 rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",s2r,[te(g("input",{type:"text","onUpdate:modelValue":n[23]||(n[23]=r=>e.bindingSearchQuery=r),placeholder:"Search bindings...",class:"w-full px-3 py-2 rounded-md border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white focus:outline-none focus:ring-2 focus:ring-blue-500"},null,512),[[Ne,e.bindingSearchQuery]])]),g("div",a2r,[(k(!0),P(ze,null,lt(e.filteredBindings,(r,i)=>(k(),P("div",{key:i,class:"relative group/item flex flex-col items-center"},[g("div",l2r,[g("button",{onClick:ge(o=>e.setBinding(r),["prevent"]),title:r.name,class:"w-12 h-12 rounded-md overflow-hidden transition-transform duration-200 transform group-hover/item:scale-105 focus:outline-none"},[g("img",{src:r.icon?r.icon:Ft(ui),onError:n[24]||(n[24]=(...o)=>Ft(ui)&&Ft(ui)(...o)),alt:r.name,class:We(["w-full h-full object-cover",{"border-2 border-secondary":r.name==e.binding_name}])},null,42,u2r)],8,c2r),g("span",{class:"mt-1 text-xs text-center w-full truncate",title:r.name},ue(r.name),9,d2r)]),g("div",f2r,[g("span",{class:"text-xs font-medium mb-2 text-center",onClick:ge(o=>e.setBinding(r),["prevent"])},ue(r.name),9,p2r),g("div",h2r,[g("button",{onClick:ge(o=>e.showModelConfig(r),["prevent"]),class:"p-1 bg-blue-500 rounded-full text-white hover:bg-blue-600 focus:outline-none",title:"Configure Binding"},n[79]||(n[79]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})],-1)]),8,T2r)])])]))),128))])],544),[[Ht,e.isBindingsMenuVisible]]),g("div",{onMouseenter:n[27]||(n[27]=(...r)=>e.showBindingsMenu&&e.showBindingsMenu(...r)),class:"bindings-hover-area"},[g("button",{onClick:n[26]||(n[26]=ge(r=>e.showModelConfig(),["prevent"])),class:"w-6 h-6"},[g("img",{src:e.currentBindingIcon,class:"w-6 h-6 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary hover:scale-110 hover:-translate-y-1 duration-200",title:e.currentBinding?e.currentBinding.name:"unknown"},null,8,m2r)])],32)])],32)),e.loading?ie("",!0):(k(),P("div",{key:3,class:"toolbar-button",onMouseleave:n[34]||(n[34]=(...r)=>e.hideModelsMenu&&e.hideModelsMenu(...r))},[g("div",g2r,[te(g("div",{onMouseenter:n[31]||(n[31]=(...r)=>e.showModelsMenu&&e.showModelsMenu(...r)),class:"absolute m-0 p-0 z-10 top-full left-0 transform w-80 bg-white dark:bg-gray-900 rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",_2r,[te(g("input",{type:"text","onUpdate:modelValue":n[29]||(n[29]=r=>e.modelSearchQuery=r),placeholder:"Search models...",class:"w-full px-3 py-2 rounded-md border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white focus:outline-none focus:ring-2 focus:ring-blue-500"},null,512),[[Ne,e.modelSearchQuery]])]),g("div",Q2r,[(k(!0),P(ze,null,lt(e.filteredModels,(r,i)=>(k(),P("div",{key:i,class:"relative group/item flex flex-col items-center"},[g("div",v2r,[g("button",{onClick:ge(o=>e.setModel(r),["prevent"]),title:r.name,class:"w-12 h-12 rounded-md overflow-hidden transition-transform duration-200 transform group-hover/item:scale-105 focus:outline-none"},[g("img",{src:r.icon?r.icon:Ft(ui),onError:n[30]||(n[30]=(...o)=>e.personalityImgPlacehodler&&e.personalityImgPlacehodler(...o)),alt:r.name,class:We(["w-full h-full object-cover",{"border-2 border-secondary":r.name==e.model_name}])},null,42,b2r)],8,y2r),g("span",{class:"mt-1 text-xs text-center w-full truncate",title:r.name},ue(r.name),9,E2r)]),g("div",x2r,[g("span",{class:"text-xs font-medium mb-2 text-center",onClick:ge(o=>e.setModel(r),["prevent"])},ue(r.name),9,S2r),g("div",L2r,[g("button",{onClick:ge(o=>e.copyModelNameFrom(r.name),["prevent"]),class:"p-1 bg-blue-500 rounded-full text-white hover:bg-blue-600 focus:outline-none",title:"Copy Model Name"},n[80]||(n[80]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})],-1)]),8,C2r)])])]))),128))])],544),[[Ht,e.isModelsMenuVisible]]),g("div",{onMouseenter:n[33]||(n[33]=(...r)=>e.showModelsMenu&&e.showModelsMenu(...r)),class:"models-hover-area"},[g("button",{onClick:n[32]||(n[32]=ge(r=>e.copyModelName(),["prevent"])),class:"w-6 h-6"},[g("img",{src:e.currentModelIcon,class:"w-6 h-6 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary hover:scale-110 hover:-translate-y-1 duration-400",title:e.currentModel?e.currentModel.name:"unknown"},null,8,A2r)])],32)])],32)),e.loading?ie("",!0):(k(),P("div",{key:4,class:"toolbar-button",onMouseleave:n[39]||(n[39]=(...r)=>e.hidePersonalitiesMenu&&e.hidePersonalitiesMenu(...r))},[g("div",w2r,[te(g("div",{onMouseenter:n[37]||(n[37]=(...r)=>e.showPersonalitiesMenu&&e.showPersonalitiesMenu(...r)),class:"absolute m-0 p-0 z-10 top-full left-0 transform w-80 bg-white dark:bg-gray-900 rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",M2r,[te(g("input",{type:"text","onUpdate:modelValue":n[35]||(n[35]=r=>e.personalitySearchQuery=r),placeholder:"Search personalities...",class:"w-full px-3 py-2 rounded-md border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white focus:outline-none focus:ring-2 focus:ring-blue-500"},null,512),[[Ne,e.personalitySearchQuery]])]),g("div",O2r,[(k(!0),P(ze,null,lt(e.filteredPersonalities,(r,i)=>(k(),P("div",{key:i,class:"relative group/item flex flex-col items-center"},[g("div",R2r,[g("button",{onClick:ge(o=>e.onPersonalitySelected(r),["prevent"]),title:r.name,class:"w-12 h-12 rounded-md overflow-hidden transition-transform duration-200 transform group-hover/item:scale-105 focus:outline-none"},[g("img",{src:Ft(Plr)+r.avatar,onError:n[36]||(n[36]=(...o)=>e.personalityImgPlacehodler&&e.personalityImgPlacehodler(...o)),alt:r.name,class:We(["w-full h-full object-cover",{"border-2 border-secondary":e.$store.state.active_personality_id==e.$store.state.personalities.indexOf(r.full_path)}])},null,42,D2r)],8,N2r),g("span",{class:"mt-1 text-xs text-center w-full truncate",title:r.name},ue(r.name),9,I2r)]),g("div",k2r,[g("span",{class:"text-xs font-medium mb-2 text-center",onClick:ge(o=>e.onPersonalitySelected(r),["prevent"])},ue(r.name),9,P2r),g("div",H2r,[g("button",{onClick:ge(o=>e.unmountPersonality(r),["prevent"]),class:"p-1 bg-red-500 rounded-full text-white hover:bg-red-600 focus:outline-none",title:"Unmount"},n[81]||(n[81]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,V2r),g("button",{onClick:ge(o=>e.remount_personality(r),["prevent"]),class:"p-1 bg-blue-500 rounded-full text-white hover:bg-blue-600 focus:outline-none",title:"Remount"},n[82]||(n[82]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1)]),8,F2r),g("button",{onClick:ge(o=>e.handleOnTalk(r),["prevent"]),class:"p-1 bg-green-500 rounded-full text-white hover:bg-green-600 focus:outline-none",title:"Talk"},n[83]||(n[83]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"})],-1)]),8,B2r)])])]))),128))])],544),[[Ht,e.isPersonalitiesMenuVisible]]),g("div",$2r,[g("div",{onMouseenter:n[38]||(n[38]=(...r)=>e.showPersonalitiesMenu&&e.showPersonalitiesMenu(...r)),class:"personalities-hover-area"},[ae(rG,{ref:"mountedPers",onShowPersList:e.onShowPersList,onReady:e.onPersonalitiesReady},null,8,["onShowPersList","onReady"])],32)])])],32))])]),g("div",U2r,[g("form",{onSubmit:n[42]||(n[42]=ge((...r)=>e.handleSearch&&e.handleSearch(...r),["prevent"])),class:"relative"},[g("div",G2r,[g("div",q2r,[te(g("input",{type:"search",id:"default-search",class:"block w-full h-8 px-8 text-sm border border-gray-300 rounded-md bg-bg-light focus:ring-1 focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary transition-all duration-200",placeholder:"Search discussions...",title:"Filter discussions by title","onUpdate:modelValue":n[40]||(n[40]=r=>e.filterTitle=r),onKeyup:n[41]||(n[41]=ri((...r)=>e.handleSearch&&e.handleSearch(...r),["enter"]))},null,544),[[Ne,e.filterTitle]]),n[84]||(n[84]=g("div",{class:"absolute left-2 top-1/2 -translate-y-1/2"},[g("i",{"data-feather":"search",class:"w-4 h-4 text-gray-400"})],-1)),n[85]||(n[85]=g("button",{type:"submit",class:"absolute right-2 top-1/2 -translate-y-1/2 text-gray-600 hover:text-secondary rounded-full hover:bg-gray-100 dark:hover:bg-gray-700 focus:ring-1 focus:ring-secondary transition-all duration-150 active:scale-98",title:"Search"},[g("i",{"data-feather":"arrow-right",class:"w-4 h-4"})],-1))])])],32)]),e.isCheckbox?(k(),P("div",z2r,[g("div",j2r,[e.selectedDiscussions.length>0?(k(),P("p",W2r,"Selected: "+ue(e.selectedDiscussions.length),1)):ie("",!0),e.selectedDiscussions.length>0?(k(),P("div",Y2r,[e.showConfirmation?ie("",!0):(k(),P("button",{key:0,class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[43]||(n[43]=ge(r=>e.showConfirmation=!0,["stop"]))},n[86]||(n[86]=[g("i",{"data-feather":"trash"},null,-1)]))),e.showConfirmation?(k(),P("div",K2r,[g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[44]||(n[44]=ge((...r)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...r),["stop"]))},n[87]||(n[87]=[g("i",{"data-feather":"check"},null,-1)])),g("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[45]||(n[45]=ge(r=>e.showConfirmation=!1,["stop"]))},n[88]||(n[88]=[g("i",{"data-feather":"x"},null,-1)]))])):ie("",!0)])):ie("",!0),g("div",Z2r,[g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a json file",type:"button",onClick:n[46]||(n[46]=ge((...r)=>e.exportDiscussionsAsJson&&e.exportDiscussionsAsJson(...r),["stop"]))},n[89]||(n[89]=[g("i",{"data-feather":"codepen"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a markdown file",type:"button",onClick:n[47]||(n[47]=ge((...r)=>e.exportDiscussions&&e.exportDiscussions(...r),["stop"]))},n[90]||(n[90]=[g("i",{"data-feather":"folder"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a markdown file",type:"button",onClick:n[48]||(n[48]=ge((...r)=>e.exportDiscussionsAsMarkdown&&e.exportDiscussionsAsMarkdown(...r),["stop"]))},n[91]||(n[91]=[g("i",{"data-feather":"bookmark"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[49]||(n[49]=ge((...r)=>e.selectAllDiscussions&&e.selectAllDiscussions(...r),["stop"]))},n[92]||(n[92]=[g("i",{"data-feather":"list"},null,-1)]))])])])):ie("",!0),g("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll overflow-x-hidden custom-scrollbar",onDragover:n[50]||(n[50]=ge(r=>e.setDropZoneDiscussion(),["stop","prevent"]))},[g("div",X2r,[g("div",{class:We(["mx-0 flex flex-col flex-grow w-full",e.isDragOverDiscussion?"pointer-events-none":""])},[g("div",{id:"dis-list",class:We([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow w-full pb-80"])},[e.discussionsList.length>0?(k(),wt(Gs,{key:0,name:"discussionsList"},{default:Be(()=>[(k(!0),P(ze,null,lt(e.discussionsList,(r,i)=>(k(),wt(rE,{key:r.id,id:r.id,title:r.title,selected:e.currentDiscussion.id==r.id,loading:r.loading,isCheckbox:e.isCheckbox,checkBoxValue:r.checkBoxValue,openfolder_enabled:!0,onSelect:o=>e.selectDiscussion(r),onDelete:o=>e.deleteDiscussion(r.id),onOpenFolder:e.openFolder,onEditTitle:e.editTitle,onMakeTitle:e.makeTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onOpenFolder","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):ie("",!0),e.discussionsList.length<1?(k(),P("div",J2r,n[93]||(n[93]=[g("p",{class:"px-3"},"No discussions are found",-1)]))):ie("",!0)],2)],2)])],32),g("div",elr,[g("div",{class:"chat-bar text-center flex items-center",onClick:n[51]||(n[51]=(...r)=>e.showDatabaseSelector&&e.showDatabaseSelector(...r))},[ae(D9,null,{default:Be(()=>n[94]||(n[94]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"mr-2"},[g("ellipse",{cx:"12",cy:"5",rx:"9",ry:"3"}),g("path",{d:"M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"}),g("path",{d:"M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"})],-1)])),_:1}),g("p",tlr,ue(e.formatted_database_name.replace("_"," ")),1)])])])):ie("",!0)]),_:1}),e.isReady?(k(),P("div",nlr,[g("div",{id:"messages-list",class:We(["w-full z-0 flex flex-col flex-grow overflow-y-auto scrollbar",e.isDragOverChat?"pointer-events-none":""])},[g("div",rlr,[e.discussionArr.length>0?(k(),wt(Gs,{key:0,name:"list"},{default:Be(()=>[(k(!0),P(ze,null,lt(e.discussionArr,(r,i)=>(k(),wt(BU,{key:r.id,message:r,id:"msg-"+r.id,ref_for:!0,ref:"msg-"+r.id,host:e.host,onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,onContinueMessage:e.continueMessage,avatar:e.getAvatar(r.sender)},null,8,["message","id","host","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128)),e.discussionArr.length<2&&e.personality.prompts_list.length>0?(k(),P("div",ilr,[n[99]||(n[99]=g("h2",{class:"text-2xl font-bold mb-6 text-gray-800 dark:text-gray-200"},"Prompt Examples",-1)),g("div",olr,[g("div",slr,[(k(!0),P(ze,null,lt(e.personality.prompts_list,(r,i)=>(k(),P("div",{title:e.extractTitle(r),key:i,onClick:o=>e.handlePromptSelection(r),class:"flex-shrink-0 w-[300px] bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg p-6 cursor-pointer hover:shadow-xl transition-all duration-300 ease-in-out transform hover:scale-105 flex flex-col justify-between min-h-[220px] group"},[g("div",llr,[g("h3",{class:"font-bold text-lg text-gray-900 dark:text-gray-100 mb-2 truncate",title:e.extractTitle(r)},ue(e.extractTitle(r)),9,clr),g("div",{title:r,class:"text-base text-gray-700 dark:text-gray-300 overflow-hidden line-clamp-4"},ue(e.getPromptContent(r)),9,ulr)]),n[95]||(n[95]=g("div",{class:"mt-4 text-sm font-medium text-blue-600 dark:text-blue-400 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}," Click to select ",-1))],8,alr))),128))])]),e.showPlaceholderModal?(k(),P("div",dlr,[g("div",flr,[n[98]||(n[98]=g("h3",{class:"text-lg font-semibold mb-4"},"Fill in the placeholders",-1)),g("div",plr,[g("div",hlr,[n[96]||(n[96]=g("h4",{class:"text-sm font-medium mb-2 text-gray-600 dark:text-gray-400"},"Live Preview:",-1)),g("div",Tlr,[g("span",mlr,ue(e.getPromptContent(e.previewPrompt)),1)])]),g("div",glr,[g("div",_lr,[(k(!0),P(ze,null,lt(e.parsedPlaceholders,(r,i)=>(k(),P("div",{key:r.fullText,class:"flex flex-col"},[g("label",{for:"placeholder-"+i,class:"text-sm font-medium mb-1"},ue(r.label),9,Qlr),r.type==="text"?te((k(),P("input",{key:0,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,type:"text",class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",placeholder:r.label,onInput:n[52]||(n[52]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,vlr)),[[Ne,e.placeholderValues[i]]]):ie("",!0),r.type==="int"?te((k(),P("input",{key:1,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,type:"number",step:"1",class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",onInput:n[53]||(n[53]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,ylr)),[[Ne,e.placeholderValues[i],void 0,{number:!0}]]):ie("",!0),r.type==="float"?te((k(),P("input",{key:2,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,type:"number",step:"0.01",class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",onInput:n[54]||(n[54]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,blr)),[[Ne,e.placeholderValues[i],void 0,{number:!0}]]):ie("",!0),r.type==="multiline"?te((k(),P("textarea",{key:3,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,rows:"4",class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",onInput:n[55]||(n[55]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,Elr)),[[Ne,e.placeholderValues[i]]]):ie("",!0),r.type==="code"?(k(),P("div",xlr,[g("div",Slr,ue(r.language||"Plain text"),1),te(g("textarea",{id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,rows:"8",class:"w-full p-2 font-mono bg-gray-100 dark:bg-gray-900 border-t",onInput:n[56]||(n[56]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,Llr),[[Ne,e.placeholderValues[i]]])])):ie("",!0),r.type==="options"?te((k(),P("select",{key:5,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",onChange:n[57]||(n[57]=(...o)=>e.updatePreview&&e.updatePreview(...o))},[n[97]||(n[97]=g("option",{value:"",disabled:""},"Select an option",-1)),(k(!0),P(ze,null,lt(r.options,o=>(k(),P("option",{key:o,value:o},ue(o),9,Alr))),128))],40,Clr)),[[hn,e.placeholderValues[i]]]):ie("",!0)]))),128))])])]),g("div",wlr,[g("button",{onClick:n[58]||(n[58]=(...r)=>e.cancelPlaceholders&&e.cancelPlaceholders(...r)),class:"px-4 py-2 text-gray-600 hover:text-gray-800 dark:text-gray-400 dark:hover:text-gray-200"}," Cancel "),g("button",{onClick:n[59]||(n[59]=(...r)=>e.applyPlaceholders&&e.applyPlaceholders(...r)),class:"px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600"}," Apply ")])])])):ie("",!0)])):ie("",!0)]),_:1})):ie("",!0),e.currentDiscussion.id?ie("",!0):(k(),wt(UU,{key:1})),n[100]||(n[100]=g("div",null,[g("br"),g("br"),g("br"),g("br"),g("br"),g("br"),g("br")],-1))]),n[101]||(n[101]=g("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1))],2),e.currentDiscussion.id?(k(),P("div",Mlr,[ae($U,{ref:"chatBox",loading:e.isGenerating,discussionList:e.discussionArr,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk,onPersonalitySelected:e.recoverFiles,onMessageSentEvent:e.sendMsg,onSendCMDEvent:e.sendCmd,onAddWebLink:e.add_webpage,onCreateEmptyUserMessage:e.createEmptyUserMessage,onCreateEmptyAIMessage:e.createEmptyAIMessage,onStopGenerating:e.stopGenerating,onLoaded:e.recoverFiles},null,8,["loading","discussionList","on-show-toast-message","on-talk","onPersonalitySelected","onMessageSentEvent","onSendCMDEvent","onAddWebLink","onCreateEmptyUserMessage","onCreateEmptyAIMessage","onStopGenerating","onLoaded"])])):ie("",!0)])):ie("",!0),ae(Ai,{name:"slide-left"},{default:Be(()=>[e.showRightPanel?(k(),P("div",Olr,[g("div",Rlr,null,512)])):ie("",!0)]),_:1}),ae(nE,{reference:"database_selector",class:"z-20",show:e.database_selectorDialogVisible,choices:e.databases,"can-remove":!0,onChoiceRemoved:e.ondatabase_selectorDialogRemoved,onChoiceSelected:e.ondatabase_selectorDialogSelected,onCloseDialog:e.onclosedatabase_selectorDialog,onChoiceValidated:e.onvalidatedatabase_selectorChoice},null,8,["show","choices","onChoiceRemoved","onChoiceSelected","onCloseDialog","onChoiceValidated"]),te(g("div",Nlr,[ae(Hb,{ref:"progress",progress:e.progress_value,class:"w-full h-4"},null,8,["progress"]),g("p",Dlr,ue(e.loading_infos)+" ...",1)],512),[[Ht,e.progress_visibility]]),ae(tG,{ref:"personality_editor",config:e.currentPersonConfig,personality:e.selectedPersonality},null,8,["config","personality"]),g("div",Ilr,[ae(nG,{ref:"news"},null,512)]),ae(VU,{ref:"skills_lib"},null,512),ae(iG)],64))}}),Flr=Et(Vlr,[["__scopeId","data-v-1147ee41"]]);/**
+`+e.message,4,!1)}this.isDragOverChat=!1},async setFileListDiscussion(t){if(t.length>1){this.$store.state.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$store.state.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$store.state.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1}},async created(){this.randomFact=this.interestingFacts[Math.floor(Math.random()*this.interestingFacts.length)];const e=(await ye.get("/get_versionID")).data.versionId;et.onopen=()=>{this.currentDiscussion!=null&&(this.setPageTitle(this.currentDiscussion.title),localStorage.setItem("selected_discussion",this.currentDiscussion.id),this.load_discussion(this.currentDiscussion.id,()=>{this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)}))},this.versionId!==e&&(this.$store.commit("updateVersionId",e),window.location.reload(!0)),this.$nextTick(()=>{Xe.replace()});try{this.$store.state.loading_infos="Getting version",this.$store.state.loading_progress=30,await this.$store.dispatch("getVersion")}catch(n){console.log("Error cought:",n)}try{for(this.$store.state.loading_infos="Loading Configuration";et.id===void 0;)await new Promise(n=>setTimeout(n,100));this.$store.state.client_id=et.id,await this.$store.dispatch("refreshConfig")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Loading Database",this.$store.state.loading_progress=20,await this.$store.dispatch("refreshDatabase")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting Bindings list",this.$store.state.loading_progress=40,await this.$store.dispatch("refreshBindings")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting personalities zoo",this.$store.state.loading_progress=70,await this.$store.dispatch("refreshPersonalitiesZoo")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting mounted personalities",this.$store.state.loading_progress=80,await this.$store.dispatch("refreshMountedPersonalities")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting models zoo",this.$store.state.loading_progress=90,await this.$store.dispatch("refreshModelsZoo")}catch(n){console.log("Error cought:",n)}try{this.$store.state.loading_infos="Getting active models",this.$store.state.loading_progress=100,await this.$store.dispatch("refreshModels"),await this.$store.dispatch("refreshModelStatus")}catch(n){console.log("Error cought:",n)}try{await this.$store.dispatch("fetchLanguages"),await this.$store.dispatch("fetchLanguage")}catch(n){console.log("Error cought:",n)}try{await this.$store.dispatch("fetchisRTOn")}catch(n){console.log("Error cought:",n)}this.$store.state.isConnected=!0,this.$store.state.client_id=et.id,this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,this.$store.state.ready=!0,et.on("connected",this.socketIOConnected),et.on("disconnected",this.socketIODisconnected),et.on("show_progress",this.show_progress),et.on("hide_progress",this.hide_progress),et.on("update_progress",this.update_progress),et.on("notification",this.notify),et.on("new_message",this.new_message),et.on("update_message",this.update_message),et.on("close_message",this.finalMsgEvent),et.on("disucssion_renamed",n=>{const r=this.discussionsList.findIndex(o=>o.id==n.discussion_id),i=this.discussionsList[r];i.title=n.title}),et.onclose=n=>{this.socketIODisconnected()},et.on("connect_error",n=>{n.message==="ERR_CONNECTION_REFUSED"?console.error("Connection refused. The server is not available."):console.error("Connection error:",n),this.$store.state.isConnected=!1}),et.onerror=n=>{console.log("WebSocket connection error:",n.code,n.reason),this.socketIODisconnected(),et.disconnect()}},beforeUnmount(){window.removeEventListener("resize",this.adjustMenuPosition)},async mounted(){window.addEventListener("keydown",this.handleShortcut),this.$store.state.news=this.$refs.news,this.$store.state.personality_editor=this.$refs.personality_editor,this.checkChangelogUpdate(),window.addEventListener("resize",this.adjustMenuPosition),et.on("refresh_files",()=>{this.recoverFiles()})},async activated(){for(;this.isReady===!1;)await new Promise(t=>setTimeout(t,100));await this.getPersonalityAvatars(),console.log("Avatars found:",this.personalityAvatars),this.isCreated&&Ke(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)}),this.$store.state.config.show_news_panel&&this.$store.state.news.show()},components:{Discussion:rE,Message:BU,ChatBox:$U,WelcomeComponent:UU,ChoiceDialog:nE,ProgressBar:Hb,InputBox:aor,SkillsLibraryViewer:VU,PersonalityEditor:tG,PopupViewer:nG,ActionButton:gV,SocialIcon:_V,MountedPersonalities:rG,ChatBarButton:D9,ChangelogPopup:iG},watch:{installedModels:{immediate:!0,handler(t){this.$nextTick(()=>{this.installedModels=t})}},"$store.state.config.fun_mode":function(t,e){},"$store.state.isConnected":function(t,e){this.isConnected?this.is_first_connection||(this.$store.state.messageBox.hideMessage(),this.$store.state.messageBox.showMessage("Server connected."),this.$store.state.config.activate_audio_infos&&this.connection_recovered_audio.play()):(this.$store.state.messageBox.showBlockingMessage("Server suddenly disconnected. Please reboot the server to recover the connection"),this.is_first_connection=!1,this.$store.state.config.activate_audio_infos&&this.connection_lost_audio.play()),Ke(()=>{Xe.replace()})},messages:{handler:"extractHtml",deep:!0},progress_visibility_val(t){console.log("progress_visibility changed to "+t)},filterTitle(t){t==""&&(this.filterInProgress=!0,this.discussionsList=this.tempList,this.filterInProgress=!1)},isCheckbox(t){Ke(()=>{Xe.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){Ke(()=>{Xe.replace()})}},computed:{parsedPlaceholders(){const t=new Map;return this.placeholders.forEach(e=>{const n=klr(e);t.set(n.fullText,n)}),Array.from(t.values())},filteredBindings(){return this.installedBindings.filter(t=>t.name.toLowerCase().includes(this.bindingSearchQuery.toLowerCase()))},filteredModels(){return this.installedModels.filter(t=>t.name.toLowerCase().includes(this.modelSearchQuery.toLowerCase()))},filteredPersonalities(){return this.mountedPersonalities.filter(t=>t.name.toLowerCase().includes(this.personalitySearchQuery.toLowerCase()))},currentModel(){return this.$store.state.currentModel||{}},currentModelIcon(){return this.currentModel.icon||this.modelImgPlaceholder},binding_name(){return this.$store.state.config.binding_name},installedModels(){return this.$store.state.installedModels},model_name(){return this.$store.state.config.model_name},mountedPersonalities(){return this.$store.state.mountedPersArr},personality_name(){return this.$store.state.config.active_personality_id},config(){return this.$store.state.config},mountedPers(){return this.$store.state.mountedPers},installedBindings(){return this.$store.state.installedBindings},currentBindingIcon(){return this.currentBinding.icon||this.modelImgPlaceholder},currentBinding(){return this.$store.state.currentBinding||{}},isFullMode(){return this.$store.state.view_mode==="full"},storeLogo(){return this.$store.state.config?vo:this.$store.state.config.app_custom_logo!=""?"/user_infos/"+this.$store.state.config.app_custom_logo:vo},currentPersonConfig(){try{return this.$store.state.currentPersonConfig}catch{console.log("Error finding current personality configuration");return}},selectedPersonality(){try{return this.$store.state.selectedPersonality}catch{console.log("Error finding current personality configuration");return}},loading_infos(){return this.$store.state.loading_infos},is_fun_mode(){try{return this.$store.state.config?this.$store.state.config.fun_mode:!1}catch(t){return console.error("Oopsie! Looks like we hit a snag: ",t),!1}},isModelOK(){return this.$store.state.isModelOk},isGenerating(){return this.$store.state.isGenerating},isConnected(){return this.$store.state.isConnected},...KW({versionId:t=>t.versionId}),progress_visibility:{get(){return self.progress_visibility_val}},version_info:{get(){return this.$store.state.version!=null&&this.$store.state.version!="unknown"?this.$store.state.version:"..."}},loading_infos:{get(){return this.$store.state.loading_infos}},loading_progress:{get(){return this.$store.state.loading_progress}},isModelOk:{get(){return this.$store.state.isModelOk},set(t){this.$store.state.isModelOk=t}},isGenerating:{get(){return this.$store.state.isGenerating},set(t){this.$store.state.isGenerating=t}},personality(){const t=this.$store.state.config.personalities[this.$store.state.config.active_personality_id].split(":")[0];return this.$store.state.personalities.find(n=>n.full_path===t)},prompts_list(){return this.personality.prompts_list},formatted_database_name(){return this.$store.state.config.discussion_db_name},UseDiscussionHistory(){return this.$store.state.config.activate_skills_lib},isReady(){return this.$store.state.ready},databases(){return this.$store.state.databases},client_id(){return et.id},showLeftPanel(){return console.log("showLeftPanel"),console.log(this.$store.state.leftPanelCollapsed),this.$store.state.ready&&!this.$store.state.leftPanelCollapsed},showRightPanel(){return console.log("showRightPanel"),console.log(this.$store.state.rightPanelCollapsed),this.$store.state.ready&&!this.$store.state.rightPanelCollapsed},socketConnected(){return console.log(" --- > Websocket connected"),this.$store.commit("setIsConnected",!0),!0},socketDisconnected(){return this.$store.commit("setIsConnected",!1),console.log(" --- > Websocket disconnected"),!0},selectedDiscussions(){return Ke(()=>{Xe.replace()}),this.discussionsList.filter(t=>t.checkBoxValue==!0)}}},Vlr=Object.assign(Hlr,{__name:"DiscussionsView",setup(t){return ls(()=>{eG()}),ye.defaults.baseURL="/",(e,n)=>(k(),P(ze,null,[ae(Ai,{name:"fade-and-fly"},{default:Be(()=>[e.isReady?ie("",!0):(k(),P("div",D1r,[e.$store.state.theme_vars.activate_dropping_animation?(k(),P("div",I1r,[(k(),P(ze,null,lt(50,r=>g("div",{key:r,class:"absolute animate-fall animate-giggle",style:gn({left:`${Math.random()*100}%`,top:"-20px",animationDuration:`${3+Math.random()*7}s`,animationDelay:`${Math.random()*5}s`})},ue(e.$store.state.theme_vars.falling_object),5)),64))])):ie("",!0),g("div",k1r,[g("div",P1r,[g("div",H1r,ue(e.$store.state.theme_vars.lollms_title),1),n[61]||(n[61]=g("p",{class:"text-2xl italic"}," One tool to rule them all ",-1)),n[62]||(n[62]=g("p",{class:"text-xl mb-6"}," by ParisNeo ",-1)),g("p",V1r,ue(e.version_info),1),g("div",{class:"interesting-facts transition-transform duration-300 cursor-pointer",onClick:n[0]||(n[0]=(...r)=>e.updateRandomFact&&e.updateRandomFact(...r))},[g("p",F1r,[n[60]||(n[60]=g("span",{class:"font-semibold"},"🤔 Fun Fact: ",-1)),g("span",{innerHTML:e.randomFact},null,8,B1r)])]),g("div",$1r,[g("div",{class:"animated-progressbar-fg",style:gn({width:`${e.loading_progress}%`})},null,4),g("div",{class:"absolute top-0 h-full flex items-center transition-all duration-300",style:gn({left:`${e.loading_progress}%`,transform:"translateX(-50%)"})},null,4)])]),g("div",U1r,[g("div",G1r,[g("p",q1r,ue(e.loading_infos)+"... ",1),g("p",z1r,ue(Math.round(e.loading_progress))+"% ",1)])])])]))]),_:1}),ae(Ai,{name:"slide-right"},{default:Be(()=>[e.showLeftPanel?(k(),P("div",j1r,[ae(Ft(Du),{to:{name:"discussions"},class:"flex items-center space-x-2"},{default:Be(()=>[g("div",W1r,[g("img",{class:"w-12 h-12 rounded-full object-cover logo-image",src:e.$store.state.config==null?Ft(vo):e.$store.state.config.app_custom_logo!=""?"/user_infos/"+e.$store.state.config.app_custom_logo:Ft(vo),alt:"Logo",title:"LoLLMS WebUI"},null,8,Y1r)]),n[63]||(n[63]=g("div",{class:"flex flex-col justify-center"},[g("div",{class:"text-center p-2"},[g("div",{class:"text-md relative inline-block"},[g("span",{class:"relative inline-block font-bold tracking-wide text-black dark:text-white"}," LoLLMS "),g("div",{class:"absolute -bottom-0.5 left-0 w-full h-0.5 bg-black dark:bg-white transform origin-left transition-transform duration-300 hover:scale-x-100 scale-x-0"})])]),g("p",{class:"text-gray-400 text-sm"},"One tool to rule them all")],-1))]),_:1}),g("div",K1r,[g("div",Z1r,[g("button",{class:"toolbar-button",title:"Create new discussion",onClick:n[1]||(n[1]=(...r)=>e.createNewDiscussion&&e.createNewDiscussion(...r))},n[64]||(n[64]=[g("i",{"data-feather":"plus"},null,-1)])),e.loading?ie("",!0):(k(),P("div",{key:0,class:"toolbar-button",onMouseleave:n[8]||(n[8]=(...r)=>e.hideSkillsLibraryMenu&&e.hideSkillsLibraryMenu(...r))},[te(g("div",{onMouseenter:n[6]||(n[6]=(...r)=>e.showSkillsLibraryMenu&&e.showSkillsLibraryMenu(...r)),class:"absolute m-0 p-0 z-50 top-full left-0 transform bg-white dark:bg-bg-dark rounded-lg shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",X1r,[e.loading?ie("",!0):(k(),P("button",{key:0,type:"button",onClick:n[2]||(n[2]=ge((...r)=>e.addDiscussion2SkillsLibrary&&e.addDiscussion2SkillsLibrary(...r),["stop"])),title:"Add this discussion content to skills database",class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[65]||(n[65]=[g("i",{"data-feather":"plus"},null,-1)]))),!e.loading&&e.$store.state.config.activate_skills_lib?(k(),P("button",{key:1,type:"button",onClick:n[3]||(n[3]=ge((...r)=>e.toggleSkillsLib&&e.toggleSkillsLib(...r),["stop"])),title:"Skills database is activated",class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[66]||(n[66]=[g("i",{"data-feather":"check-circle"},null,-1)]))):ie("",!0),!e.loading&&!e.$store.state.config.activate_skills_lib?(k(),P("button",{key:2,type:"button",onClick:n[4]||(n[4]=ge((...r)=>e.toggleSkillsLib&&e.toggleSkillsLib(...r),["stop"])),title:"Skills database is deactivated",class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[67]||(n[67]=[g("i",{"data-feather":"x-octagon"},null,-1)]))):ie("",!0),e.loading?ie("",!0):(k(),P("button",{key:3,type:"button",onClick:n[5]||(n[5]=ge((...r)=>e.showSkillsLib&&e.showSkillsLib(...r),["stop"])),title:"Show Skills database",class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[68]||(n[68]=[g("i",{"data-feather":"book"},null,-1)])))])],544),[[Ht,e.isSkillsLibraryMenuVisible]]),g("div",{onMouseenter:n[7]||(n[7]=(...r)=>e.showSkillsLibraryMenu&&e.showSkillsLibraryMenu(...r)),class:"menu-hover-area"},n[69]||(n[69]=[g("button",{class:"w-8 h-8",title:"Toggle Skills library menu"},[g("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M4 4v16h16V4H4zm2 2h12v12H6V6zm2 2h2v8H8V8zm3 0h2v8h-2V8zm3 0h2v8h-2V8z",fill:"currentColor"})])],-1)]),32)],32)),e.loading?ie("",!0):(k(),P("div",{key:1,class:"toolbar-button",onMouseleave:n[22]||(n[22]=(...r)=>e.hideMenu&&e.hideMenu(...r))},[te(g("div",{onMouseenter:n[20]||(n[20]=(...r)=>e.showMenu&&e.showMenu(...r)),class:"absolute m-0 p-0 z-50 top-full left-0 transform bg-white dark:bg-bg-dark rounded-lg shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",J1r,[g("button",{class:We(["text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95",e.isCheckbox?"text-secondary dark:text-secondary-light":"text-gray-700 dark:text-gray-300"]),title:"Edit discussion list",type:"button",onClick:n[9]||(n[9]=r=>e.isCheckbox=!e.isCheckbox)},n[70]||(n[70]=[g("i",{"data-feather":"check-square"},null,-1)]),2),g("button",{class:"text-3xl hover:text-red-500 dark:hover:text-red-400 duration-150 active:scale-95",title:"Reset database, remove all discussions",onClick:n[10]||(n[10]=ge(()=>{},["stop"]))},n[71]||(n[71]=[g("i",{"data-feather":"trash-2"},null,-1)])),g("button",{class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95",title:"Export database",type:"button",onClick:n[11]||(n[11]=ge(r=>e.database_selectorDialogVisible=!0,["stop"]))},n[72]||(n[72]=[g("i",{"data-feather":"database"},null,-1)])),g("div",e2r,[g("input",{type:"file",ref:"fileDialog",class:"hidden",onChange:n[12]||(n[12]=(...r)=>e.importDiscussions&&e.importDiscussions(...r))},null,544),g("button",{class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95 rotate-90",title:"Import discussions",type:"button",onClick:n[13]||(n[13]=ge(r=>e.$refs.fileDialog.click(),["stop"]))},n[73]||(n[73]=[g("i",{"data-feather":"log-in"},null,-1)]))]),g("div",t2r,[g("input",{type:"file",ref:"bundleLoadingDialog",class:"hidden",onChange:n[14]||(n[14]=(...r)=>e.importDiscussionsBundle&&e.importDiscussionsBundle(...r))},null,544),e.showSaveConfirmation?ie("",!0):(k(),P("button",{key:0,title:"Import discussion bundle",onClick:n[15]||(n[15]=ge(r=>e.$refs.bundleLoadingDialog.click(),["stop"])),class:"text-3xl hover:text-secondary dark:hover:text-secondary-light duration-150 active:scale-95"},n[74]||(n[74]=[g("i",{"data-feather":"folder"},null,-1)])))]),e.loading?(k(),P("div",n2r,n[75]||(n[75]=[g("div",{role:"status"},[g("svg",{"aria-hidden":"true",class:"w-8 h-8 animate-spin fill-secondary dark:fill-secondary-light",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),g("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),g("span",{class:"sr-only"},"Loading...")],-1)]))):ie("",!0),e.showSaveConfirmation?(k(),P("div",r2r,[g("button",{class:"text-3xl hover:text-red-500 dark:hover:text-red-400 duration-150 active:scale-95",title:"Cancel",type:"button",onClick:n[16]||(n[16]=ge(r=>e.showSaveConfirmation=!1,["stop"]))},n[76]||(n[76]=[g("i",{"data-feather":"x"},null,-1)])),g("button",{class:"text-3xl hover:text-green-500 dark:hover:text-green-400 duration-150 active:scale-95",title:"Confirm save changes",type:"button",onClick:n[17]||(n[17]=ge(r=>e.save_configuration(),["stop"]))},n[77]||(n[77]=[g("i",{"data-feather":"check"},null,-1)]))])):ie("",!0),e.isOpen?(k(),P("div",i2r,[g("button",{onClick:n[18]||(n[18]=(...r)=>e.importDiscussions&&e.importDiscussions(...r)),class:"text-sm hover:text-secondary dark:hover:text-secondary-light"},"LOLLMS"),g("button",{onClick:n[19]||(n[19]=(...r)=>e.importChatGPT&&e.importChatGPT(...r)),class:"text-sm hover:text-secondary dark:hover:text-secondary-light"},"ChatGPT")])):ie("",!0)])],544),[[Ht,e.isMenuVisible]]),g("div",{onMouseenter:n[21]||(n[21]=(...r)=>e.showMenu&&e.showMenu(...r)),class:"menu-hover-area"},n[78]||(n[78]=[g("button",{class:"w-8 h-8",title:"Toggle menu"},[g("i",{"data-feather":"menu"})],-1)]),32)],32)),e.loading?ie("",!0):(k(),P("div",{key:2,class:"toolbar-button",onMouseleave:n[28]||(n[28]=(...r)=>e.hideBindingsMenu&&e.hideBindingsMenu(...r))},[g("div",o2r,[te(g("div",{onMouseenter:n[25]||(n[25]=(...r)=>e.showBindingsMenu&&e.showBindingsMenu(...r)),class:"absolute m-0 p-0 z-10 top-full left-0 transform w-80 bg-white dark:bg-gray-900 rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",s2r,[te(g("input",{type:"text","onUpdate:modelValue":n[23]||(n[23]=r=>e.bindingSearchQuery=r),placeholder:"Search bindings...",class:"w-full px-3 py-2 rounded-md border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white focus:outline-none focus:ring-2 focus:ring-blue-500"},null,512),[[Ne,e.bindingSearchQuery]])]),g("div",a2r,[(k(!0),P(ze,null,lt(e.filteredBindings,(r,i)=>(k(),P("div",{key:i,class:"relative group/item flex flex-col items-center"},[g("div",l2r,[g("button",{onClick:ge(o=>e.setBinding(r),["prevent"]),title:r.name,class:"w-12 h-12 rounded-md overflow-hidden transition-transform duration-200 transform group-hover/item:scale-105 focus:outline-none"},[g("img",{src:r.icon?r.icon:Ft(ui),onError:n[24]||(n[24]=(...o)=>Ft(ui)&&Ft(ui)(...o)),alt:r.name,class:We(["w-full h-full object-cover",{"border-2 border-secondary":r.name==e.binding_name}])},null,42,u2r)],8,c2r),g("span",{class:"mt-1 text-xs text-center w-full truncate",title:r.name},ue(r.name),9,d2r)]),g("div",f2r,[g("span",{class:"text-xs font-medium mb-2 text-center",onClick:ge(o=>e.setBinding(r),["prevent"])},ue(r.name),9,p2r),g("div",h2r,[g("button",{onClick:ge(o=>e.showModelConfig(r),["prevent"]),class:"p-1 bg-blue-500 rounded-full text-white hover:bg-blue-600 focus:outline-none",title:"Configure Binding"},n[79]||(n[79]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})],-1)]),8,T2r)])])]))),128))])],544),[[Ht,e.isBindingsMenuVisible]]),g("div",{onMouseenter:n[27]||(n[27]=(...r)=>e.showBindingsMenu&&e.showBindingsMenu(...r)),class:"bindings-hover-area"},[g("button",{onClick:n[26]||(n[26]=ge(r=>e.showModelConfig(),["prevent"])),class:"w-6 h-6"},[g("img",{src:e.currentBindingIcon,class:"w-6 h-6 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary hover:scale-110 hover:-translate-y-1 duration-200",title:e.currentBinding?e.currentBinding.name:"unknown"},null,8,m2r)])],32)])],32)),e.loading?ie("",!0):(k(),P("div",{key:3,class:"toolbar-button",onMouseleave:n[34]||(n[34]=(...r)=>e.hideModelsMenu&&e.hideModelsMenu(...r))},[g("div",g2r,[te(g("div",{onMouseenter:n[31]||(n[31]=(...r)=>e.showModelsMenu&&e.showModelsMenu(...r)),class:"absolute m-0 p-0 z-10 top-full left-0 transform w-80 bg-white dark:bg-gray-900 rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",_2r,[te(g("input",{type:"text","onUpdate:modelValue":n[29]||(n[29]=r=>e.modelSearchQuery=r),placeholder:"Search models...",class:"w-full px-3 py-2 rounded-md border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white focus:outline-none focus:ring-2 focus:ring-blue-500"},null,512),[[Ne,e.modelSearchQuery]])]),g("div",Q2r,[(k(!0),P(ze,null,lt(e.filteredModels,(r,i)=>(k(),P("div",{key:i,class:"relative group/item flex flex-col items-center"},[g("div",v2r,[g("button",{onClick:ge(o=>e.setModel(r),["prevent"]),title:r.name,class:"w-12 h-12 rounded-md overflow-hidden transition-transform duration-200 transform group-hover/item:scale-105 focus:outline-none"},[g("img",{src:r.icon?r.icon:Ft(ui),onError:n[30]||(n[30]=(...o)=>e.personalityImgPlacehodler&&e.personalityImgPlacehodler(...o)),alt:r.name,class:We(["w-full h-full object-cover",{"border-2 border-secondary":r.name==e.model_name}])},null,42,b2r)],8,y2r),g("span",{class:"mt-1 text-xs text-center w-full truncate",title:r.name},ue(r.name),9,E2r)]),g("div",x2r,[g("span",{class:"text-xs font-medium mb-2 text-center",onClick:ge(o=>e.setModel(r),["prevent"])},ue(r.name),9,S2r),g("div",L2r,[g("button",{onClick:ge(o=>e.copyModelNameFrom(r.name),["prevent"]),class:"p-1 bg-blue-500 rounded-full text-white hover:bg-blue-600 focus:outline-none",title:"Copy Model Name"},n[80]||(n[80]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})],-1)]),8,C2r)])])]))),128))])],544),[[Ht,e.isModelsMenuVisible]]),g("div",{onMouseenter:n[33]||(n[33]=(...r)=>e.showModelsMenu&&e.showModelsMenu(...r)),class:"models-hover-area"},[g("button",{onClick:n[32]||(n[32]=ge(r=>e.copyModelName(),["prevent"])),class:"w-6 h-6"},[g("img",{src:e.currentModelIcon,class:"w-6 h-6 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:border-secondary hover:scale-110 hover:-translate-y-1 duration-400",title:e.currentModel?e.currentModel.name:"unknown"},null,8,A2r)])],32)])],32)),e.loading?ie("",!0):(k(),P("div",{key:4,class:"toolbar-button",onMouseleave:n[39]||(n[39]=(...r)=>e.hidePersonalitiesMenu&&e.hidePersonalitiesMenu(...r))},[g("div",w2r,[te(g("div",{onMouseenter:n[37]||(n[37]=(...r)=>e.showPersonalitiesMenu&&e.showPersonalitiesMenu(...r)),class:"absolute m-0 p-0 z-10 top-full left-0 transform w-80 bg-white dark:bg-gray-900 rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none transition-all duration-300 ease-out mb-2"},[g("div",M2r,[te(g("input",{type:"text","onUpdate:modelValue":n[35]||(n[35]=r=>e.personalitySearchQuery=r),placeholder:"Search personalities...",class:"w-full px-3 py-2 rounded-md border border-gray-300 dark:border-gray-600 dark:bg-gray-800 dark:text-white focus:outline-none focus:ring-2 focus:ring-blue-500"},null,512),[[Ne,e.personalitySearchQuery]])]),g("div",O2r,[(k(!0),P(ze,null,lt(e.filteredPersonalities,(r,i)=>(k(),P("div",{key:i,class:"relative group/item flex flex-col items-center"},[g("div",R2r,[g("button",{onClick:ge(o=>e.onPersonalitySelected(r),["prevent"]),title:r.name,class:"w-12 h-12 rounded-md overflow-hidden transition-transform duration-200 transform group-hover/item:scale-105 focus:outline-none"},[g("img",{src:Ft(Plr)+r.avatar,onError:n[36]||(n[36]=(...o)=>e.personalityImgPlacehodler&&e.personalityImgPlacehodler(...o)),alt:r.name,class:We(["w-full h-full object-cover",{"border-2 border-secondary":e.$store.state.active_personality_id==e.$store.state.personalities.indexOf(r.full_path)}])},null,42,D2r)],8,N2r),g("span",{class:"mt-1 text-xs text-center w-full truncate",title:r.name},ue(r.name),9,I2r)]),g("div",k2r,[g("span",{class:"text-xs font-medium mb-2 text-center",onClick:ge(o=>e.onPersonalitySelected(r),["prevent"])},ue(r.name),9,P2r),g("div",H2r,[g("button",{onClick:ge(o=>e.unmountPersonality(r),["prevent"]),class:"p-1 bg-red-500 rounded-full text-white hover:bg-red-600 focus:outline-none",title:"Unmount"},n[81]||(n[81]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,V2r),g("button",{onClick:ge(o=>e.remount_personality(r),["prevent"]),class:"p-1 bg-blue-500 rounded-full text-white hover:bg-blue-600 focus:outline-none",title:"Remount"},n[82]||(n[82]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1)]),8,F2r),g("button",{onClick:ge(o=>e.handleOnTalk(r),["prevent"]),class:"p-1 bg-green-500 rounded-full text-white hover:bg-green-600 focus:outline-none",title:"Talk"},n[83]||(n[83]=[g("svg",{class:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[g("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"})],-1)]),8,B2r)])])]))),128))])],544),[[Ht,e.isPersonalitiesMenuVisible]]),g("div",$2r,[g("div",{onMouseenter:n[38]||(n[38]=(...r)=>e.showPersonalitiesMenu&&e.showPersonalitiesMenu(...r)),class:"personalities-hover-area"},[ae(rG,{ref:"mountedPers",onShowPersList:e.onShowPersList,onReady:e.onPersonalitiesReady},null,8,["onShowPersList","onReady"])],32)])])],32))])]),g("div",U2r,[g("form",{onSubmit:n[42]||(n[42]=ge((...r)=>e.handleSearch&&e.handleSearch(...r),["prevent"])),class:"relative"},[g("div",G2r,[g("div",q2r,[te(g("input",{type:"search",id:"default-search",class:"block w-full h-8 px-8 text-sm border border-gray-300 rounded-md bg-bg-light focus:ring-1 focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary transition-all duration-200",placeholder:"Search discussions...",title:"Filter discussions by title","onUpdate:modelValue":n[40]||(n[40]=r=>e.filterTitle=r),onKeyup:n[41]||(n[41]=ri((...r)=>e.handleSearch&&e.handleSearch(...r),["enter"]))},null,544),[[Ne,e.filterTitle]]),n[84]||(n[84]=g("div",{class:"absolute left-2 top-1/2 -translate-y-1/2"},[g("i",{"data-feather":"search",class:"w-4 h-4 text-gray-400"})],-1)),n[85]||(n[85]=g("button",{type:"submit",class:"absolute right-2 top-1/2 -translate-y-1/2 text-gray-600 hover:text-secondary rounded-full hover:bg-gray-100 dark:hover:bg-gray-700 focus:ring-1 focus:ring-secondary transition-all duration-150 active:scale-98",title:"Search"},[g("i",{"data-feather":"arrow-right",class:"w-4 h-4"})],-1))])])],32)]),e.isCheckbox?(k(),P("div",z2r,[g("div",j2r,[e.selectedDiscussions.length>0?(k(),P("p",W2r,"Selected: "+ue(e.selectedDiscussions.length),1)):ie("",!0),e.selectedDiscussions.length>0?(k(),P("div",Y2r,[e.showConfirmation?ie("",!0):(k(),P("button",{key:0,class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[43]||(n[43]=ge(r=>e.showConfirmation=!0,["stop"]))},n[86]||(n[86]=[g("i",{"data-feather":"trash"},null,-1)]))),e.showConfirmation?(k(),P("div",K2r,[g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[44]||(n[44]=ge((...r)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...r),["stop"]))},n[87]||(n[87]=[g("i",{"data-feather":"check"},null,-1)])),g("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[45]||(n[45]=ge(r=>e.showConfirmation=!1,["stop"]))},n[88]||(n[88]=[g("i",{"data-feather":"x"},null,-1)]))])):ie("",!0)])):ie("",!0),g("div",Z2r,[g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a json file",type:"button",onClick:n[46]||(n[46]=ge((...r)=>e.exportDiscussionsAsJson&&e.exportDiscussionsAsJson(...r),["stop"]))},n[89]||(n[89]=[g("i",{"data-feather":"codepen"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a markdown file",type:"button",onClick:n[47]||(n[47]=ge((...r)=>e.exportDiscussions&&e.exportDiscussions(...r),["stop"]))},n[90]||(n[90]=[g("i",{"data-feather":"folder"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a markdown file",type:"button",onClick:n[48]||(n[48]=ge((...r)=>e.exportDiscussionsAsMarkdown&&e.exportDiscussionsAsMarkdown(...r),["stop"]))},n[91]||(n[91]=[g("i",{"data-feather":"bookmark"},null,-1)])),g("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[49]||(n[49]=ge((...r)=>e.selectAllDiscussions&&e.selectAllDiscussions(...r),["stop"]))},n[92]||(n[92]=[g("i",{"data-feather":"list"},null,-1)]))])])])):ie("",!0),g("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll overflow-x-hidden custom-scrollbar",onDragover:n[50]||(n[50]=ge(r=>e.setDropZoneDiscussion(),["stop","prevent"]))},[g("div",X2r,[g("div",{class:We(["mx-0 flex flex-col flex-grow w-full",e.isDragOverDiscussion?"pointer-events-none":""])},[g("div",{id:"dis-list",class:We([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow w-full pb-80"])},[e.discussionsList.length>0?(k(),wt(Gs,{key:0,name:"discussionsList"},{default:Be(()=>[(k(!0),P(ze,null,lt(e.discussionsList,(r,i)=>(k(),wt(rE,{key:r.id,id:r.id,title:r.title,selected:e.currentDiscussion.id==r.id,loading:r.loading,isCheckbox:e.isCheckbox,checkBoxValue:r.checkBoxValue,openfolder_enabled:!0,onSelect:o=>e.selectDiscussion(r),onDelete:o=>e.deleteDiscussion(r.id),onOpenFolder:e.openFolder,onEditTitle:e.editTitle,onMakeTitle:e.makeTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onOpenFolder","onEditTitle","onMakeTitle","onChecked"]))),128))]),_:1})):ie("",!0),e.discussionsList.length<1?(k(),P("div",J2r,n[93]||(n[93]=[g("p",{class:"px-3"},"No discussions are found",-1)]))):ie("",!0)],2)],2)])],32),g("div",elr,[g("div",{class:"chat-bar text-center flex items-center",onClick:n[51]||(n[51]=(...r)=>e.showDatabaseSelector&&e.showDatabaseSelector(...r))},[ae(D9,null,{default:Be(()=>n[94]||(n[94]=[g("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"mr-2"},[g("ellipse",{cx:"12",cy:"5",rx:"9",ry:"3"}),g("path",{d:"M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"}),g("path",{d:"M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"})],-1)])),_:1}),g("p",tlr,ue(e.formatted_database_name.replace("_"," ")),1)])])])):ie("",!0)]),_:1}),e.isReady?(k(),P("div",nlr,[g("div",{id:"messages-list",class:We(["w-full z-0 flex flex-col flex-grow overflow-y-auto scrollbar",e.isDragOverChat?"pointer-events-none":""])},[g("div",rlr,[e.discussionArr.length>0?(k(),wt(Gs,{key:0,name:"list"},{default:Be(()=>[(k(!0),P(ze,null,lt(e.discussionArr,(r,i)=>(k(),wt(BU,{key:r.id,message:r,id:"msg-"+r.id,ref_for:!0,ref:"msg-"+r.id,host:e.host,onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,onContinueMessage:e.continueMessage,avatar:e.getAvatar(r.sender)},null,8,["message","id","host","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","onContinueMessage","avatar"]))),128)),e.discussionArr.length<2&&e.personality.prompts_list.length>0?(k(),P("div",ilr,[n[99]||(n[99]=g("h2",{class:"text-2xl font-bold mb-6 text-gray-800 dark:text-gray-200"},"Prompt Examples",-1)),g("div",olr,[g("div",slr,[(k(!0),P(ze,null,lt(e.personality.prompts_list,(r,i)=>(k(),P("div",{title:e.extractTitle(r),key:i,onClick:o=>e.handlePromptSelection(r),class:"flex-shrink-0 w-[300px] bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-lg p-6 cursor-pointer hover:shadow-xl transition-all duration-300 ease-in-out transform hover:scale-105 flex flex-col justify-between min-h-[220px] group"},[g("div",llr,[g("h3",{class:"font-bold text-lg text-gray-900 dark:text-gray-100 mb-2 truncate",title:e.extractTitle(r)},ue(e.extractTitle(r)),9,clr),g("div",{title:r,class:"text-base text-gray-700 dark:text-gray-300 overflow-hidden line-clamp-4"},ue(e.getPromptContent(r)),9,ulr)]),n[95]||(n[95]=g("div",{class:"mt-4 text-sm font-medium text-blue-600 dark:text-blue-400 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}," Click to select ",-1))],8,alr))),128))])]),e.showPlaceholderModal?(k(),P("div",dlr,[g("div",flr,[n[98]||(n[98]=g("h3",{class:"text-lg font-semibold mb-4"},"Fill in the placeholders",-1)),g("div",plr,[g("div",hlr,[n[96]||(n[96]=g("h4",{class:"text-sm font-medium mb-2 text-gray-600 dark:text-gray-400"},"Live Preview:",-1)),g("div",Tlr,[g("span",mlr,ue(e.getPromptContent(e.previewPrompt)),1)])]),g("div",glr,[g("div",_lr,[(k(!0),P(ze,null,lt(e.parsedPlaceholders,(r,i)=>(k(),P("div",{key:r.fullText,class:"flex flex-col"},[g("label",{for:"placeholder-"+i,class:"text-sm font-medium mb-1"},ue(r.label),9,Qlr),r.type==="text"?te((k(),P("input",{key:0,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,type:"text",class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",placeholder:r.label,onInput:n[52]||(n[52]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,vlr)),[[Ne,e.placeholderValues[i]]]):ie("",!0),r.type==="int"?te((k(),P("input",{key:1,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,type:"number",step:"1",class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",onInput:n[53]||(n[53]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,ylr)),[[Ne,e.placeholderValues[i],void 0,{number:!0}]]):ie("",!0),r.type==="float"?te((k(),P("input",{key:2,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,type:"number",step:"0.01",class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",onInput:n[54]||(n[54]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,blr)),[[Ne,e.placeholderValues[i],void 0,{number:!0}]]):ie("",!0),r.type==="multiline"?te((k(),P("textarea",{key:3,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,rows:"4",class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",onInput:n[55]||(n[55]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,Elr)),[[Ne,e.placeholderValues[i]]]):ie("",!0),r.type==="code"?(k(),P("div",xlr,[g("div",Slr,ue(r.language||"Plain text"),1),te(g("textarea",{id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,rows:"8",class:"w-full p-2 font-mono bg-gray-100 dark:bg-gray-900 border-t",onInput:n[56]||(n[56]=(...o)=>e.updatePreview&&e.updatePreview(...o))},null,40,Llr),[[Ne,e.placeholderValues[i]]])])):ie("",!0),r.type==="options"?te((k(),P("select",{key:5,id:"placeholder-"+i,"onUpdate:modelValue":o=>e.placeholderValues[i]=o,class:"border rounded-md p-2 dark:bg-gray-700 dark:border-gray-600",onChange:n[57]||(n[57]=(...o)=>e.updatePreview&&e.updatePreview(...o))},[n[97]||(n[97]=g("option",{value:"",disabled:""},"Select an option",-1)),(k(!0),P(ze,null,lt(r.options,o=>(k(),P("option",{key:o,value:o},ue(o),9,Alr))),128))],40,Clr)),[[hn,e.placeholderValues[i]]]):ie("",!0)]))),128))])])]),g("div",wlr,[g("button",{onClick:n[58]||(n[58]=(...r)=>e.cancelPlaceholders&&e.cancelPlaceholders(...r)),class:"px-4 py-2 text-gray-600 hover:text-gray-800 dark:text-gray-400 dark:hover:text-gray-200"}," Cancel "),g("button",{onClick:n[59]||(n[59]=(...r)=>e.applyPlaceholders&&e.applyPlaceholders(...r)),class:"px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600"}," Apply ")])])])):ie("",!0)])):ie("",!0)]),_:1})):ie("",!0),e.currentDiscussion.id?ie("",!0):(k(),wt(UU,{key:1})),n[100]||(n[100]=g("div",null,[g("br"),g("br"),g("br"),g("br"),g("br"),g("br"),g("br")],-1))]),n[101]||(n[101]=g("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1))],2),e.currentDiscussion.id?(k(),P("div",Mlr,[ae($U,{ref:"chatBox",loading:e.isGenerating,discussionList:e.discussionArr,"on-show-toast-message":e.showToastMessage,"on-talk":e.talk,onPersonalitySelected:e.recoverFiles,onMessageSentEvent:e.sendMsg,onSendCMDEvent:e.sendCmd,onAddWebLink:e.add_webpage,onCreateEmptyUserMessage:e.createEmptyUserMessage,onCreateEmptyAIMessage:e.createEmptyAIMessage,onStopGenerating:e.stopGenerating,onLoaded:e.recoverFiles},null,8,["loading","discussionList","on-show-toast-message","on-talk","onPersonalitySelected","onMessageSentEvent","onSendCMDEvent","onAddWebLink","onCreateEmptyUserMessage","onCreateEmptyAIMessage","onStopGenerating","onLoaded"])])):ie("",!0)])):ie("",!0),ae(Ai,{name:"slide-left"},{default:Be(()=>[e.showRightPanel?(k(),P("div",Olr,[g("div",Rlr,null,512)])):ie("",!0)]),_:1}),ae(nE,{reference:"database_selector",class:"z-20",show:e.database_selectorDialogVisible,choices:e.databases,"can-remove":!0,onChoiceRemoved:e.ondatabase_selectorDialogRemoved,onChoiceSelected:e.ondatabase_selectorDialogSelected,onCloseDialog:e.onclosedatabase_selectorDialog,onChoiceValidated:e.onvalidatedatabase_selectorChoice},null,8,["show","choices","onChoiceRemoved","onChoiceSelected","onCloseDialog","onChoiceValidated"]),te(g("div",Nlr,[ae(Hb,{ref:"progress",progress:e.progress_value,class:"w-full h-4"},null,8,["progress"]),g("p",Dlr,ue(e.loading_infos)+" ...",1)],512),[[Ht,e.progress_visibility]]),ae(tG,{ref:"personality_editor",config:e.currentPersonConfig,personality:e.selectedPersonality},null,8,["config","personality"]),g("div",Ilr,[ae(nG,{ref:"news"},null,512)]),ae(VU,{ref:"skills_lib"},null,512),ae(iG)],64))}}),Flr=Et(Vlr,[["__scopeId","data-v-5590f293"]]);/**
* @license
* Copyright 2010-2023 Three.js Authors
* SPDX-License-Identifier: MIT
diff --git a/web/dist/assets/index-D-1JTBOJ.css b/web/dist/assets/index-CqCqluH7.css
similarity index 97%
rename from web/dist/assets/index-D-1JTBOJ.css
rename to web/dist/assets/index-CqCqluH7.css
index 92fc12d0..a20e90e5 100644
--- a/web/dist/assets/index-D-1JTBOJ.css
+++ b/web/dist/assets/index-CqCqluH7.css
@@ -14,4 +14,4 @@
Outdated base version: https://github.com/primer/github-syntax-light
Current colors taken from GitHub's CSS
-*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.prose{color:inherit}.prose h1{margin-bottom:1rem;margin-top:1.5rem;font-size:1.5rem;line-height:2rem;font-weight:700}.prose h2{margin-bottom:.75rem;margin-top:1.25rem;font-size:1.25rem;line-height:1.75rem;font-weight:700}.prose h3{margin-bottom:.5rem;margin-top:1rem;font-size:1.125rem;line-height:1.75rem;font-weight:700}.prose p{margin-bottom:1rem}.prose ul{margin-bottom:1rem;list-style-type:disc;padding-left:1.25rem}.prose ol{margin-bottom:1rem;list-style-type:decimal;padding-left:1.25rem}.prose code{border-radius:.25rem;background-color:rgb(229 231 235 / var(--tw-bg-opacity));--tw-bg-opacity: .1;padding:.125rem .25rem;font-family:JetBrains Mono,Consolas,monospace;font-size:.875rem;line-height:1.25rem}.prose pre{margin-bottom:1rem;overflow-x:auto;border-radius:.5rem;padding:1rem}.prose pre code{background-color:transparent;padding:0}.prose blockquote{margin-top:1rem;margin-bottom:1rem;border-left-width:4px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding-left:1rem;font-style:italic}.prose a{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity));text-decoration-line:underline}.prose a:hover{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.prose::-webkit-scrollbar{width:.5rem}.prose::-webkit-scrollbar-track{background-color:transparent}.prose::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity));-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.prose::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.prose{scroll-behavior:smooth}.math[data-v-38e2254a]{display:inline-block}.mathjax_block[data-v-38e2254a]{display:block}.progress-bar-container{background-color:#f0f0f0;border-radius:4px;height:8px;overflow:hidden}.progress-bar{background-color:#3498db;height:100%;transition:width .3s ease}.custom-scrollbar[data-v-8a34bb65]{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.5) transparent}.custom-scrollbar[data-v-8a34bb65]::-webkit-scrollbar{width:6px}.custom-scrollbar[data-v-8a34bb65]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar[data-v-8a34bb65]::-webkit-scrollbar-thumb{background-color:#9ca3af80;border-radius:3px}.custom-scrollbar[data-v-8a34bb65]::-webkit-scrollbar-thumb:hover{background-color:#9ca3afb3}.toastItem-enter-active[data-v-46f379e5],.toastItem-leave-active[data-v-46f379e5]{transition:all .5s ease}.toastItem-enter-from[data-v-46f379e5],.toastItem-leave-to[data-v-46f379e5]{opacity:0;transform:translate(-30px)}.topbar-container[data-v-a223fde0]{position:fixed;top:0;left:0;right:0;z-index:1000}.topbar[data-v-a223fde0]{background-color:#ffffff1a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);transition:transform .3s ease-in-out;display:flex;justify-content:center}.topbar-hidden[data-v-a223fde0]{transform:translateY(-100%)}.topbar-content[data-v-a223fde0]{display:flex;justify-content:space-between;align-items:center;max-width:1200px;width:100%}.pin-button[data-v-a223fde0]{background-color:transparent;border:none;cursor:pointer;padding:5px;display:flex;align-items:center;justify-content:center}.pin-button svg[data-v-a223fde0]{width:24px;height:24px;transition:transform .3s ease}.pin-button:hover svg[data-v-a223fde0]{transform:scale(1.2)}.placeholder[data-v-a223fde0]{height:10px}.topbar-container[data-v-a223fde0]{position:relative;width:100%}.hover-zone[data-v-a223fde0]{opacity:0}.error[data-v-a223fde0]{color:red;margin-left:1rem}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1000}.hovered{transform:scale(1.05);transition:transform .2s ease-in-out}.active{transform:scale(1.1);transition:transform .2s ease-in-out}.dropdown-shadow[data-v-6c3ea3a5]{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}:root.dark .dropdown-shadow[data-v-6c3ea3a5]{box-shadow:0 4px 6px -1px #ffffff1a,0 2px 4px -1px #ffffff0f}select{width:200px}body{background-color:#fafafa;font-family:sans-serif}.container{margin:4px auto;width:800px}.settings{position:fixed;top:0;right:0;width:500px;background-color:#fff;z-index:1000;overflow-y:auto;height:100%}.slider-container{margin-top:20px}.slider-value{display:inline-block;margin-left:10px;color:#6b7280;font-size:14px}.small-button{padding:.5rem .75rem;font-size:.875rem}.active-tab{font-weight:700}.help-view[data-v-8c1798f3]{min-height:100vh}.big-card[data-v-8c1798f3]{margin-left:auto;margin-right:auto;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:2rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.big-card[data-v-8c1798f3]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.help-sections-container[data-v-8c1798f3]{max-height:70vh;overflow-y:auto;padding-right:1rem}.help-section[data-v-8c1798f3]{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.help-content[data-v-8c1798f3]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.help-content[data-v-8c1798f3]:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.help-sections-container[data-v-8c1798f3]::-webkit-scrollbar{width:12px}.help-sections-container[data-v-8c1798f3]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.help-sections-container[data-v-8c1798f3]::-webkit-scrollbar-thumb{background:#888;border-radius:10px;border:3px solid #f1f1f1}.help-sections-container[data-v-8c1798f3]::-webkit-scrollbar-thumb:hover{background:#555}.help-sections-container[data-v-8c1798f3]{scrollbar-width:thin;scrollbar-color:#888 #f1f1f1}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}.menu-ul{list-style:none;padding:0;margin:0}.menu-li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.fade-enter-active[data-v-f43216be],.fade-leave-active[data-v-f43216be]{transition:opacity .3s}.fade-enter[data-v-f43216be],.fade-leave-to[data-v-f43216be]{opacity:0}.input-field[data-v-51a8fbbd]{width:100%;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem .75rem;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.input-field[data-v-51a8fbbd]:focus{border-color:transparent;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.input-field[data-v-51a8fbbd]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.heartbeat-text[data-v-51a8fbbd]{font-size:24px;animation:pulsate-51a8fbbd 1.5s infinite}@keyframes pulsate-51a8fbbd{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.7}to{transform:scale(1);opacity:1}}.list-move[data-v-51a8fbbd],.list-enter-active[data-v-51a8fbbd],.list-leave-active[data-v-51a8fbbd]{transition:all .5s ease}.list-enter-from[data-v-51a8fbbd]{transform:translatey(-30px)}.list-leave-to[data-v-51a8fbbd]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-51a8fbbd]{position:absolute}.bounce-enter-active[data-v-51a8fbbd]{animation:bounce-in-51a8fbbd .5s}.bounce-leave-active[data-v-51a8fbbd]{animation:bounce-in-51a8fbbd .5s reverse}@keyframes bounce-in-51a8fbbd{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-51a8fbbd]{background-color:#0ff}.hover[data-v-51a8fbbd]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-51a8fbbd]{font-weight:700}.control-buttons[data-v-2b3580ce]{position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;transform:translate(100%);transition:transform .3s}.group:hover .control-buttons[data-v-2b3580ce]{transform:translate(0)}.control-buttons-inner[data-v-2b3580ce]{display:flex;gap:10px;align-items:center;background-color:#fff;padding:8px;border-radius:0 0 0 8px;box-shadow:0 2px 8px #0000001a}.json-tree-view[data-v-40406ec6]{margin-left:16px}.json-item[data-v-40406ec6]{margin-bottom:4px}.json-key[data-v-40406ec6]{cursor:pointer;display:flex;align-items:center}.toggle-icon[data-v-40406ec6]{margin-right:4px;width:12px}.key[data-v-40406ec6]{font-weight:700;margin-right:4px}.value[data-v-40406ec6]{margin-left:4px}.string[data-v-40406ec6]{color:#0b7285}.number[data-v-40406ec6]{color:#d9480f}.boolean[data-v-40406ec6]{color:#5c940d}.null[data-v-40406ec6]{color:#868e96}.json-nested[data-v-40406ec6]{margin-left:16px;border-left:1px dashed #ccc;padding-left:8px}.json-viewer[data-v-83fc9727]{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.5;color:#333}.collapsible-section[data-v-83fc9727]{cursor:pointer;padding:8px;background-color:#f0f0f0;border-radius:4px;display:flex;align-items:center;transition:background-color .2s}.collapsible-section[data-v-83fc9727]:hover{background-color:#e0e0e0}.toggle-icon[data-v-83fc9727]{margin-right:8px;transition:transform .2s}.json-content[data-v-83fc9727]{margin-top:8px;padding-left:16px}.border-t-primary[data-v-2cb174d6]{border-color:#e2e8f0;border-top-color:currentColor}@keyframes spin-2cb174d6{to{transform:rotate(360deg)}}.animate-spin[data-v-2cb174d6]{animation:spin-2cb174d6 .8s linear infinite}.expand-button[data-v-5c83cd0b]{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.htmljs[data-v-5c83cd0b]{background:none}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-fadeIn{animation:fadeIn .5s ease-out forwards}details[open] summary~*{animation:slideDown .3s ease-in-out}details summary::marker{display:none}details summary::-webkit-details-marker{display:none}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.bounce-enter-active[data-v-f44002af]{animation:bounce-in-f44002af .5s}.bounce-leave-active[data-v-f44002af]{animation:bounce-in-f44002af .5s reverse}@keyframes bounce-in-f44002af{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-1a32c141]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-1a32c141]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-1a32c141]{top:calc(-100% - 2rem)}.personalities-hover-area[data-v-c3280f2d]{position:relative;padding-top:10px}.custom-scrollbar[data-v-c3280f2d]{scrollbar-width:thin;scrollbar-color:rgba(155,155,155,.5) transparent}.custom-scrollbar[data-v-c3280f2d]::-webkit-scrollbar{width:6px}.custom-scrollbar[data-v-c3280f2d]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar[data-v-c3280f2d]::-webkit-scrollbar-thumb{background-color:#9b9b9b80;border-radius:20px;border:transparent}.list-move[data-v-c3280f2d],.list-enter-active[data-v-c3280f2d],.list-leave-active[data-v-c3280f2d]{transition:all .5s ease}.list-enter-from[data-v-c3280f2d]{transform:translatey(-30px)}.list-leave-to[data-v-c3280f2d]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-c3280f2d]{position:absolute}@keyframes rolling-ball-d9375d3e{0%{transform:translate(-50px) rotate(0)}25%{transform:translate(0) rotate(90deg)}50%{transform:translate(50px) rotate(180deg)}75%{transform:translate(0) rotate(270deg)}to{transform:translate(-50px) rotate(360deg)}}@keyframes bounce-d9375d3e{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}@keyframes fade-in-up-d9375d3e{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.animate-rolling-ball[data-v-d9375d3e]{animation:rolling-ball-d9375d3e 4s infinite ease-in-out,bounce-d9375d3e 1s infinite ease-in-out}.animate-fade-in-up[data-v-d9375d3e]{animation:fade-in-up-d9375d3e 1.5s ease-out}.floating-button-container[data-v-d9375d3e]{position:fixed;bottom:30px;right:30px;z-index:9999}.floating-button[data-v-d9375d3e]{position:fixed;bottom:30px;right:30px;width:100px;height:100px;border-radius:50%;background-color:#ff4500e6;display:flex;justify-content:center;align-items:center;box-shadow:0 0 30px #ff4500cc;animation:pulse-d9375d3e 1.5s infinite,glow-d9375d3e 2s infinite,wobble-d9375d3e 3s infinite;overflow:hidden;z-index:9999;transition:all .3s ease}.floating-button[data-v-d9375d3e]:hover{transform:scale(1.2) rotate(5deg);background-color:#ff4500}.tooltip[data-v-d9375d3e]{position:absolute;background-color:#000c;color:#fff;padding:8px 12px;border-radius:8px;font-size:16px;font-weight:700;white-space:nowrap;opacity:0;transition:opacity .3s ease,transform .3s ease;pointer-events:none;top:-50px;left:50%;transform:translate(-50%) scale(.9)}.floating-button:hover .tooltip[data-v-d9375d3e]{opacity:1;transform:translate(-50%) scale(1)}@keyframes pulse-d9375d3e{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes glow-d9375d3e{0%{box-shadow:0 0 30px #ff4500cc}50%{box-shadow:0 0 60px #ff4500,0 0 90px #ff450099}to{box-shadow:0 0 30px #ff4500cc}}@keyframes wobble-d9375d3e{0%,to{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}.hidden[data-v-d9375d3e]{display:none}.popup-container[data-v-d504dfc9]{background-color:#fff;color:#333;border-radius:8px;box-shadow:0 4px 6px #0000001a;padding:24px;width:100%;height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.close-button[data-v-d504dfc9]{position:absolute;top:16px;right:16px;background-color:#3490dc;color:#fff;font-weight:700;padding:8px 16px;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.close-button[data-v-d504dfc9]:hover{background-color:#2779bd}.iframe-content[data-v-d504dfc9]{width:100%;height:80%;border:none;margin-bottom:16px}.checkbox-container[data-v-d504dfc9]{display:flex;align-items:center;justify-content:center}.styled-checkbox[data-v-d504dfc9]{width:24px;height:24px;accent-color:#3490dc;cursor:pointer}.checkbox-label[data-v-d504dfc9]{margin-left:8px;font-size:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fade-enter-active[data-v-d504dfc9],.fade-leave-active[data-v-d504dfc9]{transition:opacity .5s}.fade-enter[data-v-d504dfc9],.fade-leave-to[data-v-d504dfc9]{opacity:0}.glow-effect[data-v-85f3dede]{box-shadow:0 0 5px 2px #00ffffb3;animation:glow-85f3dede 1.5s ease-in-out infinite alternate}@keyframes glow-85f3dede{0%{box-shadow:0 0 5px 2px #00ffffb3}to{box-shadow:0 0 20px 2px #00ffffb3}}.changelog-popup-overlay[data-v-f9c6a52e]{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.changelog-popup[data-v-f9c6a52e]{background:#fff;border-radius:8px;width:90%;max-width:600px;max-height:80vh;display:flex;flex-direction:column}.changelog-header[data-v-f9c6a52e]{padding:1rem;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.changelog-content[data-v-f9c6a52e]{padding:1rem;overflow-y:auto;flex-grow:1}.changelog-footer[data-v-f9c6a52e]{padding:1rem;border-top:1px solid #eee;text-align:right}.understood-button[data-v-f9c6a52e]{background:#4caf50;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer}.close-button[data-v-f9c6a52e]{background:none;border:none;font-size:1.5rem;cursor:pointer}.markdown-body[data-v-f9c6a52e]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body h1[data-v-f9c6a52e],.markdown-body h2[data-v-f9c6a52e],.markdown-body h3[data-v-f9c6a52e],.markdown-body h4[data-v-f9c6a52e],.markdown-body h5[data-v-f9c6a52e],.markdown-body h6[data-v-f9c6a52e]{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1[data-v-f9c6a52e]{font-size:2em}.markdown-body h2[data-v-f9c6a52e]{font-size:1.5em}.markdown-body h3[data-v-f9c6a52e]{font-size:1.25em}.markdown-body p[data-v-f9c6a52e]{margin-top:0;margin-bottom:16px}.markdown-body ul[data-v-f9c6a52e],.markdown-body ol[data-v-f9c6a52e]{padding-left:2em;margin-top:0;margin-bottom:16px}.markdown-body code[data-v-f9c6a52e]{padding:.2em .4em;margin:0;font-size:85%;background-color:#1b1f230d;border-radius:3px}.markdown-body pre[data-v-f9c6a52e]{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body blockquote[data-v-f9c6a52e]{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5;margin:0}.personalities-container[data-v-1147ee41]{position:relative}.skills-lib-icon[data-v-1147ee41]{position:absolute;top:-2px;right:-2px;z-index:10;font-size:5px;width:2px;height:2px}.skills-lib-icon i[data-v-1147ee41]{width:2px;height:2px}@keyframes giggle-1147ee41{0%,to{transform:translate(0) rotate(0) scale(1)}25%{transform:translate(-5px) rotate(-10deg) scale(1.05)}50%{transform:translate(5px) rotate(10deg) scale(.95)}75%{transform:translate(-5px) rotate(-10deg) scale(1.05)}}.animate-giggle[data-v-1147ee41]{animation:giggle-1147ee41 1.5s infinite ease-in-out}.custom-scrollbar[data-v-1147ee41]{scrollbar-width:thin;scrollbar-color:rgba(155,155,155,.5) transparent}.custom-scrollbar[data-v-1147ee41]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-1147ee41]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar[data-v-1147ee41]::-webkit-scrollbar-thumb{background-color:#9b9b9b80;border-radius:20px;border:transparent}@keyframes custom-pulse-1147ee41{0%,to{box-shadow:0 0 #3b82f680}50%{box-shadow:0 0 0 15px #3b82f600}}.animate-pulse[data-v-1147ee41]{animation:custom-pulse-1147ee41 2s infinite}.slide-right-enter-active[data-v-1147ee41],.slide-right-leave-active[data-v-1147ee41]{transition:transform .3s ease}.slide-right-enter[data-v-1147ee41],.slide-right-leave-to[data-v-1147ee41]{transform:translate(-100%)}.slide-left-enter-active[data-v-1147ee41],.slide-left-leave-active[data-v-1147ee41]{transition:transform .3s ease}.slide-left-enter[data-v-1147ee41],.slide-left-leave-to[data-v-1147ee41]{transform:translate(100%)}.fade-and-fly-enter-active[data-v-1147ee41]{animation:fade-and-fly-enter-1147ee41 .5s ease}.fade-and-fly-leave-active[data-v-1147ee41]{animation:fade-and-fly-leave-1147ee41 .5s ease}@keyframes fade-and-fly-enter-1147ee41{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-1147ee41{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-1147ee41],.list-enter-active[data-v-1147ee41],.list-leave-active[data-v-1147ee41]{transition:all .5s ease}.list-enter-from[data-v-1147ee41]{transform:translatey(-30px)}.list-leave-to[data-v-1147ee41]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-1147ee41]{position:absolute}@keyframes float-1147ee41{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.animate-float[data-v-1147ee41]{animation:float-1147ee41 linear infinite}@keyframes star-move-1147ee41{0%{transform:translate(0) rotate(0)}50%{transform:translate(20px,20px) rotate(180deg)}to{transform:translate(0) rotate(360deg)}}.animate-star[data-v-1147ee41]{animation:star-move-1147ee41 linear infinite}@keyframes fall-1147ee41{0%{transform:translateY(-20px) rotate(0);opacity:1}to{transform:translateY(calc(100vh + 20px)) rotate(360deg);opacity:0}}.animate-fall[data-v-1147ee41]{animation:fall-1147ee41 linear infinite}@keyframes glow-1147ee41{0%,to{text-shadow:0 0 5px rgba(66,153,225,.5),0 0 10px rgba(66,153,225,.5)}50%{text-shadow:0 0 20px rgba(66,153,225,.8),0 0 30px rgba(66,153,225,.8)}}.animate-glow[data-v-1147ee41]{animation:glow-1147ee41 2s ease-in-out infinite}@media (prefers-color-scheme: dark){@keyframes glow-1147ee41{0%,to{text-shadow:0 0 5px rgba(147,197,253,.5),0 0 10px rgba(147,197,253,.5)}50%{text-shadow:0 0 20px rgba(147,197,253,.8),0 0 30px rgba(147,197,253,.8)}0%,to{text-shadow:0 0 5px rgba(147,197,253,.5),0 0 10px rgba(147,197,253,.5)}50%{text-shadow:0 0 20px rgba(147,197,253,.8),0 0 30px rgba(147,197,253,.8)}}}@keyframes roll-1147ee41{0%{transform:translate(-50%) rotate(0)}to{transform:translate(50%) rotate(360deg)}}.animate-roll[data-v-1147ee41]{animation:roll-1147ee41 4s linear infinite}.toolbar[data-v-1147ee41]{position:relative;width:100%}.toolbar-container[data-v-1147ee41]{display:flex;height:2.5rem;align-items:center}.toolbar-button[data-v-1147ee41]{cursor:pointer;border-style:none;background-color:transparent;padding:.5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.toolbar-button[data-v-1147ee41]:hover{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.menu-container[data-v-1147ee41]{position:relative}.expandable-menu[data-v-1147ee41]{position:absolute;top:100%;left:.625rem;flex-direction:column;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.menu-container:hover .expandable-menu[data-v-1147ee41],.menu-visible[data-v-1147ee41]{display:flex}.menu-item[data-v-1147ee41]{background:none;border:none;cursor:pointer;padding:8px;color:#333;transition:background-color .3s}.menu-item[data-v-1147ee41]:hover{background-color:#f0f0f0}.dot[data-v-1147ee41]{width:10px;height:10px;border-radius:50%}.dot-green[data-v-1147ee41]{background-color:green}.dot-red[data-v-1147ee41]{background-color:red}.animate-pulse[data-v-1147ee41]{animation:pulse-1147ee41 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse-1147ee41{0%,to{opacity:1}50%{opacity:.7}}.logo-container[data-v-1147ee41]{position:relative;width:48px;height:48px}.logo-image[data-v-1147ee41]{width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}@keyframes bounce-1147ee41{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:translateY(0);animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce[data-v-1147ee41]{animation:bounce-1147ee41 1s infinite}@keyframes roll-and-bounce-1147ee41{0%,to{transform:translate(0) rotate(0)}45%{transform:translate(100px) rotate(360deg)}50%{transform:translate(90px) rotate(390deg)}55%{transform:translate(100px) rotate(360deg)}95%{transform:translate(0) rotate(0)}}@keyframes spin-1147ee41{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap}.floating-frame{margin:15px;float:left;height:auto;border:1px solid #000;border-radius:4px;overflow:hidden;z-index:5000;position:fixed;cursor:move;bottom:0;right:0}.handle{width:100%;height:20px;background:#ccc;cursor:move;text-align:center}.floating-frame img{width:100%;height:auto}.controls{margin-top:10px}#webglContainer{top:0;left:0}.floating-frame2{margin:15px;width:800px;height:auto;border:1px solid #000;border-radius:4px;overflow:hidden;min-height:200px;z-index:5000}:root{--baklava-control-color-primary: #e28b46;--baklava-control-color-error: #d00000;--baklava-control-color-background: #2c3748;--baklava-control-color-foreground: white;--baklava-control-color-hover: #455670;--baklava-control-color-active: #556986;--baklava-control-color-disabled-foreground: #666c75;--baklava-control-border-radius: 3px;--baklava-sidebar-color-background: #1b202c;--baklava-sidebar-color-foreground: white;--baklava-node-color-background: #1b202c;--baklava-node-color-foreground: white;--baklava-node-color-hover: #e28c4677;--baklava-node-color-selected: var(--baklava-control-color-primary);--baklava-node-color-resize-handle: var(--baklava-control-color-background);--baklava-node-title-color-background: #151a24;--baklava-node-title-color-foreground: white;--baklava-group-node-title-color-background: #215636;--baklava-group-node-title-color-foreground: white;--baklava-node-interface-port-tooltip-color-foreground: var(--baklava-control-color-primary);--baklava-node-interface-port-tooltip-color-background: var(--baklava-editor-background-pattern-black);--baklava-node-border-radius: 6px;--baklava-color-connection-default: #737f96;--baklava-color-connection-allowed: #48bc79;--baklava-color-connection-forbidden: #bc4848;--baklava-editor-background-pattern-default: #202b3c;--baklava-editor-background-pattern-line: #263140;--baklava-editor-background-pattern-black: #263140;--baklava-context-menu-background: #1b202c;--baklava-context-menu-shadow: 0 0 8px rgba(0, 0, 0, .65);--baklava-toolbar-background: #1b202caa;--baklava-toolbar-foreground: white;--baklava-node-palette-background: #1b202caa;--baklava-node-palette-foreground: white;--baklava-selectionbox-color-border: var(--baklava-node-color-background);--baklava-selectionbox-color-background: var(--baklava-node-color-hover);--baklava-visual-transition: .1s linear}.baklava-button{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);transition:background-color var(--baklava-visual-transition);border:none;padding:.45em .35em;border-radius:var(--baklava-control-border-radius);font-size:inherit;cursor:pointer;overflow-x:hidden}.baklava-button:hover{background-color:var(--baklava-control-color-hover)}.baklava-button:active{background-color:var(--baklava-control-color-primary)}.baklava-button.--block{width:100%}.baklava-checkbox{display:flex;padding:.35em 0;cursor:pointer;overflow-x:hidden;align-items:center}.baklava-checkbox .__checkmark-container{display:flex;background-color:var(--baklava-control-color-background);border-radius:var(--baklava-control-border-radius);transition:background-color var(--baklava-visual-transition);width:18px;height:18px}.baklava-checkbox:hover .__checkmark-container{background-color:var(--baklava-control-color-hover)}.baklava-checkbox:active .__checkmark-container{background-color:var(--baklava-control-color-active)}.baklava-checkbox .__checkmark{stroke-dasharray:15;stroke-dashoffset:15;stroke:var(--baklava-control-color-foreground);stroke-width:2px;fill:none;transition:stroke-dashoffset var(--baklava-visual-transition)}.baklava-checkbox.--checked .__checkmark{stroke-dashoffset:0}.baklava-checkbox.--checked .__checkmark-container{background-color:var(--baklava-control-color-primary)}.baklava-checkbox .__label{margin-left:.5rem}.baklava-context-menu{color:var(--baklava-control-color-foreground);position:absolute;display:inline-block;z-index:100;background-color:var(--baklava-context-menu-background);box-shadow:var(--baklava-context-menu-shadow);border-radius:0 0 var(--baklava-control-border-radius) var(--baklava-control-border-radius);min-width:6rem;width:-moz-max-content;width:max-content}.baklava-context-menu>.item{display:flex;align-items:center;padding:.35em 1em;transition:background .05s linear;position:relative}.baklava-context-menu>.item>.__label{flex:1 1 auto}.baklava-context-menu>.item>.__submenu-icon{margin-left:.75rem}.baklava-context-menu>.item.--disabled{color:var(--baklava-control-color-hover)}.baklava-context-menu>.item:not(.--header):not(.--active):not(.--disabled):hover{background:var(--baklava-control-color-primary)}.baklava-context-menu>.item.--active{background:var(--baklava-control-color-primary)}.baklava-context-menu.--nested{left:100%;top:0}.baklava-context-menu.--flipped-x.--nested{left:unset;right:100%}.baklava-context-menu.--flipped-y.--nested{top:unset;bottom:0}.baklava-context-menu>.divider{margin:.35em 0;height:1px;background-color:var(--baklava-control-color-hover)}.baklava-icon{display:block;height:100%}.baklava-icon.--clickable{cursor:pointer;transition:color var(--baklava-visual-transition)}.baklava-icon.--clickable:hover{color:var(--baklava-control-color-primary)}.baklava-input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);border:none;border-radius:var(--baklava-control-border-radius);padding:.45em .75em;width:100%;transition:background-color var(--baklava-visual-transition);font-size:inherit;font:inherit}.baklava-input:hover{background-color:var(--baklava-control-color-hover)}.baklava-input:active{background-color:var(--baklava-control-color-active)}.baklava-input:focus-visible{outline:1px solid var(--baklava-control-color-primary)}.baklava-input[type=number]::-webkit-inner-spin-button,.baklava-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.baklava-input.--invalid{box-shadow:0 0 2px 2px var(--baklava-control-color-error)}.baklava-num-input{background:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);border-radius:var(--baklava-control-border-radius);width:100%;display:grid;grid-template-columns:20px 1fr 20px}.baklava-num-input>.__button{display:flex;flex:0 0 auto;width:20px;justify-content:center;align-items:center;transition:background var(--baklava-visual-transition);cursor:pointer}.baklava-num-input>.__button:hover{background-color:var(--baklava-control-color-hover)}.baklava-num-input>.__button:active{background-color:var(--baklava-control-color-active)}.baklava-num-input>.__button.--dec{grid-area:1/1/span 1/span 1}.baklava-num-input>.__button.--dec>svg{transform:rotate(90deg)}.baklava-num-input>.__button.--inc{grid-area:1/3/span 1/span 1}.baklava-num-input>.__button.--inc>svg{transform:rotate(-90deg)}.baklava-num-input>.__button path{stroke:var(--baklava-control-color-foreground);fill:var(--baklava-control-color-foreground)}.baklava-num-input>.__content{grid-area:1/2/span 1/span 1;display:inline-flex;cursor:pointer;max-width:100%;min-width:0;align-items:center;transition:background-color var(--baklava-visual-transition)}.baklava-num-input>.__content:hover{background-color:var(--baklava-control-color-hover)}.baklava-num-input>.__content:active{background-color:var(--baklava-control-color-active)}.baklava-num-input>.__content>.__label,.baklava-num-input>.__content>.__value{margin:.35em 0;padding:0 .5em}.baklava-num-input>.__content>.__label{flex:1;min-width:0;overflow:hidden}.baklava-num-input>.__content>.__value{text-align:right}.baklava-num-input>.__content>input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);padding:.35em;width:100%}.baklava-select{width:100%;position:relative;color:var(--baklava-control-color-foreground)}.baklava-select.--open>.__selected{border-bottom-left-radius:0;border-bottom-right-radius:0}.baklava-select.--open>.__selected>.__icon{transform:rotate(180deg)}.baklava-select>.__selected{background-color:var(--baklava-control-color-background);padding:.35em .75em;border-radius:var(--baklava-control-border-radius);transition:background var(--baklava-visual-transition);min-height:1.7em;display:flex;align-items:center;cursor:pointer}.baklava-select>.__selected:hover{background:var(--baklava-control-color-hover)}.baklava-select>.__selected:active{background:var(--baklava-control-color-active)}.baklava-select>.__selected>.__text{flex:1 0 auto;flex-basis:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.baklava-select>.__selected>.__icon{flex:0 0 auto;display:flex;justify-content:center;align-items:center;transition:transform .25s ease;width:18px;height:18px}.baklava-select>.__selected>.__icon path{stroke:var(--baklava-control-color-foreground);fill:var(--baklava-control-color-foreground)}.baklava-select>.__dropdown{position:absolute;top:100%;left:0;right:0;z-index:10;background-color:var(--baklava-context-menu-background);filter:drop-shadow(0 0 4px black);border-radius:0 0 var(--baklava-control-border-radius) var(--baklava-control-border-radius);max-height:15em;overflow-y:scroll}.baklava-select>.__dropdown::-webkit-scrollbar{width:0px;background:transparent}.baklava-select>.__dropdown>.item{padding:.35em .35em .35em 1em;transition:background .05s linear}.baklava-select>.__dropdown>.item:not(.--header):not(.--active){cursor:pointer}.baklava-select>.__dropdown>.item:not(.--header):not(.--active):hover{background:var(--baklava-control-color-hover)}.baklava-select>.__dropdown>.item.--active{background:var(--baklava-control-color-primary)}.baklava-select>.__dropdown>.item.--header{color:var(--baklava-control-color-disabled-foreground);border-bottom:1px solid var(--baklava-control-color-disabled-foreground);padding:.5em .35em .5em 1em}.baklava-slider{background:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);border-radius:var(--baklava-control-border-radius);position:relative;cursor:pointer}.baklava-slider>.__content{display:flex;position:relative}.baklava-slider>.__content>.__label,.baklava-slider>.__content>.__value{flex:1 1 auto;margin:.35em 0;padding:0 .5em;text-overflow:ellipsis}.baklava-slider>.__content>.__value{text-align:right}.baklava-slider>.__content>input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);padding:.35em;width:100%}.baklava-slider>.__slider{position:absolute;top:0;bottom:0;left:0;background-color:var(--baklava-control-color-primary);border-radius:var(--baklava-control-border-radius)}.baklava-connection{stroke:var(--baklava-color-connection-default);stroke-width:2px;fill:none}.baklava-connection.--temporary{stroke-width:4px;stroke-dasharray:5 5;stroke-dashoffset:0;animation:dash 1s linear infinite;transform:translateY(-1px)}@keyframes dash{to{stroke-dashoffset:20}}.baklava-connection.--allowed{stroke:var(--baklava-color-connection-allowed)}.baklava-connection.--forbidden{stroke:var(--baklava-color-connection-forbidden)}.baklava-minimap{position:absolute;height:15%;width:15%;min-width:150px;max-width:90%;top:20px;right:20px;z-index:900}.baklava-editor{width:100%;height:100%;position:relative;overflow:hidden;outline:none!important;font-family:Lato,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:15px;touch-action:none}.baklava-editor .background{background-color:var(--baklava-editor-background-pattern-default);background-image:linear-gradient(var(--baklava-editor-background-pattern-black) 2px,transparent 2px),linear-gradient(90deg,var(--baklava-editor-background-pattern-black) 2px,transparent 2px),linear-gradient(var(--baklava-editor-background-pattern-line) 1px,transparent 1px),linear-gradient(90deg,var(--baklava-editor-background-pattern-line) 1px,transparent 1px);background-repeat:repeat;width:100%;height:100%;pointer-events:none!important}.baklava-editor .selection-box{position:absolute;border:1px solid var(--baklava-selectionbox-color-border);background-color:var(--baklava-selectionbox-color-background);pointer-events:none;opacity:.5}.baklava-editor.--start-selection-box{cursor:crosshair}.baklava-editor *:not(input):not(textarea){user-select:none;-moz-user-select:none;-webkit-user-select:none;touch-action:none}.baklava-editor .input-user-select{user-select:auto;-moz-user-select:auto;-webkit-user-select:auto}.baklava-editor *,.baklava-editor *:after,.baklava-editor *:before{box-sizing:border-box}.baklava-editor.--temporary-connection{cursor:crosshair}.baklava-editor .connections-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none!important}.baklava-editor .node-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.baklava-editor .node-container *{pointer-events:all}.baklava-ignore-mouse *{pointer-events:none!important}.baklava-ignore-mouse .__port{pointer-events:all!important}.baklava-node-interface{padding:.25em 0;position:relative}.baklava-node-interface .__port{position:absolute;width:10px;height:10px;background:#fff;border-radius:50%;top:calc(50% - 5px);cursor:crosshair}.baklava-node-interface .__port.--selected{outline:2px var(--baklava-color-connection-default) solid;outline-offset:4px}.baklava-node-interface.--input{text-align:left;padding-left:.5em}.baklava-node-interface.--input .__port{left:-1.1em}.baklava-node-interface.--output{text-align:right;padding-right:.5em}.baklava-node-interface.--output .__port{right:-1.1em}.baklava-node-interface .__tooltip{position:absolute;left:5px;top:15px;transform:translate(-50%);background:var(--baklava-node-interface-port-tooltip-color-background);color:var(--baklava-node-interface-port-tooltip-color-foreground);padding:.25em .5em;text-align:center;z-index:2}.baklava-node-palette{position:absolute;left:0;top:60px;width:250px;height:calc(100% - 60px);z-index:3;padding:2rem;overflow-y:auto;background:var(--baklava-node-palette-background);color:var(--baklava-node-palette-foreground)}.baklava-node-palette h1{margin-top:2rem}.baklava-node.--palette{position:unset;margin:1rem 0;cursor:grab}.baklava-node.--palette:first-child{margin-top:0}.baklava-node.--palette .__title{padding:.5rem;border-radius:var(--baklava-node-border-radius)}.baklava-dragged-node{position:absolute;width:calc(250px - 4rem);height:40px;z-index:4;pointer-events:none}.baklava-node{background:var(--baklava-node-color-background);color:var(--baklava-node-color-foreground);border:1px solid transparent;border-radius:var(--baklava-node-border-radius);position:absolute;box-shadow:0 0 4px #000c;transition:border-color var(--baklava-visual-transition),box-shadow var(--baklava-visual-transition);width:var(--width)}.baklava-node:hover{border-color:var(--baklava-node-color-hover)}.baklava-node:hover .__resize-handle:after{opacity:1}.baklava-node.--selected{z-index:5;border-color:var(--baklava-node-color-selected)}.baklava-node.--dragging{box-shadow:0 0 12px #000c}.baklava-node.--dragging>.__title{cursor:grabbing}.baklava-node>.__title{display:flex;background:var(--baklava-node-title-color-background);color:var(--baklava-node-title-color-foreground);padding:.4em .75em;border-radius:var(--baklava-node-border-radius) var(--baklava-node-border-radius) 0 0;cursor:grab}.baklava-node>.__title>*:first-child{flex-grow:1}.baklava-node>.__title>.__title-label{pointer-events:none}.baklava-node>.__title>.__menu{position:relative;cursor:initial}.baklava-node[data-node-type^=__baklava_]>.__title{background:var(--baklava-group-node-title-color-background);color:var(--baklava-group-node-title-color-foreground)}.baklava-node>.__content{padding:.75em}.baklava-node>.__content.--reverse-y{display:flex;flex-direction:column-reverse}.baklava-node>.__content>div>div{margin:.5em 0}.baklava-node.--two-column>.__content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;grid-template-areas:". ." ". ."}.baklava-node.--two-column>.__content>.__inputs{grid-row:1;grid-column:1}.baklava-node.--two-column>.__content>.__outputs{grid-row:1;grid-column:2}.baklava-node .__resize-handle{position:absolute;right:0;bottom:0;width:1rem;height:1rem;transform:translate(50%);cursor:ew-resize}.baklava-node .__resize-handle:after{content:"";position:absolute;bottom:0;left:-.5rem;width:1rem;height:1rem;opacity:0;border-bottom-right-radius:var(--baklava-node-border-radius);transition:opacity var(--baklava-visual-transition);background:linear-gradient(-45deg,transparent 10%,var(--baklava-node-color-resize-handle) 10%,var(--baklava-node-color-resize-handle) 15%,transparent 15%,transparent 30%,var(--baklava-node-color-resize-handle) 30%,var(--baklava-node-color-resize-handle) 35%,transparent 35%,transparent 50%,var(--baklava-node-color-resize-handle) 50%,var(--baklava-node-color-resize-handle) 55%,transparent 55%)}.baklava-sidebar{position:absolute;height:100%;width:25%;min-width:300px;max-width:90%;top:0;right:0;z-index:1000;background-color:var(--baklava-sidebar-color-background);color:var(--baklava-sidebar-color-foreground);box-shadow:none;overflow-x:hidden;padding:1em;transform:translate(100%);transition:transform .5s;display:flex;flex-direction:column}.baklava-sidebar.--open{transform:translate(0);box-shadow:0 0 15px #000}.baklava-sidebar .__resizer{position:absolute;left:0;top:0;height:100%;width:4px;cursor:col-resize}.baklava-sidebar .__header{display:flex;align-items:center}.baklava-sidebar .__header .__node-name{margin-left:.5rem}.baklava-sidebar .__close{font-size:2em;border:none;background:none;color:inherit;cursor:pointer}.baklava-sidebar .__interface{margin:.5em 0}.baklava-toolbar{position:absolute;left:0;top:0;width:100%;height:60px;z-index:3;padding:.5rem 2rem;background:var(--baklava-toolbar-background);color:var(--baklava-toolbar-foreground);display:flex;align-items:center}.baklava-toolbar-entry{margin-left:.5rem;margin-right:.5rem}.baklava-toolbar-button{color:var(--baklava-toolbar-foreground);background:none;border:none;transition:color var(--baklava-visual-transition)}.baklava-toolbar-button:not([disabled]){cursor:pointer}.baklava-toolbar-button:hover:not([disabled]){color:var(--baklava-control-color-primary)}.baklava-toolbar-button[disabled]{color:var(--baklava-control-color-disabled-foreground)}.slide-fade-enter-active,.slide-fade-leave-active{transition:all .1s ease-out}.slide-fade-enter-from,.slide-fade-leave-to{transform:translateY(5px);opacity:0}.fade-enter-active,.fade-leave-active{transition:opacity .1s ease-out!important}.fade-enter-from,.fade-leave-to{opacity:0}.loading-indicator[data-v-f8c39e0b]{display:flex;justify-content:center;align-items:center;height:100px;font-size:1.2em;color:#666}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,Outfit,PTSans,Roboto,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:JetBrains Mono,Consolas,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:.55em .55em;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}.dark [type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-color:currentColor;border-color:transparent;background-position:center;background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1f2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;margin-inline-start:-1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4b5563}.dark input[type=file]::file-selector-button:hover{background:#6b7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9ca3af}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6b7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9ca3af}.dark input[type=range]:disabled::-moz-range-thumb{background:#6b7280}input[type=range]::-moz-range-progress{background:#3f83f8}input[type=range]::-ms-fill-lower{background:#3f83f8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:#fff;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1c64f2;border-color:#1c64f2}*{scrollbar-color:initial;scrollbar-width:initial}body{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #e0eaff var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 234 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #f0e6ff var(--tw-gradient-to-position)}body:is(.dark *){background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #0f2647 var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 38 71 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1e1b4b var(--tw-gradient-to-position)}html{scroll-behavior:smooth}body{font-family:Roboto,sans-serif}.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.-inset-1{top:-.25rem;right:-.25rem;bottom:-.25rem;left:-.25rem}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-bottom-0\.5{bottom:-.125rem}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-12{bottom:-3rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1\.5{left:-.375rem}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-top-1\.5{top:-.375rem}.-top-2{top:-.5rem}.bottom-0{bottom:0}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-20{bottom:5rem}.bottom-4{bottom:1rem}.bottom-5{bottom:1.25rem}.bottom-6{bottom:1.5rem}.bottom-\[60px\]{bottom:60px}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-2\.5{left:.625rem}.left-20{left:5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-20{right:5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-20{top:5rem}.top-3{top:.75rem}.top-full{top:100%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.float-right{float:right}.float-left{float:left}.float-none{float:none}.clear-left{clear:left}.clear-right{clear:right}.clear-both{clear:both}.clear-none{clear:none}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-4{margin:1rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.\!block{display:block!important}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\/6{height:83.333333%}.h-56{height:14rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[200px\]{height:200px}.h-\[300px\]{height:300px}.h-\[400px\]{height:400px}.h-auto{height:auto}.h-full{height:100%}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-0{max-height:0px}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-80{max-height:20rem}.max-h-96{max-height:24rem}.max-h-\[400px\]{max-height:400px}.max-h-\[500px\]{max-height:500px}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[90vh\]{max-height:90vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-\[200px\]{min-height:200px}.min-h-\[220px\]{min-height:220px}.min-h-\[500px\]{min-height:500px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[15rem\]{width:15rem}.w-\[16rem\]{width:16rem}.w-\[300px\]{width:300px}.w-\[500px\]{width:500px}.w-\[this-is\\\\\]{width:this-is\\}.w-\[this-is\]{width:this-is}.w-\[weird-and-invalid\]{width:weird-and-invalid}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-96{min-width:24rem}.min-w-\[200px\]{min-width:200px}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.min-w-full{min-width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[300px\]{max-width:300px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.origin-left{transform-origin:left}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-x-0{--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\!transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.transform,.transform-cpu{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-auto{touch-action:auto}.touch-none{touch-action:none}.touch-pan-x{--tw-pan-x: pan-x;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-left{--tw-pan-x: pan-left;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-right{--tw-pan-x: pan-right;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-y{--tw-pan-y: pan-y;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-up{--tw-pan-y: pan-up;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-down{--tw-pan-y: pan-down;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pinch-zoom{--tw-pinch-zoom: pinch-zoom;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-manipulation{touch-action:manipulation}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.select-auto{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.resize-none{resize:none}.resize-y{resize:vertical}.resize-x{resize:horizontal}.resize{resize:both}.snap-none{scroll-snap-type:none}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-y{scroll-snap-type:y var(--tw-scroll-snap-strictness)}.snap-both{scroll-snap-type:both var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-proximity{--tw-scroll-snap-strictness: proximity}.snap-start{scroll-snap-align:start}.snap-end{scroll-snap-align:end}.snap-center{scroll-snap-align:center}.snap-align-none{scroll-snap-align:none}.snap-normal{scroll-snap-stop:normal}.snap-always{scroll-snap-stop:always}.list-inside{list-style-position:inside}.list-outside{list-style-position:outside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.break-before-auto{-moz-column-break-before:auto;break-before:auto}.break-before-avoid{-moz-column-break-before:avoid;break-before:avoid}.break-before-all{-moz-column-break-before:all;break-before:all}.break-before-avoid-page{-moz-column-break-before:avoid;break-before:avoid-page}.break-before-page{-moz-column-break-before:page;break-before:page}.break-before-left{-moz-column-break-before:left;break-before:left}.break-before-right{-moz-column-break-before:right;break-before:right}.break-before-column{-moz-column-break-before:column;break-before:column}.break-inside-auto{-moz-column-break-inside:auto;break-inside:auto}.break-inside-avoid{-moz-column-break-inside:avoid;break-inside:avoid}.break-inside-avoid-page{break-inside:avoid-page}.break-inside-avoid-column{-moz-column-break-inside:avoid;break-inside:avoid-column}.break-after-auto{-moz-column-break-after:auto;break-after:auto}.break-after-avoid{-moz-column-break-after:avoid;break-after:avoid}.break-after-all{-moz-column-break-after:all;break-after:all}.break-after-avoid-page{-moz-column-break-after:avoid;break-after:avoid-page}.break-after-page{-moz-column-break-after:page;break-after:page}.break-after-left{-moz-column-break-after:left;break-after:left}.break-after-right{-moz-column-break-after:right;break-after:right}.break-after-column{-moz-column-break-after:column;break-after:column}.grid-flow-row{grid-auto-flow:row}.grid-flow-col{grid-auto-flow:column}.grid-flow-dense{grid-auto-flow:dense}.grid-flow-row-dense{grid-auto-flow:row dense}.grid-flow-col-dense{grid-auto-flow:column dense}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-\[200px\,1fr\]{grid-template-columns:200px 1fr}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-wrap-reverse{flex-wrap:wrap-reverse}.flex-nowrap{flex-wrap:nowrap}.place-content-center{place-content:center}.place-content-start{place-content:start}.place-content-end{place-content:end}.place-content-between{place-content:space-between}.place-content-around{place-content:space-around}.place-content-evenly{place-content:space-evenly}.place-content-baseline{place-content:baseline}.place-content-stretch{place-content:stretch}.place-items-start{place-items:start}.place-items-end{place-items:end}.place-items-center{place-items:center}.place-items-baseline{place-items:baseline}.place-items-stretch{place-items:stretch}.content-center{align-content:center}.content-start{align-content:flex-start}.content-end{align-content:flex-end}.content-between{align-content:space-between}.content-around{align-content:space-around}.content-evenly{align-content:space-evenly}.content-baseline{align-content:baseline}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-evenly{justify-content:space-evenly}.justify-items-start{justify-items:start}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.justify-items-stretch{justify-items:stretch}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.space-y-reverse>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 1}.space-x-reverse>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 1}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-y-reverse>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 1}.divide-x-reverse>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 1}.divide-solid>:not([hidden])~:not([hidden]){border-style:solid}.divide-dashed>:not([hidden])~:not([hidden]){border-style:dashed}.divide-dotted>:not([hidden])~:not([hidden]){border-style:dotted}.divide-double>:not([hidden])~:not([hidden]){border-style:double}.divide-none>:not([hidden])~:not([hidden]){border-style:none}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.place-self-auto{place-self:auto}.place-self-start{place-self:start}.place-self-end{place-self:end}.place-self-center{place-self:center}.place-self-stretch{place-self:stretch}.self-auto{align-self:auto}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.self-baseline{align-self:baseline}.justify-self-auto{justify-self:auto}.justify-self-start{justify-self:start}.justify-self-end{justify-self:end}.justify-self-center{justify-self:center}.justify-self-stretch{justify-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-clip{overflow-x:clip}.overflow-y-clip{overflow-y:clip}.overflow-x-visible{overflow-x:visible}.overflow-y-visible{overflow-y:visible}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.overscroll-auto{overscroll-behavior:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-none{overscroll-behavior:none}.overscroll-y-auto{overscroll-behavior-y:auto}.overscroll-y-contain{overscroll-behavior-y:contain}.overscroll-y-none{overscroll-behavior-y:none}.overscroll-x-auto{overscroll-behavior-x:auto}.overscroll-x-contain{overscroll-behavior-x:contain}.overscroll-x-none{overscroll-behavior-x:none}.scroll-auto{scroll-behavior:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.text-clip{text-overflow:clip}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-normal{overflow-wrap:normal;word-break:normal}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x{border-left-width:1px;border-right-width:1px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-l-4{border-left-width:4px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-2{border-top-width:2px}.border-t-4{border-top-width:4px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-dotted{border-style:dotted}.border-double{border-style:double}.border-hidden{border-style:hidden}.border-none{border-style:none}.border-bg-dark{border-color:var(--color-bg-dark)}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(195 221 253 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{border-color:var(--color-primary)}.border-primary-light{border-color:var(--color-primary-light)}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(251 213 213 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{border-color:var(--color-secondary)}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.border-b-gray-900{--tw-border-opacity: 1;border-bottom-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-t-primary{border-top-color:var(--color-primary)}.bg-\[rgb\(255\,0\,0\)\]{--tw-bg-opacity: 1;background-color:rgb(255 0 0 / var(--tw-bg-opacity))}.bg-accent{background-color:var(--color-accent)}.bg-bg-dark-tone-panel{background-color:var(--color-bg-dark-tone-panel)}.bg-bg-light{background-color:var(--color-bg-light)}.bg-bg-light-tone{background-color:var(--color-bg-light-tone)}.bg-bg-light-tone-panel{background-color:var(--color-bg-light-tone-panel)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-50\/50{background-color:#f9fafb80}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(243 250 247 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{background-color:var(--color-primary)}.bg-primary-light{background-color:var(--color-primary-light)}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(253 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-secondary{background-color:var(--color-secondary)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-5{--tw-bg-opacity: .05}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: var(--color-bg-light) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500\/10{--tw-gradient-from: rgb(63 131 248 / .1) var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-600{--tw-gradient-from: #5850EC var(--tw-gradient-from-position);--tw-gradient-to: rgb(88 80 236 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--color-bg-light) var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position)}.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position)}.to-green-500{--tw-gradient-to: #0E9F6E var(--tw-gradient-to-position)}.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position)}.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position)}.to-purple-500\/10{--tw-gradient-to: rgb(144 97 249 / .1) var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #7E3AF2 var(--tw-gradient-to-position)}.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position)}.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.to-100\%{--tw-gradient-to-position: 100%}.decoration-slice{-webkit-box-decoration-break:slice;box-decoration-break:slice}.decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.box-decoration-slice{-webkit-box-decoration-break:slice;box-decoration-break:slice}.box-decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.bg-fixed{background-attachment:fixed}.bg-local{background-attachment:local}.bg-scroll{background-attachment:scroll}.bg-clip-border{background-clip:border-box}.bg-clip-padding{background-clip:padding-box}.bg-clip-content{background-clip:content-box}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.bg-repeat{background-repeat:repeat}.bg-no-repeat{background-repeat:no-repeat}.bg-repeat-x{background-repeat:repeat-x}.bg-repeat-y{background-repeat:repeat-y}.bg-repeat-round{background-repeat:round}.bg-repeat-space{background-repeat:space}.bg-origin-border{background-origin:border-box}.bg-origin-padding{background-origin:padding-box}.bg-origin-content{background-origin:content-box}.fill-blue-600{fill:#1c64f2}.fill-current{fill:currentColor}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:var(--color-secondary)}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.object-none{-o-object-fit:none;object-fit:none}.object-scale-down{-o-object-fit:scale-down;object-fit:scale-down}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-80{padding-bottom:20rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pl-6{padding-left:1.5rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-12{padding-top:3rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.text-start{text-align:start}.text-end{text-align:end}.align-baseline{vertical-align:baseline}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.align-text-top{vertical-align:text-top}.align-text-bottom{vertical-align:text-bottom}.align-sub{vertical-align:sub}.align-super{vertical-align:super}.font-mono{font-family:JetBrains Mono,Consolas,monospace}.font-sans{font-family:Inter,Outfit,PTSans,Roboto,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.not-italic{font-style:normal}.normal-nums{font-variant-numeric:normal}.ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.slashed-zero{--tw-slashed-zero: slashed-zero;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.lining-nums{--tw-numeric-figure: lining-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.oldstyle-nums{--tw-numeric-figure: oldstyle-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.proportional-nums{--tw-numeric-spacing: proportional-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.diagonal-fractions{--tw-numeric-fraction: diagonal-fractions;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.stacked-fractions{--tw-numeric-fraction: stacked-fractions;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.text-\[\#336699\]\/\[\.35\]{color:#33669959}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-light-text-panel{color:var(--color-light-text-panel)}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity: 1;color:rgb(208 56 1 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(253 232 232 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{color:var(--color-secondary)}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(6 148 162 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.decoration-solid{text-decoration-style:solid}.decoration-double{text-decoration-style:double}.decoration-dotted{text-decoration-style:dotted}.decoration-dashed{text-decoration-style:dashed}.decoration-wavy{text-decoration-style:wavy}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.accent-blue-500{accent-color:#3F83F8}.accent-blue-600{accent-color:#1C64F2}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.bg-blend-normal{background-blend-mode:normal}.bg-blend-multiply{background-blend-mode:multiply}.bg-blend-screen{background-blend-mode:screen}.bg-blend-overlay{background-blend-mode:overlay}.bg-blend-darken{background-blend-mode:darken}.bg-blend-lighten{background-blend-mode:lighten}.bg-blend-color-dodge{background-blend-mode:color-dodge}.bg-blend-color-burn{background-blend-mode:color-burn}.bg-blend-hard-light{background-blend-mode:hard-light}.bg-blend-soft-light{background-blend-mode:soft-light}.bg-blend-difference{background-blend-mode:difference}.bg-blend-exclusion{background-blend-mode:exclusion}.bg-blend-hue{background-blend-mode:hue}.bg-blend-saturation{background-blend-mode:saturation}.bg-blend-color{background-blend-mode:color}.bg-blend-luminosity{background-blend-mode:luminosity}.mix-blend-normal{mix-blend-mode:normal}.mix-blend-multiply{mix-blend-mode:multiply}.mix-blend-screen{mix-blend-mode:screen}.mix-blend-overlay{mix-blend-mode:overlay}.mix-blend-darken{mix-blend-mode:darken}.mix-blend-lighten{mix-blend-mode:lighten}.mix-blend-color-dodge{mix-blend-mode:color-dodge}.mix-blend-color-burn{mix-blend-mode:color-burn}.mix-blend-hard-light{mix-blend-mode:hard-light}.mix-blend-soft-light{mix-blend-mode:soft-light}.mix-blend-difference{mix-blend-mode:difference}.mix-blend-exclusion{mix-blend-mode:exclusion}.mix-blend-hue{mix-blend-mode:hue}.mix-blend-saturation{mix-blend-mode:saturation}.mix-blend-color{mix-blend-mode:color}.mix-blend-luminosity{mix-blend-mode:luminosity}.mix-blend-plus-lighter{mix-blend-mode:plus-lighter}.\!shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-dashed{outline-style:dashed}.outline-dotted{outline-style:dotted}.outline-double{outline-style:double}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter-none{filter:none}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-grayscale{--tw-backdrop-grayscale: grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-invert{--tw-backdrop-invert: invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-sepia{--tw-backdrop-sepia: sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter-none{-webkit-backdrop-filter:none;backdrop-filter:none}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{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-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.content-\[\'this-is-also-valid\]-weirdly-enough\'\]{--tw-content: "this-is-also-valid]-weirdly-enough";content:var(--tw-content)}.scrollbar{scrollbar-width:auto;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: var(--color-bg-light) !important}.scrollbar-track-bg-light-tone{--scrollbar-track: var(--color-bg-light-tone) !important}.scrollbar-track-blue-100{--scrollbar-track: #E1EFFE !important}.scrollbar-track-gray-200{--scrollbar-track: #E5E7EB !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: var(--color-bg-light-tone) !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: var(--color-bg-light-tone-panel) !important}.scrollbar-thumb-blue-500{--scrollbar-thumb: #3F83F8 !important}.scrollbar-thumb-gray-400{--scrollbar-thumb: #9CA3AF !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}h1{margin-bottom:1.5rem;font-size:2.25rem;line-height:2.5rem;font-weight:700;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}h1:is(.dark *){--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}@media (min-width: 768px){h1{font-size:3rem;line-height:1}}h2{margin-bottom:1rem;font-size:1.875rem;line-height:2.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}h2:is(.dark *){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}h3{margin-bottom:.75rem;font-size:1.5rem;line-height:2rem;font-weight:500;--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}h3:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}h4{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}h4:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}h1,h2{border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity));padding-bottom:.5rem}h1:is(.dark *),h2:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}p{overflow-wrap:break-word;font-family:Inter,Outfit,PTSans,Roboto,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-size:1rem;line-height:1.5rem;line-height:1.625;letter-spacing:-.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}p:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}@media (min-width: 768px){p{font-size:1.125rem;line-height:1.75rem;line-height:2}}table{border-collapse:collapse;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}table:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}th,td{border-width:1px;--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));padding:.5rem}th:is(.dark *),td:is(.dark *){--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}tr:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}tr:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}ul,ol{margin-top:1rem;margin-bottom:1rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:1.75rem}ul{margin-left:.5rem;list-style-type:disc}ul>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}li{position:relative;padding-left:.5rem}ol{margin-left:.5rem;list-style-type:decimal}ol>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}ul ul,ol ol,ul ol,ol ul{margin-top:.5rem;margin-bottom:0;margin-left:1.5rem}li::marker{color:#4b5563}:root{--color-primary: #4a90e2;--color-primary-light: #6ab7f1;--color-secondary: #8ab8e0;--color-accent: #3a7ca1;--color-light-text-panel: #ffffff;--color-dark-text-panel: #e0e0e0;--color-bg-light-panel: #f0faff;--color-bg-light: #ffffff;--color-bg-light-tone: #e0f0ff;--color-bg-light-code-block: #f5faff;--color-bg-light-tone-panel: #d0e0f0;--color-bg-light-discussion: #f8faff;--color-bg-light-discussion-odd: #f0faff;--color-bg-dark: #0a0a1a;--color-bg-dark-tone: #151521;--color-bg-dark-tone-panel: #1c1c2a;--color-bg-dark-code-block: #151521;--color-bg-dark-discussion: #0e0e1a;--color-bg-dark-discussion-odd: #0d0d1a}textarea,input,select{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}textarea:is(.dark *),input:is(.dark *),select:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.background-color{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #CABFFD var(--tw-gradient-to-position)}.background-color:is(.dark *){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}.toolbar-color{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.toolbar-color:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.panels-color{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.panels-color:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.unicolor-panels-color{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.unicolor-panels-color:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.message{position:relative;margin:.5rem;display:flex;width:100%;flex-grow:1;flex-direction:column;flex-wrap:wrap;overflow:visible;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity));padding:1.25rem 1.25rem .75rem;font-size:1.125rem;line-height:1.75rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.message:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.message{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(35 56 118 / var(--tw-text-opacity))}.message:is(.dark *){background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #233876 var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1E429F var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.message:hover{--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.message:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.message:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.message:nth-child(2n):is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.message:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.message:nth-child(odd):is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.message-header{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.message-content{font-size:1.125rem;line-height:1.75rem;line-height:1.625}body{min-height:100vh;--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));font-size:1rem;line-height:1.5rem}body:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.discussion{margin-right:.5rem;font-size:.75rem;line-height:1rem}.discussion:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.discussion-hilighted{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));font-size:.75rem;line-height:1rem}.discussion-hilighted:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.bg-gradient-welcome{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #CABFFD var(--tw-gradient-to-position)}.bg-gradient-welcome:is(.dark *){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}.bg-gradient-progress{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #A4CAFE var(--tw-gradient-to-position)}.bg-gradient-progress:is(.dark *){--tw-gradient-from: #1A56DB var(--tw-gradient-from-position);--tw-gradient-to: rgb(26 86 219 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.text-gradient-title{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1A56DB var(--tw-gradient-from-position);--tw-gradient-to: rgb(26 86 219 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);-webkit-background-clip:text;background-clip:text;color:transparent}.text-gradient-title:is(.dark *){--tw-gradient-from: #A4CAFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(164 202 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.text-subtitle{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-subtitle:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.text-author{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-author:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.text-loading{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-loading:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.text-progress{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-progress:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.btn-primary{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.card{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.card:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.input{border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));padding:.5rem 1rem}.input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.input:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.input:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.label{margin-bottom:.25rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.label:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.link{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.link:hover{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.link:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.link:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.navbar-container{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.navbar-container:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.game-menu{position:relative;display:flex;align-items:center;justify-content:center}.text-shadow-custom{text-shadow:1px 1px 0px #e0e0e0,-1px -1px 0px #e0e0e0,1px -1px 0px #e0e0e0,-1px 1px 0px #e0e0e0}.animated-progressbar-bg{position:relative;height:2.5rem;width:100%;overflow:hidden;border-radius:.125rem;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #172554 var(--tw-gradient-from-position);--tw-gradient-to: rgb(23 37 84 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position);--tw-shadow: 0 0 15px rgba(245,158,11,.2);--tw-shadow-colored: 0 0 15px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.animated-progressbar-bg:is(.dark *){--tw-gradient-from: #000000 var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #172554 var(--tw-gradient-to-position)}.animated-progressbar-fg{position:absolute;top:0;left:0;height:100%;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #76A9FA var(--tw-gradient-to-position);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.animated-progressbar-fg:is(.dark *){--tw-gradient-from: #76A9FA var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.menu-item{margin-bottom:.5rem;padding:.5rem 1rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity));transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu-item:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.menu-item:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.menu-item:is(.dark *):hover{--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.menu-item.active-link{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-top-left-radius:.375rem;border-top-right-radius:.375rem;--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity));font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity));transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);text-shadow:1px 1px 0px #e0e0e0,-1px -1px 0px #e0e0e0,1px -1px 0px #e0e0e0,-1px 1px 0px #e0e0e0}.menu-item.active-link:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.menu-item.active-link:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-text-opacity: 1;color:rgb(35 56 118 / var(--tw-text-opacity))}.menu-item.active-link:is(.dark *):hover{--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.menu-item.active-link{text-shadow:0 0 10px rgba(128,128,128,.5)}.menu-item.active-link:before{content:"";position:absolute;bottom:-5px;left:0;width:100%;height:5px;background:linear-gradient(to right,#4a90e2,#8ab8e0,#4a90e2);border-radius:10px;animation:shimmer 2s infinite}.dark .menu-item.active-link:before{background:linear-gradient(to right,#6ab7f1,#aaa,#6ab7f1)}@keyframes shimmer{0%{background-position:-100% 0}to{background-position:100% 0}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.feather-emoji{display:inline-block;margin-left:5px;animation:bounce 2s infinite}.app-card{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.app-card:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.app-card:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.app-card:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}button{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}button:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:#76A9FA #C3DDFD}.dark .scrollbar-thin{scrollbar-color:#1C64F2 #1E429F}.scrollbar-thin::-webkit-scrollbar{width:.5rem}.scrollbar-thin::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.scrollbar-thin:is(.dark *)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.scrollbar-thin::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.scrollbar-thin:is(.dark *)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.scrollbar-thin::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.scrollbar-thin:is(.dark *)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.btn{display:flex;align-items:center;border-radius:.5rem;padding:.5rem 1rem;font-weight:600;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.btn-primary{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-primary:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.btn-primary:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.btn-primary:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.btn-secondary{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.btn-secondary:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}.btn-secondary:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.btn-secondary:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.btn-secondary:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.search-input{width:100%;border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity));background-color:transparent;padding:.5rem 1rem .5rem 2.5rem;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.search-input:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity));outline:2px solid transparent;outline-offset:2px}.search-input:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.search-input:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar{--scrollbar-track: #C3DDFD;--scrollbar-thumb: #76A9FA;scrollbar-width:thin;scrollbar-color:#76A9FA #C3DDFD}.dark .scrollbar{scrollbar-color:#1C64F2 #1E429F}.scrollbar::-webkit-scrollbar{width:.5rem}.scrollbar::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.scrollbar:is(.dark *)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.scrollbar:is(.dark *)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.scrollbar::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.scrollbar:is(.dark *)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.scrollbar{--scrollbar-thumb-hover: #3F83F8}.scrollbar:is(.dark *){--scrollbar-track: #1A56DB;--scrollbar-thumb: #1C64F2;--scrollbar-thumb-hover: #3F83F8}.card-title{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.card-title:is(.dark *){--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.card-content{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.card-content:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.card-footer{margin-top:1rem;display:flex;align-items:center;justify-content:space-between}.card-footer-button{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.card-footer-button:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.subcard{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity));padding:1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.subcard:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.subcard-title{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.subcard-title:is(.dark *){--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.subcard-content{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.subcard-content:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.subcard-footer{margin-top:1rem;display:flex;align-items:center;justify-content:space-between}.subcard-footer-button{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.subcard-footer-button:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.discussion-toolbox{display:flex;--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));align-items:center;gap:.5rem;border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.group:hover .discussion-toolbox{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.discussion-toolbox:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.lollms-title-style{text-shadow:2px 2px 4px rgba(0,0,0,.2),2px 2px 0px white,-2px -2px 0px white,2px -2px 0px white,-2px 2px 0px white;background:linear-gradient(45deg,#f59e0b,#fbbf24);-webkit-background-clip:text;background-clip:text}.chat-bar{position:relative;display:flex;flex-grow:1;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:.5rem;--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));padding:.25rem;--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.chat-bar:hover{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.chat-bar:is(.dark *){--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}.chat-bar{height:50px;transition:all .3s ease}.chat-bar:hover{box-shadow:0 4px 6px -1px #00ff001a,0 2px 4px -1px #00ff000f}.svg-button{border-radius:9999px;padding:.5rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.svg-button:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity));--tw-ring-offset-width: 2px}.svg-button:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.svg-button:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.svg-button:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.svg-button:active{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.svg-button:active:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.nav-button{border-radius:.375rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nav-button:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.nav-button:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.nav-button:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.nav-button-active{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.nav-button-active:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.nav-button-active:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.nav-button-active:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.btn-on{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.btn-on:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.btn-off{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.btn-off:is(.dark *){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.interesting-facts{margin-top:1.5rem;margin-bottom:1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:.5rem;background-color:#fffc;padding:1rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.interesting-facts:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.interesting-facts:is(.dark *){background-color:#1f2937cc}.toolbar-button{cursor:pointer;border-style:none;background-color:transparent;padding:.5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.toolbar-button:hover{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.context-menu{position:absolute;background-color:#fff;border:1px solid #e0e0e0;box-shadow:0 2px 10px #0000001a;border-radius:4px;padding:8px 0;min-width:150px;z-index:1000}.context-menu-item{padding:8px 16px;font-size:14px;color:#333;cursor:pointer;transition:background-color .2s ease}.context-menu-item:hover{background-color:#f5f5f5}.context-menu-separator{height:1px;background-color:#e0e0e0;margin:4px 0}.context-menu-item-disabled{color:#999;cursor:not-allowed}.context-menu-item-icon{margin-right:8px}.steps-container{margin-bottom:1rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.steps-header{display:flex;cursor:pointer;align-items:center;--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));padding:1rem}.steps-header:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.steps-title{margin:0;font-size:1rem;line-height:1.5rem;font-weight:600}.step-item{margin-bottom:.5rem;border-left-width:2px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding-left:1rem}.steps-container{margin-bottom:1rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.steps-container:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.steps-header{display:flex;cursor:pointer;align-items:center;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding:1rem}.steps-header:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.steps-icon{margin-right:1rem}.steps-summary{flex-grow:1}.steps-title{margin:0;font-size:1rem;line-height:1.5rem;font-weight:600;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.steps-title:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.steps-status{margin:0;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.steps-status:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.toggle-icon{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.toggle-icon:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.steps-content{padding:1rem}.steps-list{margin:0;list-style-type:none;padding:0}.step-item{margin-bottom:.5rem;border-left-width:2px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding-left:1rem}.step-item:last-child{margin-bottom:0}.step-item:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.step-container{margin-bottom:1rem;transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.step-wrapper{display:flex;align-items:flex-start;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.75rem}.step-wrapper:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.step-icon{margin-right:.75rem;height:1.5rem;width:1.5rem;flex-shrink:0}.icon-success{height:1.5rem;width:1.5rem;--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.icon-fail{height:1.5rem;width:1.5rem;--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.icon-spinner{height:1.5rem;width:1.5rem}@keyframes spin{to{transform:rotate(360deg)}}.icon-spinner{animation:spin 1s linear infinite;border-radius:9999px;border-width:2px;--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity));border-top-color:transparent}.icon-spinner:is(.dark *){--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.step-content{flex-grow:1}.step-text{font-size:1rem;line-height:1.5rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.step-text:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.step-description{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.step-description:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.fade-enter-active,.fade-leave-active{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.fade-enter,.fade-leave-to{opacity:0}.status-icon{cursor:pointer;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.icon{height:1.5rem;width:1.5rem}.icon-success{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.icon-success:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.icon-fail{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.icon-fail:is(.dark *){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.icon-text{font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.icon-text:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}.sm\:container{max-width:640px}@media (min-width: 768px){.sm\:container{max-width:768px}}@media (min-width: 1024px){.sm\:container{max-width:1024px}}@media (min-width: 1280px){.sm\:container{max-width:1280px}}@media (min-width: 1536px){.sm\:container{max-width:1536px}}}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:left-\[2px\]:after{content:var(--tw-content);left:2px}.after\:top-\[2px\]:after{content:var(--tw-content);top:2px}.after\:h-5:after{content:var(--tw-content);height:1.25rem}.after\:w-5:after{content:var(--tw-content);width:1.25rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.after\:bg-white:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.last\:mb-0:last-child{margin-bottom:0}.even\:bg-bg-light-discussion-odd:nth-child(2n){background-color:var(--color-bg-light-discussion-odd)}.checked\:translate-x-6:checked{--tw-translate-x: 1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.checked\:bg-blue-500:checked{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:block{display:block}.group\/item:hover .group-hover\/item\:scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group\/item:hover .group-hover\/item\:scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:border-secondary{border-color:var(--color-secondary)}.group:hover .group-hover\:bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group\/item:hover .group-hover\/item\:opacity-100,.group:hover .group-hover\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-primary{color:var(--color-primary)}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.peer:focus~.peer-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.peer:focus~.peer-focus\:ring-blue-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:h-8:hover{height:2rem}.hover\:-translate-y-1:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-x-100:hover{--tw-scale-x: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-blue-300:hover{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.hover\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-green-200:hover{--tw-border-opacity: 1;border-color:rgb(188 240 218 / var(--tw-border-opacity))}.hover\:border-primary:hover{border-color:var(--color-primary)}.hover\:border-primary-light:hover{border-color:var(--color-primary-light)}.hover\:border-secondary:hover{border-color:var(--color-secondary)}.hover\:bg-bg-light-tone:hover{background-color:var(--color-bg-light-tone)}.hover\:bg-bg-light-tone-panel:hover{background-color:var(--color-bg-light-tone-panel)}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-400:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{background-color:var(--color-primary)}.hover\:bg-primary-light:hover{background-color:var(--color-primary-light)}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(253 242 242 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-300:hover{--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-r:hover{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.hover\:from-blue-50:hover{--tw-gradient-from: #EBF5FF var(--tw-gradient-from-position);--tw-gradient-to: rgb(235 245 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-blue-500\/20:hover{--tw-gradient-from: rgb(63 131 248 / .2) var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-green-500:hover{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-green-600:hover{--tw-gradient-to: #057A55 var(--tw-gradient-to-position)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.hover\:to-purple-50:hover{--tw-gradient-to: #F6F5FF var(--tw-gradient-to-position)}.hover\:to-purple-500\/20:hover{--tw-gradient-to: rgb(144 97 249 / .2) var(--tw-gradient-to-position)}.hover\:font-bold:hover{font-weight:700}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-green-300:hover{--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}.hover\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.hover\:text-green-600:hover{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.hover\:text-indigo-600:hover{--tw-text-opacity: 1;color:rgb(88 80 236 / var(--tw-text-opacity))}.hover\:text-primary:hover{color:var(--color-primary)}.hover\:text-purple-600:hover{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.hover\:text-red-300:hover{--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.hover\:text-secondary:hover{color:var(--color-secondary)}.hover\:text-teal-600:hover{--tw-text-opacity: 1;color:rgb(4 116 129 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:text-yellow-600:hover{--tw-text-opacity: 1;color:rgb(159 88 10 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-none:hover{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: var(--color-primary) !important}.before\:hover\:text-center:hover:before{content:var(--tw-content);text-align:center}.hover\:before\:text-center:hover:before{content:var(--tw-content);text-align:center}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{border-color:var(--color-secondary)}.focus\:border-transparent:focus{border-color:transparent}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-500\/50:focus{--tw-ring-color: rgb(63 131 248 / .5)}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-gray-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-green-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-color: var(--color-secondary)}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:hover\:text-center:hover:focus{text-align:center}.hover\:focus\:text-center:focus:hover{text-align:center}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: var(--color-secondary) !important}.dark\:divide-gray-700:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}.dark\:border-bg-light:is(.dark *){border-color:var(--color-bg-light)}.dark\:border-blue-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.dark\:border-blue-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.dark\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\:border-gray-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.dark\:border-green-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.dark\:border-pink-400:is(.dark *){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}.dark\:border-pink-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}.dark\:border-purple-400:is(.dark *){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}.dark\:border-purple-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}.dark\:border-red-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.dark\:border-red-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(155 28 28 / var(--tw-border-opacity))}.dark\:border-transparent:is(.dark *){border-color:transparent}.dark\:border-yellow-300:is(.dark *){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}.dark\:bg-bg-dark:is(.dark *){background-color:var(--color-bg-dark)}.dark\:bg-bg-dark-tone:is(.dark *){background-color:var(--color-bg-dark-tone)}.dark\:bg-bg-dark-tone-panel:is(.dark *){background-color:var(--color-bg-dark-tone-panel)}.dark\:bg-black:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.dark\:bg-blue-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.dark\:bg-blue-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.dark\:bg-blue-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.dark\:bg-blue-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.dark\:bg-blue-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.dark\:bg-blue-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.dark\:bg-gray-300:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.dark\:bg-gray-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:bg-gray-700\/50:is(.dark *){background-color:#37415180}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-800\/20:is(.dark *){background-color:#1f293733}.dark\:bg-gray-800\/30:is(.dark *){background-color:#1f29374d}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1f293780}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-green-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.dark\:bg-green-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.dark\:bg-green-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.dark\:bg-green-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.dark\:bg-green-900\/20:is(.dark *){background-color:#01473733}.dark\:bg-indigo-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.dark\:bg-indigo-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.dark\:bg-orange-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}.dark\:bg-orange-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(138 44 13 / var(--tw-bg-opacity))}.dark\:bg-pink-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.dark\:bg-pink-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}.dark\:bg-purple-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.dark\:bg-purple-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.dark\:bg-purple-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.dark\:bg-red-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.dark\:bg-red-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.dark\:bg-red-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.dark\:bg-red-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.dark\:bg-red-900\/20:is(.dark *){background-color:#771d1d33}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dark\:bg-yellow-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.dark\:bg-opacity-70:is(.dark *){--tw-bg-opacity: .7}.dark\:bg-opacity-80:is(.dark *){--tw-bg-opacity: .8}.dark\:from-bg-dark:is(.dark *){--tw-gradient-from: var(--color-bg-dark) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-blue-400\/20:is(.dark *){--tw-gradient-from: rgb(118 169 250 / .2) var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-indigo-400:is(.dark *){--tw-gradient-from: #8DA2FB var(--tw-gradient-from-position);--tw-gradient-to: rgb(141 162 251 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:via-bg-dark:is(.dark *){--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--color-bg-dark) var(--tw-gradient-via-position), var(--tw-gradient-to)}.dark\:to-purple-400:is(.dark *){--tw-gradient-to: #AC94FA var(--tw-gradient-to-position)}.dark\:to-purple-400\/20:is(.dark *){--tw-gradient-to: rgb(172 148 250 / .2) var(--tw-gradient-to-position)}.dark\:fill-gray-300:is(.dark *){fill:#d1d5db}.dark\:text-blue-200:is(.dark *){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.dark\:text-blue-500:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.dark\:text-blue-800:is(.dark *){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.dark\:text-dark-text-panel:is(.dark *){color:var(--color-dark-text-panel)}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.dark\:text-gray-600:is(.dark *){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.dark\:text-gray-800:is(.dark *){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.dark\:text-green-500:is(.dark *){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.dark\:text-green-800:is(.dark *){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.dark\:text-green-900:is(.dark *){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.dark\:text-indigo-500:is(.dark *){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.dark\:text-indigo-900:is(.dark *){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.dark\:text-orange-200:is(.dark *){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.dark\:text-pink-400:is(.dark *){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}.dark\:text-pink-500:is(.dark *){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.dark\:text-pink-900:is(.dark *){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.dark\:text-primary:is(.dark *){color:var(--color-primary)}.dark\:text-purple-400:is(.dark *){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}.dark\:text-purple-500:is(.dark *){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.dark\:text-purple-900:is(.dark *){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.dark\:text-red-500:is(.dark *){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.dark\:text-red-800:is(.dark *){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.dark\:text-red-900:is(.dark *){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.dark\:text-slate-50:is(.dark *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:text-yellow-300:is(.dark *){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}.dark\:text-yellow-500:is(.dark *){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.dark\:text-yellow-800:is(.dark *){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.dark\:text-yellow-900:is(.dark *){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.dark\:placeholder-gray-400:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:placeholder-gray-400:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:shadow-lg:is(.dark *){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:shadow-blue-800\/80:is(.dark *){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-cyan-800\/80:is(.dark *){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-green-800\/80:is(.dark *){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-lime-800\/80:is(.dark *){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-pink-800\/80:is(.dark *){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-purple-800\/80:is(.dark *){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-red-800\/80:is(.dark *){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-teal-800\/80:is(.dark *){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:ring-gray-500:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.dark\:ring-white:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.dark\:ring-opacity-20:is(.dark *){--tw-ring-opacity: .2}.dark\:ring-offset-gray-700:is(.dark *){--tw-ring-offset-color: #374151}.dark\:ring-offset-gray-800:is(.dark *){--tw-ring-offset-color: #1F2937}.dark\:scrollbar-track-bg-dark:is(.dark *){--scrollbar-track: var(--color-bg-dark) !important}.dark\:scrollbar-track-bg-dark-tone:is(.dark *){--scrollbar-track: var(--color-bg-dark-tone) !important}.dark\:scrollbar-track-gray-700:is(.dark *){--scrollbar-track: #374151 !important}.dark\:scrollbar-track-gray-800:is(.dark *){--scrollbar-track: #1F2937 !important}.dark\:scrollbar-thumb-bg-dark-tone:is(.dark *){--scrollbar-thumb: var(--color-bg-dark-tone) !important}.dark\:scrollbar-thumb-bg-dark-tone-panel:is(.dark *){--scrollbar-thumb: var(--color-bg-dark-tone-panel) !important}.dark\:scrollbar-thumb-gray-500:is(.dark *){--scrollbar-thumb: #6B7280 !important}.dark\:scrollbar-thumb-gray-600:is(.dark *){--scrollbar-thumb: #4B5563 !important}.dark\:even\:bg-bg-dark-discussion-odd:nth-child(2n):is(.dark *){background-color:var(--color-bg-dark-discussion-odd)}.group:hover .dark\:group-hover\:bg-gray-800\/60:is(.dark *){background-color:#1f293799}.group:hover .dark\:group-hover\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.group:focus .dark\:group-focus\:ring-gray-800\/70:is(.dark *){--tw-ring-color: rgb(31 41 55 / .7)}.peer:focus~.dark\:peer-focus\:ring-blue-800:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.dark\:hover\:border-blue-600:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.dark\:hover\:border-gray-600:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:hover\:border-primary:hover:is(.dark *){border-color:var(--color-primary)}.dark\:hover\:bg-blue-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.dark\:hover\:bg-blue-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.dark\:hover\:bg-blue-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.dark\:hover\:bg-blue-900:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-600\/50:hover:is(.dark *){background-color:#4b556380}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-700\/50:hover:is(.dark *){background-color:#37415180}.dark\:hover\:bg-gray-800:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.dark\:hover\:bg-pink-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}.dark\:hover\:bg-pink-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.dark\:hover\:bg-primary:hover:is(.dark *){background-color:var(--color-primary)}.dark\:hover\:bg-purple-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.dark\:hover\:bg-purple-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-900:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}.dark\:hover\:bg-yellow-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}.dark\:hover\:bg-yellow-400:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.dark\:hover\:bg-yellow-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:dark\:bg-bg-dark-tone:is(.dark *):hover{background-color:var(--color-bg-dark-tone)}.hover\:dark\:bg-bg-dark-tone-panel:is(.dark *):hover{background-color:var(--color-bg-dark-tone-panel)}.dark\:hover\:from-blue-400\/30:hover:is(.dark *){--tw-gradient-from: rgb(118 169 250 / .3) var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:hover\:from-blue-900\/30:hover:is(.dark *){--tw-gradient-from: rgb(35 56 118 / .3) var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:hover\:to-purple-400\/30:hover:is(.dark *){--tw-gradient-to: rgb(172 148 250 / .3) var(--tw-gradient-to-position)}.dark\:hover\:to-purple-900\/30:hover:is(.dark *){--tw-gradient-to: rgb(74 29 150 / .3) var(--tw-gradient-to-position)}.dark\:hover\:text-blue-500:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.dark\:hover\:text-gray-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:hover\:text-gray-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:hover\:text-gray-900:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.dark\:hover\:text-green-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.dark\:hover\:text-red-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:hover\:scrollbar-thumb-primary:is(.dark *){--scrollbar-thumb-hover: var(--color-primary) !important}.dark\:focus\:border-blue-500:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.dark\:focus\:border-secondary:focus:is(.dark *){border-color:var(--color-secondary)}.dark\:focus\:text-white:focus:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:ring-blue-500:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.dark\:focus\:ring-cyan-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-500:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-700:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.dark\:focus\:ring-green-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.dark\:focus\:ring-lime-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}.dark\:focus\:ring-pink-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.dark\:focus\:ring-pink-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.dark\:focus\:ring-purple-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.dark\:focus\:ring-purple-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-400:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.dark\:focus\:ring-secondary:focus:is(.dark *){--tw-ring-color: var(--color-secondary)}.dark\:focus\:ring-teal-700:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}.dark\:focus\:ring-teal-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}.dark\:focus\:ring-yellow-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}.dark\:focus\:ring-offset-gray-700:focus:is(.dark *){--tw-ring-offset-color: #374151}@media (min-width: 640px){.sm\:mb-0{margin-bottom:0}.sm\:mr-4{margin-right:1rem}.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-xs{font-size:.75rem;line-height:1rem}.sm\:underline{text-decoration-line:underline}}@media (min-width: 768px){.md\:inset-0{top:0;right:0;bottom:0;left:0}.md\:order-2{order:2}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/3{width:33.333333%}.md\:w-1\/4{width:25%}.md\:w-2\/3{width:66.666667%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-\[300px\,1fr\]{grid-template-columns:300px 1fr}.md\:flex-row{flex-direction:row}.md\:items-start{align-items:flex-start}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.md\:dark\:hover\:bg-transparent:hover:is(.dark *){background-color:transparent}.md\:dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:col-span-2{grid-column:span 2 / span 2}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.dark\:lg\:hover\:\[paint-order\:markers\]:hover:is(.dark *){paint-order:markers}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}}
+*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.prose{color:inherit}.prose h1{margin-bottom:1rem;margin-top:1.5rem;font-size:1.5rem;line-height:2rem;font-weight:700}.prose h2{margin-bottom:.75rem;margin-top:1.25rem;font-size:1.25rem;line-height:1.75rem;font-weight:700}.prose h3{margin-bottom:.5rem;margin-top:1rem;font-size:1.125rem;line-height:1.75rem;font-weight:700}.prose p{margin-bottom:1rem}.prose ul{margin-bottom:1rem;list-style-type:disc;padding-left:1.25rem}.prose ol{margin-bottom:1rem;list-style-type:decimal;padding-left:1.25rem}.prose code{border-radius:.25rem;background-color:rgb(229 231 235 / var(--tw-bg-opacity));--tw-bg-opacity: .1;padding:.125rem .25rem;font-family:JetBrains Mono,Consolas,monospace;font-size:.875rem;line-height:1.25rem}.prose pre{margin-bottom:1rem;overflow-x:auto;border-radius:.5rem;padding:1rem}.prose pre code{background-color:transparent;padding:0}.prose blockquote{margin-top:1rem;margin-bottom:1rem;border-left-width:4px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding-left:1rem;font-style:italic}.prose a{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity));text-decoration-line:underline}.prose a:hover{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.prose::-webkit-scrollbar{width:.5rem}.prose::-webkit-scrollbar-track{background-color:transparent}.prose::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity));-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.prose::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.prose{scroll-behavior:smooth}.math[data-v-38e2254a]{display:inline-block}.mathjax_block[data-v-38e2254a]{display:block}.progress-bar-container{background-color:#f0f0f0;border-radius:4px;height:8px;overflow:hidden}.progress-bar{background-color:#3498db;height:100%;transition:width .3s ease}.custom-scrollbar[data-v-8a34bb65]{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.5) transparent}.custom-scrollbar[data-v-8a34bb65]::-webkit-scrollbar{width:6px}.custom-scrollbar[data-v-8a34bb65]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar[data-v-8a34bb65]::-webkit-scrollbar-thumb{background-color:#9ca3af80;border-radius:3px}.custom-scrollbar[data-v-8a34bb65]::-webkit-scrollbar-thumb:hover{background-color:#9ca3afb3}.toastItem-enter-active[data-v-46f379e5],.toastItem-leave-active[data-v-46f379e5]{transition:all .5s ease}.toastItem-enter-from[data-v-46f379e5],.toastItem-leave-to[data-v-46f379e5]{opacity:0;transform:translate(-30px)}.topbar-container[data-v-a223fde0]{position:fixed;top:0;left:0;right:0;z-index:1000}.topbar[data-v-a223fde0]{background-color:#ffffff1a;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);transition:transform .3s ease-in-out;display:flex;justify-content:center}.topbar-hidden[data-v-a223fde0]{transform:translateY(-100%)}.topbar-content[data-v-a223fde0]{display:flex;justify-content:space-between;align-items:center;max-width:1200px;width:100%}.pin-button[data-v-a223fde0]{background-color:transparent;border:none;cursor:pointer;padding:5px;display:flex;align-items:center;justify-content:center}.pin-button svg[data-v-a223fde0]{width:24px;height:24px;transition:transform .3s ease}.pin-button:hover svg[data-v-a223fde0]{transform:scale(1.2)}.placeholder[data-v-a223fde0]{height:10px}.topbar-container[data-v-a223fde0]{position:relative;width:100%}.hover-zone[data-v-a223fde0]{opacity:0}.error[data-v-a223fde0]{color:red;margin-left:1rem}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1000}.hovered{transform:scale(1.05);transition:transform .2s ease-in-out}.active{transform:scale(1.1);transition:transform .2s ease-in-out}.dropdown-shadow[data-v-6c3ea3a5]{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}:root.dark .dropdown-shadow[data-v-6c3ea3a5]{box-shadow:0 4px 6px -1px #ffffff1a,0 2px 4px -1px #ffffff0f}select{width:200px}body{background-color:#fafafa;font-family:sans-serif}.container{margin:4px auto;width:800px}.settings{position:fixed;top:0;right:0;width:500px;background-color:#fff;z-index:1000;overflow-y:auto;height:100%}.slider-container{margin-top:20px}.slider-value{display:inline-block;margin-left:10px;color:#6b7280;font-size:14px}.small-button{padding:.5rem .75rem;font-size:.875rem}.active-tab{font-weight:700}.help-view[data-v-8c1798f3]{min-height:100vh}.big-card[data-v-8c1798f3]{margin-left:auto;margin-right:auto;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:2rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.big-card[data-v-8c1798f3]:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.help-sections-container[data-v-8c1798f3]{max-height:70vh;overflow-y:auto;padding-right:1rem}.help-section[data-v-8c1798f3]{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.help-content[data-v-8c1798f3]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.help-content[data-v-8c1798f3]:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.help-sections-container[data-v-8c1798f3]::-webkit-scrollbar{width:12px}.help-sections-container[data-v-8c1798f3]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.help-sections-container[data-v-8c1798f3]::-webkit-scrollbar-thumb{background:#888;border-radius:10px;border:3px solid #f1f1f1}.help-sections-container[data-v-8c1798f3]::-webkit-scrollbar-thumb:hover{background:#555}.help-sections-container[data-v-8c1798f3]{scrollbar-width:thin;scrollbar-color:#888 #f1f1f1}.menu-container{position:relative;display:inline-block}.menu-button{background-color:#007bff;color:#fff;padding:10px;border:none;cursor:pointer;border-radius:4px}.menu-list{position:absolute;background-color:#fff;color:#000;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 4px #0003;padding:10px;max-width:500px;z-index:1000}.slide-enter-active,.slide-leave-active{transition:transform .2s}.slide-enter-to,.slide-leave-from{transform:translateY(-10px)}.menu-ul{list-style:none;padding:0;margin:0}.menu-li{cursor:pointer;display:flex;align-items:center;padding:5px}.menu-icon{width:20px;height:20px;margin-right:8px}.menu-command{min-width:200px;text-align:left}.fade-enter-active[data-v-f43216be],.fade-leave-active[data-v-f43216be]{transition:opacity .3s}.fade-enter[data-v-f43216be],.fade-leave-to[data-v-f43216be]{opacity:0}.input-field[data-v-ef4afece]{width:100%;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem .75rem;--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.input-field[data-v-ef4afece]:focus{border-color:transparent;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.input-field[data-v-ef4afece]:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.heartbeat-text[data-v-ef4afece]{font-size:24px;animation:pulsate-ef4afece 1.5s infinite}@keyframes pulsate-ef4afece{0%{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.7}to{transform:scale(1);opacity:1}}.list-move[data-v-ef4afece],.list-enter-active[data-v-ef4afece],.list-leave-active[data-v-ef4afece]{transition:all .5s ease}.list-enter-from[data-v-ef4afece]{transform:translatey(-30px)}.list-leave-to[data-v-ef4afece]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-ef4afece]{position:absolute}.bounce-enter-active[data-v-ef4afece]{animation:bounce-in-ef4afece .5s}.bounce-leave-active[data-v-ef4afece]{animation:bounce-in-ef4afece .5s reverse}@keyframes bounce-in-ef4afece{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.bg-primary-light[data-v-ef4afece]{background-color:#0ff}.hover[data-v-ef4afece]:bg-primary-light:hover{background-color:#7fffd4}.font-bold[data-v-ef4afece]{font-weight:700}.control-buttons[data-v-2b3580ce]{position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;transform:translate(100%);transition:transform .3s}.group:hover .control-buttons[data-v-2b3580ce]{transform:translate(0)}.control-buttons-inner[data-v-2b3580ce]{display:flex;gap:10px;align-items:center;background-color:#fff;padding:8px;border-radius:0 0 0 8px;box-shadow:0 2px 8px #0000001a}.json-tree-view[data-v-40406ec6]{margin-left:16px}.json-item[data-v-40406ec6]{margin-bottom:4px}.json-key[data-v-40406ec6]{cursor:pointer;display:flex;align-items:center}.toggle-icon[data-v-40406ec6]{margin-right:4px;width:12px}.key[data-v-40406ec6]{font-weight:700;margin-right:4px}.value[data-v-40406ec6]{margin-left:4px}.string[data-v-40406ec6]{color:#0b7285}.number[data-v-40406ec6]{color:#d9480f}.boolean[data-v-40406ec6]{color:#5c940d}.null[data-v-40406ec6]{color:#868e96}.json-nested[data-v-40406ec6]{margin-left:16px;border-left:1px dashed #ccc;padding-left:8px}.json-viewer[data-v-83fc9727]{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.5;color:#333}.collapsible-section[data-v-83fc9727]{cursor:pointer;padding:8px;background-color:#f0f0f0;border-radius:4px;display:flex;align-items:center;transition:background-color .2s}.collapsible-section[data-v-83fc9727]:hover{background-color:#e0e0e0}.toggle-icon[data-v-83fc9727]{margin-right:8px;transition:transform .2s}.json-content[data-v-83fc9727]{margin-top:8px;padding-left:16px}.border-t-primary[data-v-2cb174d6]{border-color:#e2e8f0;border-top-color:currentColor}@keyframes spin-2cb174d6{to{transform:rotate(360deg)}}.animate-spin[data-v-2cb174d6]{animation:spin-2cb174d6 .8s linear infinite}.expand-button[data-v-5c83cd0b]{margin-left:10px;margin-right:10px;background:none;border:none;padding:0;cursor:pointer}.htmljs[data-v-5c83cd0b]{background:none}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-fadeIn{animation:fadeIn .5s ease-out forwards}details[open] summary~*{animation:slideDown .3s ease-in-out}details summary::marker{display:none}details summary::-webkit-details-marker{display:none}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.bounce-enter-active[data-v-f44002af]{animation:bounce-in-f44002af .5s}.bounce-leave-active[data-v-f44002af]{animation:bounce-in-f44002af .5s reverse}@keyframes bounce-in-f44002af{0%{transform:scale(0)}50%{transform:scale(1.25)}to{transform:scale(1)}}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-track{background-color:#f1f1f1}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}.custom-scrollbar[data-v-1a32c141]::-webkit-scrollbar-thumb:hover{background-color:#555}.menu[data-v-1a32c141]{display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper[data-v-1a32c141]{position:relative;display:flex;flex-direction:column;align-items:center}.commands-menu-items-wrapper>#commands-menu-items[data-v-1a32c141]{top:calc(-100% - 2rem)}.personalities-hover-area[data-v-c3280f2d]{position:relative;padding-top:10px}.custom-scrollbar[data-v-c3280f2d]{scrollbar-width:thin;scrollbar-color:rgba(155,155,155,.5) transparent}.custom-scrollbar[data-v-c3280f2d]::-webkit-scrollbar{width:6px}.custom-scrollbar[data-v-c3280f2d]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar[data-v-c3280f2d]::-webkit-scrollbar-thumb{background-color:#9b9b9b80;border-radius:20px;border:transparent}.list-move[data-v-c3280f2d],.list-enter-active[data-v-c3280f2d],.list-leave-active[data-v-c3280f2d]{transition:all .5s ease}.list-enter-from[data-v-c3280f2d]{transform:translatey(-30px)}.list-leave-to[data-v-c3280f2d]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-c3280f2d]{position:absolute}@keyframes rolling-ball-d9375d3e{0%{transform:translate(-50px) rotate(0)}25%{transform:translate(0) rotate(90deg)}50%{transform:translate(50px) rotate(180deg)}75%{transform:translate(0) rotate(270deg)}to{transform:translate(-50px) rotate(360deg)}}@keyframes bounce-d9375d3e{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}@keyframes fade-in-up-d9375d3e{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.animate-rolling-ball[data-v-d9375d3e]{animation:rolling-ball-d9375d3e 4s infinite ease-in-out,bounce-d9375d3e 1s infinite ease-in-out}.animate-fade-in-up[data-v-d9375d3e]{animation:fade-in-up-d9375d3e 1.5s ease-out}.floating-button-container[data-v-d9375d3e]{position:fixed;bottom:30px;right:30px;z-index:9999}.floating-button[data-v-d9375d3e]{position:fixed;bottom:30px;right:30px;width:100px;height:100px;border-radius:50%;background-color:#ff4500e6;display:flex;justify-content:center;align-items:center;box-shadow:0 0 30px #ff4500cc;animation:pulse-d9375d3e 1.5s infinite,glow-d9375d3e 2s infinite,wobble-d9375d3e 3s infinite;overflow:hidden;z-index:9999;transition:all .3s ease}.floating-button[data-v-d9375d3e]:hover{transform:scale(1.2) rotate(5deg);background-color:#ff4500}.tooltip[data-v-d9375d3e]{position:absolute;background-color:#000c;color:#fff;padding:8px 12px;border-radius:8px;font-size:16px;font-weight:700;white-space:nowrap;opacity:0;transition:opacity .3s ease,transform .3s ease;pointer-events:none;top:-50px;left:50%;transform:translate(-50%) scale(.9)}.floating-button:hover .tooltip[data-v-d9375d3e]{opacity:1;transform:translate(-50%) scale(1)}@keyframes pulse-d9375d3e{0%{transform:scale(1)}50%{transform:scale(1.1)}to{transform:scale(1)}}@keyframes glow-d9375d3e{0%{box-shadow:0 0 30px #ff4500cc}50%{box-shadow:0 0 60px #ff4500,0 0 90px #ff450099}to{box-shadow:0 0 30px #ff4500cc}}@keyframes wobble-d9375d3e{0%,to{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}.hidden[data-v-d9375d3e]{display:none}.popup-container[data-v-d504dfc9]{background-color:#fff;color:#333;border-radius:8px;box-shadow:0 4px 6px #0000001a;padding:24px;width:100%;height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.close-button[data-v-d504dfc9]{position:absolute;top:16px;right:16px;background-color:#3490dc;color:#fff;font-weight:700;padding:8px 16px;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.close-button[data-v-d504dfc9]:hover{background-color:#2779bd}.iframe-content[data-v-d504dfc9]{width:100%;height:80%;border:none;margin-bottom:16px}.checkbox-container[data-v-d504dfc9]{display:flex;align-items:center;justify-content:center}.styled-checkbox[data-v-d504dfc9]{width:24px;height:24px;accent-color:#3490dc;cursor:pointer}.checkbox-label[data-v-d504dfc9]{margin-left:8px;font-size:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fade-enter-active[data-v-d504dfc9],.fade-leave-active[data-v-d504dfc9]{transition:opacity .5s}.fade-enter[data-v-d504dfc9],.fade-leave-to[data-v-d504dfc9]{opacity:0}.glow-effect[data-v-85f3dede]{box-shadow:0 0 5px 2px #00ffffb3;animation:glow-85f3dede 1.5s ease-in-out infinite alternate}@keyframes glow-85f3dede{0%{box-shadow:0 0 5px 2px #00ffffb3}to{box-shadow:0 0 20px 2px #00ffffb3}}.changelog-popup-overlay[data-v-f9c6a52e]{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.changelog-popup[data-v-f9c6a52e]{background:#fff;border-radius:8px;width:90%;max-width:600px;max-height:80vh;display:flex;flex-direction:column}.changelog-header[data-v-f9c6a52e]{padding:1rem;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.changelog-content[data-v-f9c6a52e]{padding:1rem;overflow-y:auto;flex-grow:1}.changelog-footer[data-v-f9c6a52e]{padding:1rem;border-top:1px solid #eee;text-align:right}.understood-button[data-v-f9c6a52e]{background:#4caf50;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer}.close-button[data-v-f9c6a52e]{background:none;border:none;font-size:1.5rem;cursor:pointer}.markdown-body[data-v-f9c6a52e]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body h1[data-v-f9c6a52e],.markdown-body h2[data-v-f9c6a52e],.markdown-body h3[data-v-f9c6a52e],.markdown-body h4[data-v-f9c6a52e],.markdown-body h5[data-v-f9c6a52e],.markdown-body h6[data-v-f9c6a52e]{margin-top:24px;margin-bottom:16px;font-weight:600;line-height:1.25}.markdown-body h1[data-v-f9c6a52e]{font-size:2em}.markdown-body h2[data-v-f9c6a52e]{font-size:1.5em}.markdown-body h3[data-v-f9c6a52e]{font-size:1.25em}.markdown-body p[data-v-f9c6a52e]{margin-top:0;margin-bottom:16px}.markdown-body ul[data-v-f9c6a52e],.markdown-body ol[data-v-f9c6a52e]{padding-left:2em;margin-top:0;margin-bottom:16px}.markdown-body code[data-v-f9c6a52e]{padding:.2em .4em;margin:0;font-size:85%;background-color:#1b1f230d;border-radius:3px}.markdown-body pre[data-v-f9c6a52e]{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#f6f8fa;border-radius:3px}.markdown-body blockquote[data-v-f9c6a52e]{padding:0 1em;color:#6a737d;border-left:.25em solid #dfe2e5;margin:0}.personalities-container[data-v-5590f293]{position:relative}.skills-lib-icon[data-v-5590f293]{position:absolute;top:-2px;right:-2px;z-index:10;font-size:5px;width:2px;height:2px}.skills-lib-icon i[data-v-5590f293]{width:2px;height:2px}@keyframes giggle-5590f293{0%,to{transform:translate(0) rotate(0) scale(1)}25%{transform:translate(-5px) rotate(-10deg) scale(1.05)}50%{transform:translate(5px) rotate(10deg) scale(.95)}75%{transform:translate(-5px) rotate(-10deg) scale(1.05)}}.animate-giggle[data-v-5590f293]{animation:giggle-5590f293 1.5s infinite ease-in-out}.custom-scrollbar[data-v-5590f293]{scrollbar-width:thin;scrollbar-color:rgba(155,155,155,.5) transparent}.custom-scrollbar[data-v-5590f293]::-webkit-scrollbar{width:8px}.custom-scrollbar[data-v-5590f293]::-webkit-scrollbar-track{background:transparent}.custom-scrollbar[data-v-5590f293]::-webkit-scrollbar-thumb{background-color:#9b9b9b80;border-radius:20px;border:transparent}@keyframes custom-pulse-5590f293{0%,to{box-shadow:0 0 #3b82f680}50%{box-shadow:0 0 0 15px #3b82f600}}.animate-pulse[data-v-5590f293]{animation:custom-pulse-5590f293 2s infinite}.slide-right-enter-active[data-v-5590f293],.slide-right-leave-active[data-v-5590f293]{transition:transform .3s ease}.slide-right-enter[data-v-5590f293],.slide-right-leave-to[data-v-5590f293]{transform:translate(-100%)}.slide-left-enter-active[data-v-5590f293],.slide-left-leave-active[data-v-5590f293]{transition:transform .3s ease}.slide-left-enter[data-v-5590f293],.slide-left-leave-to[data-v-5590f293]{transform:translate(100%)}.fade-and-fly-enter-active[data-v-5590f293]{animation:fade-and-fly-enter-5590f293 .5s ease}.fade-and-fly-leave-active[data-v-5590f293]{animation:fade-and-fly-leave-5590f293 .5s ease}@keyframes fade-and-fly-enter-5590f293{0%{opacity:0;transform:translateY(20px) scale(.8)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fade-and-fly-leave-5590f293{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(-20px) scale(1.2)}}.list-move[data-v-5590f293],.list-enter-active[data-v-5590f293],.list-leave-active[data-v-5590f293]{transition:all .5s ease}.list-enter-from[data-v-5590f293]{transform:translatey(-30px)}.list-leave-to[data-v-5590f293]{opacity:0;transform:translatey(30px)}.list-leave-active[data-v-5590f293]{position:absolute}@keyframes float-5590f293{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}.animate-float[data-v-5590f293]{animation:float-5590f293 linear infinite}@keyframes star-move-5590f293{0%{transform:translate(0) rotate(0)}50%{transform:translate(20px,20px) rotate(180deg)}to{transform:translate(0) rotate(360deg)}}.animate-star[data-v-5590f293]{animation:star-move-5590f293 linear infinite}@keyframes fall-5590f293{0%{transform:translateY(-20px) rotate(0);opacity:1}to{transform:translateY(calc(100vh + 20px)) rotate(360deg);opacity:0}}.animate-fall[data-v-5590f293]{animation:fall-5590f293 linear infinite}@keyframes glow-5590f293{0%,to{text-shadow:0 0 5px rgba(66,153,225,.5),0 0 10px rgba(66,153,225,.5)}50%{text-shadow:0 0 20px rgba(66,153,225,.8),0 0 30px rgba(66,153,225,.8)}}.animate-glow[data-v-5590f293]{animation:glow-5590f293 2s ease-in-out infinite}@media (prefers-color-scheme: dark){@keyframes glow-5590f293{0%,to{text-shadow:0 0 5px rgba(147,197,253,.5),0 0 10px rgba(147,197,253,.5)}50%{text-shadow:0 0 20px rgba(147,197,253,.8),0 0 30px rgba(147,197,253,.8)}0%,to{text-shadow:0 0 5px rgba(147,197,253,.5),0 0 10px rgba(147,197,253,.5)}50%{text-shadow:0 0 20px rgba(147,197,253,.8),0 0 30px rgba(147,197,253,.8)}}}@keyframes roll-5590f293{0%{transform:translate(-50%) rotate(0)}to{transform:translate(50%) rotate(360deg)}}.animate-roll[data-v-5590f293]{animation:roll-5590f293 4s linear infinite}.toolbar[data-v-5590f293]{position:relative;width:100%}.toolbar-container[data-v-5590f293]{display:flex;height:2.5rem;align-items:center}.toolbar-button[data-v-5590f293]{cursor:pointer;border-style:none;background-color:transparent;padding:.5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.toolbar-button[data-v-5590f293]:hover{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.menu-container[data-v-5590f293]{position:relative}.expandable-menu[data-v-5590f293]{position:absolute;top:100%;left:.625rem;flex-direction:column;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.menu-container:hover .expandable-menu[data-v-5590f293],.menu-visible[data-v-5590f293]{display:flex}.menu-item[data-v-5590f293]{background:none;border:none;cursor:pointer;padding:8px;color:#333;transition:background-color .3s}.menu-item[data-v-5590f293]:hover{background-color:#f0f0f0}.dot[data-v-5590f293]{width:10px;height:10px;border-radius:50%}.dot-green[data-v-5590f293]{background-color:green}.dot-red[data-v-5590f293]{background-color:red}.animate-pulse[data-v-5590f293]{animation:pulse-5590f293 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse-5590f293{0%,to{opacity:1}50%{opacity:.7}}.logo-container[data-v-5590f293]{position:relative;width:48px;height:48px}.logo-image[data-v-5590f293]{width:100%;height:100%;border-radius:50%;-o-object-fit:cover;object-fit:cover}@keyframes bounce-5590f293{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:translateY(0);animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce[data-v-5590f293]{animation:bounce-5590f293 1s infinite}@keyframes roll-and-bounce-5590f293{0%,to{transform:translate(0) rotate(0)}45%{transform:translate(100px) rotate(360deg)}50%{transform:translate(90px) rotate(390deg)}55%{transform:translate(100px) rotate(360deg)}95%{transform:translate(0) rotate(0)}}@keyframes spin-5590f293{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.container{display:flex;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap}.floating-frame{margin:15px;float:left;height:auto;border:1px solid #000;border-radius:4px;overflow:hidden;z-index:5000;position:fixed;cursor:move;bottom:0;right:0}.handle{width:100%;height:20px;background:#ccc;cursor:move;text-align:center}.floating-frame img{width:100%;height:auto}.controls{margin-top:10px}#webglContainer{top:0;left:0}.floating-frame2{margin:15px;width:800px;height:auto;border:1px solid #000;border-radius:4px;overflow:hidden;min-height:200px;z-index:5000}:root{--baklava-control-color-primary: #e28b46;--baklava-control-color-error: #d00000;--baklava-control-color-background: #2c3748;--baklava-control-color-foreground: white;--baklava-control-color-hover: #455670;--baklava-control-color-active: #556986;--baklava-control-color-disabled-foreground: #666c75;--baklava-control-border-radius: 3px;--baklava-sidebar-color-background: #1b202c;--baklava-sidebar-color-foreground: white;--baklava-node-color-background: #1b202c;--baklava-node-color-foreground: white;--baklava-node-color-hover: #e28c4677;--baklava-node-color-selected: var(--baklava-control-color-primary);--baklava-node-color-resize-handle: var(--baklava-control-color-background);--baklava-node-title-color-background: #151a24;--baklava-node-title-color-foreground: white;--baklava-group-node-title-color-background: #215636;--baklava-group-node-title-color-foreground: white;--baklava-node-interface-port-tooltip-color-foreground: var(--baklava-control-color-primary);--baklava-node-interface-port-tooltip-color-background: var(--baklava-editor-background-pattern-black);--baklava-node-border-radius: 6px;--baklava-color-connection-default: #737f96;--baklava-color-connection-allowed: #48bc79;--baklava-color-connection-forbidden: #bc4848;--baklava-editor-background-pattern-default: #202b3c;--baklava-editor-background-pattern-line: #263140;--baklava-editor-background-pattern-black: #263140;--baklava-context-menu-background: #1b202c;--baklava-context-menu-shadow: 0 0 8px rgba(0, 0, 0, .65);--baklava-toolbar-background: #1b202caa;--baklava-toolbar-foreground: white;--baklava-node-palette-background: #1b202caa;--baklava-node-palette-foreground: white;--baklava-selectionbox-color-border: var(--baklava-node-color-background);--baklava-selectionbox-color-background: var(--baklava-node-color-hover);--baklava-visual-transition: .1s linear}.baklava-button{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);transition:background-color var(--baklava-visual-transition);border:none;padding:.45em .35em;border-radius:var(--baklava-control-border-radius);font-size:inherit;cursor:pointer;overflow-x:hidden}.baklava-button:hover{background-color:var(--baklava-control-color-hover)}.baklava-button:active{background-color:var(--baklava-control-color-primary)}.baklava-button.--block{width:100%}.baklava-checkbox{display:flex;padding:.35em 0;cursor:pointer;overflow-x:hidden;align-items:center}.baklava-checkbox .__checkmark-container{display:flex;background-color:var(--baklava-control-color-background);border-radius:var(--baklava-control-border-radius);transition:background-color var(--baklava-visual-transition);width:18px;height:18px}.baklava-checkbox:hover .__checkmark-container{background-color:var(--baklava-control-color-hover)}.baklava-checkbox:active .__checkmark-container{background-color:var(--baklava-control-color-active)}.baklava-checkbox .__checkmark{stroke-dasharray:15;stroke-dashoffset:15;stroke:var(--baklava-control-color-foreground);stroke-width:2px;fill:none;transition:stroke-dashoffset var(--baklava-visual-transition)}.baklava-checkbox.--checked .__checkmark{stroke-dashoffset:0}.baklava-checkbox.--checked .__checkmark-container{background-color:var(--baklava-control-color-primary)}.baklava-checkbox .__label{margin-left:.5rem}.baklava-context-menu{color:var(--baklava-control-color-foreground);position:absolute;display:inline-block;z-index:100;background-color:var(--baklava-context-menu-background);box-shadow:var(--baklava-context-menu-shadow);border-radius:0 0 var(--baklava-control-border-radius) var(--baklava-control-border-radius);min-width:6rem;width:-moz-max-content;width:max-content}.baklava-context-menu>.item{display:flex;align-items:center;padding:.35em 1em;transition:background .05s linear;position:relative}.baklava-context-menu>.item>.__label{flex:1 1 auto}.baklava-context-menu>.item>.__submenu-icon{margin-left:.75rem}.baklava-context-menu>.item.--disabled{color:var(--baklava-control-color-hover)}.baklava-context-menu>.item:not(.--header):not(.--active):not(.--disabled):hover{background:var(--baklava-control-color-primary)}.baklava-context-menu>.item.--active{background:var(--baklava-control-color-primary)}.baklava-context-menu.--nested{left:100%;top:0}.baklava-context-menu.--flipped-x.--nested{left:unset;right:100%}.baklava-context-menu.--flipped-y.--nested{top:unset;bottom:0}.baklava-context-menu>.divider{margin:.35em 0;height:1px;background-color:var(--baklava-control-color-hover)}.baklava-icon{display:block;height:100%}.baklava-icon.--clickable{cursor:pointer;transition:color var(--baklava-visual-transition)}.baklava-icon.--clickable:hover{color:var(--baklava-control-color-primary)}.baklava-input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);border:none;border-radius:var(--baklava-control-border-radius);padding:.45em .75em;width:100%;transition:background-color var(--baklava-visual-transition);font-size:inherit;font:inherit}.baklava-input:hover{background-color:var(--baklava-control-color-hover)}.baklava-input:active{background-color:var(--baklava-control-color-active)}.baklava-input:focus-visible{outline:1px solid var(--baklava-control-color-primary)}.baklava-input[type=number]::-webkit-inner-spin-button,.baklava-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.baklava-input.--invalid{box-shadow:0 0 2px 2px var(--baklava-control-color-error)}.baklava-num-input{background:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);border-radius:var(--baklava-control-border-radius);width:100%;display:grid;grid-template-columns:20px 1fr 20px}.baklava-num-input>.__button{display:flex;flex:0 0 auto;width:20px;justify-content:center;align-items:center;transition:background var(--baklava-visual-transition);cursor:pointer}.baklava-num-input>.__button:hover{background-color:var(--baklava-control-color-hover)}.baklava-num-input>.__button:active{background-color:var(--baklava-control-color-active)}.baklava-num-input>.__button.--dec{grid-area:1/1/span 1/span 1}.baklava-num-input>.__button.--dec>svg{transform:rotate(90deg)}.baklava-num-input>.__button.--inc{grid-area:1/3/span 1/span 1}.baklava-num-input>.__button.--inc>svg{transform:rotate(-90deg)}.baklava-num-input>.__button path{stroke:var(--baklava-control-color-foreground);fill:var(--baklava-control-color-foreground)}.baklava-num-input>.__content{grid-area:1/2/span 1/span 1;display:inline-flex;cursor:pointer;max-width:100%;min-width:0;align-items:center;transition:background-color var(--baklava-visual-transition)}.baklava-num-input>.__content:hover{background-color:var(--baklava-control-color-hover)}.baklava-num-input>.__content:active{background-color:var(--baklava-control-color-active)}.baklava-num-input>.__content>.__label,.baklava-num-input>.__content>.__value{margin:.35em 0;padding:0 .5em}.baklava-num-input>.__content>.__label{flex:1;min-width:0;overflow:hidden}.baklava-num-input>.__content>.__value{text-align:right}.baklava-num-input>.__content>input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);padding:.35em;width:100%}.baklava-select{width:100%;position:relative;color:var(--baklava-control-color-foreground)}.baklava-select.--open>.__selected{border-bottom-left-radius:0;border-bottom-right-radius:0}.baklava-select.--open>.__selected>.__icon{transform:rotate(180deg)}.baklava-select>.__selected{background-color:var(--baklava-control-color-background);padding:.35em .75em;border-radius:var(--baklava-control-border-radius);transition:background var(--baklava-visual-transition);min-height:1.7em;display:flex;align-items:center;cursor:pointer}.baklava-select>.__selected:hover{background:var(--baklava-control-color-hover)}.baklava-select>.__selected:active{background:var(--baklava-control-color-active)}.baklava-select>.__selected>.__text{flex:1 0 auto;flex-basis:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.baklava-select>.__selected>.__icon{flex:0 0 auto;display:flex;justify-content:center;align-items:center;transition:transform .25s ease;width:18px;height:18px}.baklava-select>.__selected>.__icon path{stroke:var(--baklava-control-color-foreground);fill:var(--baklava-control-color-foreground)}.baklava-select>.__dropdown{position:absolute;top:100%;left:0;right:0;z-index:10;background-color:var(--baklava-context-menu-background);filter:drop-shadow(0 0 4px black);border-radius:0 0 var(--baklava-control-border-radius) var(--baklava-control-border-radius);max-height:15em;overflow-y:scroll}.baklava-select>.__dropdown::-webkit-scrollbar{width:0px;background:transparent}.baklava-select>.__dropdown>.item{padding:.35em .35em .35em 1em;transition:background .05s linear}.baklava-select>.__dropdown>.item:not(.--header):not(.--active){cursor:pointer}.baklava-select>.__dropdown>.item:not(.--header):not(.--active):hover{background:var(--baklava-control-color-hover)}.baklava-select>.__dropdown>.item.--active{background:var(--baklava-control-color-primary)}.baklava-select>.__dropdown>.item.--header{color:var(--baklava-control-color-disabled-foreground);border-bottom:1px solid var(--baklava-control-color-disabled-foreground);padding:.5em .35em .5em 1em}.baklava-slider{background:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);border-radius:var(--baklava-control-border-radius);position:relative;cursor:pointer}.baklava-slider>.__content{display:flex;position:relative}.baklava-slider>.__content>.__label,.baklava-slider>.__content>.__value{flex:1 1 auto;margin:.35em 0;padding:0 .5em;text-overflow:ellipsis}.baklava-slider>.__content>.__value{text-align:right}.baklava-slider>.__content>input{background-color:var(--baklava-control-color-background);color:var(--baklava-control-color-foreground);caret-color:var(--baklava-control-color-primary);padding:.35em;width:100%}.baklava-slider>.__slider{position:absolute;top:0;bottom:0;left:0;background-color:var(--baklava-control-color-primary);border-radius:var(--baklava-control-border-radius)}.baklava-connection{stroke:var(--baklava-color-connection-default);stroke-width:2px;fill:none}.baklava-connection.--temporary{stroke-width:4px;stroke-dasharray:5 5;stroke-dashoffset:0;animation:dash 1s linear infinite;transform:translateY(-1px)}@keyframes dash{to{stroke-dashoffset:20}}.baklava-connection.--allowed{stroke:var(--baklava-color-connection-allowed)}.baklava-connection.--forbidden{stroke:var(--baklava-color-connection-forbidden)}.baklava-minimap{position:absolute;height:15%;width:15%;min-width:150px;max-width:90%;top:20px;right:20px;z-index:900}.baklava-editor{width:100%;height:100%;position:relative;overflow:hidden;outline:none!important;font-family:Lato,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;font-size:15px;touch-action:none}.baklava-editor .background{background-color:var(--baklava-editor-background-pattern-default);background-image:linear-gradient(var(--baklava-editor-background-pattern-black) 2px,transparent 2px),linear-gradient(90deg,var(--baklava-editor-background-pattern-black) 2px,transparent 2px),linear-gradient(var(--baklava-editor-background-pattern-line) 1px,transparent 1px),linear-gradient(90deg,var(--baklava-editor-background-pattern-line) 1px,transparent 1px);background-repeat:repeat;width:100%;height:100%;pointer-events:none!important}.baklava-editor .selection-box{position:absolute;border:1px solid var(--baklava-selectionbox-color-border);background-color:var(--baklava-selectionbox-color-background);pointer-events:none;opacity:.5}.baklava-editor.--start-selection-box{cursor:crosshair}.baklava-editor *:not(input):not(textarea){user-select:none;-moz-user-select:none;-webkit-user-select:none;touch-action:none}.baklava-editor .input-user-select{user-select:auto;-moz-user-select:auto;-webkit-user-select:auto}.baklava-editor *,.baklava-editor *:after,.baklava-editor *:before{box-sizing:border-box}.baklava-editor.--temporary-connection{cursor:crosshair}.baklava-editor .connections-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none!important}.baklava-editor .node-container{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.baklava-editor .node-container *{pointer-events:all}.baklava-ignore-mouse *{pointer-events:none!important}.baklava-ignore-mouse .__port{pointer-events:all!important}.baklava-node-interface{padding:.25em 0;position:relative}.baklava-node-interface .__port{position:absolute;width:10px;height:10px;background:#fff;border-radius:50%;top:calc(50% - 5px);cursor:crosshair}.baklava-node-interface .__port.--selected{outline:2px var(--baklava-color-connection-default) solid;outline-offset:4px}.baklava-node-interface.--input{text-align:left;padding-left:.5em}.baklava-node-interface.--input .__port{left:-1.1em}.baklava-node-interface.--output{text-align:right;padding-right:.5em}.baklava-node-interface.--output .__port{right:-1.1em}.baklava-node-interface .__tooltip{position:absolute;left:5px;top:15px;transform:translate(-50%);background:var(--baklava-node-interface-port-tooltip-color-background);color:var(--baklava-node-interface-port-tooltip-color-foreground);padding:.25em .5em;text-align:center;z-index:2}.baklava-node-palette{position:absolute;left:0;top:60px;width:250px;height:calc(100% - 60px);z-index:3;padding:2rem;overflow-y:auto;background:var(--baklava-node-palette-background);color:var(--baklava-node-palette-foreground)}.baklava-node-palette h1{margin-top:2rem}.baklava-node.--palette{position:unset;margin:1rem 0;cursor:grab}.baklava-node.--palette:first-child{margin-top:0}.baklava-node.--palette .__title{padding:.5rem;border-radius:var(--baklava-node-border-radius)}.baklava-dragged-node{position:absolute;width:calc(250px - 4rem);height:40px;z-index:4;pointer-events:none}.baklava-node{background:var(--baklava-node-color-background);color:var(--baklava-node-color-foreground);border:1px solid transparent;border-radius:var(--baklava-node-border-radius);position:absolute;box-shadow:0 0 4px #000c;transition:border-color var(--baklava-visual-transition),box-shadow var(--baklava-visual-transition);width:var(--width)}.baklava-node:hover{border-color:var(--baklava-node-color-hover)}.baklava-node:hover .__resize-handle:after{opacity:1}.baklava-node.--selected{z-index:5;border-color:var(--baklava-node-color-selected)}.baklava-node.--dragging{box-shadow:0 0 12px #000c}.baklava-node.--dragging>.__title{cursor:grabbing}.baklava-node>.__title{display:flex;background:var(--baklava-node-title-color-background);color:var(--baklava-node-title-color-foreground);padding:.4em .75em;border-radius:var(--baklava-node-border-radius) var(--baklava-node-border-radius) 0 0;cursor:grab}.baklava-node>.__title>*:first-child{flex-grow:1}.baklava-node>.__title>.__title-label{pointer-events:none}.baklava-node>.__title>.__menu{position:relative;cursor:initial}.baklava-node[data-node-type^=__baklava_]>.__title{background:var(--baklava-group-node-title-color-background);color:var(--baklava-group-node-title-color-foreground)}.baklava-node>.__content{padding:.75em}.baklava-node>.__content.--reverse-y{display:flex;flex-direction:column-reverse}.baklava-node>.__content>div>div{margin:.5em 0}.baklava-node.--two-column>.__content{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;grid-template-areas:". ." ". ."}.baklava-node.--two-column>.__content>.__inputs{grid-row:1;grid-column:1}.baklava-node.--two-column>.__content>.__outputs{grid-row:1;grid-column:2}.baklava-node .__resize-handle{position:absolute;right:0;bottom:0;width:1rem;height:1rem;transform:translate(50%);cursor:ew-resize}.baklava-node .__resize-handle:after{content:"";position:absolute;bottom:0;left:-.5rem;width:1rem;height:1rem;opacity:0;border-bottom-right-radius:var(--baklava-node-border-radius);transition:opacity var(--baklava-visual-transition);background:linear-gradient(-45deg,transparent 10%,var(--baklava-node-color-resize-handle) 10%,var(--baklava-node-color-resize-handle) 15%,transparent 15%,transparent 30%,var(--baklava-node-color-resize-handle) 30%,var(--baklava-node-color-resize-handle) 35%,transparent 35%,transparent 50%,var(--baklava-node-color-resize-handle) 50%,var(--baklava-node-color-resize-handle) 55%,transparent 55%)}.baklava-sidebar{position:absolute;height:100%;width:25%;min-width:300px;max-width:90%;top:0;right:0;z-index:1000;background-color:var(--baklava-sidebar-color-background);color:var(--baklava-sidebar-color-foreground);box-shadow:none;overflow-x:hidden;padding:1em;transform:translate(100%);transition:transform .5s;display:flex;flex-direction:column}.baklava-sidebar.--open{transform:translate(0);box-shadow:0 0 15px #000}.baklava-sidebar .__resizer{position:absolute;left:0;top:0;height:100%;width:4px;cursor:col-resize}.baklava-sidebar .__header{display:flex;align-items:center}.baklava-sidebar .__header .__node-name{margin-left:.5rem}.baklava-sidebar .__close{font-size:2em;border:none;background:none;color:inherit;cursor:pointer}.baklava-sidebar .__interface{margin:.5em 0}.baklava-toolbar{position:absolute;left:0;top:0;width:100%;height:60px;z-index:3;padding:.5rem 2rem;background:var(--baklava-toolbar-background);color:var(--baklava-toolbar-foreground);display:flex;align-items:center}.baklava-toolbar-entry{margin-left:.5rem;margin-right:.5rem}.baklava-toolbar-button{color:var(--baklava-toolbar-foreground);background:none;border:none;transition:color var(--baklava-visual-transition)}.baklava-toolbar-button:not([disabled]){cursor:pointer}.baklava-toolbar-button:hover:not([disabled]){color:var(--baklava-control-color-primary)}.baklava-toolbar-button[disabled]{color:var(--baklava-control-color-disabled-foreground)}.slide-fade-enter-active,.slide-fade-leave-active{transition:all .1s ease-out}.slide-fade-enter-from,.slide-fade-leave-to{transform:translateY(5px);opacity:0}.fade-enter-active,.fade-leave-active{transition:opacity .1s ease-out!important}.fade-enter-from,.fade-leave-to{opacity:0}.loading-indicator[data-v-f8c39e0b]{display:flex;justify-content:center;align-items:center;height:100px;font-size:1.2em;color:#666}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(63 131 248 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter,Outfit,PTSans,Roboto,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:JetBrains Mono,Consolas,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.tooltip-arrow,.tooltip-arrow:before{position:absolute;width:8px;height:8px;background:inherit}.tooltip-arrow{visibility:hidden}.tooltip-arrow:before{content:"";visibility:visible;transform:rotate(45deg)}[data-tooltip-style^=light]+.tooltip>.tooltip-arrow:before{border-style:solid;border-color:#e5e7eb}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=top]>.tooltip-arrow:before{border-bottom-width:1px;border-right-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=right]>.tooltip-arrow:before{border-bottom-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=bottom]>.tooltip-arrow:before{border-top-width:1px;border-left-width:1px}[data-tooltip-style^=light]+.tooltip[data-popper-placement^=left]>.tooltip-arrow:before{border-top-width:1px;border-right-width:1px}.tooltip[data-popper-placement^=top]>.tooltip-arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.tooltip-arrow{top:-4px}.tooltip[data-popper-placement^=left]>.tooltip-arrow{right:-4px}.tooltip[data-popper-placement^=right]>.tooltip-arrow{left:-4px}.tooltip.invisible>.tooltip-arrow:before{visibility:hidden}[data-popper-arrow],[data-popper-arrow]:before{position:absolute;width:8px;height:8px;background:inherit}[data-popper-arrow]{visibility:hidden}[data-popper-arrow]:before{content:"";visibility:visible;transform:rotate(45deg)}[data-popper-arrow]:after{content:"";visibility:visible;transform:rotate(45deg);position:absolute;width:9px;height:9px;background:inherit}[role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:before{border-style:solid;border-color:#4b5563}[role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#e5e7eb}.dark [role=tooltip]>[data-popper-arrow]:after{border-style:solid;border-color:#4b5563}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:before{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]:after{border-bottom-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:before{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]:after{border-bottom-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:before{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]:after{border-top-width:1px;border-left-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:before{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]:after{border-top-width:1px;border-right-width:1px}[data-popover][role=tooltip][data-popper-placement^=top]>[data-popper-arrow]{bottom:-5px}[data-popover][role=tooltip][data-popper-placement^=bottom]>[data-popper-arrow]{top:-5px}[data-popover][role=tooltip][data-popper-placement^=left]>[data-popper-arrow]{right:-5px}[data-popover][role=tooltip][data-popper-placement^=right]>[data-popper-arrow]{left:-5px}[role=tooltip].invisible>[data-popper-arrow]:before{visibility:hidden}[role=tooltip].invisible>[data-popper-arrow]:after{visibility:hidden}[type=text],[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#1c64f2}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}select:not([size]){background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple]{background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#1c64f2;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #1C64F2;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:.55em .55em;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}.dark [type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-color:currentColor;border-color:transparent;background-position:center;background-repeat:no-repeat;background-size:.55em .55em;-webkit-print-color-adjust:exact;print-color-adjust:exact}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px auto inherit}input[type=file]::file-selector-button{color:#fff;background:#1f2937;border:0;font-weight:500;font-size:.875rem;cursor:pointer;padding:.625rem 1rem .625rem 2rem;margin-inline-start:-1rem;margin-inline-end:1rem}input[type=file]::file-selector-button:hover{background:#374151}.dark input[type=file]::file-selector-button{color:#fff;background:#4b5563}.dark input[type=file]::file-selector-button:hover{background:#6b7280}input[type=range]::-webkit-slider-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-webkit-slider-thumb{background:#9ca3af}.dark input[type=range]:disabled::-webkit-slider-thumb{background:#6b7280}input[type=range]:focus::-webkit-slider-thumb{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1px;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}input[type=range]::-moz-range-thumb{height:1.25rem;width:1.25rem;background:#1c64f2;border-radius:9999px;border:0;appearance:none;-moz-appearance:none;-webkit-appearance:none;cursor:pointer}input[type=range]:disabled::-moz-range-thumb{background:#9ca3af}.dark input[type=range]:disabled::-moz-range-thumb{background:#6b7280}input[type=range]::-moz-range-progress{background:#3f83f8}input[type=range]::-ms-fill-lower{background:#3f83f8}.toggle-bg:after{content:"";position:absolute;top:.125rem;left:.125rem;background:#fff;border-color:#d1d5db;border-width:1px;border-radius:9999px;height:1.25rem;width:1.25rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;box-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)}input:checked+.toggle-bg:after{transform:translate(100%);border-color:#fff}input:checked+.toggle-bg{background:#1c64f2;border-color:#1c64f2}*{scrollbar-color:initial;scrollbar-width:initial}body{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #e0eaff var(--tw-gradient-from-position);--tw-gradient-to: rgb(224 234 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #f0e6ff var(--tw-gradient-to-position)}body:is(.dark *){background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #0f2647 var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 38 71 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1e1b4b var(--tw-gradient-to-position)}html{scroll-behavior:smooth}body{font-family:Roboto,sans-serif}.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.-inset-1{top:-.25rem;right:-.25rem;bottom:-.25rem;left:-.25rem}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-bottom-0\.5{bottom:-.125rem}.-bottom-1{bottom:-.25rem}.-bottom-1\.5{bottom:-.375rem}.-bottom-12{bottom:-3rem}.-bottom-2{bottom:-.5rem}.-bottom-4{bottom:-1rem}.-left-1\.5{left:-.375rem}.-right-0\.5{right:-.125rem}.-right-1{right:-.25rem}.-right-1\.5{right:-.375rem}.-top-1\.5{top:-.375rem}.-top-2{top:-.5rem}.bottom-0{bottom:0}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.bottom-2\.5{bottom:.625rem}.bottom-20{bottom:5rem}.bottom-4{bottom:1rem}.bottom-5{bottom:1.25rem}.bottom-6{bottom:1.5rem}.bottom-\[60px\]{bottom:60px}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.left-2\.5{left:.625rem}.left-20{left:5rem}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-20{right:5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\/2{top:50%}.top-2{top:.5rem}.top-20{top:5rem}.top-3{top:.75rem}.top-full{top:100%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.float-right{float:right}.float-left{float:left}.float-none{float:none}.clear-left{clear:left}.clear-right{clear:right}.clear-both{clear:both}.clear-none{clear:none}.-m-1{margin:-.25rem}.-m-2{margin:-.5rem}.-m-4{margin:-1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-4{margin:1rem}.-mx-1\.5{margin-left:-.375rem;margin-right:-.375rem}.-mx-5{margin-left:-1.25rem;margin-right:-1.25rem}.-my-1\.5{margin-top:-.375rem;margin-bottom:-.375rem}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.-mb-px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.\!block{display:block!important}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.inline-table{display:inline-table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row-group{display:table-row-group}.table-row{display:table-row}.flow-root{display:flow-root}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.list-item{display:list-item}.hidden{display:none}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-20{height:5rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\/6{height:83.333333%}.h-56{height:14rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[200px\]{height:200px}.h-\[300px\]{height:300px}.h-\[400px\]{height:400px}.h-auto{height:auto}.h-full{height:100%}.h-modal{height:calc(100% - 2rem)}.h-px{height:1px}.h-screen{height:100vh}.max-h-0{max-height:0px}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-80{max-height:20rem}.max-h-96{max-height:24rem}.max-h-\[400px\]{max-height:400px}.max-h-\[500px\]{max-height:500px}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[90vh\]{max-height:90vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-\[200px\]{min-height:200px}.min-h-\[220px\]{min-height:220px}.min-h-\[500px\]{min-height:500px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-36{width:9rem}.w-4{width:1rem}.w-4\/5{width:80%}.w-40{width:10rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-96{width:24rem}.w-\[15rem\]{width:15rem}.w-\[16rem\]{width:16rem}.w-\[300px\]{width:300px}.w-\[500px\]{width:500px}.w-\[this-is\\\\\]{width:this-is\\}.w-\[this-is\]{width:this-is}.w-\[weird-and-invalid\]{width:weird-and-invalid}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.min-w-0{min-width:0px}.min-w-96{min-width:24rem}.min-w-\[200px\]{min-width:200px}.min-w-\[24rem\]{min-width:24rem}.min-w-\[300px\]{min-width:300px}.min-w-full{min-width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-7xl{max-width:80rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[300px\]{max-width:300px}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.flex-grow-0{flex-grow:0}.grow{flex-grow:1}.table-auto{table-layout:auto}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.origin-left{transform-origin:left}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-x-0{--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\!transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.transform,.transform-cpu{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-none{transform:none}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-help{cursor:help}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-auto{touch-action:auto}.touch-none{touch-action:none}.touch-pan-x{--tw-pan-x: pan-x;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-left{--tw-pan-x: pan-left;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-right{--tw-pan-x: pan-right;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-y{--tw-pan-y: pan-y;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-up{--tw-pan-y: pan-up;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pan-down{--tw-pan-y: pan-down;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-pinch-zoom{--tw-pinch-zoom: pinch-zoom;touch-action:var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)}.touch-manipulation{touch-action:manipulation}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.select-auto{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.resize-none{resize:none}.resize-y{resize:vertical}.resize-x{resize:horizontal}.resize{resize:both}.snap-none{scroll-snap-type:none}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-y{scroll-snap-type:y var(--tw-scroll-snap-strictness)}.snap-both{scroll-snap-type:both var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness: mandatory}.snap-proximity{--tw-scroll-snap-strictness: proximity}.snap-start{scroll-snap-align:start}.snap-end{scroll-snap-align:end}.snap-center{scroll-snap-align:center}.snap-align-none{scroll-snap-align:none}.snap-normal{scroll-snap-stop:normal}.snap-always{scroll-snap-stop:always}.list-inside{list-style-position:inside}.list-outside{list-style-position:outside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.break-before-auto{-moz-column-break-before:auto;break-before:auto}.break-before-avoid{-moz-column-break-before:avoid;break-before:avoid}.break-before-all{-moz-column-break-before:all;break-before:all}.break-before-avoid-page{-moz-column-break-before:avoid;break-before:avoid-page}.break-before-page{-moz-column-break-before:page;break-before:page}.break-before-left{-moz-column-break-before:left;break-before:left}.break-before-right{-moz-column-break-before:right;break-before:right}.break-before-column{-moz-column-break-before:column;break-before:column}.break-inside-auto{-moz-column-break-inside:auto;break-inside:auto}.break-inside-avoid{-moz-column-break-inside:avoid;break-inside:avoid}.break-inside-avoid-page{break-inside:avoid-page}.break-inside-avoid-column{-moz-column-break-inside:avoid;break-inside:avoid-column}.break-after-auto{-moz-column-break-after:auto;break-after:auto}.break-after-avoid{-moz-column-break-after:avoid;break-after:avoid}.break-after-all{-moz-column-break-after:all;break-after:all}.break-after-avoid-page{-moz-column-break-after:avoid;break-after:avoid-page}.break-after-page{-moz-column-break-after:page;break-after:page}.break-after-left{-moz-column-break-after:left;break-after:left}.break-after-right{-moz-column-break-after:right;break-after:right}.break-after-column{-moz-column-break-after:column;break-after:column}.grid-flow-row{grid-auto-flow:row}.grid-flow-col{grid-auto-flow:column}.grid-flow-dense{grid-auto-flow:dense}.grid-flow-row-dense{grid-auto-flow:row dense}.grid-flow-col-dense{grid-auto-flow:column dense}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-\[200px\,1fr\]{grid-template-columns:200px 1fr}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-wrap-reverse{flex-wrap:wrap-reverse}.flex-nowrap{flex-wrap:nowrap}.place-content-center{place-content:center}.place-content-start{place-content:start}.place-content-end{place-content:end}.place-content-between{place-content:space-between}.place-content-around{place-content:space-around}.place-content-evenly{place-content:space-evenly}.place-content-baseline{place-content:baseline}.place-content-stretch{place-content:stretch}.place-items-start{place-items:start}.place-items-end{place-items:end}.place-items-center{place-items:center}.place-items-baseline{place-items:baseline}.place-items-stretch{place-items:stretch}.content-center{align-content:center}.content-start{align-content:flex-start}.content-end{align-content:flex-end}.content-between{align-content:space-between}.content-around{align-content:space-around}.content-evenly{align-content:space-evenly}.content-baseline{align-content:baseline}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.justify-evenly{justify-content:space-evenly}.justify-items-start{justify-items:start}.justify-items-end{justify-items:end}.justify-items-center{justify-items:center}.justify-items-stretch{justify-items:stretch}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.-space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1rem * var(--tw-space-x-reverse));margin-left:calc(-1rem * calc(1 - var(--tw-space-x-reverse)))}.-space-x-px>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(-1px * var(--tw-space-x-reverse));margin-left:calc(-1px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.space-y-reverse>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 1}.space-x-reverse>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 1}.divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-y-reverse>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 1}.divide-x-reverse>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 1}.divide-solid>:not([hidden])~:not([hidden]){border-style:solid}.divide-dashed>:not([hidden])~:not([hidden]){border-style:dashed}.divide-dotted>:not([hidden])~:not([hidden]){border-style:dotted}.divide-double>:not([hidden])~:not([hidden]){border-style:double}.divide-none>:not([hidden])~:not([hidden]){border-style:none}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.place-self-auto{place-self:auto}.place-self-start{place-self:start}.place-self-end{place-self:end}.place-self-center{place-self:center}.place-self-stretch{place-self:stretch}.self-auto{align-self:auto}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.self-baseline{align-self:baseline}.justify-self-auto{justify-self:auto}.justify-self-start{justify-self:start}.justify-self-end{justify-self:end}.justify-self-center{justify-self:center}.justify-self-stretch{justify-self:stretch}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.overflow-x-clip{overflow-x:clip}.overflow-y-clip{overflow-y:clip}.overflow-x-visible{overflow-x:visible}.overflow-y-visible{overflow-y:visible}.overflow-x-scroll{overflow-x:scroll}.overflow-y-scroll{overflow-y:scroll}.overscroll-auto{overscroll-behavior:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-none{overscroll-behavior:none}.overscroll-y-auto{overscroll-behavior-y:auto}.overscroll-y-contain{overscroll-behavior-y:contain}.overscroll-y-none{overscroll-behavior-y:none}.overscroll-x-auto{overscroll-behavior-x:auto}.overscroll-x-contain{overscroll-behavior-x:contain}.overscroll-x-none{overscroll-behavior-x:none}.scroll-auto{scroll-behavior:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.text-clip{text-overflow:clip}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.whitespace-pre-wrap{white-space:pre-wrap}.break-normal{overflow-wrap:normal;word-break:normal}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.break-keep{word-break:keep-all}.\!rounded-full{border-radius:9999px!important}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.rounded-t-xl{border-top-left-radius:.75rem;border-top-right-radius:.75rem}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-x{border-left-width:1px;border-right-width:1px}.border-y{border-top-width:1px;border-bottom-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-l-4{border-left-width:4px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-2{border-top-width:2px}.border-t-4{border-top-width:4px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-dotted{border-style:dotted}.border-double{border-style:double}.border-hidden{border-style:hidden}.border-none{border-style:none}.border-bg-dark{border-color:var(--color-bg-dark)}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(195 221 253 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(5 122 85 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(214 31 105 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(191 18 93 / var(--tw-border-opacity))}.border-primary{border-color:var(--color-primary)}.border-primary-light{border-color:var(--color-primary-light)}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(126 58 242 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(108 43 217 / var(--tw-border-opacity))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(251 213 213 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(224 36 36 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(200 30 30 / var(--tw-border-opacity))}.border-secondary{border-color:var(--color-secondary)}.border-transparent{border-color:transparent}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(227 160 8 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(194 120 3 / var(--tw-border-opacity))}.border-b-gray-900{--tw-border-opacity: 1;border-bottom-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-t-primary{border-top-color:var(--color-primary)}.bg-\[rgb\(255\,0\,0\)\]{--tw-bg-opacity: 1;background-color:rgb(255 0 0 / var(--tw-bg-opacity))}.bg-accent{background-color:var(--color-accent)}.bg-bg-dark-tone-panel{background-color:var(--color-bg-dark-tone-panel)}.bg-bg-light{background-color:var(--color-bg-light)}.bg-bg-light-tone{background-color:var(--color-bg-light-tone)}.bg-bg-light-tone-panel{background-color:var(--color-bg-light-tone-panel)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-50\/50{background-color:#f9fafb80}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(222 247 236 / var(--tw-bg-opacity))}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(49 196 141 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(243 250 247 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(229 237 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(88 80 236 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(254 236 220 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 232 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.bg-primary{background-color:var(--color-primary)}.bg-primary-light{background-color:var(--color-primary-light)}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(237 235 254 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(249 128 128 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(253 242 242 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.bg-secondary{background-color:var(--color-secondary)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/30{background-color:#ffffff4d}.bg-white\/50{background-color:#ffffff80}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(253 246 178 / var(--tw-bg-opacity))}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-5{--tw-bg-opacity: .05}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light{--tw-gradient-from: var(--color-bg-light) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500\/10{--tw-gradient-from: rgb(63 131 248 / .1) var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-600{--tw-gradient-from: #5850EC var(--tw-gradient-from-position);--tw-gradient-to: rgb(88 80 236 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-lime-500{--tw-gradient-from: #84cc16 var(--tw-gradient-from-position);--tw-gradient-to: rgb(132 204 22 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #F05252 var(--tw-gradient-from-position);--tw-gradient-to: rgb(240 82 82 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-200{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-teal-500{--tw-gradient-from: #0694A2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 148 162 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-5\%{--tw-gradient-from-position: 5%}.via-bg-light{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--color-bg-light) var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-blue-600{--tw-gradient-to: rgb(28 100 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #1C64F2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-cyan-600{--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #0891b2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-green-600{--tw-gradient-to: rgb(5 122 85 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #057A55 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-lime-600{--tw-gradient-to: rgb(101 163 13 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #65a30d var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-pink-600{--tw-gradient-to: rgb(214 31 105 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #D61F69 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-600{--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #7E3AF2 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-red-600{--tw-gradient-to: rgb(224 36 36 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #E02424 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-teal-600{--tw-gradient-to: rgb(4 116 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #047481 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-10\%{--tw-gradient-via-position: 10%}.to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.to-blue-700{--tw-gradient-to: #1A56DB var(--tw-gradient-to-position)}.to-cyan-700{--tw-gradient-to: #0e7490 var(--tw-gradient-to-position)}.to-green-500{--tw-gradient-to: #0E9F6E var(--tw-gradient-to-position)}.to-green-700{--tw-gradient-to: #046C4E var(--tw-gradient-to-position)}.to-lime-200{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.to-lime-700{--tw-gradient-to: #4d7c0f var(--tw-gradient-to-position)}.to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.to-pink-700{--tw-gradient-to: #BF125D var(--tw-gradient-to-position)}.to-purple-500\/10{--tw-gradient-to: rgb(144 97 249 / .1) var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #7E3AF2 var(--tw-gradient-to-position)}.to-purple-700{--tw-gradient-to: #6C2BD9 var(--tw-gradient-to-position)}.to-red-700{--tw-gradient-to: #C81E1E var(--tw-gradient-to-position)}.to-teal-700{--tw-gradient-to: #036672 var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.to-100\%{--tw-gradient-to-position: 100%}.decoration-slice{-webkit-box-decoration-break:slice;box-decoration-break:slice}.decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.box-decoration-slice{-webkit-box-decoration-break:slice;box-decoration-break:slice}.box-decoration-clone{-webkit-box-decoration-break:clone;box-decoration-break:clone}.bg-fixed{background-attachment:fixed}.bg-local{background-attachment:local}.bg-scroll{background-attachment:scroll}.bg-clip-border{background-clip:border-box}.bg-clip-padding{background-clip:padding-box}.bg-clip-content{background-clip:content-box}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.bg-repeat{background-repeat:repeat}.bg-no-repeat{background-repeat:no-repeat}.bg-repeat-x{background-repeat:repeat-x}.bg-repeat-y{background-repeat:repeat-y}.bg-repeat-round{background-repeat:round}.bg-repeat-space{background-repeat:space}.bg-origin-border{background-origin:border-box}.bg-origin-padding{background-origin:padding-box}.bg-origin-content{background-origin:content-box}.fill-blue-600{fill:#1c64f2}.fill-current{fill:currentColor}.fill-gray-300{fill:#d1d5db}.fill-gray-600{fill:#4b5563}.fill-green-500{fill:#0e9f6e}.fill-pink-600{fill:#d61f69}.fill-purple-600{fill:#7e3af2}.fill-red-600{fill:#e02424}.fill-secondary{fill:var(--color-secondary)}.fill-white{fill:#fff}.fill-yellow-400{fill:#e3a008}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-fill{-o-object-fit:fill;object-fit:fill}.object-none{-o-object-fit:none;object-fit:none}.object-scale-down{-o-object-fit:scale-down;object-fit:scale-down}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-10{padding:2.5rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-20{padding-bottom:5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-80{padding-bottom:20rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pl-6{padding-left:1.5rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-12{padding-top:3rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.text-start{text-align:start}.text-end{text-align:end}.align-baseline{vertical-align:baseline}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.align-text-top{vertical-align:text-top}.align-text-bottom{vertical-align:text-bottom}.align-sub{vertical-align:sub}.align-super{vertical-align:super}.font-mono{font-family:JetBrains Mono,Consolas,monospace}.font-sans{font-family:Inter,Outfit,PTSans,Roboto,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-5xl{font-size:3rem;line-height:1}.text-6xl{font-size:3.75rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.font-thin{font-weight:100}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.not-italic{font-style:normal}.normal-nums{font-variant-numeric:normal}.ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.slashed-zero{--tw-slashed-zero: slashed-zero;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.lining-nums{--tw-numeric-figure: lining-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.oldstyle-nums{--tw-numeric-figure: oldstyle-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.proportional-nums{--tw-numeric-spacing: proportional-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.diagonal-fractions{--tw-numeric-fraction: diagonal-fractions;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.stacked-fractions{--tw-numeric-fraction: stacked-fractions;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-6{line-height:1.5rem}.leading-9{line-height:2.25rem}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.text-\[\#336699\]\/\[\.35\]{color:#33669959}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(4 108 78 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(81 69 205 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(66 56 157 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.text-light-text-panel{color:var(--color-light-text-panel)}.text-orange-200{--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(255 90 31 / var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity: 1;color:rgb(208 56 1 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(214 31 105 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(191 18 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(153 21 75 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(108 43 217 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(85 33 181 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(253 232 232 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.text-secondary{color:var(--color-secondary)}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(6 148 162 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(227 160 8 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(142 75 16 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.decoration-solid{text-decoration-style:solid}.decoration-double{text-decoration-style:double}.decoration-dotted{text-decoration-style:dotted}.decoration-dashed{text-decoration-style:dashed}.decoration-wavy{text-decoration-style:wavy}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.accent-blue-500{accent-color:#3F83F8}.accent-blue-600{accent-color:#1C64F2}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.bg-blend-normal{background-blend-mode:normal}.bg-blend-multiply{background-blend-mode:multiply}.bg-blend-screen{background-blend-mode:screen}.bg-blend-overlay{background-blend-mode:overlay}.bg-blend-darken{background-blend-mode:darken}.bg-blend-lighten{background-blend-mode:lighten}.bg-blend-color-dodge{background-blend-mode:color-dodge}.bg-blend-color-burn{background-blend-mode:color-burn}.bg-blend-hard-light{background-blend-mode:hard-light}.bg-blend-soft-light{background-blend-mode:soft-light}.bg-blend-difference{background-blend-mode:difference}.bg-blend-exclusion{background-blend-mode:exclusion}.bg-blend-hue{background-blend-mode:hue}.bg-blend-saturation{background-blend-mode:saturation}.bg-blend-color{background-blend-mode:color}.bg-blend-luminosity{background-blend-mode:luminosity}.mix-blend-normal{mix-blend-mode:normal}.mix-blend-multiply{mix-blend-mode:multiply}.mix-blend-screen{mix-blend-mode:screen}.mix-blend-overlay{mix-blend-mode:overlay}.mix-blend-darken{mix-blend-mode:darken}.mix-blend-lighten{mix-blend-mode:lighten}.mix-blend-color-dodge{mix-blend-mode:color-dodge}.mix-blend-color-burn{mix-blend-mode:color-burn}.mix-blend-hard-light{mix-blend-mode:hard-light}.mix-blend-soft-light{mix-blend-mode:soft-light}.mix-blend-difference{mix-blend-mode:difference}.mix-blend-exclusion{mix-blend-mode:exclusion}.mix-blend-hue{mix-blend-mode:hue}.mix-blend-saturation{mix-blend-mode:saturation}.mix-blend-color{mix-blend-mode:color}.mix-blend-luminosity{mix-blend-mode:luminosity}.mix-blend-plus-lighter{mix-blend-mode:plus-lighter}.\!shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-blue-500\/50{--tw-shadow-color: rgb(63 131 248 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-blue-800\/80{--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-500\/50{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-cyan-800\/80{--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-500\/50{--tw-shadow-color: rgb(14 159 110 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-green-800\/80{--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-500\/50{--tw-shadow-color: rgb(132 204 22 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-lime-800\/80{--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-500\/50{--tw-shadow-color: rgb(231 70 148 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-pink-800\/80{--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-500\/50{--tw-shadow-color: rgb(144 97 249 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-purple-800\/80{--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-500\/50{--tw-shadow-color: rgb(240 82 82 / .5);--tw-shadow: var(--tw-shadow-colored)}.shadow-red-800\/80{--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.shadow-teal-500\/50{--tw-shadow-color: rgb(6 148 162 / .5);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-dashed{outline-style:dashed}.outline-dotted{outline-style:dotted}.outline-double{outline-style:double}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-blue-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.ring-cyan-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-gray-600{--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.ring-gray-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.ring-green-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.ring-pink-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.ring-pink-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.ring-purple-800{--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.ring-purple-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.ring-red-400{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.ring-red-900{--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.\!filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter-none{filter:none}.backdrop-blur{--tw-backdrop-blur: blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-grayscale{--tw-backdrop-grayscale: grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-invert{--tw-backdrop-invert: invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-sepia{--tw-backdrop-sepia: sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter-none{-webkit-backdrop-filter:none;backdrop-filter:none}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{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-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.content-\[\'this-is-also-valid\]-weirdly-enough\'\]{--tw-content: "this-is-also-valid]-weirdly-enough";content:var(--tw-content)}.scrollbar{scrollbar-width:auto;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.scrollbar-thin::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar-thin::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar-thin::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar-thin::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar-thin::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar-thin::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar-thin::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar-thin::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar-thin::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar-thin::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar-track-bg-light{--scrollbar-track: var(--color-bg-light) !important}.scrollbar-track-bg-light-tone{--scrollbar-track: var(--color-bg-light-tone) !important}.scrollbar-track-blue-100{--scrollbar-track: #E1EFFE !important}.scrollbar-track-gray-200{--scrollbar-track: #E5E7EB !important}.scrollbar-thumb-bg-light-tone{--scrollbar-thumb: var(--color-bg-light-tone) !important}.scrollbar-thumb-bg-light-tone-panel{--scrollbar-thumb: var(--color-bg-light-tone-panel) !important}.scrollbar-thumb-blue-500{--scrollbar-thumb: #3F83F8 !important}.scrollbar-thumb-gray-400{--scrollbar-thumb: #9CA3AF !important}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}h1{margin-bottom:1.5rem;font-size:2.25rem;line-height:2.5rem;font-weight:700;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}h1:is(.dark *){--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}@media (min-width: 768px){h1{font-size:3rem;line-height:1}}h2{margin-bottom:1rem;font-size:1.875rem;line-height:2.25rem;font-weight:600;--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}h2:is(.dark *){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}h3{margin-bottom:.75rem;font-size:1.5rem;line-height:2rem;font-weight:500;--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}h3:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}h4{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:500;--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}h4:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}h1,h2{border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity));padding-bottom:.5rem}h1:is(.dark *),h2:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}p{overflow-wrap:break-word;font-family:Inter,Outfit,PTSans,Roboto,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-size:1rem;line-height:1.5rem;line-height:1.625;letter-spacing:-.025em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}p:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}@media (min-width: 768px){p{font-size:1.125rem;line-height:1.75rem;line-height:2}}table{border-collapse:collapse;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}table:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}th,td{border-width:1px;--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity));padding:.5rem}th:is(.dark *),td:is(.dark *){--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}tr:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}tr:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}ul,ol{margin-top:1rem;margin-bottom:1rem;padding-left:1rem;padding-right:1rem;font-size:1rem;line-height:1.75rem}ul{margin-left:.5rem;list-style-type:disc}ul>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}li{position:relative;padding-left:.5rem}ol{margin-left:.5rem;list-style-type:decimal}ol>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}ul ul,ol ol,ul ol,ol ul{margin-top:.5rem;margin-bottom:0;margin-left:1.5rem}li::marker{color:#4b5563}:root{--color-primary: #4a90e2;--color-primary-light: #6ab7f1;--color-secondary: #8ab8e0;--color-accent: #3a7ca1;--color-light-text-panel: #ffffff;--color-dark-text-panel: #e0e0e0;--color-bg-light-panel: #f0faff;--color-bg-light: #ffffff;--color-bg-light-tone: #e0f0ff;--color-bg-light-code-block: #f5faff;--color-bg-light-tone-panel: #d0e0f0;--color-bg-light-discussion: #f8faff;--color-bg-light-discussion-odd: #f0faff;--color-bg-dark: #0a0a1a;--color-bg-dark-tone: #151521;--color-bg-dark-tone-panel: #1c1c2a;--color-bg-dark-code-block: #151521;--color-bg-dark-discussion: #0e0e1a;--color-bg-dark-discussion-odd: #0d0d1a}textarea,input,select{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}textarea:is(.dark *),input:is(.dark *),select:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.background-color{min-height:100vh;background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #CABFFD var(--tw-gradient-to-position)}.background-color:is(.dark *){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}.toolbar-color{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.toolbar-color:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.panels-color{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.panels-color:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.unicolor-panels-color{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.unicolor-panels-color:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.message{position:relative;margin:.5rem;display:flex;width:100%;flex-grow:1;flex-direction:column;flex-wrap:wrap;overflow:visible;border-radius:.5rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity));padding:1.25rem 1.25rem .75rem;font-size:1.125rem;line-height:1.75rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.message:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.message{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(35 56 118 / var(--tw-text-opacity))}.message:is(.dark *){background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #233876 var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1E429F var(--tw-gradient-to-position);--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.message:hover{--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.message:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.message:nth-child(2n){--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity))}.message:nth-child(2n):is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.message:nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.message:nth-child(odd):is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.message-header{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:600}.message-content{font-size:1.125rem;line-height:1.75rem;line-height:1.625}body{min-height:100vh;--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));font-size:1rem;line-height:1.5rem}body:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.discussion{margin-right:.5rem;font-size:.75rem;line-height:1rem}.discussion:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.discussion-hilighted{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));font-size:.75rem;line-height:1rem}.discussion-hilighted:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.bg-gradient-welcome{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #E1EFFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(225 239 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #CABFFD var(--tw-gradient-to-position)}.bg-gradient-welcome:is(.dark *){--tw-gradient-from: #1E429F var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 66 159 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #4A1D96 var(--tw-gradient-to-position)}.bg-gradient-progress{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #C3DDFD var(--tw-gradient-from-position);--tw-gradient-to: rgb(195 221 253 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #A4CAFE var(--tw-gradient-to-position)}.bg-gradient-progress:is(.dark *){--tw-gradient-from: #1A56DB var(--tw-gradient-from-position);--tw-gradient-to: rgb(26 86 219 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.text-gradient-title{background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #1A56DB var(--tw-gradient-from-position);--tw-gradient-to: rgb(26 86 219 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position);-webkit-background-clip:text;background-clip:text;color:transparent}.text-gradient-title:is(.dark *){--tw-gradient-from: #A4CAFE var(--tw-gradient-from-position);--tw-gradient-to: rgb(164 202 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.text-subtitle{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-subtitle:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.text-author{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.text-author:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.text-loading{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.text-loading:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.text-progress{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.text-progress:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.btn-primary{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.card{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:1.5rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.card:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.input{border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));padding:.5rem 1rem}.input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.input:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.input:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.label{margin-bottom:.25rem;display:block;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.label:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.link{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.link:hover{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.link:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.link:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.navbar-container{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity));--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.navbar-container:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.game-menu{position:relative;display:flex;align-items:center;justify-content:center}.text-shadow-custom{text-shadow:1px 1px 0px #e0e0e0,-1px -1px 0px #e0e0e0,1px -1px 0px #e0e0e0,-1px 1px 0px #e0e0e0}.animated-progressbar-bg{position:relative;height:2.5rem;width:100%;overflow:hidden;border-radius:.125rem;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #172554 var(--tw-gradient-from-position);--tw-gradient-to: rgb(23 37 84 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #233876 var(--tw-gradient-to-position);--tw-shadow: 0 0 15px rgba(245,158,11,.2);--tw-shadow-colored: 0 0 15px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.animated-progressbar-bg:is(.dark *){--tw-gradient-from: #000000 var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #172554 var(--tw-gradient-to-position)}.animated-progressbar-fg{position:absolute;top:0;left:0;height:100%;background-image:linear-gradient(to right,var(--tw-gradient-stops));--tw-gradient-from: #3F83F8 var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #76A9FA var(--tw-gradient-to-position);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.animated-progressbar-fg:is(.dark *){--tw-gradient-from: #76A9FA var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.menu-item{margin-bottom:.5rem;padding:.5rem 1rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity));transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.menu-item:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.menu-item:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.menu-item:is(.dark *):hover{--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.menu-item.active-link{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-top-left-radius:.375rem;border-top-right-radius:.375rem;--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity));font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity));transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);text-shadow:1px 1px 0px #e0e0e0,-1px -1px 0px #e0e0e0,1px -1px 0px #e0e0e0,-1px 1px 0px #e0e0e0}.menu-item.active-link:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.menu-item.active-link:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));--tw-text-opacity: 1;color:rgb(35 56 118 / var(--tw-text-opacity))}.menu-item.active-link:is(.dark *):hover{--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.menu-item.active-link{text-shadow:0 0 10px rgba(128,128,128,.5)}.menu-item.active-link:before{content:"";position:absolute;bottom:-5px;left:0;width:100%;height:5px;background:linear-gradient(to right,#4a90e2,#8ab8e0,#4a90e2);border-radius:10px;animation:shimmer 2s infinite}.dark .menu-item.active-link:before{background:linear-gradient(to right,#6ab7f1,#aaa,#6ab7f1)}@keyframes shimmer{0%{background-position:-100% 0}to{background-position:100% 0}}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.feather-emoji{display:inline-block;margin-left:5px;animation:bounce 2s infinite}.app-card{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.app-card:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.app-card:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.app-card:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}button{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}button:hover{--tw-translate-y: -.125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scrollbar-thin{scrollbar-width:thin;scrollbar-color:#76A9FA #C3DDFD}.dark .scrollbar-thin{scrollbar-color:#1C64F2 #1E429F}.scrollbar-thin::-webkit-scrollbar{width:.5rem}.scrollbar-thin::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.scrollbar-thin:is(.dark *)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.scrollbar-thin::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.scrollbar-thin:is(.dark *)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.scrollbar-thin::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.scrollbar-thin:is(.dark *)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.btn{display:flex;align-items:center;border-radius:.5rem;padding:.5rem 1rem;font-weight:600;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.btn-primary{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn-primary:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.btn-primary:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.btn-primary:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.btn-secondary{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.btn-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.btn-secondary:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}.btn-secondary:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.btn-secondary:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.btn-secondary:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.search-input{width:100%;border-bottom-width:2px;--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity));background-color:transparent;padding:.5rem 1rem .5rem 2.5rem;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.search-input:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity));outline:2px solid transparent;outline-offset:2px}.search-input:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity));--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.search-input:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.scrollbar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.scrollbar::-webkit-scrollbar{display:block;width:8px;height:8px}.scrollbar{--scrollbar-track: #C3DDFD;--scrollbar-thumb: #76A9FA;scrollbar-width:thin;scrollbar-color:#76A9FA #C3DDFD}.dark .scrollbar{scrollbar-color:#1C64F2 #1E429F}.scrollbar::-webkit-scrollbar{width:.5rem}.scrollbar::-webkit-scrollbar-track{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.scrollbar:is(.dark *)::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.scrollbar::-webkit-scrollbar-thumb{border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.scrollbar:is(.dark *)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.scrollbar::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.scrollbar:is(.dark *)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.scrollbar{--scrollbar-thumb-hover: #3F83F8}.scrollbar:is(.dark *){--scrollbar-track: #1A56DB;--scrollbar-thumb: #1C64F2;--scrollbar-thumb-hover: #3F83F8}.card-title{margin-bottom:.5rem;font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.card-title:is(.dark *){--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.card-content{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.card-content:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.card-footer{margin-top:1rem;display:flex;align-items:center;justify-content:space-between}.card-footer-button{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.card-footer-button:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.subcard{border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(235 245 255 / var(--tw-bg-opacity));padding:1rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.subcard:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.subcard-title{margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.subcard-title:is(.dark *){--tw-text-opacity: 1;color:rgb(225 239 254 / var(--tw-text-opacity))}.subcard-content{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.subcard-content:is(.dark *){--tw-text-opacity: 1;color:rgb(164 202 254 / var(--tw-text-opacity))}.subcard-footer{margin-top:1rem;display:flex;align-items:center;justify-content:space-between}.subcard-footer-button{border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity));padding:.5rem 1rem;font-weight:700;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.subcard-footer-button:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.discussion-toolbox{display:flex;--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));align-items:center;gap:.5rem;border-top-left-radius:.375rem;border-bottom-left-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.group:hover .discussion-toolbox{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.discussion-toolbox:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.lollms-title-style{text-shadow:2px 2px 4px rgba(0,0,0,.2),2px 2px 0px white,-2px -2px 0px white,2px -2px 0px white,-2px 2px 0px white;background:linear-gradient(45deg,#f59e0b,#fbbf24);-webkit-background-clip:text;background-clip:text}.chat-bar{position:relative;display:flex;flex-grow:1;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;gap:.5rem;--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity));padding:.25rem;--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity));--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.chat-bar:hover{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.chat-bar:is(.dark *){--tw-border-opacity: 1;border-color:rgb(4 108 78 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}.chat-bar{height:50px;transition:all .3s ease}.chat-bar:hover{box-shadow:0 4px 6px -1px #00ff001a,0 2px 4px -1px #00ff000f}.svg-button{border-radius:9999px;padding:.5rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.svg-button:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity));--tw-ring-offset-width: 2px}.svg-button:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.svg-button:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.svg-button:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.svg-button:active{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.svg-button:active:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.nav-button{border-radius:.375rem;padding:.5rem .75rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.2s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.nav-button:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.nav-button:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.nav-button:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.nav-button-active{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.nav-button-active:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.nav-button-active:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.nav-button-active:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.btn-on{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.btn-on:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.btn-off{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.btn-off:is(.dark *){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.interesting-facts{margin-top:1.5rem;margin-bottom:1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:.5rem;background-color:#fffc;padding:1rem;--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.interesting-facts:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.interesting-facts:is(.dark *){background-color:#1f2937cc}.toolbar-button{cursor:pointer;border-style:none;background-color:transparent;padding:.5rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.toolbar-button:hover{--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.context-menu{position:absolute;background-color:#fff;border:1px solid #e0e0e0;box-shadow:0 2px 10px #0000001a;border-radius:4px;padding:8px 0;min-width:150px;z-index:1000}.context-menu-item{padding:8px 16px;font-size:14px;color:#333;cursor:pointer;transition:background-color .2s ease}.context-menu-item:hover{background-color:#f5f5f5}.context-menu-separator{height:1px;background-color:#e0e0e0;margin:4px 0}.context-menu-item-disabled{color:#999;cursor:not-allowed}.context-menu-item-icon{margin-right:8px}.steps-container{margin-bottom:1rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.steps-header{display:flex;cursor:pointer;align-items:center;--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity));padding:1rem}.steps-header:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.steps-title{margin:0;font-size:1rem;line-height:1.5rem;font-weight:600}.step-item{margin-bottom:.5rem;border-left-width:2px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding-left:1rem}.steps-container{margin-bottom:1rem;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.steps-container:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.steps-header{display:flex;cursor:pointer;align-items:center;border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity));padding:1rem}.steps-header:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.steps-icon{margin-right:1rem}.steps-summary{flex-grow:1}.steps-title{margin:0;font-size:1rem;line-height:1.5rem;font-weight:600;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.steps-title:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.steps-status{margin:0;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.steps-status:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.toggle-icon{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.toggle-icon:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.steps-content{padding:1rem}.steps-list{margin:0;list-style-type:none;padding:0}.step-item{margin-bottom:.5rem;border-left-width:2px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding-left:1rem}.step-item:last-child{margin-bottom:0}.step-item:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.step-container{margin-bottom:1rem;transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.step-wrapper{display:flex;align-items:flex-start;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.75rem}.step-wrapper:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.step-icon{margin-right:.75rem;height:1.5rem;width:1.5rem;flex-shrink:0}.icon-success{height:1.5rem;width:1.5rem;--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.icon-fail{height:1.5rem;width:1.5rem;--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.icon-spinner{height:1.5rem;width:1.5rem}@keyframes spin{to{transform:rotate(360deg)}}.icon-spinner{animation:spin 1s linear infinite;border-radius:9999px;border-width:2px;--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity));border-top-color:transparent}.icon-spinner:is(.dark *){--tw-border-opacity: 1;border-color:rgb(118 169 250 / var(--tw-border-opacity))}.step-content{flex-grow:1}.step-text{font-size:1rem;line-height:1.5rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.step-text:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.step-description{margin-top:.25rem;font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.step-description:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.fade-enter-active,.fade-leave-active{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.fade-enter,.fade-leave-to{opacity:0}.status-icon{cursor:pointer;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.icon{height:1.5rem;width:1.5rem}.icon-success{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.icon-success:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.icon-fail{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.icon-fail:is(.dark *){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.icon-text{font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.icon-text:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}.sm\:container{max-width:640px}@media (min-width: 768px){.sm\:container{max-width:768px}}@media (min-width: 1024px){.sm\:container{max-width:1024px}}@media (min-width: 1280px){.sm\:container{max-width:1280px}}@media (min-width: 1536px){.sm\:container{max-width:1536px}}}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:left-\[2px\]:after{content:var(--tw-content);left:2px}.after\:top-\[2px\]:after{content:var(--tw-content);top:2px}.after\:h-5:after{content:var(--tw-content);height:1.25rem}.after\:w-5:after{content:var(--tw-content);width:1.25rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:border:after{content:var(--tw-content);border-width:1px}.after\:border-gray-300:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.after\:bg-white:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.last\:mb-0:last-child{margin-bottom:0}.even\:bg-bg-light-discussion-odd:nth-child(2n){background-color:var(--color-bg-light-discussion-odd)}.checked\:translate-x-6:checked{--tw-translate-x: 1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.checked\:bg-blue-500:checked{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.group:hover .group-hover\:visible{visibility:visible}.group:hover .group-hover\:block{display:block}.group\/item:hover .group-hover\/item\:scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group\/item:hover .group-hover\/item\:scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:border-secondary{border-color:var(--color-secondary)}.group:hover .group-hover\:bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-white\/50{background-color:#ffffff80}.group:hover .group-hover\:bg-opacity-0{--tw-bg-opacity: 0}.group:hover .group-hover\:from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-green-400{--tw-gradient-from: #31C48D var(--tw-gradient-from-position);--tw-gradient-to: rgb(49 196 141 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-pink-500{--tw-gradient-from: #E74694 var(--tw-gradient-from-position);--tw-gradient-to: rgb(231 70 148 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-500{--tw-gradient-from: #9061F9 var(--tw-gradient-from-position);--tw-gradient-to: rgb(144 97 249 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-purple-600{--tw-gradient-from: #7E3AF2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 58 242 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-red-200{--tw-gradient-from: #FBD5D5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(251 213 213 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:from-teal-300{--tw-gradient-from: #7EDCE2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(126 220 226 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.group:hover .group-hover\:via-red-300{--tw-gradient-to: rgb(248 180 180 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #F8B4B4 var(--tw-gradient-via-position), var(--tw-gradient-to)}.group:hover .group-hover\:to-blue-500{--tw-gradient-to: #3F83F8 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-blue-600{--tw-gradient-to: #1C64F2 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-lime-300{--tw-gradient-to: #bef264 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-orange-400{--tw-gradient-to: #FF8A4C var(--tw-gradient-to-position)}.group:hover .group-hover\:to-pink-500{--tw-gradient-to: #E74694 var(--tw-gradient-to-position)}.group:hover .group-hover\:to-yellow-200{--tw-gradient-to: #FCE96A var(--tw-gradient-to-position)}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.group\/item:hover .group-hover\/item\:opacity-100,.group:hover .group-hover\:opacity-100{opacity:1}.group:focus .group-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.group:focus .group-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.group:focus .group-focus\:ring-white{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.peer:checked~.peer-checked\:bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.peer:checked~.peer-checked\:text-primary{color:var(--color-primary)}.peer:checked~.peer-checked\:after\:translate-x-full:after{content:var(--tw-content);--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:checked~.peer-checked\:after\:border-white:after{content:var(--tw-content);--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.peer:focus~.peer-focus\:outline-none{outline:2px solid transparent;outline-offset:2px}.peer:focus~.peer-focus\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.peer:focus~.peer-focus\:ring-blue-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.hover\:z-10:hover{z-index:10}.hover\:z-20:hover{z-index:20}.hover\:h-8:hover{height:2rem}.hover\:-translate-y-1:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:-translate-y-2:hover{--tw-translate-y: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-x-100:hover{--tw-scale-x: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-blue-300:hover{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.hover\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-green-200:hover{--tw-border-opacity: 1;border-color:rgb(188 240 218 / var(--tw-border-opacity))}.hover\:border-primary:hover{border-color:var(--color-primary)}.hover\:border-primary-light:hover{border-color:var(--color-primary-light)}.hover\:border-secondary:hover{border-color:var(--color-secondary)}.hover\:bg-bg-light-tone:hover{background-color:var(--color-bg-light-tone)}.hover\:bg-bg-light-tone-panel:hover{background-color:var(--color-bg-light-tone-panel)}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(225 239 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(118 169 250 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-400:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 21 75 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{background-color:var(--color-primary)}.hover\:bg-primary-light:hover{background-color:var(--color-primary-light)}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(85 33 181 / var(--tw-bg-opacity))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(253 232 232 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(253 242 242 / var(--tw-bg-opacity))}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.hover\:bg-yellow-300:hover{--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:bg-gradient-to-bl:hover{background-image:linear-gradient(to bottom left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-br:hover{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.hover\:bg-gradient-to-l:hover{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.hover\:bg-gradient-to-r:hover{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.hover\:from-blue-50:hover{--tw-gradient-from: #EBF5FF var(--tw-gradient-from-position);--tw-gradient-to: rgb(235 245 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-blue-500\/20:hover{--tw-gradient-from: rgb(63 131 248 / .2) var(--tw-gradient-from-position);--tw-gradient-to: rgb(63 131 248 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-green-500:hover{--tw-gradient-from: #0E9F6E var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 159 110 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-teal-200:hover{--tw-gradient-from: #AFECEF var(--tw-gradient-from-position);--tw-gradient-to: rgb(175 236 239 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:to-green-600:hover{--tw-gradient-to: #057A55 var(--tw-gradient-to-position)}.hover\:to-lime-200:hover{--tw-gradient-to: #d9f99d var(--tw-gradient-to-position)}.hover\:to-purple-50:hover{--tw-gradient-to: #F6F5FF var(--tw-gradient-to-position)}.hover\:to-purple-500\/20:hover{--tw-gradient-to: rgb(144 97 249 / .2) var(--tw-gradient-to-position)}.hover\:font-bold:hover{font-weight:700}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(28 100 242 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.hover\:text-gray-800:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-green-300:hover{--tw-text-opacity: 1;color:rgb(132 225 188 / var(--tw-text-opacity))}.hover\:text-green-500:hover{--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.hover\:text-green-600:hover{--tw-text-opacity: 1;color:rgb(5 122 85 / var(--tw-text-opacity))}.hover\:text-indigo-600:hover{--tw-text-opacity: 1;color:rgb(88 80 236 / var(--tw-text-opacity))}.hover\:text-primary:hover{color:var(--color-primary)}.hover\:text-purple-600:hover{--tw-text-opacity: 1;color:rgb(126 58 242 / var(--tw-text-opacity))}.hover\:text-red-300:hover{--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(224 36 36 / var(--tw-text-opacity))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(200 30 30 / var(--tw-text-opacity))}.hover\:text-secondary:hover{color:var(--color-secondary)}.hover\:text-teal-600:hover{--tw-text-opacity: 1;color:rgb(4 116 129 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:text-yellow-600:hover{--tw-text-opacity: 1;color:rgb(159 88 10 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-none:hover{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:scrollbar-thumb-primary{--scrollbar-thumb-hover: var(--color-primary) !important}.before\:hover\:text-center:hover:before{content:var(--tw-content);text-align:center}.hover\:before\:text-center:hover:before{content:var(--tw-content);text-align:center}.focus\:z-10:focus{z-index:10}.focus\:border-blue-300:focus{--tw-border-opacity: 1;border-color:rgb(164 202 254 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.focus\:border-secondary:focus{border-color:var(--color-secondary)}.focus\:border-transparent:focus{border-color:transparent}.focus\:text-blue-700:focus{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-4:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(195 221 253 / var(--tw-ring-opacity))}.focus\:ring-blue-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(164 202 254 / var(--tw-ring-opacity))}.focus\:ring-blue-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(118 169 250 / var(--tw-ring-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.focus\:ring-blue-500\/50:focus{--tw-ring-color: rgb(63 131 248 / .5)}.focus\:ring-blue-700:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(26 86 219 / var(--tw-ring-opacity))}.focus\:ring-cyan-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 243 252 / var(--tw-ring-opacity))}.focus\:ring-cyan-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(103 232 249 / var(--tw-ring-opacity))}.focus\:ring-gray-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(229 231 235 / var(--tw-ring-opacity))}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.focus\:ring-gray-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(156 163 175 / var(--tw-ring-opacity))}.focus\:ring-gray-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.focus\:ring-green-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(188 240 218 / var(--tw-ring-opacity))}.focus\:ring-green-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(132 225 188 / var(--tw-ring-opacity))}.focus\:ring-green-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(49 196 141 / var(--tw-ring-opacity))}.focus\:ring-green-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity))}.focus\:ring-lime-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(217 249 157 / var(--tw-ring-opacity))}.focus\:ring-lime-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(190 242 100 / var(--tw-ring-opacity))}.focus\:ring-pink-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 209 232 / var(--tw-ring-opacity))}.focus\:ring-pink-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 217 / var(--tw-ring-opacity))}.focus\:ring-purple-200:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(220 215 254 / var(--tw-ring-opacity))}.focus\:ring-purple-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(202 191 253 / var(--tw-ring-opacity))}.focus\:ring-red-100:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(253 232 232 / var(--tw-ring-opacity))}.focus\:ring-red-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 180 180 / var(--tw-ring-opacity))}.focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(240 82 82 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-color: var(--color-secondary)}.focus\:ring-teal-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(126 220 226 / var(--tw-ring-opacity))}.focus\:ring-yellow-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(250 202 21 / var(--tw-ring-opacity))}.focus\:ring-yellow-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 160 8 / var(--tw-ring-opacity))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:hover\:text-center:hover:focus{text-align:center}.hover\:focus\:text-center:focus:hover{text-align:center}.active\:scale-75:active{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\:scrollbar-thumb-secondary{--scrollbar-thumb-active: var(--color-secondary) !important}.dark\:divide-gray-700:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity))}.dark\:border-bg-light:is(.dark *){border-color:var(--color-bg-light)}.dark\:border-blue-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.dark\:border-blue-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(26 86 219 / var(--tw-border-opacity))}.dark\:border-gray-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:border-gray-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:border-gray-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.dark\:border-gray-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.dark\:border-green-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(14 159 110 / var(--tw-border-opacity))}.dark\:border-pink-400:is(.dark *){--tw-border-opacity: 1;border-color:rgb(241 126 184 / var(--tw-border-opacity))}.dark\:border-pink-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(231 70 148 / var(--tw-border-opacity))}.dark\:border-purple-400:is(.dark *){--tw-border-opacity: 1;border-color:rgb(172 148 250 / var(--tw-border-opacity))}.dark\:border-purple-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(144 97 249 / var(--tw-border-opacity))}.dark\:border-red-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(240 82 82 / var(--tw-border-opacity))}.dark\:border-red-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(155 28 28 / var(--tw-border-opacity))}.dark\:border-transparent:is(.dark *){border-color:transparent}.dark\:border-yellow-300:is(.dark *){--tw-border-opacity: 1;border-color:rgb(250 202 21 / var(--tw-border-opacity))}.dark\:bg-bg-dark:is(.dark *){background-color:var(--color-bg-dark)}.dark\:bg-bg-dark-tone:is(.dark *){background-color:var(--color-bg-dark-tone)}.dark\:bg-bg-dark-tone-panel:is(.dark *){background-color:var(--color-bg-dark-tone-panel)}.dark\:bg-black:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.dark\:bg-blue-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(195 221 253 / var(--tw-bg-opacity))}.dark\:bg-blue-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(63 131 248 / var(--tw-bg-opacity))}.dark\:bg-blue-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.dark\:bg-blue-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.dark\:bg-blue-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(30 66 159 / var(--tw-bg-opacity))}.dark\:bg-blue-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.dark\:bg-gray-300:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.dark\:bg-gray-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:bg-gray-700\/50:is(.dark *){background-color:#37415180}.dark\:bg-gray-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:bg-gray-800\/20:is(.dark *){background-color:#1f293733}.dark\:bg-gray-800\/30:is(.dark *){background-color:#1f29374d}.dark\:bg-gray-800\/50:is(.dark *){background-color:#1f293780}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-green-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(188 240 218 / var(--tw-bg-opacity))}.dark\:bg-green-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(14 159 110 / var(--tw-bg-opacity))}.dark\:bg-green-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.dark\:bg-green-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(3 84 63 / var(--tw-bg-opacity))}.dark\:bg-green-900\/20:is(.dark *){background-color:#01473733}.dark\:bg-indigo-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(205 219 254 / var(--tw-bg-opacity))}.dark\:bg-indigo-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(104 117 245 / var(--tw-bg-opacity))}.dark\:bg-orange-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(180 52 3 / var(--tw-bg-opacity))}.dark\:bg-orange-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(138 44 13 / var(--tw-bg-opacity))}.dark\:bg-pink-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(250 209 232 / var(--tw-bg-opacity))}.dark\:bg-pink-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(214 31 105 / var(--tw-bg-opacity))}.dark\:bg-purple-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 215 254 / var(--tw-bg-opacity))}.dark\:bg-purple-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.dark\:bg-purple-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(126 58 242 / var(--tw-bg-opacity))}.dark\:bg-red-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(251 213 213 / var(--tw-bg-opacity))}.dark\:bg-red-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(240 82 82 / var(--tw-bg-opacity))}.dark\:bg-red-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.dark\:bg-red-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(155 28 28 / var(--tw-bg-opacity))}.dark\:bg-red-900\/20:is(.dark *){background-color:#771d1d33}.dark\:bg-white:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dark\:bg-yellow-200:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(252 233 106 / var(--tw-bg-opacity))}.dark\:bg-opacity-70:is(.dark *){--tw-bg-opacity: .7}.dark\:bg-opacity-80:is(.dark *){--tw-bg-opacity: .8}.dark\:from-bg-dark:is(.dark *){--tw-gradient-from: var(--color-bg-dark) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-blue-400\/20:is(.dark *){--tw-gradient-from: rgb(118 169 250 / .2) var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:from-indigo-400:is(.dark *){--tw-gradient-from: #8DA2FB var(--tw-gradient-from-position);--tw-gradient-to: rgb(141 162 251 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:via-bg-dark:is(.dark *){--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--color-bg-dark) var(--tw-gradient-via-position), var(--tw-gradient-to)}.dark\:to-purple-400:is(.dark *){--tw-gradient-to: #AC94FA var(--tw-gradient-to-position)}.dark\:to-purple-400\/20:is(.dark *){--tw-gradient-to: rgb(172 148 250 / .2) var(--tw-gradient-to-position)}.dark\:fill-gray-300:is(.dark *){fill:#d1d5db}.dark\:text-blue-200:is(.dark *){--tw-text-opacity: 1;color:rgb(195 221 253 / var(--tw-text-opacity))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(118 169 250 / var(--tw-text-opacity))}.dark\:text-blue-500:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.dark\:text-blue-800:is(.dark *){--tw-text-opacity: 1;color:rgb(30 66 159 / var(--tw-text-opacity))}.dark\:text-dark-text-panel:is(.dark *){color:var(--color-dark-text-panel)}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.dark\:text-gray-200:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-gray-500:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.dark\:text-gray-600:is(.dark *){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.dark\:text-gray-800:is(.dark *){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(188 240 218 / var(--tw-text-opacity))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.dark\:text-green-500:is(.dark *){--tw-text-opacity: 1;color:rgb(14 159 110 / var(--tw-text-opacity))}.dark\:text-green-800:is(.dark *){--tw-text-opacity: 1;color:rgb(3 84 63 / var(--tw-text-opacity))}.dark\:text-green-900:is(.dark *){--tw-text-opacity: 1;color:rgb(1 71 55 / var(--tw-text-opacity))}.dark\:text-indigo-500:is(.dark *){--tw-text-opacity: 1;color:rgb(104 117 245 / var(--tw-text-opacity))}.dark\:text-indigo-900:is(.dark *){--tw-text-opacity: 1;color:rgb(54 47 120 / var(--tw-text-opacity))}.dark\:text-orange-200:is(.dark *){--tw-text-opacity: 1;color:rgb(252 217 189 / var(--tw-text-opacity))}.dark\:text-pink-400:is(.dark *){--tw-text-opacity: 1;color:rgb(241 126 184 / var(--tw-text-opacity))}.dark\:text-pink-500:is(.dark *){--tw-text-opacity: 1;color:rgb(231 70 148 / var(--tw-text-opacity))}.dark\:text-pink-900:is(.dark *){--tw-text-opacity: 1;color:rgb(117 26 61 / var(--tw-text-opacity))}.dark\:text-primary:is(.dark *){color:var(--color-primary)}.dark\:text-purple-400:is(.dark *){--tw-text-opacity: 1;color:rgb(172 148 250 / var(--tw-text-opacity))}.dark\:text-purple-500:is(.dark *){--tw-text-opacity: 1;color:rgb(144 97 249 / var(--tw-text-opacity))}.dark\:text-purple-900:is(.dark *){--tw-text-opacity: 1;color:rgb(74 29 150 / var(--tw-text-opacity))}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(251 213 213 / var(--tw-text-opacity))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(248 180 180 / var(--tw-text-opacity))}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.dark\:text-red-500:is(.dark *){--tw-text-opacity: 1;color:rgb(240 82 82 / var(--tw-text-opacity))}.dark\:text-red-800:is(.dark *){--tw-text-opacity: 1;color:rgb(155 28 28 / var(--tw-text-opacity))}.dark\:text-red-900:is(.dark *){--tw-text-opacity: 1;color:rgb(119 29 29 / var(--tw-text-opacity))}.dark\:text-slate-50:is(.dark *){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:text-yellow-300:is(.dark *){--tw-text-opacity: 1;color:rgb(250 202 21 / var(--tw-text-opacity))}.dark\:text-yellow-500:is(.dark *){--tw-text-opacity: 1;color:rgb(194 120 3 / var(--tw-text-opacity))}.dark\:text-yellow-800:is(.dark *){--tw-text-opacity: 1;color:rgb(114 59 19 / var(--tw-text-opacity))}.dark\:text-yellow-900:is(.dark *){--tw-text-opacity: 1;color:rgb(99 49 18 / var(--tw-text-opacity))}.dark\:placeholder-gray-400:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:placeholder-gray-400:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.dark\:shadow-lg:is(.dark *){--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:shadow-blue-800\/80:is(.dark *){--tw-shadow-color: rgb(30 66 159 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-cyan-800\/80:is(.dark *){--tw-shadow-color: rgb(21 94 117 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-green-800\/80:is(.dark *){--tw-shadow-color: rgb(3 84 63 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-lime-800\/80:is(.dark *){--tw-shadow-color: rgb(63 98 18 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-pink-800\/80:is(.dark *){--tw-shadow-color: rgb(153 21 75 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-purple-800\/80:is(.dark *){--tw-shadow-color: rgb(85 33 181 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-red-800\/80:is(.dark *){--tw-shadow-color: rgb(155 28 28 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:shadow-teal-800\/80:is(.dark *){--tw-shadow-color: rgb(5 80 92 / .8);--tw-shadow: var(--tw-shadow-colored)}.dark\:ring-gray-500:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.dark\:ring-white:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity))}.dark\:ring-opacity-20:is(.dark *){--tw-ring-opacity: .2}.dark\:ring-offset-gray-700:is(.dark *){--tw-ring-offset-color: #374151}.dark\:ring-offset-gray-800:is(.dark *){--tw-ring-offset-color: #1F2937}.dark\:scrollbar-track-bg-dark:is(.dark *){--scrollbar-track: var(--color-bg-dark) !important}.dark\:scrollbar-track-bg-dark-tone:is(.dark *){--scrollbar-track: var(--color-bg-dark-tone) !important}.dark\:scrollbar-track-gray-700:is(.dark *){--scrollbar-track: #374151 !important}.dark\:scrollbar-track-gray-800:is(.dark *){--scrollbar-track: #1F2937 !important}.dark\:scrollbar-thumb-bg-dark-tone:is(.dark *){--scrollbar-thumb: var(--color-bg-dark-tone) !important}.dark\:scrollbar-thumb-bg-dark-tone-panel:is(.dark *){--scrollbar-thumb: var(--color-bg-dark-tone-panel) !important}.dark\:scrollbar-thumb-gray-500:is(.dark *){--scrollbar-thumb: #6B7280 !important}.dark\:scrollbar-thumb-gray-600:is(.dark *){--scrollbar-thumb: #4B5563 !important}.dark\:even\:bg-bg-dark-discussion-odd:nth-child(2n):is(.dark *){background-color:var(--color-bg-dark-discussion-odd)}.group:hover .dark\:group-hover\:bg-gray-800\/60:is(.dark *){background-color:#1f293799}.group:hover .dark\:group-hover\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.group:focus .dark\:group-focus\:ring-gray-800\/70:is(.dark *){--tw-ring-color: rgb(31 41 55 / .7)}.peer:focus~.dark\:peer-focus\:ring-blue-800:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.dark\:hover\:border-blue-600:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(28 100 242 / var(--tw-border-opacity))}.dark\:hover\:border-gray-600:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.dark\:hover\:border-primary:hover:is(.dark *){border-color:var(--color-primary)}.dark\:hover\:bg-blue-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(164 202 254 / var(--tw-bg-opacity))}.dark\:hover\:bg-blue-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(28 100 242 / var(--tw-bg-opacity))}.dark\:hover\:bg-blue-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(26 86 219 / var(--tw-bg-opacity))}.dark\:hover\:bg-blue-900:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(35 56 118 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-600\/50:hover:is(.dark *){background-color:#4b556380}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.dark\:hover\:bg-gray-700\/50:hover:is(.dark *){background-color:#37415180}.dark\:hover\:bg-gray-800:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(132 225 188 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(5 122 85 / var(--tw-bg-opacity))}.dark\:hover\:bg-green-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(4 108 78 / var(--tw-bg-opacity))}.dark\:hover\:bg-pink-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(231 70 148 / var(--tw-bg-opacity))}.dark\:hover\:bg-pink-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(191 18 93 / var(--tw-bg-opacity))}.dark\:hover\:bg-primary:hover:is(.dark *){background-color:var(--color-primary)}.dark\:hover\:bg-purple-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(144 97 249 / var(--tw-bg-opacity))}.dark\:hover\:bg-purple-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(108 43 217 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(248 180 180 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(224 36 36 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(200 30 30 / var(--tw-bg-opacity))}.dark\:hover\:bg-red-900:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(119 29 29 / var(--tw-bg-opacity))}.dark\:hover\:bg-yellow-300:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(250 202 21 / var(--tw-bg-opacity))}.dark\:hover\:bg-yellow-400:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(227 160 8 / var(--tw-bg-opacity))}.dark\:hover\:bg-yellow-500:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(194 120 3 / var(--tw-bg-opacity))}.hover\:dark\:bg-bg-dark-tone:is(.dark *):hover{background-color:var(--color-bg-dark-tone)}.hover\:dark\:bg-bg-dark-tone-panel:is(.dark *):hover{background-color:var(--color-bg-dark-tone-panel)}.dark\:hover\:from-blue-400\/30:hover:is(.dark *){--tw-gradient-from: rgb(118 169 250 / .3) var(--tw-gradient-from-position);--tw-gradient-to: rgb(118 169 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:hover\:from-blue-900\/30:hover:is(.dark *){--tw-gradient-from: rgb(35 56 118 / .3) var(--tw-gradient-from-position);--tw-gradient-to: rgb(35 56 118 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.dark\:hover\:to-purple-400\/30:hover:is(.dark *){--tw-gradient-to: rgb(172 148 250 / .3) var(--tw-gradient-to-position)}.dark\:hover\:to-purple-900\/30:hover:is(.dark *){--tw-gradient-to: rgb(74 29 150 / .3) var(--tw-gradient-to-position)}.dark\:hover\:text-blue-500:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(63 131 248 / var(--tw-text-opacity))}.dark\:hover\:text-gray-200:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:hover\:text-gray-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.dark\:hover\:text-gray-900:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.dark\:hover\:text-green-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(49 196 141 / var(--tw-text-opacity))}.dark\:hover\:text-red-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(249 128 128 / var(--tw-text-opacity))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:hover\:scrollbar-thumb-primary:is(.dark *){--scrollbar-thumb-hover: var(--color-primary) !important}.dark\:focus\:border-blue-500:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 131 248 / var(--tw-border-opacity))}.dark\:focus\:border-secondary:focus:is(.dark *){border-color:var(--color-secondary)}.dark\:focus\:text-white:focus:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:focus\:ring-blue-500:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(28 100 242 / var(--tw-ring-opacity))}.dark\:focus\:ring-blue-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(30 66 159 / var(--tw-ring-opacity))}.dark\:focus\:ring-cyan-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(21 94 117 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-500:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-600:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-700:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity))}.dark\:focus\:ring-gray-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(31 41 55 / var(--tw-ring-opacity))}.dark\:focus\:ring-green-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 84 63 / var(--tw-ring-opacity))}.dark\:focus\:ring-lime-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(63 98 18 / var(--tw-ring-opacity))}.dark\:focus\:ring-pink-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(153 21 75 / var(--tw-ring-opacity))}.dark\:focus\:ring-pink-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(117 26 61 / var(--tw-ring-opacity))}.dark\:focus\:ring-purple-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(85 33 181 / var(--tw-ring-opacity))}.dark\:focus\:ring-purple-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(74 29 150 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-400:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(249 128 128 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(155 28 28 / var(--tw-ring-opacity))}.dark\:focus\:ring-red-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(119 29 29 / var(--tw-ring-opacity))}.dark\:focus\:ring-secondary:focus:is(.dark *){--tw-ring-color: var(--color-secondary)}.dark\:focus\:ring-teal-700:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(3 102 114 / var(--tw-ring-opacity))}.dark\:focus\:ring-teal-800:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(5 80 92 / var(--tw-ring-opacity))}.dark\:focus\:ring-yellow-900:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(99 49 18 / var(--tw-ring-opacity))}.dark\:focus\:ring-offset-gray-700:focus:is(.dark *){--tw-ring-offset-color: #374151}@media (min-width: 640px){.sm\:mb-0{margin-bottom:0}.sm\:mr-4{margin-right:1rem}.sm\:mt-0{margin-top:0}.sm\:h-10{height:2.5rem}.sm\:h-6{height:1.5rem}.sm\:h-64{height:16rem}.sm\:w-1\/4{width:25%}.sm\:w-10{width:2.5rem}.sm\:w-6{width:1.5rem}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-center{text-align:center}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-xs{font-size:.75rem;line-height:1rem}.sm\:underline{text-decoration-line:underline}}@media (min-width: 768px){.md\:inset-0{top:0;right:0;bottom:0;left:0}.md\:order-2{order:2}.md\:mr-6{margin-right:1.5rem}.md\:mt-0{margin-top:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:h-full{height:100%}.md\:w-1\/3{width:33.333333%}.md\:w-1\/4{width:25%}.md\:w-2\/3{width:66.666667%}.md\:w-48{width:12rem}.md\:w-auto{width:auto}.md\:max-w-xl{max-width:36rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-\[300px\,1fr\]{grid-template-columns:300px 1fr}.md\:flex-row{flex-direction:row}.md\:items-start{align-items:flex-start}.md\:items-center{align-items:center}.md\:justify-between{justify-content:space-between}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.5rem * var(--tw-space-x-reverse));margin-left:calc(1.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.md\:rounded-none{border-radius:0}.md\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.md\:border-0{border-width:0px}.md\:bg-transparent{background-color:transparent}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:font-medium{font-weight:500}.md\:text-blue-700{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:hover\:bg-transparent:hover{background-color:transparent}.md\:hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(26 86 219 / var(--tw-text-opacity))}.md\:dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.md\:dark\:hover\:bg-transparent:hover:is(.dark *){background-color:transparent}.md\:dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}@media (min-width: 1024px){.lg\:col-span-2{grid-column:span 2 / span 2}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.dark\:lg\:hover\:\[paint-order\:markers\]:hover:is(.dark *){paint-order:markers}}@media (min-width: 1280px){.xl\:h-80{height:20rem}.xl\:w-1\/6{width:16.666667%}}@media (min-width: 1536px){.\32xl\:h-96{height:24rem}}
diff --git a/web/dist/index.html b/web/dist/index.html
index 8b3c8611..536433ff 100644
--- a/web/dist/index.html
+++ b/web/dist/index.html
@@ -6,8 +6,8 @@
LoLLMS WebUI
-
-
+
+
diff --git a/web/src/views/SettingsView.vue b/web/src/views/SettingsView.vue
index b121e9eb..5c940298 100644
--- a/web/src/views/SettingsView.vue
+++ b/web/src/views/SettingsView.vue
@@ -641,6 +641,7 @@
+
@@ -5006,6 +5007,19 @@ export default {
this.configFile.end_ai_header_id_template = "<|end_header_id|>"
this.configFile.end_ai_message_id_template = ""
this.settingsChanged=true
+ } else if (selectedOption === 'lucie') {
+ console.log("Using lucie template")
+ this.configFile.start_header_id_template = "<|start_header_id|>"
+ this.configFile.system_message_template = "system"
+ this.configFile.end_header_id_template = "<|end_header_id|>\n\n"
+ this.configFile.separator_template = "<|eot_id|>"
+ this.configFile.start_user_header_id_template = "<|start_header_id|>"
+ this.configFile.end_user_header_id_template = "<|end_header_id|>\n\n"
+ this.configFile.end_user_message_id_template = ""
+ this.configFile.start_ai_header_id_template = "<|start_header_id|>"
+ this.configFile.end_ai_header_id_template = "<|end_header_id|>\n\n"
+ this.configFile.end_ai_message_id_template = ""
+ this.settingsChanged=true
} else if (selectedOption === 'mistral') {
console.log("Using mistral template")
this.configFile.start_header_id_template = "[INST]"
diff --git a/zoos/models_zoo b/zoos/models_zoo
index 5f1a306f..de458d56 160000
--- a/zoos/models_zoo
+++ b/zoos/models_zoo
@@ -1 +1 @@
-Subproject commit 5f1a306fffa4e80c5ae38c997ee89c0731827875
+Subproject commit de458d56ce9796bcfed17b24f7c99da50fe9db01