File "kb-tippy.min.js"
Full Path: /home/magiggjm/magistvandroids.com/wp-content/plugins/kadence-blocks/includes/assets/js/kb-tippy.min.js
File size: 31.08 KB
MIME-type: text/plain
Charset: utf-8
/**!
* tippy.js v6.3.7
* (c) 2017-2021 atomiks
* MIT License
*/(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e=e||self,e.tippy=t(e.Popper))})(this,function(e){"use strict";function t(e,t){return{}.hasOwnProperty.call(e,t)}function n(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function i(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&-1<n.indexOf(t+"]")}function o(e,t){return"function"==typeof e?e.apply(void 0,t):e}function r(e,t){if(0===t)return e;var n;return function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)}}function a(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}function s(e){return e.split(/\s+/).filter(Boolean)}function p(e){return[].concat(e)}function d(e,t){-1===e.indexOf(t)&&e.push(t)}function l(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function c(e){return e?e.split("-")[0]:"auto"}function u(e){return[].slice.call(e)}function f(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function h(){return document.createElement("div")}function m(e){return["Element","Fragment"].some(function(t){return i(e,t)})}function g(e){return i(e,"NodeList")}function y(e){return i(e,"MouseEvent")}function b(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function v(e){return m(e)?[e]:g(e)?u(e):Array.isArray(e)?e:u(document.querySelectorAll(e))}function w(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function x(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function E(e){var t,n=p(e),i=n[0];return null!=i&&null!=(t=i.ownerDocument)&&t.body?i.ownerDocument:document}function T(e,t){var n=t.clientX,i=t.clientY;return e.every(function(e){var t=e.popperRect,o=e.popperState,r=e.props,a=r.interactiveBorder,s=c(o?.placement),p=o?.modifiersData?.offset;if(!p)return!0;var d="bottom"===s?p.top.y:0,l="top"===s?p.bottom.y:0,u="right"===s?p.left.x:0,f="left"===s?p.right.x:0,h=t.top-i+d>a,m=i-t.bottom-l>a,g=t.left-n+u>a,y=n-t.right-f>a;return h||m||g||y})}function C(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[i](t,n)})}function k(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}function A(){ae.isTouch||(ae.isTouch=!0,window.performance&&document.addEventListener("mousemove",L))}function L(){var e=performance.now();20>e-se&&(ae.isTouch=!1,document.removeEventListener("mousemove",L)),se=e}function O(){var e=document.activeElement;if(b(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function D(){document.addEventListener("touchstart",A,oe),window.addEventListener("blur",O)}function R(e){var t="destroy"===e?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function I(e){var t=/[ \t]{2,}/g,n=/^[ \t]*/gm;return e.replace(t," ").replace(n,"").trim()}function S(e){return I("\n %ctippy.js\n\n %c"+I(e)+"\n\n %c\uD83D\uDC77\u200D This is a development-only message. It will be removed in production.\n ")}function P(e){return[S(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function M(e,t){var n}function V(e,t){if(e&&!te.has(t)){var n;te.add(t),(n=console).error.apply(n,P(t))}}function H(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;V(t,["tippy() was passed","`"+(e+"`"),"as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),V(n,"tippy() was passed a plain object which is not supported as an argument for virtual positioning. Use props.getReferenceClientRect instead.")}function N(e){var t=e.plugins||[],n=t.reduce(function(t,n){var i=n.name,o=n.defaultValue;if(i){var r;t[i]=void 0===e[i]?null==(r=de[i])?o:r:e[i]}return t},{});return Object.assign({},e,n)}function B(e,t){var n=t?Object.keys(N(Object.assign({},de,{plugins:t}))):le,i=n.reduce(function(t,n){var i=(e.getAttribute("data-tooltip-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(o){t[n]=i}return t},{});return i}function U(e,t){var n=Object.assign({},t,{content:o(t.content,[e])},t.ignoreAttributes?{}:B(e,t.plugins));return n.aria=Object.assign({},de.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 j(e,n){void 0===e&&(e={}),void 0===n&&(n=[]);var i=Object.keys(e);i.forEach(function(e){var i=a(de,Object.keys(pe)),o=!t(i,e);o&&(o=0===n.filter(function(t){return t.name===e}).length),M(o,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}function Y(e,t){e[ce()]=t}function _(e){var t=h();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",m(e)?t.appendChild(e):Y(t,e)),t}function W(e,t){m(t.content)?(Y(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Y(e,t.content):e.textContent=t.content)}function z(e){var t=e.firstElementChild,n=u(t.children);return{box:t,content:n.find(function(e){return e.classList.contains("tippy-content")}),arrow:n.find(function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function X(e){function t(t,i){var o=z(n),r=o.box,a=o.content,s=o.arrow;i.theme?r.setAttribute("data-theme",i.theme):r.removeAttribute("data-theme"),"string"==typeof i.animation?r.setAttribute("data-animation",i.animation):r.removeAttribute("data-animation"),i.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?r.setAttribute("role",i.role):r.removeAttribute("role"),(t.content!==i.content||t.allowHTML!==i.allowHTML)&&W(a,e.props),i.arrow?s?t.arrow!==i.arrow&&(r.removeChild(s),r.appendChild(_(i.arrow))):r.appendChild(_(i.arrow)):s&&r.removeChild(s)}var n=h(),i=h();i.className="tippy-box",i.setAttribute("data-state","hidden"),i.setAttribute("tabindex","-1");var o=h();return o.className="tippy-content",o.setAttribute("data-state","hidden"),W(o,e.props),n.appendChild(i),i.appendChild(o),t(e.props,e.props),{popper:n,onUpdate:t}}function F(t,i){function a(){var e=_e.props.touch;return Array.isArray(e)?e:[e,0]}function c(){return"hold"===a()[0]}function m(){var e;return!!(null!=(e=_e.props.render)&&e.$$tippy)}function g(){return Re||t}function b(){var e=g().parentNode;return e?E(e):document}function v(){return z(ze)}function A(e){return _e.state.isMounted&&!_e.state.isVisible||ae.isTouch||Le&&"focus"===Le.type?0:n(_e.props.delay,e?0:1,de.delay)}function L(e){void 0===e&&(e=!1),ze.style.pointerEvents=_e.props.interactive&&!e?"":"none",ze.style.zIndex=""+_e.props.zIndex}function O(e,t,n){if(void 0===n&&(n=!0),Fe.forEach(function(n){n[e]&&n[e].apply(n,t)}),n){var i;(i=_e.props)[e].apply(i,t)}}function D(){var e=_e.props.aria;if(e.content){var n="aria-"+e.content,i=ze.id,o=p(_e.props.triggerTarget||t);o.forEach(function(e){var t=e.getAttribute(n);if(_e.state.isVisible)e.setAttribute(n,t?t+" "+i:i);else{var o=t&&t.replace(i,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}})}}function I(){if(!$e&&_e.props.aria.expanded){var e=p(_e.props.triggerTarget||t);e.forEach(function(e){_e.props.interactive?e.setAttribute("aria-expanded",_e.state.isVisible&&e===g()?"true":"false"):e.removeAttribute("aria-expanded")})}}function S(){b().removeEventListener("mousemove",Ne),fe=fe.filter(function(e){return e!==Ne})}function P(e){if(!(ae.isTouch&&(Me||"mousedown"===e.type))){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!(_e.props.interactive&&k(ze,n))){if(p(_e.props.triggerTarget||t).some(function(e){return k(e,n)})){if(ae.isTouch)return;if(_e.state.isVisible&&0<=_e.props.trigger.indexOf("click"))return}else O("onClickOutside",[_e,e]);!0===_e.props.hideOnClick&&(_e.clearDelayTimeouts(),_e.hide(),Pe=!0,setTimeout(function(){Pe=!1}),!_e.state.isMounted&&Y())}}}function H(){Me=!0}function B(){Me=!1}function j(){var e=b();e.addEventListener("mousedown",P,!0),e.addEventListener("touchend",P,oe),e.addEventListener("touchstart",B,oe),e.addEventListener("touchmove",H,oe)}function Y(){var e=b();e.removeEventListener("mousedown",P,!0),e.removeEventListener("touchend",P,oe),e.removeEventListener("touchstart",B,oe),e.removeEventListener("touchmove",H,oe)}function _(e,t){X(e,function(){!_e.state.isVisible&&ze.parentNode&&ze.parentNode.contains(ze)&&t()})}function W(e,t){X(e,t)}function X(e,t){function n(e){e.target===i&&(C(i,"remove",n),t())}var i=v().box;return 0===e?t():void(C(i,"remove",Oe),C(i,"add",n),Oe=n)}function F(e,n,i){void 0===i&&(i=!1);var o=p(_e.props.triggerTarget||t);o.forEach(function(t){t.addEventListener(e,n,i),He.push({node:t,eventType:e,handler:n,options:i})})}function $(){c()&&(F("touchstart",G,{passive:!0}),F("touchend",K,{passive:!0})),s(_e.props.trigger).forEach(function(e){"manual"!==e&&(F(e,G),"mouseenter"===e?F("mouseleave",K):"focus"===e?F(ie?"focusout":"blur",Q):"focusin"===e?F("focusout",Q):void 0)})}function q(){He.forEach(function(e){var t=e.node,n=e.eventType,i=e.handler,o=e.options;t.removeEventListener(n,i,o)}),He=[]}function G(e){var t,n=!1;if(!(!_e.state.isEnabled||Z(e)||Pe)){var i="focus"===(null==(t=Le)?void 0:t.type);Le=e,Re=e.currentTarget,I(),!_e.state.isVisible&&y(e)&&fe.forEach(function(t){return t(e)}),"click"===e.type&&(0>_e.props.trigger.indexOf("mouseenter")||Se)&&!1!==_e.props.hideOnClick&&_e.state.isVisible?n=!0:pe(e),"click"===e.type&&(Se=!n),n&&!i&&le(e)}}function J(e){var t=e.target,n=g().contains(t)||ze.contains(t);if(!("mousemove"===e.type&&n)){var i=se().concat(ze).map(function(e){var t,n=e._tippy,i=null==(t=n.popperInstance)?void 0:t.state;return{popperRect:e.getBoundingClientRect(),popperState:i,props:Ie};return null}).filter(Boolean);T(i,e)&&(S(),le(e))}}function K(e){var t=Z(e)||0<=_e.props.trigger.indexOf("click")&&Se;return t?void 0:_e.props.interactive?void _e.hideWithInteractivity(e):void le(e)}function Q(e){0>_e.props.trigger.indexOf("focusin")&&e.target!==g()||_e.props.interactive&&e.relatedTarget&&ze.contains(e.relatedTarget)||le(e)}function Z(e){return!!ae.isTouch&&c()!==0<=e.type.indexOf("touch")}function ee(){te();var n=_e.props,i=n.popperOptions,o=n.placement,r=n.offset,a=n.getReferenceClientRect,s=n.moveTransition,p=m()?z(ze).arrow:null,d=a?{getBoundingClientRect:a,contextElement:a.contextElement||g()}:t,l={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function t(e){var n=e.state;if(m()){var i=v(),o=i.box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?o.setAttribute("data-placement",n.placement):n.attributes.popper["data-popper-"+e]?o.setAttribute("data-"+e,""):o.removeAttribute("data-"+e)}),n.attributes.popper={}}}},c=[{name:"offset",options:{offset:r}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},l];m()&&p&&c.push({name:"arrow",options:{element:p,padding:3}}),c.push.apply(c,(null==i?void 0:i.modifiers)||[]),_e.popperInstance=e.createPopper(d,ze,Object.assign({},i,{placement:o,onFirstUpdate:De,modifiers:c}))}function te(){_e.popperInstance&&(_e.popperInstance.destroy(),_e.popperInstance=null)}function ne(){var e,t=_e.props.appendTo,n=g();e=_e.props.interactive&&t===re||"parent"===t?n.parentNode:o(t,[n]),e.contains(ze)||e.appendChild(ze),_e.state.isMounted=!0,ee(),M(_e.props.interactive&&t===de.appendTo&&n.nextElementSibling!==ze,"Interactive tippy element may not be accessible via keyboard navigation because it is not directly after the reference element in the DOM source order. \n\n Using a wrapper <div> or <span> tag around the reference element solves this by creating a new parentNode context. \n\n Specifying `appendTo: document.body` silences this warning, but it assumes you are using a focus management solution to handle keyboard navigation. \n\n See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity")}function se(){return u(ze.querySelectorAll("[data-tippy-root]"))}function pe(e){_e.clearDelayTimeouts(),e&&O("onTrigger",[_e,e]),j();var t=A(!0),n=a(),i=n[0],o=n[1];ae.isTouch&&"hold"===i&&o&&(t=o),t?Ce=setTimeout(function(){_e.show()},t):_e.show()}function le(e){if(_e.clearDelayTimeouts(),O("onUntrigger",[_e,e]),!_e.state.isVisible)return void Y();if(!(0<=_e.props.trigger.indexOf("mouseenter")&&0<=_e.props.trigger.indexOf("click")&&0<=["mouseleave","mousemove"].indexOf(e.type)&&Se)){var t=A(!1);t?ke=setTimeout(function(){_e.state.isVisible&&_e.hide()},t):Ae=requestAnimationFrame(function(){_e.hide()})}}function ce(){_e.state.isEnabled=!0}function me(){_e.hide(),_e.state.isEnabled=!1}function ge(){clearTimeout(Ce),clearTimeout(ke),cancelAnimationFrame(Ae)}function ye(e){if(M(_e.state.isDestroyed,R("setProps")),!_e.state.isDestroyed){O("onBeforeUpdate",[_e,e]),q();var n=_e.props,i=U(t,Object.assign({},n,f(e),{ignoreAttributes:!0}));_e.props=i,$(),n.interactiveDebounce!==i.interactiveDebounce&&(S(),Ne=r(J,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?p(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):i.triggerTarget&&t.removeAttribute("aria-expanded"),I(),L(),Xe&&Xe(n,i),_e.popperInstance&&(ee(),se().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),O("onAfterUpdate",[_e,e])}}function be(e){_e.setProps({content:e})}function ve(){M(_e.state.isDestroyed,R("show"));var e=_e.state.isVisible,t=_e.state.isDestroyed,i=!_e.state.isEnabled,o=ae.isTouch&&!_e.props.touch,r=n(_e.props.duration,0,de.duration);if(!(e||t||i||o)&&!g().hasAttribute("disabled")&&(O("onShow",[_e],!1),!1!==_e.props.onShow(_e))){if(_e.state.isVisible=!0,m()&&(ze.style.visibility="visible"),L(),j(),_e.state.isMounted||(ze.style.transition="none"),m()){var a=v(),s=a.box,p=a.content;w([s,p],0)}De=function e(){var t;if(_e.state.isVisible&&!Ve){if(Ve=!0,void ze.offsetHeight,ze.style.transition=_e.props.moveTransition,m()&&_e.props.animation){var n=v(),i=n.box,o=n.content;w([i,o],r),x([i,o],"visible")}D(),I(),d(he,_e),null==(t=_e.popperInstance)?void 0:t.forceUpdate(),O("onMount",[_e]),_e.props.animation&&m()&&W(r,function(){_e.state.isShown=!0,O("onShown",[_e])})}},ne()}}function we(){M(_e.state.isDestroyed,R("hide"));var e=!_e.state.isVisible,t=_e.state.isDestroyed,i=!_e.state.isEnabled,o=n(_e.props.duration,1,de.duration);if(!(e||t||i)&&(O("onHide",[_e],!1),!1!==_e.props.onHide(_e))){if(_e.state.isVisible=!1,_e.state.isShown=!1,Ve=!1,Se=!1,m()&&(ze.style.visibility="hidden"),S(),Y(),L(!0),m()){var r=v(),a=r.box,s=r.content;_e.props.animation&&(w([a,s],o),x([a,s],"hidden"))}D(),I(),_e.props.animation?m()&&_(o,_e.unmount):_e.unmount()}}function xe(e){M(_e.state.isDestroyed,R("hideWithInteractivity")),b().addEventListener("mousemove",Ne),d(fe,Ne),Ne(e)}function Ee(){M(_e.state.isDestroyed,R("unmount")),_e.state.isVisible&&_e.hide(),_e.state.isMounted&&(te(),se().forEach(function(e){e._tippy.unmount()}),ze.parentNode&&ze.parentNode.removeChild(ze),he=he.filter(function(e){return e!==_e}),_e.state.isMounted=!1,O("onHidden",[_e]))}function Te(){M(_e.state.isDestroyed,R("destroy")),_e.state.isDestroyed||(_e.clearDelayTimeouts(),_e.unmount(),q(),delete t._tippy,_e.state.isDestroyed=!0,O("onDestroy",[_e]))}var Ce,ke,Ae,Le,Oe,De,Re,Ie=U(t,Object.assign({},de,N(f(i)))),Se=!1,Pe=!1,Me=!1,Ve=!1,He=[],Ne=r(J,Ie.interactiveDebounce),Be=ue++,Ue=null,je=l(Ie.plugins),Ye={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_e={id:Be,reference:t,popper:h(),popperInstance:Ue,props:Ie,state:Ye,plugins:je,clearDelayTimeouts:ge,setProps:ye,setContent:be,show:ve,hide:we,hideWithInteractivity:xe,enable:ce,disable:me,unmount:Ee,destroy:Te};if(!Ie.render)return V(!0,"render() function has not been supplied."),_e;var We=Ie.render(_e),ze=We.popper,Xe=We.onUpdate;ze.setAttribute("data-tippy-root",""),ze.id="tippy-"+_e.id,_e.popper=ze,t._tippy=_e,ze._tippy=_e;var Fe=je.map(function(e){return e.fn(_e)}),$e=t.hasAttribute("aria-expanded");return $(),I(),L(),O("onCreate",[_e]),Ie.showOnCreate&&pe(),ze.addEventListener("mouseenter",function(){_e.props.interactive&&_e.state.isVisible&&_e.clearDelayTimeouts()}),ze.addEventListener("mouseleave",function(){_e.props.interactive&&0<=_e.props.trigger.indexOf("mouseenter")&&b().addEventListener("mousemove",Ne)}),_e}function $(e,t){void 0===t&&(t={});var n=de.plugins.concat(t.plugins||[]);H(e),j(t,n),D();var i=Object.assign({},t,{plugins:n}),o=v(e);{var r=m(i.content),a=1<o.length;M(r&&a,"tippy() was passed an Element as the `content` prop, but more than one tippy instance was created by this invocation. This means the content element will only be appended to the last tippy instance. \n\n Instead, pass the .innerHTML of the element, or use a function that returns a cloned version of the element instead. \n\n 1) content: element.innerHTML\n 2) content: () => element.cloneNode(true)")}var s=o.reduce(function(e,t){var n=t&&F(t,i);return n&&e.push(n),e},[]);return m(e)?s[0]:s}function q(){var e=h();return e.className="tippy-backdrop",x([e],"hidden"),e}function G(e){var t=e.clientX,n=e.clientY;be={clientX:t,clientY:n}}function J(e){e.addEventListener("mousemove",G)}function K(e){e.removeEventListener("mousemove",G)}function Q(e,t){var n;return{popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter(function(e){var n=e.name;return n!==t.name}),[t])})}}function Z(e,t,n,i){if(2>n.length||null===e)return t;if(2===n.length&&0<=i&&n[0].left>n[1].right)return n[i]||t;switch(e){case"top":case"bottom":{var o=n[0],r=n[n.length-1],a="top"===e,s=o.top,p=r.bottom,d=a?o.left:r.left,l=a?o.right:r.right,c=l-d,u=p-s;return{top:s,bottom:p,left:d,right:l,width:c,height:u}}case"left":case"right":{var f=Math.min.apply(Math,n.map(function(e){return e.left})),h=Math.max.apply(Math,n.map(function(e){return e.right})),m=n.filter(function(t){return"left"===e?t.left===f:t.right===h}),g=m[0].top,y=m[m.length-1].bottom,b=f,v=h,w=v-b,x=y-g;return{top:g,bottom:y,left:b,right:v,width:w,height:x}}default:return t}}function ee(e,t){return!(e&&t)||e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left}var te,ne="undefined"!=typeof window&&"undefined"!=typeof document,ie=!!ne&&!!window.msCrypto,oe={passive:!0,capture:!0},re=function e(){return document.body},ae={isTouch:!1},se=0;(function e(){te=new Set})();var pe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},de=Object.assign({appendTo:re,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 e(){},onBeforeUpdate:function e(){},onCreate:function e(){},onDestroy:function e(){},onHidden:function e(){},onHide:function e(){},onMount:function e(){},onShow:function e(){},onShown:function e(){},onTrigger:function e(){},onUntrigger:function e(){},onClickOutside:function e(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},pe,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),le=Object.keys(de),ce=function e(){return"innerHTML"};X.$$tippy=!0;var ue=1,fe=[],he=[];$.defaultProps=de,$.setDefaultProps=function t(e){j(e,[]);var n=Object.keys(e);n.forEach(function(t){de[t]=e[t]})},$.currentInput=ae;var me=function t(e){var n=void 0===e?{}:e,i=n.exclude,o=n.duration;he.forEach(function(e){var t=!1;if(i&&(t=b(i)?e.reference===i:e.popper===i.popper),!t){var n=e.props.duration;e.setProps({duration:o}),e.hide(),e.state.isDestroyed||e.setProps({duration:n})}})},ge=Object.assign({},e.applyStyles,{effect:function t(e){var n=e.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}}),ye={mouseover:"mouseenter",focusin:"focus",click:"click"},be={clientX:0,clientY:0},ve=[];return ne&&function t(e){var n=document.createElement("style");n.textContent=e,n.setAttribute("data-tippy-stylesheet","");var i=document.head,o=document.querySelector("head>style,head>link");o?i.insertBefore(n,o):i.appendChild(n)}(":root{--kb-tooltip-color:#fff;--kb-tooltip-background:#333}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:var(--kb-tooltip-background);color:var(--kb-tooltip-color);border-radius:4px;font-size:14px;font-weight:normal;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:var(--kb-tooltip-background);}.tippy-arrow:before{content:\"\";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}a[data-kb-tooltip-content]:not([href]){color:inherit;border-bottom: 1px dashed currentColor;}.wp-block-kadence-advancedheading [data-kb-tooltip-dash]{border-bottom: 1px dashed currentColor;}"),$.setDefaultProps({plugins:[{name:"animateFill",defaultValue:!1,fn:function t(e){var n;if(!(null!=(n=e.props.render)&&n.$$tippy))return V(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var i=z(e.popper),o=i.box,r=i.content,a=e.props.animateFill?q():null;return{onCreate:function t(){a&&(o.insertBefore(a,o.firstElementChild),o.setAttribute("data-animatefill",""),o.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function e(){if(a){var t=o.style.transitionDuration,n=+t.replace("ms","");r.style.transitionDelay=Math.round(n/10)+"ms",a.style.transitionDuration=t,x([a],"visible")}},onShow:function e(){a&&(a.style.transitionDuration="0ms")},onHide:function e(){a&&x([a],"hidden")}}}},{name:"followCursor",defaultValue:!1,fn:function t(e){function n(){return"initial"===e.props.followCursor&&e.state.isVisible}function i(){l.addEventListener("mousemove",a)}function o(){l.removeEventListener("mousemove",a)}function r(){c=!0,e.setProps({getReferenceClientRect:null}),c=!1}function a(t){var n=!t.target||d.contains(t.target),i=e.props.followCursor,o=t.clientX,r=t.clientY,a=d.getBoundingClientRect(),s=o-a.left,p=r-a.top;(n||!e.props.interactive)&&e.setProps({getReferenceClientRect:function e(){var t=d.getBoundingClientRect(),n=o,a=r;"initial"===i&&(n=t.left+s,a=t.top+p);var l="horizontal"===i?t.top:a,c="vertical"===i?t.right:n,u="horizontal"===i?t.bottom:a,f="vertical"===i?t.left:n;return{width:c-f,height:u-l,top:l,right:c,bottom:u,left:f}}})}function s(){e.props.followCursor&&(ve.push({instance:e,doc:l}),J(l))}function p(){ve=ve.filter(function(t){return t.instance!==e}),0===ve.filter(function(e){return e.doc===l}).length&&K(l)}var d=e.reference,l=E(e.props.triggerTarget||d),c=!1,u=!1,f=!0,h=e.props;return{onCreate:s,onDestroy:p,onBeforeUpdate:function t(){h=e.props},onAfterUpdate:function d(t,a){var l=a.followCursor;c||void 0!==l&&h.followCursor!==l&&(p(),l?(s(),e.state.isMounted&&!u&&!n()&&i()):(o(),r()))},onMount:function t(){e.props.followCursor&&!u&&(f&&(a(be),f=!1),!n()&&i())},onTrigger:function n(e,t){y(t)&&(be={clientX:t.clientX,clientY:t.clientY}),u="focus"===t.type},onHidden:function t(){e.props.followCursor&&(r(),o(),f=!0)}}}},{name:"inlinePositioning",defaultValue:!1,fn:function t(e){function n(){return!!e.props.inlinePositioning}function i(e){return Z(c(e),s.getBoundingClientRect(),u(s.getClientRects()),p)}function o(t){d=!0,e.setProps(t),d=!1}function r(){d||o(Q(e.props,f))}var a,s=e.reference,p=-1,d=!1,l=[],f={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function o(t){var r=t.state;n()&&(-1!==l.indexOf(r.placement)&&(l=[]),a!==r.placement&&-1===l.indexOf(r.placement)&&(l.push(r.placement),e.setProps({getReferenceClientRect:function e(){return i(r.placement)}})),a=r.placement)}};return{onCreate:r,onAfterUpdate:r,onTrigger:function i(t,n){if(y(n)){var o=u(e.reference.getClientRects()),r=o.find(function(e){return e.left-2<=n.clientX&&e.right+2>=n.clientX&&e.top-2<=n.clientY&&e.bottom+2>=n.clientY}),a=o.indexOf(r);p=-1<a?a:p}},onHidden:function e(){p=-1}}}},{name:"sticky",defaultValue:!1,fn:function t(e){function n(){return e.popperInstance?e.popperInstance.state.elements.reference:r}function i(t){return!0===e.props.sticky||e.props.sticky===t}function o(){var t=i("reference")?n().getBoundingClientRect():null,r=i("popper")?a.getBoundingClientRect():null;(t&&ee(s,t)||r&&ee(p,r))&&e.popperInstance&&e.popperInstance.update(),s=t,p=r,e.state.isMounted&&requestAnimationFrame(o)}var r=e.reference,a=e.popper,s=null,p=null;return{onMount:function t(){e.props.sticky&&o()}}}}],render:X}),$.createSingleton=function n(e,t){function i(){m=u.map(function(e){return p(e.props.triggerTarget||e.reference)}).reduce(function(e,t){return e.concat(t)},[])}function o(){f=u.map(function(e){return e.reference})}function r(e){u.forEach(function(t){e?t.enable():t.disable()})}function s(e){return u.map(function(t){var n=t.setProps;return t.setProps=function(i){n(i),t.reference===c&&e.setProps(i)},function(){t.setProps=n}})}function d(e,t){var n=m.indexOf(t);if(t!==c){c=t;var i=(g||[]).concat("content").reduce(function(e,t){return e[t]=u[n].props[t],e},{});e.setProps(Object.assign({},i,{getReferenceClientRect:"function"==typeof i.getReferenceClientRect?i.getReferenceClientRect:function(){var e;return null==(e=f[n])?void 0:e.getBoundingClientRect()}}))}}var l;void 0===t&&(t={}),V(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",e+""].join(" "));var c,u=e,f=[],m=[],g=t.overrides,y=[],b=!1;r(!1),o(),i();var v={fn:function e(){return{onDestroy:function e(){r(!0)},onHidden:function e(){c=null},onClickOutside:function t(e){e.props.showOnCreate&&!b&&(b=!0,c=null)},onShow:function t(e){e.props.showOnCreate&&!b&&(b=!0,d(e,f[0]))},onTrigger:function n(e,t){d(e,t.currentTarget)}}}},w=$(h(),Object.assign({},a(t,["overrides"]),{plugins:[v].concat(t.plugins||[]),triggerTarget:m,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(l=t.popperOptions)?void 0:l.modifiers)||[],[ge])})})),x=w.show;w.show=function(e){if(x(),!c&&null==e)return d(w,f[0]);if(!(c&&null==e)){if("number"==typeof e)return f[e]&&d(w,f[e]);if(0<=u.indexOf(e)){var t=e.reference;return d(w,t)}return 0<=f.indexOf(e)?d(w,e):void 0}},w.showNext=function(){var e=f[0];if(!c)return w.show(0);var t=f.indexOf(c);w.show(f[t+1]||e)},w.showPrevious=function(){var e=f[f.length-1];if(!c)return w.show(e);var t=f.indexOf(c),n=f[t-1]||e;w.show(n)};var E=w.setProps;return w.setProps=function(e){g=e.overrides||g,E(e)},w.setInstances=function(e){r(!0),y.forEach(function(e){return e()}),u=e,r(!1),o(),i(),y=s(w),w.setProps({triggerTarget:m})},y=s(w),w},$.delegate=function n(e,t){function i(e){if(e.target&&!u){var n=e.target.closest(f);if(n){var i=n.getAttribute("data-tippy-trigger")||t.trigger||de.trigger;if(!n._tippy&&("touchstart"!==e.type||"boolean"!=typeof g.touch)&&!("touchstart"!==e.type&&0>i.indexOf(ye[e.type]))){var o=$(n,g);o&&(c=c.concat(o))}}}}function o(e,t,n,i){void 0===i&&(i=!1),e.addEventListener(t,n,i),l.push({node:e,eventType:t,handler:n,options:i})}function r(e){var t=e.reference;o(t,"touchstart",i,oe),o(t,"mouseover",i),o(t,"focusin",i),o(t,"click",i)}function s(){l.forEach(function(e){var t=e.node,n=e.eventType,i=e.handler,o=e.options;t.removeEventListener(n,i,o)}),l=[]}function d(e){var t=e.destroy,n=e.enable,i=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&c.forEach(function(e){e.destroy()}),c=[],s(),t()},e.enable=function(){n(),c.forEach(function(e){return e.enable()}),u=!1},e.disable=function(){i(),c.forEach(function(e){return e.disable()}),u=!0},r(e)}V(!(t&&t.target),"You must specity a `target` prop indicating a CSS selector string matching the target elements that should receive a tippy.");var l=[],c=[],u=!1,f=t.target,h=a(t,["target"]),m=Object.assign({},h,{trigger:"manual",touch:!1}),g=Object.assign({touch:de.touch},h,{showOnCreate:!0}),y=$(e,m),b=p(y);return b.forEach(d),y},$.hideAll=me,$.roundArrow="<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>",$}),function(){"use strict";window.kadenceTippy={strip_tags(e){const t=["br","b","i","u","p","ol","ul","li","strong","small"],n=["id","class"];e=e.replace(/<!--[\s\S]*?-->/g,"");const i=e.replace(/<([a-z][a-z0-9]*)\b[^>]*>/gi,(e,i)=>{if(t.includes(i.toLowerCase())){const t=e.match(/([a-z0-9-]+)="([^"]*)"/gi)||[],o=t.filter(e=>n.some(t=>e.startsWith(t+"="))).join(" ");return`<${i.toLowerCase()}${o?" "+o:""}>`}return""});return i.replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,(e,n)=>t.includes(n.toLowerCase())?e:"")},init(){if("function"==typeof tippy){const e=document.querySelectorAll(".kb-tooltips:not([href])");e.forEach(e=>{e.setAttribute("tabindex","0")}),tippy("[data-kb-tooltip-content]",{allowHTML:!0,interactive:!0,content:e=>{const t=e.getAttribute("data-kb-tooltip-content");return window.kadenceTippy.strip_tags(t)},onCreate:e=>{null!=e?.reference?.role||window.kadenceTippy.isInteractiveElement(e.reference)||(e.reference.role="note")}});const t=document.querySelectorAll("[data-tooltip-id]:not([href])");t.forEach(e=>{e.setAttribute("tabindex","0")}),tippy("[data-tooltip-id]",{allowHTML:!0,interactive:!0,content:e=>{const t=e.getAttribute("data-tooltip-id"),n=document.getElementById(t);return n?window.kadenceTippy.strip_tags(n.innerHTML):""},onCreate:e=>{null!=e?.reference?.role||window.kadenceTippy.isInteractiveElement(e.reference)||(e.reference.role="note")}})}},isInteractiveElement(e){const{nodeName:t}=e;return!!["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||!!("A"===t&&e.hasAttribute("href"))||!!(["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls"))||!!(["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap"))}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.kadenceTippy.init):window.kadenceTippy.init(),document.addEventListener("kadenceJSInitReload",function(){window.kadenceTippy.init()})}();