Liferay.Loader.define("asset-categories-admin-web@5.0.69/js/AssetCategoriesSelectorTag.es",["module","exports","require","asset-taglib","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r("asset-taglib"),o=(function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("liferay!frontend-js-react-web$prop-types")),function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var n=a?Object.getOwnPropertyDescriptor(e,o):null;n&&(n.get||n.set)?Object.defineProperty(r,o,n):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react")));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}var n=function AssetCategoriesSelectorTag({categoryIds:e,groupIds:t,namespace:r,portletURL:n,selectedCategories:c,vocabularyIds:i}){const[s,l]=(0,o.useState)(c||[]);return o.default.createElement(a.AssetVocabularyCategoriesSelector,{categoryIds:e,eventName:"".concat(r,"selectCategory"),groupIds:t,id:"".concat(r,"parentCategorySelector"),inputName:"".concat(r,"parentCategoryId"),onSelectedItemsChange:l,portletURL:n,selectedItems:s,singleSelect:!0,sourceItemsVocabularyIds:i})};t.default=n}}));
//# sourceMappingURL=AssetCategoriesSelectorTag.es.js.map