1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`b377fbd3d6985619ac0310c323b19c128157e01c`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f921ec0c-60eb-4a0d-884c-f6bf528208a9`,e._sentryDebugIdIdentifier=`sentry-dbid-f921ec0c-60eb-4a0d-884c-f6bf528208a9`)}catch{}})();import{Ct as e,F as t,H as n,I as r,J as i,X as a,Z as o,et as s,hn as c,it as l,pt as u,st as d,zt as f}from"./7K1jQTOJ.js";import{r as p}from"./pzj_8HwE.js";import{t as m}from"./1wWJ6_RE.js";import{n as h}from"./CUIqpmNA2.js";var g={closeOnClickOutside:!0,closeOnEscape:!0,showBackdrop:!0,showDialog:!1},_=500,v=n({inheritAttrs:!1,__name:`Dialog`,props:i({closeOnClickOutside:{type:Boolean},closeOnEscape:{type:Boolean},showBackdrop:{type:Boolean},showDialog:{type:Boolean}},{...g}),emits:[`after-leave`,`close`],setup(t,{expose:n,emit:r}){n();let i=t,a=r,c=Symbol(`dialog`),u=f(null),d=f(null),m=f(i.showDialog),g=typeof CSS<`u`&&typeof CSS.supports==`function`&&CSS.supports(`overlay`,`auto`),v=null;function y(){v!==null&&(clearTimeout(v),v=null)}function b(){y(),!(!m.value||u.value?.open)&&(m.value=!1,a(`after-leave`))}async function x(){let e=u.value;y(),!(!e||e.open||typeof e.showModal!=`function`)&&(m.value=!0,await o(),e.showModal(),e.querySelector(`[autofocus]`)||e.focus())}function S(){let e=u.value;if(!(!e||!e.open||typeof e.close!=`function`)){if(e.close(),g){y(),v=setTimeout(b,_);return}b()}}function C(){a(`close`)}function w(e){if(!i.closeOnClickOutside)return;let t=e.target?.closest?.(`[data-dialog]`);t&&t!==u.value||C()}function T(e){e.preventDefault(),i.closeOnEscape&&C()}function E(e){e.target!==u.value||e.propertyName!==`opacity`||b()}e(()=>i.showDialog,e=>{h(c,e),e?x():S()}),p(d,w),l(()=>{i.showDialog&&(h(c,!0),x())}),s(()=>{y(),h(c,!1)});let D={props:i,emit:a,scrollLockToken:c,dialogRef:u,contentEl:d,isRendered:m,supportsOverlayTransition:g,CLOSE_FALLBACK_MS:_,get closeFallbackTimer(){return v},set closeFallbackTimer(e){v=e},clearCloseFallback:y,finishClose:b,openDialog:x,closeDialog:S,handleClose:C,handleClickOutside:w,handleCancel:T,handleTransitionEnd:E};return Object.defineProperty(D,`__isScriptSetup`,{enumerable:!1,value:!0}),D}}),y={dialog:`Dialog__dialog`,content:`Dialog__content`,passthrough:`Dialog__passthrough`},b=[`closedby`];function x(e,n,i,o,s,l){return d(),r(`dialog`,a({ref:`dialogRef`},e.$attrs,{class:[`tw-p-0 tw-bg-transparent tw-border-none tw-text-inherit`,`focus:tw-outline-none focus-visible:tw-outline-none`,e.$style.dialog,i.showBackdrop?null:e.$style.passthrough],closedby:i.closeOnEscape?`closerequest`:`none`,"data-dialog":``,onCancel:o.handleCancel,onTransitionend:o.handleTransitionEnd}),[o.isRendered?(d(),r(`div`,{key:0,ref:`contentEl`,class:c(e.$style.content)},[u(e.$slots,`default`)],2)):t(``,!0)],16,b)}var S=Object.assign(m(v,[[`render`,x],[`__cssModules`,{$style:y}],[`__file`,`Dialog.vue`]]),{__name:`Dialog`});export{g as n,S as t}; 2//# sourceMappingURL=DtwYMwT62.js.map
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.