PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/v1world.us/wp-content/themes/neve/header-footer-grid/assets/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/v1world.us/wp-content/themes/neve/header-footer-grid/assets/js/theme.min.js |
!function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}function n(e){return e&&e.Math==Math&&e}function d(e){try{return!!e()}catch(e){return!0}}function i(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function h(e){return v.call(e).slice(8,-1)}function p(e){if(null==e)throw TypeError("Can't call method on "+e);return e}function c(e){return b(p(e))}function g(e){return"object"==typeof e?null!==e:"function"==typeof e}function r(e,t){if(!g(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!g(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!g(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!g(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}function u(e,t){return E.call(e,t)}function T(e){if(!g(e))throw TypeError(String(e)+" is not an object");return e}function f(t,n){try{M(m,t,n)}catch(e){m[t]=n}return n}var m=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")(),a=!d(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l={f:s&&!o.call({1:2},1)?function(e){var t=s(this,e);return!!t&&t.enumerable}:o},v={}.toString,y="".split,b=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==h(e)?y.call(e,""):Object(e)}:Object,E={}.hasOwnProperty,S=m.document,x=g(S)&&g(S.createElement),w=!a&&!d(function(){return 7!=Object.defineProperty((e="div",x?S.createElement(e):{}),"a",{get:function(){return 7}}).a;var e}),L=Object.getOwnPropertyDescriptor,_={f:a?L:function(e,t){if(e=c(e),t=r(t,!0),w)try{return L(e,t)}catch(e){}if(u(e,t))return i(!l.f.call(e,t),e[t])}},O=Object.defineProperty,A={f:a?O:function(e,t,n){if(T(e),t=r(t,!0),T(n),w)try{return O(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},M=a?function(e,t,n){return A.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e},C="__core-js_shared__",I=m[C]||f(C,{}),N=Function.toString;"function"!=typeof I.inspectSource&&(I.inspectSource=function(e){return N.call(e)});function P(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++F+z).toString(36)}var R,j,k,D,U=I.inspectSource,B=m.WeakMap,$="function"==typeof B&&/native code/.test(U(B)),q=t(function(e){(e.exports=function(e,t){return I[e]||(I[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),F=0,z=Math.random(),G=q("keys"),H={},K=m.WeakMap;if($){var W=new K,Y=W.get,J=W.has,X=W.set;R=function(e,t){return X.call(W,e,t),t},j=function(e){return Y.call(W,e)||{}},k=function(e){return J.call(W,e)}}else{var V=G[D="state"]||(G[D]=P(D));H[V]=!0,R=function(e,t){return M(e,V,t),t},j=function(e){return u(e,V)?e[V]:{}},k=function(e){return u(e,V)}}function Q(e){return"function"==typeof e?e:void 0}function Z(e){return isNaN(e=+e)?0:(0<e?fe:de)(e)}function ee(e){return 0<e?he(Z(e),9007199254740991):0}function te(u){return function(e,t,n){var i,r,o,a=c(e),s=ee(a.length),l=(i=s,(r=Z(n))<0?pe(r+i,0):ge(r,i));if(u&&t!=t){for(;l<s;)if((o=a[l++])!=o)return!0}else for(;l<s;l++)if((u||l in a)&&a[l]===t)return u||l||0;return!u&&-1}}function ne(e,t){for(var n=Se(t),i=A.f,r=_.f,o=0;o<n.length;o++){var a=n[o];u(e,a)||i(e,a,r(t,a))}}function ie(e,t){var n=Le[we(e)];return n==Oe||n!=_e&&("function"==typeof t?d(t):!!t)}function re(e,t){var n,i,r,o,a,s=e.target,l=e.global,u=e.stat;if(n=l?m:u?m[s]||f(s,{}):(m[s]||{}).prototype)for(i in t){if(o=t[i],r=e.noTargetGet?(a=Ae(n,i))&&a.value:n[i],!Te(l?i:s+(u?".":"#")+i,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;ne(o,r)}(e.sham||r&&r.sham)&&M(o,"sham",!0),ue(n,i,o,e)}}function oe(e){throw e}var ae,se,le={set:R,get:j,has:k,enforce:function(e){return k(e)?j(e):R(e,{})},getterFor:function(n){return function(e){var t;if(!g(e)||(t=j(e)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return t}}},ue=t(function(e){var t=le.get,s=le.enforce,l=String(String).split("String");(e.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,o=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||u(n,"name")||M(n,"name",t),s(n).source=l.join("string"==typeof t?t:"")),e!==m?(r?!a&&e[t]&&(o=!0):delete e[t],o?e[t]=n:M(e,t,n)):o?e[t]=n:f(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||U(this)})}),ce=m,de=Math.ceil,fe=Math.floor,he=Math.min,pe=Math.max,ge=Math.min,me={includes:te(!0),indexOf:te(!1)},ve=me.indexOf,ye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype"),be={f:Object.getOwnPropertyNames||function(e){return function(e,t){var n,i=c(e),r=0,o=[];for(n in i)!u(H,n)&&u(i,n)&&o.push(n);for(;t.length>r;)u(i,n=t[r++])&&(~ve(o,n)||o.push(n));return o}(e,ye)}},Ee={f:Object.getOwnPropertySymbols},Se=function(e,t){return arguments.length<2?Q(ce[e])||Q(m[e]):ce[e]&&ce[e][t]||m[e]&&m[e][t]}("Reflect","ownKeys")||function(e){var t=be.f(T(e)),n=Ee.f;return n?t.concat(n(e)):t},xe=/#|\.prototype\./,we=ie.normalize=function(e){return String(e).replace(xe,".").toLowerCase()},Le=ie.data={},_e=ie.NATIVE="N",Oe=ie.POLYFILL="P",Te=ie,Ae=_.f,Me=Object.defineProperty,Ce={},Ie=me.indexOf,Ne=[].indexOf,Pe=!!Ne&&1/[1].indexOf(1,-0)<0,Re=!!(se=[]["indexOf"])&&d(function(){se.call(null,ae||function(){throw 1},1)}),je=function(e,t){if(u(Ce,e))return Ce[e];var n=[][e],i=!!u(t=t||{},"ACCESSORS")&&t.ACCESSORS,r=u(t,0)?t[0]:oe,o=u(t,1)?t[1]:void 0;return Ce[e]=!!n&&!d(function(){if(i&&!a)return!0;var e={length:-1};i?Me(e,1,{enumerable:!0,get:oe}):e[1]=1,n.call(e,r,o)})}("indexOf",{ACCESSORS:!0,1:0});re({target:"Array",proto:!0,forced:Pe||!Re||!je},{indexOf:function(e,t){return Pe?Ne.apply(this,arguments)||0:Ie(this,e,1<arguments.length?t:void 0)}});function ke(e,t){return RegExp(e,t)}var De,Ue,Be={UNSUPPORTED_Y:d(function(){var e=ke("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),BROKEN_CARET:d(function(){var e=ke("^r","gy");return e.lastIndex=2,null!=e.exec("str")})},$e=RegExp.prototype.exec,qe=String.prototype.replace,Fe=$e,ze=(De=/a/,Ue=/b*/g,$e.call(De,"a"),$e.call(Ue,"a"),0!==De.lastIndex||0!==Ue.lastIndex),Ge=Be.UNSUPPORTED_Y||Be.BROKEN_CARET,He=void 0!==/()??/.exec("")[1];(ze||He||Ge)&&(Fe=function(e){var t,n,i,r,o=this,a=Ge&&o.sticky,s=function(){var e=T(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}.call(o),l=o.source,u=0,c=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),c=String(e).slice(o.lastIndex),0<o.lastIndex&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(l="(?: "+l+")",c=" "+c,u++),n=new RegExp("^(?:"+l+")",s)),He&&(n=new RegExp("^"+l+"$(?!\\s)",s)),ze&&(t=o.lastIndex),i=$e.call(a?n:o,c),a?i?(i.input=i.input.slice(u),i[0]=i[0].slice(u),i.index=o.lastIndex,o.lastIndex+=i[0].length):o.lastIndex=0:ze&&i&&(o.lastIndex=o.global?i.index+i[0].length:t),He&&i&&1<i.length&&qe.call(i[0],n,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)}),i});var Ke=Fe;re({target:"RegExp",proto:!0,forced:/./.exec!==Ke},{exec:Ke});function We(e){return u(et,e)||(Qe&&u(tt,e)?et[e]=tt[e]:et[e]=nt("Symbol."+e)),et[e]}function Ye(n,e,t,i){var r=We(n),o=!d(function(){var e={};return e[r]=function(){return 7},7!=""[n](e)}),a=o&&!d(function(){var e=!1,t=/a/;return"split"===n&&((t={constructor:{}}).constructor[it]=function(){return t},t.flags="",t[r]=/./[r]),t.exec=function(){return e=!0,null},t[r](""),!e});if(!o||!a||"replace"===n&&(!rt||!ot||st)||"split"===n&&!lt){var s=/./[r],l=t(r,""[n],function(e,t,n,i,r){return t.exec===Ke?o&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}},{REPLACE_KEEPS_$0:ot,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:st}),u=l[0],c=l[1];ue(String.prototype,n,u),ue(RegExp.prototype,r,2==e?function(e,t){return c.call(e,this,t)}:function(e){return c.call(e,this)})}i&&M(RegExp.prototype[r],"sham",!0)}function Je(s){return function(e,t){var n,i,r=String(p(e)),o=Z(t),a=r.length;return o<0||a<=o?s?"":void 0:(n=r.charCodeAt(o))<55296||56319<n||o+1===a||(i=r.charCodeAt(o+1))<56320||57343<i?s?r.charAt(o):n:s?r.slice(o,o+2):i-56320+(n-55296<<10)+65536}}function Xe(e,t,n){return t+(n?ut(e,t).length:1)}function Ve(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==h(e))throw TypeError("RegExp#exec called on incompatible receiver");return Ke.call(e,t)}var Qe=!!Object.getOwnPropertySymbols&&!d(function(){return!String(Symbol())}),Ze=Qe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,et=q("wks"),tt=m.Symbol,nt=Ze?tt:tt&&tt.withoutSetter||P,it=We("species"),rt=!d(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),ot="$0"==="a".replace(/./,"$0"),at=We("replace"),st=!!/./[at]&&""===/./[at]("a","$0"),lt=!d(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),ut={codeAt:Je(!1),charAt:Je(!0)}.charAt;Ye("match",1,function(i,u,c){return[function(e){var t=p(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,t):new RegExp(e)[i](String(t))},function(e){var t=c(u,e,this);if(t.done)return t.value;var n=T(e),i=String(this);if(!n.global)return Ve(n,i);for(var r,o=n.unicode,a=[],s=n.lastIndex=0;null!==(r=Ve(n,i));){var l=String(r[0]);""===(a[s]=l)&&(n.lastIndex=Xe(i,ee(n.lastIndex),o)),s++}return 0===s?null:a}]});var ct=Math.max,dt=Math.min,ft=Math.floor,ht=/\$([$&'`]|\d\d?|<[^>]*>)/g,pt=/\$([$&'`]|\d\d?)/g;Ye("replace",2,function(r,S,x,e){var w=e.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,L=e.REPLACE_KEEPS_$0,_=w?"$":"$0";return[function(e,t){var n=p(this),i=null==e?void 0:e[r];return void 0!==i?i.call(e,n,t):S.call(String(n),e,t)},function(e,t){if(!w&&L||"string"==typeof t&&-1===t.indexOf(_)){var n=x(S,e,this,t);if(n.done)return n.value}var i=T(e),r=String(this),o="function"==typeof t;o||(t=String(t));var a=i.global;if(a){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var u=Ve(i,r);if(null===u)break;if(l.push(u),!a)break;""===String(u[0])&&(i.lastIndex=Xe(r,ee(i.lastIndex),s))}for(var c,d="",f=0,h=0;h<l.length;h++){u=l[h];for(var p=String(u[0]),g=ct(dt(Z(u.index),r.length),0),m=[],v=1;v<u.length;v++)m.push(void 0===(c=u[v])?c:String(c));var y=u.groups;if(o){var b=[p].concat(m,g,r);void 0!==y&&b.push(y);var E=String(t.apply(void 0,b))}else E=O(p,r,g,m,y,t);f<=g&&(d+=r.slice(f,g)+E,f=g+p.length)}return d+r.slice(f)}];function O(o,a,s,l,u,e){var c=s+o.length,d=l.length,t=pt;return void 0!==u&&(u=Object(p(u)),t=ht),S.call(e,t,function(e,t){var n;switch(t.charAt(0)){case"$":return"$";case"&":return o;case"`":return a.slice(0,s);case"'":return a.slice(c);case"<":n=u[t.slice(1,-1)];break;default:var i=+t;if(0==i)return e;if(d<i){var r=ft(i/10);return 0===r?e:r<=d?void 0===l[r-1]?t.charAt(1):l[r-1]+t.charAt(1):e}n=l[i-1]}return void 0===n?"":n})}});function gt(e,t){var n,i=T(e).constructor;return void 0===i||null==(n=T(i)[vt])?t:function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}(n)}var mt=We("match"),vt=We("species"),yt=[].push,bt=Math.min,Et=4294967295,St=!d(function(){return!RegExp(Et,"y")});function xt(){this.options={menuToggleDuration:300},this.init()}Ye("split",2,function(r,m,v){var y;return y="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(e,t){var n,i,r=String(p(this)),o=void 0===t?Et:t>>>0;if(0==o)return[];if(void 0===e)return[r];if(!g(n=e)||(void 0!==(i=n[mt])?!i:"RegExp"!=h(n)))return m.call(r,e,o);for(var a,s,l,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,f=new RegExp(e.source,c+"g");(a=Ke.call(f,r))&&!(d<(s=f.lastIndex)&&(u.push(r.slice(d,a.index)),1<a.length&&a.index<r.length&&yt.apply(u,a.slice(1)),l=a[0].length,d=s,u.length>=o));)f.lastIndex===a.index&&f.lastIndex++;return d===r.length?!l&&f.test("")||u.push(""):u.push(r.slice(d)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:m.call(this,e,t)}:m,[function(e,t){var n=p(this),i=null==e?void 0:e[r];return void 0!==i?i.call(e,n,t):y.call(String(n),e,t)},function(e,t){var n=v(y,e,this,t,y!==m);if(n.done)return n.value;var i=T(e),r=String(this),o=gt(i,RegExp),a=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(St?"y":"g"),l=new o(St?i:"^(?:"+i.source+")",s),u=void 0===t?Et:t>>>0;if(0==u)return[];if(0===r.length)return null===Ve(l,r)?[r]:[];for(var c=0,d=0,f=[];d<r.length;){l.lastIndex=St?d:0;var h,p=Ve(l,St?r:r.slice(d));if(null===p||(h=bt(ee(l.lastIndex+(St?0:d)),r.length))===c)d=Xe(r,d,a);else{if(f.push(r.slice(c,d)),f.length===u)return f;for(var g=1;g<=p.length-1;g++)if(f.push(p[g]),f.length===u)return f;d=c=h}}return f.push(r.slice(c)),f}]},!St),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),xt.prototype.checkTouchScreen=function(){"ontouchstart"in document.documentElement?document.body.classList.add("ontouch-screen"):document.body.classList.add("not-touch-screen")},xt.prototype.isMobile=function(){return!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i))},xt.prototype.initMenuSidebar=function(){document.addEventListener("customize_control_sidebar",function(e){"open"===e.detail&&this.toggleMenuSidebar(!1),"close"===e.detail&&this.closeMenuSidebar()}.bind(this)),document.addEventListener("customize_section_opened",function(e){"header_sidebar"===e.detail&&this.toggleMenuSidebar(!1)}.bind(this));var e=document.querySelectorAll(".menu-mobile-toggle");this.addEvent(e,"click",function(e){e.preventDefault(),this.toggleMenuSidebar()}.bind(this));var t=document.querySelectorAll("#header-menu-sidebar .close-panel, .close-sidebar-panel");this.addEvent(t,"click",function(e){e.preventDefault(),this.closeMenuSidebar()}.bind(this)),this.addEvent(document,"click",function(e){if(document.body.classList.contains("is-menu-sidebar")){var t=document.getElementById("header-menu-sidebar"),n=document.querySelectorAll(".menu-mobile-toggle"),i=!1;e.target.closest("#header-menu-sidebar")||e.target===t||(i=!0);var r=!1;if(n.length)for(var o=0;o<n.length;o++)!e.target.closest(".menu-mobile-toggle")&&e.target!==n[o]||(r=!0);i&&!r&&this.closeMenuSidebar()}}.bind(this)),this.addEvent(document,"keyup",function(e){27===e.keyCode&&this.closeMenuSidebar()}.bind(this))},xt.prototype.toggleMobileSubmenu=function(e){e.preventDefault();var t=e.target.closest("li"),n=t.querySelectorAll(":scope > .sub-menu, .sub-lv-0");if(t.classList.contains("open-sub")){if(n.length)for(var i=0;i<n.length;i++)this.slideUp(n[i],this.options.menuToggleDuration,function(){t.classList.remove("open-sub")})}else if(t.classList.add("open-sub"),n.length)for(var r=0;r<n.length;r++)this.slideDown(n[r],this.options.menuToggleDuration,function(){t.classList.add("open-sub")})},xt.prototype.toggleMobileSubmenuEvents=function(e){e.addEventListener("click",this.toggleMobileSubmenu.bind(this))},xt.prototype.initMobileSubMenu=function(){var e=document.querySelectorAll("#header-menu-sidebar .nav-menu-mobile .menu-item-has-children");if(e.length)for(var t=0;t<e.length;t++){var n=e[t];if(!n.classList.contains("toggle--added")){n.classList.add("toggle--added");var i=n.querySelector(":scope > a"),r=i.cloneNode(!0),o=document.createElement("span");o.classList.add("nav-toggle-icon"),o.innerHTML='<i class="nav-icon-angle"></i>',i.parentNode.insertBefore(o,i);var a=n.querySelector(":scope > .sub-menu");"1"!==HFG_JS.sidebar_menu_no_duplicator&&a.prepend(r);var s=n.querySelectorAll(":scope > .sub-menu, .sub-lv-0");if(s.length)for(var l=0;l<s.length;l++)this.slideUp(s[l],0);if("1"!==HFG_JS.sidebar_menu_no_duplicator){var u=document.createElement("li");r.parentNode.prepend(u),u.appendChild(r)}this.toggleMobileSubmenuEvents(o)}}},xt.prototype.slideUp=function(e,t,n){"number"!=typeof t&&(t=0),e._slideDownTimeOut&&(clearTimeout(e._slideDownTimeOut),e._slideDownTimeOut=!1);var i=e.getBoundingClientRect();e.style.overflow="hidden",e.style.height=i.height+"px",e.style.transition="height "+t+"ms linear",setTimeout(function(){e.style.height="0px"},20),e._sideUpTimeOut=setTimeout(function(){e.style.transition="","function"==typeof n&&n.call(this)},t+20)},xt.prototype.slideDown=function(e,t,n){"number"!=typeof t&&(t=0),e._sideUpTimeOut&&(clearTimeout(e._sideUpTimeOut),e._sideUpTimeOut=!1),e.style.height="initial",e.style.overflow="initial",e.style.transition="";var i=e.getBoundingClientRect();e.style.height="0px",e.style.overflow="hidden",e.style.transition="height "+t+"ms linear",setTimeout(function(){e.style.height=i.height+"px"},50),e._sideUpTimeOut=setTimeout(function(){e.style.height="",e.style.overflow="",e.style.transition="","function"==typeof n&&n.call(this)},t)},xt.prototype.insertMenuOverlayClass=function(){var e=document.querySelector(".nav-menu-mobile");e&&(document.body.classList.contains("menu_sidebar_slide_overlay")?e.classList.add("nav-menu-overlay"):e.classList.remove("nav-menu-overlay"))},xt.prototype.toggleClass=function(e,t){if(e instanceof NodeList)for(var n=0;n<e.length;n++)e[n].classList.contains(t)?e[n].classList.remove(t):e[n].classList.add(t);else(e instanceof Node||e instanceof Element)&&(e.classList.contains(t)?e.classList.remove(t):e.classList.add(t))},xt.prototype.addClass=function(e,t){if(e instanceof NodeList)for(var n=0;n<e.length;n++)e[n].classList.add(t);else(e instanceof Node||e instanceof Element)&&e.classList.add(t)},xt.prototype.removeClass=function(e,t){var n=t.split(" ");if(e instanceof NodeList)for(var i=0;i<e.length;i++)for(var r=0;r<n.length;r++)e[i].classList.remove(n[r]);else if(e instanceof Node||e instanceof Element)for(var o=0;o<n.length;o++)e.classList.remove(n[o])},xt.prototype.addEvent=function(e,t,n){if(e instanceof NodeList)for(var i=0;i<e.length;i++)e[i].addEventListener(t,n);else(e instanceof Node||e instanceof Element)&&e.addEventListener(t,n)},xt.prototype.closeMenuSidebar=function(){document.body.classList.add("hiding-header-menu-sidebar"),document.body.classList.remove("is-menu-sidebar");var e=document.querySelectorAll(".menu-mobile-toggle, .menu-mobile-toggle .hamburger");if(this.removeClass(e,"is-active"),document.body.classList.contains("menu_sidebar_dropdown")){this.removeClass(document.body,"hiding-header-menu-sidebar");var t=document.getElementById("header-menu-sidebar");this.slideUp(t,300,function(){t.style.height=0,t.style.display="block"}.bind(this))}else setTimeout(function(){this.removeClass(document.body,"hiding-header-menu-sidebar")}.bind(this),1e3)},xt.prototype.toggleMenuSidebar=function(e){if(void 0===e&&(e=!0),document.body.classList.remove("hiding-header-menu-sidebar"),e?this.toggleClass(document.body,"is-menu-sidebar"):document.body.classList.add("is-menu-sidebar"),document.body.classList.contains("menu_sidebar_dropdown")){var t=document.querySelectorAll(".menu-mobile-toggle, .menu-mobile-toggle .hamburger");if(e?this.toggleClass(t,"is-active"):this.addClass(t,"is-active"),document.body.classList.contains("is-menu-sidebar")){var n=document.getElementById("header-menu-sidebar"),i=document.getElementById("header-menu-sidebar-inner").getBoundingClientRect().height;this.slideDown(n,300,function(){n.style.height=i+"px"})}else e&&this.closeMenuSidebar()}},xt.prototype.wrapper=function(e,t){void 0===t&&(t="div");var n=document.createElement(t);return e.parentNode.replaceChild(n,e),n.appendChild(e),n},xt.prototype.init=function(){this.checkTouchScreen(),this.insertMenuOverlayClass(),this.initMenuSidebar(),document.addEventListener("header_builder_panel_changed",function(){this.initMenuSidebar(),this.initMobileSubMenu(),this.insertMenuOverlayClass()}.bind(this)),window.addEventListener("resize",function(){this.removeClass(document.querySelectorAll(".header-search_icon-item"),"active")}.bind(this))},window.hfg_is_mobile=function(){return xt.isMobile()},window.HFG=new xt,function(){if(window.HFG.isMobile()){var e=.01*window.innerHeight,t=.01*window.innerWidth;document.documentElement.style.setProperty("--vh",e+"px"),document.documentElement.style.setProperty("--vw",t+"px"),window.addEventListener("resize",function(){var e=.01*window.innerHeight,t=.01*window.innerWidth;document.documentElement.style.setProperty("--vh",e+"px"),document.documentElement.style.setProperty("--vw",t+"px")})}}(),function(){var i,e,t,n,r;if((i=document.getElementById("site-navigation-main-desktop"))&&void 0!==(e=i.getElementsByTagName("ul")[0])){for(e.setAttribute("aria-expanded","false"),-1===e.className.indexOf("nav-menu")&&(e.className+=" nav-menu"),n=0,r=(t=e.getElementsByTagName("a")).length;n<r;n++)t[n].addEventListener("focus",o,!0),t[n].addEventListener("blur",o,!0);!function(){var e,t,n=i.querySelectorAll(".menu-item-has-children > a, .page_item_has_children > a");if("ontouchstart"in window)for(e=function(e){var t,n=this.parentNode;if(n.classList.contains("focus"))n.classList.remove("focus");else{for(e.preventDefault(),t=0;t<n.parentNode.children.length;++t)n!==n.parentNode.children[t]&&n.parentNode.children[t].classList.remove("focus");n.classList.add("focus")}},t=0;t<n.length;++t)n[t].addEventListener("touchstart",e,!1)}()}function o(){for(var e=this;-1===e.className.indexOf("nav-menu");)"li"===e.tagName.toLowerCase()&&(-1!==e.className.indexOf("focus")?e.className=e.className.replace(" focus",""):e.className+=" focus"),e=e.parentElement}}(),/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var e,t=location.hash.substring(1);/^[A-z0-9_-]+$/.test(t)&&(e=document.getElementById(t))&&(/^(?:a|select|input|button|textarea)$/i.test(e.tagName)||(e.tabIndex=-1),e.focus())},!1)}();