"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[3300,5677],{93300:(e,t,r)=>{r.r(t),r.d(t,{BaseAttributes:()=>m,BaseCard:()=>o.default,BaseCoreDetails:()=>d,FeatureDetails:()=>f.default,default:()=>E});var a=r(7552),l=r(68446),u=r(49823),n=r(1178),s=r(373),i=r(35300),o=r(87083),c=r(62568),f=r(84144);function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},b.apply(null,arguments)}const d=e=>{const{title:t="Primary data"}=e;return a.createElement(o.default,b({},e,{title:t}),a.createElement(c.A,e))},m=e=>{const{feature:t}=e;return a.createElement(o.default,b({},e,{title:"Attributes"}),a.createElement(i.default,b({},e,{attributes:t})))},E=(0,l.observer)((function({model:e}){const{error:t,featureData:r}=e;if(t)return a.createElement(u.ErrorMessage,{error:t});if(r){const t=(0,s.Il)(r);return(0,n.Im)(t)?null:a.createElement(f.default,{model:e,feature:t})}return null}))},90439:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s});var a=r(7552),l=r(943),u=r(68446),n=r(93300);const s=(0,u.observer)((function({model:e}){const{feature1:t,feature2:r}=JSON.parse(JSON.stringify(e.featureData));return a.createElement(l.A,{"data-testid":"alignment-side-drawer"},a.createElement(n.BaseCoreDetails,{title:"Feature 1",feature:t}),a.createElement(n.BaseCoreDetails,{title:"Feature 2",feature:r}),a.createElement(n.BaseAttributes,{title:"Feature 1 attributes",feature:t}),a.createElement(n.BaseAttributes,{title:"Feature 2 attributes",feature:r}))}))}}]);
//# sourceMappingURL=5677.e5952d88.chunk.js.map