import{aA as m,b as t,a9 as i,aB as u,r as p,u as d}from"./app-QjDgb7aF.js";import{b as f,a as _,w as C,j as g,p as k,k as o,i as l,J as n,D as y,u as w}from"./vue-Cm77DuTi.js";import"./charts-3gEHPHRq.js";import"./media-DuCIZ-3n.js";const x={class:"_formRoot"},h=f({__name:"custom-css",setup(S){const a=_(localStorage.getItem("customCss")??"");async function r(){localStorage.setItem("customCss",a.value);const{canceled:e}=await p({type:"info",text:t.ts.reloadToApplySetting});e||d()}return C(a,async()=>{await r()}),m({title:t.ts.customCss,icon:"ph-code ph-bold ph-lg"}),(e,s)=>(g(),k("div",x,[o(i,{warn:"",class:"_formBlock"},{default:l(()=>[n(y(w(t).ts.customCssWarn),1)]),_:1}),o(u,{modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=c=>a.value=c),"manual-save":"",tall:"",class:"_monospace _formBlock",style:{"tab-size":"2"}},{label:l(()=>[...s[1]||(s[1]=[n("CSS",-1)])]),_:1},8,["modelValue"])]))}});export{h as default};
//# sourceMappingURL=custom-css-B-GSMtfa.js.map
