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