Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.169/page_editor/app/utils/item_selector_value/itemSelectorValueToCollection",["module","exports","require"],(function(e,t,r){window;{function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function itemSelectorValueToCollection(t){const{classNameId:r,classPK:o,itemSubtype:i,itemType:n,key:c,returnType:s,sourceItemType:l,title:u}=t;switch(s){case e.assetList:return{classNameId:r,classPK:o,itemSubtype:i,itemType:n,title:u,type:s};case e.infoList:return{itemSubtype:i,itemType:n,key:c,sourceItemType:l,title:u,type:s};default:return function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t)}};const e={assetList:"com.liferay.item.selector.criteria.InfoListItemSelectorReturnType",infoList:"com.liferay.info.list.provider.item.selector.criterion.InfoListProviderItemSelectorReturnType"}}}));
//# sourceMappingURL=itemSelectorValueToCollection.js.map