![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/lavocat.ca/private_html/.next/server/pages/profile/ |
"use strict";(()=>{var e={};e.id=8276,e.ids=[636,3220,8276],e.modules={4722:e=>{e.exports=require("next-auth/react")},7085:e=>{e.exports=require("styled-jsx/style")},8732:e=>{e.exports=require("react/jsx-runtime")},9733:e=>{e.exports=import("@chakra-ui/react")},15112:(e,r,a)=>{a.d(r,{A:()=>s});let s=(0,a(72386).A)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},22326:e=>{e.exports=require("react-dom")},27910:e=>{e.exports=require("stream")},29021:e=>{e.exports=require("fs")},33873:e=>{e.exports=require("path")},36653:e=>{e.exports=require("nprogress")},38673:(e,r,a)=>{a.a(e,async(e,s)=>{try{a.r(r),a.d(r,{config:()=>b,default:()=>x,getServerSideProps:()=>m,getStaticPaths:()=>g,getStaticProps:()=>u,reportWebVitals:()=>p,routeModule:()=>k,unstable_getServerProps:()=>j,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>f,unstable_getStaticPaths:()=>y,unstable_getStaticProps:()=>h});var t=a(63885),i=a(80237),l=a(81413),d=a(61779),n=a(32081),o=a(39183),c=e([n,o]);[n,o]=c.then?(await c)():c;let x=(0,l.M)(o,"default"),u=(0,l.M)(o,"getStaticProps"),g=(0,l.M)(o,"getStaticPaths"),m=(0,l.M)(o,"getServerSideProps"),b=(0,l.M)(o,"config"),p=(0,l.M)(o,"reportWebVitals"),h=(0,l.M)(o,"unstable_getStaticProps"),y=(0,l.M)(o,"unstable_getStaticPaths"),f=(0,l.M)(o,"unstable_getStaticParams"),j=(0,l.M)(o,"unstable_getServerProps"),v=(0,l.M)(o,"unstable_getServerSideProps"),k=new t.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/profile/unified",pathname:"/profile/unified",bundlePath:"",filename:""},components:{App:n.default,Document:d.default},userland:o});s()}catch(e){s(e)}})},39183:(e,r,a)=>{a.a(e,async(e,s)=>{try{a.r(r),a.d(r,{default:()=>N,getServerSideProps:()=>k});var t=a(8732),i=a(82015),l=a(49788),d=a.n(l),n=a(4722),o=a(3457),c=a(63220),x=a(49048),u=a(13838),g=a(71410),m=a(9741),b=a(47864),p=a(71536),h=a(15112),y=a(41919),f=a(96330),j=e([o,c]);[o,c]=j.then?(await j)():j;let v=new f.PrismaClient,k=async e=>{let{req:r,res:a}=e,s=await (0,n.getSession)({req:r});if(!s?.user?.email)return{redirect:{destination:"/auth/login",permanent:!1}};try{let e=await v.user.findUnique({where:{email:s.user.email},include:{businessProfiles:{include:{owner:{select:{id:!0,name:!0,email:!0,role:!0,profilePicture:!0}},members:{select:{id:!0,name:!0,email:!0,role:!0,profilePicture:!0,specialization:!0}}}}}});if(!e)return{redirect:{destination:"/auth/login",permanent:!1}};let r={id:e.id,name:e.name,email:e.email,role:e.role,profilePicture:e.profilePicture,bio:e.bio,title:e.title,specialization:e.specialization,barNumber:e.barNumber,yearsOfExperience:e.yearsOfExperience,education:e.education,certifications:e.certifications,officeLocation:e.officeLocation,workPhone:e.workPhone,linkedinUrl:e.linkedinUrl,websiteUrl:e.websiteUrl,availability:e.availability,timezone:e.timezone,pronouns:e.pronouns,isProfilePublic:e.isProfilePublic,hourlyRate:e.hourlyRate,proBono:e.proBono,isVerified:e.isVerified,totalCases:e.totalCases,wonCases:e.wonCases,lostCases:e.lostCases,averageRating:e.averageRating,totalBadges:e.totalBadges,level:e.level},a=null;if(e.businessProfiles.length>0){let r=e.businessProfiles[0];a={id:r.id,businessName:r.businessName,businessType:r.businessType,industry:r.industry,description:r.description,logo:r.logo,website:r.website,phone:r.phone,email:r.email,address:r.address,employeeCount:r.employeeCount,annualRevenue:r.annualRevenue,isPublic:r.isPublic,isVerified:r.isVerified,owner:r.owner,members:r.members.map(e=>({id:e.id,name:e.name,email:e.email,role:e.role,profilePicture:e.profilePicture,specialization:e.specialization}))}}return{props:{userProfile:r,businessProfile:a}}}catch(e){return console.error("Error fetching profile data:",e),{props:{userProfile:null,businessProfile:null,error:"Failed to load profile data"}}}},N=({userProfile:e,businessProfile:r})=>{let{data:a}=(0,n.useSession)(),[s,l]=(0,i.useState)("personal"),[f,j]=(0,i.useState)(!1),[v,k]=(0,i.useState)(!1),[N,w]=(0,i.useState)(e),[P,S]=(0,i.useState)(r),[A,M]=(0,i.useState)(!1),[C,E]=(0,i.useState)(""),q=r?.owner.id===e.id;(0,i.useEffect)(()=>{w(e),S(r)},[e,r]);let _=async()=>{M(!0);try{(await fetch("/api/profile/update",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(N)})).ok?(E("Personal profile updated successfully!"),j(!1)):E("Error updating personal profile")}catch(e){E("Error updating personal profile")}M(!1)},z=async()=>{if(P){M(!0);try{(await fetch("/api/business-profiles/update",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({businessProfileId:P.id,...P})})).ok?(E("Business profile updated successfully!"),k(!1)):E("Error updating business profile")}catch(e){E("Error updating business profile")}M(!1)}};return(0,t.jsxs)(o.default,{children:[(0,t.jsxs)(d(),{children:[(0,t.jsx)("title",{children:"Profile Management - Unified"}),(0,t.jsx)("meta",{name:"description",content:"Manage your personal and business profiles"})]}),(0,t.jsxs)("div",{className:"max-w-6xl mx-auto px-4 py-8",children:[(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsxs)("h1",{className:"text-4xl font-bold text-gray-900 dark:text-white mb-4",children:[(0,t.jsx)(x.A,{className:"inline-block h-10 w-10 mr-3 text-blue-600"}),"Profile Management"]}),(0,t.jsx)("p",{className:"text-xl text-gray-600 dark:text-gray-400",children:"Manage your personal and business profiles"})]}),C&&(0,t.jsx)(c.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},className:`mb-6 p-4 rounded-lg ${C.includes("Error")?"bg-red-100 text-red-700 border border-red-200":"bg-green-100 text-green-700 border border-green-200"}`,children:C}),(0,t.jsxs)("div",{className:"bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 mb-8",children:[(0,t.jsxs)("div",{className:"flex border-b border-gray-200 dark:border-gray-700",children:[(0,t.jsxs)("button",{onClick:()=>l("personal"),className:`flex items-center px-6 py-4 text-sm font-medium border-b-2 transition-colors ${"personal"===s?"border-blue-500 text-blue-600":"border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"}`,children:[(0,t.jsx)(u.A,{className:"h-5 w-5 mr-2"}),"Personal Profile"]}),(0,t.jsxs)("button",{onClick:()=>l("business"),className:`flex items-center px-6 py-4 text-sm font-medium border-b-2 transition-colors ${"business"===s?"border-blue-500 text-blue-600":"border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"}`,children:[(0,t.jsx)(g.A,{className:"h-5 w-5 mr-2"}),"Business Profile",r&&(0,t.jsxs)("span",{className:"ml-2 bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full",children:[r.members.length+1," members"]})]})]}),(0,t.jsxs)("div",{className:"p-6",children:["personal"===s&&(0,t.jsxs)(c.motion.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.3},children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-6",children:[(0,t.jsx)("h2",{className:"text-2xl font-semibold text-gray-900 dark:text-white",children:"Personal Profile"}),(0,t.jsxs)("button",{onClick:()=>j(!f),className:"flex items-center px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:[f?(0,t.jsx)(m.A,{className:"h-4 w-4 mr-2"}):(0,t.jsx)(b.A,{className:"h-4 w-4 mr-2"}),f?"Cancel":"Edit"]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("img",{src:N.profilePicture||"/images/default-avatar.png",alt:N.name,className:"w-24 h-24 rounded-full object-cover border-4 border-gray-200 dark:border-gray-700"}),f&&(0,t.jsx)("button",{className:"absolute bottom-0 right-0 bg-blue-600 text-white p-2 rounded-full hover:bg-blue-700 transition-colors",children:(0,t.jsx)(p.A,{className:"h-4 w-4"})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-xl font-semibold text-gray-900 dark:text-white",children:N.name}),(0,t.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:N.email}),(0,t.jsx)("p",{className:"text-sm text-gray-500",children:N.role})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{className:"bg-gray-50 dark:bg-gray-700 p-4 rounded-lg text-center",children:[(0,t.jsx)("div",{className:"text-2xl font-bold text-blue-600",children:N.totalCases}),(0,t.jsx)("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Total Cases"})]}),(0,t.jsxs)("div",{className:"bg-gray-50 dark:bg-gray-700 p-4 rounded-lg text-center",children:[(0,t.jsxs)("div",{className:"text-2xl font-bold text-green-600",children:[(0===N.totalCases?0:N.wonCases/N.totalCases*100).toFixed(1),"%"]}),(0,t.jsx)("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Win Rate"})]}),(0,t.jsxs)("div",{className:"bg-gray-50 dark:bg-gray-700 p-4 rounded-lg text-center",children:[(0,t.jsx)("div",{className:"text-2xl font-bold text-yellow-600",children:N.level}),(0,t.jsx)("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Level"})]}),(0,t.jsxs)("div",{className:"bg-gray-50 dark:bg-gray-700 p-4 rounded-lg text-center",children:[(0,t.jsx)("div",{className:"text-2xl font-bold text-purple-600",children:N.totalBadges}),(0,t.jsx)("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Badges"})]})]})]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Bio"}),(0,t.jsx)("textarea",{value:N.bio||"",onChange:e=>w({...N,bio:e.target.value}),disabled:!f,rows:3,className:"w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:text-white disabled:bg-gray-100 dark:disabled:bg-gray-800"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Specialization"}),(0,t.jsx)("input",{type:"text",value:N.specialization||"",onChange:e=>w({...N,specialization:e.target.value}),disabled:!f,className:"w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:text-white disabled:bg-gray-100 dark:disabled:bg-gray-800"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Years of Experience"}),(0,t.jsx)("input",{type:"number",value:N.yearsOfExperience||"",onChange:e=>w({...N,yearsOfExperience:parseInt(e.target.value)||0}),disabled:!f,className:"w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:text-white disabled:bg-gray-100 dark:disabled:bg-gray-800"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Hourly Rate ($)"}),(0,t.jsx)("input",{type:"number",value:N.hourlyRate||"",onChange:e=>w({...N,hourlyRate:parseFloat(e.target.value)||0}),disabled:!f,className:"w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:text-white disabled:bg-gray-100 dark:disabled:bg-gray-800"})]}),(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("input",{type:"checkbox",checked:N.isProfilePublic,onChange:e=>w({...N,isProfilePublic:e.target.checked}),disabled:!f,className:"h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded"}),(0,t.jsx)("label",{className:"ml-2 text-sm text-gray-700 dark:text-gray-300",children:"Make profile public"})]})]})]}),f&&(0,t.jsx)("div",{className:"mt-6 flex justify-end",children:(0,t.jsxs)("button",{onClick:_,disabled:A,className:"flex items-center px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors disabled:opacity-50",children:[(0,t.jsx)(h.A,{className:"h-4 w-4 mr-2"}),A?"Saving...":"Save Changes"]})})]}),"business"===s&&(0,t.jsx)(c.motion.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.3},children:r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex justify-between items-center mb-6",children:[(0,t.jsxs)("h2",{className:"text-2xl font-semibold text-gray-900 dark:text-white",children:["Business Profile: ",r.businessName]}),q&&(0,t.jsxs)("button",{onClick:()=>k(!v),className:"flex items-center px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:[v?(0,t.jsx)(m.A,{className:"h-4 w-4 mr-2"}):(0,t.jsx)(b.A,{className:"h-4 w-4 mr-2"}),v?"Cancel":"Edit"]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,t.jsx)("div",{className:"w-24 h-24 bg-gradient-to-br from-blue-500 to-purple-600 rounded-lg flex items-center justify-center",children:(0,t.jsx)(g.A,{className:"h-12 w-12 text-white"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-xl font-semibold text-gray-900 dark:text-white",children:r.businessName}),(0,t.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:r.businessType}),(0,t.jsx)("p",{className:"text-sm text-gray-500",children:r.industry})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{className:"bg-gray-50 dark:bg-gray-700 p-4 rounded-lg text-center",children:[(0,t.jsx)("div",{className:"text-2xl font-bold text-blue-600",children:r.members.length+1}),(0,t.jsx)("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Team Members"})]}),(0,t.jsxs)("div",{className:"bg-gray-50 dark:bg-gray-700 p-4 rounded-lg text-center",children:[(0,t.jsx)("div",{className:"text-2xl font-bold text-green-600",children:r.isVerified?"Verified":"Pending"}),(0,t.jsx)("div",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Status"})]})]})]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Business Description"}),(0,t.jsx)("textarea",{value:P?.description||"",onChange:e=>S({...P,description:e.target.value}),disabled:!v||!q,rows:3,className:"w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:text-white disabled:bg-gray-100 dark:disabled:bg-gray-800"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Website"}),(0,t.jsx)("input",{type:"url",value:P?.website||"",onChange:e=>S({...P,website:e.target.value}),disabled:!v||!q,className:"w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:text-white disabled:bg-gray-100 dark:disabled:bg-gray-800"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Phone"}),(0,t.jsx)("input",{type:"tel",value:P?.phone||"",onChange:e=>S({...P,phone:e.target.value}),disabled:!v||!q,className:"w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:text-white disabled:bg-gray-100 dark:disabled:bg-gray-800"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2",children:"Address"}),(0,t.jsx)("input",{type:"text",value:P?.address||"",onChange:e=>S({...P,address:e.target.value}),disabled:!v||!q,className:"w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 dark:bg-gray-700 dark:text-white disabled:bg-gray-100 dark:disabled:bg-gray-800"})]}),q&&(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("input",{type:"checkbox",checked:P?.isPublic||!1,onChange:e=>S({...P,isPublic:e.target.checked}),disabled:!v,className:"h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded"}),(0,t.jsx)("label",{className:"ml-2 text-sm text-gray-700 dark:text-gray-300",children:"Make business profile public"})]})]})]}),(0,t.jsxs)("div",{className:"mt-8",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-white mb-4",children:"Team Members"}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[(0,t.jsx)("div",{className:"bg-gray-50 dark:bg-gray-700 p-4 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,t.jsx)("img",{src:r.owner?.profilePicture||"/images/default-avatar.png",alt:r.owner?.name||"Business Owner",className:"w-10 h-10 rounded-full object-cover"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-gray-900 dark:text-white",children:r.owner.name}),(0,t.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Owner"})]})]})}),r.members.map(e=>(0,t.jsx)("div",{className:"bg-gray-50 dark:bg-gray-700 p-4 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,t.jsx)("img",{src:e.profilePicture||"/images/default-avatar.png",alt:e.name,className:"w-10 h-10 rounded-full object-cover"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-medium text-gray-900 dark:text-white",children:e.name}),(0,t.jsx)("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:e.specialization||e.role})]})]})},e.id))]})]}),v&&q&&(0,t.jsx)("div",{className:"mt-6 flex justify-end",children:(0,t.jsxs)("button",{onClick:z,disabled:A,className:"flex items-center px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors disabled:opacity-50",children:[(0,t.jsx)(h.A,{className:"h-4 w-4 mr-2"}),A?"Saving...":"Save Changes"]})})]}):(0,t.jsxs)("div",{className:"text-center py-12",children:[(0,t.jsx)(g.A,{className:"h-16 w-16 text-gray-400 mx-auto mb-4"}),(0,t.jsx)("h3",{className:"text-lg font-medium text-gray-900 dark:text-white mb-2",children:"No Business Profile"}),(0,t.jsx)("p",{className:"text-gray-600 dark:text-gray-400 mb-6",children:"You don't have a business profile yet. Create one to showcase your firm."}),(0,t.jsxs)("button",{className:"flex items-center mx-auto px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:[(0,t.jsx)(y.A,{className:"h-4 w-4 mr-2"}),"Create Business Profile"]})]})})]})]})]})]})};s()}catch(e){s(e)}})},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},41919:(e,r,a)=>{a.d(r,{A:()=>s});let s=(0,a(72386).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},42893:e=>{e.exports=import("react-hot-toast")},47864:(e,r,a)=>{a.d(r,{A:()=>s});let s=(0,a(72386).A)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]])},61779:(e,r,a)=>{a.r(r),a.d(r,{default:()=>i});var s=a(8732),t=a(82341);function i(){return(0,s.jsxs)(t.Html,{lang:"en",children:[(0,s.jsxs)(t.Head,{children:[(0,s.jsx)("meta",{charSet:"utf-8"}),(0,s.jsx)("meta",{name:"theme-color",content:"#000000"}),(0,s.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,s.jsx)("link",{rel:"apple-touch-icon",href:"/logo192.png"}),(0,s.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:"anonymous"}),(0,s.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",rel:"stylesheet"})]}),(0,s.jsxs)("body",{children:[(0,s.jsx)(t.Main,{}),(0,s.jsx)(t.NextScript,{})]})]})}},63220:e=>{e.exports=import("framer-motion")},71410:(e,r,a)=>{a.d(r,{A:()=>s});let s=(0,a(72386).A)("building-2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},71536:(e,r,a)=>{a.d(r,{A:()=>s});let s=(0,a(72386).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},74075:e=>{e.exports=require("zlib")},80237:(e,r)=>{Object.defineProperty(r,"A",{enumerable:!0,get:function(){return a}});var a=function(e){return e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE",e}({})},81413:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){return function e(r,a){return a in r?r[a]:"then"in r&&"function"==typeof r.then?r.then(r=>e(r,a)):"function"==typeof r&&"default"===a?r:void 0}}})},82015:e=>{e.exports=require("react")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../webpack-runtime.js");r.C(e);var a=e=>r(r.s=e),s=r.X(0,[5126,8803,2341,5309,4327,3503,2081,3457],()=>a(38673));module.exports=s})();