import{a4 as M,i as s,a6 as v,M as T,f as x,P as y,bx as B}from"./app-JmgyQoR0.js";import{F as C}from"./suspense-lwY0NW4i.js";import{b as S,a as V,c as d,D as o,h as D,i as P,j as a,l as e,K as r,E as i,z as l,u as p}from"./vue-y3KLWBaS.js";const N=p("i",{class:"ph-floppy-disk-back ph-bold ph-lg"},null,-1),z=S({__name:"hashtags",setup(j){let t=V("");async function m(){const n=await x("admin/meta");t.value=n.hiddenTags.join(`
`)}function u(){y("admin/update-meta",{hiddenTags:t.value.split(`
`).map(n=>n.trim())||[]}).then(()=>{B()})}const h=d(()=>[]),f=d(()=>[]);return M({title:s.ts.hiddenTags,icon:"ph-hash ph-bold ph-lg"}),(n,c)=>{const _=o("MkPageHeader"),k=o("MkSpacer"),g=o("MkStickyContainer");return D(),P(g,null,{header:a(()=>[e(_,{actions:h.value,tabs:f.value,"display-back-button":!0},null,8,["actions","tabs"])]),default:a(()=>[e(k,{"content-max":700,"margin-min":16,"margin-max":32},{default:a(()=>[e(C,{p:m},{default:a(()=>[e(v,{modelValue:t.value,"onUpdate:modelValue":c[0]||(c[0]=b=>t.value=b),class:"_formBlock"},{caption:a(()=>[r(i(l(s).ts.hiddenTagsDescription),1)]),default:a(()=>[p("span",null,i(l(s).ts.hiddenTags),1)]),_:1},8,["modelValue"]),e(T,{primary:"",class:"_formBlock",onClick:u},{default:a(()=>[N,r(" "+i(l(s).ts.save),1)]),_:1})]),_:1})]),_:1})]),_:1})}}});export{z as default};
