import{a as d,D as t,j as e}from"./index-KAtljJVt.js";import{A as i,R as m}from"./RecallRemove-Dq0GUqdz.js";import"./envs-CSqIi4cL.js";import"./DashboardFeatureWrapper-iw7H46wQ.js";import"./Feature-B1aHJEJ-.js";import"./DisplayValue-BbeFDe0l.js";import"./isObject--vsEa_js.js";import"./_createCompounder-CDGep--y.js";import"./isObjectLike-CdeenLLY.js";import"./index-B-QDvwG_.js";import"./InputField-D4fq1Htu.js";import"./extends-CF3RwP-h.js";import"./react-select.esm-DL84IisZ.js";import"./defineProperty-CegpTSss.js";import"./floating-ui.dom-I8hrORoS.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};
