HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/insiders/wp-load/wp-content/plugins/gutenmate/lib/tippy/dist/gutenmate-tippy.js
(()=>{"use strict";function e(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function t(t){return t instanceof e(t).Element||t instanceof Element}function n(t){return t instanceof e(t).HTMLElement||t instanceof HTMLElement}function r(t){return"undefined"!=typeof ShadowRoot&&(t instanceof e(t).ShadowRoot||t instanceof ShadowRoot)}var o=Math.max,i=Math.min,a=Math.round;function s(e,t){void 0===t&&(t=!1);var r=e.getBoundingClientRect(),o=1,i=1;if(n(e)&&t){var s=e.offsetHeight,c=e.offsetWidth;c>0&&(o=a(r.width)/c||1),s>0&&(i=a(r.height)/s||1)}return{width:r.width/o,height:r.height/i,top:r.top/i,right:r.right/o,bottom:r.bottom/i,left:r.left/o,x:r.left/o,y:r.top/i}}function c(t){var n=e(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function u(e){return e?(e.nodeName||"").toLowerCase():null}function p(e){return((t(e)?e.ownerDocument:e.document)||window.document).documentElement}function f(e){return s(p(e)).left+c(e).scrollLeft}function d(t){return e(t).getComputedStyle(t)}function l(e){var t=d(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function m(t,r,o){void 0===o&&(o=!1);var i,d,m=n(r),v=n(r)&&function(e){var t=e.getBoundingClientRect(),n=a(t.width)/e.offsetWidth||1,r=a(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(r),h=p(r),g=s(t,v),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(m||!m&&!o)&&(("body"!==u(r)||l(h))&&(y=(i=r)!==e(i)&&n(i)?{scrollLeft:(d=i).scrollLeft,scrollTop:d.scrollTop}:c(i)),n(r)?((b=s(r,!0)).x+=r.clientLeft,b.y+=r.clientTop):h&&(b.x=f(h))),{x:g.left+y.scrollLeft-b.x,y:g.top+y.scrollTop-b.y,width:g.width,height:g.height}}function v(e){var t=s(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function h(e){return"html"===u(e)?e:e.assignedSlot||e.parentNode||(r(e)?e.host:null)||p(e)}function g(e){return["html","body","#document"].indexOf(u(e))>=0?e.ownerDocument.body:n(e)&&l(e)?e:g(h(e))}function y(t,n){var r;void 0===n&&(n=[]);var o=g(t),i=o===(null==(r=t.ownerDocument)?void 0:r.body),a=e(o),s=i?[a].concat(a.visualViewport||[],l(o)?o:[]):o,c=n.concat(s);return i?c:c.concat(y(h(s)))}function b(e){return["table","td","th"].indexOf(u(e))>=0}function w(e){return n(e)&&"fixed"!==d(e).position?e.offsetParent:null}function x(t){for(var o=e(t),i=w(t);i&&b(i)&&"static"===d(i).position;)i=w(i);return i&&("html"===u(i)||"body"===u(i)&&"static"===d(i).position)?o:i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&n(e)&&"fixed"===d(e).position)return null;var o=h(e);for(r(o)&&(o=o.host);n(o)&&["html","body"].indexOf(u(o))<0;){var i=d(o);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return o;o=o.parentNode}return null}(t)||o}var O="top",E="bottom",A="right",T="left",L="auto",D=[O,E,A,T],j="start",C="end",k="viewport",M="popper",S=D.reduce((function(e,t){return e.concat([t+"-"+j,t+"-"+C])}),[]),H=[].concat(D,[L]).reduce((function(e,t){return e.concat([t,t+"-"+j,t+"-"+C])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function W(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var P={placement:"bottom",modifiers:[],strategy:"absolute"};function B(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function R(e){void 0===e&&(e={});var n=e,r=n.defaultModifiers,o=void 0===r?[]:r,i=n.defaultOptions,a=void 0===i?P:i;return function(e,n,r){void 0===r&&(r=a);var i,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},P,a),modifiersData:{},elements:{reference:e,popper:n},attributes:{},styles:{}},u=[],p=!1,f={state:c,setOptions:function(r){var i="function"==typeof r?r(c.options):r;d(),c.options=Object.assign({},a,c.options,i),c.scrollParents={reference:t(e)?y(e):e.contextElement?y(e.contextElement):[],popper:y(n)};var s,p,l=function(e){var t=W(e);return V.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(o,c.options.modifiers),p=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(p).map((function(e){return p[e]}))));return c.orderedModifiers=l.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:c,name:t,instance:f,options:r});u.push(i||function(){})}})),f.update()},forceUpdate:function(){if(!p){var e=c.elements,t=e.reference,n=e.popper;if(B(t,n)){c.rects={reference:m(t,x(n),"fixed"===c.options.strategy),popper:v(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var o=c.orderedModifiers[r],i=o.fn,a=o.options,s=void 0===a?{}:a,u=o.name;"function"==typeof i&&(c=i({state:c,options:s,name:u,instance:f})||c)}else c.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){f.forceUpdate(),e(c)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){d(),p=!0}};if(!B(e,n))return f;function d(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(r).then((function(e){!p&&r.onFirstUpdate&&r.onFirstUpdate(e)})),f}}var N={passive:!0};function I(e){return e.split("-")[0]}function q(e){return e.split("-")[1]}function U(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?I(o):null,a=o?q(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case O:t={x:s,y:n.y-r.height};break;case E:t={x:s,y:n.y+n.height};break;case A:t={x:n.x+n.width,y:c};break;case T:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?U(i):null;if(null!=u){var p="y"===u?"height":"width";switch(a){case j:t[u]=t[u]-(n[p]/2-r[p]/2);break;case C:t[u]=t[u]+(n[p]/2-r[p]/2)}}return t}var F={top:"auto",right:"auto",bottom:"auto",left:"auto"};function z(t){var n,r=t.popper,o=t.popperRect,i=t.placement,s=t.variation,c=t.offsets,u=t.position,f=t.gpuAcceleration,l=t.adaptive,m=t.roundOffsets,v=t.isFixed,h=c.x,g=void 0===h?0:h,y=c.y,b=void 0===y?0:y,w="function"==typeof m?m({x:g,y:b}):{x:g,y:b};g=w.x,b=w.y;var L=c.hasOwnProperty("x"),D=c.hasOwnProperty("y"),j=T,k=O,M=window;if(l){var S=x(r),H="clientHeight",V="clientWidth";S===e(r)&&"static"!==d(S=p(r)).position&&"absolute"===u&&(H="scrollHeight",V="scrollWidth"),S=S,(i===O||(i===T||i===A)&&s===C)&&(k=E,b-=(v&&S===M&&M.visualViewport?M.visualViewport.height:S[H])-o.height,b*=f?1:-1),i!==T&&(i!==O&&i!==E||s!==C)||(j=A,g-=(v&&S===M&&M.visualViewport?M.visualViewport.width:S[V])-o.width,g*=f?1:-1)}var W,P=Object.assign({position:u},l&&F),B=!0===m?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:a(t*r)/r||0,y:a(n*r)/r||0}}({x:g,y:b}):{x:g,y:b};return g=B.x,b=B.y,f?Object.assign({},P,((W={})[k]=D?"0":"",W[j]=L?"0":"",W.transform=(M.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",W)):Object.assign({},P,((n={})[k]=D?b+"px":"",n[j]=L?g+"px":"",n.transform="",n))}const $={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];n(i)&&u(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});n(o)&&u(o)&&(Object.assign(o.style,a),Object.keys(i).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};var X={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(e){return e.replace(/left|right|bottom|top/g,(function(e){return X[e]}))}var J={start:"end",end:"start"};function G(e){return e.replace(/start|end/g,(function(e){return J[e]}))}function K(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&r(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Q(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Z(n,r){return r===k?Q(function(t){var n=e(t),r=p(t),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0;return o&&(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,c=o.offsetTop)),{width:i,height:a,x:s+f(t),y:c}}(n)):t(r)?function(e){var t=s(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(r):Q(function(e){var t,n=p(e),r=c(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=o(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=o(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+f(e),l=-r.scrollTop;return"rtl"===d(i||n).direction&&(u+=o(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:u,y:l}}(p(n)))}function ee(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function te(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ne(e,r){void 0===r&&(r={});var a=r,c=a.placement,f=void 0===c?e.placement:c,l=a.boundary,m=void 0===l?"clippingParents":l,v=a.rootBoundary,g=void 0===v?k:v,b=a.elementContext,w=void 0===b?M:b,T=a.altBoundary,L=void 0!==T&&T,j=a.padding,C=void 0===j?0:j,S=ee("number"!=typeof C?C:te(C,D)),H=w===M?"reference":M,V=e.rects.popper,W=e.elements[L?H:w],P=function(e,r,a){var s="clippingParents"===r?function(e){var r=y(h(e)),o=["absolute","fixed"].indexOf(d(e).position)>=0&&n(e)?x(e):e;return t(o)?r.filter((function(e){return t(e)&&K(e,o)&&"body"!==u(e)})):[]}(e):[].concat(r),c=[].concat(s,[a]),p=c[0],f=c.reduce((function(t,n){var r=Z(e,n);return t.top=o(r.top,t.top),t.right=i(r.right,t.right),t.bottom=i(r.bottom,t.bottom),t.left=o(r.left,t.left),t}),Z(e,p));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}(t(W)?W:W.contextElement||p(e.elements.popper),m,g),B=s(e.elements.reference),R=_({reference:B,element:V,strategy:"absolute",placement:f}),N=Q(Object.assign({},V,R)),I=w===M?N:B,q={top:P.top-I.top+S.top,bottom:I.bottom-P.bottom+S.bottom,left:P.left-I.left+S.left,right:I.right-P.right+S.right},U=e.modifiersData.offset;if(w===M&&U){var F=U[f];Object.keys(q).forEach((function(e){var t=[A,E].indexOf(e)>=0?1:-1,n=[O,E].indexOf(e)>=0?"y":"x";q[e]+=F[n]*t}))}return q}function re(e,t,n){return o(e,i(t,n))}function oe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ie(e){return[O,A,E,T].some((function(t){return e[t]>=0}))}var ae=R({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,r=t.instance,o=t.options,i=o.scroll,a=void 0===i||i,s=o.resize,c=void 0===s||s,u=e(n.elements.popper),p=[].concat(n.scrollParents.reference,n.scrollParents.popper);return a&&p.forEach((function(e){e.addEventListener("scroll",r.update,N)})),c&&u.addEventListener("resize",r.update,N),function(){a&&p.forEach((function(e){e.removeEventListener("scroll",r.update,N)})),c&&u.removeEventListener("resize",r.update,N)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=_({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s,u={placement:I(t.placement),variation:q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,z(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,z(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},$,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=H.reduce((function(e,n){return e[n]=function(e,t,n){var r=I(e),o=[T,O].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[T,A].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,p=n.boundary,f=n.rootBoundary,d=n.altBoundary,l=n.flipVariations,m=void 0===l||l,v=n.allowedAutoPlacements,h=t.options.placement,g=I(h),y=c||(g!==h&&m?function(e){if(I(e)===L)return[];var t=Y(e);return[G(e),t,G(t)]}(h):[Y(h)]),b=[h].concat(y).reduce((function(e,n){return e.concat(I(n)===L?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?H:c,p=q(r),f=p?s?S:S.filter((function(e){return q(e)===p})):D,d=f.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=f);var l=d.reduce((function(t,n){return t[n]=ne(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[I(n)],t}),{});return Object.keys(l).sort((function(e,t){return l[e]-l[t]}))}(t,{placement:n,boundary:p,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,x=t.rects.popper,C=new Map,k=!0,M=b[0],V=0;V<b.length;V++){var W=b[V],P=I(W),B=q(W)===j,R=[O,E].indexOf(P)>=0,N=R?"width":"height",U=ne(t,{placement:W,boundary:p,rootBoundary:f,altBoundary:d,padding:u}),_=R?B?A:T:B?E:O;w[N]>x[N]&&(_=Y(_));var F=Y(_),z=[];if(i&&z.push(U[P]<=0),s&&z.push(U[_]<=0,U[F]<=0),z.every((function(e){return e}))){M=W,k=!1;break}C.set(W,z)}if(k)for(var $=function(e){var t=b.find((function(t){var n=C.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return M=t,"break"},X=m?3:1;X>0&&"break"!==$(X);X--);t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,s=void 0===a||a,c=n.altAxis,u=void 0!==c&&c,p=n.boundary,f=n.rootBoundary,d=n.altBoundary,l=n.padding,m=n.tether,h=void 0===m||m,g=n.tetherOffset,y=void 0===g?0:g,b=ne(t,{boundary:p,rootBoundary:f,padding:l,altBoundary:d}),w=I(t.placement),L=q(t.placement),D=!L,C=U(w),k="x"===C?"y":"x",M=t.modifiersData.popperOffsets,S=t.rects.reference,H=t.rects.popper,V="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,W="number"==typeof V?{mainAxis:V,altAxis:V}:Object.assign({mainAxis:0,altAxis:0},V),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(M){if(s){var R,N="y"===C?O:T,_="y"===C?E:A,F="y"===C?"height":"width",z=M[C],$=z+b[N],X=z-b[_],Y=h?-H[F]/2:0,J=L===j?S[F]:H[F],G=L===j?-H[F]:-S[F],K=t.elements.arrow,Q=h&&K?v(K):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Z[N],te=Z[_],oe=re(0,S[F],Q[F]),ie=D?S[F]/2-Y-oe-ee-W.mainAxis:J-oe-ee-W.mainAxis,ae=D?-S[F]/2+Y+oe+te+W.mainAxis:G+oe+te+W.mainAxis,se=t.elements.arrow&&x(t.elements.arrow),ce=se?"y"===C?se.clientTop||0:se.clientLeft||0:0,ue=null!=(R=null==P?void 0:P[C])?R:0,pe=z+ae-ue,fe=re(h?i($,z+ie-ue-ce):$,z,h?o(X,pe):X);M[C]=fe,B[C]=fe-z}if(u){var de,le="x"===C?O:T,me="x"===C?E:A,ve=M[k],he="y"===k?"height":"width",ge=ve+b[le],ye=ve-b[me],be=-1!==[O,T].indexOf(w),we=null!=(de=null==P?void 0:P[k])?de:0,xe=be?ge:ve-S[he]-H[he]-we+W.altAxis,Oe=be?ve+S[he]+H[he]-we-W.altAxis:ye,Ee=h&&be?function(e,t,n){var r=re(e,t,n);return r>n?n:r}(xe,ve,Oe):re(h?xe:ge,ve,h?Oe:ye);M[k]=Ee,B[k]=Ee-ve}t.modifiersData[r]=B}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=I(n.placement),c=U(s),u=[T,A].indexOf(s)>=0?"height":"width";if(i&&a){var p=function(e,t){return ee("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:te(e,D))}(o.padding,n),f=v(i),d="y"===c?O:T,l="y"===c?E:A,m=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],h=a[c]-n.rects.reference[c],g=x(i),y=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,b=m/2-h/2,w=p[d],L=y-f[u]-p[l],j=y/2-f[u]/2+b,C=re(w,j,L),k=c;n.modifiersData[r]=((t={})[k]=C,t.centerOffset=C-j,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&K(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ne(t,{elementContext:"reference"}),s=ne(t,{altBoundary:!0}),c=oe(a,r),u=oe(s,o,i),p=ie(c),f=ie(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),se="tippy-content",ce="tippy-arrow",ue="tippy-svg-arrow",pe={passive:!0,capture:!0},fe=function(){return document.body};function de(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function le(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function me(e,t){return"function"==typeof e?e.apply(void 0,t):e}function ve(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function he(e){return[].concat(e)}function ge(e,t){-1===e.indexOf(t)&&e.push(t)}function ye(e){return[].slice.call(e)}function be(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function we(){return document.createElement("div")}function xe(e){return["Element","Fragment"].some((function(t){return le(e,t)}))}function Oe(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Ee(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Ae(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function Te(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var Le={isTouch:!1},De=0;function je(){Le.isTouch||(Le.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ce))}function Ce(){var e=performance.now();e-De<20&&(Le.isTouch=!1,document.removeEventListener("mousemove",Ce)),De=e}function ke(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var Me=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),Se=Object.assign({appendTo:fe,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),He=Object.keys(Se);function Ve(e){var t=(e.plugins||[]).reduce((function(t,n){var r,o=n.name,i=n.defaultValue;return o&&(t[o]=void 0!==e[o]?e[o]:null!=(r=Se[o])?r:i),t}),{});return Object.assign({},e,t)}function We(e,t){var n=Object.assign({},t,{content:me(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ve(Object.assign({},Se,{plugins:t}))):He).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Se.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Pe(e,t){e.innerHTML=t}function Be(e){var t=we();return!0===e?t.className=ce:(t.className=ue,xe(e)?t.appendChild(e):Pe(t,e)),t}function Re(e,t){xe(t.content)?(Pe(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Pe(e,t.content):e.textContent=t.content)}function Ne(e){var t=e.firstElementChild,n=ye(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(se)})),arrow:n.find((function(e){return e.classList.contains(ce)||e.classList.contains(ue)})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function Ie(e){var t=we(),n=we();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=we();function o(n,r){var o=Ne(t),i=o.box,a=o.content,s=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Re(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(i.removeChild(s),i.appendChild(Be(r.arrow))):i.appendChild(Be(r.arrow)):s&&i.removeChild(s)}return r.className=se,r.setAttribute("data-state","hidden"),Re(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Ie.$$tippy=!0;var qe=1,Ue=[],_e=[];function Fe(e,t){var n,r,o,i,a,s,c,u,p=We(e,Object.assign({},Se,Ve(be(t)))),f=!1,d=!1,l=!1,m=!1,v=[],h=ve(X,p.interactiveDebounce),g=qe++,y=(u=p.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:g,reference:e,popper:we(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(o)},setProps:function(t){if(!b.state.isDestroyed){H("onBeforeUpdate",[b,t]),z();var n=b.props,r=We(e,Object.assign({},n,be(t),{ignoreAttributes:!0}));b.props=r,F(),n.interactiveDebounce!==r.interactiveDebounce&&(P(),h=ve(X,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?he(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),W(),S(),O&&O(n,r),b.popperInstance&&(K(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),H("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=Le.isTouch&&!b.props.touch,o=de(b.props.duration,0,Se.duration);if(!(e||t||n||r||j().hasAttribute("disabled")||(H("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,D()&&(x.style.visibility="visible"),S(),I(),b.state.isMounted||(x.style.transition="none"),D()){var i=k();Oe([i.box,i.content],0)}var a,c,u;s=function(){var e;if(b.state.isVisible&&!m){if(m=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,D()&&b.props.animation){var t=k(),n=t.box,r=t.content;Oe([n,r],o),Ee([n,r],"visible")}V(),W(),ge(_e,b),null==(e=b.popperInstance)||e.forceUpdate(),H("onMount",[b]),b.props.animation&&D()&&function(e,t){U(e,(function(){b.state.isShown=!0,H("onShown",[b])}))}(o)}},c=b.props.appendTo,u=j(),(a=b.props.interactive&&c===fe||"parent"===c?u.parentNode:me(c,[u])).contains(x)||a.appendChild(x),b.state.isMounted=!0,K()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=de(b.props.duration,1,Se.duration);if(!(e||t||n)&&(H("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,m=!1,f=!1,D()&&(x.style.visibility="hidden"),P(),q(),S(!0),D()){var o=k(),i=o.box,a=o.content;b.props.animation&&(Oe([i,a],r),Ee([i,a],"hidden"))}V(),W(),b.props.animation?D()&&function(e,t){U(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){C().addEventListener("mousemove",h),ge(Ue,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(Q(),Z().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),_e=_e.filter((function(e){return e!==b})),b.state.isMounted=!1,H("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),z(),delete e._tippy,b.state.isDestroyed=!0,H("onDestroy",[b]))}};if(!p.render)return b;var w=p.render(b),x=w.popper,O=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var E=y.map((function(e){return e.fn(b)})),A=e.hasAttribute("aria-expanded");return F(),W(),S(),H("onCreate",[b]),p.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",h)})),b;function T(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function L(){return"hold"===T()[0]}function D(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function j(){return c||e}function C(){var e,t,n=j().parentNode;return n?null!=(t=he(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function k(){return Ne(x)}function M(e){return b.state.isMounted&&!b.state.isVisible||Le.isTouch||i&&"focus"===i.type?0:de(b.props.delay,e?0:1,Se.delay)}function S(e){void 0===e&&(e=!1),x.style.pointerEvents=b.props.interactive&&!e?"":"none",x.style.zIndex=""+b.props.zIndex}function H(e,t,n){var r;void 0===n&&(n=!0),E.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function V(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;he(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function W(){!A&&b.props.aria.expanded&&he(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===j()?"true":"false"):e.removeAttribute("aria-expanded")}))}function P(){C().removeEventListener("mousemove",h),Ue=Ue.filter((function(e){return e!==h}))}function B(t){if(!Le.isTouch||!l&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!Te(x,n)){if(he(b.props.triggerTarget||e).some((function(e){return Te(e,n)}))){if(Le.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else H("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout((function(){d=!1})),b.state.isMounted||q())}}}function R(){l=!0}function N(){l=!1}function I(){var e=C();e.addEventListener("mousedown",B,!0),e.addEventListener("touchend",B,pe),e.addEventListener("touchstart",N,pe),e.addEventListener("touchmove",R,pe)}function q(){var e=C();e.removeEventListener("mousedown",B,!0),e.removeEventListener("touchend",B,pe),e.removeEventListener("touchstart",N,pe),e.removeEventListener("touchmove",R,pe)}function U(e,t){var n=k().box;function r(e){e.target===n&&(Ae(n,"remove",r),t())}if(0===e)return t();Ae(n,"remove",a),Ae(n,"add",r),a=r}function _(t,n,r){void 0===r&&(r=!1),he(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),v.push({node:e,eventType:t,handler:n,options:r})}))}function F(){var e;L()&&(_("touchstart",$,{passive:!0}),_("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(_(e,$),e){case"mouseenter":_("mouseleave",Y);break;case"focus":_(Me?"focusout":"blur",J);break;case"focusin":_("focusout",J)}}))}function z(){v.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),v=[]}function $(e){var t,n=!1;if(b.state.isEnabled&&!G(e)&&!d){var r="focus"===(null==(t=i)?void 0:t.type);i=e,c=e.currentTarget,W(),!b.state.isVisible&&le(e,"MouseEvent")&&Ue.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function X(e){var t=e.target,n=j().contains(t)||x.contains(t);if("mousemove"!==e.type||!n){var r=Z().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=o.placement.split("-")[0],s=o.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,f="left"===a?s.right.x:0,d=t.top-r+c>i,l=r-t.bottom-u>i,m=t.left-n+p>i,v=n-t.right-f>i;return d||l||m||v}))})(r,e)&&(P(),te(e))}}function Y(e){G(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function J(e){b.props.trigger.indexOf("focusin")<0&&e.target!==j()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function G(e){return!!Le.isTouch&&L()!==e.type.indexOf("touch")>=0}function K(){Q();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,c=D()?Ne(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||j()}:e,p=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(D()){var n=k().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];D()&&c&&p.push({name:"arrow",options:{element:c,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),b.popperInstance=ae(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:p}))}function Q(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return ye(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&H("onTrigger",[b,e]),I();var t=M(!0),r=T(),o=r[0],i=r[1];Le.isTouch&&"hold"===o&&i&&(t=i),t?n=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),H("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=M(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):o=requestAnimationFrame((function(){b.hide()}))}}else q()}}function ze(e,t){void 0===t&&(t={});var n=Se.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",je,pe),window.addEventListener("blur",ke);var r,o=Object.assign({},t,{plugins:n}),i=(r=e,xe(r)?[r]:function(e){return le(e,"NodeList")}(r)?ye(r):Array.isArray(r)?r:ye(document.querySelectorAll(r))).reduce((function(e,t){var n=t&&Fe(t,o);return n&&e.push(n),e}),[]);return xe(e)?i[0]:i}ze.defaultProps=Se,ze.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Se[t]=e[t]}))},ze.currentInput=Le,Object.assign({},$,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),ze.setDefaultProps({render:Ie});const $e=ze;function Xe(e){e.preventDefault()}function Ye(){$e("[data-tippy-content]",{theme:"light",animation:"shift-away",arrow:'<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',role:"gtm-tooltip"})}const Je=()=>{document.querySelectorAll(".wp-block-gtm-popup-box[id]").forEach((e=>{const t=e.getAttribute("id"),n=e.dataset.options?JSON.parse(e.dataset.options):{};$e(`[href="#${t}"]`,{maxWidth:350,animation:"shift-away",inertia:!1,arrow:!0,...n,content:e.outerHTML,role:"gtm-popup",trigger:"click",hideOnClick:!0,interactive:!0,allowHTML:!0,onCreate(e){e.reference.hasAttribute("href")&&e.reference.addEventListener("click",Xe)},onShown(e){e.popper.querySelector('[type="search"]').focus()}})}))};"complete"===document.readyState?(Ye(),Je()):(document.addEventListener("DOMContentLoaded",Ye),document.addEventListener("DOMContentLoaded",Je))})();