PageSourceSearch

https://www.bytefederal.com/_astro/SearchAtm.astro_astro_type_script_index_0_lang.B5wdpPJv.js

js bytefederal.com collected 2026-10-02 05:28:04 UTC 14,480 bytes, 1 lines download raw bytes

1import{n as e,t}from"./usSpanishRoutes.CxfCu1L0.js";import{t as n}from"./localizeLinks.D4bvQ1D-.js";var r={us:{siteUrl:`https://www.bytefederal.com`,deployment:{alternateHosts:[`bytefederal.com`,`byteviewer.bytefederal.com`,`hitzoom.bytefederal.com`],canonicalRedirectHosts:[`byteviewer.bytefederal.com`],corsOrigins:[],localeRoutingExemptHosts:[`hitzoom.bytefederal.com`]},features:{converter:!0,bytevaultLightning:!1},country:{name:`United States`,code:`US`,flag:`/img/flag/united-states.webp`,aliases:[`us`,`usa`,`united states`,`united states of america`]},siteName:`Byte Federal`,companyName:`Byte Federal, Inc.`,titleBrandAliases:[],locales:[{astroLocale:`en`,locale:`en-US`,language:`en`,pathPrefix:``,primary:!0},{astroLocale:`es-us`,locale:`es-US`,language:`es`,pathPrefix:`/es-us`,primary:!1,fallbackTo:`en`,seo:{indexablePaths:t,indexablePathPatterns:e}}],contact:{email:`[email protected]`,internationalPhone:`+17866862983`,localPhone:`(786) 686-2983`,availableLanguages:[`English`,`Spanish`]},address:{displayLines:[`Venice, FL`,`34292`],locality:`Venice`,region:`FL`,postalCode:`34292`},socialLinks:{facebook:`https://www.facebook.com/bytefederal`,instagram:`https://www.instagram.com/bytefederalatm`,tiktok:`https://www.tiktok.com/@bytefederal`,youtube:`https://www.youtube.com/@bytefederal`,linkedin:`https://www.linkedin.com/company/bytefederal`,twitter:`https://x.com/ByteFederal`},seo:{alternateOrganizationName:`Byte Federal, Inc.`,organizationDescription:`Byte Federal operates the largest network of Bitcoin ATMs in the United States, enabling users to buy cryptocurrency with cash at thousands of convenient locations.`,websiteDescription:`Find Bitcoin ATMs near you to buy cryptocurrency with cash. Byte Federal operates thousands of Bitcoin ATMs across the United States.`,logo:{path:`/img/logo/logo.svg`,width:600,height:60},imagePath:`/img/schema/schema.avif`,additionalProfiles:[`https://www.crunchbase.com/organization/byte-federal`],searchPath:`/bitcoin-atm-near-me?search={search_term_string}`,sitemapExcludedPaths:[]}},au:{siteUrl:`https://bytefederal.au`,deployment:{alternateHosts:[`www.bytefederal.au`,`staging.bytefederal.au`],canonicalRedirectHosts:[`www.bytefederal.au`],corsOrigins:[`https://staging.bytefederal.au`],localeRoutingExemptHosts:[]},features:{converter:!0,bytevaultLightning:!0},country:{name:`Australia`,code:`AU`,flag:`/img/flag/australia.webp`,aliases:[`au`,`australia`]},siteName:`ByteFederal Australia`,companyName:`ByteFederal Australia Trading Pty Ltd`,titleBrandAliases:[`Byte Federal Australia`],locales:[{astroLocale:`en-au`,locale:`en-AU`,language:`en`,pathPrefix:``,primary:!0},{astroLocale:`zh-au`,locale:`zh-AU`,language:`zh`,pathPrefix:`/zh-au`,primary:!1,fallbackTo:`en-au`},{astroLocale:`es-au`,locale:`es-AU`,language:`es`,pathPrefix:`/es-au`,primary:!1,fallbackTo:`en-au`}],contact:{email:`[email protected]`,internationalPhone:`+611300298328`,localPhone:`1300 BYTEAU (298 328)`,availableLanguages:[`English`]},address:{displayLines:[`International Towers`,`Level 24, Tower 3`,`300 Barangaroo Avenue`,`Sydney, NSW, 2000, Australia`],streetAddress:`International Towers, Level 24, Tower 3, 300 Barangaroo Avenue`,locality:`Sydney`,region:`NSW`,postalCode:`2000`},socialLinks:{facebook:`https://www.facebook.com/ByteFederalAU`,instagram:`https://www.instagram.com/bytefederalau/`,tiktok:`https://www.tiktok.com/@bytefederalau`,youtube:`https://www.youtube.com/@ByteFederalAUS`,linkedin:`https://www.linkedin.com/company/bytefederal-australia/`,twitter:`https://twitter.com/ByteFederalAU`},seo:{organizationDescription:`ByteFederal Australia develops digital asset infrastructure across Bitcoin ATMs, self-custody and payments for customers and businesses in Australia.`,websiteDescription:`Find Bitcoin ATMs and explore digital asset payment infrastru
1cture from ByteFederal Australia.`,logo:{path:`/img/logo/bf_australia_header.svg`},searchPath:`/bitcoin-atm-near-me?search={search_term_string}`,sitemapExcludedPaths:[`/legal/terms`,`/privacy-policy`,`/terms-conditions`]}},sr:{siteUrl:`https://www.bytefederal.sr`,deployment:{alternateHosts:[`bytefederal.sr`],canonicalRedirectHosts:[],corsOrigins:[],localeRoutingExemptHosts:[]},features:{converter:!1,bytevaultLightning:!1},country:{name:`Suriname`,code:`SR`,flag:`/img/flag/suriname.webp`,aliases:[`sr`,`suriname`]},siteName:`ByteFederal Suriname`,companyName:`Byte Federal, Inc.`,titleBrandAliases:[`Byte Federal Suriname`],locales:[{astroLocale:`nl-sr`,locale:`nl-SR`,language:`nl`,pathPrefix:``,primary:!0},{astroLocale:`en-sr`,locale:`en-SR`,language:`en`,pathPrefix:`/en-sr`,primary:!1,fallbackTo:`nl-sr`}],contact:{email:void 0,internationalPhone:`+5978568436`,localPhone:`+597 856-8436`,availableLanguages:[`Dutch`,`English`]},address:{displayLines:[`verlengde Keizerstraat #17`,`Paramaribo, Suriname`],streetAddress:`verlengde Keizerstraat #17`,locality:`Paramaribo`},socialLinks:{facebook:`https://www.facebook.com/bytefederal.sr`,instagram:`https://www.instagram.com/bytefederal.sr/`},seo:{organizationDescription:`ByteFederal Suriname provides Bitcoin ATM services for customers in Suriname.`,websiteDescription:`Find Bitcoin ATMs and explore cryptocurrency services from ByteFederal Suriname.`,logo:{path:`/img/logo/logo.svg`},searchPath:`/bitcoin-atm-near-me?search={search_term_string}`,sitemapExcludedPaths:[]}}},i=Object.entries(r),a=r.us;function o(e){let t=e.locales.filter(e=>e.primary);if(t.length!==1)throw Error(`${e.siteName} must configure exactly one primary locale; found ${t.length}.`);return t[0]}o(a).astroLocale,i.flatMap(([,e])=>e.locales.map(e=>e.astroLocale)),Object.fromEntries(i.filter(([e])=>e!==`us`).map(([,e])=>[o(e).astroLocale,e.siteUrl])),Object.fromEntries(i.flatMap(([,e])=>e.locales.filter(e=>!e.primary&&e.fallbackTo).map(e=>[e.astroLocale,e.fallbackTo]))),i.map(([e,t])=>({region:e,country:t.country.name,url:t.siteUrl,flag:t.country.flag}));var s=`embed`,c=`theme`,l=`locale`;function u(e){let t=e.searchParams.get(s);return t!==null&&t!==`0`&&t!==`false`}var d=[...new Set(i.map(([,e])=>new URL(e.siteUrl).hostname.replace(/^www\./,``)))],f=[`http://localhost:8000`,`http://127.0.0.1:8000`];function p(e=!1){let t=d.map(e=>`https://*.${e}`),n=e?f:[];return`frame-ancestors 'self' ${[...t,...n].join(` `)}`}p();function m(e,t,n,r={}){let i=new URLSearchParams({latitude:String(t),longitude:String(n)}),a=r.search?.trim();if(a&&i.set(`search`,a),r.geolocation&&i.set(`from`,`geolocation`),u(e)){i.set(s,e.searchParams.get(`embed`)||`1`);let t=e.searchParams.get(l);t&&i.set(l,t);let n=r.theme??e.searchParams.get(`theme`);(n===`light`||n===`dark`)&&i.set(c,n)}return`/bitcoin-atm-near-me?${i.toString()}`}var h=15e3,g=2,_=[`us`,`sr`,`au`],v=[`near me`,`nearby`,`closest`,`nearest`,`current location`,`my location`,`where i am`,`bitcoin atm near me`,`atm near me`,`bitcoin atm nearby`],y=e=>{let t=e.trim().toLowerCase();return t?v.some(e=>t===e||t.includes(e)):!1},b=(e,t,r)=>{let i=new URL(window.location.href),a=document.documentElement.dataset.embedTheme,o=a===`dark`||a===`light`?a:null;return n(m(i,e,t,{...r,theme:o}))},x=(e,t)=>{try{window.posthog?.capture(e,{page:window.location.pathname,...t})}catch{}},S=!1,C=null,w=()=>C||(S?new Promise((e,t)=>{let n=window.setInterval(()=>{typeof google<`u`&&google.maps?.places&&(window.clearInterval(n),e())},100);window.setTimeout(()=>{window.clearInterval(n),t(Error(`Google Maps load timeout`))},15e3)}):typeof google<`u`&&google.maps?.places?(C=Promise.resolve(),C):(S=!0,C=fetch(`/api/maps-script?libraries=places&callback=initMap`).then(e=>e.json()).then(e=>new Promise((t,n)=>{if(e.error||!e.scriptUrl){S=!1,C=null,n(Error(e.error||`Missing scriptUrl`));return}let r=document.createElement(`script`);r.src=e.scriptUrl,r.async=!0,r.onerror=()=>{S=!1,C=null,n(Error(`Failed to load Google Maps script`))},window.initMap=()=>{S=!1,t()},document.head.appendChild(r)})).catch(e=>{throw S=!1,C=null,e}),C)),T=(e,t=`info`)=>{let n=t===`error`?`var(--red)`:t===`success`?`#22c55e`:`#3b82f6`,r=document.createElement(`div`);r.className=`fixed left-4 right-4 sm:left-auto sm:right-4 sm:max-w-sm px-5 py-3 rounded-2xl sm:rounded-full text-white text-sm font-medium shadow-lg transition-all duration-300 transform translate-y-[-20px] opacity-0 text-center text-balance sm:text-left sm:text-wrap`,r.style.top=`calc(var(--header-height, 65px) + var(--topbar-visible, 0px) + 1.25rem)`,r.style.zIndex=`10000`,r.style.backgroundColor=n,r.textContent=e,r.setAttribute(`role`,t===`error`?`alert`:`status`),document.body.appendChild(r),window.setTimeout(()=>{r.classList.remove(`translate-y-[-20px]`,`opacity-0`)},100),window.setTimeout(()=>{r.classList.add(`translate-y-[-20px]`,`opacity-0`),window.setTimeout(()=>r.remove(),300)},4e3)},E=new WeakSet,D=()=>{let e=document.getElementById(`address-input`),t=document.getElementById(`use-location`),n=document.getElementById(`locationIcon`),r=document.getElementById(`locationLoader`),i=document.getElementById(`input__searchIcon`),a=document.getElementById(`input__pinIcon`),o=document.querySelector(`input[name="countryRestrictions"]`),s=e?.closest(`[data-atm-search]`),c=e?.closest(`[data-search-option]`),l=c?.querySelector(`[data-search-redirecting]`),u=c?.querySelector(`[data-search-status]`),d={permissionDenied:s?.dataset.errorPermissionDenied||`Location access denied. Please enable location services in your browser settings.`,unavailable:s?.dataset.errorUnavailable||`Location information unavailable. Please try again.`,timeout:s?.dataset.errorTimeout||`Location request timed out. Please try again.`,generic:s?.dataset.errorGeneric||`Unable to get your location. Please try again.`,unsupported:s?.dataset.errorUnsupported||`Geolocation is not supported by this browser.`};if(!e||!t||!n||!i||!a||!c||!l||!u||E.has(e))return;E.add(e);
1let f=o?.value.split(`,`).filter(Boolean)??_,p=!1,m=null,v=0,S=()=>{m!==null&&(window.clearTimeout(m),m=null)},C=()=>{t.classList.remove(`cursor-not-allowed`,`is-loading`),t.classList.add(`cursor-pointer`),t.disabled=!1,t.removeAttribute(`aria-busy`),n.classList.remove(`is-loading`,`hidden`),r?.classList.add(`hidden`),p=!1,v=0,S()},D=()=>{t.classList.add(`cursor-not-allowed`,`is-loading`),t.classList.remove(`cursor-pointer`),t.disabled=!0,t.setAttribute(`aria-busy`,`true`),n.classList.add(`hidden`),r?.classList.remove(`hidden`),p=!0},O=e=>{let{latitude:t,longitude:n}=e.coords;x(`atm_use_location`,{search_method:`device_geolocation`,retry_count:v}),window.location.href=b(t,n,{geolocation:!0})},k=e=>{let t;switch(e.code){case e.PERMISSION_DENIED:t=d.permissionDenied;break;case e.POSITION_UNAVAILABLE:t=d.unavailable;break;case e.TIMEOUT:t=d.timeout;break;default:t=d.generic}T(t,`error`),C(),M(!1)},A=()=>{T(d.timeout,`error`),C(),M(!1)},j=()=>{if(!p){if(D(),!navigator.geolocation){T(d.unsupported,`error`),C(),M(!1);return}m=window.setTimeout(A,16e3),navigator.geolocation.getCurrentPosition(e=>{S(),O(e)},e=>{S(),v<g&&(e.code===e.POSITION_UNAVAILABLE||e.code===e.TIMEOUT)?(v++,window.setTimeout(()=>{navigator.geolocation.getCurrentPosition(O,e=>{v<g?(v++,window.setTimeout(()=>{navigator.geolocation.getCurrentPosition(O,k,{enableHighAccuracy:!1,timeout:h*2,maximumAge:3e5})},1e3)):k(e)},{enableHighAccuracy:!1,timeout:h*(v+1),maximumAge:12e4})},1e3)):k(e)},{enableHighAccuracy:!0,timeout:h,maximumAge:6e4})}},M=t=>{let n=`pac-container-opacity-style`,r=document.getElementById(n);t?(r||(r=document.createElement(`style`),r.id=n,r.textContent=`.pac-container { opacity: 0 !important; pointer-events: none !important; }`,document.head.appendChild(r)),e.classList.add(`location-mode`),e.style.outline=`2px solid var(--red)`,i.classList.add(`hidden`),a.classList.remove(`hidden`)):(r?.remove(),e.classList.remove(`location-mode`),e.style.outline=``,i.classList.remove(`hidden`),a.classList.add(`hidden`))},N=()=>{!e.value&&s?.dataset.geolocationContext===`true`&&(e.classList.add(`location-mode`),e.style.outline=``,i.classList.add(`hidden`),a.classList.remove(`hidden`))},P=()=>{M(y(e.value)),c.classList.toggle(`has-query`,!!e.value.trim())};e.addEventListener(`input`,P),e.value&&P();let F=!1,I=!1,L=()=>{F&&(F=!1,I=!1,e.readOnly=!1,e.removeAttribute(`aria-busy`),c.classList.remove(`is-redirecting`),u.textContent=``,P(),N())},R=(t,n,r)=>{F||(F=!0,I=!1,x(`atm_search`,{search_method:n,query_length:Array.from(r.trim()).length}),e.value=``,e.readOnly=!0,e.setAttribute(`aria-busy`,`true`),e.blur(),M(!1),c.classList.remove(`has-query`),c.classList.add(`is-redirecting`),u.textContent=l.textContent?.trim()||`Redirecting…`,window.setTimeout(()=>{window.location.href=t},50))};window.addEventListener(`pageshow`,e=>{e.persisted&&L()});let z=t=>{let n=t.getPlace();if(!n.geometry)return;let r=n.geometry.location?.lat(),i=n.geometry.location?.lng();if(r!=null&&i!=null){let t=n.formatted_address||n.name||e.value;R(b(r,i,{search:t}),`autocomplete_selection`,e.value)}},B=null,V=null,H=e=>new Promise((t,n)=>{B??=new google.maps.places.AutocompleteService,B.getPlacePredictions({input:e,types:[`geocode`],componentRestrictions:{country:f}},(e,r)=>{r===google.maps.places.PlacesServiceStatus.OK?t(e||[]):n(Error(String(r)))})}),U=e=>new Promise((t,n)=>{V??=new google.maps.places.PlacesService(document.createElement(`div`)),V.getDetails({placeId:e},(e,r)=>{r===google.maps.places.PlacesServiceStatus.OK?e?t(e):n(Error(`Place details not available`)):n(Error(`PlacesService error: ${r}`))})}),W=()=>{let t=new google.maps.places.Autocomplete(e,{types:[`geocode`],componentRestrictions:{country:f}});t.addListener(`place_changed`,()=>{z(t)}),e.addEventListener(`keydown`,async t=>{if(t.key!==`Enter`||(t.preventDefault(),F||I))return;if(y(e.value)){j();return}let n=e.value.trim();if(n){I=!0;try{let e=await H(n);if(!e.length){I=!1;return}let t=await U(e[0].place_id);if(!t.geometry){I=!1;return}let r=t.geometry.location?.lat(),i=t.geometry.location?.lng();if(r!=null&&i!=null){let e=t.formatted_address||t.name||n;R(b(r,i,{search:e}),`enter`,n)}else I=!1}catch{I=!1}}})};t.addEventListener(`click`,j),C();let G=()=>{S()};window.addEventListener(`beforeunload`,G),window.addEventListener(`pagehide`,G);let K=()=>{w().then(W).catch(()=>{})};if(s?.dataset.hasSearchContext===`true`){let t=()=>{M(y(e.value))};e.addEventListener(`focus`,t),e.addEventListener(`blur`,N),document.activeElement===e&&t()}e.addEventListener(`focus`,K,{once:!0,passive:!0}),e.addEventListener(`click`,K,{once:!0,passive:!0})};D(),document.addEventListener(`astro:after-swap`,D);

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.