module.exports=[70943,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={getOrigin:function(){return s},resolveArray:function(){return o},resolveAsArrayOrUndefined:function(){return n}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});function o(e){return Array.isArray(e)?e:[e]}function n(e){if(null!=e)return o(e)}function s(e){let t;if("string"==typeof e)try{t=(e=new URL(e)).origin}catch{}return t}},73853,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={resolveManifest:function(){return l},resolveRobots:function(){return n},resolveRouteData:function(){return d},resolveSitemap:function(){return s}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});let o=e.r(70943);function n(e){let t="";for(let a of Array.isArray(e.rules)?e.rules:[e.rules]){for(let e of(0,o.resolveArray)(a.userAgent||["*"]))t+=`User-Agent: ${e}
`;if(a.allow)for(let e of(0,o.resolveArray)(a.allow))t+=`Allow: ${e}
`;if(a.disallow)for(let e of(0,o.resolveArray)(a.disallow))t+=`Disallow: ${e}
`;a.crawlDelay&&(t+=`Crawl-delay: ${a.crawlDelay}
`),t+="\n"}return e.host&&(t+=`Host: ${e.host}
`),e.sitemap&&(0,o.resolveArray)(e.sitemap).forEach(e=>{t+=`Sitemap: ${e}
`}),t}function s(e){let t=e.some(e=>Object.keys(e.alternates??{}).length>0),a=e.some(e=>{var t;return!!(null==(t=e.images)?void 0:t.length)}),r=e.some(e=>{var t;return!!(null==(t=e.videos)?void 0:t.length)}),i="";for(let l of(i+='<?xml version="1.0" encoding="UTF-8"?>\n',i+='<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"',a&&(i+=' xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"'),r&&(i+=' xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"'),t?i+=' xmlns:xhtml="http://www.w3.org/1999/xhtml">\n':i+=">\n",e)){var o,n,s;i+="<url>\n",i+=`<loc>${l.url}</loc>
`;let e=null==(o=l.alternates)?void 0:o.languages;if(e&&Object.keys(e).length)for(let t in e)i+=`<xhtml:link rel="alternate" hreflang="${t}" href="${e[t]}" />
`;if(null==(n=l.images)?void 0:n.length)for(let e of l.images)i+=`<image:image>
<image:loc>${e}</image:loc>
</image:image>
`;if(null==(s=l.videos)?void 0:s.length)for(let e of l.videos)i+=["<video:video>",`<video:title>${e.title}</video:title>`,`<video:thumbnail_loc>${e.thumbnail_loc}</video:thumbnail_loc>`,`<video:description>${e.description}</video:description>`,e.content_loc&&`<video:content_loc>${e.content_loc}</video:content_loc>`,e.player_loc&&`<video:player_loc>${e.player_loc}</video:player_loc>`,e.duration&&`<video:duration>${e.duration}</video:duration>`,e.view_count&&`<video:view_count>${e.view_count}</video:view_count>`,e.tag&&`<video:tag>${e.tag}</video:tag>`,e.rating&&`<video:rating>${e.rating}</video:rating>`,e.expiration_date&&`<video:expiration_date>${e.expiration_date}</video:expiration_date>`,e.publication_date&&`<video:publication_date>${e.publication_date}</video:publication_date>`,e.family_friendly&&`<video:family_friendly>${e.family_friendly}</video:family_friendly>`,e.requires_subscription&&`<video:requires_subscription>${e.requires_subscription}</video:requires_subscription>`,e.live&&`<video:live>${e.live}</video:live>`,e.restriction&&`<video:restriction relationship="${e.restriction.relationship}">${e.restriction.content}</video:restriction>`,e.platform&&`<video:platform relationship="${e.platform.relationship}">${e.platform.content}</video:platform>`,e.uploader&&`<video:uploader${e.uploader.info&&` info="${e.uploader.info}"`}>${e.uploader.content}</video:uploader>`,`</video:video>
`].filter(Boolean).join("\n");if(l.lastModified){let e=l.lastModified instanceof Date?l.lastModified.toISOString():l.lastModified;i+=`<lastmod>${e}</lastmod>
`}l.changeFrequency&&(i+=`<changefreq>${l.changeFrequency}</changefreq>
`),"number"==typeof l.priority&&(i+=`<priority>${l.priority}</priority>
`),i+="</url>\n"}return i+"</urlset>\n"}function l(e){return JSON.stringify(e)}function d(e,t){return"robots"===t?n(e):"sitemap"===t?s(e):"manifest"===t?l(e):""}},83345,e=>{"use strict";var t=e.i(47909),a=e.i(74017),r=e.i(96250),i=e.i(59756),o=e.i(61916),n=e.i(74677),s=e.i(69741),l=e.i(16795),d=e.i(87718),c=e.i(95169),p=e.i(47587),u=e.i(66012),h=e.i(70101),g=e.i(26937),m=e.i(10372),y=e.i(93695);e.i(52474);var v=e.i(220),f=e.i(89171);let b="https://doormile.com",w=[{slug:"how-ai-is-transforming-last-mile-ev-delivery",title:"How Better Planning Improves Last-Mile EV Delivery",excerpt:"A practical look at how EV fleets can plan routes, manage charging, and keep delivery promises without adding unnecessary vehicles.",category:"Technology",image:"/images/blog-post-pic-17.webp",date:"2025-10-02",intro:"The last mile is already difficult to plan. With electric vehicles, the team also has to think about battery range, charging time, rider load, traffic, and delivery windows. Good planning turns those moving parts into a workable dispatch plan.",content:[{type:"paragraph",text:"For a long time, last-mile planning depended on dispatchers, spreadsheets, and local experience. That experience still matters. The problem is that it gets stretched thin when order volume rises and the fleet includes EVs."},{type:"heading",level:2,text:"The shift from fixed rules to daily planning"},{type:"paragraph",text:"A fixed-zone plan may look clean in the morning, but the road rarely follows the plan. A rider may get delayed near Hitec City, a gated community may hold a vehicle for ten extra minutes, or a battery may drain faster because the load is heavier than usual."},{type:"list",items:["Order volumes by area, time slot, and customer type","Travel times based on the city's actual traffic patterns","Battery use by vehicle type, rider load, and route length","Feedback from completed deliveries, failed attempts, and late arrivals"]},{type:"heading",level:3,text:"Adjusting during the day"},{type:"paragraph",text:"The first plan is only the starting point. By 11 a.m., traffic may change, a high-priority order may arrive, or one vehicle may return with less charge than expected. The dispatch team needs a way to adjust without rebuilding the whole day by hand."},{type:"paragraph",text:"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, the hub reduced missed delivery windows and improved on-time performance."},{type:"image",src:"/images/ev-paradox.webp",alt:"Electric delivery vehicle routing visualisation",caption:"EV route plans need to account for range, load, traffic, and charging time before riders leave the hub."},{type:"quote",text:"With EVs, a route is only useful if the vehicle can finish it and still return safely.",cite:"Doormile Operations"},{type:"heading",level:2,text:"What this means for operators"},{type:"paragraph",text:"For a fleet manager, this is not about fancy software. It is about fewer emergency calls, fewer mid-route swaps, and fewer customers asking why their delivery missed the promised window."},{type:"list",ordered:!0,items:["Record delivery times, failed attempts, traffic delays, and charging cycles.","Build travel-time estimates from the areas your riders actually serve.","Check every route against battery capacity before dispatch.","Replan when traffic, orders, or vehicle availability changes."]},{type:"paragraph",text:"The fleets that improve fastest are usually not the ones adding vehicles first. They are the ones removing wasted distance, planning charging properly, and giving riders routes they can complete on time."}]},{slug:"42-less-distance-insights-from-our-hyderabad-hub",title:"42% Less Distance: Insights from Our Hyderabad Hub",excerpt:"A practical look at how one Hyderabad hub reduced distance, used fewer vehicles, and protected delivery windows with better route planning.",category:"Case Study",image:"/images/blog-post-pic-15.webp",date:"2025-09-18",intro:"Numbers settle arguments. At our Hyderabad hub, the goal was simple: reduce avoidable distance without missing customer commitments. The result was a 42% reduction in total distance travelled.",content:[{type:"paragraph",text:"Hyderabad is not an easy city for delivery planning. Dense commercial areas, fast-growing suburbs, flyover work, narrow service lanes, apartment security checks, and sudden traffic build-up can all change the day."},{type:"heading",level:2,text:"The baseline"},{type:"paragraph",text:"Before MileTruth, the hub planned routes in the usual way. Zones were drawn from experience, dispatchers sequenced stops manually, and riders adjusted on the road when something changed."},{type:"paragraph",text:"That process worked, but it carried hidden costs. Two riders might cross the same area in the same hour. A vehicle might take a longer loop to avoid one late stop. A dispatcher might hold back an order because the best vehicle was not obvious in the moment."},{type:"list",items:["Zone-based allocation that missed nearby cross-zone drops","Manual stop sequencing during busy dispatch windows","ETAs checked after routing instead of before dispatch","Traffic and delay handling that depended on phone calls from riders"]},{type:"heading",level:3,text:"What changed"},{type:"paragraph",text:"The main change was treating the day's orders as one connected plan instead of separate zone lists. The route plan considered distance, rider capacity, delivery windows, traffic, and vehicle availability together."},{type:"paragraph",text:"During peak traffic hours in Hyderabad, some vehicles were arriving 20 to 30 minutes later than planned. By adjusting routes based on live traffic and battery levels, we reduced missed delivery windows and improved on-time performance."},{type:"image",src:"/images/last-mile-approach.webp",alt:"Hyderabad delivery hub routing analysis",caption:"Planning the day's deliveries together removed repeated cross-town travel."},{type:"heading",level:2,text:"The results"},{type:"list",items:["42% reduction in total distance travelled across the hub","37% fewer vehicles required for the same delivery volume","No SLA misses during the measured deployment window","Lower fuel use and fewer unnecessary kilometres per parcel"]},{type:"quote",text:"The improvement did not come from asking riders to work harder. It came from giving the team a better route plan before the vehicles left.",cite:"Hyderabad Hub Operations"},{type:"heading",level:3,text:"Why this applies beyond one hub"},{type:"paragraph",text:"The Hyderabad result was not a one-city exception. Most hubs deal with the same issues: overlapping routes, conservative sequencing, traffic surprises, charging constraints, and last-minute order changes."},{type:"paragraph",text:"A 42% cut in distance changes the cost of running the operation. It also gives dispatchers more breathing room when the day gets messy."}]},{slug:"miletruth-ai-10-stages-to-smarter-dispatch",title:"MileTruth™: 10 Stages to Smarter Dispatch",excerpt:"From order intake to final route output, here is how a dispatch plan is checked before riders leave the hub.",category:"MileTruth",image:"/images/blog-post-pic-31.webp",date:"2025-09-05",intro:"Behind every Doormile dispatch is a step-by-step route planning process. Each stage removes a common source of error before the plan reaches the rider.",content:[{type:"paragraph",text:"A dispatch plan has to be fast, but it also has to be usable. A quick route that ignores a bad address, low battery, or tight delivery window creates problems later in the day."},{type:"heading",level:2,text:"The ten stages"},{type:"list",ordered:!0,items:["Order intake: new orders, rider availability, and vehicle status are collected.","Address check: delivery points, time windows, and service notes are verified.","Stop planning: each stop gets an expected service time and delivery priority.","Travel-time check: routes are compared against time-of-day traffic.","Constraint check: capacity, shift time, customer windows, and range are applied.","Route options: several possible plans are built for the same order set.","Plan selection: the lowest-cost workable route plan is selected.","Battery check: EV routes are checked against real charge capacity.","ETA check: promised delivery times are verified before dispatch.","Dispatch output: the final route is sent to the operations team."]},{type:"heading",level:3,text:"Why staging matters"},{type:"paragraph",text:"When everything is checked in one step, small errors slip through. A wrong pin, a missing apartment note, or a low battery warning can reach the rider and become a customer issue."},{type:"image",src:"/images/blog-post-pic-31.webp",alt:"MileTruth routing pipeline diagram",caption:"A staged dispatch process catches address, range, and ETA issues before riders leave."},{type:"quote",text:"Each stage should remove one kind of mistake. By dispatch time, the route should already be practical.",cite:"MileTruth Engineering"},{type:"heading",level:2,text:"Comparing route options"},{type:"paragraph",text:"The useful part is not only building one route. It is comparing a few workable route options before choosing the plan. One option may save distance, another may protect a tight delivery window, and another may keep an EV closer to a charger."},{type:"list",items:["Several route plans checked before dispatch","Distance, time windows, capacity, and range considered together","Range and ETA checked before the route reaches the rider","Fast output that still leaves room for dispatcher review"]},{type:"paragraph",text:"The goal is simple: give the dispatch team a route plan they can trust before the first vehicle leaves the hub."}]},{slug:"the-ev-paradox-solving-range-anxiety-for-urban-fleets",title:"The EV Paradox: Solving Range Anxiety for Urban Fleets",excerpt:"Electric vehicles lower running costs, but battery range changes how routes must be planned before dispatch.",category:"EV Fleet",image:"/images/ev-paradox.webp",date:"2025-08-21",intro:"Electric fleets can lower running costs, but range becomes a daily planning constraint. The route has to match the battery, the load, the traffic, and the return plan."},{slug:"why-mathematical-precision-beats-heuristics-in-routing",title:"Why Mathematical Precision Beats Heuristics in Routing",excerpt:"Fixed routing rules are easy to start with, but they often miss better stop sequences as order volume grows.",category:"Technology",image:"/images/blog-post-pic-14.webp",date:"2025-08-07",intro:"Simple routing rules are fast to set up, but they can quietly add distance every day. Better planning compares more route options before dispatch."},{slug:"fleet-reduction-without-compromising-delivery-volume",title:"Fleet Reduction Without Compromising Delivery Volume",excerpt:"Handling the same order volume with fewer vehicles starts by removing avoidable kilometres and overlapping routes.",category:"Fleet Management",image:"/images/blog-post-pic-8.webp",date:"2025-07-24",intro:"Cutting vehicles usually means cutting capacity unless the removed kilometres were never needed. Better route planning turns wasted distance into operating headroom."},{slug:"building-a-greener-city-the-future-of-urban-logistics",title:"Building a Greener City: The Future of Urban Logistics",excerpt:"Cities are asking for cleaner delivery. The practical challenge is planning EV routes that can meet customer windows without wasting charge.",category:"Sustainability",image:"/images/blog-post-pic-6.webp",date:"2025-07-10",intro:"Cleaner delivery is becoming an operating requirement, not just a brand message. It depends on EV adoption and route plans that make those vehicles practical every day."},{slug:"how-doormile-maintains-99-9-sla-compliance-at-scale",title:"How Doormile Maintains 99.9% SLA Compliance at Scale",excerpt:"High SLA performance comes from checking ETAs before dispatch, reacting early to delays, and keeping customer commitments visible throughout the day.",category:"Operations",image:"/images/last-mile-approach.webp",date:"2025-06-26",intro:"Strong SLA performance is not luck. It comes from planning the day so late deliveries are the exception, not the expected risk."},{slug:"battery-simulation-the-secret-to-ev-route-pre-validation",title:"Battery Simulation: The Secret to EV Route Pre-Validation",excerpt:"Before a rider leaves the hub, every EV route should be checked against real charge capacity and the expected return plan.",category:"EV Fleet",image:"/images/blog-post-pic-3.webp",date:"2025-06-12",intro:"A stranded EV is not just a late delivery. It means a vehicle is out of service, a customer is waiting, and the hub has to arrange recovery. Range checks need to happen before dispatch."}].map(e=>{var t;return{slug:e.slug,title:e.title,excerpt:e.excerpt,category:e.category,image:e.image,date:e.date,author:"Doormile Team",intro:e.intro,content:e.content??(t={title:e.title,category:e.category,image:e.image},[{type:"paragraph",text:`In last-mile logistics, a missed SLA is rarely caused by one big failure. It usually comes from small delays adding up across a route. ${t.title} looks at how delivery teams can spot those delays early and plan around them before vehicles leave the hub.`},{type:"heading",level:2,text:"Why this matters for fleet teams"},{type:"paragraph",text:"Every extra kilometre costs money. It uses fuel or charge, adds rider time, wears down vehicles, and increases the chance of a late delivery. When routes are built from fixed zones or old habits, those costs repeat every day."},{type:"list",items:["Fewer vehicles needed for the same number of drops","Lower cost per drop through better stop sequencing","ETAs that match traffic, distance, and delivery windows","Less fuel or charge used per completed order"]},{type:"heading",level:3,text:"From orders to dispatch"},{type:"paragraph",text:"A good dispatch plan starts with the basics: order locations, promised delivery windows, rider capacity, vehicle range, and known traffic trouble spots. MileTruth™ checks those inputs before dispatch so the team is not fixing avoidable mistakes on the road."},{type:"image",src:t.image,alt:t.title,caption:`${t.category}: route planning decisions made before dispatch.`},{type:"quote",text:"A route should be checked before the rider leaves, not explained after the customer calls.",cite:"Doormile Operations"},{type:"heading",level:2,text:"Putting it into practice"},{type:"paragraph",text:"The best improvements usually start with simple measurements. Track distance per route, failed delivery windows, rider idle time, and orders moved between vehicles after dispatch. Those numbers show where the operation is leaking time."},{type:"list",ordered:!0,items:["Benchmark today's distance, fleet size, and on-time rate.","Include vehicle capacity, delivery windows, rider shifts, and battery charge.","Check routes against traffic and customer commitments before dispatch.","Compare the next dispatch cycle against the old plan."]},{type:"paragraph",text:"Better routing is not about pushing riders harder. It is about giving them a plan that already accounts for the real day ahead."}])}});function x(){return[...["","/about","/contact","/blog","/air-freight","/first-mile-delivery","/mid-mile-delivery","/last-mile-delivery","/ev-logistics","/strategy-optimization","/how-it-works"].map(e=>({url:`${b}${e}`,lastModified:new Date().toISOString().split("T")[0],changeFrequency:"weekly",priority:""===e?1:.8})),...w.map(e=>({url:`${b}/blog/${e.slug}`,lastModified:e.date,changeFrequency:"monthly",priority:.6}))]}e.s(["default",0,x],63034);var k=e.i(73853);async function T(){let e=await x(),t=(0,k.resolveRouteData)(e,"sitemap");return new f.NextResponse(t,{headers:{"Content-Type":"application/xml","Cache-Control":"public, max-age=0, must-revalidate"}})}e.s(["GET",0,T],79512),e.i(79512),e.i(63034),e.s(["GET",0,T],834);var A=e.i(834);let R=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/sitemap.xml/route",pathname:"/sitemap.xml",filename:"sitemap--route-entry",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/sitemap--route-entry.js",nextConfigOutput:"",userland:A,...{}}),{workAsyncStorage:E,workUnitAsyncStorage:_,serverHooks:C}=R;async function $(e,t,r){r.requestMeta&&(0,i.setRequestMeta)(e,r.requestMeta),R.isDev&&(0,i.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let f="/sitemap.xml/route";f=f.replace(/\/index$/,"")||"/";let b=await R.prepare(e,t,{srcPage:f,multiZoneDraftMode:!1});if(!b)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:k,nextConfig:T,parsedUrl:A,isDraftMode:E,prerenderManifest:_,routerServerContext:C,isOnDemandRevalidate:$,revalidateOnlyGenerated:S,resolvedPathname:q,clientReferenceManifest:O,serverActionsManifest:M}=b,H=(0,s.normalizeAppPath)(f),P=!!(_.dynamicRoutes[H]||_.routes[q]),D=async()=>((null==C?void 0:C.render404)?await C.render404(e,t,A,!1):t.end("This page could not be found"),null);if(P&&!E){let e=!!_.routes[q],t=_.dynamicRoutes[H];if(t&&!1===t.fallback&&!e){if(T.adapterPath)return await D();throw new y.NoFallbackError}}let I=null;!P||R.isDev||E||(I="/index"===(I=q)?"/":I);let N=!0===R.isDev||!P,F=P&&!N;M&&O&&(0,n.setManifestsSingleton)({page:f,clientReferenceManifest:O,serverActionsManifest:M});let B=e.method||"GET",j=(0,o.getTracer)(),U=j.getActiveScopeSpan(),V=!!(null==C?void 0:C.isWrappedByNextServer),L=!!(0,i.getRequestMeta)(e,"minimalMode"),W=(0,i.getRequestMeta)(e,"incrementalCache")||await R.getIncrementalCache(e,T,_,L);null==W||W.resetRequestCache(),globalThis.__incrementalCache=W;let K={params:k,previewProps:_.preview,renderOpts:{experimental:{authInterrupts:!!T.experimental.authInterrupts},cacheComponents:!!T.cacheComponents,supportsDynamicResponse:N,incrementalCache:W,cacheLifeProfiles:T.cacheLife,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,i)=>R.onRequestError(e,t,r,i,C)},sharedContext:{buildId:w,deploymentId:x}},z=new l.NodeNextRequest(e),G=new l.NodeNextResponse(t),X=d.NextRequestAdapter.fromNodeNextRequest(z,(0,d.signalFromNodeResponse)(t));try{let i,n=async e=>R.handle(X,K).finally(()=>{if(!e)return;e.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let a=j.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==c.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route");if(r){let t=`${B} ${r}`;e.setAttributes({"next.route":r,"http.route":r,"next.span_name":t}),e.updateName(t),i&&i!==e&&(i.setAttribute("http.route",r),i.updateName(t))}else e.updateName(`${B} ${f}`)}),s=async i=>{var o,s;let l=async({previousCacheEntry:a})=>{try{if(!L&&$&&S&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let o=await n(i);e.fetchMetrics=K.renderOpts.fetchMetrics;let s=K.renderOpts.pendingWaitUntil;s&&r.waitUntil&&(r.waitUntil(s),s=void 0);let l=K.renderOpts.collectedTags;if(!P)return await (0,u.sendResponse)(z,G,o,K.renderOpts.pendingWaitUntil),null;{let e=await o.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(o.headers);l&&(t[m.NEXT_CACHE_TAGS_HEADER]=l),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==K.renderOpts.collectedRevalidate&&!(K.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&K.renderOpts.collectedRevalidate,r=void 0===K.renderOpts.collectedExpire||K.renderOpts.collectedExpire>=m.INFINITE_CACHE?void 0:K.renderOpts.collectedExpire;return{value:{kind:v.CachedRouteKind.APP_ROUTE,status:o.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await R.onRequestError(e,t,{routerKind:"App Router",routePath:f,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:$})},!1,C),t}},d=await R.handleResponse({req:e,nextConfig:T,cacheKey:I,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:_,isRoutePPREnabled:!1,isOnDemandRevalidate:$,revalidateOnlyGenerated:S,responseGenerator:l,waitUntil:r.waitUntil,isMinimalMode:L});if(!P)return null;if((null==d||null==(o=d.value)?void 0:o.kind)!==v.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(s=d.value)?void 0:s.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});L||t.setHeader("x-nextjs-cache",$?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),E&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let c=(0,h.fromNodeOutgoingHttpHeaders)(d.value.headers);return L&&P||c.delete(m.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||t.getHeader("Cache-Control")||c.get("Cache-Control")||c.set("Cache-Control",(0,g.getCacheControlHeader)(d.cacheControl)),await (0,u.sendResponse)(z,G,new Response(d.value.body,{headers:c,status:d.value.status||200})),null};V&&U?await s(U):(i=j.getActiveScopeSpan(),await j.withPropagatedContext(e.headers,()=>j.trace(c.BaseServerSpan.handleRequest,{spanName:`${B} ${f}`,kind:o.SpanKind.SERVER,attributes:{"http.method":B,"http.target":e.url}},s),void 0,!V))}catch(t){if(t instanceof y.NoFallbackError||await R.onRequestError(e,t,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,p.getRevalidateReason)({isStaticGeneration:F,isOnDemandRevalidate:$})},!1,C),P)throw t;return await (0,u.sendResponse)(z,G,new Response(null,{status:500})),null}}e.s(["handler",0,$,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:E,workUnitAsyncStorage:_})},"routeModule",0,R,"serverHooks",0,C,"workAsyncStorage",0,E,"workUnitAsyncStorage",0,_],83345)}];

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