PageSourceSearch

https://www.destinationvancouver.com/_next/static/chunks/app/(root)/error-b7edd96989900888.js

js destinationvancouver.com collected 2026-09-24 18:16:13 UTC 3,118 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[84701],{99877:function(e,t,n){Promise.resolve().then(n.bind(n,14910))},14910:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(57437),l=n(2265),a=n(18273),u=n(96050),o=n(89290),c=n(63872),s=n(29992),i=n(70562);async function g({slug:e,locale:t,fetchBySlug:n}){let r=t??c.a2.EN;if(r===c.a2.EN)return{data:await n(e),useGoogleTranslate:!1};let l=`${r}/${e}`,a=await n(l),u=null==a;return null==a&&(a=await n(e)),{data:a,useGoogleTranslate:u}}async function f({slug:e,locale:t,useCdn:n}){return g({slug:e,locale:t,fetchBySlug:e=>s.L.withConfig({useCdn:n}).fetch(i.JR,{slug:e})})}function d({error:e}){let[t,n]=(0,l.useState)(null),[s,i]=(0,l.useState)(!1),g=o.V()?.locale??c.a2.EN;return((0,l.useEffect)(()=>{console.log(e),async function(){let{data:e,useGoogleTranslate:t}=await f({slug:"applicationError",locale:g,useCdn:!0});n(e),i(t)}()},[e,g]),t)?(0,r.jsxs)(r.Fragment,{children:[s?(0,r.jsx)(a.default,{locale:g}):null,(0,r.jsx)(u.Z,{content:t?.content,pageTitle:t?.title})]}):(0,r.jsx)("section",{className:"h-screen grid place-items-center",children:"Something went wrong!"})}i.WR,i.WA,i.r8,i.wQ,i.z7,i.wN,i.Br,i.q3,i.bz,i.il,i.Gz,i.qh,i.FZ,i.wE,i.B$,i.DA,i.dj,i.uz,i.uE,i.Wk,i.ne,i.Zu},18273:function(e,t,n){"use strict";var r=n(57437),l=n(48667),a=n(2265),u=n(89290),o=n(63872);t.default=({locale:e})=>
1{let t=o.SA.map(e=>e.value).join(","),n=(0,u.V)(),c=(0,a.useRef)(!1),s=(0,a.useRef)(null),i=(0,a.useRef)(null),g=(0,a.useCallback)(()=>new window.google.translate.TranslateElement({pageLanguage:"auto",includedLanguages:t,autoDisplay:!1,multilanguagePage:!0},"google_translate_element"),[t]);return(0,a.useEffect)(()=>{window.googleTranslateElementInit=g},[g]),(0,a.useEffect)(()=>{e!==o.a2.EN&&function(e){if("undefined"==typeof document)return;let t=`/en/${e}`;try{let e=document.cookie.match(/googtrans=([^;]+)/);if(e?.[1]?.trim()===t)return;document.cookie=`googtrans=${t}; path=/`}catch{}}(e)},[e]),(0,a.useEffect)(()=>{if(!n||e===o.a2.EN)return;c.current=!1;let t=()=>{if(c.current)return!0;let t=document.querySelector(".goog-te-combo");if(!t)return!1;try{return t.value=e,t.dispatchEvent(new Event("change",{bubbles:!0})),document.documentElement.removeAttribute("translate"),c.current=!0,!0}catch(e){return console.error("Error triggering Google Translate:",e),!1}},r=()=>{s.current&&(clearInterval(s.current),s.current=null),i.current&&(clearTimeout(i.current),i.current=null)};return t()?r:(s.current=setInterval(()=>{t()&&r()},150),i.current=setTimeout(r,1e4),()=>r())},[e,n]),(0,r.jsxs)("div",{style:{position:"relative",zIndex:"1000",top:"350px"},children:[(0,r.jsx)("div",{id:"google_translate_element",style:{visibility:"hidden",width:"1px",height:"1px"}}),(0,r.jsx)(l.default,{src:"https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit",strategy:"afterInteractive",onLoad:()=>{n&&n.locale!==e&&n.handleGoogleTranslate(e)}})]})}}},function(e){e.O(0,[91330,4374,1866,13173,27814,6137,67780,48667,92373,32335,56425,92971,52117,1744],function(){return e(e.s=99877)}),_N_E=e.O()}]);

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.