芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/www/wp-content/plugins/elementor/assets/js/wc-product-editor.min.js
/*! elementor - v3.24.0 - 15-10-2024 */ (()=>{"use strict";function _createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function _unsupportedIterableToArray(t,r){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _arrayLikeToArray(t,r)}(t))||r&&t&&"number"==typeof t.length){o&&(t=o);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,d=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return a=t.done,t},e:function e(t){d=!0,u=t},f:function f(){try{a||null==o.return||o.return()}finally{if(d)throw u}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,i=new Array(r);o
0&&r.isWcProductEditorLoading()&&!r.isElementorButtonInjected()&&(r.injectElementorButton(),o.disconnect())}}catch(t){c.e(t)}finally{c.f()}}));o.observe(t,{childList:!0,subtree:!0})}},injectElementorButton:function injectElementorButton(){var t=document.querySelector(this.selectors.wcProductHeaderInner);if(t){var r=document.querySelector(this.selectors.buttonTemplate),o=document.createElement("div");o.innerHTML=r.innerHTML;var i=o.firstElementChild;t.firstChild.append(i)}},isWcProductEditorLoading:function isWcProductEditorLoading(){return!!document.querySelector(this.selectors.wcLoader)},isElementorButtonInjected:function isElementorButtonInjected(){return!!document.querySelector(this.selectors.wcEditButton)}}).init()})();