Liferay.Loader.define("@liferay/commerce-order-content-web@4.0.43/js/preview",["module","exports","require"],(function(e,t,n){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({namespace:e}){const t=document.getElementById("".concat(e,"importButton"));t&&t.addEventListener("click",(t=>{t.preventDefault();const n=Liferay.Util.getOpener(),o=document.getElementById("".concat(e,"fm"));o.classList.add("hide"),n.document.body.appendChild(o),n.submitForm(o)}))}}));
//# sourceMappingURL=preview.js.map