PageSourceSearch

https://www.basilicasanpietro.va/_nuxt/CPgO3_0a.js

js basilicasanpietro.va collected 2026-09-24 08:49:20 UTC 2,006 bytes, 1 lines download raw bytes

1import{u as T,k as $,c as A,w as L,h as S,K as N,o as c,f as C,r as z,n as B,y as W,q as d,j as x,Q as F,v as y,V as H,U as M,g as u,a5 as R,F as j,a6 as m,L as I}from"./zD-EGUJh.js";const q={class:"position-relative"},D=["onClick"],E=["innerHTML"],G={__name:"TemporizedPopUps",async setup(K){let o,_;const{locale:n}=T(),v=$(),g=A(),{data:f}=([o,_]=L(()=>S(`temporized-pop-ups-${n.value}`,()=>g("temporized-pop-ups",{params:{locale:n.value}}))),o=await o,_(),o),r=I([]),h=e=>{if(e.urlPageWhereShow){if(e.urlPageWhereShow==="/")return v.path==`/${n.value}`}else return!0;return v.path.replace("/"+n.value,"")==e.urlPageWhereShow},V=e=>{h(e)&&e.autoClosure&&setTimeout(()=>{r.value.push(e.documentId);const a=m(`pop_up_${e.documentId}`,{maxAge:3600*2});a.value=!0},e.duration*1e3)},b=e=>{const a=!m(`pop_up_${e.documentId}`).value;e.autoClosure&&!r.value.includes(e.documentId)&&V(e);const i=!r.value.includes(e.documentId);return a&&i&&h(e)},s=I({});function k(e){s.value[e]=!1;const a=m(`pop_up_${e}`,{maxAge:3600*2});a.value=!0}return N(()=>f?.value?.data,e=>{if(e)for(const a of e)s.value[a.documentId]===void 0&&(s.value[a.documentId]=b(a))},{immediate:!0}),(e,a)=>{const i=F,w=H;return c(!0),C(j,null,z(u(f)?.data||[],(t,P)=>(c(),C("div",{key:`popUp-${P}`},[B(u(R),{modelValue:u(s)[t.documentId],"onUpdate:modelValue":[l=>u(s)[t.documentId]=l,l=>{l||k(t.documentId)}],class:"modal-class","content-class":"modal-content-class","hide-overlay":!0,"lock-scroll":!1,"click-to-close":!1},{default:W(()=>[d("div",q,[d("button",{class:"close-icon",type:"button",onClick:l=>k(t.documentId)},[t?.xClosure?(c(),x(i,{key:0,src:"/icons/close.svg",alt:"Close",class:"modal-image-close"})):y("",!0)],8,D),d("div",{innerHTML:t?.text},null,8,E),t.ctaText?(c(),x(w,{key:0,"aria-label":t.ctaAriaLabel,link:t.ctaLink,style:M(t.ctaStyle),target:t.ctaTarget,text:t.ctaText},null,8,["aria-label","link","style","target","text"])):y("",!0)])]),_:2},1032,["modelValue","onUpdate:modelValue"])]))),128)}}};export{G 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.