PageSourceSearch

https://app.gethapn.com/assets/LiveMapCameraProvider-CcbsSYD0.js

js gethapn.com collected 2026-10-01 16:34:02 UTC 2,559 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`[email protected]+8b79e4c`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`668378ca-f9c0-4367-910d-d88a4e149a90`,e._sentryDebugIdIdentifier=`sentry-dbid-668378ca-f9c0-4367-910d-d88a4e149a90`)}catch{}})();import{a as e}from"./chunk-CdQOh_pC.js";import{r as t,t as n}from"./jsx-runtime-BXKaDL84.js";import{m as r}from"./dist-BIVQWfY9.js";import{a as i}from"./devices-CNNDGty-.js";import{f as a}from"./hooks-DVCFokjn.js";var o=r(),s=e(t()),c=n(),l=(0,s.createContext)(void 0),u=e=>{let t=(0,o.c)(14),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={},t[0]=r):r=t[0];let[i,a]=(0,s.useState)(r),[u,d]=(0,s.useState)(!1),[f,p]=(0,s.useState)(`far`),m;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(m={bottom:210,top:250,right:60,left:60},t[1]=m):m=t[1];let[h,g]=(0,s.useState)(m),[_,v]=(0,s.useState)(),[y,b]=(0,s.useState)(),[x,S]=(0,s.useState)(0),C;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(C=()=>{d(!1),S(w)},t[2]=C):C=t[2];let T=C,E;t[3]!==i||t[4]!==f||t[5]!==h||t[6]!==_||t[7]!==y||t[8]!==x||t[9]!==u?(E={camera:i,userInteraction:u,recenterNonce:x,recenter:T,followingCameraMode:f,followingMapPadding:h,followingTracker:_,followingTripInfo:y,setCamera:a,setUserInteraction:d,setFollowingCameraMode:p,setFollowingMapPadding:g,setFollowingTracker:v,setFollowingTripInfo:b},t[3]=i,t[4]=f,t[5]=h,t[6]=_,t[7]=y,t[8]=x,t[9]=u,t[10]=E):E=t[10];let D;return t[11]!==n||t[12]!==E?(D=(0,c.jsx)(l.Provider,{value:E,children:n}),t[11]=n,t[12]=E,t[13]=D):D=t[13],D},d=()=>{let e=(0,s.useContext)(l);if(e===void 0)throw Error(`useLiveMapCameraContext must be used within a LiveMapCameraProvider`);return e},f=()=>{let{camera:e}=d();return e},p=()=>{let{setCamera:e}=d();return e},m=()=>{let{userInteraction:e}=d();return e},h=()=>{let{setUserInteraction:e}=d();return e},g=()=>{let{recenterNonce:e}=d();return e},_=()=>{let{recenter:e}=d();return e},v=()=>{let{followingMapPadding:e}=d();return e},y=()=>{let{setFollowingMapPadding:e}=d();return e},b=()=>{let{followingTracker:e}=d(),t=a();return e?t[e]:void 0},x=()=>{let{followingTracker:e}=d(),t=i();return e?t[e]:void 0},S=()=>{let{setFollowingTracker:e}=d();return e},C=()=>{let{followingTracker:e}=d();return!!e};function w(e){return e+1}export{b as a,_ as c,y as d,S as f,v as i,g as l,m,f as n,C as o,h as p,x as r,d as s,u as t,p as u};
2//# sourceMappingURL=LiveMapCameraProvider-CcbsSYD0.js.map

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.