HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/drakkar_site_dev/wp-content/themes/blocksy/static/bundle/36.d171c773eabf61d571ec.js
"use strict";(self.blocksyJsonP=self.blocksyJsonP||[]).push([[36],{9036:function(t,e,c){c.r(e),c.d(e,{mount:function(){return d}});var n=c(2194),o=c.n(n),r=c(1601),i=c.n(r);let a=!1,s=!1;const d=function(t,e){let{event:c}=e;if(!o())return;const n=t.querySelector(".ct-cart-item");if(t.matches(".ct-header-cart")&&n&&!n.classList.contains("ct-offcanvas-trigger")&&c&&"touchstart"===c.type)return void(location.href=n.getAttribute("href"));const r='.ct-header-cart, .ct-shortcuts-bar [data-id="cart"]';if(a)return;a=!0,o()(document.body).on("adding_to_cart",(function(){return[...document.querySelectorAll(r)].map((function(t){t.closest(".ct-shortcuts-bar")||(t=t.firstElementChild),t.classList.remove("ct-added"),t.classList.add("ct-adding")}))})),o()(document.body).on("wc_fragments_loaded",(function(){setTimeout((function(){return i().trigger("blocksy:frontend:init")}))})),o()(document.body).on("wc_cart_button_updated",(function(t,e){if(window.wc_add_to_cart_params&&window.wc_add_to_cart_params.i18n_view_cart_with_icon&&e&&e.length>0){const t=e[0];t.closest("[data-products]")&&(t.nextElementSibling.innerHTML=wc_add_to_cart_params.i18n_view_cart_with_icon)}}));const d=function(){[...document.querySelectorAll(r)].map((function(t,e){e>0||document.querySelector("#ct-compare-modal.active")||document.querySelector(".quick-view-modal.active")||document.querySelector("#woo-cart-panel.active")||!(!document.body.classList.contains("single-product")&&t.querySelector('[data-auto-open*="archive"]')||document.body.classList.contains("single-product")&&t.querySelector('[data-auto-open*="product"]'))||(t.querySelector("[data-auto-open]").focusDisabled=!0,t.querySelector("[data-auto-open]").click())}))};o()(document.body).on("added_to_cart",(function(t,e,c,n,o){n=n[0],[...document.querySelectorAll(r)].map((function(t,e){let c=t;t.closest(".ct-shortcuts-bar")||(c=t.firstElementChild),c.classList.remove("ct-adding"),c.classList.add("ct-added")})),Object.keys(e).length>0?d():s=!0})),o()(document.body).on("wc_fragments_refreshed",(function(){s&&d(),s=!1,setTimeout((function(){i().trigger("blocksy:frontend:init"),u()}))})),o()(document).on("uael_quick_view_loader_stop",(function(){i().trigger("ct:add-to-cart:quantity")})),o()(document).on("facetwp-loaded",(function(){i().trigger("ct:custom-select:init")}));const u=function(){let t=document.querySelector(".ct-header-cart .ct-cart-content");t&&t.removeAttribute("style")};o()(document.body).on("wc_fragments_loaded",(function(){setTimeout((function(){i().trigger("blocksy:frontend:init"),u()}))})),o()(document.body).on("click",".remove_from_cart_button",{},(function(t){const e=t.target.closest(".woocommerce-mini-cart-item");e&&e.classList.add("processing")})),o()(document.body).on("removed_from_cart",(function(t,e,c,n){[...document.querySelectorAll(r)].map((function(t){if(n)try{n[0].closest(".updating")&&n[0].closest(".updating").classList.remove("updating"),n[0].closest("li").remove()}catch(t){}}))})),o()(document.body).on("click",".remove_from_cart_button",(function(t){t.target.closest("[data-placement]")&&(window.blocksySkippedFragments=[t.target.closest("[data-placement]")])}));const l=jQuery.fn.replaceWith;jQuery.fn.replaceWith=function(){var t=this;if(window.blocksySkippedFragments&&window.blocksySkippedFragments.includes(this[0])){const e=document.createElement("div");return e.innerHTML=arguments[0],this[0].innerHTML=e.firstElementChild.innerHTML,[...e.firstElementChild.attributes].map((function(e){let{name:c,value:n}=e;t[0].setAttribute(c,n)})),this}return l.apply(this,arguments)}}}}]);