PageSourceSearch

https://teliportme.com/_next/static/chunks/6301.d7b2e4df268c1d6b.js

js teliportme.com collected 2026-09-24 10:09:50 UTC 3,491 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6301],{86301:function(e,t,n){n.r(t);var a=n(29815),r=n(85893),l=n(67294),s=n(64593),o=n(37054),i=n(89583),c=["places"],d={width:"100%",height:"100%"},m={lat:-3.745,lng:-38.523};t.default=function(){var e=(0,l.useState)(null),t=e[0],n=e[1],u=(0,l.useState)(null),h=u[0],g=u[1],f=(0,l.useState)([]),p=f[0],x=f[1],w=(0,l.useState)([]),b=w[0],v=w[1];return(0,r.jsxs)("div",{className:"mx-auto w-full px-4",children:[(0,r.jsx)(s.q,{children:(0,r.jsx)("title",{children:"Sales Tool"})}),(0,r.jsx)("h1",{className:"text-4xl",children:"Sales Tool"}),(0,r.jsxs)("div",{className:"flex flex-wrap",children:[(0,r.jsx)("div",{className:"w-full sm:w-2/3",children:(0,r.jsx)("div",{className:"tme-vh-75",children:(0,r.jsx)(o.KJ,{googleMapsApiKey:"AIzaSyCr2VcAjuBzm-3ilhds_55FFCZ7ySozwFM",libraries:c,children:(0,r.jsx)(o.b6,{mapContainerStyle:d,center:m,zoom:10,onLoad:function(e){return g(e)},children:(0,r.jsx)(o.Zk,{onLoad:function(e){return n(e)},onPlacesChanged:function(){var e=[],n=new window.google.maps.places.PlacesService(h),a=t.getPlaces();if(0!==a.length){var r=a[0],l={lat:r.geometry.location.lat(),lng:r.geometry.location.lng()};n.nearbySearch({location:l,radius:500,type:["restaurant"]},(function(t,n,a){var r=function(t){var n=l[t],a={lat:n.geometry.location.lat(),lng:n.geometry.location.lng()};o.getPanorama({location:a,radius:1},(function(a,r){r===window.google.maps.StreetViewStatus.ZERO_RESULTS&&(e.push(n),new window.google.maps.Marker({position:n.geometry.location,map:h}).setMap(h));t===l.length-1&&x(e)})),s.extend(n.geometry.location)};if("OK"===n){for(var l=t.filter((function(e){return"OPERATIONAL"===e.business_status})),s=new window.google.maps.LatLngBounds,o=new window.google.maps.StreetViewService,i=0;i<l.length;i++)r(i);h.fitBounds(s)}}))}},children:(0,r.jsx)("input",{type:"text",placeholder:"Enter place",className:"tme-translate-x--50 tme-left-50 absolute mt-2 w-64 rounded border-none p-2 outline-0"})})})})})}),(0,r.jsxs)("div",{className:"w-full px-4 sm:w-1/3",children:[(0,r.jsx)("div",{className:"text-center",children:p.length>0?(0,r.jsx)("button",{className:"link mb-2 inline-block cursor-pointer rounded border-none bg-blue-500 px-4 py-2 text-base text-white hover:bg-blue-700",onClick:function(){var e=function(e){var t=p[e];new window.google.maps.places.PlacesService(h).getDetails({fields:["formatted_phone_number","website"],placeId:t.place_id},(function(e,n,r){if(e){var l=Object.assign(e,{itemId:t.place_id,name:t.name});v((function(e){return(0,a.Z)(e).concat([l])}))}}))};v([]);for(var t=0;t<p.length;t++)e(t)},children:"Find Contact Details"}):(0,r.jsx)("div",{children:"Please search for a place first!"})}),b.length>0&&b.map((function(e,t){return(0,r.jsxs)("div",{className:"border border-b border-gray-200 p-2",children:[(0,r.jsx)("h3",{className:"mb-1",children:e.name}),e.website&&(0,r.jsxs)("div",{className:"mt-2 flex items-center",children:[(0,r.jsx)(i.q3v,{className:"mr-2 h-4 w-4 text-gray-800"}),(0,r.jsx)("a",{href:e.website,target:"_blank",rel:"noopener noreferrer",className:"text-gray-800",children:"Website"})]}),e.formatted_phone_number&&(0,r.jsxs)("div",{className:"mt-2 flex items-center",children:[(0,r.jsx)(i.I7T,{className:"mr-2 h-4 w-4 text-gray-800"}),(0,r.jsxs)("a",{href:"tel:".concat(e.formatted_phone_number),target:"_blank",rel:"noopener noreferrer",className:"mt-2 text-gray-800",children:["Ph: ",e.formatted_phone_number]})]})]},t)}))]})]})]})}}}]);

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.