1import{y as P,d3 as R,E as O,j as e,ax as B,d4 as J,r,b4 as K,S as _,j8 as y,as as d,b3 as $,bN as z,bO as U,ao as W,bP as q,bi as X,bj as Y,bQ as Q,bk as Z,bl as k,ds as ee,O as te,bT as se,bf as ae,b9 as re,X as le,b8 as oe,b5 as ne,aI as x}from"./index-CpeGhXo5.js";import{NewPersonalGadgetPage as ie}from"./finance.personal-gadgets.new-VqvR7Um5.js";import{F as de}from"./FilterBar-B_jdgGzl.js";import{u as ce}from"./useCurrencyHelpers-D5hUvgaW.js";import{s as xe,a as ue}from"./excelUtils-B6c4w-tr.js";import{C as me}from"./EntityPill-btGCy98_.js";import{S as he}from"./scale-Bjl0IPKl.js";import{T as pe}from"./tv-CDwO6AK3.js";import"./Panel-Cf_wAUzv.js";import"./filters-DQMtevU2.js";import"./mock-Ci00pIzy.js";import"./currency-CACMzR5Q.js";const v=P("Armchair",[["path",{d:"M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3",key:"irtipd"}],["path",{d:"M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"1qyhux"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]]);const be=P("Bike",[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]]);function Te(){const w=R();if(w)return w;const{pathname:C}=O();if(C.includes("/personal-gadgets/new"))return e.jsx(ie,{});const h=B(),p=J(),{fmtConv:A,fmtConvCompact:S,sym:j}=ce(),[H,D]=r.useState([]),[n,c]=r.useState("all"),[T,u]=r.useState(!1),[b,ge]=r.useState(null),[g,N]=r.useState("general"),[l,m]=r.useState([{id:"gad-001",name:'Sony 65" 4K OLED Smart TV & Dolby Surround Sound Bar',category:"Home Electronics & ACs",owner:"Personal / Household",serialNumber:"SN-92019A",purchaseDate:"2023-10-15",purchasePrice:22e4,currentValue:185e3,condition:"Like New",location:"Residence / Home",notes:"Living room premium entertainment setup"},{id:"gad-002",name:"7-Seater Premium L-Shape Leatherette Sofa Set & Coffee Table",category:"Home Furniture & Almirahs",owner:"Personal / Household",serialNumber:"â",purchaseDate:"2022-11-20",purchasePrice:165e3,currentValue:145e3,condition:"Good",location:"Residence / Home",notes:"Custom living room designer furniture"},{id:"gad-003",name:"Daikin 1.5-Ton 5-Star Inverter Split Air Conditioners (3 Units)",category:"Home Electronics & ACs",owner:"Personal / Household",serialNumber:"DK-389201",purchaseDate:"2023-04-10",purchasePrice:155e3,currentValue:14e4,condition:"Like New",location:"Residence / Home",notes:"Bedrooms & drawing room climate control"},{id:"gad-004",name:"Solid Teak Wood King Size Beds & Orthopedic Mattresses (2 Sets)",category:"Home Furniture & Almirahs",owner:"Personal / Household",serialNumber:"â",purchaseDate:"2022-06-15",purchasePrice:18e4,currentValue:16e4,condition:"Good",location:"Residence / Home",notes:"Master bedroom & guest room beds"},{id:"gad-005",name:"Godrej Heavy Duty Steel Almirahs & Fitted Wardrobes (3 Units)",category:"Home Furniture & Almirahs",owner:"Personal / Household",serialNumber:"GJ-920195",purchaseDate:"2021-08-10",purchasePrice:11e4,currentValue:95e3,condition:"Good",location:"Residence / Home",notes:"Bedroom clothing & secure storage almirahs"},{id:"gad-006",name:"Royal Enfield Hunter 350 / Personal Cruiser Motorcycle",category:"Vehicles & Motorcycles",owner:"Personal",serialNumber:"RE-389201L",purchaseDate:"2023-02-14",purchasePrice:225e3,currentValue:195e3,condition:"Like New",location:"Residence / Home",notes:"Personal commute & weekend motorcycle"},{id:"gad-007",name:"Apple iPhone 15 Pro Max (512GB Titanium)",category:"Personal Tech & Gadgets",owner:"Personal",serialNumber:"F2LX929K19",purchaseDate:"2023-10-05",purchasePrice:159900,currentValue:125e3,condition:"Like New",location:"Residence / Home",notes:"Primary personal flagship mobile phone"}
1,{id:"gad-008",name:"Family Gold Jewelry & Precious Metal Belongings (22K Reserve)",category:"Jewelry & Precious Belongings",owner:"Family Reserve",serialNumber:"GLD-88291",purchaseDate:"2020-01-01",purchasePrice:65e4,currentValue:85e4,condition:"Like New",location:"Personal Storage",notes:"Appreciating personal gold jewelry & bullion"}]);r.useEffect(()=>{const t=localStorage.getItem("finance_personal_gadgets_items");if(t)try{const a=JSON.parse(t);Array.isArray(a)&&a.length>0&&m(o=>{const F=new Set(o.map(f=>f.id));return[...a.filter(f=>!F.has(f.id)),...o]})}catch{}},[]);const[s,i]=r.useState({name:"",category:"Home Electronics & ACs",owner:"Personal / Household",serialNumber:"",purchaseDate:new Date().toISOString().split("T")[0],purchasePrice:0,currentValue:0,condition:"Like New",location:"Residence / Home",notes:""}),V=r.useMemo(()=>n==="all"?l:l.filter(t=>t.category.toLowerCase().includes(n.toLowerCase())),[l,n]),E=r.useMemo(()=>l.reduce((t,a)=>t+a.currentValue,0),[l]),M=r.useMemo(()=>l.reduce((t,a)=>t+a.purchasePrice,0),[l]),L=t=>{if(t.preventDefault(),!s.name?.trim())return x.error("Enter asset/item name");if(b)m(a=>a.map(o=>o.id===b.id?{...o,...s}:o)),x.success("Updated personal asset details");else{const a={id:`gad-${Date.now()}`,name:s.name.trim(),category:s.category||"Home Electronics & ACs",owner:s.owner||"Personal / Household",serialNumber:s.serialNumber||"",purchaseDate:s.purchaseDate||new Date().toISOString().split("T")[0],purchasePrice:Number(s.purchasePrice)||0,currentValue:Number(s.currentValue)||Number(s.purchasePrice)||0,condition:s.condition||"Like New",location:s.location||"Residence / Home",notes:s.notes||""};m(o=>
1[a,...o]),x.success("Added new personal asset / gadget")}u(!1)},I=t=>{confirm("Delete personal asset record?")&&(m(a=>a.filter(o=>o.id!==t)),x.success("Deleted personal asset"))},G=()=>{const t=l.map(a=>({"Asset / Item Name":a.name,Category:a.category,"Owner / User":a.owner,"Serial / Model":a.serialNumber||"â","Purchase Date":a.purchaseDate,"Purchase Cost (â¹)":a.purchasePrice,"Current Value (â¹)":a.currentValue,Condition:a.condition,Location:a.location}));xe("Personal_Gadgets_and_Home_Assets",a=>{ue(a,"Personal Assets",t)}),x.success("Exported Personal Assets to Excel!")};return e.jsxs("div",{className:"flex flex-col flex-1 h-full min-h-0 overflow-hidden bg-slate-50/50 dark:bg-slate-950/50",children:[e.jsx(K,{title:"Gadgets & Personal Household Assets",subtitle:"Home electronics, ACs, LED TVs, furniture, almirahs, motorcycles, personal tech, and precious belongings",accentVar:"--mod-finance",showMonthYearFilter:!1}),e.jsxs("div",{className:"px-3 pt-2 pb-1.5 shrink-0 grid grid-cols-2 lg:grid-cols-4 gap-2 text-xs",children:[e.jsxs("div",{className:"p-2.5 bg-gradient-to-r from-emerald-600 to-teal-700 text-white rounded-lg shadow-2xs flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-[10px] uppercase font-bold text-emerald-100 tracking-wide block",children:"Total Personal Asset Value"}),e.jsxs("span",{className:"text-sm font-black font-data block",children:[j," ",E.toLocaleString("en-IN")]})]}),e.jsx(_,{className:"w-4 h-4 text-emerald-200 shrink-0"})]}),e.jsxs("div",{className:"p-2.5 bg-white dark:bg-slate-900 rounded-lg border border-slate-200 dark:border-slate-800 shadow-2xs flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-[10px] uppercase font-bold text-slate-500 tracking-wide block",children:"Total Purchase Cost"}),e.jsxs("span",{className:"text-sm font-bold text-slate-800 dark:text-slate-200 font-data block",children:[j," ",M.toLocaleString("en-IN")]})]}),e.jsx(he,{className:"w-4 h-4 text-slate-400 shrink-0"})]}),e.jsxs("div",{className:"p-2.5 bg-white dark:bg-slate-900 rounded-lg border border-slate-200 dark:border-slate-800 shadow-2xs flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-[10px] uppercase font-bold text-blue-600 dark:text-blue-400 tracking-wide block",children:"Items Tracked"}),e.jsxs("span",{className:"text-sm font-bold text-blue-600 dark:text-blue-400 font-data block",children:[l.length," Personal Items"]})]}),e.jsx(v,{className:"w-4 h-4 text-blue-500 shrink-0"})]}),e.jsxs("div",{className:"p-2.5 bg-white dark:bg-slate-900 rounded-lg border border-slate-200 dark:border-slate-800 shadow-2xs flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-[10px] uppercase font-bold text-purple-600 dark:text-purple-400 tracking-wide block",children:"Precious Gold & Assets"}),e.jsx("span",{className:"text-sm font-bold text-purple-600 dark:text-purple-400 font-data block",children:"85.0% Appreciated"})]}),e.jsx(y,{className:"w-4 h-4 text-purple-500 shrink-0"})]})]}),e.jsxs("div",{className:"shrink-0 bg-surface/50 border-y border-slate-200 dark:border-slate-800 px-3 py-1.5 flex items-center justify-between flex-wrap gap-2",children:[e.jsxs("div",{className:"flex items-center gap-1 bg-slate-100 dark:bg-slate-800/80 p-1 rounded-lg text-xs",children:[e.jsxs("button",{type:"button",onClick:()=>c("all"),className:d("px-2.5 py-1 font-semibold rounded transition-all",n==="all"?"bg-white dark:bg-slate-900 text-blue-600 shadow-2xs":"text-slate-600 hover:text-slate-900"),children:["All Items (",l.length,")"]}),e.jsxs("button",{type:"button",onClick:()=>c("Home Electronics"),className:d("px-2.5 py-1 font-semibold rounded transition-all flex items-center gap-1",n==="Home Electronics"?"bg-white dark:bg-slate-900 text-blue-600 shadow-2xs":"text-slate-600 hover:text-slate-900"),children:[e.jsx(pe,{className:"w-3 h-3"})," TVs & ACs"]}),e.jsxs("button",{type:"button",onClick:()=>c("Furniture"),className:d("px-2.5 py-1 font-semibold rounded transition-all flex items-center gap-1",n==="Furniture"?"bg-white dark:bg-slate-900 text-purple-600 shadow-2xs":"text-slate-600 hover:text-slate-900"),children:[e.jsx(v,{className:"w-3 h-3"})," Sofa, Beds & Almirahs"]}),e.jsxs("button",{type:"button",onClick:()=>c("Vehicles"),className:d("px-2.5 py-1 font-semibold rounded transition-all flex items-center gap-1",n==="Vehicles"?"bg-white dark:bg-slate-900 text-amber-600 shadow-2xs":"text-slate-600 hover:text-slate-900"),children:[e.jsx(be,{className:"w-3 h-3"})," Motorcycles"]}),e.jsxs("button",{type:"button",onClick:()=>c("Jewelry"),className:d("px-2.5 py-1 font-semibold rounded transition-all flex items-center gap-1",n==="Jewelry"?"bg-white dark:bg-slate-900 text-emerald-600 shadow-2xs":"text-slate-600 hover:text-slate-900"),children:[e.jsx(y,{className:"w-3 h-3"})," Gold & Belongings"]})]}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(de,{showMonths:!0,actions:e.jsx($,{delayDuration:150,children:e.jsxs(z,{children:[e.jsx(U,{asChild:!0,children:e.jsx("button",{type:"button",onClick:()=>h(`${p}/personal-gadgets/new`),className:"h-8 w-8 p-0 rounded-lg bg-blue-600 hover:bg-blue-700 text-white inline-flex items-center justify-center shadow-2xs transition-colors shrink-0 cursor-pointer",children:e.jsx(W,{className:"w-4 h-4"})})}),e.jsx(q,{side:"bottom",align:"end",children:e.jsx("p",{children:"Add Personal Asset"})})]})})}),e.jsxs(X,{children:[e.jsxs(Y,{className:"h-7 px-2.5 rounded-md bg-slate-100 dar
1k:bg-slate-800 text-slate-700 dark:text-slate-200 font-semibold text-xs flex items-center gap-1 shadow-2xs outline-none",children:[e.jsx(Q,{className:"w-3.5 h-3.5"})," Export"]}),e.jsxs(Z,{align:"end",className:"w-40",children:[e.jsxs(k,{onClick:G,className:"text-xs gap-2 cursor-pointer",children:[e.jsx(ee,{className:"w-3.5 h-3.5 text-emerald-600"})," Export Excel"]}),e.jsxs(k,{onClick:()=>window.print(),className:"text-xs gap-2 cursor-pointer",children:[e.jsx(te,{className:"w-3.5 h-3.5 text-blue-600"})," Print / PDF"]})]})]})]})]}),e.jsx("div",{className:"p-3 pb-3 flex-1 min-h-0 flex flex-col overflow-hidden",children:e.jsx(se,{fillHeight:!0,selectable:!0,selectedIds:H,onSelectionChange:D,rows:V,rowKey:t=>t.id,searchKeys:["name","category","owner","serialNumber","location"],searchPlaceholder:"Search home assets, sofa, TV, AC, almirah, motorcycle, gold...",storageKey:"finance-personal-gadgets",initialPageSize:10,columns:[{key:"name",label:"Personal / Home Asset Description",sortable:!0,render:t=>e.jsxs("div",{children:[e.jsx("span",{className:"font-bold text-slate-800 dark:text-slate-200 font-data",children:t.name}),t.notes&&e.jsx("p",{className:"text-[10px] text-slate-400 italic",children:t.notes})]})},{key:"category",label:"Category",width:"190px",sortable:!0,render:t=>e.jsx(me,{name:t.category})},{key:"owner",label:"Owner / Location",width:"150px",sortable:!0,render:t=>e.jsxs("div",{children:[e.jsx("span",{className:"text-slate-700 dark:text-slate-300 text-[11px] font-semibold block",children:t.owner}),e.jsx("span",{className:"text-[10px] text-slate-400 block",children:t.location})]})},{key:"purchasePrice",label:"Purchase Cost",align:"right",width:"130px",sortable:!0,render:t=>e.jsx("span",{className:"font-data font-semibold text-slate-600 dark:text-slate-400",children:S(t.purchasePrice)})},{key:"currentValue",label:"Current Valuation",align:"right",width:"140px",sortable:!0,render:t=>e.jsx("span",{className:"font-data font-bold text-emerald-600 dark:text-emerald-400",children:A(t.currentValue)})},{key:"condition",label:"Condition",width:"100px",align:"center",render:t=>e.jsx("span",{className:d("px-2 py-0.5 rounded text-[10px] font-bold",t.condition==="Like New"?"bg-emerald-50 text-emerald-700 dark:bg-emerald-950/60 dark:text-emerald-300":"bg-amber-50 text-amber-700 dark:bg-amber-950/60 dark:text-amber-300"),children:t.condition})},{key:"actions",label:"ACTIONS",width:"80px",align:"center",fixed:"right",render:t=>e.jsxs("div",{className:"flex items-center gap-1 justify-center",onClick:a=>a.stopPropagation(),children:[e.jsx("button",{onClick:()=>h(`${p}/personal-gadgets/new?editId=${t.id}`),className:"p-1 rounded hover:bg-slate-100 dark:hover:bg-slate-800 text-slate-600 dark:text-slate-300",title:"Edit Asset",children:e.jsx(ae,{className:"w-3.5 h-3.5"})}),e.jsx("button",{onClick:()=>I(t.id),className:"p-1 rounded hover:bg-rose-50 text-rose-600",title:"Delete Asset",children:e.jsx(re,{className:"w-3.5 h-3.5"})})]})}],onRowClick:t=>h(`${p}/personal-gadgets/new?editId=${t.id}`)})}),T&&e.jsx("div",{className:"fixed inset-0 bg-background/80 backdrop-blur-sm z-50 flex items-center justify-center p-4",children:e.jsxs("div",{className:"bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-xl shadow-xl max-w-md w-full overflow-hidden animate-in fade-in zoom-in-95 duration-200",children:[e.jsxs("div",{className:"px-4 py-3 border-b border-slate-200 dark:border-slate-800 flex items-center justify-between bg-slate-50 dark:bg-slate-800/40",children:[e.jsx("h3",{className:"text-xs font-bold text-slate-900 dark:text-slate-100",children:b?"Edit Personal / Home Asset":"Add Personal / Home Asset"}),e.jsx("button",{onClick:()=>u(!1),className:"p-1 hover:bg-slate-200 rounded",children:e.jsx(le,{className:"w-3.5 h-3.5 text-slate-500"})})]}),e.jsxs("div",{className:"flex border-b border-slate-200 dark:border-slate-800 bg-slate-50/50 dark:bg-slate-800/40",children:[e.jsx("button",{type:"button",onClick:()=>N("general"),className:d("flex-1 py-2 text-xs font-bold transition-all border-b-2",g==="general"?"border-blue-600 text-blue-600 bg-white dark:bg-slate-900":"border-transparent text-slate-500"),children:"General Info"}),e.jsx("button",{type:"button",onClick:()=>N("history"),className:d("flex-1 py-2 text-xs font-bold transition-all border-b-2",g==="history"?"border-blue-600 text-blue-600 bg-white dark:bg-slate-900":"border-transparent text-slate-500"),children:"History & Logs"})]}),g==="general"?e.jsxs("form",{onSubmit:L,className:"p-4 space-y-3 text-xs",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsxs("label",{className:"text-[10px] font-semibold text-slate-600 uppercase",children:["Item Name / Description ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx("input",{type:"text",placeholder:"e.g. Sony 65 OLED TV, Teak Wood Sofa, Royal Enfield Motorcycle",value:s.name,onChange:t=>i({...s,name:t.target.value}),className:"w-full h-8 px-2.5 rounded border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 text-xs",required:!0})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-semibold text-slate-600 uppercase",children:"Category"}),e.jsxs("select",{value:s.category,onChange:t=>i({...s,category:t.target.value}),className:"w-full h-8 px-2 rounded border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 text-xs",children:[e.jsx("option",{value:"Home Electronics & ACs",children:"Home Electronics & ACs"}),e.jsx("option",{value:"Home Furniture & Almirahs",children:"Home Furniture & Almirahs"}),e.jsx("option",{value:"Personal Tech & Gadgets",children:"Personal Tech & Gadgets"}),e.jsx("option",{value:"Vehicles & Motorcycles",children:"Vehicles & Motorcycles"}),e.jsx("option",{value:"Jewelry & Precious Belongings",children:"Jewelry & Precious Belongings"})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-semibold text-slate-600 uppercase",children:"Owner / Assignee"}),e.jsx("input",{type:"text",placeholder:"Personal / Household",value:s.owner,onChange:t=>i({...s,owner:t.target.value}),className:"w-full h-8 px-2.5 rounded border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 text-xs"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-semibold text-slate-600 uppercase",children:"Purchase Cost (â¹)"}),e.jsx("input",{type:"number",placeholder:"0.00",value:s.purchasePrice,onChange:t=>i({...s,purchasePrice:parseFloat(t.target.value)||0}),className:"w-full h-8 px-2.5 rounded border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 font-data font-bold text-xs"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-semibold text-slate-600 uppercase",children:"Current Valuation (â¹)"}),e.jsx("input",{type:"number",placeholder:"0.00",value:s.currentValue,onChange:t=>i({...s,currentValue:parseFloat(t.target.value)||0}),className:"w-full h-8 px-2.5 rounded border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 font-data font-bold text-xs"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-semibold text-slate-600 uppercase",children:"Serial / Model No."}),e.jsx("input",{type:"text",placeholder:"Optional model S/N",value:s.serialNumber,onChange:t=>i({...s,serialNumber:t.target.value}),className:"w-full h-8 px-2.5 rounded border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 text-xs font-mono"})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-semibold text-slate-600 uppercase",children:"Location"}),e.jsx("input",{type:"text",placeholder:"Residence / Home",value:s.location,onChange:t=>i({...s,location:t.target.value}),className:"w-full h-8 px-2.5 rounded border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900 text-xs"})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("label",{className:"text-[10px] font-semibold text-slate-600 uppercase",children:"Purchase Date"}),e.jsx(oe,{value:s.purchaseDate,onChange:t=>i({...s,purchaseDate:t})})]}),e.jsxs("div",{className:"flex justify-end gap-2 pt-2 border-t border-slate-100 dar
1k:border-slate-800",children:[e.jsx("button",{type:"button",onClick:()=>u(!1),className:"h-7 px-3 rounded border text-xs",children:"Cancel"}),e.jsxs("button",{type:"submit",className:"h-7 px-3 rounded bg-emerald-600 hover:bg-emerald-700 text-white text-xs font-semibold flex items-center gap-1",children:[e.jsx(ne,{className:"w-3.5 h-3.5"})," Save Asset"]})]})]}):e.jsxs("div",{className:"p-4 space-y-4 text-xs",children:[e.jsx("span",{className:"text-[11px] font-bold text-slate-500 uppercase tracking-wider block",children:"ASSET LIFECYCLE & AUDIT TRAIL"}),e.jsxs("div",{className:"relative pl-6 space-y-4 before:absolute before:left-2 before:top-2 before:bottom-2 before:w-0.5 before:bg-slate-200 dark:before:bg-slate-800",children:[e.jsxs("div",{className:"relative",children:[e.jsx("span",{className:"absolute -left-6 top-0 w-4 h-4 rounded-full bg-emerald-500 text-white flex items-center justify-center text-[10px] font-bold",children:"â"}),e.jsx("div",{className:"text-xs font-bold text-slate-900 dark:text-slate-100",children:"Asset Activated"}),e.jsx("div",{className:"text-[11px] text-slate-500",children:"May 01, 2026 by Admin"}),e.jsxs("p",{className:"text-[11px] text-slate-400 mt-0.5",children:["Assigned to: ",s.owner||"Personal / Household"]})]}),e.jsxs("div",{className:"relative",children:[e.jsx("span",{className:"absolute -left-6 top-0 w-4 h-4 rounded-full bg-blue-500 text-white flex items-center justify-center text-[10px] font-bold",children:"i"}),e.jsx("div",{className:"text-xs font-bold text-slate-900 dark:text-slate-100",children:"Physical Verification"}),e.jsx("div",{className:"text-[11px] text-slate-500",children:"Apr 15, 2026 by Auditor"}),e.jsxs("p",{className:"text-[11px] text-slate-400 mt-0.5",children:["Verified at location: ",s.location||"Residence / Home"]})]}),e.jsxs("div",{className:"relative",children:[e.jsx("span",{className:"absolute -left-6 top-0 w-4 h-4 rounded-full bg-slate-400 text-white flex items-center justify-center text-[10px] font-bold",children:"â¢"}),e.jsx("div",{className:"text-xs font-bold text-slate-900 dark:text-slate-100",children:"Asset Purchased"}),e.jsxs("div",{className:"text-[11px] text-slate-500",children:["by Procurement Team ⢠",s.purchaseDate||"2023-10-15"]})]})]}),e.jsx("div",{className:"flex justify-end pt-2 border-t border-slate-100 dark:border-slate-800",children:e.jsx("button",{type:"button",onClick:()=>u(!1),className:"h-7 px-3 rounded border text-xs font-semibold",children:"Close"})})]})]})})]})}export{Te as PersonalGadgetsPage,Te as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.