Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /proc/self/cwd/wp-content/plugins/uicore-framework/assets/js/elements/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/cwd/wp-content/plugins/uicore-framework/assets/js/elements/add-to-cart-editor.min.js
uicoreJsonp([31],{288:function(e,t,n){"use strict";var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();window.addEventListener("DOMContentLoaded",function(){var e=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,elementorModules.frontend.handlers.Base),o(t,[{key:"triggerAddtoCartinEditor",value:function(){"undefined"!=typeof wc_add_to_cart_variation_params&&(jQuery(".variations_form").each(function(){jQuery(this).wc_variation_form()}),jQuery(".uicore-swatch").on("click",window.uicore_swatch_action),window.uicore_add_quantity_input_buttons())}},{key:"bindEvents",value:function(){this.triggerAddtoCartinEditor()}},{key:"onElementChange",value:function(e){["post_id"].includes(e)&&this.triggerAddtoCartinEditor()}}]),t}();jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/uicore-woo-product-add-to-cart.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})})}},[288]);

Spamworldpro Mini