PageSourceSearch

https://altiramacau.com/_nuxt/Br1f-Bzd.js

js altiramacau.com collected 2026-09-26 07:04:56 UTC 2,414 bytes, 1 lines download raw bytes

1import{b as $,ca as _,e as V,Z as h,cb as N,q as x,N as m,O,r as S,s as U,A as n,U as q,R as j,v as p,ag as F,V as z,G as t,D as y,cc as G}from"./ByjodPhJ.js";const I=["data-view-mode","data-scroll-backbround"],R={class:"content__wrap"},W={class:"content__box"},Z=$({__name:"index",props:{contentClass:{default:""},icon:{default:""},viewMode:{default:_.clean},preventBgClose:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},closeDuration:{default:250},scrollBackbround:{type:Boolean,default:!1}},emits:["update:modelValue","open","close","beforeClose","afterClose"],setup(f,{expose:B,emit:L}){const{$getWindowLoco:D}=V(),u=f,a=L,M=t(()=>u.closeDuration),v=t(()=>u.scrollBackbround),C=t(()=>u.viewMode),P=t(()=>e=>C.value===e),s=h({classDefault:N,classActive:"--show",variablesName:"--DEFAULT_POPUP",closeDuration:M.value||250,closeTimer:null});let d;const c=y(),E=y(),r=t(()=>`${s.classDefault}${s.classActive}`),i=G(),k=t(()=>i?.vnode.props&&i?.vnode.props?.onBeforeClose),A=t(()=>i?.vnode.props&&i?.vnode.props?.onAfterClose),w=()=>document.querySelector(".btn-popup-close--mobile"),T=async()=>{clearTimeout(s.closeTimer),await m(),document.querySelector(":root").style.setProperty(`${s.variablesName}__closeDuration`,`${s.closeDuration/1e3}s`),setTimeout(()=>{document.documentElement.classList.add(r.value),c.value?.classList.add(r.value);const o=w();o&&o.classList.add("show"),a("open")},1)},g=()=>new Promise(async(e,o)=>{if(await m(),c.value){document.documentElement.classList.remove(r.value),c.value.classList.remove(r.value);const l=w();l&&l.classList.remove("show"),s.closeTimer=setTimeout(()=>{e(!0)},s.closeDuration)}}),b=async()=>{const e=async o=>{a("close"),await g(),o&&o(),d?.start(),a("update:modelValue",!1)};k.value?await new Promise(l=>a("beforeClose",{resolve:l}))&&e():A.value?await e(()=>{a("afterClose")}):e()};return x(async()=>{v.value||(d=D("layout"),d?.stop()),await m(),T(),await O(10),E.value?.$el.classList.add("active")}),B({onClose:b}),(e,o)=>(S(),U("div",{class:j([`${n(s).classDefault}`]),ref_key:"selfComp",ref:c,onClick:o[0]||(o[0]=q(l=>f.preventBgClose?null:b(),["self"])),"data-view-mode":n(C),"data-scroll-backbround":n(v)},[p("div",R,[p("div",W,[n(P)(("EPopupViewMode"in e?e.EPopupViewMode:n(_)).clean)?F(e.$slots,"default",{key:0}):z("",!0)])]),o[1]||(o[1]=p("div",{class:"bg"},null,-1))],10,I))}}),J=Object.assign(Z,{__name:"Popup"});export{J as _};

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.