PageSourceSearch

https://www.coastappliances.ca/cdn/shop/t/2719/assets/coast-geo.js?v=166298787178654752751787757935

js coastappliances.ca collected 2026-09-26 00:18:24 UTC 2,166 bytes, 2 lines download raw bytes

1var cacheVersion="6",geoCookieKey="user-geo-"+cacheVersion,ip_data_key="5ef84b996caa8ec9a99bac72ce2d8f7f20a873a45357648a47f64135",ip_data_url="https://api.ipdata.co/?api-key="+ip_data_key,geoCookieDuration=365,defaultStoreCookieDuration=365,storeCookieKey="selected-Coast-store"+cacheVersion,locationsCacheVersion="6",store_data_version=4,store_data_key="store_data",store_locations_key="store_locations";function writeGeoCookie(data){var cookieValue='{"pcode":"'+data.postal+'", "lat":'+data.latitude+'", "lon":'+data.longitude+'", "region_code":'+data.region_code+'", "country_code":'+data.country_code+"}";WriteCookie(geoCookieKey,cookieValue,geoCookieDuration)}function SetGeoData(){var geocookie=readCookie(geoCookieKey),storecookie=readCookie(storeCookieKey);geocookie==null&&$.getJSON(ip_data_url,function(data){try{if(writeGeoCookie(data),storecookie==null){var store_locations_url=getStoreLocationsJson();$.getJSON(store_locations_url,function(storedata){var closestStore=GetClosestStore(data.latitude,data.longitude,storedata);closestStore!=null&&(WriteStoreCookie(closestStore.province,closestStore.id,closestStore.region,defaultStoreCookieDuration),location.reload(!0))})}}catch{WriteCookie(geoCookieKey,"{}",1),location.reload(!0)}}).fail(function(){WriteCookie(geoCookieKey,"{}",1),location.reload(!0)})}async function setLocationCookieFromGoogleRegionId(store){var geocookie=readCookie(geoCookieKey),storecookie=readCookie(storeCookieKey);if(geocookie){if(storecookie){const storecookieObj=JSON.parse(storecookie);storecookieObj.province===store.province&&storecookieObj.storeid===store.id&&storecookieObj.region===store.region||WriteStoreCookie(store.province,store.id,store.region,defaultStoreCookieDuration),location.reload(!0)}}else $.getJSON(ip_data_url,function(data){try{writeGeoCookie(data),storecookie==null&&(WriteStoreCookie(store.province,store.id,store.region,defaultStoreCookieDuration),location.reload(!0))}catch{WriteCookie(geoCookieKey,"{}",1),location.reload(!0)}}).fail(function(){WriteCookie(geoCookieKey,"{}",1),location.reload(!0)})}
2//# sourceMappingURL=/cdn/shop/t/2719/assets/coast-geo.js.map?v=166298787178654752751787757935

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.