/opt/canhelp/apps/web/.next/server/app/dashboard
NameSizeModeActions
page.js392950644editdlrm
page.js.nft.json79500644editdlrm
page_client-reference-manifest.js197340644editdlrm
Edit: /opt/canhelp/apps/web/.next/server/app/dashboard/page.js (39295B)
(()=>{var a={};a.id=105,a.ids=[105],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},465:(a,b,c)=>{"use strict";c.r(b),c.d(b,{GlobalError:()=>D.a,__next_app__:()=>J,handler:()=>L,pages:()=>I,routeModule:()=>K,tree:()=>H});var d=c(73653),e=c(97714),f=c(85250),g=c(37587),h=c(22369),i=c(1889),j=c(96232),k=c(22841),l=c(46537),m=c(46027),n=c(78559),o=c(75928),p=c(19374),q=c(65971),r=c(261),s=c(79898),t=c(32967),u=c(26713),v=c(40139),w=c(14248),x=c(59580),y=c(57749),z=c(53123),A=c(89745),B=c(86439),C=c(58671),D=c.n(C),E=c(18283),F=c(39818),G={};for(let a in E)0>["default","tree","pages","GlobalError","__next_app__","routeModule","handler"].indexOf(a)&&(G[a]=()=>E[a]);c.d(b,G);let H={children:["",{children:["dashboard",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,23930)),"/opt/canhelp/apps/web/src/app/dashboard/page.tsx"]}]},{metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,2645))).default(a)],apple:[async a=>(await Promise.resolve().then(c.bind(c,45639))).default(a)],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(c.bind(c,47570)),"/opt/canhelp/apps/web/src/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,58671,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.bind(c,33506)),"/opt/canhelp/apps/web/src/app/not-found.tsx"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,15034,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,54693,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,2645))).default(a)],apple:[async a=>(await Promise.resolve().then(c.bind(c,45639))).default(a)],openGraph:[],twitter:[],manifest:void 0}}]}.children,I=["/opt/canhelp/apps/web/src/app/dashboard/page.tsx"],J={require:c,loadChunk:()=>Promise.resolve()},K=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/dashboard/page",pathname:"/dashboard",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:H},distDir:".next",relativeProjectDir:""});async function L(a,b,d){var C;let G="/dashboard/page";"/index"===G&&(G="/");let M=(0,h.getRequestMeta)(a,"postponed"),N=(0,h.getRequestMeta)(a,"minimalMode"),O=await K.prepare(a,b,{srcPage:G,multiZoneDraftMode:!1});if(!O)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:P,query:Q,params:R,parsedUrl:S,pageIsDynamic:T,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,serverActionsManifest:X,clientReferenceManifest:Y,subresourceIntegrityManifest:Z,prerenderManifest:$,isDraftMode:_,resolvedPathname:aa,revalidateOnlyGenerated:ab,routerServerContext:ac,nextConfig:ad,interceptionRoutePatterns:ae}=O,af=S.pathname||"/",ag=(0,r.normalizeAppPath)(G),{isOnDemandRevalidate:ah}=O,ai=K.match(af,$),aj=!!$.routes[aa],ak=!!(ai||aj||$.routes[ag]),al=a.headers["user-agent"]||"",am=(0,u.getBotType)(al),an=(0,p.isHtmlBotRequest)(a),ao=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],ap=(0,h.getRequestMeta)(a,"isRSCRequest")??!!a.headers[t.RSC_HEADER],aq=(0,s.getIsPossibleServerAction)(a),ar=(0,m.checkIsAppPPREnabled)(ad.experimental.ppr)&&(null==(C=$.routes[ag]??$.dynamicRoutes[ag])?void 0:C.renderingMode)==="PARTIALLY_STATIC",as=!1,at=!1,au=ar?M:void 0,av=ar&&ap&&!ao,aw=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),ax=!al||(0,p.shouldServeStreamingMetadata)(al,ad.htmlLimitedBots);an&&ar&&(ak=!1,ax=!1);let ay=!0===K.isDev||!ak||"string"==typeof M||av,az=an&&ar,aA=null;_||!ak||ay||aq||au||av||(aA=aa);let aB=aA;!aB&&K.isDev&&(aB=aa),K.isDev||_||!ak||!ap||av||(0,k.d)(a.headers);let aC={...E,tree:H,pages:I,GlobalError:D(),handler:L,routeModule:K,__next_app__:J};X&&Y&&(0,o.setReferenceManifestsSingleton)({page:G,clientReferenceManifest:Y,serverActionsManifest:X,serverModuleMap:(0,q.createServerModuleMap)({serverActionsManifest:X})});let aD=a.method||"GET",aE=(0,g.getTracer)(),aF=aE.getActiveScopeSpan();try{let f=K.getVaryHeader(aa,ae);b.setHeader("Vary",f);let k=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return K.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let d=aE.getRootSpanAttributes();if(!d)return;if(d.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${d.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=d.get("next.route");if(e){let a=`${aD} ${e}`;c.setAttributes({"next.route":e,"http.route":e,"next.span_name":a}),c.updateName(a)}else c.updateName(`${aD} ${a.url}`)})},m=async({span:e,postponed:f,fallbackRouteParams:g})=>{let i={query:Q,params:R,page:ag,sharedContext:{buildId:P},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aC,Component:(0,j.T)(aC),params:R,routeModule:K,page:G,postponed:f,shouldWaitOnAllReady:az,serveStreamingMetadata:ax,supportsDynamicResponse:"string"==typeof f||ay,buildManifest:U,nextFontManifest:V,reactLoadableManifest:W,subresourceIntegrityManifest:Z,serverActionsManifest:X,clientReferenceManifest:Y,setIsrStatus:null==ac?void 0:ac.setIsrStatus,dir:c(33873).join(process.cwd(),K.relativeProjectDir),isDraftMode:_,isRevalidate:ak&&!f&&!av,botType:am,isOnDemandRevalidate:ah,isPossibleServerAction:aq,assetPrefix:ad.assetPrefix,nextConfigOutput:ad.output,crossOrigin:ad.crossOrigin,trailingSlash:ad.trailingSlash,previewProps:$.preview,deploymentId:ad.deploymentId,enableTainting:ad.experimental.taint,htmlLimitedBots:ad.htmlLimitedBots,devtoolSegmentExplorer:ad.experimental.devtoolSegmentExplorer,reactMaxHeadersLength:ad.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:(0,h.getRequestMeta)(a,"incrementalCache"),cacheLifeProfiles:ad.experimental.cacheLife,basePath:ad.basePath,serverActions:ad.experimental.serverActions,...as?{nextExport:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isRevalidate:!0,isDebugDynamicAccesses:as}:{},experimental:{isRoutePPREnabled:ar,expireTime:ad.expireTime,staleTimes:ad.experimental.staleTimes,cacheComponents:!!ad.experimental.cacheComponents,clientSegmentCache:!!ad.experimental.clientSegmentCache,clientParamParsing:!!ad.experimental.clientParamParsing,dynamicOnHover:!!ad.experimental.dynamicOnHover,inlineCss:!!ad.experimental.inlineCss,authInterrupts:!!ad.experimental.authInterrupts,clientTraceMetadata:ad.experimental.clientTraceMetadata||[]},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d)=>K.onRequestError(a,b,d,ac),err:(0,h.getRequestMeta)(a,"invokeError"),dev:K.isDev}},l=await k(e,i),{metadata:m}=l,{cacheControl:n,headers:o={},fetchTags:p}=m;if(p&&(o[y.NEXT_CACHE_TAGS_HEADER]=p),a.fetchMetrics=m.fetchMetrics,ak&&(null==n?void 0:n.revalidate)===0&&!K.isDev&&!ar){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${aa}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""} see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:o,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:n}},o=async({hasResolved:c,previousCacheEntry:f,isRevalidating:g,span:i})=>{let j,k=!1===K.isDev,l=c||b.writableEnded;if(ah&&ab&&!f&&!N)return(null==ac?void 0:ac.render404)?await ac.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(ai&&(j=(0,w.parseFallbackField)(ai.fallback)),j===w.FallbackMode.PRERENDER&&(0,u.isBot)(al)&&(!ar||an)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==f?void 0:f.isStale)===-1&&(ah=!0),ah&&(j!==w.FallbackMode.NOT_FOUND||f)&&(j=w.FallbackMode.BLOCKING_STATIC_RENDER),!N&&j!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aB&&!l&&!_&&T&&(k||!aj)){let b;if((k||ai)&&j===w.FallbackMode.NOT_FOUND)throw new B.NoFallbackError;if(ar&&!ap){let c="string"==typeof(null==ai?void 0:ai.fallback)?ai.fallback:k?ag:null;if(b=await K.handleResponse({cacheKey:c,req:a,nextConfig:ad,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:$,isRoutePPREnabled:ar,responseGenerator:async()=>m({span:i,postponed:void 0,fallbackRouteParams:k||at?(0,n.u)(ag):null}),waitUntil:d.waitUntil}),null===b)return null;if(b)return delete b.cacheControl,b}}let o=ah||g||!au?void 0:au;if(as&&void 0!==o)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let p=T&&ar&&((0,h.getRequestMeta)(a,"renderFallbackShell")||at)?(0,n.u)(af):null;return m({span:i,postponed:o,fallbackRouteParams:p})},p=async c=>{var f,g,i,j,k;let l,n=await K.handleResponse({cacheKey:aA,responseGenerator:a=>o({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ah,isRoutePPREnabled:ar,req:a,nextConfig:ad,prerenderManifest:$,waitUntil:d.waitUntil});if(_&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),K.isDev&&b.setHeader("Cache-Control","no-store, must-revalidate"),!n){if(aA)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let p="string"==typeof n.value.postponed;ak&&!av&&(!p||ao)&&(N||b.setHeader("x-nextjs-cache",ah?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:q}=n;if(au)l={revalidate:0,expire:void 0};else if(N&&ap&&!ao&&ar)l={revalidate:0,expire:void 0};else if(!K.isDev)if(_)l={revalidate:0,expire:void 0};else if(ak){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});l={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??ad.expireTime}}else l={revalidate:y.CACHE_ONE_YEAR,expire:void 0}}else b.getHeader("Cache-Control")||(l={revalidate:0,expire:void 0});if(n.cacheControl=l,"string"==typeof aw&&(null==q?void 0:q.kind)===v.CachedRouteKind.APP_PAGE&&q.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=q.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];N&&ak&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=q.segmentData.get(aw);return void 0!==d?(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let r=(0,h.getRequestMeta)(a,"onCacheEntry");if(r&&await r({...n,value:{...n.value,kind:"PAGE"}},{url:(0,h.getRequestMeta)(a,"initURL")}))return null;if(p&&au)throw Object.defineProperty(Error("Invariant: postponed state should not be present on a resume request"),"__NEXT_ERROR_CODE",{value:"E396",enumerable:!1,configurable:!0});if(q.headers){let a={...q.headers};for(let[c,d]of(N&&ak||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let s=null==(g=q.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(N&&ak&&s&&"string"==typeof s&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,s),!q.status||ap&&ar||(b.statusCode=q.status),!N&&q.status&&F.RedirectStatusCode[q.status]&&ap&&(b.statusCode=200),p&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),ap&&!_){if(void 0===q.rscData){if(q.postponed)throw Object.defineProperty(Error("Invariant: Expected postponed to be undefined"),"__NEXT_ERROR_CODE",{value:"E372",enumerable:!1,configurable:!0});return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:q.html,cacheControl:av?{revalidate:0,expire:void 0}:n.cacheControl})}return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:x.default.fromStatic(q.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let u=q.html;if(!p||N||ap)return(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:n.cacheControl});if(as)return u.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}});let w=new TransformStream;return u.push(w.readable),m({span:c,postponed:q.postponed,fallbackRouteParams:null}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(w.writable)}).catch(a=>{w.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,A.sendRenderResult)({req:a,res:b,generateEtags:ad.generateEtags,poweredByHeader:ad.poweredByHeader,result:u,cacheControl:{revalidate:0,expire:void 0}})};if(!aF)return await aE.withPropagatedContext(a.headers,()=>aE.trace(i.BaseServerSpan.handleRequest,{spanName:`${aD} ${a.url}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aD,"http.target":a.url}},p));await p(aF)}catch(b){throw b instanceof B.NoFallbackError||await K.onRequestError(a,b,{routerKind:"App Router",routePath:G,routeType:"render",revalidateReason:(0,f.c)({isRevalidate:ak,isOnDemandRevalidate:ah})},ac),b}}},3250:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>o});var d=c(78157),e=c(31768),f=c(71159),g=c(94496),h=c.n(g),i=c(13260),j=c(96484);c(91864);var k=c(8293),l=c(25701);function m({current:a,limit:b,label:c,className:e=""}){if(null===b)return(0,d.jsxs)("div",{className:`${e}`,children:[(0,d.jsxs)("div",{className:"flex justify-between items-center mb-1",children:[(0,d.jsx)("span",{className:"text-xs text-gray-500",children:c}),(0,d.jsx)("span",{className:"text-xs font-semibold text-green-600",children:"∞"})]}),(0,d.jsx)("div",{className:"h-1.5 rounded-full bg-green-100",children:(0,d.jsx)("div",{className:"h-full w-full rounded-full bg-green-400"})})]});let f=b>0?Math.min(100,Math.round(a/b*100)):100,g=Math.max(0,b-a);return(0,d.jsxs)("div",{className:e,children:[(0,d.jsxs)("div",{className:"flex justify-between items-center mb-1",children:[(0,d.jsx)("span",{className:"text-xs text-gray-500",children:c}),(0,d.jsxs)("span",{className:`text-xs font-semibold ${f>=100?"text-red-600":f>=80?"text-amber-600":"text-gray-600"}`,children:[g," / ",b]})]}),(0,d.jsx)("div",{className:"h-1.5 rounded-full bg-gray-100",children:(0,d.jsx)("div",{className:`h-full rounded-full transition-all ${f>=100?"bg-red-500":f>=80?"bg-amber-400":"bg-green-500"}`,style:{width:`${f}%`}})})]})}function n({dashboard:a,t:b}){let c=a.plan,e=a.planExpiration,f=a.usage,g=a.stats,i=e?Math.max(0,Math.min(100,Math.round(e.daysLeft/30*100))):100,j=e?e.daysLeft<=3?"bg-red-500":e.daysLeft<=7?"bg-amber-400":"bg-green-400":"bg-green-400";return(0,d.jsxs)("div",{className:"bg-white rounded-2xl border border-gray-200 p-5 mb-6",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h2",{className:"font-semibold text-gray-800 text-sm",children:b("dashboard.plan.title","My Plan")}),c?(0,d.jsx)(l.d,{tier:c.tier,size:"sm"}):(0,d.jsx)("span",{className:"text-xs text-gray-400",children:b("dashboard.plan.no_plan","Free")})]}),(0,d.jsx)(h(),{href:"/pricing",className:"text-xs font-medium text-green-600 hover:underline",children:c?.tier==="ultimate"?null:b("dashboard.plan.upgrade","Upgrade")})]}),e&&(0,d.jsxs)("div",{className:"mb-4",children:[(0,d.jsxs)("div",{className:"flex justify-between text-xs text-gray-500 mb-1",children:[(0,d.jsx)("span",{children:b("dashboard.plan.expires","Expires in {n} days").replace("{n}",String(e.daysLeft))}),(0,d.jsxs)("span",{children:[e.daysLeft," ",b("pricing.days","days")]})]}),(0,d.jsx)("div",{className:"h-1.5 rounded-full bg-gray-100",children:(0,d.jsx)("div",{className:`h-full rounded-full transition-all ${j}`,style:{width:`${i}%`}})})]}),(void 0!==f.messagesSent||void 0!==f.ordersMade)&&(0,d.jsxs)("div",{className:"space-y-2 mb-4",children:[(0,d.jsx)("p",{className:"text-xs font-medium text-gray-500 uppercase tracking-wide",children:b("dashboard.plan.limits","Daily limits")}),(0,d.jsx)(m,{current:f.messagesSent,limit:null!==f.messagesLeft?f.messagesSent+f.messagesLeft:null,label:b("dashboard.plan.messages","Messages")}),(0,d.jsx)(m,{current:f.ordersMade,limit:null!==f.ordersLeft?f.ordersMade+f.ordersLeft:null,label:b("dashboard.plan.orders","Orders")})]}),Object.keys(g).length>0&&(0,d.jsx)("div",{className:"grid grid-cols-2 gap-2",children:Object.entries(g).map(([a,c])=>(0,d.jsxs)("div",{className:"bg-gray-50 rounded-xl px-3 py-2 text-center",children:[(0,d.jsx)("p",{className:"text-lg font-bold text-gray-800",children:c}),(0,d.jsx)("p",{className:"text-[10px] text-gray-400 uppercase tracking-wide",children:b(`dashboard.stats.${a}`,a)})]},a))})]})}function o(){let{data:a,isPending:b}=(0,i.wV)();(0,f.useRouter)(),(0,f.useSearchParams)();let{t:c,locale:g}=(0,j.Y)(),[l,m]=(0,e.useState)([]),[o,p]=(0,e.useState)([]),[q,r]=(0,e.useState)([]),[s,t]=(0,e.useState)([]),[u,v]=(0,e.useState)(!0),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)(null),[A,B]=(0,e.useState)(null);if(b||u)return(0,d.jsx)("div",{className:"text-center py-20 text-white",children:c("common.loading")});let C="ru"===g?"ru-RU":"uk"===g?"uk-UA":"en"===g?"en-US":"el-GR",D=l.filter(a=>"completed"!==a.status&&"cancelled"!==a.status),E=l.filter(a=>"completed"===a.status||"cancelled"===a.status),F=o.filter(a=>{let b=a.offer||a,c=a.task;return"other_accepted"!==b.status&&c?.status!=="completed"&&c?.status!=="cancelled"}),G=o.filter(a=>{let b=a.offer||a,c=a.task;return"other_accepted"===b.status||c?.status==="completed"||c?.status==="cancelled"});function H({task:a}){let b=a.offerCount??0,e=a.declinedCount??0;return(0,d.jsx)(h(),{href:`/tasks/${a.id}`,className:"block bg-white rounded-xl border border-gray-200 p-4 hover:shadow-sm hover:border-green-300 transition",children:(0,d.jsxs)("div",{className:"flex justify-between items-start",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-gray-900 truncate",children:(0,k.Oj)(a,g)}),(0,d.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:new Date(a.createdAt).toLocaleDateString(C)}),b>0&&(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-1.5",children:[(0,d.jsxs)("span",{className:"text-xs text-green-600 font-medium",children:["\uD83D\uDCBC ",b," ",c("dashboard.offers_count","offers")]}),e>0&&(0,d.jsxs)("span",{className:"text-xs text-red-400",children:["✕ ",e," ",c("dashboard.declined_count","declined")]})]})]}),(0,d.jsxs)("div",{className:"ml-3 text-right shrink-0",children:[(0,d.jsx)("span",{className:`text-xs px-2 py-0.5 rounded-full ${"open"===a.status||"in_progress"===a.status?"bg-green-100 text-green-700":"completed"===a.status?"bg-gray-100 text-gray-600":"bg-red-100 text-red-600"}`,children:c(`task.status.${a.status}`,a.status)}),a.budget&&(0,d.jsxs)("p",{className:"text-sm font-bold text-green-600 mt-1",children:[(0,k.$g)(a.budget),"€"]})]})]})})}function I({row:a}){let b=a.offer||a,e=a.task,f=e?.status==="completed"&&"accepted"===b.status?q.find(a=>a.review?.taskId===e?.id)?.review??null:null;return(0,d.jsxs)(h(),{href:e?`/tasks/${e.id}`:"#",className:"block bg-white rounded-xl border border-gray-200 p-4 hover:shadow-sm hover:border-green-300 transition",children:[(0,d.jsxs)("div",{className:"flex justify-between items-start",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-gray-900 truncate",children:e?.title||c("chat.task_fallback")}),(0,d.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:new Date(b.createdAt).toLocaleDateString(C)})]}),(0,d.jsxs)("div",{className:"ml-3 text-right shrink-0",children:[(0,d.jsxs)("p",{className:"font-bold text-green-600",children:[(0,k.$g)(b.price),"€"]}),(0,d.jsx)("span",{className:`text-xs px-2 py-0.5 rounded-full mt-1 inline-block ${"accepted"===b.status?"bg-green-100 text-green-700":"declined"===b.status?"bg-red-100 text-red-700":"other_accepted"===b.status?"bg-green-100 text-green-600":"bg-gray-100 text-gray-700"}`,children:c(`offer.status.${b.status}`,b.status)})]})]}),f&&(0,d.jsxs)("div",{className:"mt-3 pt-3 border-t border-gray-100 flex items-center gap-2",children:[(0,d.jsx)("div",{className:"flex gap-0.5",children:[1,2,3,4,5].map(a=>(0,d.jsx)("span",{className:`text-sm ${a<=f.rating?"text-yellow-400":"text-gray-200"}`,children:"★"},a))}),(0,d.jsxs)("span",{className:"text-sm font-semibold text-gray-700",children:[f.rating,"/5"]}),f.comment&&(0,d.jsx)("span",{className:"text-xs text-gray-500 truncate",children:f.comment})]}),e?.status==="completed"&&"accepted"===b.status&&!f&&(0,d.jsx)("p",{className:"mt-2 text-xs text-gray-400",children:c("dashboard.review_pending")})]})}let J=a?.user?.role==="specialist";return(0,d.jsxs)("div",{className:"max-w-5xl mx-auto px-4 py-8",children:[(0,d.jsxs)("div",{className:"flex justify-between items-center mb-8",children:[(0,d.jsx)("h1",{className:"text-2xl font-bold text-white",children:c("dashboard.title")}),(0,d.jsx)(h(),{href:"/tasks/new",className:"bg-green-600 text-white px-4 py-2 rounded-lg text-sm font-medium hover:bg-green-700",children:c("dashboard.new_task")})]}),!1===A&&(0,d.jsxs)("div",{className:"mb-6 bg-white rounded-2xl border border-gray-200 overflow-hidden",children:[(0,d.jsxs)("div",{className:"px-5 pt-5 pb-3",children:[(0,d.jsx)("h2",{className:"text-lg font-bold text-gray-900",children:c("dashboard.onboarding.title")}),(0,d.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:c("dashboard.onboarding.subtitle")})]}),(0,d.jsxs)("div",{className:"grid sm:grid-cols-2 gap-3 p-5 pt-2",children:[(0,d.jsxs)(h(),{href:"/specialist-setup",className:"group flex flex-col rounded-xl border-2 border-green-500 bg-green-50 p-4 hover:bg-green-100 transition",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,d.jsx)("span",{className:"text-xl",children:"\uD83D\uDEE0️"}),(0,d.jsx)("span",{className:"font-semibold text-gray-800",children:c("dashboard.onboarding.helper.title")})]}),(0,d.jsx)("p",{className:"text-sm text-green-700/80 mb-3 flex-1",children:c("dashboard.onboarding.helper.desc")}),(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 text-sm font-semibold text-green-700",children:[c("dashboard.onboarding.helper.cta")," →"]})]}),(0,d.jsxs)(h(),{href:"/tasks/new",className:"group flex flex-col rounded-xl border border-gray-200 bg-gray-50 p-4 hover:bg-gray-100 transition",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,d.jsx)("span",{className:"text-xl",children:"\uD83D\uDCDD"}),(0,d.jsx)("span",{className:"font-semibold text-gray-800",children:c("dashboard.onboarding.requester.title")})]}),(0,d.jsx)("p",{className:"text-sm text-gray-500 mb-3 flex-1",children:c("dashboard.onboarding.requester.desc")}),(0,d.jsxs)("span",{className:"inline-flex items-center gap-1 text-sm font-semibold text-gray-700",children:[c("dashboard.onboarding.requester.cta")," →"]})]})]})]}),w&&(0,d.jsx)(n,{dashboard:w,t:c}),y&&(J?(y.missedCount>0||y.missedEarnings>0)&&(0,d.jsxs)("div",{className:"mb-6 bg-amber-50 border border-amber-200 rounded-xl px-5 py-4 flex items-start gap-3",children:[(0,d.jsx)("div",{className:"shrink-0 mt-0.5",children:(0,d.jsx)("svg",{className:"w-5 h-5 text-amber-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"})})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsxs)("p",{className:"text-base font-semibold text-amber-800",children:[c("fomo.specialist_missed","You missed {n} tasks").replace("{n}",String(y.missedCount??0)),y.missedEarnings>0&&(0,d.jsxs)("span",{className:"ml-1 text-amber-600",children:["for €",y.missedEarnings]})]}),y.topCategories?.length>0&&(0,d.jsxs)("p",{className:"text-sm text-amber-600 mt-0.5",children:[c("fomo.top_categories","Categories"),": ",y.topCategories.slice(0,3).join(", ")]})]}),(0,d.jsx)(h(),{href:"/pricing",className:"shrink-0 text-xs font-medium text-amber-700 bg-amber-100 px-3 py-1.5 rounded-lg hover:bg-amber-200 transition",children:c("dashboard.plan.upgrade")})]}):y.totalTasks>0&&(0,d.jsx)("div",{className:"mb-6 bg-green-50 border border-green-200 rounded-xl px-5 py-4",children:(0,d.jsxs)("div",{className:"flex items-center justify-between gap-4 flex-wrap",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"shrink-0 bg-green-100 rounded-xl p-2",children:(0,d.jsx)("svg",{className:"w-5 h-5 text-green-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"})})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("p",{className:"text-base font-semibold text-gray-800",children:[y.totalOffers," ",c("fomo.offers_received","offers received")]}),y.avgOffersPerTask>0&&(0,d.jsx)("p",{className:"text-sm text-gray-500",children:c("fomo.avg_offers","Average {n}/task").replace("{n}",Number(y.avgOffersPerTask).toFixed(1))})]})]}),void 0!==y.completionRate&&(0,d.jsxs)("div",{className:"text-right",children:[(0,d.jsxs)("p",{className:"text-2xl font-bold text-green-700",children:[Math.round(100*y.completionRate),"%"]}),(0,d.jsx)("p",{className:"text-sm text-gray-400",children:c("fomo.completion_rate","completed")})]})]})})),J&&(0,d.jsxs)(h(),{href:"/tasks",className:"flex items-center justify-between gap-4 bg-green-600 text-white rounded-xl px-5 py-4 mb-8 hover:bg-green-700 transition",children:[(0,d.jsxs)("div",{className:"flex items-center gap-4",children:[(0,d.jsx)("div",{className:"shrink-0 bg-white/20 rounded-xl p-2.5",children:(0,d.jsxs)("svg",{className:"w-6 h-6 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:[(0,d.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-4.35-4.35"})]})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-semibold text-base",children:c("find_tasks.title")}),(0,d.jsx)("p",{className:"text-green-100 text-sm mt-0.5",children:c("find_tasks.banner_hint")})]})]}),(0,d.jsx)("svg",{className:"w-5 h-5 shrink-0 text-white/70",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})]}),(0,d.jsxs)("div",{className:"grid md:grid-cols-2 gap-8",children:[(0,d.jsxs)("div",{className:"space-y-8",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold text-white mb-4",children:[c("dashboard.my_tasks")," ",(0,d.jsxs)("span",{className:"text-white/60 font-normal text-base",children:["(",D.length,")"]})]}),0===D.length?(0,d.jsxs)("div",{className:"bg-white rounded-xl border border-gray-200 p-6 text-center text-gray-500",children:[(0,d.jsx)("p",{children:c("dashboard.tasks.empty")}),(0,d.jsx)(h(),{href:"/tasks/new",className:"text-green-600 hover:underline text-sm mt-2 inline-block",children:c("dashboard.tasks.empty.cta")})]}):(0,d.jsx)("div",{className:"space-y-3",children:D.map(a=>(0,d.jsx)(H,{task:a},a.id))})]}),E.length>0&&(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold text-white/70 mb-4",children:[c("dashboard.completed_tasks")," ",(0,d.jsxs)("span",{className:"font-normal text-base text-white/50",children:["(",E.length,")"]})]}),(0,d.jsx)("div",{className:"space-y-3 opacity-75",children:E.map(a=>(0,d.jsx)(H,{task:a},a.id))})]})]}),(0,d.jsx)("div",{className:"space-y-8",children:J?(0,d.jsxs)(d.Fragment,{children:[s.length>0&&(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold text-white mb-4",children:[c("dashboard.invitations")," ",(0,d.jsxs)("span",{className:"text-white/60 font-normal text-base",children:["(",s.length,")"]})]}),(0,d.jsx)("div",{className:"space-y-3",children:s.map(a=>(0,d.jsxs)(h(),{href:a.referenceId?`/tasks/${a.referenceId}`:"/tasks",className:`flex items-start gap-3 p-4 rounded-xl border transition cursor-pointer ${a.isRead?"bg-white/90 border-white/20 hover:bg-white":"bg-white border-amber-300 shadow-sm hover:bg-amber-50"}`,children:[(0,d.jsx)("span",{className:"text-2xl",children:"\uD83D\uDCCB"}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:`font-medium truncate ${a.isRead?"text-gray-600":"text-gray-900"}`,children:c("notif.type.task_invite",a.title)}),a.body&&(0,d.jsx)("p",{className:"text-sm text-gray-500 mt-0.5 truncate",children:(()=>{let b=function(a){if(!a)return null;let b=a.match(/[«""](.+?)[»""]/);return b?.[1]??null}(a.body),d=c("notif.body.task_invite","");return b&&d?d.replace("{title}",b):a.body})()}),(0,d.jsx)("p",{className:"text-xs text-gray-400 mt-1",children:new Date(a.createdAt).toLocaleDateString(C)})]}),(0,d.jsxs)("div",{className:"flex flex-col items-end gap-1.5 shrink-0",children:[!a.isRead&&(0,d.jsx)("span",{className:"w-2 h-2 bg-amber-400 rounded-full mt-2"}),(0,d.jsx)("span",{className:"text-xs text-gray-400",children:"→"})]})]},a.id))})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold text-white mb-4",children:[c("dashboard.my_offers")," ",(0,d.jsxs)("span",{className:"text-white/60 font-normal text-base",children:["(",F.length,")"]})]}),0===F.length?(0,d.jsxs)("div",{className:"bg-white rounded-xl border border-gray-200 p-6 text-center text-gray-500",children:[(0,d.jsx)("p",{children:c("dashboard.offers.empty")}),(0,d.jsx)(h(),{href:"/tasks",className:"text-green-600 hover:underline text-sm mt-2 inline-block",children:c("dashboard.offers.empty.cta")})]}):(0,d.jsx)("div",{className:"space-y-3",children:F.map(a=>(0,d.jsx)(I,{row:a},(a.offer||a).id))})]}),G.length>0&&(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold text-white/70 mb-4",children:[c("dashboard.completed_offers")," ",(0,d.jsxs)("span",{className:"font-normal text-base text-white/50",children:["(",G.length,")"]})]}),(0,d.jsx)("div",{className:"space-y-3 opacity-75",children:G.map(a=>(0,d.jsx)(I,{row:a},(a.offer||a).id))})]})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(h(),{href:"/specialists",className:"flex items-center justify-between gap-4 bg-green-600 text-white rounded-xl px-5 py-4 hover:bg-green-700 transition",children:[(0,d.jsxs)("div",{className:"flex items-center gap-4",children:[(0,d.jsx)("div",{className:"shrink-0 bg-white/20 rounded-xl p-2.5",children:(0,d.jsx)("svg",{className:"w-6 h-6 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0z"})})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-semibold text-base",children:c("dashboard.customer.specialists_title")}),(0,d.jsx)("p",{className:"text-green-100 text-sm mt-0.5",children:c("dashboard.customer.specialists_hint")})]})]}),(0,d.jsx)("svg",{className:"w-5 h-5 shrink-0 text-white/70",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,d.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})]}),(0,d.jsxs)("div",{className:"bg-white rounded-xl border border-gray-200 p-5",children:[(0,d.jsx)("h2",{className:"text-base font-semibold text-gray-800 mb-4",children:c("dashboard.customer.how_title")}),(0,d.jsx)("div",{className:"space-y-3",children:[{num:"1",text:c("dashboard.customer.step1"),icon:"M12 4v16m8-8H4"},{num:"2",text:c("dashboard.customer.step2"),icon:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"},{num:"3",text:c("dashboard.customer.step3"),icon:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}].map(({num:a,text:b,icon:c})=>(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"shrink-0 w-7 h-7 rounded-full bg-green-100 text-green-600 text-sm font-bold flex items-center justify-center",children:a}),(0,d.jsx)("p",{className:"text-sm text-gray-600 pt-1",children:b})]},a))}),(0,d.jsxs)(h(),{href:"/tasks/new",className:"mt-4 inline-block text-sm font-medium text-green-600 hover:underline",children:[l.length>0?c("dashboard.tasks.add_new"):c("dashboard.tasks.empty.cta")," →"]})]})]})})]})]})}},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8293:(a,b,c)=>{"use strict";function d(a,b){return"el"===b&&a.titleEl?a.titleEl:"en"===b&&a.titleEn?a.titleEn:"ru"===b&&a.titleRu?a.titleRu:a.title}function e(a){return null==a||""===a?"":Math.round(Number(a)).toString()}function f(a,b){return"el"===b&&a.descriptionEl?a.descriptionEl:"en"===b&&a.descriptionEn?a.descriptionEn:"ru"===b&&a.descriptionRu?a.descriptionRu:a.description}c.d(b,{$g:()=>e,GZ:()=>f,Oj:()=>d})},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11934:(a,b,c)=>{Promise.resolve().then(c.bind(c,23930))},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},23930:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(25459).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/opt/canhelp/apps/web/src/app/dashboard/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/opt/canhelp/apps/web/src/app/dashboard/page.tsx","default")},25701:(a,b,c)=>{"use strict";c.d(b,{d:()=>f});var d=c(78157);let e={free:{label:"Free",class:"bg-gray-100 text-gray-500 border border-gray-200",icon:""},pro:{label:"Pro",class:"bg-green-100 text-green-700 border border-green-200",icon:(0,d.jsx)("svg",{viewBox:"0 0 16 16",fill:"none",className:"w-3 h-3 inline-block mr-0.5 -mt-px",children:(0,d.jsx)("path",{d:"M8 1l1.8 3.6L14 5.5l-3 2.9.7 4.1L8 10.5l-3.7 1.9.7-4.1-3-2.9 4.2-.9L8 1z",fill:"currentColor"})})},ultimate:{label:"Ultimate",class:"bg-gradient-to-r from-amber-400 via-yellow-400 to-amber-400 text-gray-900 border border-amber-500 shadow-sm shadow-amber-300/50",icon:(0,d.jsx)("svg",{viewBox:"0 0 16 16",fill:"none",className:"w-3 h-3 inline-block mr-0.5 -mt-px",children:(0,d.jsx)("path",{d:"M8 1l1.8 3.6L14 5.5l-3 2.9.7 4.1L8 10.5l-3.7 1.9.7-4.1-3-2.9 4.2-.9L8 1z",fill:"currentColor"})})}};function f({tier:a,verified:b,size:c="sm",className:f=""}){if("free"===a&&!b)return null;let i="sm"===c?"text-[10px] px-1.5 py-0.5":"text-xs px-2 py-0.5";if(b&&"free"!==a)return(0,d.jsxs)("span",{className:`inline-flex items-center gap-1 rounded-full font-semibold ${i} ${e[a].class} ${f}`,children:["ultimate"===a?(0,d.jsx)(g,{className:"w-3 h-3 fill-gray-900"}):(0,d.jsx)(h,{className:"w-3 h-3"}),e[a].label]});if(b)return(0,d.jsx)("span",{className:`inline-flex items-center gap-0.5 rounded-full font-semibold ${i} bg-green-100 text-green-700 border border-green-200 ${f}`,children:(0,d.jsx)(h,{className:"w-3 h-3"})});let j=e[a];return(0,d.jsxs)("span",{className:`inline-flex items-center rounded-full font-semibold ${i} ${j.class} ${f}`,children:["pro"===a&&(0,d.jsx)(g,{className:"w-3 h-3 mr-0.5 -mt-px"}),"ultimate"===a&&(0,d.jsx)(g,{className:"w-3 h-3 mr-0.5 -mt-px fill-gray-900"}),j.label]})}function g({className:a=""}){return(0,d.jsx)("svg",{viewBox:"0 0 16 16",fill:"none",className:a,children:(0,d.jsx)("path",{d:"M8 1l1.8 3.6L14 5.5l-3 2.9.7 4.1L8 10.5l-3.7 1.9.7-4.1-3-2.9 4.2-.9L8 1z",fill:"currentColor"})})}function h({className:a=""}){return(0,d.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none",className:a,children:[(0,d.jsx)("path",{d:"M8 1l2 1.4 2.4-.4 1 2.2 2 1.2-.4 2.4L16 10l-1.8 1.6.4 2.4-2.2.8L10.8 17 8 16.2 5.2 17l-1.2-2.2-2.2-.8.4-2.4L0 10l1-2.2-.4-2.4 2-1.2 1-2.2 2.4.4L8 1z",fill:"#3B82F6"}),(0,d.jsx)("path",{d:"M5.5 8.5l1.5 1.5 3-3",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},34631:a=>{"use strict";a.exports=require("tls")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:a=>{"use strict";a.exports=require("zlib")},79428:a=>{"use strict";a.exports=require("buffer")},79551:a=>{"use strict";a.exports=require("url")},79646:a=>{"use strict";a.exports=require("child_process")},80390:(a,b,c)=>{Promise.resolve().then(c.bind(c,3250))},81630:a=>{"use strict";a.exports=require("http")},83997:a=>{"use strict";a.exports=require("tty")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[901,652,809],()=>b(b.s=465));module.exports=c})();