1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,43531,74886,e=>{"use strict";var t=e.i(75254);let a=(0,t.default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,a],43531);let r=(0,t.default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,r],74886)},74344,e=>{"use strict";let t=(0,e.i(75254).default)("maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);e.s(["Maximize",0,t],74344)},25652,e=>{"use strict";let t=(0,e.i(75254).default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);e.s(["TrendingUp",0,t],25652)},15788,e=>{"use strict";let t=(0,e.i(75254).default)("truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);e.s(["Truck",0,t],15788)},16839,e=>{e.q("/_next/static/immutable/media/maplibre-gl-dev.39f7lwe01jgm1.mjs")},15326,e=>{e.q("/_next/static/immutable/media/maplibre-gl-shared-dev.07i04akfcagct.mjs")},98355,e=>{e.q("/_next/static/immutable/media/maplibre-gl-shared.0x22e4ezo2xw9.mjs")},78048,e=>{e.q("/_next/static/immutable/media/maplibre-gl-worker-dev.04gissrcju2pd.mjs")},61665,e=>{e.q("/_next/static/immutable/media/maplibre-gl-worker.0igha6cc_ngyc.mjs")},51776,e=>{e.q("/_next/static/immutable/media/maplibre-gl.0jiq3pcq5iq41.mjs")},44978,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(43531),s=e.i(74886),l=e.i(19455),i=e.i(76023);e.s(["AgentPrompt",0,function(){let[e,n]=(0,a.useState)(!1);async function o(){try{await navigator.clipboard.writeText('Read the mapcn agent instructions at https://mapcn.dev/llms.txt, then install mapcn in this project. Run npx shadcn@latest add @mapcn/map. Then add a basic example that imports Map and MapControls from "@/components/ui/map" and renders a map inside a sized container. Use the default tiled basemap for maps that need streets, labels, or geographic context. If the user wants a blank/data-only map, such as countries or country borders, use <Map blank> with MapGeoJSON and either a user-provided GeoJSON URL/object or a world countries GeoJSON source. Preserve the existing Tailwind CSS and shadcn/ui setup. Do not manually rewrite the registry component unless the command fails; if it fails, inspect https://mapcn.dev/r/map.json and install the listed dependencies.'),n(!0),setTimeout(()=>n(!1),2500),(0,i.trackEvent)({name:"copy_agent_prompt"})}catch(e){console.error("Failed to copy prompt:",e)}}return(0,t.jsxs)(l.Button,{type:"button",onClick:o,"aria-live":"polite",variant:"ghost",size:"xs",className:"text-muted-foreground hover:text-foreground h-7 px-2.5!",children:[e?(0,t.jsx)(r.Check,{}):(0,t.jsx)(s.Copy,{}),e?"Copied â paste into your agent":"Copy prompt for your agent"]})}],44978)},38635,e=>{"use strict";var t=e.i(43476),a=e.i(76990),r=e.i(25652),s=e.i(95943);let l=[{lng:-74.006,lat:40.7128,city:"New York",users:847,size:14},{lng:-.1276,lat:51.5074,city:"London",users:623,size:12},{lng:139.6917,lat:35.6895,city:"Tokyo",users:412,size:10},{lng:114.1694,lat:22.3193,city:"Hong Kong",users:364,size:10},{lng:-122.4194,lat:37.7749,city:"San Francisco",users:298,size:9},{lng:72.8777,lat:19.076,city:"Mumbai",users:271,size:9},{lng:13.405,lat:52.52,city:"Berlin",users:187,size:8},{lng:77.209,lat:28.6139,city:"Delhi",users:156,size:7},{lng:151.2093,lat:-33.8688,city:"Sydney",users:134,size:7},{lng:18.4241,lat:-33.9249,city:"Cape Town",users:118,size:6},{lng:-43.1729,lat:-22.9068,city:"Rio",users:89,size:6},{lng:126.978,lat:37.5665,city:"Seoul",users:45,size:5}];e.s(["AnalyticsExample",0,function(){return(0,t.jsxs)(s.ExampleCard,{className:"aspect-square sm:col-span-2 sm:aspect-video lg:aspect-auto",children:[(0,t.jsxs)("div",{className:"bg-background/95 border-border/50 absolute top-3 left-3 z-10 rounded-lg border p-3 shadow-lg backdrop-blur-md",children:[(0,t.jsx)("div",{className:"text-muted-foreground mb-1 text-[10px] tracking-wider up
1percase",children:"Active Users"}),(0,t.jsx)("div",{className:"text-2xl leading-tight font-semibold",children:"3,544"}),(0,t.jsxs)("div",{className:"mt-1 flex items-center gap-1",children:[(0,t.jsx)(r.TrendingUp,{className:"size-3"}),(0,t.jsx)("span",{className:"text-foreground text-xs",children:"+12.5%"}),(0,t.jsx)("span",{className:"text-muted-foreground text-xs",children:"vs last hour"})]})]}),(0,t.jsx)(a.Map,{center:[0,30],scrollZoom:!1,dragRotate:!1,pitchWithRotate:!1,children:l.map(e=>(0,t.jsxs)(a.MapMarker,{longitude:e.lng,latitude:e.lat,children:[(0,t.jsx)(a.MarkerContent,{children:(0,t.jsx)("div",{className:"rounded-full bg-blue-500/80 shadow-sm",style:{width:1.8*e.size,height:1.8*e.size}})}),(0,t.jsx)(a.MarkerTooltip,{children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"font-medium",children:e.city}),(0,t.jsxs)("div",{className:"text-background/80",children:[e.users," users"]})]})})]},e.city))})]})}])},42013,e=>{"use strict";var t=e.i(43476),a=e.i(76990),r=e.i(95943);let s=[{name:"New York",lng:-74.006,lat:40.7128},{name:"São Paulo",lng:-46.6333,lat:-23.5505},{name:"Cape Town",lng:18.4241,lat:-33.9249},{name:"Mumbai",lng:72.8777,lat:19.076},{name:"Tokyo",lng:139.6917,lat:35.6895}],l=s.map(e=>({id:e.name,from:[-.1276,51.5074],to:[e.lng,e.lat]}));e.s(["ArcExample",0,function(){return(0,t.jsx)(r.ExampleCard,{className:"aspect-square",children:(0,t.jsxs)(a.Map,{center:[-.1276,41.5074],zoom:1,projection:{type:"globe"},scrollZoom:!1,children:[(0,t.jsx)(a.MapArc,{data:l,paint:{"line-color":"#3b82f6","line-opacity":.9,"line-dasharray":[2,2]},interactive:!1}),(0,t.jsx)(a.MapMarker,{longitude:-.1276,latitude:51.5074,children:(0,t.jsxs)(a.MarkerContent,{children:[(0,t.jsx)("div",{className:"size-3 rounded-full border-2 border-white bg-blue-500"}),(0,t.jsx)(a.MarkerLabel,{position:"top",children:"London"})]})}),s.map(e=>(0,t.jsx)(a.MapMarker,{longitude:e.lng,latitude:e.lat,children:(0,t.jsxs)(a.MarkerContent,{children:[(0,t.jsx)("div",{className:"size-2 rounded-full border-2 border-white bg-blue-500"}),(0,t.jsx)(a.MarkerLabel,{position:"top",children:e.name})]})},e.name))]})})}])},75877,e=>{"use strict";var t=e.i(43476),a=e.i(76990),r=e.i(15788),s=e.i(95943);let l=[[-.14,51.5155],[-.1418,51.5153],[-.1417,51.5145],[-.1414,51.514],[-.1407,51.5133],[-.1398,51.5122],[-.1393,51.5117],[-.1388,51.5111],[-.1381,51.5103],[-.1376,51.5101],[-.1364,51.5099],[-.136,51.5099],[-.1354,51.5101],[-.1348,51.5101],[-.134,51.51],[-.1333,51.5101],[-.1326,51.5094],[-.1319,51.5086],[-.1311,51.5078],[-.1301,51.508],[-.1292,51.5083],[-.129,51.5082],[-.1286,51.5075],[-.128,51.5075],[-.1275,51.5076],[-.1272,51.5074],[-.1255,51.507],[-.1233,51.5067],[-.1226,51.5066],[-.1219,51.5072],[-.1208,51.5084],[-.1193,51.5094],[-.1187,51.5097],[-.1165,51.5104],[-.1154,51.5107],[-.1135,51.5109],[-.112,51.511],[-.1082,51.511],[-.1072,51.511],[-.1035,51.511],[-.1015,51.5112],[-.0958,51.5112],[-.0932,51.5109],[-.0912,51.5105],[-.0903,51.5103],[-.0896,51.5102],[-.0883,51.5099],[-.0871,51.5097],[-.0838,51.5093],[-.0818,51.5091],[-.0805,51.5094],[-.0797,51.5096],[-.0782,51.5095],[-.0768,51.5095],[-.0755,51.5097],[-.0748,51.5099],[-.0741,51.5098],[-.0736,51.5093],[-.0732,51.5089],[-.0715,51.5084],[-.0709,51.5083],[-.0705,51.5091],[-.0696,51.5094],[-.0699,51.51]],i=l[Math.floor(.6*l.length)];e.s(["DeliveryExample",0,function(){return(0,t.jsx)(s.ExampleCard,{className:"aspect-square sm:col-span-2 sm:aspect-video lg:aspect-auto",children:(0,t.jsxs)(a.Map,{center:[-.105,51.511],zoom:12.6,scrollZoom:!1,dragRotate:!1,pitchWithRotate:!1,children:[(0,t.jsx)(a.MapRoute,{coordinates:l,width:4,color:"#3b82f6"}),(0,t.jsx)(a.MapMarker,{longitude:-.14,latitude:51.5154,children:(0,t.jsxs)(a.MarkerContent,{children:[(0,t.jsx)("div",{className:"size-3.5 rounded-full border-2 border-white bg-emerald-500 shadow-lg"}),(0,t.jsx)(a.MarkerLabel,{children:"Store"})]})}),(0,t.jsxs)(a.MapMarker,{longitude:i[0],latitude:i[1],children:[(0,t.jsx)(a.MarkerContent,{children:(0,t.jsx)("div",{className:"rounded-full bg-blue-500 p-1.5 shadow-lg",children:(0,t.jsx)(r.Truck,{className:"size-3 text-white"})})}),(0,t.jsx)(a.MarkerTooltip,{children:"On the way"})]}),(0,t.jsx)(a.MapMarker,{longitude:-.07,latitude:51.51,children:(0,t.jsxs)(a.MarkerContent,{children:[(0,t.jsx)("div",{className:"size-3.5 rounded-full border-2 border-white bg-red-500 shadow-lg"}),(0,t.jsx)(a.MarkerLabel,{children:"Home"})]})})]})})}])},43732,e=>{"use strict";var t=e.i(43476),a=e.i(76990);
1let r=(0,e.i(75254).default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);var s=e.i(95943);let l=[{name:"Union Square",lng:-122.4074,lat:37.7879,status:"available",detail:"50 kW ⢠$0.28/kWh"},{name:"Castro Station",lng:-122.435,lat:37.7625,status:"in-use",detail:"~15 min remaining"},{name:"Hayes Valley",lng:-122.4264,lat:37.7759,status:"offline",detail:""},{name:"Embarcadero",lng:-122.3934,lat:37.7935,status:"available",detail:"350 kW ⢠$0.40/kWh"},{name:"Marina District",lng:-122.437,lat:37.801,status:"available",detail:"150 kW ⢠$0.32/kWh"},{name:"SoMa Charger",lng:-122.401,lat:37.778,status:"available",detail:"50 kW ⢠$0.30/kWh"},{name:"Noe Valley",lng:-122.431,lat:37.75,status:"available",detail:"150 kW ⢠$0.33/kWh"},{name:"Richmond Charger",lng:-122.478,lat:37.781,status:"in-use",detail:"~8 min remaining"},{name:"Potrero Hill",lng:-122.401,lat:37.76,status:"offline",detail:""},{name:"Mission Bay",lng:-122.391,lat:37.77,status:"available",detail:"350 kW ⢠$0.38/kWh"},{name:"Golden Gate Park",lng:-122.466,lat:37.77,status:"available",detail:"150 kW ⢠$0.34/kWh"}],i={available:{bg:"bg-emerald-500",label:"Available",textClass:"text-emerald-500"},"in-use":{bg:"bg-amber-500",label:"In Use",textClass:"text-amber-500"},offline:{bg:"bg-zinc-400",label:"Offline",textClass:"text-muted-foreground"}};e.s(["EVChargingExample",0,function(){return(0,t.jsx)(s.ExampleCard,{className:"aspect-square",children:(0,t.jsx)(a.Map,{center:[-122.434,37.776],zoom:11,scrollZoom:!1,dragRotate:!1,pitchWithRotate:!1,children:l.map(e=>{let s=i[e.status];return(0,t.jsxs)(a.MapMarker,{longitude:e.lng,latitude:e.lat,children:[(0,t.jsx)(a.MarkerContent,{children:(0,t.jsx)("div",{className:`${s.bg} rounded-full p-1.5 shadow-lg`,children:(0,t.jsx)(r,{className:"size-3 fill-white text-white"})})}),(0,t.jsx)(a.MarkerTooltip,{className:"bg-popover text-popover-foreground border px-2.5 py-1.5",children:(0,t.jsxs)("div",{className:"space-y-1 text-xs",children:[(0,t.jsx)("div",{className:"font-medium",children:e.name}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:`size-1.5 rounded-full ${s.bg}`}),(0,t.jsx)("span",{className:s.textClass,children:s.label})]}),e.detail&&(0,t.jsx)("div",{className:"text-muted-foreground text-[11px]",children:e.detail})]})})]},e.name)})})})}],43732)},95943,e=>{"use strict";var t=e.i(43476),a=e.i(75157);e.s(["ExampleCard",0,function({className:e,children:r}){return(0,t.jsx)("div",{className:(0,a.cn)("bg-card border-border/50 relative overflow-hidden rounded-xl border shadow-sm",e),children:r})}])},18377,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(76990),s=e.i(19455),l=e.i(95943);let i=[{name:"New York",center:[-74.006,40.7128]},{name:"London",center:[-.1276,51.5074]},{name:"Tokyo",center:[139.6917,35.6895]},{name:"Sydney",center:[151.2093,-33.8688]}];e.s(["FlyToExample",0,function(){let e=(0,a.useRef)(null),[n,o]=(0,a.useState)(0),d=i[n];return(0,t.jsxs)(l.ExampleCard,{className:"aspect-square",children:[(0,t.jsx)(r.Map,{ref:e,center:d.center,zoom:5.5,scrollZoom:!1,dragRotate:!1,pitchWithRotate:!1,children:(0,t.jsx)(r.MapMarker,{longitude:d.center[0],latitude:d.center[1],children:(0,t.jsx)(r.MarkerContent,{children:(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsx)("div",{className:"size-3.5 rounded-full border-2 border-white bg-blue-500 shadow-lg"})})})})}),(0,t.jsx)("div",{className:"absolute inset-x-3 top-3 flex flex-wrap gap-1.5",children:i.map((a,r)=>(0,t.jsx)(s.Button,{size:"xs",variant:r===n?"default":"secondary",onClick:()=>{o(r),e.current?.flyTo({center:i[r].center,zoom:6,duration:2e3,essential:!0})},className:"rounded-full border",children:a.name},a.name))})]})}])},83762,e=>{"use strict";var t=e.i(43476),a=e.i(76990);let r=(0,e.i(75254).default)("bike",[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]]);var s=e.i(95943);let l=[[-73.95846730810143,40.80035246904919],[-73.9717593682683,40.78210942124929],[-73.98192123136191,40.76793032580281],[-73.97393759456651,40.76462909128966],[-73.97291537521572,40.76
15159628993814],[-73.96920618484948,40.7637106622374],[-73.96383691302509,40.77117117897504],[-73.9584024523858,40.76889223221369],[-73.9470773638119,40.784238113060894],[-73.95585246901248,40.78786547226602],[-73.94937945594087,40.79668351998197],[-73.9498273526222,40.797167598041455],[-73.95699644240298,40.80016017872583]],i=l[0],n=l[l.length-1];e.s(["TrailExample",0,function(){return(0,t.jsxs)(s.ExampleCard,{className:"aspect-square",children:[(0,t.jsxs)("div",{className:"bg-background/95 border-border/50 absolute top-3 left-3 z-10 rounded-lg border p-3 shadow-lg backdrop-blur-md",children:[(0,t.jsxs)("div",{className:"mb-2 flex items-center gap-1.5",children:[(0,t.jsx)(r,{className:"text-foreground size-3.5"}),(0,t.jsx)("span",{className:"text-xs font-medium",children:"Central Park Loop"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-3 text-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-sm font-semibold",children:"6.2"}),(0,t.jsx)("div",{className:"text-muted-foreground text-[9px] uppercase",children:"Miles"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-sm font-semibold",children:"32"}),(0,t.jsx)("div",{className:"text-muted-foreground text-[9px] uppercase",children:"Mins"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-sm font-semibold",children:"285"}),(0,t.jsx)("div",{className:"text-muted-foreground text-[9px] uppercase",children:"Cal"})]})]})]}),(0,t.jsxs)(a.Map,{center:[-73.97,40.782],zoom:11.8,scrollZoom:!1,dragRotate:!1,pitchWithRotate:!1,children:[(0,t.jsx)(a.MapRoute,{coordinates:l,color:"#3b82f6",width:3,opacity:.9}),(0,t.jsx)(a.MapMarker,{longitude:i[0],latitude:i[1],children:(0,t.jsx)(a.MarkerContent,{children:(0,t.jsx)("div",{className:"size-3 rounded-full border-2 border-white bg-emerald-500 shadow-lg"})})}),(0,t.jsx)(a.MapMarker,{longitude:n[0],latitude:n[1],children:(0,t.jsx)(a.MarkerContent,{children:(0,t.jsx)("div",{className:"size-3 rounded-full border-2 border-white bg-red-500 shadow-lg"})})})]})]})}],83762)},65967,e=>{"use strict";var t=e.i(43476),a=e.i(75157),r=e.i(71645);let s=(0,r.createContext)({align:"center",size:"default"});function l(){return(0,r.useContext)(s)}e.s(["PageActions",0,function({children:e,className:r}){let{align:s}=l();return(0,t.jsx)("div",{className:(0,a.cn)("animate-fade-up animate-stagger mt-3 flex flex-wrap items-center gap-3","center"===s?"justify-center":"justify-start",r),style:{"--stagger":3},children:e})},"PageHeader",0,function({children:e,className:r,align:l="center",size:i="default"}){return(0,t.jsx)(s.Provider,{value:{align:l,size:i},children:(0,t.jsx)("section",{className:(0,a.cn)("container mx-auto flex w-full max-w-6xl flex-col","sm"===i?"gap-3 py-14 md:py-18":"gap-4 py-16 md:py-20 lg:py-24 lg:pb-20","center"===l?"items-center text-center":"items-start text-left",r),children:e})})},"PageHeaderDescription",0,function({children:e,className:r}){let{align:s,size:i}=l();return(0,t.jsx)("p",{className:(0,a.cn)("text-foreground/80 animate-fade-up animate-stagger max-w-2xl leading-relaxed","sm"===i?"text-muted-foreground text-base sm:text-lg":"sm:text-lg md:text-xl","center"===s?"text-center":"text-left",r),style:{"--stagger":2},children:e})},"PageHeaderHeading",0,function({children:e,className:r,as:s="h1"}){let{align:i,size:n}=l();return(0,t.jsx)(s,{className:(0,a.cn)("animate-fade-up animate-stagger text-primary max-w-4xl font-bold tracking-tight","sm"===n?"text-4xl font-semibold md:text-5xl":"text-4xl sm:text-5xl md:text-6xl","center"===i?"text-center":"text-left",r),style:{"--stagger":1},children:e})}])},76023,e=>{"use strict";function t(){return"u">typeof window}function a(){return(t()?window.vam:"production")||"production"}function r(){return"production"===a()}e.s(["trackEvent",0,function({name:e,properties:s}){!function(e,s){var l,i;if(!t()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(r())console.warn(e);else throw Error(e);return}if(!s){null==(l=window.va)||l.call(window,"event",{name:e,options:void 0});return}try{let t=function(e,t){if(!e)return;let a=e,r=[];for(let[s,l]of Object.entries(e))"object"==typeof l&&null!==l&&(t.strip?a=function(e,{[e]:t,...a}){return a}(s,a):r.push(s));if(r.length>0&&!t.strip)throw Error(`The following properties are not valid: ${r.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return a}(s,{strip:r()});null==(i=window.va)||i.call(window,"event",{name:e,data:t,options:void 0})}catch(e){e instanceof Error&&"development"===a()&&console.error(e)}}(e,s)}],76023)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.