import{dB as s,dF as t,dm as e}from"./index-DjbVAZHL.js";import{A as i,R as m}from"./RecallRemove-7D_NDzYK.js";import"./envs-CRUy-_iG.js";import"./DashboardFeatureWrapper-O5P5TMzv.js";import"./startCase-SXH8nyJo.js";import"./DisplayValue-e_yVQGok.js";import"./isObject--vsEa_js.js";import"./_createCompounder-CI5okWsL.js";import"./isObjectLike-DlSfHoCn.js";import"./index-RfvTmd0Z.js";import"./InputField-D1U5kSs2.js";import"./extends-CF3RwP-h.js";import"./react-select.esm-189R5gw4.js";import"./defineProperty-CegpTSss.js";import"./floating-ui.dom-CFVCCol6.js";function R({sourceIdx:r,device:a}){const d=s(t(o=>o.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:d??{}})})}),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};
