"use strict";var e=require("react/jsx-runtime"),b=require("../containers/button.js");require("../containers/card.js");var j=require("../../lib/cn.js");require("../primitives/button.js"),require("../primitives/checkbox.js"),require("../primitives/dropdown-selector.js"),require("../primitives/popover.js"),require("../primitives/radio.js"),require("../primitives/segmented-control.js"),require("../primitives/switch.js");var l=require("../primitives/text.js"),i=require("react");require("../utils/client-asset-logo.js"),require("react-qrcode-logo"),require("../utils/secured-by-magic.js"),require("../containers/header.js"),require("../containers/menu.js"),require("../containers/modal.js"),require("../containers/overlay.js");var n=require("create-slots");const h=n.createSlot(({backgroundColor:t,children:r})=>e.jsx("div",{className:"flex items-center justify-center rounded-[60px] h-11 w-11 overflow-hidden",style:{backgroundColor:t},children:i.cloneElement(i.Children.only(r),{height:24,width:24})})),x=n.createSlot(({backgroundColor:t,children:r})=>e.jsxs("div",{className:"h-10 w-10 relative",children:[e.jsx("div",{className:"flex items-center justify-center absolute h-7 w-7 rounded-[30px]",style:{backgroundColor:t},children:i.cloneElement(r[0],{height:20,width:20})}),e.jsx("div",{className:"flex items-center justify-center absolute rounded-[30px] h-7 w-7 bottom-0 right-0",style:{backgroundColor:t},children:i.cloneElement(r[1],{height:20,width:20})})]})),m=n.createSlot(({backgroundColor:t,children:r})=>e.jsx("div",{className:"flex items-center justify-center rounded-[30px] border-2 border-neutral-tertiary w-5 h-5",style:{backgroundColor:t},children:i.cloneElement(i.Children.only(r),{height:10,width:10})})),q=({title:t,subtitle:r,primaryValue:y,primaryValueColor:f,secondaryValue:c,children:g,onPress:v,...o})=>n.createHost(g,s=>{const a=s.get(x),d=s.get(h),u=s.get(m);return e.jsx(b.ButtonContainer,{borderRadius:"0.375rem",expand:!0,onPress:v,children:e.jsxs("div",{className:j.cn("flex flex-row items-center p-3 gap-2 w-full relative rounded-md justify-between","active:scale-95 hover:bg-neutral-secondary bg-neutral-tertiary"),...o,children:[e.jsxs("div",{className:"flex flex-row items-center gap-2.5",children:[a&&a,d&&d,u&&e.jsx("div",{className:"absolute left-9 top-11",children:u}),e.jsxs("div",{children:[e.jsx(l.default,{truncate:!0,size:"md",fontWeight:"bold",children:t})," ",r&&e.jsx(l.default,{truncate:!0,size:"sm",fontColor:"text.secondary",children:r})]})]}),e.jsxs("div",{children:[e.jsx(l.default,{truncate:!0,size:"md",styles:{textAlign:"end",color:f},...o,children:y}),c&&e.jsx(l.default,{truncate:!0,size:"sm",styles:{textAlign:"end"},fontColor:"text.secondary",children:c})]})]})})}),w=Object.assign(q,{DoubleIcon:x,PrimaryIcon:h,SecondaryIcon:m});exports.ActivityListItem=w;
//# sourceMappingURL=activity-list-item.js.map
