AUI.add("liferay-tree-view-icons",(e=>{const o=["glyphicon","glyphicon-check","glyphicon-file","glyphicon-folder","glyphicon-folder-close","glyphicon-folder-open","glyphicon-minus","glyphicon-plus","icon-file","icon-minus","icon-plus"],c=function clearIconClasses(e){o.forEach((o=>e.removeClass(o)))},n=e.TreeNode.prototype._syncIconUI;e.TreeNode.prototype._syncIconUI=function(e){n.call(this,e);const o=!this.get("leaf"),i=this.get("expanded"),t=this.get("hitAreaEl"),s=this.get("iconEl"),l=o?Liferay.Util.getLexiconIconTpl(i?"hr":"plus"):'<span class="tree-hitarea"></span>';t.setHTML(l),c(t);const r=o?i?"move-folder":"folder":"page";s.setHTML(Liferay.Util.getLexiconIconTpl(r)),c(s)};const i=e.TreeNodeCheck.prototype._syncIconCheckUI;e.TreeNodeCheck.prototype._syncIconCheckUI=function(e){i.call(this,e);const o=this.isChecked(),n=this.get("checkContainerEl");n.setHTML(Liferay.Util.getLexiconIconTpl(o?"check-square":"square-hole")),c(n)}}),"",{requires:["aui-tree-view"]});
//# sourceMappingURL=tree_view_icons.js.map