Liferay.Loader.define("frontend-js-web@5.0.31/liferay/util/form/post_form.es",["module","exports","require","./../is_object","./set_form_values.es"],(function(e,t,o){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){"string"==typeof e&&(e=document.querySelector(e));if(e&&"FORM"===e.nodeName)if(e.setAttribute("method","post"),(0,r.default)(t)){const{data:o,url:s}=t;if(!(0,r.default)(o))return;(0,u.default)(e,o),void 0===s?submitForm(e):"string"==typeof s&&submitForm(e,s)}else submitForm(e)};var r=s(o("./../is_object")),u=s(o("./set_form_values.es"));function s(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=post_form.es.js.map