(()=>{"use strict";var o={n:r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return o.d(t,{a:t}),t},d:(r,t)=>{for(var e in t)o.o(t,e)&&!o.o(r,e)&&Object.defineProperty(r,e,{enumerable:!0,get:t[e]})},o:(o,r)=>Object.prototype.hasOwnProperty.call(o,r)};const r=window.wp.i18n,t=window.wp.domReady;var e=o.n(t);const n=window.wp.hooks,d=window.ReactJSXRuntime;e()(()=>{(0,n.addFilter)("dokan_product_list_header_buttons","dokan-pro/export-import-buttons",(o,t)=>{const e=[];return t.can_import&&t.import_url&&e.push((0,d.jsx)("a",{href:t.import_url,className:"dokan-btn dokan-btn-secondary",children:(0,r.__)("Import","dokan")},"import-products")),t.can_export&&t.export_url&&e.push((0,d.jsx)("a",{href:t.export_url,className:"dokan-btn dokan-btn-secondary",children:(0,r.__)("Export","dokan")},"export-products")),[...o,...e]}),(0,n.doAction)("dokan_product_list_header_buttons_registered")})})();