import{a as d,I as t,j as e}from"./index-a36IMXuN.js";import{A as i,R as m}from"./RecallRemove-DYqjMF_w.js";import"./envs-CRUy-_iG.js";import"./DashboardFeatureWrapper-DGHjt4Ah.js";import"./startCase-K7WbZvzP.js";import"./DisplayValue-D9Ja0Su_.js";import"./isObject--vsEa_js.js";import"./_createCompounder-BuXEc9F7.js";import"./isObjectLike-BQssIl0N.js";import"./index-CCf1BEwD.js";import"./InputField-IMyvy6Mz.js";import"./extends-CF3RwP-h.js";import"./react-select.esm-s6La4tfe.js";import"./defineProperty-CegpTSss.js";import"./floating-ui.dom-DbzrgdRQ.js";function R({sourceIdx:r,device:a}){const o=d(t(s=>s.deviceStates[r][a.friendly_name]));return e.jsxs("div",{className:"flex flex-row flex-wrap gap-4 w-full",children:[e.jsx("div",{className:"card card-border bg-base-200 border-base-300 rounded-box shadow-md flex-1",children:e.jsx("div",{className:"card-body p-4",children:e.jsx(i,{sourceIdx:r,target:a,deviceState:o??{}})})}),e.jsx("div",{className:"card card-border bg-base-200 border-base-300 rounded-box shadow-md flex-1",children:e.jsx("div",{className:"card-body p-4",children:e.jsx(m,{sourceIdx:r,target:a})})})]})}export{R as default};
