1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6225b6fc-a3ac-4d56-9af6-930f6e97aac6",e._sentryDebugIdIdentifier="sentry-dbid-6225b6fc-a3ac-4d56-9af6-930f6e97aac6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[286],{59312:(e,t,a)=>{a.d(t,{P:()=>n});var r=a(9339);let n=(0,r.createServerReference)("003e8c95aa50198458cb8eda1a1a97c9dec5a85d50",r.callServer,void 0,r.findSourceMapURL,"getAppleMapsToken")},72549:(e,t,a)=>{let r,n,i,o,s,l;a.d(t,{Fu:()=>b,T5:()=>S,pH:()=>R});var c=a(95155),u=a(12115),d=a(47650),p="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},f="object"==typeof p&&p&&p.Object===Object&&p,m="object"==typeof self&&self&&self.Object===Object&&self;f||m||Function("return this")();var g="u">typeof window?u.useLayoutEffect:u.useEffect,y=typeof window>"u";let h=u.createContext(null),k=null;var C=((r=C||{})[r.Light=0]="Light",r[r.Dark=1]="Dark",r[r.Auto=2]="Auto",r),P=((n=P||{})[n.Standard=0]="Standard",n[n.MutedStandard=1]="MutedStandard",n[n.Hybrid=2]="Hybrid",n[n.Satellite=3]="Satellite",n),v=((i=v||{})[i.Adaptive=0]="Adaptive",i[i.Metric=1]="Metric",i[i.Imperial=2]="Imperial",i),O=((o=O||{})[o.LandCover=0]="LandCover",o[o.PointsOfInterest=1]="PointsOfInterest",o[o.None=2]="None",o),b=((s=b||{})[s.Hidden=0]="Hidden",s[s.Visible=1]="Visible",s[s.Adaptive=2]="Adaptive",s);function w(e){switch(e){case 2:return mapkit.FeatureVisibility.Adaptive;case 1:return mapkit.FeatureVisibility.Visible;case 0:return mapkit.FeatureVisibility.Hidden;default:throw RangeError("Invalid feature visibility")}}var I=((l=I||{})[l.Airport=0]="Airport",l[l.AmusementPark=1]="AmusementPark",l[l.Aquarium=2]="Aquarium",l[l.ATM=3]="ATM",l[l.Bakery=4]="Bakery",l[l.Bank=5]="Bank",l[l.Beach=6]="Beach",l[l.Brewery=7]="Brewery",l[l.Cafe=8]="Cafe",l[l.Campground=9]="Campground",l[l.CarRental=10]="CarRental",l[l.EVCharger=11]="EVCharger",l[l.FireStation=12]="FireStation",l[l.FitnessCenter=13]="FitnessCenter",l[l.FoodMarket=14]="FoodMarket",l[l.GasStation=15]="GasStation",l[l.Hospital=16]="Hospital",l[l.Hotel=17]="Hotel",l[l.Laundry=18]="Laundry",l[l.Library=19]="Library",l[l.Marina=20]="Marina",l[l.MovieTheater=21]="MovieTheater",l[l.Museum=22]="Museum",l[l.NationalPark=23]="NationalPark",l[l.Nightlife=24]="Nightlife",l[l.Park=25]="Park",l[l.Parking=26]="Parking",l[l.Pharmacy=27]="Pharmacy",l[l.Police=28]="Police",l[l.PostOffice=29]="PostOffice",l[l.PublicTransport=30]="PublicTransport",l[l.Restaurant=31]="Restaurant",l[l.Restroom=32]="Restroom",l[l.School=33]="School",l[l.Stadium=34]="Stadium",l[l.Store=35]="Store",l[l.Theater=36]="Theater",l[l.University=37]="University",l[l.Winery=38]="Winery",l[l.Zoo=39]="Zoo",l);function E(e){switch(e){case 0:return mapkit.PointOfInterestCategory.Airport;case 1:return mapkit.PointOfInterestCategory.AmusementPark;case 2:return mapkit.PointOfInterestCategory.Aquarium;case 3:return mapkit.PointOfInterestCategory.ATM;case 4:return mapkit.PointOfInterestCategory.Bakery;case 5:return mapkit.PointOfInterestCategory.Bank;case 6:return mapkit.PointOfInterestCategory.Beach;case 7:return mapkit.PointOfInterestCategory.Brewery;case 8:return mapkit.PointOfInterestCategory.Cafe;case 9:return mapkit.PointOfInterestCategory.Campground;case 10:return mapkit.PointOfInterestCategory.CarRental;case 11:return mapkit.PointOfInterestCategory.EVCharger;case 12:return mapkit.PointOfInterestCategory.FireStation;case 13:return mapkit.PointOfInterestCategory.FitnessCenter;case 14:return mapkit.PointOfInterestCategory.FoodMarket;case 15:return mapkit.PointOfInterestCategory.GasStation;case 16:return mapkit.PointOfInterestCategory.Hospital;case 17:return mapkit.PointOfInterestCategory.Hotel;case 18:return mapkit.PointOfInterestCategory.Laundry;case 19:return mapkit.PointOfInterestCategory.Library;case 20:return mapkit.PointOfInterestCategory.Marina;case 21:return mapkit.PointOfInterestCategory.MovieTheater;case 22:return mapkit.PointOfInterestCategory.Museum;case 23:return mapkit.PointOfInterestCategory.NationalPark;case 24:return mapkit.PointOfInterestCategory.Nightlife;case 25:return mapkit.PointOfInterestCategory.Park;case 26:return mapkit.PointOfInterestCategory.Parking;
1case 27:return mapkit.PointOfInterestCategory.Pharmacy;case 28:return mapkit.PointOfInterestCategory.Police;case 29:return mapkit.PointOfInterestCategory.PostOffice;case 30:return mapkit.PointOfInterestCategory.PublicTransport;case 31:return mapkit.PointOfInterestCategory.Restaurant;case 32:return mapkit.PointOfInterestCategory.Restroom;case 33:return mapkit.PointOfInterestCategory.School;case 34:return mapkit.PointOfInterestCategory.Stadium;case 35:return mapkit.PointOfInterestCategory.Store;case 36:return mapkit.PointOfInterestCategory.Theater;case 37:return mapkit.PointOfInterestCategory.University;case 38:return mapkit.PointOfInterestCategory.Winery;case 39:return mapkit.PointOfInterestCategory.Zoo;default:throw RangeError("Invalid point of interest category")}}function M(e){return new mapkit.CoordinateRegion(new mapkit.Coordinate(e.centerLatitude,e.centerLongitude),new mapkit.CoordinateSpan(e.latitudeDelta,e.longitudeDelta))}function L(e,t,a,r){(0,u.useEffect)(()=>{if(!e||!a)return;let n=e=>{a(r(e))};return e.addEventListener(t,n),()=>e.removeEventListener(t,n)},[e,a])}let S=u.forwardRef(({children:e,load:t,token:a,colorScheme:r=C.Light,mapType:n=P.Standard,distances:i=v.Adaptive,loadPriority:o=O.LandCover,isRotationEnabled:s=!0,isScrollEnabled:l=!0,isZoomEnabled:d=!0,showsCompass:p=b.Adaptive,showsScale:f=b.Hidden,showsMapTypeControl:m=!0,showsZoomControl:I=!0,showsUserLocationControl:S=!1,showsPointsOfInterest:A=!0,showsUserLocation:R=!1,tracksUserLocation:T=!1,allowWheelToZoom:D=!1,includedPOICategories:F,excludedPOICategories:j,paddingTop:x=0,paddingRight:H=0,paddingBottom:B=0,paddingLeft:V=0,initialRegion:U,cameraBoundary:N,minCameraDistance:Z=0,maxCameraDistance:_=1/0,onLoad:W,onRegionChangeStart:q,onRegionChangeEnd:G,onMapTypeChange:X,onSingleTap:Y,onDoubleTap:z,onLongPress:$,onUserLocationChange:J,onUserLocationError:K,onClick:Q,onMouseMove:ee,onMouseDown:et,onMouseUp:ea},er)=>{let[en,ei]=(0,u.useState)(null),eo=(0,u.useRef)(null),es=(0,u.useRef)(!1);(0,u.useEffect)(()=>(("function"==typeof t?t:function(e){return null!==k||(k=new Promise(t=>{let a=document.createElement("script");a.addEventListener("load",()=>{mapkit.init({authorizationCallback:t=>t(e)}),t()},{once:!0}),a.src="https://cdn.apple-mapkit.com/mk/5.x.x/mapkit.js",a.crossOrigin="anonymous",document.head.appendChild(a)})),k})(a).then(()=>{if(es.current)return;let e=U?{region:M(U)}:{};ei(new mapkit.Map(eo.current,e)),es.current=!0}),()=>{en&&(en.destroy(),es.current=!1)}),[]),(0,u.useEffect)(()=>{null!==en&&(null==W||W())},[en]),(0,u.useImperativeHandle)(er,()=>en,[en]);let el=function(e,{defaultValue:t=!1,initializeWithValue:a=!0}={}){let r=e=>y?t:window.matchMedia(e).matches,[n,i]=(0,u.useState)(()=>a?r(e):t);function o(){i(r(e))}return g(()=>{let t=window.matchMedia(e);return o(),t.addListener?t.addListener(o):t.addEventListener("change",o),()=>{t.removeListener?t.removeListener(o):t.removeEventListener("change",o)}},[e]),n}("(prefers-color-scheme: dark)");(0,u.useEffect)(()=>{en&&(en.colorScheme=function(e,t){switch(e){case 1:return mapkit.Map.ColorSchemes.Dark;case 0:return mapkit.Map.ColorSchemes.Light;case 2:return t?mapkit.Map.ColorSchemes.Dark:mapkit.Map.ColorSchemes.Light;default:throw RangeError("Invalid color scheme")}}(r,el))},[en,r,el]),(0,u.useEffect)(()=>{en&&(en.mapType=function(e){switch(e){case 0:return mapkit.Map.MapTypes.Standard;case 1:return mapkit.Map.MapTypes.MutedStandard;case 2:return mapkit.Map.MapTypes.Hybrid;case 3:return mapkit.Map.MapTypes.Satellite;default:throw RangeError("Invalid map type")}}(n))},[en,n]),(0,u.useEffect)(()=>{en&&(en.distances=function(e){switch(e){case 0:return mapkit.Map.Distances.Adaptive;case 1:return mapkit.Map.Distances.Metric;case 2:return mapkit.Map.Distances.Imperial;default:throw RangeError("Invalid distances value")}}(i))},[en,i]),(0,u.useEffect)(()=>{en&&(en.loadPriority=function(e){switch(e){case 0:return mapkit.Map.LoadPriorities.LandCover;case 1:return mapkit.Map.LoadPriorities.PointsOfInterest;case 2:return mapkit.Map.LoadPriorities.None;default:throw RangeError("Invalid load priority")}}(o))},[en,o]),Object.entries({isRotationEnabled:s,isScrollEnabled:l,isZoomEnabled:d,showsMapTypeControl:m,showsZoomControl:I,showsUserLocationControl:S,showsPointsOfInterest:A,showsUserLocation:R,tracksUserLocation:T}
1).forEach(([e,t])=>{(0,u.useEffect)(()=>{en&&(en[e]=t)},[en,t])}),Object.entries({showsCompass:p,showsScale:f}).forEach(([e,t])=>{(0,u.useEffect)(()=>{en&&(en[e]=w(t))},[en,t])}),(0,u.useEffect)(()=>{if(en)try{en._allowWheelToZoom=D}catch{}},[en,D]),(0,u.useEffect)(()=>{en&&(en.padding=new mapkit.Padding(x,H,B,V))},[en,x,H,B,V]),(0,u.useEffect)(()=>{en&&(en.cameraBoundary=N?M(N):null)},[en,N]),(0,u.useEffect)(()=>{en&&(en.cameraZoomRange=new mapkit.CameraZoomRange(Z,_))},[en,Z,_]),(0,u.useEffect)(()=>{if(en){if(F&&j)throw Error("Canât specify both includedPOICategories and excludedPOICategories.");F?en.pointOfInterestFilter=mapkit.PointOfInterestFilter.including(F.map(E)):j?en.pointOfInterestFilter=mapkit.PointOfInterestFilter.excluding(j.map(E)):delete en.pointOfInterestFilter}},[en,F,j]);let ec=()=>{var e;return{centerLatitude:(e=en.region).center.latitude,centerLongitude:e.center.longitude,latitudeDelta:e.span.latitudeDelta,longitudeDelta:e.span.longitudeDelta}};L(en,"region-change-start",q,ec),L(en,"region-change-end",G,ec),L(en,"map-type-change",X,()=>(function(e){switch(e){case mapkit.Map.MapTypes.Standard:return 0;case mapkit.Map.MapTypes.MutedStandard:return 1;case mapkit.Map.MapTypes.Hybrid:return 2;case mapkit.Map.MapTypes.Satellite:return 3;default:throw RangeError("Invalid map type")}})(en.mapType));let eu=({domEvents:e,pointOnPage:t})=>({domEvents:e,pointOnPage:t,toCoordinates:()=>en.convertPointOnPageToCoordinate(t)});return L(en,"single-tap",Y,eu),L(en,"double-tap",z,eu),L(en,"long-press",$,eu),L(en,"user-location-change",J,({coordinate:{latitude:e,longitude:t},timestamp:a,floorLevel:r})=>({coordinate:{latitude:e,longitude:t},timestamp:a,floorLevel:r})),L(en,"user-location-error",K,({code:e,message:t})=>({code:e,message:t})),[{name:"click",handler:Q},{name:"mousemove",handler:ee},{name:"mousedown",handler:et},{name:"mouseup",handler:ea}].forEach(({name:e,handler:t})=>{(0,u.useEffect)(()=>{var a;if(!en||!t)return;let r=e=>{t({domEvents:[e],pointOnPage:{x:e.pageX,y:e.pageY},toCoordinates(){let{latitude:t,longitude:a}=en.convertPointOnPageToCoordinate(new DOMPoint(e.pageX,e.pageY));return{latitude:t,longitude:a}}})};return null==(a=eo.current)||a.addEventListener(e,r),()=>{var t;
1return null==(t=eo.current)?void 0:t.removeEventListener(e,r)}},[en,t])}),(0,c.jsx)(u.StrictMode,{children:(0,c.jsx)("div",{style:{width:"100%",height:"100%"},ref:eo,children:(0,c.jsx)(h.Provider,{value:en,children:e})})})}),A=u.forwardRef(({children:e,type:t="container"},a)=>(0,c.jsx)("div",{className:`mk-callout-${t}`,ref:a,children:e}));function R({latitude:e,longitude:t,title:a="",subtitle:r="",accessibilityLabel:n=null,subtitleVisibility:i=b.Adaptive,titleVisibility:o=b.Adaptive,clusteringIdentifier:s=null,displayPriority:l,collisionMode:p,color:f="#ff5b40",glyphColor:m="white",glyphText:g="",glyphImage:y=null,selectedGlyphImage:k=null,paddingTop:C=0,paddingRight:P=0,paddingBottom:v=0,paddingLeft:O=0,anchorOffsetX:I=0,anchorOffsetY:E=0,calloutElement:M,calloutContent:S,calloutLeftAccessory:T,calloutRightAccessory:D,calloutEnabled:F,calloutOffsetX:j=0,calloutOffsetY:x=0,selected:H=!1,animates:B=!0,appearanceAnimation:V="",visible:U=!0,draggable:N=!1,enabled:Z=!0,onSelect:_,onDeselect:W,onDragStart:q,onDragEnd:G,onDragging:X}){let[Y,z]=(0,u.useState)(null),$=(0,u.useContext)(h);(0,u.useEffect)(()=>{Y&&(Y.subtitleVisibility=w(i))},[Y,i]),(0,u.useEffect)(()=>{Y&&(Y.titleVisibility=w(o))},[Y,o]),(0,u.useEffect)(()=>{Y&&(Y.padding=new mapkit.Padding(C,P,v,O))},[Y,C,P,v,O]),(0,u.useEffect)(()=>{Y&&(Y.anchorOffset=new DOMPoint(I,E))},[Y,I,E]),(0,u.useEffect)(()=>{Y&&(Y.calloutOffset=new DOMPoint(j,x))},[Y,j,x]);let J=(0,u.useRef)(null),K=(0,u.useRef)(null),Q=(0,u.useRef)(null),ee=(0,u.useRef)(null);(0,u.useLayoutEffect)(()=>{if(!Y)return;let e={};return M&&null!==ee.current&&(e.calloutElementForAnnotation=()=>ee.current),T&&null!==J.current&&(e.calloutLeftAccessoryForAnnotation=()=>J.current),D&&null!==K.current&&(e.calloutRightAccessoryForAnnotation=()=>K.current),S&&null!==Q.current&&(e.calloutContentForAnnotation=()=>Q.current),Object.keys(e).length>0?Y.callout=e:delete Y.callout,()=>{delete Y.callout}},[Y,M,T,D,S,ee.current,J.current,K.current,Q.current]),(0,u.useEffect)(()=>{Y&&("Circle"===p?Y.collisionMode=mapkit.Annotation.CollisionMode.Circle:"Rectangle"===p?Y.collisionMode=mapkit.Annotation.CollisionMode.Rectangle:delete Y.collisionMode)},[Y,p]),(0,u.useEffect)(()=>{if(Y){if(void 0===l)return void delete Y.displayPriority;Y.displayPriority=function(e){if("number"==typeof e){if(e<0||e>1e3)throw RangeError("Display priority is out of range (0 to 1000)");return e}switch(e){case"low":return mapkit.Annotation.DisplayPriority.Low;case"high":return mapkit.Annotation.DisplayPriority.High;case"required":return mapkit.Annotation.DisplayPriority.Required;default:throw RangeError("Invalid display priority")}}(l)}},[Y,l]),Object.entries({title:a,subtitle:r,accessibilityLabel:n,color:f,glyphColor:m,glyphText:g,glyphImage:y,selectedGlyphImage:k,clusteringIdentifier:s,selected:H,animates:B,appearanceAnimation:V,draggable:N,enabled:Z,visible:U,calloutEnabled:F}).forEach(([e,t])=>{(0,u.useEffect)(()=>{if(Y){if(void 0===t)return void delete Y[e];Y[e]=t}},[Y,t])});let et=()=>{};return[{name:"select",handler:_},{name:"deselect",handler:W},{name:"drag-start",handler:q}].forEach(({name:e,handler:t})=>{L(Y,e,t,et)}),L(Y,"drag-end",G,()=>({latitude:Y.coordinate.latitude,longitude:Y.coordinate.longitude})),L(Y,"dragging",X,e=>({latitude:e.coordinate.latitude,longitude:e.coordinate.longitude})),(0,u.useLayoutEffect)(()=>{if(null===$)return;let a=new mapkit.MarkerAnnotation(new mapkit.Coordinate(e,t));return $.addAnnotation(a),z(a),()=>{$.removeAnnotation(a)}},[$,e,t]),(0,d.createPortal)((0,c.jsxs)("div",{style:{display:"none"},children:[void 0!==S&&(0,c.jsx)(A,{ref:Q,type:"content",children:S}),void 0!==T&&(0,c.jsx)(A,{ref:J,type:"left",children:T}),void 0!==D&&(0,c.jsx)(A,{ref:K,type:"right",children:D}),void 0!==M&&(0,c.jsx)(A,{ref:ee,type:"container",children:M})]}),document.body)}}}]);
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.