HEX
Server: LiteSpeed
System: Linux pulsar191.sitesanctuary.org 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64
User: lgooir (1604)
PHP: 8.1.32
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/lgooir/.trash/rising-bamboo/dist/js/frontend/components/quick-view.js
(()=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},r(t)}function t(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(i=n.key,u=void 0,u=function(t,e){if("object"!==r(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(i,"string"),"symbol"===r(u)?u:String(u)),n)}var i,u}function e(r,e,o){return e&&t(r.prototype,e),o&&t(r,o),Object.defineProperty(r,"prototype",{writable:!1}),r}new(e((function r(){!function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),jQuery(document).on("click touch",".quick-view-button",(function(r){r.preventDefault();var t=jQuery(this),e=jQuery(this).data("product-id");t.addClass("quick-view-loading"),jQuery.ajax({url:window.rbb_vars.ajax_url,data:{action:"rbb_product_quick_view",product_id:e,nonce:window.rbb_vars.nonce},success:function(r){var e=r.result;t.removeClass("quick-view-loading");var o=t.parent();o.append(e);var n=o.find(".quick-view-product-wrap").attr("id");window.RisingBambooModal.modal("#"+n),jQuery(document.body).triggerHandler("rbb-quick-view-loaded",[t,n])},error:function(r){console.info(r)}})}))})))})();