Liferay.Loader.define("product-navigation-control-menu@6.0.52/js/addLoadingAnimation",["module","exports","require","./constants/positions"],(function(e,n,t){window;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t("./constants/positions");var i=(e,n)=>{const t=e.classList.contains("portlet-dropzone"),i=document.createElement("div");if(i.classList.add("loading-animation"),t)e.appendChild(i);else{const t=e.parentElement,a=n===o.POSITIONS.top?e:e.nextSibling;t.insertBefore(i,a)}return i};n.default=i}));
//# sourceMappingURL=addLoadingAnimation.js.map