PageSourceSearch

https://bepark.eu/app/_expo/static/js/web/details-map-efd0356c309ff48857ea8697a5730a9c.js

js bepark.eu collected 2026-09-24 18:24:50 UTC 3,060 bytes, 1 lines download raw bytes

1__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){const{t:t}=(0,u.useTranslation)(),{selectedVehicle:o,selectedPeriod:F,selectedZone:S,selectedCommitment:C}=(0,h.useCheckoutStore)(),{selectedParking:P}=(0,x.useParkingStore)(),{subscriptionType:T}=(0,f.useParkingFilterStore)(),{getBookingProductFromUserChoices:j,getSubscriptionProductFromUserChoices:v}=(0,b.useProductStore)(),M=(0,w.isPrerenderCrawler)(),E=(0,n.useRef)(null),[B,V]=(0,n.useState)(null),A=(0,n.useRef)(null),O=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(M||!E.current||!P?.latitude||!P?.longitude)return;let t=!1,n=null;return r(d[16])(d[15],d.paths).then(({default:o})=>{!t&&E.current&&P?.latitude&&P?.longitude&&(o.accessToken=c.default.MAPBOX_TOKEN,O.current=o,n=new o.Map({container:E.current,style:"mapbox://styles/mapbox/streets-v11",center:[P.longitude,P.latitude],zoom:14}),n.on("error",t=>{console.warn("Mapbox details map error:",t.error)}),V(n))}).catch(t=>{console.warn("Unable to load Mapbox details map:",t)}),()=>{t=!0,n?.remove(),O.current=null}},[P,M]);const R=()=>{let n;return n=T==p.SubscriptionTypeEnum.BOOKING?j(o,S):v(o,F,S,C),n?.price.toFixed(2)?`${n?.price.toFixed(2)} ${t("parking.price-unit")}`:"-"};return(0,n.useEffect)(()=>{const t=O.current;if(!(t&&B&&P?.longitude&&P?.latitude))return;A.current&&A.current.remove();const n=document.createElement("div");n.style.backgroundColor="#FFFFFF",n.style.color='#000000',n.style.width="60px",n.style.height="22px",n.style.textAlign="center",n.style.borderRadius='20px',n.style.boxShadow='20px',n.style.boxShadow='0px 2px 1px rgba(0, 0, 0, 0.3)',n.innerText=R(),A.current=n,new t.Marker({element:n}).setLngLat([P.longitude,P.latitude]).addTo(B)},[B,T,o,F,C]),(0,n.useEffect)(()=>{if(!B)return;const t=setTimeout(()=>{const t=document.querySelector(".mapboxgl-ctrl-attrib-inner");"list"===t?.getAttribute("role")&&t.removeAttribute("role")},0);return()=>clearTimeout(t)},[B]),(0,y.jsx)(l.View,{marginVertical:20,style:k.page,children:(0,y.jsxs)(l.ZStack,{style:k.container,children:[(0,y.jsx)(l.View,{ref:E,style:[k.map,M?k.staticMap:null]}),(0,y.jsx)(l.View,{style:{width:"100%",flexDirection:"row",justifyContent:"flex-end",padding:10},children:(0,y.jsxs)(l.Button,{backgroundColor:"white",height:35,width:190,color:"#1B3D61",children:[(0,y.jsx)(s.Map,{width:"20",height:"20"}),t('map.get-direction')]})})]})})};var n=r(d[1]),o=t(r(d[2])),l=r(d[3]),s=r(d[4]),u=r(d[5]),c=t(r(d[6])),p=r(d[7]),h=r(d[8]),x=r(d[9]),f=r(d[10]),b=r(d[11]),w=r(d[12]),y=r(d[13]);r(d[14]).View,r(d[14]).Text;const k=o.default.create({page:{flex:1,justifyContent:"center",alignItems:"center"},container:{height:300,width:"100%",borderRadius:10,overflow:"hidden"},map:{width:"100%",height:"100%"},staticMap:{backgroundColor:"#DAEBF8"}})},1623,{"0":20,"1":28,"2":36,"3":739,"4":1344,"5":722,"6":1114,"7":1231,"8":1416,"9":1326,"10":1107,"11":1419,"12":1523,"13":15,"14":434,"15":1622,"16":1425,"paths":{"1622":"/app/_expo/static/js/web/mapbox-gl-5468d541516592e232347b143175ef45.js"}});

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.