File manager - Edit - /usr/local/cpanel/whostmgr/docroot/templates/monitoring/spa/_nuxt/BJh7vk31.js
Back
import{n as E,w as C,t as S,i as I,c as k,d as R,e as L}from"./B7DMRpI3.js";import{ai as P,G as T,ak as w,v as y,x as z,R as W,ah as F}from"./Bb0d5mhF.js";const x=I?window:void 0;function p(t){var s;const u=w(t);return(s=u?.$el)!==null&&s!==void 0?s:u}function M(...t){const s=(o,i,r,c)=>(o.addEventListener(i,r,c),()=>o.removeEventListener(i,r,c)),u=y(()=>{const o=R(w(t[0])).filter(i=>i!=null);return o.every(i=>typeof i!="string")?o:void 0});return C(()=>{var o,i;return[(o=(i=u.value)===null||i===void 0?void 0:i.map(r=>p(r)))!==null&&o!==void 0?o:[x].filter(r=>r!=null),R(w(u.value?t[1]:t[0])),R(z(u.value?t[2]:t[1])),w(u.value?t[3]:t[2])]},([o,i,r,c],a,d)=>{if(!o?.length||!i?.length||!r?.length)return;const m=L(c)?{...c}:c,v=o.flatMap(e=>i.flatMap(b=>r.map(h=>s(e,b,h,m))));d(()=>{v.forEach(e=>e())})},{flush:"post"})}function j(t,s,u={}){const{window:o=x,ignore:i=[],capture:r=!0,detectIframe:c=!1,controls:a=!1}=u;if(!o)return a?{stop:E,cancel:E,trigger:E}:E;let d=!0;const m=n=>w(i).some(l=>{if(typeof l=="string")return Array.from(o.document.querySelectorAll(l)).some(f=>f===n.target||n.composedPath().includes(f));{const f=p(l);return f&&(n.target===f||n.composedPath().includes(f))}});function v(n){const l=w(n);return l&&l.$.subTree.shapeFlag===16}function e(n,l){const f=w(n),A=f.$.subTree&&f.$.subTree.children;return A==null||!Array.isArray(A)?!1:A.some(O=>O.el===l.target||l.composedPath().includes(O.el))}const b=n=>{const l=p(t);if(n.target!=null&&!(!(l instanceof Element)&&v(t)&&e(t,n))&&!(!l||l===n.target||n.composedPath().includes(l))){if("detail"in n&&n.detail===0&&(d=!m(n)),!d){d=!0;return}s(n)}};let h=!1;const g=[M(o,"click",n=>{h||(h=!0,setTimeout(()=>{h=!1},0),b(n))},{passive:!0,capture:r}),M(o,"pointerdown",n=>{const l=p(t);d=!m(n)&&!!(l&&!n.composedPath().includes(l))},{passive:!0}),c&&M(o,"blur",n=>{setTimeout(()=>{var l;const f=p(t);((l=o.document.activeElement)===null||l===void 0?void 0:l.tagName)==="IFRAME"&&!f?.contains(o.document.activeElement)&&s(n)},0)},{passive:!0})].filter(Boolean),$=()=>g.forEach(n=>n());return a?{stop:$,cancel:()=>{d=!1},trigger:n=>{d=!0,b(n),d=!1}}:$}function G(){const t=P(!1),s=F();return s&&W(()=>{t.value=!0},s),t}function B(t){const s=G();return y(()=>(s.value,!!t()))}function H(t,s,u={}){const{window:o=x,...i}=u;let r;const c=B(()=>o&&"ResizeObserver"in o),a=()=>{r&&(r.disconnect(),r=void 0)},d=T(y(()=>{const v=w(t);return Array.isArray(v)?v.map(e=>p(e)):[p(v)]}),v=>{if(a(),c.value&&o){r=new ResizeObserver(s);for(const e of v)e&&r.observe(e,i)}},{immediate:!0,flush:"post"}),m=()=>{a(),d()};return k(m),{isSupported:c,stop:m}}function q(t,s={width:0,height:0},u={}){const{window:o=x,box:i="content-box"}=u,r=y(()=>{var e;return(e=p(t))===null||e===void 0||(e=e.namespaceURI)===null||e===void 0?void 0:e.includes("svg")}),c=P(s.width),a=P(s.height),{stop:d}=H(t,([e])=>{const b=i==="border-box"?e.borderBoxSize:i==="content-box"?e.contentBoxSize:e.devicePixelContentBoxSize;if(o&&r.value){const h=p(t);if(h){const g=h.getBoundingClientRect();c.value=g.width,a.value=g.height}}else if(b){const h=R(b);c.value=h.reduce((g,{inlineSize:$})=>g+$,0),a.value=h.reduce((g,{blockSize:$})=>g+$,0)}else c.value=e.contentRect.width,a.value=e.contentRect.height},u);S(()=>{const e=p(t);e&&(c.value="offsetWidth"in e?e.offsetWidth:s.width,a.value="offsetHeight"in e?e.offsetHeight:s.height)});const m=T(()=>p(t),e=>{c.value=e?s.width:0,a.value=e?s.height:0});function v(){d(),m()}return{width:c,height:a,stop:v}}function D(t={}){const{window:s=x}=t,u=s?.navigator,o=B(()=>u&&"language"in u),i=P(u?.language);return M(s,"languagechange",()=>{u&&(i.value=u.language)},{passive:!0}),{isSupported:o,language:i}}export{M as a,D as b,j as o,q as u};
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings