PageSourceSearch

https://www.chunkbase.ai/_next/static/chunks/app/layout-1df24011dd…?dpl=dpl_ZiYhtFjXVqPtm9azh9UVeeN41VoU

js chunkbase.ai collected 2026-10-05 14:08:56 UTC 16,204 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{245:(e,t,r)=>{"use strict";r.d(t,{Analytics:()=>u});var a=r(5155),n=r(2115),o=r(5695),s=r(3554),i=r(3881),l=r(3471);let c="G-69QG0QCJ2Z";function d(e){if("function"!=typeof window.gtag)return;let t=e?"granted":"denied";window.gtag("consent","update",{ad_storage:t,analytics_storage:t,ad_user_data:t,ad_personalization:t})}function u(){let{status:e}=(0,i.S)(),t=(0,o.usePathname)(),r="granted"===e,u=(0,n.useRef)(!1);return((0,n.useEffect)(()=>{"granted"===e?(d(!0),(0,l.ip)()):"denied"===e&&(d(!1),(0,l.vJ)())},[e]),(0,n.useEffect)(()=>{if(!r||u.current)return;let e=new URLSearchParams(window.location.search).get("pl");if(!e)return;(0,l.ft)(e),c&&"function"==typeof window.gtag&&(window.gtag("config",c,{user_id:"prospect:".concat(e),send_page_view:!1}),window.gtag("event","prospect_link_clicked",{prospect_token:e})),u.current=!0;let t=new URL(window.location.href);t.searchParams.delete("pl"),window.history.replaceState(null,"",t.pathname+t.search+t.hash)},[r,t]),(0,n.useEffect)(()=>{if(!r||!t)return;let e=t+window.location.search,a="/fact-find-software"===t?"commercial":t.startsWith("/writing")?"writing":t.startsWith("/labs")?"labs":"/build-with-us"===t||"/thank-you"===t?"conversion":"site";"function"==typeof window.gtag&&window.gtag("event","page_view",{page_path:e,page_location:window.location.href,page_title:document.title,content_group:a}),(0,l.zH)()},[r,t]),c&&"granted"===e)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{id:"ga-consent-default",strategy:"afterInteractive",children:"window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}\ngtag('consent','default',{ad_storage:'denied',analytics_storage:'denied',ad_user_data:'denied',ad_personalization:'denied',wait_for_update:500});\ngtag('js',new Date());\ngtag('config','".concat(c,"',{send_page_view:false});")}),(0,a.jsx)(s.default,{src:"https://www.googletagmanager.com/gtag/js?id=".concat(c),strategy:"afterInteractive"})]}):null}},285:(e,t,r)=>{"use strict";r.d(t,{$:()=>l});var a=r(5155);r(2115);var n=r(9708),o=r(2085),s=r(9434);let i=(0,o.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium transition-[background-color,color,border-color,box-shadow,transform] duration-[220ms] ease-[var(--ease-out-expo)] disabled:pointer-events-none disabled:translate-y-0 disabled:shadow-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] active:translate-y-0 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive motion-reduce:transition-colors motion-reduce:hover:translate-y-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-[0_1px_1px_rgba(0,0,0,0.06),0_8px_22px_rgba(0,74,173,0.20)] hover:-translate-y-0.5 hover:bg-[#003A8C] hover:shadow-[0_2px_4px_rgba(0,0,0,0.08),0_14px_34px_rgba(0,74,173,0.28)]",destructive:"bg-destructive text-white shadow-[0_1px_1px_rgba(0,0,0,0.08),0_8px_22px_rgba(220,38,38,0.20)] hover:-translate-y-0.5 hover:bg-destructive/90 hover:shadow-[0_2px_4px_rgba(0,0,0,0.08),0_14px_34px_rgba(220,38,38,0.26)] focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-[0_1px_1px_rgba(0,0,0,0.04)] hover:-translate-y-px hover:bg-accent hover:text-accent-foreground hover:shadow-[0_8px_20px_rgba(0,74,173,0.12)] dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-[0_1px_1px_rgba(0,0,0,0.04)] hover:-translate-y-px hover:bg-secondary/80 hover:shadow-[0_8px_20px_rgba(29,29,31,0.10)]",ghost:"hover:-translate-y-px hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"rounded-none text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:r,size:o,asChild:l=!1,...c}=e,d=l?n.DX:"button";return(0,a.jsx)(d,{"data-slot":"button",className:(0,s.cn)(i({variant:r,size:o,className:t})),...c})}},347:()=>{},1483:(e,t,r)=>{"use strict";r.d(t,{ThemeProvider:()=>s});var a=r(5155),n=r(2115);let o=(0,n.createContext)({theme:"system",setTheme:()=>null});function s(e){let{children:t,defaultTheme:r="system",storageKey:s="chunkbase-ui-theme",...i}
1=e,[l,c]=(0,n.useState)(r);return(0,n.useEffect)(()=>{let e=localStorage.getItem(s);e&&c(e)},[s]),(0,n.useEffect)(()=>{let e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===l){let t=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";e.classList.add(t);let r=window.matchMedia("(prefers-color-scheme: dark)"),a=()=>{e.classList.remove("light","dark"),e.classList.add(r.matches?"dark":"light")};return r.addEventListener("change",a),()=>r.removeEventListener("change",a)}e.classList.add(l)},[l]),(0,a.jsx)(o.Provider,{...i,value:{theme:l,setTheme:e=>{localStorage.setItem(s,e),c(e)}},children:t})}},2970:(e,t,r)=>{"use strict";r.d(t,{ErrorBoundary:()=>g});var a=r(5155),n=r(2115),o=r(1243),s=r(2138),i=r(3904),l=r(5525),c=r(285),d=r(9434);function u(e){let{className:t,...r}=e;return(0,a.jsx)("div",{"data-slot":"card",className:(0,d.cn)("bg-white text-gray-900 flex flex-col gap-4 rounded-xl border border-gray-200 py-4 shadow-lg transition-all duration-150 hover:shadow-xl hover:border-gray-300",t),...r})}class g extends n.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e,errorId:"ERR-".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9).toUpperCase())}}componentDidCatch(e,t){console.error("ErrorBoundary caught an error:",{error:e.message,stack:e.stack,componentStack:t.componentStack,errorId:this.state.errorId,timestamp:new Date().toISOString()})}render(){if(this.state.hasError){var e;return this.props.fallback?this.props.fallback:(0,a.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-br from-gray-50 via-white to-gray-50 p-4",children:(0,a.jsx)(u,{className:"max-w-lg w-full border border-gray-200 bg-white shadow-lg",children:(0,a.jsxs)("div",{className:"p-8",children:[(0,a.jsxs)("div",{className:"flex items-start gap-4 mb-6",children:[(0,a.jsx)("div",{className:"flex-shrink-0 w-12 h-12 bg-red-50 rounded-lg flex items-center justify-center",children:(0,a.jsx)(o.A,{className:"w-6 h-6 text-red-600"})}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-900 mb-1",children:"System Error Detected"}),(0,a.jsx)("p",{className:"text-sm text-gray-600",children:"An unexpected error has occurred. Our system has logged this incident for review."})]})]}),(0,a.jsx)("div",{className:"bg-gray-50 rounded-lg p-4 mb-6 border border-gray-200",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-xs font-medium text-gray-500 uppercase tracking-wide",children:"Error Reference"}),(0,a.jsx)("span",{className:"text-xs font-mono text-gray-700 bg-white px-2 py-1 rounded border border-gray-200",children:this.state.errorId||"N/A"})]}),(null==(e=this.state.error)?void 0:e.message)&&(0,a.jsxs)("div",{className:"pt-2 border-t border-gray-200",children:[(0,a.jsx)("p",{className:"text-sm text-gray-700 font-medium mb-1",children:"Error Message"}),(0,a.jsx)("p",{className:"text-sm text-gray-600 font-mono break-words",children:this.state.error.message})]})]})}),(0,a.jsxs)("div",{className:"flex items-start gap-3 p-3 bg-blue-50 rounded-lg border border-blue-100 mb-6",children:[(0,a.jsx)(l.A,{className:"w-5 h-5 text-blue-600 flex-shrink-0 mt-0.5"}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("p",{className:"text-xs font-medium text-blue-900 mb-1",children:"Security Notice"}),(0,a.jsx)("p",{className:"text-xs text-blue-700 leading-relaxed",children:"Your data remains secure. This error has been logged for our technical team to investigate. No sensitive information was exposed."})]})]}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3",children:[(0,a.jsxs)(c.$,{onClick:this.handleReload,className:"flex-1 bg-gray-900 text-white hover:bg-gray-800",children:[(0,a.jsx)(i.A,{className:"w-4 h-4"}),"Reload Application"]}),(0,a.jsxs)(c.$,{variant:"outline",onClick:()=>window.history.back(),className:"flex-1 border-gray-300 text-gray-700 hover:bg-gray-100",children:[(0,a.jsx)(s.A,{className:"w-4 h-4 rotate-180"}),"Go Back"]})]}),(0,a.jsx)("div",{className:"mt-6 pt-6 border-t border-gray-200",children:(0,a.jsxs)("p",{className:"text-xs text-center text-gray-500",children:["If this issue persists, please contact"," ",(0,a.jsx)("a",{href:"mailto:[email protected]",className:"text-blue-600 hover:text-blue-700 font-medium underline",children:"[email protected]"})," ","with error reference ",this.state.errorId||"N/A"]})})]})})})}return this.props.children}constructor(e){super(e),this.handleReload=()=>{this.setState({hasError:!1,error:null,errorId:null}),window.location.reload()},this.state={hasError:!1,error:null,errorId:null}}}},3471:(e,t,r)=>{"use strict";r.d(t,{Jt:()=>c,ft:()=>d,ip:()=>i,sc:()=>s,vJ:()=>l,zH:()=>u});let a=null,n=null;async function o(){if(a)return;
1let e="phc_YsBobXxnllFvqODZWz8dnqoP68OzBbAXEclEnTlCx7v";if(!e)return;let t=(await r.e(4745).then(r.bind(r,2341))).default;t.init(e,{api_host:"/ingest",ui_host:"https://eu.i.posthog.com".replace(".i.posthog.com",".posthog.com"),person_profiles:"identified_only",capture_pageview:!1,capture_pageleave:!0,autocapture:!0,rageclick:!0,capture_dead_clicks:!0,capture_heatmaps:!0,capture_exceptions:!0,capture_performance:{web_vitals:!0},session_recording:{maskAllInputs:!0},opt_out_capturing_by_default:!0}),a=t}function s(){return null!==a}function i(){n||(n=o()),n.then(()=>{a&&(a.opt_in_capturing(),a.capture("$pageview",{$current_url:window.location.href}))})}function l(){null==a||a.opt_out_capturing()}function c(e,t){null==a||a.capture(e,t)}function d(e){n||(n=o()),n.then(()=>{null==a||a.identify("prospect:".concat(e))})}function u(){a&&a.capture("$pageview",{$current_url:window.location.href})}},3881:(e,t,r)=>{"use strict";r.d(t,{ConsentProvider:()=>i,S:()=>l});var a=r(5155),n=r(2115);let o="cb-consent",s=(0,n.createContext)(null);function i(e){let{children:t}=e,[r,i]=(0,n.useState)("unset");(0,n.useEffect)(()=>{try{let e=localStorage.getItem(o);("granted"===e||"denied"===e)&&i(e)}catch(e){}},[]);let l=(0,n.useCallback)(()=>{try{localStorage.setItem(o,"granted")}catch(e){}i("granted")},[]),c=(0,n.useCallback)(()=>{try{localStorage.setItem(o,"denied")}catch(e){}i("denied")},[]);return(0,a.jsx)(s.Provider,{value:{status:r,accept:l,decline:c},children:t})}function l(){let e=(0,n.useContext)(s);if(!e)throw Error("useConsent must be used within a ConsentProvider");return e}},4705:(e,t,r)=>{"use strict";r.d(t,{CookieConsent:()=>i});var a=r(5155),n=r(2115),o=r(9434),s=r(3881);function i(){let{status:e,accept:t,decline:r}
1=(0,s.S)(),[i,l]=(0,n.useState)(!1),[c,d]=(0,n.useState)(!1),u=(0,n.useRef)(null);(0,n.useEffect)(()=>{if("unset"!==e){l(!1),d(!1);return}d(!1);let t=window.requestAnimationFrame(()=>{l(!0)});return()=>{window.cancelAnimationFrame(t),null!==u.current&&(window.clearTimeout(u.current),u.current=null)}},[e]);let g=e=>{c||(d(!0),l(!1),u.current=window.setTimeout(()=>{u.current=null,e()},150))};return"unset"!==e?null:(0,a.jsx)("div",{role:"dialog","aria-live":"polite","aria-label":"Cookie consent",className:"fixed inset-x-0 bottom-0 z-[100] px-4 pb-4 sm:px-6 sm:pb-6",children:(0,a.jsxs)("div",{className:(0,o.cn)("mx-auto flex max-w-3xl flex-col gap-4 rounded-figure border border-on-cobalt/10 bg-ink p-5 text-on-cobalt shadow-lifted transition-[opacity,transform] ease-[var(--ease-out-expo)] will-change-[opacity,transform] motion-reduce:!scale-100 motion-reduce:!duration-[var(--duration-control)] sm:flex-row sm:items-center sm:justify-between sm:p-6",i&&!c?"translate-y-0 scale-100 opacity-100 duration-[var(--duration-surface)]":"translate-y-4 scale-[0.98] opacity-0 duration-[var(--duration-control)] motion-reduce:!translate-y-1"),children:[(0,a.jsxs)("p",{className:"text-nav leading-6 text-panel-text",children:["We use privacy-first analytics to understand how wealth managers use this site and to improve it. Nothing is tracked until you choose. See our"," ",(0,a.jsx)("a",{href:"/privacy",className:"text-on-cobalt underline underline-offset-2",children:"privacy notice"}),"."]}),(0,a.jsxs)("div",{className:"flex flex-shrink-0 gap-3",children:[(0,a.jsx)("button",{type:"button",onClick:()=>g(r),className:"type-label h-10 border border-on-cobalt/20 bg-transparent px-5 text-panel-text press transition-colors duration-[var(--duration-control)] ease-[var(--ease-out-expo)] hover:border-on-cobalt/35 hover:text-on-cobalt",children:"Decline"}),(0,a.jsx)("button",{type:"button",onClick:()=>g(t),className:"type-label h-10 bg-carbon-blue px-5 text-on-cobalt press transition-colors duration-[var(--duration-control)] ease-[var(--ease-out-expo)] hover:bg-carbon-deep",children:"Accept"})]})]})})}},6651:(e,t,r)=>{Promise.resolve().then(r.bind(r,3864)),Promise.resolve().then(r.bind(r,8031)),Promise.resolve().then(r.t.bind(r,9526,23)),Promise.resolve().then(r.t.bind(r,1998,23)),Promise.resolve().then(r.t.bind(r,347,23)),Promise.resolve().then(r.bind(r,245)),Promise.resolve().then(r.bind(r,3881)),Promise.resolve().then(r.bind(r,4705)),Promise.resolve().then(r.bind(r,2970)),Promise.resolve().then(r.bind(r,1483)),Promise.resolve().then(r.bind(r,9074))},9074:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>i});var a=r(5155),n=r(1362),o=r(6671),s=r(2115);let i=e=>{let{...t}=e,{theme:r="system"}=(0,n.D)();return(0,s.useEffect)(()=>{let e="sonner-dark-styles";if(!document.getElementById(e)){let t=document.createElement("style");t.id=e,t.textContent='\n        [data-sonner-toast][data-type="error"] {\n          background-color: rgb(220 38 38) !important;\n          color: rgb(255 255 255) !important;\n          border-color: rgb(185 28 28) !important;\n        }\n        [data-sonner-toast][data-type="success"] {\n          background-color: rgb(22 163 74) !important;\n          color: rgb(255 255 255) !important;\n          border-color: rgb(20 83 45) !important;\n        }\n        [data-sonner-toast][data-type="info"] {\n          background-color: rgb(37 99 235) !important;\n          color: rgb(255 255 255) !important;\n          border-color: rgb(29 78 216) !important;\n        }\n        [data-sonner-toast][data-type="warning"] {\n          background-color: rgb(202 138 4) !important;\n          color: rgb(255 255 255) !important;\n          border-color: rgb(161 98 7) !important;\n        }\n        [data-sonner-toast] {\n          background-color: rgb(17 24 39) !important;\n          color: rgb(255 255 255) !important;\n          border-color: rgb(31 41 55) !important;\n        }\n        [data-sonner-toast] [data-title] {\n          color: rgb(255 255 255) !important;\n        }\n        [data-sonner-toast] [data-description] {\n          color: rgb(229 231 235) !important;\n        }\n      ',document.head.appendChild(t)}},[]),(0,a.jsx)(o.l$,{theme:"dark",className:"toaster group",toastOptions:{classNames:{error:"bg-red-600 text-white border-red-700",success:"bg-green-600 text-white border-green-700",info:"bg-blue-600 text-white border-blue-700",warning:"bg-yellow-600 text-white border-yellow-700",default:"bg-gray-900 text-white border-gray-800"}},style:{"--normal-bg":"rgb(17 24 39)","--normal-text":"rgb(255 255 255)","--normal-border":"rgb(31 41 55)"},...t})}},9434:(e,t,r)=>{"use strict";r.d(t,{cn:()=>o});var a=r(2596);let n=(0,r(9688).zu)({extend:{classGroups:{"font-size":[{text:["label","caption","nav","ui","body","subhead","title","section","display"]}]}}});function o(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n((0,a.$)(t))}}},e=>{e.O(0,[8096,7690,7358],()=>e(e.s=6651)),_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.