PageSourceSearch

https://www.syfe.com/_next/static/chunks/8998-dddb56e71437096e.js

js syfe.com collected 2026-10-01 12:01:59 UTC 58,875 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ef4c25bf-6067-4b6a-8e2d-4af858955fba",e._sentryDebugIdIdentifier="sentry-dbid-ef4c25bf-6067-4b6a-8e2d-4af858955fba")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8998],{9053:(e,t,o)=>{o.d(t,{Rj:()=>l,_:()=>n});let l="calendly",n="referralCode"},15569:(e,t,o)=>{o.d(t,{A:()=>a});var l=o(37876);o(14232);var n=o(82167),r=o(44610);let i=(0,n.Ay)(e=>(0,l.jsx)(r.$n,{...e})).withConfig({componentId:"sc-41d43032-0"})(["background:",";padding:9px 46px;"],e=>e.bg),s=e=>{let{children:t,bgColor:o,textColor:n,textProps:r,...s}=e;return(0,l.jsx)(i,{bg:o,type:"neutral",...s,textProps:{as:"div",color:n,fontSize:{_:"12px",md:"16px"},fontWeight:{_:600,md:600},lineHeight:{_:"16px",md:"30px"},letterSpacing:{_:"1.2px",md:"0.5px"},...r},children:t})};s.default={bgColor:"#fff",textColor:"#0D1D48"};let a=s},16799:(e,t,o)=>{o.d(t,{A:()=>m});var l=o(37876),n=o(14232),r=o(89099);let i=(0,o(48011).Ng)(e=>({responsiveUtility:e.responsiveUtility}),null);var s=o(66941),a=o(93004),c=o(95118),d=o(2965),h=o(44610),p=o(96879),u=o(65349);let x=e=>{let{responsiveUtility:t,buttonProps:o,showQrCode:i,analyticsFunc:x,ctaText:m}=e,{isDesktop:g}=t,A=(0,r.useRouter)(),{strings:{general:{download_app_button:{download_app_cta:y},download_app_modal:{download_app_title:f,download_app_caption_1:b}}}}=(0,s.Ym)(),[_,j]=(0,n.useState)(!1),v=()=>j(!1);return(0,l.jsxs)(h.az,{children:[(0,l.jsx)(u.A,{renderOn:[d.XN.HK,d.XN.SG],children:(0,l.jsx)(h.$n,{onClick:()=>{g?j(!0):A.push({pathname:a.yXP.OPEN_STORE,query:(0,c.vA)(A)})},size:{_:"small",md:"default"},type:"mutedAccent",width:"100%",...o,children:m||y})}),(0,l.jsx)(u.A,{renderOn:d.XN.HK,children:(0,l.jsx)(p.A,{showCloseBtn:!0,analyticsFunc:x,caption:b,onCloseHandler:v,showDownloadAppModal:_,showQrCode:i,title:f})}),(0,l.jsx)(u.A,{renderOn:d.XN.AU,children:_&&(0,l.jsx)(p.A,{analyticsFunc:x,onCrossClick:v,showQrCode:i})})]})};x.defaultProps={showQrCode:!1};let m=i(x)},19633:(e,t,o)=>{o.d(t,{A:()=>c});var l=o(37876);o(14232);var n=o(82780),r=o.n(n),i=o(66941),s=o(42427),a=o(44610);let c=e=>{let{imageSourceMap:t,...o}=e,{localeConfig:n}=(0,i.Ym)(),c=(0,s.lF)(n.code);if(!t)return null;let d=r()(t,"".concat(n.language,"-").concat(c.toLowerCase()),void 0);if(d)return(0,l.jsx)(a._V,{src:d,...o});throw Error("Image doesn't exist")}},23561:(e,t,o)=>{o.d(t,{A:()=>A});var l=o(37876);o(14232);var n=o(2965),r=o(78092),i=o(66941),s=o(88494),a=o(20635),c=o(44610),d=o(19633);let h={src:"/_next/static/media/app_store.cfda8ee9.png",height:88,width:275,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAFVBMVEUUFBQoKCgeHh4+Pj5DQ0NPT0+6urptEVE+AAAAAnRSTlP7+tyz7kwAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAfSURBVAiZBcGBAQAwDIIwRLv/T16CqAjP61a43LLmAwL5AD4FhWnbAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:3},p={src:"/_next/static/media/google_play.95925bf0.png",height:88,width:296,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAHlBMVEUxMS0aGhoRTE0hQ00mJiY8ODhUVVUbPytAQUFERESumj44AAAABXRSTlP+/Pn5+tvcSDsAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAaSURBVAiZY2BiZ2VgYGRkZGBmYOBgY+VkAAABiQAxg0y1UQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2},u={src:"/_next/static/media/huawei.5be5519a.png",height:90,width:300,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAIVBMVEU3OTs/PkBCMDEXGRuORUfLbmYiIyWVU09NTlAaGh3DW1yud5DDAAAACHRSTlP6/fzg6/3m5fJHe6AAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAaSURBVAiZY2BnZWJgZOBkZmDhYuLg4GBkAwACXwBLwVLZCwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2},x={appStore:{[n.YZ.enSG]:h,[n.YZ.enHK]:h,[n.YZ.zhHK]:h,[n.YZ.enAU]:h},googlePlay:{[n.YZ.enSG]:p,[n.YZ.enHK]:p,[n.YZ.zhHK]:p,[n.YZ.enAU]:p},huawei:{[n.YZ.enSG]:u,[n.YZ.enHK]:u,[n.YZ.zhHK]:u,[n.YZ.enAU]:u}},m=e=>{let{src:t,url:o,analyticsInfo:n,...i}=e;return(0,l.jsx)(c.az,{as:c.A,href:o,target:"_blank",...i,cp:!0,onClick:()=>{n&&(0,r.Ay)(n)},children:(0,l.jsx)(d.A,{alt:"Icon",height:"100%",imageSourceMap:t,width:"auto"})})},g=e=>{let{heightPerIcon:t,justifyContent:o,width:n,buttonMarginBottom:r,buttonMarginRight:d,analyticsFunc:h}=e,{localeCode:p,geography:u}=(0,i.Ym)(),{visibilityFlags:{showHuawei:g}}=(0,s.Q)(u),A=[{image:x.googlePlay,url:(0,a.SF)(p),analyticsInfo:h&&h("play_store")},{image:x.appStore,url:(0,a.Qk)(p),analyticsInfo:h&&h("app_store")},...g?[{image:x.huawei,url:"https://appgallery.huawei.com/#/app/C104755763",anal
1yticsInfo:h&&h("app_gallery")}]:[]];return(0,l.jsx)(c.pT,{flexWrap:"wrap",justifyContent:o,width:n,children:A.map((e,o)=>(0,l.jsx)(m,{analyticsInfo:e.analyticsInfo,height:t,mb:o===A.length-1?0:r,mr:o===A.length-1?0:d,src:e.image,url:e.url},"store-link-".concat(o)))})};g.defaultProps={heightPerIcon:"42px",justifyContent:"flex-start",width:"100%",buttonMarginBottom:3,buttonMarginRight:3,showHuaweiButton:!0};let A=g},24981:(e,t,o)=>{o.d(t,{A:()=>l});let l={src:"/_next/static/media/selfwealth.8f5af9ec.webp",height:133,width:466,blurDataURL:"data:image/webp;base64,UklGRnoAAABXRUJQVlA4WAoAAAAQAAAABwAAAQAAQUxQSBEAAAAAeXdcY2CAaEgFBwYEGy0yAwBWUDggQgAAAFACAJ0BKggAAgACQDglqAJ0ugH4AALSqwPlgAD+Fxx0UYtTSOOm2p1RzT/B0C//8gr0PZk2/+qQ7xpHlId8OYAAAA==",blurWidth:8,blurHeight:2}},38198:(e,t,o)=>{o.d(t,{Ai:()=>i,Gq:()=>r,t_:()=>n});var l=o(24234);let n=(e,t)=>{sessionStorage.setItem((0,l.E)(e),t)},r=e=>sessionStorage.getItem((0,l.E)(e)),i=e=>{sessionStorage.removeItem((0,l.E)(e))}},45321:(e,t,o)=>{o.d(t,{A:()=>E});var l=o(37876),n=o(14232),r=o(89099),i=o(48011),s=o(5219);let a=(0,i.Ng)(e=>({loggedIn:s.o_.isLoggedIn(e)}));var c=o(2965),d=o(93004);let h=e=>e?(0,d.XGO)(e):d.Hxz,p={[c.XN.SG]:(e,t,o,l)=>{let n=d.wx5;return t&&e&&e!==c.jv.THEME?(0,d.T6u)(e,n.DEFAULT):t?o?d.PhV:(0,d.XGO)():e?(0,d.XGO)(e):l&&d.IDk(l)?d.Hxz:l&&d.lCF(l)?d.rrD:(0,d.XGO)()},[c.XN.HK]:h,[c.XN.AU]:h};c.XN.HK;var u=o(66941),x=o(95118),m=o(27985),g=o(27584),A=o(87589),y=o(78092),f=o(44610),b=o(82167),_=o(21651),j=o(87802);let v=(0,b.Ay)(f.pT).withConfig({componentId:"sc-9ad47161-0"})(["@media (max-width:","){border-bottom-left-radius:0;border-bottom-right-radius:0;}"],(0,_.y)("breakpoints.md")),w=(0,b.Ay)(e=>(0,l.jsx)(f.sx,{...e})).withConfig({componentId:"sc-9ad47161-1"})([".radio__checkmark{top:0;}"]),C={light:{},dashboard:{text:{color:{dark:"colors.BT.2"}},background:{color:{popupContainer:"colors.B.6"}},button:{type:"secondary"},radio:{text:{highlighted:"colors.N.1",neutral:"colors.BT.2"}}},white:{text:{color:{dark:"colors.N.15"}},background:{color:{popupContainer:"colors.N.2"}},button:{type:"primary"},radio:{text:{highlighted:"colors.N.15",neutral:"colors.N.14"}}}},k=e=>{let{strings:{general:{cancel_cta:t,confirm_portfolio_cta:o},reit_risk_manage_popup:{caption:r,reit_plus_text:i,reit_plus_description:s,reit_risk_manage_text:a,reit_risk_manage_description:c},income_type_change_popup:{caption:d,income_preserve_text:h,income_pure_text:p,income_preserve_description:x,income_pure_description:m,income_enhance_text:g,income_enhance_description:A}}}=(0,u.Ym)(),{showModal:y,onClose:b,onPrimaryCtaClick:_,theme:k}=e,{text:{color:{dark:I}},button:{type:E},background:{color:{popupContainer:T}},radio:{text:{highlighted:B,neutral:S}}}=(0,j.Y)(k,C).componentTheme,N={INCOME_PRESERVE:{caption:d,options:[{label:h,value:"INCOME_PRESERVE",title:h,description:x},{label:g,value:"INCOME_ENHANCE",title:g,description:A}]},INCOME_PURE:{caption:d,options:[{label:p,value:"INCOME_PURE",title:p,description:m},{label:g,value:"INCOME_ENHANCE",title:g,description:A}]},REIT:{caption:r,options:[{label:i,value:"REIT",title:i,description:s},{label:a,value:"REIT_RISK_MANAGED",title:a,description:c}]}}[e.portfolioType],[D,H]=(0,n.useState)(N.options[0].value);return y?(0,l.jsx)(f.aF,{modalMaxWidth:"auto",modalStyles:{zIndex:9600},onClose:b,showCloseIcon:!1,styles:{p:0},theme:k,children:(0,l.jsx)(v,{bg:T,borderRadius:4,width:{_:"100%",md:"auto"},children:(0,l.jsxs)(f.pT,{flexDirection:"column",p:6,position:"relative",children:[(0,l.jsx)(f.EY,{color:I,mb:4,variant:"subtitle1",children:(0,l.jsx)(u.In,{str:N.caption,components:{brElement:(0,l.jsx)("br",{})}})}),(0,l.jsx)(f.az,{mt:4,children:N.options.map((e,t)=>(0,l.jsx)(f.az,{mb:6*(0===t),children:(0,l.jsx)(w,{checkmarkClass:"radio__checkmark",name:e.value,onChange:()=>{H(e.value)},options:[e],selected:D,theme:k,TextNode:()=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f.EY,{as:"div",mb:2,variant:"subtitle2",color:D===e.value?B:S,children:e.title}),(0,l.jsx)(f.EY,{as:"div",color:S,variant:"caption1",children:(0,l.jsx)(u.In,{str:e.description,components:{brElement:(0,l.jsx)("br",{})}})})]})})},e.value))}),(0,l.jsxs)(f.pT,{alignItems:"center",justifyContent:"center",mt:10,children:[(0,l.jsx)(f.pT,{justifyContent:"flex-start",minWidth:"120px",children:(0,l.jsx)(f.$n,{fillType:"text",onClick:b,type:E,children:t})}),(0,l.jsx)(f.$n,{onClick:()=>{_(D)},children:o})]})]})})}):null};k.defaultProps={theme:"white"};var I=o(73356);let E=a(e=>
1{let{portfolioType:t,themeType:o,loggedIn:i,buttonText:s,analyticsInfo:a,isHeroSection:h,confirmPortfolioAnalyticsInfo:b,..._}=e,{strings:{general:{get_started_cta:j}},geography:v,geographyConstants:w}=(0,u.Ym)(),C=(0,r.useRouter)(),E=(0,x.Hm)(C),T=(0,x.GN)(C),[B,S]=(0,n.useState)(!1),N=p[v](t,i,h,C);w.PORTFOLIO_NAME_CONFIG[t],a&&(a.label2||(a.label2=E),a.label3=N),b&&(b.label2||(b.label2=E),b.label3=N);let D=(0,l.jsx)(f.az,{minWidth:{_:"auto",md:"175px"},children:(0,l.jsx)(f.$n,{fullWidth:!0,onClick:()=>{if(S(!B),m.putItem(g.vN,T),d.ALK.find(e=>E.includes(e))){let e=(0,x.R8)(E,2)||"";(0,A.E)("","header",e)}},..._,analyticsInfo:a,children:s||j})});return(0,l.jsx)(l.Fragment,{children:[c.jv.REIT,c.jv.INCOME_PRESERVE,c.jv.INCOME_PURE].includes(t)?(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(k,{onClose:()=>S(!B),onPrimaryCtaClick:e=>{S(!B),i?C.push((0,I.Xx)(e)):C.push((0,d.XGO)(e)),b&&(0,y.Ay)(b)},portfolioType:t,showModal:B,theme:i?"dashboard":"white"}),D]})}):(0,l.jsx)(f.A,{to:N,children:D})})})},51719:(e,t,o)=>{o.d(t,{A:()=>N});var l=o(37876),n=o(14232),r=o(82167),i=o(26948),s=o(66941),a=o(48011),c=o(13918);let d=(0,a.Ng)(e=>({responsiveUtility:e.responsiveUtility}),e=>({postUserCalendlyInput:t=>e(c.mD.postUserCalendlyInput(t))}));var h=o(78092),p=o(49123),u=o(2965);let x=e=>({[u.YZ.enSG]:"https://calendly.com/syfe-advisory/free-consultation-call",[u.YZ.enHK]:"https://calendly.com/hk-syfe-advisory/syfe-express-consultation",[u.YZ.zhHK]:"https://calendly.com/hk-syfe-advisory/syfe-express",[u.YZ.enAU]:""})[e],m=e=>({[u.YZ.enSG]:"https://calendly.com/syfe-advisory/private-wealth",[u.YZ.enHK]:"https://calendly.com/hk-syfe-advisory/syfe-private-wealth-hnw-solutions",[u.YZ.zhHK]:"https://calendly.com/hk-syfe-advisory/syfe-private",[u.YZ.enAU]:""})[e];var g=o(39747);let A=(e,t)=>{switch(e){case"SYFE_ADVISORY":case"HOME_PAGE":return(e=>({high:x(e),mid:x(e),low:({[u.YZ.enSG]:"https://calendly.com/syfe-advisory/free-consultation-call1",[u.YZ.enHK]:"https://calendly.com/hk-syfe-advisory/syfe-express-consultation",[u.YZ.zhHK]:"https://calendly.com/hk-syfe-advisory/syfe-express",[u.YZ.enAU]:""})[e],privateWealth:m(e)}))(t);case"CORE_GROWTH":case"CORE_DEFENSIVE":case"CORE_BALANCED":return{high:"https://calendly.com/syfe-portfolios/core",mid:"https://calendly.com/syfe-portfolios/core",low:"https://calendly.com/syfe-portfolios/core1",privateWealth:m(t)};case"GLOBAL_RISK_MANAGED":return{high:"https://calendly.com/syfe-portfolios/global",mid:"https://calendly.com/syfe-portfolios/global",low:"https://calendly.com/syfe-portfolios/global1",privateWealth:m(t)};case"GLOBAL_EQUITY_100":case"EQUITY_100":return{high:"https://calendly.com/syfe-portfolios/equity100",mid:"https://calendly.com/syfe-portfolios/equity100",low:"https://calendly.com/syfe-portfolios/equity1001",privateWealth:m(t)};case"REIT":case"REIT_RISK_MANAGED":return{high:"https://calendly.com/syfe-portfolios/reit-plus",mid:"https://calendly.com/syfe-portfolios/reit-plus",low:"https://calendly.com/syfe-portfolios/reit-plus1",privateWealth:m(t)};case"CASH_PLUS":return{high:"https://calendly.com/syfe-portfolios/cash-plus",mid:"https://calendly.com/syfe-portfolios/cash-plus",low:"https://calendly.com/syfe-portfolios/cash-plus1",privateWealth:m(t)};case g.PRIVATE_WEALTH:return(e=>({high:m(e),mid:m(e),low:({[u.YZ.enSG]:"https://calendly.com/syfe-advisory/black-gold-consult",[u.YZ.enHK]:"https://calendly.com/hk-syfe-advisory/syfe-personalised-consultation",[u.YZ.zhHK]:"https://calendly.com/hk-syfe-advisory/syfe-personalised",[u.YZ.enAU]:""})[e],privateWealth:m(e)}))(t);case"SYFE_FOR_WORK":return"https://calendly.com/syfe-for-work/introduction-syfe-for-work";case"SYFE_FOR_BUSINESS":return"https://calendly.com/syfe-for-business/introduction";default:return""}},y=[{label:"less than ".concat(u.n4.SGD.EN,"20k"),value:"less than ".concat(u.n4.SGD.EN,"20k"),scheduleType:"low"},{label:"".concat(u.n4.SGD.EN,"20k to ").concat(u.n4.SGD.EN,"100k"),value:"".concat(u.n4.SGD.EN,"20k to ").concat(u.n4.SGD.EN,"100k"),scheduleType:"mid"},{label:"".concat(u.n4.SGD.EN,"100k to ").concat(u.n4.SGD.EN,"500k"),value:"".concat(u.n4.SGD.EN,"100k to ").concat(u.n4.SGD.EN,"500k"),scheduleType:"high"},{label:"more than ".concat(u.n4.SGD.EN,"500k"),value:"more than ".concat(u.n4.SGD.EN,"500k"),scheduleType:"privateWealth"}],f={[u.XN.SG]:e=>[{label:e.more_than_1m_text,value:"".concat(u.n4.SGD.EN,"1M+"),scheduleType:"privateWealth"},{label:e.sgd_500k_1m_text,value:"".concat(u.n4.SGD.EN,"500k-1M"),scheduleType:"high"},{label:e.sgd_100k_500k_text,value:"".concat(u.n4.SGD.EN,"100k-500k"),scheduleType:"mid"},{label:e.less_than_100k_text,value:"<".concat(u.n4.SGD.EN,"100k"),scheduleType:"low"}],[u.XN.HK]:e=>[{label:e.more_than_3m_text,value:"".concat(u.n4.HKD.EN,"3M+"),scheduleType:"privateWealth"},{label:e.hkd_500k_3m_text,value:"".concat(u.n4.HKD.EN,"500k-1M"),scheduleType:"high"},{label:e.hkd_100k_500k_text,value:"".concat(u.n4.HKD.EN,"100k-500k"),scheduleType:"mid"},{label:e.less_than_100k_text,value:"<".concat(u.n4.HKD.EN,"100k"),scheduleType:"low"}]},b={[u.XN.SG]:e=>[{label:e.under_thirty_text,value:"less than 30"},{label:e.thirty_to_forty_five_text,value:"30 to 45"},{label:e.over_forty_five_text,value:"more than 45"}],[u.XN.HK]:e=>[{label:e.under_thirty_text,value:"less than 30"},{label:e.thirty_to_forty_five_text,value:"30 to 45"},{label:e.over_forty_five_text,value:"more than 45"}]};var _=o(38198),j=o(92009),v=o(9053),w=o(44610);let C=e=>{let{onClose:t,link:o,analyticsLabel:r}=e,i={"calendly.event_scheduled":"scheduled_successfully","calendly.event_type_viewed":"calendly_intro"},s=e=>{if((e=>e.data.event&&0===e.data.event.indexOf("calendly"))(e)){let t=i[e.data.event];t&&(0,h.Ay)({category:"schedule_date_time",label:r,action:t})}};return n.useEffect(()=>{let e=document.querySelector("head"),t=document.createElement("link");t.setAttribute("href","https://calendly.com/assets/external/widget.css"),t.setAttribute("rel","stylesheet");let o=document.createElement("script");return o.setAttribute("async","true"),o.setAttribute("src","https://assets.calendly.com/assets/external/widget.js"),e&&(e.appendChild(o),e.appendChild(t)),window.addEventListener("message",s),(
1)=>{e&&(e.removeChild(o),e.removeChild(t)),window.removeEventListener("message",s)}},[]),(0,l.jsx)("div",{className:"calendly-inline-widget","data-url":o,scrolling:"no",style:{width:"100%",height:"100%"}})};var k=o(19633);let I={src:"/_next/static/media/advisoryRoundedHK.44852fb2.png",height:136,width:136,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAh1BMVEVMaXFeaV7qx6pmXlUFCg9JYGBofYXAemVMTkufjH1UXFZzWFQzREQrNzt1YVYSHCScmZsABA0UICdIWWgaJS/lzLiFnbaDimGNcEpkdEomLTHXsZGWdmdGUVY3WVzDq6RhQTKFiILUelmUjIBSXmo1WW9IYHNlk6OjakuEor2lq7mxlIaVfVfc0DDaAAAAHHRSTlMA/Pj4MLOz/fot6/4t6/ex/vn09DC067HrMPS0Dn7u2wAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAAEhJREFUCJkFwYUBgDAAA7AOprj7BNf/7yMBFPcTFgE0mEVoYopUCjFJzVC4ZVqtlhjcRcx2lGg/cu75zdF3r82epgLU6Hm1wg+YaQS30OPZRgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},E={advisoryImage:{[u.YZ.enSG]:{src:"/_next/static/media/advisoryRoundedSG.5ba477e0.png",height:120,width:600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAGFBMVEWajImypKGqnZqhk4+xnZWLd3CiioKrl4+gBrEVAAAACHRSTlPw7+7u8Ozz7lhz0TsAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAaSURBVAiZY2BkZGJmYmZkYGBjZWdgYmFgAQABWQAqjgwugwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:2},[u.YZ.enHK]:I,[u.YZ.zhHK]:I}},T=(0,r.Ay)(w.pT).withConfig({componentId:"sc-9ba51432-0"})(["border-radius:16px;text-align:left;",";"],e=>e.responsiveUtility.isPhone&&"border-radius: 0;"),B=(0,r.Ay)(w.pT).withConfig({componentId:"sc-9ba51432-1"})(["border-radius:100%;"]),S=e=>{let{showModal:t,onClose:o,responsiveUtility:r,linkType:a,pageTypeForAnalytics:c,postUserCalendlyInput:d,skipInitialForm:u,calendlyLink:x}=e,{strings:{general:{advisor_callback_modal:{background_experience_caption:m,age_label_text:I,investment_label_text:S,schedule_date_time_cta:N,investment_options:D,age_options:H}}},geography:Y,localeCode:R}=(0,s.Ym)(),U=b[Y](H),O=f[Y](D),z="";x?z=x:u&&(z=a===g.SYFE_FOR_WORK?A(g.SYFE_FOR_WORK,R):a===g.SYFE_FOR_BUSINESS?A(g.SYFE_FOR_BUSINESS,R):A(g.PRIVATE_WEALTH,R).privateWealth);let[F,P]=n.useState(z),[W,L]=n.useState(u),[G,M]=n.useState(""),X=c===g.PRIVATE_WEALTH?O:y,K=(0,i.Wx)({initialValues:{age:"",annualInvestment:""},onSubmit:e=>{var t;let o="".concat(e.age," and ").concat(e.annualInvestment),l=(0,p.ZH)(c.toLowerCase()),{age:n,annualInvestment:r}=e;d({sessionId:(()=>{let e=(0,_.Gq)(v.Rj);return e||(e=(0,j.DU)(64),(0,_.t_)(v.Rj,e)),e})(),age:n,annualInvestment:r,label:o,fromPage:l}),M(o),(0,h.Ay)({action:l,category:"schedule_date_time",label:o});let i=null==(t=X.find(t=>t.value===e.annualInvestment))?void 0:t.scheduleType;P(A(a,R)[i]),L(!0)}}),Z=!K.values.age||!K.values.annualInvestment;return t?(0,l.jsx)(w.aF,{modalMaxWidth:"auto",onClose:o,showCloseIcon:!1,children:(0,l.jsxs)(T,{bg:"primary.3",responsiveUtility:r,height:r.isPhone?"80vh":W?"70vh":"auto",width:r.isPhone?"100%":W?"55vw":"auto",children:[W&&F?(0,l.jsx)(w.az,{height:"100%",pb:5,pt:10,width:"100%",children:(0,l.jsx)(C,{link:F,onClose:o,analyticsLabel:a===g.SYFE_FOR_WORK?c:G})}):(0,l.jsxs)(w.pT,{alignItems:"center",flexDirection:"column",maxWidth:{_:"auto",md:"375px"},mb:8,pb:10,pt:{_:6,md:5},px:{_:8,md:10},children:[(0,l.jsx)(w.az,{height:"62px",mb:3,mt:8,children:(0,l.jsx)(k.A,{alt:"advisory image",height:"100%",imageSourceMap:E.advisoryImage,width:"auto"})}),(0,l.jsx)(w.EY,{color:"N.15",mb:8,textAlign:"center",variant:"subtitle1",children:m}),(0,l.jsx)(w.l6,{error:K.touched.age&&K.errors.age,errorText:K.errors.age,fillType:"outlined",label:I,name:"age",onBlur:K.handleBlur,onChange:K.handleChange,options:U,showSelectWithDropdown:!0,theme:"light",value:K.values.age,variant:"light"}),(0,l.jsx)(w.l6,{errorText:K.errors.annualInvestment,fillType:"outlined",label:S,name:"annualInvestment",onBlur:K.handleBlur,onChange:K.handleChange,options:X,showSelectWithDropdown:!0,theme:"light",value:K.values.annualInvestment,variant:"light",error:K.touched.annualInvestment&&K.errors.annualInvestment}),(0,l.jsx)(w.pT,{alignItems:"center",bottom:{_:6,md:"auto"},flexDirection:"column",mt:{_:0,md:8},mx:{_:"auto",md:6},position:{_:"absolute",md:"relative"},width:{_:"80%",md:"100%"},children:(0,l.jsx)(w.$n,{fullWidth:!0,disabled:Z,onClick:K.handleSubmit,type:"primary",children:N})})]}),(0,l.jsx)(B,{cp:!0,alignItems:"center",bg:"N.4",color:"N.14",height:4,justifyContent:"center",onClick:o,position:"absolute",right:4,top:4,width:4,children:(0,l.jsx)(w.C0,{height:"20px",name:"cross",width:"20px"})})]})}):null};
1S.defaultProps={skipInitialForm:!1};let N=d(S)},59249:(e,t,o)=>{o.d(t,{A:()=>n});var l=o(26445);let n=e=>!!(0,l.Kb)().availablePortfolioTypes.find(t=>e.includes(t))},60024:(e,t,o)=>{o.d(t,{A:()=>i});var l=o(37876);o(14232);var n=o(15569);let r=e=>{let{children:t,theme:o,...r}=e;return(0,l.jsx)(n.A,{bgColor:"dark"===o?"#0FC127":"#ffffff",onClick:()=>{window.open("https://selfwealth.com.au/","_blank","noopener,noreferrer")},textColor:"dark"===o?"#ffffff":"#0F1B3F",...r,children:t})};r.defaultProps={theme:"white"};let i=r},75884:(e,t,o)=>{o.d(t,{A:()=>c});var l=o(37876);o(14232);var n=o(71950),r=o(89099),i=o(49123),s=o(66941),a=o(93797);let c=e=>{let{qrValue:t}=e,o=(0,r.useRouter)(),{localeCode:c}=(0,s.Ym)();return(0,l.jsx)(n.hp,{imageSettings:{src:a.A.src,height:41,width:41},level:"Q",value:null!=t?t:(0,i.BK)(o,c)})}},87589:(e,t,o)=>{o.d(t,{E:()=>n});var l=o(27985);let n=(e,t,o)=>{let n=window.location.pathname.includes("trade")?"trade":window.location.pathname.includes("wealth")?"wealth":"";l.putJSON("promoCode",{source:n,email:e,promoCode:o})}},93797:(e,t,o)=>{o.d(t,{A:()=>l});let l={src:"/_next/static/media/QRcodelogo.0bac8fec.svg",height:44,width:44,blurWidth:0,blurHeight:0}},96879:(e,t,o)=>{o.d(t,{A:()=>x});var l=o(37876),n=o(14232),r=o(89099),i=o(71950),s=o(2965),a=o(66941),c=o(49123),d=o(65349),h=o(75884),p=o(23561),u=o(44610);let x=e=>{let{onCrossClick:t=()=>{},showCrossIcon:o=!0,showQrCode:x,analyticsFunc:m,qrValue:g,showDownloadAppModal:A,onCloseHandler:y,title:f,caption:b="",showCloseBtn:_,secondaryCtaCaption:j,secondaryCtaHandler:v,showNewModalInHK:w=!1}=e,{strings:{general:{download_app_button:{download_app_text:C,scan_to_download_app:k},download_app_modal:{or_text:I}}},localeCode:E}=(0,a.Ym)(),T=(0,r.useRouter)();n.useEffect(()=>()=>{y&&y()},[]);let B=x?k:C,S=()=>
1{if(A)return(0,l.jsxs)(u.aF,{modalMaxWidth:"588px",onClose:y,showCloseIcon:o,styles:{p:{_:6,md:10}},children:[(0,l.jsx)(u.az,{mb:{_:6,md:12},mt:{_:6,md:0},children:(0,l.jsx)(u.EY,{as:"div",color:"BT.7",textAlign:"center",variant:"price5",children:(0,l.jsx)(a.In,{str:f||B,components:{brElement:(0,l.jsx)("br",{})}})})}),x?(0,l.jsx)(u.pT,{justifyContent:"center",mb:12,position:"relative",children:(0,l.jsx)(i.hp,{size:100,value:null!=g?g:(0,c.BK)(T,E)})}):null,(0,l.jsx)(p.A,{analyticsFunc:m,buttonMarginBottom:{_:5,md:0},buttonMarginRight:{_:0,md:2},heightPerIcon:"45px",justifyContent:"center",width:"100%"})]})};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.A,{renderOn:[s.XN.SG],children:(0,l.jsx)(S,{})}),(0,l.jsx)(d.A,{renderOn:[s.XN.AU],children:(0,l.jsx)(u.Wh,{crossIcon:"downloadAppModalCross",modalWidthForDesktop:"474px",onClose:t,children:(0,l.jsxs)(u.pT,{alignItems:"center",flexDirection:"column",mt:-8,children:[(0,l.jsx)(u.az,{maxWidth:"239px",children:(0,l.jsx)(u.EY,{as:"div",color:"BT.7",textAlign:"center",variant:"h5",children:C})}),(0,l.jsx)(u.az,{my:10,children:(0,l.jsx)(h.A,{qrValue:g})}),(0,l.jsx)(p.A,{analyticsFunc:m,buttonMarginRight:{_:0,md:2},justifyContent:"center",showHuaweiButton:!1})]})})}),(0,l.jsx)(d.A,{renderOn:[s.XN.HK],children:w?(0,l.jsx)(S,{}):(0,l.jsx)(l.Fragment,{children:A?(0,l.jsx)(u.aF,{modalMaxWidth:"auto",onClose:y,showCloseIcon:!1,styles:{p:0},children:(0,l.jsxs)(u.az,{bg:"N.1",borderRadius:5,p:6,width:"648px",children:[(0,l.jsxs)(u.pT,{children:[(0,l.jsx)(u.EY,{color:"BT.7",variant:"h5",children:f}),_?(0,l.jsx)(u.pT,{cp:!0,alignItems:"center",bg:"N.4",borderRadius:"100%",color:"B.5",height:4,justifyContent:"center",onClick:y,position:"absolute",right:4,top:4,width:4,children:(0,l.jsx)(u.C0,{height:"20px",name:"cross",width:"20px"})}):null]}),(0,l.jsxs)(u.pT,{alignItems:"flex-end",children:[(0,l.jsxs)(u.az,{mt:6,children:[(0,l.jsx)(u.az,{mb:11,pr:6,children:(0,l.jsx)(u.EY,{color:"N.15",variant:"body2",children:(0,l.jsx)(a.In,{str:b,components:{textComponent:(0,l.jsx)(u.EY,{color:"BT.7"}),boldElement:(0,l.jsx)("b",{})}})})}),(0,l.jsx)(u.pT,{flexWrap:"wrap",children:(0,l.jsx)(p.A,{analyticsFunc:m})})]}),(0,l.jsx)(u.pT,{flex:1,justifyContent:"center",mb:3,children:(0,l.jsx)(h.A,{})})]}),j?(0,l.jsxs)(u.az,{children:[(0,l.jsx)(u.EY,{color:"N.12",textAlign:"center",variant:"body2",children:I}
1),(0,l.jsx)(u.az,{mt:4,children:(0,l.jsx)(u.$n,{fullWidth:!0,fillType:"outlined",onClick:v||y,children:j})})]}):null]})}):null})})]})}},98998:(e,t,o)=>{o.d(t,{A:()=>eS});var l=o(37876),n=o(21651),r=o(77170),i=o.n(r),s=o(89099),a=o(14232),c=o(82167),d=o(36269),h=o(66941),p=o(87802),u=o(78092),x=o(95628),m=o(2965),g=o(27584),A=o(20635),y=o(93004),f=o(27985),b=o(95118),_=o(88494),j=o(48011),v=o(5219),w=o(13918),C=o(65164);let k=(0,j.Ng)(e=>({loggedIn:v.o_.isLoggedIn(e),showHelloBar:v.vB.getHelloBarStatus(e),responsiveUtility:e.responsiveUtility,showModal:v.vB.getShowDownloadAppModal(e),isUserInfoLoaded:v.$u.isUserInfoLoaded(e)}),e=>({showDownloadAppModal:()=>e(w.v_.showDownloadAppModal()),hideDownloadAppModal:()=>e(w.v_.hideDownloadAppModal()),newHeaderMounted:()=>e((0,C._o)()),newHeaderUnmounted:()=>e((0,C.hI)()),loadUserInfo:()=>e(w.zV.getUserInfo())}));var I=o(65349),E=o(29345),T=o(60024),B=o(44610),S=o(24981);let N=()=>(0,l.jsx)(B.az,{children:(0,l.jsxs)(B.pT,{alignItems:"center",bg:"#014455",direction:"row",justifyContent:"center",pb:4,pt:6,px:{_:"16px",md:"0px"},width:"100%",children:[(0,l.jsxs)(B.pT,{alignItems:{sm:"flex-start"},mr:{_:"0px",md:"28px"},gap:{_:"4px",sm:"8px"},children:[(0,l.jsx)(B.EY,{color:"#FFFFFF",fontSize:{_:"12px",md:"18px"},mt:{_:"1px"},children:"We're growing. Continue investing with us at"}),(0,l.jsx)(B._V,{alt:"selfwealth",height:{_:"24px",md:"34px"},src:S.A,width:{_:"80px",md:"116px"}})]}),(0,l.jsx)(E.A,{renderOn:["desktop"],children:(0,l.jsx)(T.A,{size:"small",style:{padding:"9px 28px"},theme:"dark",children:"Get Started"})})]})});var D=o(16799),H=o(96879),Y=o(45321),R=o(39747),U=o(51719);function O(e){let{analyticsInfo:t}=e,{strings:{general:{schedule_a_call_cta:o}}}=(0,h.Ym)(),[n,r]=(0,a.useState)(!1);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(B.$n,{fullWidth:!0,analyticsInfo:t,onClick:()=>{r(!0)},size:{_:"small",md:"default"},type:"mutedAccent",children:o}),n&&(0,l.jsx)(U.A,{linkType:R.SYFE_FOR_BUSINESS,onClose:()=>r(!1),showModal:n,skipInitialForm:!0})]})}var z=o(38248);let F=(0,j.Ng)(e=>({showHelloBar:v.vB.getHelloBarStatus(e),netProjectedYieldForCashPlus:v.et.getNetProjectedYield(e,m.jv.CASH_PLUS),maxIncomePlusReturn:v.et.getMaxIncomePlusReturn(e,[m.jv.INCOME_ENHANCE,m.jv.INCOME_PURE]),defaultTenor:v.et.getDefaultTenor(e,"ONBOARDING",m.jv.CASH_PLUS_GUARANTEED)}),e=>({removeHelloBar:()=>e(w.v_.removeHelloBar()),addHelloBar:()=>e(w.v_.addHelloBar())})),P=(0,c.Ay)(e=>(0,l.jsx)(B.A,{...e})).withConfig({componentId:"sc-571a642a-0"})(["&&&{color:",";}&:hover{text-decoration:underline;}"],(0,n.A)("colors.BT.6")),W=[],L=(0,c.Ay)(e=>(0,l.jsx)(B.A,{...e})).withConfig({componentId:"sc-1cd31ac2-0"})(["&&&{color:",";}&:hover{text-decoration:underline;}"],(0,n.A)("colors.BT.6")),G=[y.tnJ,y.pCd];var M=o(65061);let X={[m.XN.HK]:e=>{var t;let{strings:o,router:n,defaultTenor:r,localeCode:i}=e,s=(0,b.Hm)(n),a={text:(0,h.GW)(o.general.hello_bar.content_text,{rate:(null==r?void 0:r.value)||""}),learnMoreProps:{to:(0,A.Ii)(i),target:"_blank"}},c=null!=(t=[].find(e=>e.url===s))?t:a;return{text:(0,l.jsx)(h.In,{str:c.text,components:{linkWrapper:(0,l.jsx)(P,{...c.learnMoreProps})}}),ctaText:"",onCtaClick:()=>{},textUnderline:!1,bgColor:null,textColor:null,showHelloBarForCurrentRoute:!n||!W.includes(s)&&!!(null==r?void 0:r.value)}},[m.XN.SG]:e=>{var t;let{strings:o,router:n,defaultTenor:r}=e,i=(0,b.Hm)(n),s={text:(0,h.GW)(o.general.hello_bar.content_text,{return:r.value}),learnMoreProps:{to:y.tnJ}},a=null!=(t=[].find(e=>e.url===i))?t:s;return{text:(0,l.jsx)(h.In,{str:a.text,components:{linkWrapper:(0,l.jsx)(L,{onClick:()=>{let e=(0,d.tj3)();(0,u.Ay)(e)},...a.learnMoreProps})}}),ctaText:"",onCtaClick:()=>{},textUnderline:!1,restrictedUrls:[],showHelloBarForCurrentRoute:!n||!G.includes(i)}},[m.XN.AU]:e=>{var t;let{strings:o}=e,n={text:o.general.hello_bar.content_text,learnMoreProps:{onClick:()=>window.open(M.iyg,"_blank")}},r=null!=(t=[].find(e=>e.url===pathname))?t:n;return{text:(0,l.jsx)(h.In,{str:r.text,components:{linkWrapper:(0,l.jsx)(B.EY,{cp:!0,textDecoration:"underline",...r.learnMoreProps})}}),ctaText:"",onCtaClick:()=>{},textUnderline:!1,restrictedUrls:[],bgColor:null,textColor:null,showHelloBarForCurrentRoute:!0}}},K={[m.XN.SG]:[{path:"/",version:3}],[m.XN.HK]:[{path:"/",version:5}],[m.XN.AU]:[{path:"/",version:2}]},Z=F(e=>{let{removeHelloBar:t,showHelloBar:o,netProjectedYieldForCashPlus:n,maxIncomePlusReturn:r,addHelloBar:i,defaultTenor:c}=e,{geography:p,geographyConstants:x,strings:m,localeCode:g}=(0,h.Ym)(),A=(0,s.useRouter)(),y=(0,b.Hm)(A),{text:f,ctaText:_,onCtaClick:j,textUnderline:v,showHelloBarForCurrentRoute:w,bgColor:C,textColor:k}=X[p]({strings:m,data:{netProjectedYieldForCashPlus:n,maxIncomePlusReturn:r},router:A,localeCode:g,defaultTenor:c}),I=K[p],T=a.useCallback(()=>{var e;let t=null!=(e=I.find(e=>e.path===y))?e:I.find(e=>"/"===e.path);return t.path.replace("/","")+"_"+t.version},[I,y]);return(0,a.useEffect)(()=>{var e;let o=JSON.parse(null!=(e=(0,z.getCookie)(x.helloBarVersionsKey))?e:"[]"),l=T();o.includes(l)?t():i()},[T]),o&&w&&(0,l.jsxs)(B.pT,{bg:C||"Y.4",color:"B.7",justifyContent:"center",p:4,children:[(0,l.jsxs)(E.A,{renderOn:["desktop"],children:[(0,l.jsx)(B.EY,{as:"div",color:k,onClick:j,textAlign:{_:"left",md:"center"},textDecoration:v?"underline":"none",variant:"subtitle2",children:f}),!!_&&(0,l.jsx)(B.pT,{cp:!0,flexShrink:0,ml:2,onClick:j,children:(0,l.jsx)(B.EY,{textDecoration:"underline",variant:"subtitle2",children:_})})]}),(0,l.jsx)(E.A,{renderOn:["phone","tablet"],children:(0,l.jsxs)(B.az,{mr:6,children:[(0,l.jsx)(B.EY,{color:k,mr:2,onClick:j,variant:"button2",children:f}),!!_&&(0,l.jsx)(B.pT,{cp:!0,flexShrink:0,onClick:j,children:(0,l.jsx)(B.EY,{textDecoration:"underline",variant:"button2",children:_})})]})}),(0,l.jsx)(B.az,{cp:!0,color:"B.7",onClick:()=>{var e;(0,u.Ay)((0,d.nKf)()),t();let o=T(),[l,n]=o.split("_"),r=JSON.parse(null!=(e=(0,z.getCookie)(x.helloBarVersionsKey))?e:"[]");Array.isArray(r)||(r=[]);let i=r.indexOf(l+"_"+(n-1));
1-1!==i&&r.splice(i,1),r.push(o),(0,z.setCookie)(x.helloBarVersionsKey,r,{maxAge:3456e4})},position:"absolute",right:4,children:(0,l.jsx)(B.C0,{height:"20",name:"cross",width:"20"})})]})});var V=o(15508),Q=o(37138);let J={blue:{background:{line:"colors.BT.4"},textColor:{geoText:"colors.BT.3"}},white:{background:{line:"#0D1D48"},textColor:{geoText:"#0D1D48"}}},q=e=>{let{theme:t}=e,{localeCode:o,geography:n}=(0,h.Ym)(),{componentTheme:r}=(0,p.Y)(t,J),i=V.I[o].label;return(0,l.jsxs)(B.pT,{alignItems:"center",children:[(0,l.jsx)(B.az,{height:"fit-content",overflow:"hidden",children:(0,l.jsx)(Q.A,{code:n.toLowerCase()})}),(0,l.jsx)(B.az,{bg:r.background.line,height:"18px",mx:2,width:"1.5px"}),(0,l.jsx)(B.EY,{color:r.textColor.geoText,variant:"subtitle2",children:i})]})};var $=o(2380);let ee={blue:{background:{popup:"colors.B.6",selectedGeoRow:"colors.B.4",crossIcon:"colors.BT.3"},textColor:{selectedLanguageColor:"colors.BT.1",languageColor:"colors.BT.2",selectedCountryColor:"colors.BT.1",countryColor:"colors.BT.2",crossIcon:"colors.BT.7"}},white:{background:{popup:"colors.N.1",selectedGeoRow:"rgba(13, 29, 72, 10%)",crossIcon:"colors.BT.7"},textColor:{selectedLanguageColor:"#0D1D48",languageColor:"#0D1D48",selectedCountryColor:"#0D1D48",countryColor:"#0D1D48",crossIcon:"colors.N.1"}}},et=e=>{let{onClose:t,theme:o}=e,{geography:n,geographyConstants:r,localeConfig:i}=(0,h.Ym)(),a=(0,s.useRouter)(),c=(0,b.Hm)(a),x=(0,b.cN)(a),{LANGUAGES:A}=r,{componentTheme:y}=(0,p.Y)(o,ee);x.rp||(x.rp="ls");let _=(0,b.yN)(c,x),j=()=>{f.putItem(g.hj,"true"),f.putItem(g.bM,"true")},v=Object.keys(m.XN).filter(e=>e!==n),w=e=>(0,l.jsx)(B.pT,{children:e.map((e,t)=>{let o=V.I[e],r=e===i.code,s=o.urlPrefix||"/";if(o.countryFullName===i.countryFullName)s+=_;else{let[,e]=_.split("?");e&&(s+="?".concat(e))}return(0,l.jsx)(B.az,{as:B.A,href:s,onClick:()=>{(0,u.Ay)((0,d.akv)(n,o.language)),j()},target:"_self",children:(0,l.jsx)(B.EY,{ml:0!==t&&{_:6,md:10},textDecoration:r?"underline":"none",variant:"body2",color:r?y.textColor.selectedLanguageColor:y.textColor.languageColor,children:o.languageFullName})},t)})}),C=(0,l.jsxs)(B.az,{bg:y.background.popup,children:[(0,l.jsxs)(B.az,{bg:y.background.selectedGeoRow,children:[(0,l.jsx)(E.A,{renderOn:["phone","tablet"],children:(0,l.jsx)(B.pT,{justifyContent:"flex-end",mr:6,pt:5,children:(0,l.jsx)(B.pT,{cp:!0,alignItems:"center",bg:y.background.crossIcon,borderRadius:"100%",color:y.textColor.crossIcon,height:3,justifyContent:"center",onClick:t,width:3,children:(0,l.jsx)(B.C0,{height:"20px",name:"cross",width:"20px"})})})}),(0,l.jsxs)(B.pT,{alignItems:"center",justifyContent:"space-between",px:{_:6,md:10},py:6,children:[(0,l.jsx)($.A,{geography:n,countryNameProps:{variant:{_:"body2",md:"subtitle2"},color:y.textColor.selectedCountryColor,ml:3}}),w(A)]})]}),(0,l.jsx)(B.az,{children:v.map(e=>{let{LANGUAGES:t,LOCALES:o}=V.h[e],r=V.I[o[0]].urlPrefix||"/";return(0,l.jsxs)(B.pT,{alignItems:"center",justifyContent:"space-between",px:{_:6,md:10},py:6,children:[(0,l.jsx)(B.az,{cp:!0,as:B.A,href:r,onClick:()=>{(0,u.Ay)((0,d.kM8)(n,e)),j()},target:"_self",children:(0,l.jsx)($.A,{geography:e,countryNameProps:{color:y.textColor.countryColor}})}),w(t)]},e)})})]});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(E.A,{renderOn:["phone","tablet"],children:(0,l.jsx)(B.az,{bg:"rgba(0, 0, 0, 0.75)",bottom:0,left:0,position:"fixed",right:0,top:0,zIndex:9406,children:(0,l.jsx)(B.az,{bg:y.background.popup,borderTopLeftRadius:5,borderTopRightRadius:5,bottom:0,mt:"auto",overflow:"hidden",position:"absolute",width:"100%",children:C})})}),(0,l.jsx)(E.A,{renderOn:"desktop",children:(0,l.jsx)(B.az,{borderBottomLeftRadius:5,borderBottomRightRadius:5,minWidth:"520px",overflow:"hidden",children:C})})]})},eo=(0,j.Ng)(e=>({responsiveUtility:e.responsiveUtility}));var el=o(59249);let en=e=>{let{strings:{header:{wealthExpertMenu:t}}}=e;return[{route:y.wfU,title:t.free_consultation_cta,key:"financialAdvisor",analyticsInfo:(0,d.lG9)("free_consultation")},{route:y.w5c,title:t.private_wealth_cta,key:"privateWealth",analyticsInfo:(0,d.lG9)("private_wealth")}]},er={[m.XN.HK]:e=>{let{locale:t,activeTrade:o}=e,{strings:{header:{moreMenu:l,blogsMenu:n,navLinks:r,pricingMenu:i},chips:{new_text:s}},localeCode:a}=t;return[...o?[{key:"trade",title:r.trade_menu,route:null,color:{_:"N.1",xl:"BT.1"},dropdownItems:[{route:y.dgL,title:r.about_cta,textProps:{variant:"subtitle2",color:"BT.4"}}],dropdownOpen:!0,tag:s,analyticsInfo:(0,d.cmb)("trade")},{key:"wealth",route:null,title:r.wealth_menu,color:{_:"N.1",xl:"BT.1"},customDropdown:!0,defaultExpanded:!0,analyticsInfo:(0,d.lG9)("wealth")}]:[{key:"portfolios",title:r.syfe_portfolios_menu,customDropdown:!0,defaultExpanded:!0},{key:"wealthExperts",title:r.advisory_menu,dropdownItems:en(t)}],{key:"pricing",title:r.pricing_menu,route:o?null:y.bP0,dropdownItems:o?[{route:y.HLV,title:i.wealth_pricing_cta,analyticsInfo:(0,d.Egi)("wealth")},{route:y.Unr,title:i.trade_pricing_cta,analyticsInfo:(0,d.Egi)("trade")}]:null},{key:"blogs",title:r.blogs_menu,dropdownItems:a===m.YZ.zhHK?[{link:(0,A.LN)(a),title:n.home_cta,analyticsInfo:(0,d.M6f)("magazine")},{link:(0,A.zX)(a),title:n.insights_cta,analyticsInfo:(0,d.M6f)("insights")}]:[{link:(0,A.LN)(a),title:n.home_cta,analyticsInfo:(0,d.M6f)("magazine")}]},{key:"more",title:r.more_menu,dropdownItems:[{route:y.rCW,title:l.about_us,analyticsInfo:(0,d.J2c)("about_us")}
1,{route:y.l5i,title:l.security_cta,analyticsInfo:(0,d.J2c)("security")},{route:y.e_u,title:l.careers_cta,analyticsInfo:(0,d.J2c)("careers")},{route:y.Twd,title:l.faqs_cta}]}].filter(Boolean)},[m.XN.AU]:e=>{let{locale:t}=e,{strings:{header:{moreMenu:o,navLinks:l}},localeCode:n}=t;return[{key:"home",title:l.home_cta,route:y.yZL},{key:"invest",title:l.invest_menu,defaultExpanded:!0,dropdownItems:[{route:y.FvN,title:o.etf_and_stock_cta},{route:y.CXF,title:o.smart_baskets_cta},{route:y.lR5,title:o.goals_cta}]},{key:"aboutUs",title:l.about_us,defaultExpanded:!0,dropdownItems:[{route:y.rCW,title:o.our_story_cta},{route:y.l5i,title:o.security_cta},{route:y.YAe,title:o.legal_cta}]},{key:"blogs",title:l.blogs_menu,link:(0,A.LN)(n)},{key:"support",title:o.support_cta,route:y.Twd}]}},ei={[m.XN.HK]:e=>{let{locale:t,activeTrade:o}=e,{strings:{header:{moreMenu:l,blogsMenu:n,navLinks:r,pricingMenu:i},chips:{new_text:s}},localeCode:a}=t;return[...o?[{key:"trade",title:r.trade_menu,route:y.dgL,color:{_:"N.1",xl:"BT.1"},dropdownItems:null,dropdownOpen:!0,tag:s,analyticsInfo:(0,d.cmb)("trade")},{key:"wealth",route:y.QCP,title:r.wealth_menu,color:{_:"N.1",xl:"BT.1"},customDropdown:!0,defaultExpanded:!0,analyticsInfo:(0,d.lG9)("wealth")}]:[{key:"portfolios",title:r.portfolios_menu,customDropdown:!0,defaultExpanded:!0},{key:"wealthExperts",title:r.advisory_menu,dropdownItems:en(t)}],{key:"pricing",title:r.pricing_menu,route:o?null:y.bP0,dropdownItems:o?[{route:y.HLV,title:i.wealth_pricing_cta,analyticsInfo:(0,d.Egi)("wealth")},{route:y.Unr,title:i.trade_pricing_cta,analyticsInfo:(0,d.Egi)("trade")}]:null},{key:"blogs",title:r.blogs_menu,dropdownItems:a===m.YZ.zhHK?[{link:(0,A.LN)(a),title:n.home_cta,analyticsInfo:(0,d.M6f)("magazine")},{link:(0,A.zX)(a),title:n.insights_cta,analyticsInfo:(0,d.M6f)("insights")}]:[{link:(0,A.LN)(a),title:n.home_cta,analyticsInfo:(0,d.M6f)("magazine")}]},{key:"more",title:r.more_menu,dropdownItems:[{route:y.rCW,title:l.about_us,analyticsInfo:(0,d.J2c)("about_us")},{route:y.l5i,title:l.security_cta,analyticsInfo:(0,d.J2c)("security")},{route:y.e_u,title:l.careers_cta,analyticsInfo:(0,d.J2c)("careers")},{route:y.Twd,title:l.faqs_cta}]}].filter(Boolean)},[m.XN.AU]:e=>{let{locale:t}=e,{strings:{header:{moreMenu:o,navLinks:l}},localeCode:n}=t;return[{key:"invest",title:l.invest_menu,defaultExpanded:!0,dropdownItems:[{route:y.FvN,title:o.etf_and_stock_cta},{route:y.CXF,title:o.smart_baskets_cta},{route:y.lR5,title:o.goals_cta}]},{key:"aboutUs",title:l.about_us,defaultExpanded:!0,dropdownItems:[{route:y.rCW,title:o.our_story_cta},{route:y.l5i,title:o.security_cta},{route:y.YAe,title:o.legal_cta}]},{key:"blogs",title:l.blogs_menu,link:(0,A.LN)(n)},{key:"support",title:o.support_cta,route:y.Twd}]}},es=(0,c.Ay)(B.pT).withConfig({componentId:"sc-7bc0eb73-0"})(["",""],e=>e.hoverColor&&"&:hover {\n    color: ".concat((0,n.y)("colors.".concat(e.hoverColor))(e),";\n  }")),ea=e=>{let{containerProps:t}=e,{strings:{header:{investment_strategy_text:o,navLinks:{strategy_menu:n}}}}=(0,h.Ym)();return(0,l.jsxs)(B.pT,{borderBottom:{_:"1px solid",xl:"none"},borderColor:"BT.7",flexDirection:"column",flexShrink:0,height:{_:"unset",xl:"400px"},mt:-2,pb:5,pl:{_:0,xl:6},pt:7,width:{_:"unset",xl:"230px"},...t,children:[(0,l.jsx)(es,{alignItems:"center",as:B.A,color:"BT.4",hoverColor:"BT.4",mb:2,to:y.iyX,children:(0,l.jsx)(B.EY,{as:"div",color:"BT.4",variant:{_:"subtitle2",xl:"subtitle1"},children:n})}),(0,l.jsx)(B.az,{width:{_:"230px",xl:"unset"},children:(0,l.jsx)(B.EY,{color:"BT.2",variant:{_:"body2",xl:"subtitle2"},children:o})})]})},ec=(0,j.Ng)(e=>({portfolioContentData:v.et.portfolioContentData(e),isDesktop:e.responsiveUtility.isDesktop}));var ed=o(73356);let eh=(0,c.Ay)(B.pT).withConfig({componentId:"sc-9a705cde-0"})(["",""],e=>e.hoverColor&&"&:hover {\n    color: ".concat((0,n.A)("colors.".concat(e.hoverColor))(e),";\n  }")),ep=(0,c.SL)(e=>{let{portfolioContentData:t,logNavigationAnalytics:o,getPortfolioUrl:r,isDesktop:i,theme:s}=e,{strings:{general:c,header:{navLinks:{about_core_portfolios:d}}},currentLang:p,geography:u}=(0,h.Ym)(),{visibilityFlags:{showCoreLanding:x}}=(0,_.Q)(u),[g,A]=(0,a.useState)([]),f=e=>(0,l.jsx)(B.az,{children:e.map(e=>{var t;return e.showInHeader&&(0,l.jsxs)(eh,{alignItems:"center",as:B.A,color:"BT.2",hoverColor:"BT.1",mt:{_:1,xl:0},py:2,to:r(e.portfolioType),onClick:o(e.portfolioType.toLowerCase().split(" ").join("_")),children:[(0,l.jsx)(B._V,{alt:"portfolio-icon",height:3,mr:3,quality:5,sizes:"24px 24px",src:e.icon,width:3}),(0,l.jsx)(B.EY,{variant:{_:"body2",xl:"subtitle2"},children:e.title}),null==(t=e.tags)?void 0:t.map(e=>(0,l.jsx)(B.vu,{obround:!0,bgColor:e.bgColor,color:e.color,height:"18px",ml:2,text:e.label},e.label))]},e.title)})});return(0,l.jsxs)(B.pT,{inline:!0,flexDirection:"column",flexWrap:"wrap",maxHeight:{_:"auto",xl:"240px"},mt:1,width:{_:"100%",xl:"auto"},children:[t&&t.data.map((e,t)=>{var n;let r=e.portfolios,s="core"===e.key,a=["income","cash"].includes(e.ke
1y);return(0,l.jsxs)(B.pT,{borderBottom:{_:"1px solid",xl:"none"},borderColor:"BT.7",flexDirection:"column",flexShrink:0,ml:{_:0,xl:!a&&18},pb:{_:5,xl:0},pt:{_:0!==t?6:3,xl:5},children:[(0,l.jsxs)(B.pT,{alignItems:"center",color:"BT.4",cp:!i,mb:1,onClick:i?null:(e=>()=>{let t=[...g];t[e]=!g[e],A(t)})(t),children:[(0,l.jsx)(B.EY,{as:"div",variant:{_:"subtitle2",xl:"subtitle1"},children:((e,t)=>t?e.title:"".concat(e.title).concat(p!==m.Yj.CHINESE?" ":"").concat(c.portfolios_caption))(e,a)}),null==(n=e.tags)?void 0:n.map(e=>(0,l.jsx)(B.vu,{obround:!0,bgColor:e.bgColor,color:e.color,height:"18px",ml:2,text:e.label},e.label)),(0,l.jsx)(E.A,{renderOn:["tablet","phone"],children:!a&&(0,l.jsx)(B.az,{display:"inline",ml:2,children:(0,l.jsx)(B.sX,{direction:g[t]?"up":"down",height:"10",strokeWidth:"4",width:"10"})})})]}),(g[t]||i||a)&&(0,l.jsxs)(l.Fragment,{children:[s&&x&&(0,l.jsxs)(eh,{alignItems:"center",as:B.A,color:{_:"BT.3",xl:"BT.5"},hoverColor:"BT.4",mt:{_:3,xl:2},to:y.M2y,children:[(0,l.jsx)(B.EY,{as:"div",variant:{_:"caption1",xl:"subtitle1"},children:d}),(0,l.jsx)(B.sX,{direction:"right",height:"10",strokeWidth:"4",width:"10"})]}),e.subPortfolioCategories&&e.subPortfolioCategories.length>0?(0,l.jsx)(B.pT,{flexDirection:{_:"column",xl:"row"},children:e.subPortfolioCategories.map((t,n)=>{let r=e.portfolios.filter(e=>t.key===e.parentGroupKey),i="selectTheme"===t.key;return(0,l.jsxs)(B.az,{ml:{_:0,xl:0!==n&&16},children:[(0,l.jsxs)(eh,{alignItems:"center",as:i?B.A:void 0,color:{_:"BT.3",xl:"BT.2"},hoverColor:i&&"BT.4",mt:{_:3,xl:2},to:y.fMg,onClick:i?o("select_themes"):void 0,children:[(0,l.jsx)(B.EY,{as:"div",variant:"caption1",children:t.title}),i&&(0,l.jsx)(B.sX,{direction:"right",height:"10",strokeWidth:"4",width:"10"})]}),f(r)]},n)})}):f(r)]})]},e.key)}),(0,l.jsx)(E.A,{renderOn:"desktop",children:(0,l.jsx)(ea,{containerProps:{ml:{_:0,xl:10},borderLeft:"1px solid ".concat((0,n.A)("colors.BT.7")({theme:s})),height:"212px",pt:0,mt:7}})})]})}),eu=ec(e=>{let{portfolioContentData:t,isDesktop:o}=e;return(0,l.jsx)(ep,{getPortfolioUrl:e=>ed.j7(e)?y.sAE(e):y.GZo[e],isDesktop:o,logNavigationAnalytics:e=>()=>{(0,u.Ay)((0,d.lG9)(e))},portfolioContentData:t})}),ex=(0,c.Ay)(B.az).withConfig({componentId:"sc-4d5d582e-0"})(["&:hover{color:",";}"],(0,n.A)("colors.BT.1")),em=e=>{let{isDesktop:t}=e,o=(0,h.Ym)(),{strings:{header:{navLinks:n}}}=o,r=en(o),[i,s]=(0,a.useState)(t),[c,p]=(0,a.useState)(t);(0,a.useEffect)(()=>{s(t),p(t)},[t]);let x=()=>(0,u.Ay)((0,d.lG9)("about_wealth")),m=e=>{let t=r[e.currentTarget.dataset.index];(0,u.Ay)(t.analyticsInfo)};return(0,l.jsxs)(B.az,{mb:{_:4,xl:0},minWidth:{_:"100%",xl:"1100px"},px:{_:0,xl:16},py:{_:0,xl:5},children:[(0,l.jsx)(E.A,{renderOn:["phone","tablet"],children:(0,l.jsx)(B.A,{onClick:x,to:y.QCP,children:(0,l.jsx)(B.pT,{alignItems:"center",borderBottom:"1px solid",borderColor:"BT.7",color:"BT.4",pb:6,pt:2,children:(0,l.jsx)(B.EY,{variant:"subtitle2",children:n.about_cta})})})}),(0,l.jsxs)(B.az,{borderBottom:"1px solid",borderColor:"BT.7",children:[(0,l.jsxs)(B.pT,{alignItems:"center",color:{_:"BT.4",xl:"BT.2"},cp:!t,mt:{_:0,xl:2},onClick:t?void 0:()=>s(!i),py:{_:6,xl:0},children:[(0,l.jsx)(B.EY,{as:"div",variant:{_:"subtitle2",xl:"h5"},children:n.portfolios_menu}),(0,l.jsx)(E.A,{parentElementProps:{as:"span"},renderOn:["phone","tablet"],children:(0,l.jsx)(B.az,{ml:2,children:(0,l.jsx)(B.sX,{direction:i?"up":"down",height:"10",strokeWidth:"4",width:"10"})})})]}),i&&(0,l.jsx)(eu,{})]}),(0,l.jsx)(E.A,{renderOn:["tablet","phone"],children:(0,l.jsx)(ea,{})}),(0,l.jsxs)(B.az,{borderBottom:{_:"1px solid",xl:"none"},borderColor:"BT.7",pt:{_:0,xl:6},children:[(0,l.jsxs)(B.pT,{alignItems:"center",color:{_:"BT.4",xl:"BT.2"},cp:!t,onClick:t?void 0:()=>p(!c),py:{_:6,xl:0},children:[(0,l.jsx)(B.EY,{as:"div",variant:{_:"subtitle2",xl:"subtitle1"},children:n.advisory_menu}),(0,l.jsx)(E.A,{parentElementProps:{as:"span"},renderOn:["phone","tablet"],children:(0,l.jsx)(B.az,{ml:2,children:(0,l.jsx)(B.sX,{direction:c?"up":"down",height:"10",strokeWidth:"4",width:"10"})})})]}),c&&(0,l.jsxs)(B.pT,{justifyContent:"space-between",mt:{_:0,xl:4},children:[(0,l.jsx)(B.pT,{flexDirection:{_:"column",xl:"row"},children:r.map((e,t)=>(0,l.jsx)(B.A,{"data-index":t,onClick:m,to:e.route,children:(0,l.jsxs)(ex,{color:"BT.2",mb:{_:3,xl:0},mr:{_:0,xl:24},py:{_:1,xl:0},children:[(0,l.jsx)(B.EY,{variant:{_:"body2",xl:"subtitle2"},children:e.title}),(0,l.jsx)(E.A,{parentElementProps:{as:"span"},renderOn:["desktop"],children:(0,l.jsx)(B.sX,{direction:"right",he
1ight:"10",strokeWidth:"4",width:"10"})})]})},e.key))}),(0,l.jsx)(E.A,{renderOn:["desktop"],children:(0,l.jsx)(B.A,{onClick:x,to:y.QCP,children:(0,l.jsxs)(ex,{alignItems:"center",as:B.pT,color:"BT.2",children:[(0,l.jsx)(B.EY,{variant:"subtitle2",children:n.about_wealth_cta}),(0,l.jsx)(B.sX,{direction:"right",height:"10",strokeWidth:"4",width:"10"})]})})})]})]})]})},eg=(0,c.Ay)(B.az).withConfig({componentId:"sc-b531b4bb-0"})(["@media (max-width:","){overflow:auto;::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-thumb{background:",";border-radius:","px;}z-index:9200;transition:0.4s;transform:",";}"],(0,n.y)("breakpoints.xl"),(0,n.y)("colors.BT.7"),(0,n.y)("radii.10"),e=>e.isActive?"translate(0)":"translate(100%)"),eA=c.Ay.li.withConfig({componentId:"sc-b531b4bb-1"})(["@media (min-width:","){transition:0.4s;position:relative;z-index:1000;&:hover{background:",";}}"],(0,n.y)("breakpoints.xl"),e=>e.hoverBackgroundColor),ey=(0,c.Ay)(B.pT).withConfig({componentId:"sc-b531b4bb-2"})(["",""],e=>e.showHover&&"".concat(eA,":hover & {\n    color: ").concat((0,n.y)("colors.N.1")(e),";\n  }")),ef=(0,c.Ay)(B.az).withConfig({componentId:"sc-b531b4bb-3"})([""," @media (min-width:","){",":not(:hover) &{display:none;}}"],e=>e.translate&&"transform: translate(-27%);",(0,n.y)("breakpoints.xl"),eA),eb=(0,c.Ay)(B.az).withConfig({componentId:"sc-b531b4bb-4"})(["@media (min-width:","){",":not"," &{display:inline-block;transform:rotate(180deg);}}"],(0,n.y)("breakpoints.xl"),eA,"(:hover)"),e_=(0,c.Ay)(B.az).withConfig({componentId:"sc-b531b4bb-5"})(["&:hover{background:",";}"],e=>e.hoverBackgroundColor),ej=(0,c.Ay)(B.pT).withConfig({componentId:"sc-b531b4bb-6"})(["",":hover &{color:",";}"],e_,e=>e.hoverColor),ev=eo(e=>{var t,o;let n,{responsiveUtility:{isDesktop:r},componentTheme:i,theme:c}=e,d=(0,h.Ym)(),p=(0,el.A)([m.jv.CASH_PLUS,m.jv.CASH_PLUS_HK_USD,m.jv.CASH_PLUS_HK_HKD]),x=(n=d.geography,({[m.XN.HK]:{portfolioContainerStyles:{minWidth:{_:"100%",xl:p?"980px":"760px"}}},[m.XN.AU]:{portfolioContainerStyles:{minWidth:{_:"100%",xl:"760px"}}}})[n]),{visibilityFlags:{activeTrade:g,languageSelector:A}}=(0,_.Q)(d.geography),y=(null==(t=er[d.geography])?void 0:t.call(er,{locale:d,activeTrade:g}))||[],f=(null==(o=ei[d.geography])?void 0:o.call(ei,{locale:d,activeTrade:g}))||[],[j,v]=(0,a.useState)(!1),[w,C]=(0,a.useState)(y.map(e=>e.defaultExpanded)),[k,T]=(0,a.useState)(!1),S=(0,s.useRouter)(),N=(0,b.GN)(S);(0,a.useEffect)(()=>{v(!1)},[N]);let H=()=>v(!j),Y=e=>{let{link:t,route:o,children:n,newTab:r}=e;return t?(0,l.jsx)("a",{href:t,rel:"noreferrer",target:r?"_blank":"_self",children:n}):(0,l.jsx)(B.A,{to:o,children:n})},R=(0,l.jsx)(B.pT,{cp:!0,color:i.icons.hamburger,flexDirection:"column",height:"100%",justifyContent:"center",mx:4,onClick:H,position:"absolute",right:0,top:0,children:(0,l.jsx)(B.C0,{height:"12px",name:"hamburger",width:"32px"})}),U=(0,l.jsxs)(B.pT,{justifyContent:"space-between",mb:6,children:[(0,l.jsxs)(B.az,{color:i.icons.syfeLogo,children:[(0,l.jsx)(I.A,{renderOn:[m.XN.HK],children:(0,l.jsx)(B.gu,{height:"24px",viewBox:"0 0 60px 24px"})}),(0,l.jsx)(I.A,{renderOn:m.XN.AU,children:(0,l.jsx)(B.gu,{height:"24px",theme:"white",viewBox:"0 0 60px 24px"})})]}),(0,l.jsxs)(B.pT,{alignItems:"center",children:[A&&(0,l.jsx)(B.az,{cp:!0,onClick:()=>T(!0),children:(0,l.jsx)(q,{theme:c})}),(0,l.jsx)(B.az,{color:i.icons.cross,ml:10,onClick:H,children:(0,l.jsx)(B.C0,{height:"30px",name:"cross",width:"30px"})})]})]}),O=(e,t)=>{let{tag:o,dropdownItems:n,key:s,title:a,color:c,route:d,link:h,dropdownOpen:p,customDropdown:m,analyticsInfo:y}=e,b=m||n&&n.length>0,_=()=>{d&&y&&(0,u.Ay)(y)};return(0,l.jsxs)(eA,{hoverBackgroundColor:i.background.menuHover,children:[(0,l.jsx)(e=>{let{link:t,route:o,children:n}=e;return t?(0,l.jsx)("a",{href:t,target:"_self",children:n}):(0,l.jsx)(B.az,{as:o?B.A:"span",onClick:_,to:o,children:n})},{link:h,route:d,children:(0,l.jsxs)(ey,{cp:!0,alignItems:"center",color:c||i.textColor.menuLink,height:{_:"auto",xl:"100%"},justifyContent:{_:"flex-start",xl:"center"},onClick:r?void 0:(e=>()=>{let t=[...w];t[e]=!w[e],C(t)})(t),px:{_:0,xl:f.length<5?8:A?4:5},py:{_:3,xl:0},showHover:!g,children:[(0,l.jsxs)(B.pT,{alignItems:"center",children:[(0,l.jsx)(B.EY,{variant:{_:"h6_semi",xl:"subtitle1"},children:a}),o&&(0,l.jsx)(B.az,{ml:2,children:(0,l.jsx)(B.vu,{obround:!0,bgColor:"F.3",color:"N.1",text:o})})]}),b&&!p&&(0,l.jsx)(eb,{display:"inline",ml:2,children:(0,l.jsx)(B.sX,{direction:w[t]||r?"up":"down",height:"10",strokeWidth:"4",width:"10"})})]})}),(w[t]||p||r)&&b&&(0,l.jsx)(ef,{bg:i.background.dropdown,borderBottomLeftRadius:4,borderBottomRightRadius:4,overflow:"hidden",position:{_:"static",xl:"absolute"},translate:"wealth"===s&&r,width:{_:"auto",xl:"max-content"},children:m?(e=>{switch(e){case"wealth":return(0,l.jsx)(em,{isDesktop:r});case"portfolios":return(0,l.jsxs)(B.az,{minWidth:x.portfolioContainerStyles.minWidth,px:{_:0,xl:10},py:{_:0,xl:4},width:"max-content",children:[(0,l.jsx)(eu,{}),(0,l.jsx)(E.A,{renderOn:["phone","tablet"],children:(0,l.jsx)(ea,{})})]});default:return null}})(s):((e,t)=>{let o=t=>{let o=e&&e[t.target.dataset.index];o&&o.analyticsInfo&&(0,u.Ay)(o.analyticsInfo)};return(0,l.jsx)(B.az,{as:"ul",children:e&&e.map((e,t)=>
1(0,l.jsx)(e_,{as:"li",hoverBackgroundColor:i.background.dropdownHover,mb:{_:2,xl:0},onClick:o,px:{_:0,xl:10},py:{_:1,xl:5},children:(0,l.jsx)(Y,{link:e.link,newTab:e.newTab,route:e.route,children:(0,l.jsx)(ej,{alignItems:"center",color:i.textColor.dropdownLink,hoverColor:i.textColor.dropdownLinkHover,children:(0,l.jsx)(B.EY,{as:"div",variant:{_:"body2",xl:"subtitle1"},...e.textProps,children:e.title})})})},e.title))})})(n,0)})]},s)},z=(0,l.jsxs)(B.az,{as:"ul",height:{_:"auto",xl:"100%"},children:[(0,l.jsx)(E.A,{renderOn:["phone","tablet"],parentElementProps:{as:B.pT,flexDirection:{_:"column",xl:"row"},height:{_:"auto",xl:"100%"},pl:{_:8,xl:A&&y.length>4?6:26}},children:y.map(O)}),(0,l.jsx)(E.A,{renderOn:["desktop"],parentElementProps:{as:B.pT,flexDirection:{_:"column",xl:"row"},height:{_:"auto",xl:"100%"},pl:{_:8,xl:A&&f.length>4?6:26}},children:f.map(O)})]});return(0,l.jsxs)(B.az,{as:"nav",display:"inline-block",flex:{xl:1},children:[(0,l.jsx)(E.A,{renderOn:["tablet","phone"],children:R}),(0,l.jsxs)(eg,{bg:i.background.header,bottom:0,height:"100%",isActive:j,isDesktop:r,left:0,position:{_:"fixed",xl:"static"},pr:{_:8,xl:0},py:{_:8,xl:0},right:0,top:0,children:[(0,l.jsx)(E.A,{renderOn:["phone","tablet"],parentElementProps:{pl:{_:8,xl:A&&y.length>4?6:26}},children:U}),z,(0,l.jsx)(E.A,{renderOn:["phone","tablet"],parentElementProps:{pl:{_:8,xl:A&&y.length>4?6:26}},children:(0,l.jsx)(I.A,{renderOn:m.XN.AU,children:(0,l.jsx)(B.pT,{mt:7,children:(0,l.jsx)(D.A,{buttonProps:{fillType:"text"}})})})})]}),k&&(0,l.jsx)(et,{onClose:()=>T(!1),theme:c})]})}),ew=(0,c.Ay)(B.pT).withConfig({componentId:"sc-690757dd-0"})(["transition:0.2s;"]),eC=(0,c.Ay)(B.pT).withConfig({componentId:"sc-690757dd-1"})(["&:hover{background:",";}"],(0,n.A)("colors.B.4")),ek=(0,c.Ay)(B.az).withConfig({componentId:"sc-690757dd-2"})(["&:hover{background:",";}"],e=>e.hoverColor),eI=(0,c.Ay)(B.az).withConfig({componentId:"sc-690757dd-3"})(["",":not(:hover) &&&{display:none;}"],ek),eE=(0,c.Ay)(B.az).withConfig({componentId:"sc-690757dd-4"})(["z-index:9101;transition:margin-top 0.3s ease;margin-top:",";"," "," @media (min-width:","){margin-top:",";","}"],e=>"up"===e.scrollDirection?"0px":e.showSelfWealthBar?"-9.5rem":"-3.5rem",e=>e.isHeaderFixed&&"\n    width: 100%;\n    top: 0;",e=>e.isDownWithHelloBar&&"\n      margin-top: -6.5rem;",(0,n.A)("breakpoints.md"),e=>"up"===e.scrollDirection?"0px":e.showSelfWealthBar?"-11.43rem":"-6.25rem",e=>e.isDownWithHelloBar&&"\n          margin-top: -9.43rem"),eT={blue:{background:{header:"colors.B.6",dropdown:{_:"colors.B.6",xl:"colors.B.4"},menuHover:"colors.B.4",dropdownHover:""},icons:{syfeLogo:"colors.N.1",cross:"colors.B.1",hamburger:"colors.B.9"},textColor:{menuLink:{_:"colors.BT.1",xl:"colors.BT.3"},dropdownLink:"colors.BT.2",dropdownLinkHover:"colors.BT.1"}},white:{background:{header:"colors.N.1",dropdown:"colors.N.1",menuHover:"rgba(13, 29, 72, 10%)",dropdownHover:"rgba(13, 29, 72, 10%)"},icons:{syfeLogo:"colors.BT.7",cross:"colors.B.1",hamburger:"#0D1D48"},textColor:{menuLink:"colors.BT.7",dropdownLink:{_:"colors.BT.7",xl:"colors.B.1"},dropdownLinkHover:"colors.BT.7"}}},eB=e=>{let{behaviour:t,navAction:o,locale:n,loggedIn:r,showHelloBar:c,responsiveUtility:h,showDownloadAppModal:j,hideDownloadAppModal:v,showModal:w,newHeaderMounted:C,newHeaderUnmounted:k,isUserInfoLoaded:T,loadUserInfo:S}=e,[R,U]=(0,a.useState)({scrollPosition:0,scrollDirection:"up"}),[z,F]=(0,a.useState)(!0),[P,W]=(0,a.useState)(!0),{isDesktop:L,isPhone:G}=h,{strings:{header:{my_account_cta:M,login_cta:X},general:{get_started_cta:K,create_account_cta:V,download_app_modal:{download_app_title:Q,download_app_caption_1:J},download_app_button:{download_app_cta:$}}},geography:ee,localeCode:eo,geographyConstants:el}=n,en=ee===m.XN.AU?"white":"blue",er=ee===m.XN.AU,{componentTheme:ei}=(0,p.Y)(en,eT),{visibilityFlags:{header:es,helloBar:ea,languageSelector:ec,activeTrade:ed}}=(0,_.Q)(ee),eh=(0,s.useRouter)(),ep=(0,b.vA)(eh),eu=(0,b.Hm)(eh),ex=L?100:56;(0,a.useEffect)(()=>{P&&W(!1)},[P]);let em=(0,a.useCallback)(e=>{let t=document.getElementById("padding-element"),o=document.getElementById("syfe-header");e&&t&&(t.style.paddingTop=c&&ea?"".concat(e.offsetHeight+ex,"px"):"".concat(ex,"px"),o&&(o.style.position="fixed"))}
1,[c,ex,ea]),eg=o,eA=(0,b.S2)(ep,ee),ey=(0,b.uY)(ep,ee),ef=y.AmK(ep,ee);ef&&(eg={portfolioType:el.PORTFOLIO_NAME_CONFIG[ef],themeType:el.PORTFOLIO_NAME_CONFIG[ef]}),(0,a.useEffect)(()=>(C(),()=>{k()}),[]),(0,a.useEffect)(()=>("autoShowHide"===t&&window.addEventListener("scroll",eb),()=>{"autoShowHide"===t&&window.removeEventListener("scroll",eb)}),[t]),(0,a.useEffect)(()=>{f.getItem(g.Nb)&&F(!1)},[]),(0,a.useEffect)(()=>{r&&!T&&S()},[r,T]);let eb=i()(()=>{let e=window.pageYOffset||document.documentElement&&document.documentElement.scrollTop;e>=0&&Math.abs(e-R.scrollPosition)>20?U(t=>e>t.scrollPosition&&e>100?{scrollDirection:"down",scrollPosition:e}:(t.scrollPosition,{scrollDirection:"up",scrollPosition:e})):U({scrollDirection:"up",scrollPosition:e})},500),e_=()=>{(0,u.Ay)((0,d.RKc)()),G?eh.push({pathname:(0,A.$B)(eo),query:ep}):j()};if(!z||!es)return null;let ej=eu===y.yZL,eB=eu===y.rrD,eS=[y.dgL,y.Unr,y.DTY].includes(eu),eN=eu===y.lXI,eD=[null].includes(eu),eH=K;(eA||ey||y.IDk(eh))&&(eH=V);let eY=(0,x.O0)(eH,eu),eR=()=>{(0,u.Ay)((0,d.PQX)())},eU=(0,l.jsxs)(l.Fragment,{children:[(()=>{let e;if(ee===m.XN.HK){let e="/"===eh.asPath;return(0,l.jsx)(B.$n,{fillType:e?"text":"solid",onClick:e_,size:{_:"small",md:"default"},type:"mutedAccent",children:$})}return ee===m.XN.AU?null:eS?(0,l.jsx)(B.az,{minWidth:{_:"auto",md:"175px"},children:(0,l.jsx)(D.A,{showQrCode:!0,analyticsFunc:d.afH,ctaText:null,buttonProps:{analyticsInfo:(0,d.RKc)()}})}):eN?(0,l.jsx)(B.az,{minWidth:{_:"auto",md:"175px"},children:(0,l.jsx)(O,{analyticsInfo:(0,d.OCA)()})}):r?(0,l.jsx)(B.A,{to:y.PhV,children:(0,l.jsx)(B.pT,{alignItems:"center",height:"100%",minWidth:{_:"auto",md:"175px"},mr:{_:4,xl:0},children:(0,l.jsx)(B.$n,{fullWidth:!0,size:{_:"small",md:"default"},type:"mutedAccent",children:M})})}):eB?(0,l.jsx)(B.A,{to:y.S3J,children:(0,l.jsx)(B.az,{width:{_:"120px",md:"175px"},children:(0,l.jsx)(B.$n,{fullWidth:!0,fillType:"solid",size:{_:"small",md:"default"},type:"mutedAccent",children:X})})}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(eC,{alignItems:"center",height:"100%",mr:4,onClick:eR,px:{_:0,xl:4},children:(e=y.S3J,(0,l.jsx)(B.A,{exact:!0,to:e,children:(0,l.jsx)(B.az,{children:(0,l.jsx)(B.$n,{fillType:"text",type:"mutedAccent",children:X})})}))}),ej&&ed?(0,l.jsx)(B.A,{to:y.rrD,children:(0,l.jsx)(B.az,{minWidth:{_:"auto",md:"175px"},children:(0,l.jsx)(B.$n,{fullWidth:!0,size:{_:"small",md:"default"},type:"mutedAccent",children:K})})}):eg&&(0,l.jsx)(Y.A,{...eg,analyticsInfo:eY,buttonText:eH,fillType:"solid",size:{_:"small",md:"default"},type:"mutedAccent",confirmPortfolioAnalyticsInfo:(0,x.mQ)(eu)})]})})(),ec&&(0,l.jsxs)(E.A,{renderOn:["desktop"],parentElementProps:{height:"100%",position:"relative",ml:4,hoverColor:ei.background.menuHover,as:ek},children:[(0,l.jsx)(B.pT,{cp:!0,alignItems:"center",height:"100%",p:6,children:(0,l.jsx)(q,{theme:en})}),(0,l.jsx)(eI,{position:"absolute",right:0,children:(0,l.jsx)(et,{theme:en})})]})]}),eO=(0,l.jsxs)(B.mc,{alignItems:"center",display:"flex",height:{_:"56px",md:"100px"},position:"relative",children:[(0,l.jsxs)(ew,{alignItems:"center",as:B.A,onClick:()=>{(0,u.Ay)((0,d.FVP)())},to:"/",children:[(0,l.jsx)(I.A,{renderOn:[m.XN.HK,m.XN.SG],children:(0,l.jsx)(B.az,{color:ei.icons.syfeLogo,width:"auto",children:(0,l.jsx)(B.gu,{height:"100%",width:"100%"})})}),(0,l.jsx)(I.A,{renderOn:[m.XN.AU],children:(0,l.jsx)(B.az,{color:ei.icons.syfeLogo,width:"auto",children:(0,l.jsx)(B.gu,{height:"100%",theme:"white",width:"100%"})})})]}),!P&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(E.A,{renderOn:["phone","tablet"],parentElementProps:{as:B.pT,alignItems:"center",ml:{_:"auto",xl:0},mr:{_:12,xl:0}},children:!eD&&eU}),(0,l.jsx)(ev,{componentTheme:ei,navAction:eg,theme:en}),(0,l.jsx)(E.A,{renderOn:["desktop"],parentElementProps:{as:B.pT,alignItems:"center",ml:{_:"auto",xl:0},mr:{_:12,xl:0}},children:!eD&&eU})]})]});return(0,l.jsxs)(B.az,{"data-testid":"open-page-header",children:[(0,l.jsxs)(eE,{as:"header",bg:ei.background.header,id:"syfe-header",isHeaderFixed:["fixed","autoShowHide"].indexOf(t)>-1,scrollDirection:R.scrollDirection,isDownWithHelloBar:"down"===R.scrollDirection&&c,showSelfWealthBar:er,children:[(0,l.jsx)(B.az,{ref:em,children:ea&&(0,l.jsx)(Z,{})}),!!er&&(0,l.jsx)(N,{}),eO]}),(0,l.jsx)(I.A,{renderOn:m.XN.HK,children:(0,l.jsx)(E.A,{renderOn:["desktop","tablet"],children:(0,l.jsx)(H.A,{showCloseBtn:!0,analyticsFunc:d.afH,caption:J,onCloseHandler:v,showDownloadAppModal:w,title:Q})})}),(0,l.jsx)(B.az,{id:"padding-element"})]})};eB.defaultProps={behaviour:"autoShowHide",navAction:{portfolioType:null}};let eS=(0,h.GD)(k(eB))}}]);

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.