1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2406],{46711:(t,e,n)=>{n.d(e,{Ad:()=>g,GY:()=>i,Hn:()=>_,Vl:()=>l,W4:()=>c,a1:()=>d,hB:()=>r,jh:()=>u,kC:()=>s,mW:()=>a,o4:()=>f,ve:()=>p,wg:()=>w});var o=n(32407);function a(){let t=window.location.hostname;return"localhost"!==t&&"127.0.0.1"!==t&&"preview"!==o.env.NEXT_PUBLIC_VERCEL_ENV}function i(t,e){if(!a())return;let o=window.gtag;if(!o)return;let i={...e,page:e?.page??window.location?.pathname??""};try{o("event",t,i)}catch{}Promise.all([n.e(9291),n.e(7125),n.e(4511)]).then(n.bind(n,17830)).then(({trackAmplitudeEvent:e})=>{e(t,i)}).catch(()=>{})}function c(t){i("sign_up_click",{button_placement:t})}function r(t,e){i("scroll_to_section",{link_destination:t,link_text:e})}function l(t){i("login_click",{method:t})}function s(t,e){i("tool_click",{item_id:t,item_name:e})}function u(t,e){let n={source:t};e&&(n.advisor_id=e),i("advisor_booking_click",n)}function g(){i("sponsor_page_view")}function d(t,e){i("sponsor_start",{sponsorship_type:t,amount:e})}function _(t){let e={};null!=t&&(e.amount=t),i("sponsor_success",e)}function w(t){let e={source:t.source,entry:t.entry};t.risk_level_bucket&&(e.risk_level_bucket=t.risk_level_bucket),t.category&&(e.category=t.category),i("advisor_cta_click",e)}function f(t,e){i("help_article_view",{slug:t,space:e})}function p(t,e){i("help_search",{query:t,result_count:e})}},72406:(t,e,n)=>{n.r(e),n.d(e,{default:()=>l});var o=n(85047),a=n(93985),i=n.n(a),c=n(31615),r=n(46711);function l(){let t="G-S5B380JDF7",[e,n]=(0,c.useState)(!1);return((0,c.useEffect)(()=>{if(t){if(!(0,r.mW)())return void n(!1);n(!0),window.dataLayer||(window.dataLayer=[]),window.gtag||(window.gtag=function(){try{window.dataLayer&&window.dataLayer.push(arguments)}catch(t){}})}},[t]),t&&e)?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i(),{src:`https://www.googletagmanager.com/gtag/js?id=${t}`,strategy:"lazyOnload",onError:t=>{}}),(0,o.jsx)(i(),{id:"google-analytics",strategy:"lazyOnload",children:` 2 (function() { 3 try { 4 window.dataLayer = window.dataLayer || []; 5 function gtag(){dataLayer.push(arguments);} 6 window.gtag = window.gtag || gtag; 7 8 // å®å ¨å°è¨ç½®æ¥æ 9 try { 10 gtag('js', new Date()); 11 } catch (e) { 12 // 妿è¨ç½®æ¥æå¤±æï¼ç¹¼çºå·è¡ 13 } 14 15 // å®å ¨å°é ç½® GA 16 try { 17 gtag('config', '${t}', { 18 page_path: window.location.pathname, 19 20 }); 21 } catch (e) { 22 // 妿é 置失æï¼å¨éç¼ç°å¢è¨éè¦å 23 if (process.env.NODE_ENV === 'development') { 24 console.warn('[GoogleAnalytics] é 置失æ:', e); 25 } 26 } 27 } catch (error) { 28 // éé»èçåå§åé¯èª¤ï¼é¿å å½±é¿æç¨ç¨å¼éè¡ 29 if (process.env.NODE_ENV === 'development') { 30 console.warn('[GoogleAnalytics] åå§åé¯èª¤:', error); 31 } 32 } 33 })(); 34 `})]}):null}}}]);
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.