whoami7 - Manager
:
/
home
/
qbizpnmr
/
public_html
/
wp-content
/
themes
/
essentials
/
js
/
Upload File:
files >> /home/qbizpnmr/public_html/wp-content/themes/essentials/js/essentials.min.js
"undefined"==typeof $&&"undefined"!=jQuery&&($=jQuery),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.NProgress=t()}(this,function(){var t,i,s={version:"0.2.0"},r=s.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function d(e,t,i){return e<t?t:i<e?i:e}function p(e){return 100*(-1+e)}s.configure=function(e){var t,i;for(t in e)void 0!==(i=e[t])&&e.hasOwnProperty(t)&&(r[t]=i);return this},s.status=null,s.set=function(t){var e=s.isStarted(),i=(t=d(t,r.minimum,1),s.status=1===t?null:t,s.render(!e)),n=i.querySelector(r.barSelector),o=r.speed,a=r.easing;return i.offsetWidth,l(function(e){""===r.positionUsing&&(r.positionUsing=s.getPositioningCSS()),u(n,function(e,t,i){e="translate3d"===r.positionUsing?{transform:"translate3d("+p(e)+"%,0,10px)"}:"translate"===r.positionUsing?{transform:"translate("+p(e)+"%,0)"}:{"margin-left":p(e)+"%"};return e.transition="transform "+t+"ms "+i+", opacity "+t+"ms "+i,e}(t,o,a)),1===t?(u(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){u(i,{transition:"transform "+o+"ms linear, opacity "+o+"ms linear",opacity:0}),setTimeout(function(){s.remove(),e()},o)},o)):setTimeout(e,o)}),this},s.isStarted=function(){return"number"==typeof s.status},s.start=function(){s.status||s.set(0);var e=function(){setTimeout(function(){s.status&&(s.trickle(),e())},r.trickleSpeed)};return r.trickle&&e(),this},s.done=function(e){return e||s.status?s.inc(.3+.5*Math.random()).set(1):this},s.inc=function(e){var t=s.status;return t?("number"!=typeof e&&(e=(1-t)*d(Math.random()*t,.1,.95)),t=d(t+e,0,.994),s.set(t)):s.start()},s.trickle=function(){return s.inc(Math.random()*r.trickleRate)},i=t=0,s.promise=function(e){return e&&"resolved"!==e.state()&&(0===i&&s.start(),t++,i++,e.always(function(){0===--i?(t=0,s.done()):s.set((t-i)/t)})),this},s.render=function(e){if(s.isRendered())return document.getElementById("nprogress");x(document.documentElement,"nprogress-busy");var t=document.createElement("div"),i=(t.id="nprogress",t.innerHTML=r.template,t.querySelector(r.barSelector)),e=e?"-100":p(s.status||0),n=document.querySelector(r.parent);return"margin"!==r.positionUsing&&u(i,{transition:"transform 0 linear",transform:"translate3d("+e+"%,0,10px)"}),r.showSpinner||(i=t.querySelector(r.spinnerSelector))&&b(i),n!=document.body&&x(n,"nprogress-custom-parent"),n.appendChild(t),t},s.remove=function(){g(document.documentElement,"nprogress-busy"),g(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&b(e)},s.isRendered=function(){return!!document.getElementById("nprogress")},s.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};n=[];var n,l=function(e){n.push(e),1==n.length&&o()};function o(){var e=n.shift();e&&e(o)}a=["Webkit","O","Moz","ms"],c={};var a,c,u=function(e,t){var i,n,o=arguments;if(2==o.length)for(i in t)void 0!==(n=t[i])&&t.hasOwnProperty(i)&&h(e,i,n);else h(e,o[1],o[2])};function m(e){return e=e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()}),c[e]||(c[e]=function(e){var t=document.body.style;if(e in t)return e;for(var i,n=a.length,o=e.charAt(0).toUpperCase()+e.slice(1);n--;)if((i=a[n]+o)in t)return i;return e}(e))}function h(e,t,i){t=m(t),e.style[t]=i}function f(e,t){return 0<=("string"==typeof e?e:w(e)).indexOf(" "+t+" ")}function x(e,t){var i=w(e),n=i+t;f(i,t)||(e.className=n.substring(1))}function g(e,t){var i=w(e);f(e,t)&&(i=i.replace(" "+t+" "," "),e.className=i.substring(1,i.length-1))}function w(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function b(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return s}),function(i){"use strict";let n=!(jQuery.cachedScript=function(e,t){return t=i.extend(t||{},{dataType:"script",cache:!0,url:e}),jQuery.ajax(t)}),o=!1;window.pixLoadMaps=function(){0<i(".pix-google-map").length&&(o?init_pix_maps():n||pixfort_main_object.hasOwnProperty("googleMapsUrl")&&(n=!0,i.cachedScript(pixfort_main_object.googleMapsUrl).done(function(e,t){o=!0,pixfort_main_object.hasOwnProperty("googleMapsScript")&&i.cachedScript(pixfort_main_object.googleMapsScript).done(function(e,t){init_pix_maps(),n=!1}).fail(function(e,t,i){console.log("Script was not loaded!")})}).fail(function(e,t,i){console.log("Library was not loaded!")})))}}(jQuery),function(e){"use strict";let t=!1,i=!1;jQuery(document).ready(function(e){pixLoadLightbox()}),window.pixLoadLightbox=function(){0<e(".pix-lightbox").length&&(i||(console.log("Lightbox Ready to load"),t||pixfort_main_object.hasOwnProperty("lightboxUrl")&&(t=!0,e.cachedScript(pixfort_main_object.lightboxUrl).done(function(e,t){i=!0}).fail(function(e,t,i){console.log("Lightbox Library was not loaded!")}))))}}(jQuery),function(t){"use strict";let n=!1;window.pixLoadIsotope=function(e=!1){var i;n?setTimeout(e,0):(console.log("Loading Isotope..."),[i=!1]=[e],pixfort_main_object.hasOwnProperty("isotopeUrl")&&t.cachedScript(pixfort_main_object.isotopeUrl).done(function(e,t){n=!0,i&&setTimeout(i,0)}).fail(function(e,t,i){console.log("Isotope Library was not loaded!")}))}}(jQuery),function(c){"use strict";let K=992;"undefined"==typeof pixfort_main_object&&(window.pixfort_main_object={}),pixfort_main_object.hasOwnProperty("dataBreakpoint")&&(K=pixfort_main_object.dataBreakpoint),NProgress.configure({minimum:.01,speed:800,trickleSpeed:800,showSpinner:!1,parent:"body",positionUsing:"translate",template:'<div class="bar" role="bar"></div>'}),c("body").hasClass("pix-disable-loading-bar")||0!=c(".pix-post-area").length||NProgress.start();const V=function(){try{return localStorage.setItem("t","t"),localStorage.removeItem("t"),!0}catch(e){return!1}}();function t(){c(".pix-scene").each(function(e,t){0==c(t).find(".pix-scene-elm-res:not(.pix-particle-sm-hide)").length?c(t).css("display","none"):c(t).css("display","block")})}function i(){setTimeout(()=>{c(".text-gradient-primary, .pix-levels .bg-gradient-primary, .pix-tabs-btn").each(function(e,t){var i,n,o;c(t).closest(".pix-marquee").length||c(t).closest(".pix-vertical-element").length||c(t).hasClass("text-custom-gradient")||(n=c(t).offset().left,o=c(t).offset().top,i=window.innerWidth+"px "+window.innerHeight+"px",n=-1*n,o=-1*o,c(t).css({"background-size":i,"background-position-x":n,"background-position-y":o,"background-attachment":"scroll"}))})},1)}jQuery(document).ready(function(p){const B=document.querySelector("body").classList.contains("elementor-editor-active")||document.querySelector("body").classList.contains("vc_editor");var i;function l(e,n=!1){window.loadPopup&&window.loadPopup({title:"",columnClass:"",link:e,id:n,backgroundDismiss:!0,buttons:!1,theme:"pix-main-popup",content:"<div></div>",onOpenBefore:function(){this.setColumnClass("col-2 pix-popup-edit"),this.showLoading(!0)},onContentReady:function(){var i=this;if(!n||!window.pix_page_popups.hasOwnProperty(n))return p.ajax({url:e,method:"get"}).done(function(e){var t;try{t=JSON.parse(e),o(i,t),n&&(window.pix_page_popups[n]=t)}catch(e){return!1}}).fail(function(){i.setContent("Something went wrong, please try again.")});o(i,window.pix_page_popups[n])}})}function o(t,e){var i;e&&e.html&&(i=e.size+" pix-popup-edit pix-popup-ready",t.setColumnClass(i),t.setContentAppend('<div class="pix-popup-content-div">'+e.html+"</div>"),t.hideLoading(!0),pixfort_init_popup_data(t.$body),setTimeout(function(){e.footer_content&&t.setContentAppend('<div class="pix-popup-footer-div">'+e.footer_content+"</div>"),e.result&&e.result.scripts&&e.result.styles&&pix_dynamic_popup_js(e.result.scripts,e.result.styles)},5),t.$body.find(".pix-close-popup").on("click",function(e){e.preventDefault(),t.close()}))}document.addEventListener("click",e=>(i=e.target,!0)),p("body").hasClass("site-render-disable-page-transition")||p(window).on("beforeunload",function(e){e=e||window.event;let t=!0;if(i)if(i.href&&"undefined"!=i.href)(i.href.startsWith("tel")||i.href.startsWith("mailto")||i.hasAttribute("download")||i.classList.contains("woocommerce-MyAccount-downloads-file"))&&(t=!1);else{let e=p(i).closest("a");(e=e&&e[0])&&null!=e.href&&(e.href.startsWith("tel")||e.href.startsWith("mailto")||e.hasAttribute("download")||e.classList.contains("woocommerce-MyAccount-downloads-file"))&&(t=!1)}t?document.body.classList.remove("render"):document.body.classList.add("render")}),setTimeout(()=>document.body.classList.add("render"),0),setTimeout(()=>document.body.classList.add("pix-body-loaded"),0),window.pix_page_popups={},setTimeout(()=>{!async function(){let t=p("[href^='#pix_popup_']"),n=[];if(pixfort_main_object.hasOwnProperty("preloadPopups")){t.each(function(e,t){let i=p(t).attr("href");t=i.replace("#pix_popup_","");t&&!n.includes(t)&&n.push(t)});let e=p("[data-popup-id]");e.each(function(e,t){t=p(t).attr("data-popup-id");t&&!n.includes(t)&&n.push(t)})}pixfort_main_object.hasOwnProperty("dataExitPopupId")&&!n.includes(pixfort_main_object.dataExitPopupId)&&n.push(pixfort_main_object.dataExitPopupId),pixfort_main_object.hasOwnProperty("dataAutoPopupId")&&!n.includes(pixfort_main_object.dataAutoPopupId)&&n.push(pixfort_main_object.dataAutoPopupId),n.forEach(i=>{var e;window.pix_page_popups.hasOwnProperty(i)||pixfort_main_object.hasOwnProperty("dataPopupBase")&&(e=pixfort_main_object.dataPopupBase+"&id="+i,p.ajax({url:e,method:"get"}).done(function(e){var t;try{t=JSON.parse(e),window.pix_page_popups[i]=t}catch(e){return!1}}))})}()},1),window.pix_dynamic_popup_js=function(t,n){Object.keys(n).forEach(e=>{var t,i;p("#"+e+"-css").length||(t=n[e=e],i=p("<link>"),p("head").append(i),i.attr({rel:"stylesheet",type:"text/css",href:t.src,id:e+"-css"}))}),Object.keys(t).forEach(e=>{p("#"+e+"-js").length||(t[e].extra&&t[e].extra.data&&p("<script>").attr("type","text/javascript").attr("id",t[e].handle+"-extra").text(t[e].extra.data).appendTo("head"),p.cachedScript(t[e].src))})},window.pixfort_init_popup_data=function(e){setTimeout(function(){e.addClass("pix-popup-animate"),p(".pix-intro-img img").addClass("animated"),p("body").trigger("pix_popup_open"),pix_animation(e,!0),window.init_animated_heading&&window.init_animated_heading(),pix_init_c7(),pixLoadImgs(),pixLoadMaps(),window.pix_countdown(),window.pix_main_slider&&pix_main_slider(e),window.pix_sliders&&pix_sliders(e),window.init_chart(),window.init_tilts(),e.find('[data-toggle="tooltip"]').length&&e.find('[data-toggle="tooltip"]').tooltip({container:e}),p('[data-toggle="tooltip"]').length&&p('[data-toggle="tooltip"]').tooltip(),e.on("click",'a[data-toggle="pill"]',function(e){p(this).closest(".pix_tabs_btns").find(".nav-link").removeClass("active")})},100),setTimeout(function(){e.find(".elementor-invisible").removeClass("elementor-invisible"),"undefined"!=typeof elementorFrontend&&null!==elementorFrontend&&elementorFrontend&&(elementorFrontend.hooks.addAction("init",function(){pix_animation(!1,!0)}),e.find(".elementor-element:not(.is-loaded):not(.elementor-widget-form)").each(function(){p(this).addClass("is-loaded"),elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}),pix_animation(!1,!0),pix_animation(e,!0),window.pix_init_gradient_fix()),"function"==typeof e.find(".quform-form").quform&&(e.find(".quform-form").quform(),e.find(".quform-recaptcha").length&&window.QuformRecaptchaLoaded&&window.QuformRecaptchaLoaded())},200),setTimeout(function(){pix_animation_display(e)},200),setTimeout(function(){e.find(".wpcf7 > form:not(.is-loaded)").each(function(){let e=p(this);e.hasClass("is-loaded")||(p(this)[0]&&!p(this)[0].hasOwnProperty("wpcf7")&&(null!=wpcf7.initForm?(wpcf7.initForm(e),wpcf7.cached&&wpcf7.refill(e)):wpcf7.init(p(this)[0])),e.addClass("is-loaded"))})},500),e.find(".pix_tabs_btns").each(function(e,t){p(t).find(".nav-item:first a").tab("show")}),window.init_dividerShapes&&window.init_dividerShapes(e)},window.pixOpenPopup=function(e){pixfort_main_object.hasOwnProperty("dataPopupBase")&&l(pixfort_main_object.dataPopupBase+"&id="+e,e)},pixfort_main_object.hasOwnProperty("dataBodyBg")&&p("body").css({"background-color":pixfort_main_object.dataBodyBg}),pixfort_main_object.hasOwnProperty("dataExitPopup")&&setTimeout(function(){let e=!1;var a=pixfort_main_object.dataExitPopup,s=pixfort_main_object.dataExitPopupId,t=pixfort_main_object.dataPopupCheckLink,r=!1;let d=s;pixfort_main_object.hasOwnProperty("dataExitPopupOptionId")&&(d=pixfort_main_object.dataExitPopupOptionId),(e=V?localStorage.getItem("pix_exit_popup"):e)&&e===s||t&&p.ajax({url:t+="&exitpopup=true",method:"get"}).done(function(e){try{var t=JSON.parse(e);t&&t.result&&a&&""!=a&&(i=document,n="mouseout",o=function(e){r||((e=(e=e||window.event).relatedTarget||e.toElement)&&"HTML"!=e.nodeName||(r=!0,l(a,s),localStorage.setItem("pix_exit_popup",d)))},i.addEventListener?i.addEventListener(n,o,!1):i.attachEvent&&i.attachEvent("on"+n,o))}catch(e){return!1}var i,n,o})},0),pixfort_main_object.hasOwnProperty("dataAutoPopup")&&setTimeout(function(){let e=!1;var i,t,n,o=pixfort_main_object.dataAutoPopupId;let a=o;pixfort_main_object.hasOwnProperty("dataAutoPopupOptionId")&&(a=pixfort_main_object.dataAutoPopupOptionId),(e=V?localStorage.getItem("pix_auto_popup"):e)&&e===a||(i=pixfort_main_object.dataAutoPopup,t=pixfort_main_object.dataPopupCheckLink,n=1e3,(n=pixfort_main_object.hasOwnProperty("dataAutoPopupTime")?pixfort_main_object.dataAutoPopupTime:n)&&!isNaN(n)?n*=1e3:n=5e3,t&&p.ajax({url:t+="&autopopup=true",method:"get"}).done(function(e){try{var t=JSON.parse(e);t&&t.result&&i&&""!=i&&setTimeout(function(){l(i,o),localStorage.setItem("pix_auto_popup",a)},n)}catch(e){return!1}}))},0),p(".pix-cookie-banner").length&&setTimeout(function(){if(pixfort_main_object.hasOwnProperty("datacookiesId")){let e=!1;(e=V?localStorage.getItem("pix_cookiesbanner"):e)&&e==pixfort_main_object.datacookiesId&&(p(".pix-cookie-banner").addClass("pix-closed"),setTimeout(function(){p(".pix-cookie-banner").remove()},2500))}else{var e=pixfort_main_object.dataPopupCheckLink;e&&p.ajax({url:e+="&cookiesbanner=true",method:"get"}).done(function(e){try{var t=JSON.parse(e);t&&!1===t.result&&(setTimeout(function(){p(".pix-cookie-banner").addClass("pix-closed")},2e3),setTimeout(function(){p(".pix-cookie-banner").remove()},2500))}catch(e){return!1}})}},0),p("body").on("click",".flickity-slider, .flickity-button",function(e){pix_animation_display()}),p("body").on("click",".pix-popup-link",function(e){if(e.preventDefault(),p(this).data("popup-link")&&""!=p(this).data("popup-link")){let e=!1;l(p(this).data("popup-link"),e=p(this).data("popup-id")&&""!=p(this).data("popup-id")?p(this).data("popup-id"):e)}return!1}),p("body").on("click",".pix-search-toggle",function(e){e.preventDefault();let t=p(this);return t.closest(".pix-search-sm-btn").toggleClass("is-opened"),t.closest(".pix-search-sm-btn").hasClass("is-opened")&&setTimeout(function(){t.closest(".pix-search-sm-btn").find("input.pix-ajax-search").focus()},300),window.innerWidth<K&&(p(this).closest(".navbar").css({overflow:"visible"}),p(this).closest("header.pix-header-mobile").css({overflow:"visible"}),e=-1*(p(this).offset().left-10),p(this).closest(".pix-search-sm-btn").find(".pix-header-floating-search").css({left:e,right:"auto"})),!1});let t,n,a,s,r,d,c=!1,u=(p(".pix-header-transparent-parent").length?t=p(".pix-header-transparent-parent"):p(".pix-header-boxed").length?t=p(".pix-header-boxed"):(p(".pix-topbar.pix-header-desktop").length&&(n=p(".pix-topbar.pix-header-desktop")),p(".pix-header.pix-header-desktop").length&&(a=p(".pix-header.pix-header-desktop")),p(".pix-header-stack.pix-header-desktop").length&&(s=p(".pix-header-stack.pix-header-desktop"))),p(".pix-topbar.pix-header-mobile").length&&(r=p(".pix-topbar.pix-header-mobile")),p(".pix-header.pix-header-mobile").length&&(d=p(".pix-header.pix-header-mobile")),p(".pix-stack-mobile").length&&(c=p(".pix-stack-mobile")),"desktop"),m=(window.innerWidth>=K?(r&&r.remove(),d&&d.remove(),c&&c.remove()):(u="mobile",t&&t.remove(),n&&n.remove(),a&&a.remove(),s&&s.remove()),p(window).resize(function(){window.innerWidth>=K?"mobile"===u&&(u="desktop",r&&r.remove(),d&&d.remove(),c&&c.remove(),t&&p("#page").prepend(t),s&&p("#page").prepend(s),a&&p("#page").prepend(a),n&&p("#page").prepend(n),pix_animation(!1,!0)):"desktop"===u&&(u="mobile",t&&t.remove(),n&&n.remove(),a&&a.remove(),s&&s.remove(),c&&p("#page").prepend(c),d&&p("#page").prepend(d),r&&p("#page").prepend(r),pix_animation(!1,!0))}),p("body").on("click",".hamburger.small-menu-toggle",function(e){"true"===p(this).attr("aria-expanded")?(p(this).removeClass("is-active"),p("html").removeClass("is-active-menu")):(p(this).addClass("is-active"),p("html").addClass("is-active-menu"))}),!1);(m=V?JSON.parse(localStorage.getItem("menusstate")):m)?p.each(m,function(e,t){var i='.menu-hidden-state[data-target="#'+e+'"]';let n=p(i);p(i).length?(n.addClass("is-active"),n.closest(".navbar-nav").find("li").addClass("is-shown")):delete m[e]}):m={},p("body").on("click",".hamburger.normal-menu-toggle",function(e){e.preventDefault();e=p(this).attr("data-target").replace("#","");console.log(e),p(this).hasClass("is-active")?(p(this).removeClass("is-active"),p(this).closest(".navbar-nav").find("li").removeClass("is-shown"),delete m[e]):(p(this).addClass("is-active"),p(this).closest(".navbar-nav").find("li").addClass("is-shown"),m[e]=!0),V&&localStorage.setItem("menusstate",JSON.stringify(m))}),p("body").on("click",".pix-tabs-btn, .woocommerce-tabs a",function(e){var t=p(this).closest(".pix_tabs_container");let i=t.find(".pix-main-slider");i.each(function(e,t){p(t).addClass("pix-tabs-slider"),p(t).removeClass("pix-slider-loaded")}),init_portfolio(t),update_masonry(t),window.pix_init_gradient_fix(),setTimeout(function(){init_fancy_mockup(t),window.pix_main_slider&&pix_main_slider(t)},500),window.dispatchEvent(new Event("resize"))}),p('[data-toggle="pill"]').on("shown.bs.tab",function(e){window.dispatchEvent(new Event("resize"))}),p("p:empty").each(function(e,t){p(t).attr("class")&&""!==p(t).attr("class")||void 0===p(t).attr("role")&&p(t).remove()}),p(".animate-in, .pix-main-slider, .pix-fancy-mockup, .feature_img").closest(".elementor-invisible").removeClass("elementor-invisible"),p(".particles-wrapper2").closest(".vc_column_container").css("z-index","3"),p("body").on("click",".dropdown-item.dropdown-toggle",function(e){p(this).closest(".menu-item.dropdown.nav-item").find("> .dropdown-menu").toggleClass("show"),e.stopPropagation(),e.preventDefault()});/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&(p(".entry-content2 > section:not(.wpb-content-wrapper), .entry-content2 > section.wpb-content-wrapper > section, .elementor-section-wrap > section").each(function(e,t){p(t).find(".sticky-top").length||(p(t).find(".pix-slider").length||p(t).find(".pix-scale-in-sm").length||p(t).find(".pix-scale-in").length||p(t).find(".pix-scale-in-lg").length)&&p(t).removeClass("vc_section_visible vc_row_visible").addClass("overflow-hidden")}),p("body").addClass("pix-is-safari"),p(".pix-slider-full").closest("section:not(.overflow-visible):not(.wpb-content-wrapper)").removeClass("vc_section_visible").addClass("overflow-hidden"),p(".pix-slider-full").closest(".vc_row:not(.overflow-visible):not(.wpb-content-wrapper)").removeClass("vc_row_visible").addClass("overflow-hidden"),p(".pix-scene").each(function(e,t){p(t).closest("section:not(.overflow-visible):not(.wpb-content-wrapper)").removeClass("vc_section_visible").addClass("overflow-hidden")})),p(".pix-small-search").closest(".vc_row").css({"z-index":50}),p(".pix_element_overlay").each(function(e,t){p(t).css({"border-radius":p(t).parent().css("border-radius")})}),setTimeout(function(){p(".nav-video.bg-video").each(function(e,t){p(t).controls=!1,t.controls=!1})},1e3),0<p(".pix-post-area").length&&NProgress.configure({minimum:1e-4,trickleRate:.02,easing:!1,trickleSpeed:800,showSpinner:!1,positionUsing:"translate",parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div>'});var h=0,f=0,x=(0<p(".pix-post-area").length&&(h=p("#pix-entry-content").offset().top,f=p("#pix-entry-content").height()),!1),N=(p(".site-footer2:not(.pix-sticky-footer)").length&&(x=p(".site-footer2:not(.pix-sticky-footer)")[0]),p(window).height()),g=(document.addEventListener("scroll",e=>{if(20<document.body.scrollTop||20<document.documentElement.scrollTop?p(".back_to_top").addClass("active"):p(".back_to_top").removeClass("active"),0<p(".pix-post-area").length)if(document.documentElement.scrollTop>h){let e=0;e=document.documentElement.scrollTop>h+f?.999:(document.documentElement.scrollTop-h)/f,NProgress.set(e)}else NProgress.set(.001);x&&x.getBoundingClientRect().top<N&&pix_animation_display(p(".site-footer2:not(.pix-sticky-footer)"))},{passive:!0}),700);p(".back_to_top").on("click",function(e){return e.preventDefault(),p("body,html").animate({scrollTop:0},g),!1});let w=0;function b(){p(".menu-item.menu-item-has-children.dropdown > a").mouseover(function(){p(this).closest(".menu-item").addClass("hover")}).mouseleave(function(){p(this).closest(".menu-item").removeClass("hover")}),p(".menu-item.menu-item-has-children.dropdown > a").keydown(function(e){[37,38,39,40].includes(e.keyCode)&&(e.preventDefault(),e.stopPropagation(),p(this).closest(".menu-item").hasClass("hover")?p(this).closest(".menu-item").removeClass("hover"):("LI"===p(this).closest(".menu-item").prop("tagName")&&p(".menu-item").removeClass("hover"),p(this).closest(".menu-item").addClass("hover")))}),p(".pix-nav-link.dropdown-toggle.nav-link, .menu-item.menu-item-has-children.dropdown.nav-item > a").unbind("click"),p(".pix-nav-link.dropdown-toggle.nav-link, .menu-item.menu-item-has-children.dropdown.nav-item > a").on("click",function(t){if(p(this).attr("href")){let e=p(this).attr("href");var i=p(this).attr("target");if(e)if(-1!=e.indexOf("#pix_section")||e.startsWith("#")){if(window.innerWidth<K)return p(this).hasClass("pix-item-clicked")?"#"===e?(t.preventDefault(),t.stopPropagation(),p(this).removeClass("pix-item-clicked"),p(this).closest(".menu-item.dropdown.nav-item").find("> .dropdown-menu").toggleClass("show"),!1):void 0:(t.preventDefault(),t.stopPropagation(),p(".pix-item-clicked").removeClass("pix-item-clicked"),p(this).addClass("pix-item-clicked"),p(this).closest(".menu-item.dropdown.nav-item").find("> .dropdown-menu").toggleClass("show"),!1)}else if(!p(this).hasClass("pix-item-clicked")&&window.innerWidth<K)p(".pix-item-clicked").removeClass("pix-item-clicked"),p(this).addClass("pix-item-clicked");else{if("_blank"==i)return t.preventDefault(),t.stopPropagation(),window.open(e),!1;window.location=e}}})}p("#masthead").length&&(w=p("#masthead").height()),p("#wpadminbar").length&&(w+=p("#wpadminbar").height()),p(".accordion:not(.disable-scroll-adjust) .card-header").on("click",function(e){let t=this;setTimeout(function(){var e;t.getBoundingClientRect().top<w&&(e=p(t).offset().top-w-20,p("body,html").animate({scrollTop:e},200))},400)}),p("body").on("click","a",function(t){let i=this;var n=p(this).attr("href"),o=p(this).attr("target");if("undefined"!==n&&null!=n)if(n&&n.startsWith("#pix_section")){if(p(n).length)return t.preventDefault(),p(i).removeClass("pix-item-clicked"),p(i).closest(".navbar").find(".navbar-toggler.hamburger").click(),p(i).closest(".menu-item.dropdown.nav-item").find("> .dropdown-menu").removeClass("show"),setTimeout(function(){var e=p(n).offset().top-w-20;p("body,html").animate({scrollTop:e},g)},300),!1}else if(-1!=n.indexOf("#pix_section")){var a=n.substr(n.indexOf("#"));if(p(a).length)return t.preventDefault(),p("body,html").animate({scrollTop:p(a).offset().top-w},g),setTimeout(function(){p(i).closest(".navbar").find(".navbar-toggler.hamburger").click()},200),!1;if(!B){if("_blank"==o)return e.preventDefault(),e.stopPropagation(),window.open(n),!1;window.location=n}}else{if(n&&n.startsWith("#pix_popup_"))return t.preventDefault(),(a=n.replace("#pix_popup_",""))&&pixOpenPopup(a),!1;if(n&&n.startsWith("#pix-product-")){if(p(n).length)return t.stopPropagation(),t.preventDefault(),p("body,html").animate({scrollTop:p(n).offset().top-w-20},g),!1}else if(n&&n.startsWith("#pix-tab-")&&!p(this).hasClass("pix-tabs-btn")){if(p(n).length)return t.stopPropagation(),t.preventDefault(),o=n.replace("#",""),p('.pix-tabs-btn[aria-controls="'+o+'"]').click(),setTimeout(function(){p("body,html").animate({scrollTop:p(n).offset().top-w-20},g)},200),!1}else if(n&&-1!=n.indexOf("#pix-tab-")&&!p(this).hasClass("pix-tabs-btn")){let e=n.substr(n.indexOf("#pix-tab-"));a=e.replace("#","");p('.pix-tabs-btn[aria-controls="'+a+'"]').click(),p(e).length&&setTimeout(function(){p("body,html").animate({scrollTop:p(e).offset().top-w-20},g)},200)}}}),b(),window.addEventListener("resize",b);var v,_,M,y=location.hash.substr(1),k=(y&&(y.startsWith("pix_section")?p("#"+y).length&&setTimeout(function(){p("body,html").animate({scrollTop:p("#"+y).offset().top-w},g)},700):y.startsWith("pix-tab")&&p("#"+y).length&&setTimeout(function(){p('.pix-tabs-btn[aria-controls="'+y+'"]').click(),setTimeout(function(){p("body,html").animate({scrollTop:p("#"+y).offset().top-w-20},g)},200)},500)),setTimeout(function(){p(".pix-intro-img").addClass("pix-loaded")},2e3),p('[data-toggle="tooltip"]').length&&p('[data-toggle="tooltip"]').tooltip(),p(".pixfort-select").selectpicker({styleBase:"btn dropdown-toggle btn-light bg-white font-weight-bold text-body-default text-sm"}),p(".widget:not(.widget_categories):not(.widget_product_categories) select, .wp-block-archives.wp-block-archives-dropdown select, .wp-block-categories.wp-block-categories-dropdown select").selectpicker({styleBase:"pix-widget-select pix-mb-15 btn dropdown-toggle btn-light bg-white font-weight-bold text-body-default text-sm"}),p(".widget.widget_categories select").selectpicker({styleBase:"pix-widget-select pix-mb-15 btn dropdown-toggle btn-light bg-white font-weight-bold text-body-default text-sm",container:"body"}),p(".widget.widget_categories select").on("changed.bs.select",function(e,t,i,n){return e.preventDefault(),p(this).closest("form").submit(),e.stopPropagation(),!1}),p("body").on("click",".video-play-btn-inline",function(e){e.preventDefault();var t=p(this),e=t.closest(".pix-video").find("iframe");return e.attr("data-src")&&e.attr("src",e.attr("data-src")).click(),t.closest(".pix-video").find("video").trigger("play"),t.parent(".pix-video").addClass("video-active"),setTimeout(function(){t.parent(".pix-video").addClass("video-start")},400),!1}),p("#masthead").length&&p("#masthead").offset().top,p("#masthead").hasClass("pix-mt-20")&&0,0<p(".pix-header-transparent").length&&(D=p(".pix-header-transparent > div").height(),p(".pix-main-intro-placeholder").addClass("d-block w-100").height(D)),0<p(".pix-header-boxed").length&&(D=p(".pix-header-boxed > div").height(),p(".pix-main-intro-placeholder").addClass("d-block w-100").height(D)),!1);p(".pix-floating-meta").length?1300<p(window).width()&&(k=!0,v=p(".post").offset().top,p(".pix-floating-meta").addClass("position-fixed sticky-top2").css({top:v,width:"70px","margin-left":"-90px"}),p(".post").hasClass("post-sidebar-left")&&(D=p(".post:first-of-type").offset().left+p(".post:first-of-type").width()+20,p(".pix-floating-meta").addClass("position-fixed sticky-top2").css({left:D,"margin-left":"0px"})),_=20,p("#masthead").length&&(_+=p("#masthead").height()),p("#wpadminbar").length&&(_+=p("#wpadminbar").height()),M=p(".post").offset().top+p(".post").height()):k=!1,p(".pix-floating-meta").length&&p(window).resize(function(){var e;p(window).width()<1300?(k=!1,p(".pix-floating-meta").removeClass("position-fixed sticky-top2").css({top:"auto",width:"auto","margin-left":"0px"})):(k=!0,p(".post").length&&(e=p(".post").offset().top,p(".pix-floating-meta").addClass("position-fixed sticky-top2").css({top:e,width:"70px","margin-left":"-90px"}),p(".post").hasClass("post-sidebar-left")&&(e=p(".post:first-of-type").offset().left+p(".post:first-of-type").width()+20,p(".pix-floating-meta").addClass("position-fixed sticky-top2").css({left:e,"margin-left":"0px"})),p("#masthead").length&&p("#masthead").height(),p("#wpadminbar").length&&p("#wpadminbar").height(),p(".post").offset().top,p(".post").height()))});let C=0;p("body").hasClass("pix-padding-style")&&(C=p("body").css("padding-left"),D=p("body").css("padding-bottom"),C&&""!=C&&"0"!=C&&"0px"!=C?(p(".vc_row-fluid").css({"padding-left":C,"padding-right":C}),p(".back_to_top").css({"margin-left":C,"margin-right":C}),D&&p(".back_to_top").css({"margin-bottom":D})):C=0);var T=50,P="",j="",E="",S="";p("#page").length&&(T=p("#page").offset().top,p(".pix-topbar").length&&(T+=p(".pix-topbar").height())),0===T&&(T=6),p("#masthead").length&&(p("#masthead").hasClass("pix-mt-20")&&(T+=20),p("#masthead").data("text-scroll")&&""!=p("#masthead").data("text-scroll")&&(P="text-"+p("#masthead").data("text"),j="text-"+p("#masthead").data("text-scroll"),E="bg-"+p("#masthead").data("text"),S="bg-"+p("#masthead").data("text-scroll"))),p("#wpadminbar").length&&(T+=p("#wpadminbar").height());let q=p(".pix-header-container-area").attr("data-scroll-class"),R=p(".pix-header-container-area").attr("data-scroll-color"),U=p(".pix-header-container-area").attr("data-bg-class"),Y=p(".pix-header-container-area").attr("data-bg-color"),Q=!1,X=(p(".pix-is-sticky-header").length&&(Q=!0),!1),L=0;p(".pix-mobile-header-sticky").length&&p("#mobile_head").length&&(X=!0,L=p("#mobile_head").outerHeight(),p("#mobile_head").offset().top),p(".pix-header-container-area .pix-header-text").addClass(P),p(".pix-header-container-area .hamburger-inner, .pix-header-container-area .hamburger-inner-before, .pix-header-container-area .hamburger-inner-after").addClass(E),p(".pix-header-scroll-placeholder").addClass("d-none"),p(".pix-header-scroll-placeholder").css({height:p(".pix-header-normal").height()});let O=!1,I=T-10,z=(I<=0&&(I=4),document.addEventListener("scroll",e=>{k&&(p(this).scrollTop()+_>v?p(this).scrollTop()+_>M?p(".pix-floating-meta").addClass("is-hidden"):p(".pix-floating-meta").css({top:_}).removeClass("is-hidden"):p(".pix-floating-meta").css({top:v-p(this).scrollTop()}).removeClass("is-hidden")),X&&(p(this).scrollTop()>T?(L=p("#mobile_head").outerHeight(),p("#mobile_head").addClass("pix-mobile-sticky shadow"),p(".pix-mobile-header-sticky").height(L)):p(this).scrollTop()<T-5&&(p("#mobile_head").removeClass("pix-mobile-sticky shadow"),p(".pix-mobile-header-sticky").height(0))),Q&&(p(this).scrollTop()>T?O||(O=!0,0!=C&&(p(".pix-header-box").css("padding-left",C),p(".pix-header-box").css("padding-right",C)),p(".pix-header-normal").length&&(p(".pix-header-scroll-placeholder").css({height:p(".pix-header-normal").height()}),p(".pix-header-scroll-placeholder").removeClass("d-none")),p(".pix-header-transparent").addClass("pix-transparent-sticky"),p(".pix-header-normal").addClass("pix-normal-sticky"),p(".pix-header").addClass("is-scroll"),600<p(window).width()&&p(".pix-topbar").addClass("pix-hidden"),p(".pix-header-container-area").removeClass(U),p(".pix-header-container-area").addClass(q),p(".pix-header-container-area").css("background",R),p(".pix-header-container-area .pix-header-text").removeClass(P),p(".pix-header-container-area .pix-header-text").addClass(j),p(".pix-header-container-area .hamburger-inner, .pix-header-container-area .hamburger-inner-before, .pix-header-container-area .hamburger-inner-after").removeClass(E),p(".pix-header-container-area .hamburger-inner, .pix-header-container-area .hamburger-inner-before, .pix-header-container-area .hamburger-inner-after").addClass(S),p(".pix-header-boxed").addClass("pix-boxed-sticky pix-scroll-shadow"),p(".pix-header-box:not(.pix-no-topbar)").addClass("pix-pt-20"),0!=C&&(p(".pix-header-transparent-full").css("padding-left",C),p(".pix-header-transparent-full").css("padding-right",C)),p(".pix-header-normal").length&&(p(".pix-header-scroll-placeholder").css({height:p(".pix-header-normal").height()}),p(".pix-header-scroll-placeholder").removeClass("d-none"))):p(this).scrollTop()<I&&(O=!1,p(".pix-header-normal").length&&p(".pix-header-scroll-placeholder").addClass("d-none"),p(".pix-header").removeClass("is-scroll"),p(".pix-topbar").removeClass("pix-hidden"),p(".pix-header-container-area").removeClass(q),p(".pix-header-container-area").addClass(U),p(".pix-header-container-area").css("background",""),p(".pix-header-container-area").css("background",Y),p(".pix-header-container-area .pix-header-text").removeClass(j),p(".pix-header-container-area .pix-header-text").addClass(P),p(".pix-header-container-area .hamburger-inner, .pix-header-container-area .hamburger-inner-before, .pix-header-container-area .hamburger-inner-after").removeClass(S),p(".pix-header-container-area .hamburger-inner, .pix-header-container-area .hamburger-inner-before, .pix-header-container-area .hamburger-inner-after").addClass(E),p(".pix-header-boxed").removeClass("pix-boxed-sticky pix-scroll-shadow"),p(".pix-header-box:not(.pix-no-topbar)").removeClass("pix-pt-20"),0!=C&&(p(".pix-header-box").css("padding-left",""),p(".pix-header-box").css("padding-right","")),p(".pix-header-transparent").removeClass("pix-transparent-sticky"),p(".pix-header-normal").removeClass("pix-normal-sticky"),0!=C&&(p(".pix-header-transparent-full").css("padding-left",""),p(".pix-header-transparent-full").css("padding-right",""))))},{passive:!0}),20),Z=20,H=void(0<p(".pix-header").length&&(0<p(".pix-enable-sticky, .pix-is-sticky-header").length&&(z=p(".pix-header").height(),0<p("#masthead").length&&(p("#masthead").hasClass("pix-header-box")?z+=20:z+=10)),0<p("#wpadminbar").length&&(z+=p("#wpadminbar").height(),Z+=p("#wpadminbar").height()),p(".pix-sticky-top-adjust").css({top:z}))),J=0;const W=p(".pix-sticky-top-adjust"),A=document.querySelector(".is-smart-sticky");function F(){var e=window.scrollY,t=e-J;e>A.offsetHeight?t<0?(A.setAttribute("data-visible","sticky"),W.css({top:z})):0<t&&(A.setAttribute("data-visible","false"),W.css({top:Z})):(A.setAttribute("data-visible","true"),W.css({top:z})),J=e}function $(){window.innerWidth>K&&p(".mega-item").each(function(e,t){if(p(t).hasClass("pix-mega-style-default")){var i=p(t).closest(".pix-header-stack"),n=p(t).closest(".pix-topbar");if(i.length||n.length){let n=p(".pix-header-stack > .container:first").width(),o=(window.innerWidth-n)/2;p(t).find("> .dropdown-menu").each(function(e,t){p(t).css({"margin-left":"auto"});var i=-1*(p(t).offset().left-o);p(t).css({width:n,"margin-left":i})})}}else{i=p(t).offset().left;let e=p(t).find(">.dropdown-menu:first");e&&e.length&&!p(t).hasClass("pix-mega-style-full")&&(n=e.width(),e.hasClass("dropdown-menu-right")?i-n+p(t).width()<0&&(i+n>window.innerWidth?e.addClass("drop-overflow-fix"):e.css({left:0})):i+n>window.innerWidth&&(i-n+p(t).width()<0?e.addClass("drop-overflow-fix"):e.css({right:0})))}})}p(".is-smart-sticky").length&&(W.addClass("smart-transition"),document.addEventListener("scroll",e=>{clearTimeout(),H=setTimeout(F,50)},{passive:!0})),$(),window.addEventListener("resize",$),window.innerWidth>K&&p("body").hasClass("pix-sections-stack")&&!window.vc_iframe&&p(".pix-cookie-banner").length&&pix_animation_display(p(".pix-cookie-banner"),!0);var D=document.querySelector(".pix-main-slider, .pix-slider");if(D){let e=new IntersectionObserver(function(e,t){e.forEach(e=>{e.isIntersecting&&(p(".pix-main-slider, .pix-slider").flickity("resize"),setTimeout(function(){p(".pix-main-slider, .pix-slider").flickity("resize")},1500),t.unobserve(e.target))})},{threshold:[0]});e.observe(D)}window.pix_init_gradient_fix(),p(".pix-sidebar").addClass("is-loaded"),p(".pix-open-sidebar").on("click",function(e){return e.preventDefault(),p(".pix-sidebar").addClass("opened"),!1}),p(".pix-close-sidebar").on("click",function(e){return e.preventDefault(),p(".pix-sidebar").removeClass("opened"),!1}),p(".pix-banner-close").on("click",function(e){e.preventDefault();var e=p(this).attr("href"),t=p(this).closest(".pix-banner");return p.ajax({url:e,method:"GET"}).done(function(e){}).fail(function(){}),t.addClass("pix-closed"),!1}),p(".pix-cookies-close").on("click",function(e){e.preventDefault();var e=p(this).attr("data-link"),t=p(this).closest(".pix-cookie-banner");return p.ajax({url:e,method:"GET"}),pixfort_main_object.hasOwnProperty("datacookiesId")&&localStorage.setItem("pix_cookiesbanner",pixfort_main_object.datacookiesId),t.addClass("pix-closed"),!1}),p(".widget_nav_menu .menu > .menu-item.menu-item-has-children > a").on("click",function(e){return e.preventDefault(),p(this).parent().toggleClass("active"),p(this).parent().find(".sub-menu").slideToggle(300,"linear"),!1}),setTimeout(()=>document.body.classList.add("render"),0),setTimeout(function(){if(p("body").hasClass(" vc_editor compose-mode"))return!1;window.init_animated_heading&&window.init_animated_heading(),pixLoadMaps(),update_collapse(),update_masonry(),init_scroll_rotate(),init_fancy_mockup(),init_portfolio(),pix_init_c7(),pix_animation(),window.pixLazy&&window.pixLazy(),p(".pix_tabs_btns").each(function(e,t){p(t).find(".nav-item:first a").tab("show")}),p("body").on("click",'a[data-toggle="pill"]',function(e){p(this).closest(".pix_tabs_btns").find(".nav-link").removeClass("active")}),p(".pix-contact7-form").each(function(e,t){p('input[type="text"], input[type="email"], input[type="phone"], input[type="password"], textarea').each(function(e,t){p(t).addClass("form-control"),p(t).closest("p").addClass("form-group")})}),p(".vc_controls-out-tl").each(function(e,t){p(t).offset().top<0&&p(t).css({top:"-17px"})})},0),setTimeout(function(){pixLoadImgs()},3e3),jQuery(document.body).on("post-load",function(e){pix_animation()}),setTimeout(function(){p(".pix-video-elem source").each(function(){if(p(this).parents(".navbar").length)return!1;var e=p(this).attr("data-src"),e=(p(this).attr("src",e),this.parentElement);e.load(),e.play()})},1e4),p(".pix-levels").each(function(){let e=0;p(this).find(".pix-levels-title").each(function(){p(this).height()>e&&(e=p(this).height())}),p(this).find(".pix-levels-title").height(e)});let G=!0;p(".navbar").hover(function(e){G&&(p(this).find(".pix-video-elem source").each(function(){var e=p(this).attr("data-src"),e=(p(this).attr("src",e),this.parentElement);e.load(),e.play()}),G=!1)}),pix_init_particles(),window.onpageshow=function(e){e.persisted&&document.body.classList.add("render")},p("body").addClass("pix-loaded"),setTimeout(()=>document.body.classList.add("render"),0),setTimeout(()=>p(".pix-loading-circ-path:not(.pix-preserve)").remove(),600),NProgress.done(),window.dispatchEvent(new Event("resize"))}),document.addEventListener("DOMContentLoaded",function(){let e=[].slice.call(document.querySelectorAll("img.pix-lazy")),t=!1;function i(){!1===t&&(t=!0,setTimeout(function(){e.forEach(function(t){t.getBoundingClientRect().top<=window.innerHeight&&0<=t.getBoundingClientRect().bottom&&(t.src=t.dataset.src,t.dataset.srcset&&(t.srcset=t.dataset.srcset),t.classList.remove("pix-lazy"),0===(e=e.filter(function(e){return e!==t})).length&&(document.removeEventListener("scroll",i),window.removeEventListener("resize",i),window.removeEventListener("orientationchange",i)))}),t=!1},200))}window.pixLazy=function(){i()},document.addEventListener("scroll",i),window.addEventListener("resize",i),window.addEventListener("orientationchange",i)}),window.pixLoadImgs=function(){let e=[].slice.call(document.querySelectorAll("img.pix-lazy"));e.forEach(function(t){t.src=t.dataset.src,t.classList.remove("pix-lazy"),e=e.filter(function(e){return e!==t})})},window.pixInitJs=async function(e){c("body").hasClass("vc_editor")&&(window.init_animated_heading&&window.init_animated_heading(),(e=e||c("body")).find('[data-toggle="tooltip"]').tooltip(),c(".vc_controls-out-tl").each(function(e,t){c(t).offset().top<0&&c(t).css({top:"-17px"})}),e.find(".pix-contact7-form").each(function(e,t){c('input[type="text"], input[type="email"], input[type="phone"], input[type="password"], textarea').each(function(e,t){c(t).addClass("form-control"),c(t).closest("p").addClass("form-group")})}),window.init_dividerShapes&&window.init_dividerShapes(e),window.pix_intro_bg())},window.pix_init_particles=async function(){window.innerWidth<600&&t(),c(window).resize(function(){window.innerWidth<600?t():c(".pix-scene").css("display","block")}),c(".pix-scene-elm-res").each(function(e,t){let i=new IntersectionObserver(e=>{e[0].isIntersecting?c(t).removeClass("invisible"):c(t).addClass("invisible")},{threshold:[0]});i.observe(t)})},window.pix_init_gradient_fix=async function(){i(),c(window).resize(function(){i()}),setTimeout(()=>{i()},500)},window.pix_cb_fn=async function(e){setTimeout(e,0)},window.pix_init_c7=async function(){c(".pix-contact7-form").each(function(e,t){c('input[type="text"], input[type="email"], input[type="phone"], input[type="password"], select, textarea').each(function(e,t){c(t).addClass("form-control"),c(t).closest("p").addClass("form-group")})})},window.update_masonry=async function(e){(e=e||c("body")).find(".pix_masonry").length&&window.pixLoadIsotope(function(){e.find(".pix_masonry").each(function(e,t){setTimeout(function(){c(t).isotope({itemSelector:".grid-item",percentPosition:!0,resize:!0,masonry:{columnWidth:".grid-sizer",gutter:".gutter-sizer"}})},200),setTimeout(function(){c(t).isotope("reloadItems"),pix_animation(!1,!0)},1900)})})},window.init_fancy_mockup=async function(e){(e=e||c("body")).find(".pix-fancy-mockup").each(function(e,o){let a=c(o).find(".pix-fancy-device-img"),s=c(o).find(".pix-fancy-content img"),r=o.getBoundingClientRect(),d=c(window).height(),p=c(window).height()/4,l=d-p;var t=(r.top-p)/l,i=80*t,n=100*t,t=.9+.1*(1-t);s.css({transform:"translate3d(0px, "+n+"px, 109px) scale3d(1, "+t+", 1) rotateX("+i+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),a.css({transform:"translate3d(0px, "+n+"px, 110px) scale3d(1, "+t+", 1) rotateX("+i+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),document.addEventListener("scroll",e=>{var t,i,n;(r=o.getBoundingClientRect()).top<=d&&r.top>=p?(t=80*(n=(r.top-p)/l),i=100*n,n=.9+.1*(1-n),s.css({transform:"translate3d(0px, "+i+"px, 109px) scale3d(1, "+n+", 1) rotateX("+t+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)","-webkit-transform":"translate3d(0px, "+i+"px, 109px) scale3d(1, "+n+", 1) rotateX("+t+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),a.css({transform:"translate3d(0px, "+i+"px, 110px) scale3d(1, "+n+", 1) rotateX("+t+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)","-webkit-transform":"translate3d(0px, "+i+"px, 110px) scale3d(1, "+n+", 1) rotateX("+t+"deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"})):r.top>d?(s.css({transform:"translate3d(0px, 1px, 109px) scale3d(1, 0.9, 1) rotateX(80deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)","-webkit-transform":"translate3d(0px, 1px, 109px) scale3d(1, 0.9, 1) rotateX(80deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),a.css({transform:"translate3d(0px, 2px, 110px) scale3d(1, 0.9, 1) rotateX(80deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)","-webkit-transform":"translate3d(0px, 2px, 110px) scale3d(1, 0.9, 1) rotateX(80deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"})):(s.css({transform:"translate3d(0px, 0px, 109px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)","-webkit-transform":"translate3d(0px, 0px, 109px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}),a.css({transform:"translate3d(0px, 0px, 110px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)","-webkit-transform":"translate3d(0px, 0px, 110px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg)"}))},{passive:!0})})},window.init_portfolio=async function(e){(c(".portfolio_grid").length||c(".portfolio_filter").length)&&window.pixLoadIsotope(function(){if(e=e||c("body"),!c(".portfolio_grid").hasClass("pix-is-loaded")){c(".portfolio_grid").addClass("pix-is-loaded");let e=c(".portfolio_grid").isotope({itemSelector:".grid-item",resize:!0,packery:{gutter:0}});e.on("arrangeComplete",function(){pix_animation(c("body"),!0)}).isotope(),c(".portfolio_filter").click(function(e){e.preventDefault();var e=c(this),t=e.data("category"),e=e.closest(".pix-portfolio").find(".portfolio_grid");return c(this).closest(".pix-portfolio-nav").find(".portfolio_filter").removeClass("is-checked"),c(this).addClass("is-checked"),e.isotope({itemSelector:".grid-item",filter:t}),window.pix_animation_display(e),!1}),setTimeout(function(){window.pix_animation(c(".portfolio_grid"),!0)},1500)}})},window.destroy_Parallax=async function(){window.pixParallax&&window.pixParallax.forEach(function(e){e.destroy();e=window.pixParallax.indexOf(e);-1<e&&window.pixParallax.splice(e,1)})},window.update_collapse=async function(){c(".collapse").each(function(e,t){var i=c(t).closest(".accordion");i.attr("id")&&""!=i.attr("id")&&c(t).attr("data-parent","#"+i.attr("id"))})},window.init_scroll_rotate=async function(e){(e=e||c("body")).find(".pix-rotate-scroll").each(function(){var i=c(this),n=i.attr("data-speed");n&&""!=n||(n=300),document.addEventListener("scroll",e=>{var t="rotate("+c(window).scrollTop()/n+"rad)";i.css({"-webkit-transform":t,"-moz-transform":t,transform:t})},{passive:!0})})},window.pix_animation_display=async function(e=!1){e=e||c("body");var o=["fade-in-Img","fade-in-down","fade-in-left","fade-in-up","fade-in-up-big","fade-in-right-big","fade-in-left-big","highlight-grow","slide-in-up","pix-3d-right-in-big","pix-3d-left-in-big","pix-3d-up-in-big","pix-3d-down-in-big"];e.find(".animate-in").each(function(e,t){let i=c(t).attr("data-anim-type"),n=c(t).attr("data-anim-delay");c(t).addClass("pix-waiting"),c(t).hasClass("animate-in")&&!c(t).hasClass("animating-init")&&(c(t).addClass("animating-init"),setTimeout(function(){c(t).addClass("animating pix-animate").addClass(i).removeClass("animate-in")},n),c(t).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend transitionend webkitTransitionEnd oTransitionEnd",function(){setTimeout(function(){c(t).removeClass("animating animating-init").removeClass(o.join(" ")).addClass("animated")},400)}))})},window.pix_animation=async function(e=!1,t=!1){var s=["fade-in-Img","fade-in-down","fade-in-left","fade-in-up","fade-in-up-big","fade-in-right-big","fade-in-left-big","highlight-grow","slide-in-up","pix-3d-right-in-big","pix-3d-left-in-big","pix-3d-up-in-big","pix-3d-down-in-big"],i=":not(.pix-waiting)";(e=e||c("body")).find(".animate-in"+(i=t?"":i)).each(function(e,i){if(c("body").hasClass("pix-sections-stack")&&!c("body").hasClass("vc_editor")&&window.innerWidth>K&&0<c(i).closest("section").length)if(!c(i).closest("section").hasClass("is-sticky-active")&&c(i).closest(".site-footer2").length<1)return!1;var n=c(i).attr("data-anim-type"),o=c(i).attr("data-anim-delay");c(i).addClass("pix-waiting");let t=i,a=(t.closest("svg")&&(t=t.closest("svg")),new IntersectionObserver(function(e,t){e.forEach(e=>{e.isIntersecting&&(c(i).hasClass("animate-in")&&!c(i).hasClass("animating-init")&&(c(i).addClass("animating-init"),setTimeout(function(){c(i).addClass("animating pix-animate").addClass(n).removeClass("animate-in")},o),c(i).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend transitionend webkitTransitionEnd oTransitionEnd",function(){setTimeout(function(){c(i).removeClass("animating animating-init").removeClass(s.join(" ")).addClass("animated")},400)})),t.unobserve(e.target))})},{threshold:[0]}));a.observe(t)})}}(jQuery); //# sourceMappingURL=essentials.min.js.map
Copyright ©2021 || Defacer Indonesia