Server IP : 192.158.238.246 / Your IP : 3.144.108.175 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/7779/cwd/plugins/woocommerce/assets/client/admin/wp-admin-scripts/ |
Upload File : |
(()=>{"use strict";var e={};(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e);const t=window.wc.tracks,r=document.querySelector('[name="add_new_attribute"]'),c=document.querySelector('[name="save_attribute"]'),o=document.querySelectorAll(".row-actions span a"),u=document.querySelectorAll(".configure-terms");r?.addEventListener("click",(function(){const e=document.querySelector("#attribute_public"),r=document.querySelector("#attribute_orderby"),c=document.querySelector("#attribute_label"),o=document.querySelector("#attribute_name");(0,t.recordEvent)("product_attributes_add",{enable_archive:e?.checked?"yes":"no",default_sort_order:r?.value,name:c?.value,slug:o?.value,page:"attributes"})})),c?.addEventListener("click",(function(){const e=document.querySelector("#attribute_public"),r=document.querySelector("#attribute_orderby");(0,t.recordEvent)("product_attributes_update",{enable_archive:e?.checked?"yes":"no",default_sort_order:r?.value,page:"attributes"})})),o.forEach((e=>{e.addEventListener("click",(function(e){const r=e.target.parentElement.classList[0],c={edit:"edit",delete:"delete"};c[r]&&(0,t.recordEvent)("product_attributes_"+c[r],{page:"attributes"})}))})),u.forEach((e=>{e.addEventListener("click",(function(){(0,t.recordEvent)("product_attributes_configure_terms",{page:"attributes"})}))})),(window.wc=window.wc||{}).attributesTracking=e})();