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