PageSourceSearch

https://mucem.org/_nuxt/DXAEGt_h.js

js mucem.org collected 2026-09-24 17:42:10 UTC 1,953 bytes, 1 lines download raw bytes

1import{_ as P}from"./FE8PWWEo.js";import{_ as j}from"./B8n7v99J.js";import{_ as B}from"./SbgH_t8g.js";import{L as C,v as _,k as q,w as E,o as r,e as v,i as a,t as y,f as w,n as N,j as R,b as i,T as S,F as T,y as V,c as x,h as D}from"./CnnHI4eV.js";import{b as H}from"./C_LtU1BF.js";import"./DJEzStsS.js";import"./DgKq8lIQ.js";import"./BnmJMHbg.js";import"./CpWmnYms.js";const I={class:"page-faq"},L={class:"page-header wrapper is-grid"},z={class:"h1--m"},O={class:"page-faq__content wrapper is-grid"},Q={class:"py-6 bg-white show-only-xs show-only-sm sticky"},W={class:"page-faq__content__nav"},G={class:"sticky"},J={class:"h5 mb-4"},K={class:"page-faq__content__content"},ot={__name:"TemplateFAQ",props:{data:Object},async setup(k){let m,p;const n=k,b=C(),F=_(()=>`${b.height}px`),$=n.data.meta.faq_categories.map(t=>t.category).join(","),l=q([]);[m,p]=E(()=>H("/wp-json/wpnuxt/v1/posts/faq",{query:{faq_category:$,"cache-ttl":1*3600,perPage:-1}}).then(t=>{l.value=t.data.value.list.map(e=>({t_name:e.taxonomies.faq_category.map(s=>s.name),q:e.post_title,a:e.meta.faq__text}))})),await m,p();const d=_(()=>l.value.reduce((t,e)=>(e.t_name.forEach(s=>{let o=t.find(c=>c.name===s);o||(o={name:s,items:[]},t.push(o)),o.items.push(e)}),t),[])),f=_(()=>({offset:F.value.replace("px",""),items:d.value.map((t,e)=>({label:t.name,divId:`faq_${e}`}))})),A=q([]);return(t,e)=>{var h;const s=P,o=j,c=B;return r(),v("div",I,[a("section",L,[a("h1",z,y(n.data.post_title),1)]),a("section",O,[a("div",Q,[w(s,N(R(i(f))),null,16)]),a("div",W,[a("div",G,[a("div",J,y(n.data.post_title),1),w(s,S({variant:"vertical"},i(f)),null,16)])]),a("div",K,[(r(!0),v(T,null,V(i(d),(u,g)=>(r(),x(o,{id:`faq_${g}`,ref_for:!0,ref_key:"childRefs",ref:A,key:g,faq__title:u.name,faq__items:u.items},null,8,["id","faq__title","faq__items"]))),128))])]),(h=n.data.meta.content)!=null&&h.length?(r(),x(c,{key:0,data:n.data.meta.content},null,8,["data"])):D("",!0)])}}};export{ot as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.