module.exports=[52562,a=>{"use strict";var b=a.i(2589);a.s(["Check",()=>b.default])},75898,a=>{"use strict";var b=a.i(72131);let c=b.createContext(void 0),d={disableStyleElements:!1};a.s(["useCSPContext",0,function(){return b.useContext(c)??d}])},52466,a=>{"use strict";a.s(["isElementDisabled",0,function(a){return null==a||a.hasAttribute("disabled")||"true"===a.getAttribute("aria-disabled")}])},14258,a=>{"use strict";let b=(0,a.i(64831).default)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);a.s(["Shield",0,b],14258)},19283,a=>{"use strict";let b=async(a,b,c,d,e,f,g)=>{if(console.log("logActivity called with:",{tenantId:b,userId:c,action:d}),!b||!c){console.warn("Skipping logActivity because tenantId or userId is missing"),alert("تحذير: تعذر تسجيل النشاط لأن بيانات المستخدم مفقودة (userId is undefined).");return}try{let{error:h}=await a.from("activity_logs").insert([{tenant_id:b,user_id:c,action_type:d,entity_type:e||null,entity_id:f||null,details:g||null}]);h&&(console.error("Supabase insert error in logActivity:",h),alert("Error logging activity: "+h.message))}catch(a){console.error("Failed to log activity:",a),alert("Exception logging activity: "+a.message)}};a.s(["logActivity",0,b])},26314,a=>{"use strict";let b=(0,a.i(64831).default)("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]]);a.s(["ShieldAlert",0,b],26314)},8311,a=>{"use strict";let b=(0,a.i(64831).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);a.s(["Clock",0,b],8311)},70430,a=>{"use strict";var b=a.i(87924),c=a.i(68114);a.s(["Label",0,function({className:a,...d}){return(0,b.jsx)("label",{"data-slot":"label",className:(0,c.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",a),...d})}])},76965,a=>{"use strict";let b=(0,a.i(64831).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["default",0,b])},3512,a=>{"use strict";let b=(0,a.i(64831).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",0,b],3512)},80180,a=>{"use strict";let b=(0,a.i(64831).default)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]]);a.s(["Trash2",0,b],80180)},94902,a=>{"use strict";let b=(0,a.i(64831).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);a.s(["User",0,b],94902)},74215,a=>{"use strict";var b=a.i(76965);a.s(["X",()=>b.default])}];

//# sourceMappingURL=_13tsihn._.js.map