(()=>{var e={};e.id=6185,e.ids=[6185],e.modules={53524:e=>{"use strict";e.exports=require("@prisma/client")},47849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},55403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},94749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},50852:e=>{"use strict";e.exports=require("async_hooks")},32081:e=>{"use strict";e.exports=require("child_process")},82361:e=>{"use strict";e.exports=require("events")},57147:e=>{"use strict";e.exports=require("fs")},73292:e=>{"use strict";e.exports=require("fs/promises")},22037:e=>{"use strict";e.exports=require("os")},71017:e=>{"use strict";e.exports=require("path")},76224:e=>{"use strict";e.exports=require("tty")},73837:e=>{"use strict";e.exports=require("util")},38652:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.ZP,__next_app__:()=>u,originalPathname:()=>c,pages:()=>o,routeModule:()=>p,tree:()=>d});var a=r(50482),s=r(69108),i=r(83543),n=r(68300),l={};for(let e in n)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>n[e]);r.d(t,l);let d=["",{children:["admin",{children:["activity",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,63570)),"C:\\test2\\pagecraft-ai\\src\\app\\admin\\activity\\page.tsx"]}]},{loading:[()=>Promise.resolve().then(r.bind(r,8101)),"C:\\test2\\pagecraft-ai\\src\\app\\admin\\activity\\loading.tsx"]}]},{layout:[()=>Promise.resolve().then(r.bind(r,82050)),"C:\\test2\\pagecraft-ai\\src\\app\\admin\\layout.tsx"],loading:[()=>Promise.resolve().then(r.bind(r,98338)),"C:\\test2\\pagecraft-ai\\src\\app\\admin\\loading.tsx"]}]},{layout:[()=>Promise.resolve().then(r.bind(r,43625)),"C:\\test2\\pagecraft-ai\\src\\app\\layout.tsx"],error:[()=>Promise.resolve().then(r.bind(r,24117)),"C:\\test2\\pagecraft-ai\\src\\app\\error.tsx"],"not-found":[()=>Promise.resolve().then(r.bind(r,48206)),"C:\\test2\\pagecraft-ai\\src\\app\\not-found.tsx"]}],o=["C:\\test2\\pagecraft-ai\\src\\app\\admin\\activity\\page.tsx"],c="/admin/activity/page",u={require:r,loadChunk:()=>Promise.resolve()},p=new a.AppPageRouteModule({definition:{kind:s.x.APP_PAGE,page:"/admin/activity/page",pathname:"/admin/activity",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},1639:(e,t,r)=>{Promise.resolve().then(r.bind(r,98074))},73684:(e,t,r)=>{Promise.resolve().then(r.bind(r,51511))},88534:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("Activity",[["path",{d:"M22 12h-4l-3 9L9 3l-3 9H2",key:"d5dnw9"}]])},63024:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},80895:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]])},33037:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]])},67711:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("CheckCheck",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]])},71532:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},97751:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},85674:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},1222:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("EyeOff",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]])},81985:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("FilePlus",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]])},42739:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},38852:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},27860:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("Navigation",[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]])},15366:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]])},28240:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]])},32817:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("UserX",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]])},89895:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let a=(0,r(69224).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},98074:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var a=r(95344);function s(){return(0,a.jsxs)("div",{className:"space-y-6",children:[a.jsx("div",{className:"h-8 w-48 bg-white/[0.06] rounded animate-pulse"}),a.jsx("div",{className:"flex gap-2",children:[void 0,void 0,void 0,void 0].map((e,t)=>a.jsx("div",{className:"h-9 w-28 bg-white/[0.06] rounded-lg animate-pulse"},t))}),a.jsx("div",{className:"space-y-3",children:[...Array(8)].map((e,t)=>a.jsx("div",{className:"h-20 bg-white/[0.06] rounded-xl animate-pulse"},t))})]})}},51511:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>C});var a=r(95344),s=r(3729),i=r(66543),n=r(9885),l=r(28240),d=r(69224);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let o=(0,d.Z)("UserCog",[["circle",{cx:"18",cy:"15",r:"3",key:"gjjjvw"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M10 15H6a4 4 0 0 0-4 4v2",key:"1nfge6"}],["path",{d:"m21.7 16.4-.9-.3",key:"12j9ji"}],["path",{d:"m15.2 13.9-.9-.3",key:"1fdjdi"}],["path",{d:"m16.6 18.7.3-.9",key:"heedtr"}],["path",{d:"m19.1 12.2.3-.9",key:"1af3ki"}],["path",{d:"m19.6 18.7-.4-1",key:"1x9vze"}],["path",{d:"m16.8 12.3-.4-1",key:"vqeiwj"}],["path",{d:"m14.3 16.6 1-.4",key:"1qlj63"}],["path",{d:"m20.7 13.8 1-.4",key:"1v5t8k"}]]);var c=r(32817),u=r(80895),p=r(85674),h=r(81985);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let g=(0,d.Z)("FilePen",[["path",{d:"M12 22h6a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v10",key:"x7tsz2"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10.4 12.6a2 2 0 1 1 3 3L8 21l-4 1 1-4Z",key:"o3xyfb"}]]),y=(0,d.Z)("FileX",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]]);var x=r(30304),m=r(1222),f=r(71206),v=r(13746),b=r(88534);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let k=(0,d.Z)("ScrollText",[["path",{d:"M8 21h12a2 2 0 0 0 2-2v-2H10v2a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v3h4",key:"13a6an"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M15 12h-5",key:"r7krc0"}]]);var j=r(42739),_=r(71532),w=r(97751);let Z=e=>fetch(e).then(e=>e.json()),M={all:void 0,users:"user_created,user_updated,user_deleted,user_suspended,plan_changed",pages:"page_created,page_updated,page_deleted,page_published,page_unpublished",leads:"lead_captured"},N={user_created:{icon:l.Z,color:"text-green-400",dotColor:"bg-green-400"},user_updated:{icon:o,color:"text-blue-400",dotColor:"bg-blue-400"},user_deleted:{icon:c.Z,color:"text-red-400",dotColor:"bg-red-400"},user_suspended:{icon:u.Z,color:"text-orange-400",dotColor:"bg-orange-400"},plan_changed:{icon:p.Z,color:"text-purple-400",dotColor:"bg-purple-400"},page_created:{icon:h.Z,color:"text-green-400",dotColor:"bg-green-400"},page_updated:{icon:g,color:"text-blue-400",dotColor:"bg-blue-400"},page_deleted:{icon:y,color:"text-red-400",dotColor:"bg-red-400"},page_published:{icon:x.Z,color:"text-green-400",dotColor:"bg-green-400"},page_unpublished:{icon:m.Z,color:"text-orange-400",dotColor:"bg-orange-400"},lead_captured:{icon:f.Z,color:"text-blue-400",dotColor:"bg-blue-400"},settings_updated:{icon:v.Z,color:"text-gray-400",dotColor:"bg-gray-400"}},q={icon:b.Z,color:"text-gray-400",dotColor:"bg-gray-400"};function C(){let{lang:e}=(0,n.Z)(),t="ar"===e,[r,l]=(0,s.useState)("all"),[d,o]=(0,s.useState)(1),c=new URLSearchParams({page:String(d),limit:String(20)});M[r]&&c.set("action",M[r]);let{data:u,isLoading:p}=(0,i.ZP)(`/api/admin/activity?${c.toString()}`,Z),h=u?.activities||[],g=u?.totalPages||1;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[a.jsx(k,{className:"h-7 w-7 text-indigo-400"}),a.jsx("h1",{className:"text-2xl font-bold text-white",children:t?"سجل النشاطات":"Activity Log"})]}),a.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:[{key:"all",label:{en:"All",ar:"الكل"}},{key:"users",label:{en:"User Actions",ar:"أحداث المستخدمين"}},{key:"pages",label:{en:"Page Actions",ar:"أحداث الصفحات"}},{key:"leads",label:{en:"Lead Actions",ar:"أحداث العملاء"}}].map(e=>a.jsx("button",{onClick:()=>{l(e.key),o(1)},className:`px-4 py-2 text-sm font-medium rounded-lg transition-colors ${r===e.key?"bg-indigo-500/20 text-indigo-400 border border-indigo-500/30":"bg-white/[0.03] text-gray-400 border border-white/[0.06] hover:bg-white/[0.06] hover:text-white"}`,children:t?e.label.ar:e.label.en},e.key))}),p?a.jsx("div",{className:"flex justify-center py-16",children:a.jsx(j.Z,{className:"h-8 w-8 animate-spin text-gray-500"})}):0===h.length?a.jsx("div",{className:"rounded-2xl border border-white/[0.06] bg-white/[0.03] text-center py-16 text-gray-500",children:t?"لا توجد أنشطة":"No activity found"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"relative",children:[a.jsx("div",{className:"absolute left-[19px] top-4 bottom-4 w-px bg-white/[0.06]"}),a.jsx("div",{className:"space-y-3",children:h.map(e=>{let r=N[e.action]||q,s=r.icon;return(0,a.jsxs)("div",{className:"relative flex gap-4 items-start group",children:[a.jsx("div",{className:"relative z-10 flex-shrink-0 mt-4",children:a.jsx("div",{className:`h-[10px] w-[10px] rounded-full ${r.dotColor} ring-4 ring-[#0a0a0f]`})}),a.jsx("div",{className:"flex-1 rounded-xl border border-white/[0.06] bg-white/[0.03] p-4 hover:bg-white/[0.02] transition-colors",children:(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,a.jsxs)("div",{className:"flex items-start gap-3 min-w-0",children:[a.jsx("div",{className:`flex-shrink-0 p-2 rounded-lg bg-white/[0.04] ${r.color}`,children:a.jsx(s,{className:"h-4 w-4"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[a.jsx("p",{className:"text-sm text-white leading-relaxed",children:function(e,t){let r=e.user?.name||e.user?.email||(t?"مستخدم":"User"),a=e.metadata||{},s={user_created:{en:"created user",ar:"أنشأ المستخدم"},user_updated:{en:"updated user",ar:"حدّث المستخدم"},user_deleted:{en:"deleted user",ar:"حذف المستخدم"},user_suspended:{en:"suspended user",ar:"علّق المستخدم"},plan_changed:{en:"changed plan for",ar:"غيّر خطة"},page_created:{en:"created page",ar:"أنشأ صفحة"},page_updated:{en:"updated page",ar:"حدّث صفحة"},page_deleted:{en:"deleted page",ar:"حذف صفحة"},page_published:{en:"published page",ar:"نشر صفحة"},page_unpublished:{en:"unpublished page",ar:"ألغى نشر صفحة"},lead_captured:{en:"captured a new lead",ar:"التقط عميل جديد"},settings_updated:{en:"updated settings",ar:"حدّث الإعدادات"}},i=s[e.action]?t?s[e.action].ar:s[e.action].en:t?"نفذ إجراء":"performed action",n=a.targetEmail||a.targetName||a.pageName||a.pageTitle||"",l=a.plan?` → ${a.plan}`:"";return`${r} ${i}${n?` ${n}`:""}${l}`}(e,t)}),e.user?.email&&a.jsx("p",{className:"text-xs text-gray-500 mt-1",children:e.user.email})]})]}),a.jsx("span",{className:"text-xs text-gray-500 whitespace-nowrap flex-shrink-0",children:function(e,t){let r=Math.floor((Date.now()-new Date(e).getTime())/1e3);if(r<60)return t?"الآن":"just now";let a=Math.floor(r/60);if(a<60)return t?`منذ ${a} ${1===a?"دقيقة":"دقائق"}`:`${a} ${1===a?"minute":"minutes"} ago`;let s=Math.floor(a/60);if(s<24)return t?`منذ ${s} ${1===s?"ساعة":"ساعات"}`:`${s} ${1===s?"hour":"hours"} ago`;let i=Math.floor(s/24);if(i<30)return t?`منذ ${i} ${1===i?"يوم":"أيام"}`:`${i} ${1===i?"day":"days"} ago`;let n=Math.floor(i/30);return t?`منذ ${n} ${1===n?"شهر":"أشهر"}`:`${n} ${1===n?"month":"months"} ago`}(e.createdAt,t)})]})})]},e.id)})})]}),g>1&&(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2 mt-8",children:[a.jsx("button",{onClick:()=>o(e=>Math.max(1,e-1)),disabled:1===d,className:"p-2 rounded-lg border border-white/[0.06] bg-white/[0.03] text-gray-400 hover:bg-white/[0.06] hover:text-white disabled:opacity-30 disabled:cursor-not-allowed transition-colors",children:a.jsx(_.Z,{className:"h-4 w-4"})}),a.jsx("span",{className:"text-sm text-gray-400 px-3",children:t?`${d} من ${g}`:`${d} of ${g}`}),a.jsx("button",{onClick:()=>o(e=>Math.min(g,e+1)),disabled:d===g,className:"p-2 rounded-lg border border-white/[0.06] bg-white/[0.03] text-gray-400 hover:bg-white/[0.06] hover:text-white disabled:opacity-30 disabled:cursor-not-allowed transition-colors",children:a.jsx(w.Z,{className:"h-4 w-4"})})]})]})]})}},48096:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DynamicServerError:function(){return a},isDynamicServerError:function(){return s}});let r="DYNAMIC_SERVER_USAGE";class a extends Error{constructor(e){super("Dynamic server usage: "+e),this.description=e,this.digest=r}}function s(e){return"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest&&e.digest===r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},72973:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isStaticGenBailoutError:function(){return l},staticGenerationBailout:function(){return o}});let a=r(48096),s=r(45869),i="NEXT_STATIC_GEN_BAILOUT";class n extends Error{constructor(...e){super(...e),this.code=i}}function l(e){return"object"==typeof e&&null!==e&&"code"in e&&e.code===i}function d(e,t){let{dynamic:r,link:a}=t||{};return"Page"+(r?' with `dynamic = "'+r+'"`':"")+" couldn't be rendered statically because it used `"+e+"`."+(a?" See more info here: "+a:"")}let o=(e,t)=>{let{dynamic:r,link:i}=void 0===t?{}:t,l=s.staticGenerationAsyncStorage.getStore();if(!l)return!1;if(l.forceStatic)return!0;if(l.dynamicShouldError)throw new n(d(e,{link:i,dynamic:null!=r?r:"error"}));let o=d(e,{dynamic:r,link:"https://nextjs.org/docs/messages/dynamic-server-error"});if(null==l.postpone||l.postpone.call(l,e),l.revalidate=0,l.isStaticGeneration){let t=new a.DynamicServerError(o);throw l.dynamicUsageDescription=e,l.dynamicUsageStack=t.stack,t}return!1};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8101:(e,t,r)=>{"use strict";r.r(t),r.d(t,{$$typeof:()=>i,__esModule:()=>s,default:()=>n});let a=(0,r(86843).createProxy)(String.raw`C:\test2\pagecraft-ai\src\app\admin\activity\loading.tsx`),{__esModule:s,$$typeof:i}=a,n=a.default},63570:(e,t,r)=>{"use strict";r.r(t),r.d(t,{$$typeof:()=>i,__esModule:()=>s,default:()=>n});let a=(0,r(86843).createProxy)(String.raw`C:\test2\pagecraft-ai\src\app\admin\activity\page.tsx`),{__esModule:s,$$typeof:i}=a,n=a.default}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[1638,5312,6632,3910,9043],()=>r(38652));module.exports=a})();