/
home
/
henzagold
/
apps
/
exportB
/
assets
/
File Upload :
llllll
Current File: /home/henzagold/apps/exportB/assets/classCallCheck.b17a57f6.js
import{P as C}from"./useConfigInject.c3caa5fc.js";import{$ as d,a0 as g,c as f,d as y,X as h,M as T,R,O as b,H as x,f as j,a3 as w}from"./index.fe179f23.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 S=P;var p=Symbol("TriggerContextKey"),k=function(){var e=null;return g(p,{setPortal:function(t){e=t},popPortal:!0}),function(){return e}},D=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})})},O=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 M=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=O(),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 R(function(){b(function(){if(o.value){var i;(i=e.didUpdate)===null||i===void 0||i.call(e,e)}})}),x(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 N(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{M as P,N as _,V as a,I as b,k as c,S as s,D as u};
Copyright ©2k19 -
Hexid
|
Tex7ure