8889841cwp-content/plugins/woocommerce/assets/client/admin/wp-admin-scripts/tags-tracking.js000064400000001455150533046740032655 0ustar00home/clixcotz/pulse.clix.co.tz!function(){"use strict";var e={};(function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e);var t=window.wc.tracks;const n=document.querySelector("#addtag #submit");function c(e){const n=e.target.parentElement.classList[0],c={edit:"edit",inline:"quick_edit",delete:"delete",view:"preview"};c[n]&&(0,t.recordEvent)("product_tags_list_action_click",{selected_action:c[n]})}function i(){document.querySelectorAll(".row-actions span").forEach((e=>{e.removeEventListener("click",c),e.addEventListener("click",c)}))}i(),null==n||n.addEventListener("click",(function(){(0,t.recordEvent)("product_tags_add",{page:"attributes"}),setTimeout((()=>{i()}),1e3)})),(window.wc=window.wc||{}).tagsTracking=e}();