Liferay.Loader.define("@liferay/commerce-order-content-web@4.0.65/js/preview",["module","exports","require","frontend-js-web"],(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=(0,o.getOpener)(),d=document.getElementById("".concat(e,"fm"));d.classList.add("hide"),n.document.body.appendChild(d),n.submitForm(d)}))};var o=n("frontend-js-web")}));
//# sourceMappingURL=preview.js.map