(window.webpackJsonp=window.webpackJsonp||[]).push([[83],{"./runtime-repl/collection/contextbar/CollectionInfoCBView/CollectionInfoCBView.js":function(e,t,o){"use strict";o.r(t),function(e){o.d(t,"default",(function(){return p}));var n=o("../../node_modules/react/index.js"),i=o.n(n),c=o("./node_modules/prop-types/index.js"),a=o.n(c),r=o("./js/stores/get-store.js"),s=o("./runtime-repl/_common/components/molecule.js"),l=o("./appsdk/contextbar/ContextBarViewHeader.js"),d=o("./monitors/components/context-bar/MonitorContextBarList.js"),u=o("./mocks/components/InfoPaneMockListing.js"),m=o("./integrations/components/context-bar/IntegrationContextBarList.js");function p(t){const{id:o}=t.contextData,n=Object(r.getStore)("CollectionStore").find(o),c=n?{id:Object(r.getStore)("CurrentUserStore").isLoggedIn?n.uid:o,createdAt:n.createdAt,owner:n.owner}:{};return i.a.createElement("div",{className:"collection-info-cb"},i.a.createElement(l.ContextBarViewHeader,{title:"集合详情",onClose:t.onClose}),i.a.createElement("div",{className:"collection-info-cb__container"},i.a.createElement(s.EntityMetaInfoView,{userFriendlyEntityName:"collection",info:c}),i.a.createElement(u.default,{collectionId:o,collectionUid:n.uid,entity:"collection"}),i.a.createElement(d.MonitorContextBarList,{id:n.uid,entity:"collection",showCreateMonitor:!0}),e.includes(["dev","beta","stage","canary","prod"],window.RELEASE_CHANNEL)&&i.a.createElement(m.IntegrationContextBarList,{entityId:n.uid,entityType:"collection"})))}p.propTypes={contextData:a.a.object,onClose:a.a.func.isRequired},p.defaultProps={contextData:{}}}.call(this,o("./node_modules/lodash/lodash.js"))}}]);