PageSourceSearch

https://zzal.studio/_nuxt/c/UIPopup.6e291e44.js

js zzal.studio collected 2026-10-06 03:31:43 UTC 2,887 bytes, 1 lines download raw bytes

1import{c as q,Q as w,b as E,d as M,e as H,_ as P}from"../e/entry.6e291e44.js";import{j as D,a as m,A as L,o as W,k as _,b as A,J as h,B as S,L as s,V as t,W as p,Q as l,_ as I,S as N,$ as z,u as v}from"./v-calendar.6e291e44.js";const T="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5%2015L10%2010M10%2010L15%205M10%2010L5%205M10%2010L15%2015'%20stroke='%238D959D'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",U=s("img",{src:T},null,-1),V=D({__name:"UIPopup",props:{innerClass:{},contentWrapClass:{},titleClass:{},dimClass:{},enableDimClickClose:{type:Boolean},closeButtonDisabled:{type:Boolean},cover:{type:Boolean},consistByChangePath:{type:Boolean}},emits:["close"],setup(y,{expose:f,emit:g}){const a=y,i=g,r=M(),u=q(w,"$Tw91Rwf0oK"),C=E(),o=m(),d=m();L(()=>{o.value!=null&&u.value.push(o.value),document.body.classList.add("scroll-lock")}),W(()=>{document.body.classList.remove("scroll-lock"),o.value!=null&&u.value.pop()});const $=_(()=>{var e;return a.cover?"100dvh":r.$uiIsMobile()&&!r.$isApp()?`calc(100dvh - ${((e=document.getElementsByTagName("header")[0])==null?void 0:e.offsetHeight)??0}px)`:"100dvh"}),B=_(()=>{var e;if(r.$uiIsMobile())return`calc(100dvh - ${((e=document.getElementsByTagName("header")[0])==null?void 0:e.offsetHeight)??0}px)`}),k=()=>{a.enableDimClickClose&&i("close")};return A(()=>C.path,()=>{a.consistByChangePath||i("close")}),f({innerEl:d,popupEl:o}),(e,n)=>{const c=H;return h(),S("div",{ref_key:"popupEl",ref:o,class:t(["uiPopup",[e.$style.popup,{[e.$style.app]:e.$isApp()},{[e.$style.cover]:e.cover}]]),style:p({height:v($)})},[s("div",{class:t([e.$style.dim,e.dimClass]),style:p({pointerEvents:e.enableDimClickClose?"auto":"none"}),onClick:n[0]||(n[0]=b=>k())},null,6),s("div",{ref_key:"innerEl",ref:d,class:t(["transition-inner",[e.$style.inner,e.innerClass]]),style:p({height:v(B)})},[s("div",{class:t([e.$style.title,e.titleClass])},[l(e.$slots,"title"),l(e.$slots,"close",{},()=>[e.closeButtonDisabled?z("",!0):(h(),I(c,{key:0,class:t(e.$style.closeButton),onClick:n[1]||(n[1]=b=>i("close"))},{default:N(()=>[U]),_:1},8,["class"]))])],2),s("div",{class:t([e.$style.contentWrap,e.contentWrapClass])},[s("div",{class:t(["content",e.$style.content])},[l(e.$slots,"content")],2),s("div",{class:t(e.$style.buttons)},[l(e.$slots,"buttons")],2)],2)],6)],6)}}}),j="_popup_nq68t_6",Q="_app_nq68t_18",R="_inner_nq68t_21",J="_cover_nq68t_25",K="_dim_nq68t_35",O="_title_nq68t_67",Z="_closeButton_nq68t_78",F="_contentWrap_nq68t_102",G="_content_nq68t_102",X="_buttons_nq68t_115",Y={popup:j,app:Q,inner:R,cover:J,dim:K,title:O,closeButton:Z,contentWrap:F,content:G,buttons:X,"z-loading-spinner-animation":"_z-loading-spinner-animation_nq68t_1"},x={$style:Y},se=P(V,[["__cssModules",x]]);export{se as _,T as a};

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.