HEX
Server: Apache/2.4.66 (Debian)
System: Linux 6dfabc3b2241 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User: (1000)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wp-graphql/build/681.js
"use strict";(globalThis.webpackChunk_wpgraphql_wp_graphql=globalThis.webpackChunk_wpgraphql_wp_graphql||[]).push([[681],{6681(e,o,t){t.r(o);var n=t(3338),i=(t(166),t(5549),t(1609),t(5795),Object.defineProperty),r=(e,o)=>i(e,"name",{value:o,configurable:!0});function u(e){return{options:e instanceof Function?{render:e}:!0===e?{}:e}}function m(e){const o=e.state.info.options;return(null==o?void 0:o.hoverTime)||500}function s(e,o){const t=e.state.info,i=o.target||o.srcElement;if(!(i instanceof HTMLElement))return;if("SPAN"!==i.nodeName||void 0!==t.hoverTimeout)return;const u=i.getBoundingClientRect(),s=r(function(){clearTimeout(t.hoverTimeout),t.hoverTimeout=setTimeout(l,f)},"onMouseMove"),p=r(function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",p),clearTimeout(t.hoverTimeout),t.hoverTimeout=void 0},"onMouseOut"),l=r(function(){n.C.off(document,"mousemove",s),n.C.off(e.getWrapperElement(),"mouseout",p),t.hoverTimeout=void 0,a(e,u)},"onHover"),f=m(e);t.hoverTimeout=setTimeout(l,f),n.C.on(document,"mousemove",s),n.C.on(e.getWrapperElement(),"mouseout",p)}function a(e,o){const t=e.coordsChar({left:(o.left+o.right)/2,top:(o.top+o.bottom)/2}),n=e.state.info.options,i=n.render||e.getHelper(t,"info");if(i){const r=e.getTokenAt(t,!0);if(r){const u=i(r,n,e,t);u&&p(e,o,u)}}}function p(e,o,t){const i=document.createElement("div");i.className="CodeMirror-info",i.appendChild(t),document.body.appendChild(i);const u=i.getBoundingClientRect(),m=window.getComputedStyle(i),s=u.right-u.left+parseFloat(m.marginLeft)+parseFloat(m.marginRight),a=u.bottom-u.top+parseFloat(m.marginTop)+parseFloat(m.marginBottom);let p=o.bottom;a>window.innerHeight-o.bottom-15&&o.top>window.innerHeight-o.bottom&&(p=o.top-a),p<0&&(p=o.bottom);let l,f=Math.max(0,window.innerWidth-s-15);f>o.left&&(f=o.left),i.style.opacity="1",i.style.top=p+"px",i.style.left=f+"px";const c=r(function(){clearTimeout(l)},"onMouseOverPopup"),d=r(function(){clearTimeout(l),l=setTimeout(v,200)},"onMouseOut"),v=r(function(){n.C.off(i,"mouseover",c),n.C.off(i,"mouseout",d),n.C.off(e.getWrapperElement(),"mouseout",d),i.style.opacity?(i.style.opacity="0",setTimeout(()=>{i.parentNode&&i.parentNode.removeChild(i)},600)):i.parentNode&&i.parentNode.removeChild(i)},"hidePopup");n.C.on(i,"mouseover",c),n.C.on(i,"mouseout",d),n.C.on(e.getWrapperElement(),"mouseout",d)}n.C.defineOption("info",!1,(e,o,t)=>{if(t&&t!==n.C.Init){const o=e.state.info.onMouseOver;n.C.off(e.getWrapperElement(),"mouseover",o),clearTimeout(e.state.info.hoverTimeout),delete e.state.info}if(o){const t=e.state.info=u(o);t.onMouseOver=s.bind(null,e),n.C.on(e.getWrapperElement(),"mouseover",t.onMouseOver)}}),r(u,"createState"),r(m,"getHoverTime"),r(s,"onMouseOver"),r(a,"onMouseHover"),r(p,"showPopup")}}]);