/
home
/
henzagold
/
apps
/
dist
/
assets
/
File Upload :
llllll
Current File: /home/henzagold/apps/dist/assets/classCallCheck.d7c5e252.js
import{P as C}from"./useConfigInject.be8a065f.js";import{Z as d,$ as g,c as f,d as y,W as h,M as T,Q as b,N as x,H as R,f as j,a2 as w}from"./index.41b0a795.js";var P=!1;try{var c=Object.defineProperty({},"passive",{get:function(){P=!0}});window.addEventListener("testPassive",null,c),window.removeEventListener("testPassive",null,c)}catch{}const O=P;var p=Symbol("TriggerContextKey"),S=function(){var e=null;return g(p,{setPortal:function(t){e=t},popPortal:!0}),function(){return e}},k=function(e){return e?d(p,{setPortal:function(){},popPortal:!1}):{setPortal:function(){},popPortal:!1}},m=Symbol("PortalContextKey"),I=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};g(m,{inTriggerContext:r.inTriggerContext,shouldRender:f(function(){var t=e||{},u=t.sPopupVisible,a=t.popupRef,s=t.forceRender,o=t.autoDestroy,l=!1;return(u||a||s)&&(l=!0),!u&&o&&(l=!1),l})})},E=function(){I({},{inTriggerContext:!1});var e=d(m,{shouldRender:f(function(){return!1}),inTriggerContext:!1});return{shouldRender:f(function(){return e.shouldRender.value||e.inTriggerContext===!1})}};const D=y({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:C.func.isRequired,didUpdate:Function},setup:function(e,r){var t=r.slots,u=!0,a,s=E(),o=s.shouldRender;h(function(){u=!1,o.value&&(a=e.getContainer())});var l=T(o,function(){o.value&&!a&&(a=e.getContainer()),a&&l()});return b(function(){x(function(){if(o.value){var i;(i=e.didUpdate)===null||i===void 0||i.call(e,e)}})}),R(function(){a&&a.parentNode&&a.parentNode.removeChild(a)}),function(){if(!o.value)return null;if(u){var i;return(i=t.default)===null||i===void 0?void 0:i.call(t)}return a?j(w,{to:a},t):null}}});function v(n,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function M(n,e,r){return e&&v(n.prototype,e),r&&v(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}function V(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}export{D as P,M as _,V as a,I as b,S as c,O as s,k as u};
Copyright ©2k19 -
Hexid
|
Tex7ure