Liferay.Loader.define("commerce-frontend-js@4.0.52/utilities/notifications",["module","exports","require","frontend-js-web"],(function(e,n,a){window;{Object.defineProperty(n,"__esModule",{value:!0}),n.showNotification=o,n.showErrorNotification=function(e=Liferay.Language.get("unexpected-error")){o(e,"danger")};var i=a("frontend-js-web");const e={danger:Liferay.Language.get("danger"),success:Liferay.Language.get("success"),warning:Liferay.Language.get("warning")};function o(n,a="success",o=!0,r=500,t){(0,i.openToast)({closeable:o,delay:{hide:5e3,show:0},duration:r,message:n,title:t||e[a],type:a})}}}));
//# sourceMappingURL=notifications.js.map