1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0fdfd71b-4663-4935-a6b4-1a70c1e87653",e._sentryDebugIdIdentifier="sentry-dbid-0fdfd71b-4663-4935-a6b4-1a70c1e87653")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[496,1310,3004,12181,14792,15531,19510,22099,27752,29164,38612,44201,46045,50167,55892,56799,61249,74842,78407,79111,80299,81527,99676],{84541:(e,t,r)=>{var n=r(96360).k5;e.exports.Z=function(e){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 17h8m0 0V9m0 8l-8-8-4 4-6-6"},child:[]}]})(e)}},62996:(e,t,r)=>{var n=r(96360).k5;e.exports.u=function(e){return n({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"},child:[]}]})(e)}},44625:(e,t,r)=>{var n=r(96360).k5;e.exports.S=function(e){return n({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"},child:[]}]})(e)}},86833:(e,t,r)=>{var n=r(96360).k5;e.exports.i=function(e){return n({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 3m0 2a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2z"},child:[]},{tag:"path",attr:{d:"M9 12l2 2l4 -4"},child:[]}]})(e)}},34932:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},61074:e=>{e.exports=function(e){return e.split("")}},25160:e=>{e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},77556:(e,t,r)=>{var n=r(51873),i=r(34932),o=r(56449),l=r(44394),a=1/0,s=n?n.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(l(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-a?"-0":r}},28754:(e,t,r)=>{var n=r(25160);e.exports=function(e,t,r){var i=e.length;return r=void 0===r?i:r,!t&&r>=i?e:n(e,t,r)}},12507:(e,t,r)=>{var n=r(28754),i=r(49698),o=r(63912),l=r(13222);e.exports=function(e){return function(t){var r=i(t=l(t))?o(t):void 0,a=r?r[0]:t.charAt(0),s=r?n(r,1).join(""):t.slice(1);return a[e]()+s}}},49698:e=>{var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},63912:(e,t,r)=>{var n=r(61074),i=r(49698),o=r(42054);e.exports=function(e){return i(e)?o(e):n(e)}},42054:e=>{var t="\ud800-\udfff",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",i="[^"+t+"]",o="(?:\ud83c[\udde6-\uddff]){2}",l="[\ud800-\udbff][\udc00-\udfff]",a="(?:"+r+"|"+n+")?",s="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[i,o,l].join("|")+")"+s+a+")*",d=RegExp(n+"(?="+n+")|(?:"+[i+r+"?",r,o,l,"["+t+"]"].join("|")+")"+(s+a+u),"g");e.exports=function(e){return e.match(d)||[]}},14792:(e,t,r)=>{var n=r(13222),i=r(55808);e.exports=function(e){return i(n(e).toLowerCase())}},13222:(e,t,r)=>{var n=r(77556);e.exports=function(e){return null==e?"":n(e)}},55808:(e,t,r)=>{var n=r(12507)("toUpperCase");e.exports=n},52591:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/verification",function(){return r(77093)}])},92524:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(74848),i=r(42071),o=r(80809),l=r(42258);let a=e=>{let{coins:t,coinSize:r=37,coinSpacing:a=10,withCoins:s=!0,textStyle:u="text-text-title-primary"}=e;return t&&t.length?(0,n.jsx)(o.A,{children:(0,n.jsxs)("div",{className:"flex flex-row space-around items-center",children:[(0,n.jsx)("div",{className:"flex flex-row items-center",style:{height:r},children:t.slice(0,6).map((e,t)=>{let o=r-5;return(0,n.jsx)("div",{className:"bg-white react-tooltip shrink-0 p-[1.5px] border-[1px] rounded-full",style:{marginLeft:"-".concat(a,"px"),height:r,width:r},"data-tooltip-content":e.symbol,children:(0,n.jsx)(i.L7,{size:o,symbol:null==e?void 0:e.symbol,isBundle:!0,className:"rounded-full"})},t)})}),t.length>6&&(0,n.jsx)("div",{children:(0,n.jsxs)("p",{className:"".concat(u," pl-2"),children:["+",t.length-6," ",s?(0,n.jsx)("span",{className:"hidden md:inline",children:(0,l.t)("Coins")}):null]})})]})}):null}},55003:(e,t,r)=>{"use strict";r.d(t,{$:()=>v,y:()=>f});var n=r(74848),i=r(91106),o=r.n(i),l=r(64400),a=r(60134),s=r(88718),u=r(42258),d=r(2141),c=r.n(d);let v=e=>{let{children:t,colour:r="blue",size:i="large",height:l="medium",mode:a="primary",onDisabledClick:u=null,linkPath:d,text:v,builderState:f,className:h="",disabled:p=!1,useNextLink:m=!0,target:x="_self",loading:b=!1,onClick:g=null,tooltip:y,animated:w=!1,...k}=e,C=(e,t)=>{switch(t){case"secondary":switch(e){case"pink":return"text-pink border border-pink disabled:text-pink-disabled hover:text-pink";case"white":return"text-text-inverted border border-white disabled:text-text-inverted-disabled hover:text-text-inverted";case"black":return"text-text-title-primary border border-black disabled:text-text-title-accent hover:text-text-title-primary";case"blue-opaque":return"text-blue-opaque border border-blue-opaque disabled:text-blue-disabled hover:text-blue-opaqueHover";case"earn-orange":return"text-text-inverted md:text-text-title-primary border border-earn-orange md:border-black disabled:text-text-inverted-blue-disabled hover:text-earn-orangeHover md:hover:text-text-title-primary";default:return"text-blue border border-blue disabled:text-blue-disabled hover:text-blue-hover font-semibold"}case"tertiary":switch(e){case"pink":return"text-pink hover:text-pink-hover";case"white":return"text-text-inverted hover:text-text-inverted-hover";case"black":return"text-text-title-primary hover:text-text-title-primary";case"orange":return"text-earn-black-off hover:text-earn-black";case"blue-opaque":return"text-blue-opaque hover:text-blue-opaqueHover";case"earn-orange":return"text-text-inverted border border-earn-orange disabled:text-text-inverted-blue-disabled hover:text-earn-orangeHover";default:return"text-blue hover:text-blue-hover"}default:switch(e){case"pink":return"text-text-inverted bg-pink hover:bg-pink-hover";case"white":return"bg-bg-inverted hover:bg-bg-inverted-hover text-blue";case"black":return"text-text-inverted bg-black hover:bg-black-hover";case"orange":return"text-text-inverted ".concat(c().orangeGradient," bg-earn hover:bg-earn-hover");case"blue-opaque":return"text-text-inverted bg-blue-opaque hover:bg-blue-opaqueHover";case"earn-orange":return"text-text-inverted ".concat(c().orangeGradient," hover:bg-earn-orangeHover");case"earn-white":return"bg-bg-inverted hover:bg-bg-inverted-hover text-text-title-primary text-bold";default:return"text-text-inverted bg-blue hover:bg-blue-hover"}}},j=(e=>"primary"===e?"".concat(C(r,e)," disabled:opacity-50 ").concat(p?"o
1pacity-50":""):"secondary"===e?"".concat(C(r,e)," bg-transparent disabled:opacity-50 hover:opacity-70 ").concat(p?"opacity-50":""):"tertiary"===e?"".concat(C(r,e)," bg-transparent disabled:opacity-50 ").concat(p?"opacity-50":""):void 0)(a),L=(e=>{switch(e){case"auto":return"w-auto";case"large":return"w-60";case"medium":return"w-44";case"small":return"w-36";case"x-small":return"w-28";case"xx-small":return"w-18";case"full":return"w-full";default:return e}})(i),N=(e=>{switch(e){case"auto":return"h-auto";case"large":return"h-12";case"medium":return"h-9";case"small":return"h-7";case"xx-small":return"h-5";case"default":return"h-[44px]";default:return e}})(l),_="".concat(L," ").concat(N," leading-button ").concat(j," ").concat(h," rounded-md ");return(0,n.jsx)(n.Fragment,{children:d?m?(0,n.jsx)(o(),{href:d,legacyBehavior:!0,children:(0,n.jsx)("a",{onClick:p?u:b?null:g,className:"flex-shrink-0 ".concat(_," text-center flex items-center justify-around"),children:t||v})}):(0,n.jsx)("a",{href:d,target:x,onClick:p?u:b?null:g,className:"flex-shrink-0 ".concat(_," text-center flex items-center justify-around"),children:t||v}):(0,n.jsxs)("button",{...k,className:"flex-shrink-0 relative group overflow-hidden react-tooltip ".concat(_),disabled:p&&!u,onClick:p?u:b?null:g,"data-tooltip-content":y,children:[w&&(0,n.jsx)("span",{className:"absolute right-0 w-8 h-32 -mt-12 transition-all duration-1000 transform translate-x-12 bg-bg-inverted opacity-10 rotate-12 group-hover:-translate-x-40 ease"}),b?(0,n.jsx)(s.a,{colour:"primary"==a?"white":"blue",className:"h-4 w-4 -ml-1 mr-3"}):null,t]})})},f=e=>{let{socialNetwork:t,action:r="login",text:i=(0,u.t)("Sign in with"),className:o="",...l}=e;return(0,n.jsxs)("button",{className:"".concat(o," hover:opacity-70 text-text-inverted border border-white bg-blue-aqua flex flex-row rounded p-1 items-center justify-left"),onClick:e=>{e.preventDefault(),window.location.href="/api/auth/oauth?scheme=".concat(t,"&action=").concat(r)},...l,children:[(0,n.jsxs)("div",{className:"w-[40px] h-[40px] bg-bg-inverted flex justify-center items-center shrink-0",children:["Google"===t?(0,n.jsx)(a._,{alt:"Google",height:"30",width:"30",src:"auth-google.png"}):null,"Facebook"===t?(0,n.jsx)(a._,{alt:"Facebook",height:"30",width:"30",src:"auth-fb.png"}):null,"Apple"===t?(0,n.jsx)(a._,{alt:"Apple",height:"20",width:"20",src:"apple-black.svg"}):null]}),(0,n.jsx)("div",{className:"ml-3 mr-2",children:(0,n.jsx)("p",{className:"font-bold text-sm",children:"".concat(i," ").concat(t)})})]})};(0,l.N)(v,{name:"Button",inputs:[{name:"colour",type:"string",enum:["blue","pink","white","blue-opaque","black","orange","earn-orange","earn-white"],defaultValue:"blue",description:"Custom Button"},{name:"Size",type:"string",enum:["large","medium","small","x-small","auto","max","full"],defaultValue:"auto",description:"Width size that follows the tailwind width component"},{name:"mode",type:"string",enum:["primary","secondary","tertiary"],defaultValue:"primary",description:"Button types according to button importance"},{name:"text",type:"string",defaultValue:"Click here",description:"Button text"},{name:"linkPath",type:"string",defaultValue:"#",description:"Relative link"}]})},40519:(e,t,r)=>{"use strict";r.d(t,{D:()=>a});var n=r(74848),i=r(34164),o=r(96540),l=r(1276);let a=e=>{let{percent:t,size:r="sm",className:a="",fontClassName:s="text-[10px]/[10px]",isCounting:u=!0,decimals:d=2,disableCountUp:c=!1,fontName:v="font-ppformula"}=e,f=(0,o.useMemo)(()=>{switch(r){case"xs":return"h-[20px]";case"sm":return"h-[22px]";case"md":return"h-[24px]";default:return""}},[r]);return null==t||Number.isNaN(t)||!1===Number.isFinite(t)?null:(0,n.jsx)("div",{className:(0,i.A)("text-text-extra rounded-full flex items-center justify-center pl-2 pr-2 min-w-[77px]",t<0?"bg-bg-error":"bg-bg-success-primary",f,a),children:(0,n.jsx)(l.ZI,{prefix:t>0?"+":"",className:(0,i.A)("mt-[2px] font-semibold",s),isCounting:u,decimals:d,amount:t,fontClassName:v,suffix:"%",disableCountUp:c})})}},84112:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(74848),i=r(96540);function o(e){let{children:t,...r}=e,[o,l]=(0,i.useState)(!1);return((0,i.useEffect)(()=>
1{l(!0)},[]),o)?(0,n.jsx)(i.Fragment,{...r,children:t}):null}},90256:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(74848);r(96540);let i=e=>{let{width:t=20,fill:r="currentColor",height:i=19,className:o="",...l}=e;return(0,n.jsx)("div",{className:o,...l,children:(0,n.jsxs)("svg",{width:t,height:i,viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M6.21793 2.701V7.00932V15.2456C6.21793 16.6846 5.05231 17.8502 3.61328 17.8502H15.7511C17.8352 17.8502 18.9911 16.4462 18.9911 14.1782L18.9999 2.701C18.9999 1.87203 18.2059 1.333 17.5171 1.68619L16.8642 2.03062C16.475 2.23397 16.0255 2.24273 15.6188 2.06565L13.774 1.24446C13.0239 0.918512 12.1939 0.918512 11.4438 1.24446L9.599 2.06565C9.1923 2.24273 8.7418 2.23397 8.3536 2.03062L7.70074 1.68619C7.01188 1.333 6.21793 1.88078 6.21793 2.701Z",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M10.8906 6.83789H12.8482C13.5799 6.83789 14.2338 7.37302 14.3028 8.10178C14.3826 8.93658 13.7278 9.64008 12.9086 9.64008L10.8906 9.63998",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M10.8906 9.63672H12.8482C13.5799 9.63672 14.2338 10.1719 14.3028 10.9006C14.3826 11.7354 13.7278 12.4389 12.9086 12.4389L10.8906 12.4388",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M12.3477 13.2684V12.4424M12.3477 6.83386V6.00781",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M3.61341 17.8506C2.88951 17.8506 2.23665 17.5587 1.76865 17.0917C1.29189 16.6149 1 15.9611 1 15.2459V7.99828C1 7.1683 1.79492 6.63024 2.48378 6.98343L3.13665 7.32786C3.52487 7.53118 3.97535 7.53998 4.38108 7.36289L5.62649 6.80635C5.72281 6.76257 5.96995 6.87738 6.21805 7.0097",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})}},83763:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(74848);let i=e=>{let{width:t=23,height:r=23,strokeWidth:i="2",...o}=e;return(0,n.jsxs)("svg",{width:t,height:r,viewBox:"0 0 37 37",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[(0,n.jsx)("circle",{cx:"18.5",cy:"18.5",r:"18",stroke:"currentColor"}),(0,n.jsx)("path",{d:"M12.9383 26.9179L18.2658 24.4067C18.581 24.244 18.947 24.244 19.252 24.4067L24.5694 26.9179L23.329 21.3871C23.2781 21.0414 23.39 20.6855 23.634 20.4415L27.5076 16.4561L22.0784 15.5512C21.7328 15.5004 21.4379 15.2869 21.2752 14.9717L18.7538 10L16.2324 14.9717C16.0697 15.2869 15.7749 15.5004 15.4292 15.5512L10 16.4561L13.8736 20.4415C14.1176 20.6855 14.2295 21.0414 14.1786 21.3871L12.9281 26.9179H12.9383Z",stroke:"currentColor",strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round"})]})}},68179:(e,t,r)=>{"use strict";r.d(t,{A:()=>j,b:()=>C});var n=r(74848),i=r(34164),o=r(55652),l=r(9885),a=r.n(l),s=r(96540),u=r(80809),d=r(88718),c=r(72797),v=r(26262),f=r(10123),h=r(97895),p=r(42258),m=r(48522),x=r.n(m);let b=[{title:"All",value:a()().add(-100,"years").unix()},{title:"1W",value:a()().add(-1,"week").unix()},{title:"1M",value:a()().add(-1,"month").unix()},{title:"1Q",value:a()().add(-1,"quarter").unix()},{title:"1Y",value:a()().add(-1,"year").unix()}],g={localization:{locale:"en-AU",dateFormat:"dd/MM/yy",timeFormatter:e=>{let t=new Date(1e3*e);return a()(t).format("DD, MMM")}},timeScale:{timeVisible:!0,secondsVisible:!1,tickMarkFormatter:e=>{let t=new Date(1e3*e);return a()(t).format("DD, MMM")}}},y={localization:{locale:"en-AU",dateFormat:"dd/MM/yy",timeFormatter:e=>{let t=new Date(1e3*e);return a()(t).format("DD, MMM")}},timeScale:{timeVisible:!0,secondsVisible:!1,tickMarkFormatter:e=>{let t=new Date(1e3*e);return a()(t).format("DD, MMM")}}},w={localization:{timeVisible:!1,secondsVisible:!1,locale:"en-AU",dateFormat:"dd/MM/yy",timeFormatter:e=>{let t=new Date(1e3*e);return a()(t).format("DD/MM/YYYY")}},timeScale:{timeVisible:!1,secondsVisible:!1,tickMarkFormatter:e=>{let t=new Date(1e3*e);return a()(t).format("DD/MM/YYYY")}}},k={localization:{locale:"en-AU",dateFormat:"dd/MM/yy",timeFormatter:e=>{let t=new Date(1e3*e);return a()(t).format("DD/MM/YYYY")}},timeScale:{timeVisible:!1,secondsVisible:!1,tickMarkFormatter:e=>{let t=new Date(1e3*e);return a()(t).format("DD/MM/YYYY")}}},C=e=>{var t;let{data:r,height:l,loading:m,timeframe:C,className:j,color:L="purple"}
1=e,N=(0,s.useRef)(null),_=(0,s.useRef)(),[A,M]=(0,s.useState)(0),[P,S]=(0,s.useState)(0),[D,V]=(0,s.useState)(!1),{scheme:E}=(0,c.Ut)(),T=(0,s.useMemo)(()=>"light"!==E?E:L,[E]),{createChartOptions:I,areaChartOptions:O,loaderClass:z}=(0,s.useMemo)(()=>{let e=f.theme.colors.purple.dark,t=f.theme.colors.purple["light-50"],r=f.theme.colors.purple.light,n=f.theme.colors.purple["light-91"],i=f.theme.colors.purple["light-0"],o=f.theme.colors.purple.light,a="bg-purple-dark",s=1;return"purple"==T?(e=f.theme.colors.purple.dark,t=f.theme.colors.purple["light-50"],r=f.theme.colors.purple.light,n=f.theme.colors.purple["light-91"],s=1):"white"==T?(e=f.theme.colors.white.DEFAULT,t=f.theme.colors.purple["light-50"],r=f.theme.colors.purple.light,a="bg-bg-inverted",n=f.theme.colors.purple.DEFAULT,i=f.theme.colors.purple["light-0"],o=f.theme.colors.purple.DEFAULT,s=2):"gold"===T&&(e="#171717",t="hsla(48, 28%, 76%, 0.5)",r="D2CCB0",a="bg-bg-inverted",n="#95833A",i="hsla(48, 28%, 76%, 0)",o="#95833A",s=2),{loaderClass:a,areaChartOptions:{autoscaleInfoProvider:e=>({priceRange:{minValue:A,maxValue:P}}),topColor:n,bottomColor:i,lineColor:o,lineWidth:s,textColor:f.theme.colors.lineChart.textColor,textSize:12,backgroundColor:e,priceFormat:{type:"price",minMove:2e-13}},createChartOptions:{height:l,handleScroll:{mouseWheel:!1,pressedMouseMove:!1,horzTouchDrag:!1,vertTouchDrag:!1},handleScale:{axisPressedMouseMove:!1,mouseWheel:!1,pinch:!1},layout:{backgroundColor:e,lineColor:f.theme.colors.lineChart.lineColor,textColor:f.theme.colors.lineChart.textColor,fontSize:9,fontFamily:x().style.fontFamily,fontWeight:900},grid:{vertLines:{visible:!1},horzLines:{style:4,color:t}},timeScale:{borderColor:r,timeVisible:!0,secondsVisible:!1,tickMarkFormatter:y.timeScale.tickMarkFormatter},crosshair:{horzLine:{visible:!1},vertLine:{visible:!1}},priceScale:{position:"left",alignLabels:!1,entireTextOnly:!0,borderVisible:!1,drawTicks:!1,grid:{vertLines:{visible:!1},horzLines:{color:"#f00"}}},localization:{locale:"en-AU",dateFormat:"dd/MM/yy",timeFormatter:y.localization.timeFormatter,priceFormatter:e=>(0,p.d)(e).lessThanOrEqualTo("0")?"$0":(0,p.d)(e).lessThan("0.000000001")?"$".concat((0,p.d)(e).toFixed(18)):(0,p.d)(e).lessThan("0.00001")?"$".concat((0,p.d)(e).toFixed(12)):(0,p.d)(e).lessThan("1")?"$".concat((0,p.d)(e).toFixed(4)):(0,p.d)(e).lessThan("500")?"$".concat((0,p.d)(e).toFixed(2)):"$".concat((0,p.d)(e).toFixed(2).replace(/\B(?=(\d{3})+(?!\d))/g,","))}}}},[l,T,A,P,M]),[F]=(0,v.l)();(0,s.useEffect)(()=>{var e,t;if((null==_?void 0:null===(e=_.current)||void 0===e?void 0:e.offsetWidth)&&(null==N?void 0:N.current)&&F>0)try{null==N||null===(t=N.current)||void 0===t||t.applyOptions({height:l,layout:{fontSize:9}})}catch(e){console.log("resize error",e)}},[F,l,null==_?void 0:null===(t=_.current)||void 0===t?void 0:t.offsetWidth]),(0,s.useEffect)(()=>{var e;if((null==_?void 0:_.current)&&(null==N?void 0:null===(e=N.current)||void 0===e?void 0:e.applyOptions)){let e=new ResizeObserver(e=>{try{var t;null==N||null===(t=N.current)||void 0===t||t.applyOptions({width:e[0].contentRect.width})}catch(e){console.log("chart observer error ",e)}});return e.observe(_.current),()=>q.current&&e.unobserve(q.current)}},[null==_?void 0:_.current,N]);let[R,U]=(0,s.useState)(),q=(0,s.useRef)(null),W=e=>{let t=(0,p.d)(1/0),r=(0,p.d)(0);for(let n of e)null!=n.value&&((0,p.d)(n.value).lessThan(t)&&(t=(0,p.d)(n.value)),(0,p.d)(n.value).greaterThan(r)&&(r=(0,p.d)(n.value)));return{tmpMin:t.equals(1/0)?(0,p.d)(0):t,tmpMax:t.equals(1/0)?(0,p.d)(2):r}};(0,s.useEffect)(()=>{if(N&&void 0!==R&&r){var e,t,n,i,o,l,s;0==r.length?R&&R.setData([{value:0,time:b[C].value},{value:1,time:a()().unix()}]):R&&R.setData(r);let{tmpMin:u,tmpMax:d}=W(r);switch(M(u.toNumber()),S(d.toNumber()),C){case h.J.Week:null==N||null===(t=N.current)||void 0===t||t.applyOptions(g);break;case h.J.Month:null==N||null===(n=N.current)||void 0===n||n.applyOptions(y);break;case h.J.Year:null==N||null===(i=N.current)||void 0===i||i.applyOptions(w);break;case h.J.Quarter:null==N||null===(o=N.current)||void 0===o||o.applyOptions(w);break;case h.J.All:null==N||null===(l=N.current)||void 0===l||l.applyOptions(k);break;default:null==N||null===(s=N.current)||void 0===s||s.applyOptions(k)}null==N||null===(e=N.current)||void 0===e||e.timeScale().fitContent()}},[r,R,C]),(0,s.useEffect)(()=>{try{if(N&&R){var e,t,r;null==N||null===(e=N.current)||void 0===e||e.removeSeries(R),null==N||null===(t=N.current)||void 0===t||t.applyOptions(I);let n=null==N?void 0:null===(r=N.current)||void 0===r?void 0:r.addAreaSeries(O);U(n),V(!0)}}catch(e){console.error("chart error ",e)}},[A,P,I,I]),(0,s.useEffect)(()=>{N&&requestAnimationFrame(()=>requestAnimationFrame(()=>{var e;return null===(e=N.current)||void 0===e?void 0:e.timeScale().fitContent()}))},[r]),(0,s.useEffect)(()=>{setTimeout(()=>{requestAnimationFrame(()=>requestAnimationFrame(()=>{var e;return null===(e=N.current)||void 0===e?void 0:e.timeScale().fitContent()}))},250)},[D]);let Y=async()=>{(null==N?void 0:N.current)||(async function(){N.current=(0,o.R9)(q.current,I)})().then(async()=>{var e;return null===(e=N.current)||void 0===e?void 0:e.addAreaSeries(O)}).then(async e=>{U(e),requestAnimationFrame(()=>requestAnimationFrame(()=>{var e;return null===(e=N.current)||void 0===e?void 0:e.timeScale().fitContent()}))})};return(0,s.useEffect)(()=>
1(q&&q.current&&Y(),()=>{U(null),N.current=null}),[]),(0,n.jsx)(u.A,{children:(0,n.jsx)("div",{className:(0,i.A)("relative",j),children:(0,n.jsxs)("div",{className:"relative chart-container md:p-0 md:min-h-[216px]",style:{height:l},ref:_,children:[(0,n.jsx)("div",{ref:q,className:"absolute inset-0 ".concat(D?"":"hidden")}),m?(0,n.jsx)("div",{className:(0,i.A)("absolute inset-0 z-10",z),style:{width:"100%",height:l},children:(0,n.jsx)(d.A,{loaderProps:{className:"text-text-title-primary h-14 w-14"}})}):null]})})})},j=C},44201:(e,t,r)=>{"use strict";r.d(t,{z:()=>l});var n=r(74848),i=r(34164),o=r(96540);let l=e=>{let{progress:t,className:r="",bgClass:l="bg-bg-main-secondary",progressClass:a="bg-bg-main-primary"}=e,[s,u]=(0,o.useState)(0);return(0,o.useEffect)(()=>{u(t)},[t]),(0,n.jsx)("div",{className:(0,i.A)("w-full h-1 rounded-sm overflow-hidden",l,r),children:(0,n.jsx)("div",{style:{width:"".concat(s,"%")},className:(0,i.A)("transition-[width] duration-500 rounded-full h-full",a)})})}},15761:(e,t,r)=>{"use strict";r.d(t,{n:()=>o});var n=r(74848),i=r(34164);r(96540);let o=e=>{let{colour:t="green",name:r,size:o="sm",className:l=""}=e;return(0,n.jsx)("span",{className:(0,i.A)("font-extrabold leading-none rounded-2xl font-ppformula inline-flex justify-center items-center ".concat(l),"md"===o?"p-1 pt-[6px] pr-4 pl-4 text-sm":"","sm"===o?"p-2 px-3 text-[10px] h-[20px] font-semibold":"","xs"===o?"pt-2 pb-[7px] px-3 text-[10px] h-[16px] font-semibold":"","green"==t?"bg-bg-success-primary text-text-extra":"","red"==t?"bg-bg-error text-text-extra":"","dark-blue"==t?"bg-blue-dark text-text-inverted":"","purple"==t?"bg-bg-main-primary text-text-inverted":"","purple-dark"==t?"bg-bg-main-secondary text-text-inverted":"","purple-light"==t?"bg-bg-main-tertiary text-text-extra":"","blue"==t?"bg-blue text-text-inverted":"","yellow"==t?"bg-cs-background-warning text-cs-background-alwaysDark":""),children:r})}},32271:(e,t,r)=>{"use strict";r.d(t,{t:()=>d});var n=r(74848),i=r(34164),o=r(96540),l=r(80809),a=r(72797),s=r(93513),u=r.n(s);let d=e=>{let{scheme:t}=(0,a.Ut)(),{tabs:r,onChange:s,defaultTab:d,color:c="purple-light",size:v="xs",className:f="",rounded:h=!0}=e,{commonClassName:p,inactiveClassName:m,activeClassName:x}=(0,o.useMemo)(()=>"purple-light"===c?{commonClassName:" hover:text-text-extra hover:bg-bg-main-tertiary/90 font-semibold",inactiveClassName:"text-text-main-secondary",activeClassName:"bg-bg-main-tertiary text-text-extra"}:"purple"===c?{commonClassName:" hover:text-text-inverted hover:bg-bg-main-primary/90 font-semibold",inactiveClassName:"text-text-title-primary",activeClassName:"bg-bg-main-primary text-text-inverted"}:"purple-dark"===c?{commonClassName:"hover:text-text-inverted "+("light"===t?"hover:bg-purple-dark":"hover:bg-bg-main-primary"),inactiveClassName:"text-text-title-primary",activeClassName:"text-text-inverted "+("light"===t?"bg-purple-dark":"bg-bg-main-primary")}:"purple-dark-2"===c?{commonClassName:"border hover:text-text-inverted "+("light"===t?"border-purple-dark hover:bg-purple-dark":"border-border-main-primary hover:bg-bg-main-primary"),inactiveClassName:"text-text-title-primary",activeClassName:"text-text-inverted "+("light"===t?"bg-purple-dark":"bg-bg-main-primary")}:void 0,[c,t]),b=o.memo(e=>{let{tab:t,i:r}=e;return(0,n.jsx)("div",{className:(0,i.A)(p,"xs"==v?"px-3 h-[26px] text-sm":"","sm"==v?"px-4 h-[33px] text-sm":"","flex cursor-pointer flex-row items-center text-sm !font-fkGroteskNeue",h?"rounded-full":"rounded",r==d?x:m),onClick:()=>{s&&s(r)},children:t})});return(0,n.jsx)(l.A,{children:(0,n.jsx)("div",{className:(0,i.A)("flex flex-row space-x-2",u().scrollbar,f),children:r.map((e,t)=>(0,n.jsx)(b,{tab:e,i:t},t))})})}},20933:(e,t,r)=>{"use strict";r.d(t,{J:()=>u,t:()=>s});var n=r(74848),i=r(34164),o=r(96540),l=r(80809);let a=e=>{let{children:t,active:r,className:o,activeColour:a="bg-pink",onClick:s,border:u,textSize:d="text-lg",bgColour:c="bg-bg-inverted",design:v="default",disabled:f=!1}=e;return"pills"===v?(0,n.jsx)(l.A,{children:(0,n.jsx)("div",{onClick:s,className:"w-full",children:(0,n.jsx)("div",{className:(0,i.A)(["font-bold border-b-0 flex-1 text-center cursor-pointer px-4 py-3 break-normal overflow-hidden h-full flex items-center justify-center",r?"bg-bg-main-primary rounded-full text-text-inverted":"text-text-main-primary",d,f?"opacity-50 cursor-auto":""]),children:t})})}):(0,n.jsx)(l.A,{children:(0,n.jsxs)("div",{onClick:s,className:"w-full",children:[(0,n.jsx)("div",{className:"".concat(o||""," ").concat(r?"bg-bg-inverted":c," ").concat(r?"text-text-inverted":"text-text-main-primary"," font-bold ").concat(d).concat(u?"border":""," border-b-0 border-blue-light flex-1 text-center cursor-pointer"),children:t}),(0,n.jsx)("div",{className:"".concat(a," h-1 -mt-[4px] ").concat(r?"":"hidden")})]})})},s=e=>{let{children:t,defaultTab:r=0,className:s="bg-bg-inverted",activeColour:d="bg-pink",bgColour:c="bg-bg-inverted",tabTextSize:v="text-lg",rightAccessory:f,onTabChanged:h,design:p="default",firstTabTextSize:m,containerCLassName:x=""}=e,[b,g]=(0,o.useState)(r);return(0,n.jsxs)(l.A,{children:[(0,n.jsx)("div",{className:(0,i.A)("bg-gradient-to-b","",x),children:(0,n.jsxs)("div",{className:(0,i.A)("flex",{"bg-bg-special rounded-full mx-2":"pills"===p}),children:[t.filter(e=>null!=e).map((e,t,r)=>{var i,l;return(0,n.jsx)(o.Fragment,{children:e?(0,n.jsx)(a,{onClick:()=>{var r,n,i;(null==e||null===(r=e.props)||void 0===r||!r.disabled)&&(g(t),h&&h(null!==(i=null==e?void 0:null===(n=e.props)||void 0===n?void 0:n.id)&&void 0!==i?i:t))},design:p,className:"".concat(s," ").concat(0==t&&"default"===p?"rounded-tl":""," ").concat(t+1===r.length&&"default"===p?"rounded-tr":""),active:b===t,activeColour:d,textSize:0==t&&m?m:v,bgColour:c,disabled:null==e?void 0:null===(i=e.props)||void 0===i?void 0:i.disabled,children:null==e?void 0:null===(l=e.props)||void 0===l?void 0:l.title}):null},t)}),f]})}),t.filter(e=>null!=e).map((e,t)=>{var r;return(0,n.jsx)(u,{className:(0,i.A)("w-full flex flex-1 grow",{hidden:t!==b}),title:e.title,style:{display:t===b?"flex":"none"},children:(null==e?void 0:null===(r=e.props)||void 0===r?void 0:r.children)?e.props.children:null},t)})]})},u=e=>{let{children:t,...r}=e;return(0,n.jsx)("div",{className:"bg-bg-inverted w-full border-t-0 border border-blue-light",...r,children:t})}},57017:(e,t,r)=>{"use strict";r.d(t,{c:()=>d});var n=r(74848),i=r(96540),o=r(55003);let l=e=>{let{width:t=27,height:r=25,stroke:i="#535F78",fill:o="#fff"}=e;return(0,n.jsx)("svg",{width:t,height:r,viewBox:"0 0 27 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 19.75l-7.347 3.863 1.403-8.182-5.944-5.794 8.214-1.193L13.5 1l3.674 7.444 8.214 1.193-5.944 5.794 1.403 8.182L13.5 19.75z",fill:o,stroke:i,strokeWidth:1.5,strokeLinejoin:"round"})})};var a=r(50850),s=r(94379),u=r(72797);let d=e=>{var t,r,d,c,v,f;
1let{starHeight:h=19,starWidth:p=19,symbol:m,iconOnly:x=!0,className:b="",type:g="coin",activeColor:y=null,inactiveColor:w=null,hideOnMobile:k=!1}=e,[C,j]=(0,i.useState)(!1),{data:L}=(0,s.fyO)({skip:!1}),{data:N,loading:_}=(0,s.uw7)({skip:!(null==L?void 0:L.userProfile),variables:{userId:null==L?void 0:null===(t=L.userProfile)||void 0===t?void 0:t.userId}}),[A]=(0,a.Ya0)({variables:{watchlistId:null==N?void 0:null===(r=N.getUserDefaultWatchlist)||void 0===r?void 0:r.watchlistId,symbol:m},refetchQueries:[{query:s.Nqt,variables:{userId:null==L?void 0:null===(d=L.userProfile)||void 0===d?void 0:d.userId}}]}),[M]=(0,a.hlq)({variables:{watchlistId:null==N?void 0:null===(c=N.getUserDefaultWatchlist)||void 0===c?void 0:c.watchlistId,addSymbolPayloadInput:{symbol:m}},refetchQueries:[{query:s.Nqt,variables:{userId:null==L?void 0:null===(v=L.userProfile)||void 0===v?void 0:v.userId}}]}),P=e=>{e.preventDefault(),C?("bundle"===g?alert():A(),j(!1)):("bundle"===g?alert(""):M(),j(!0))},{scheme:S,iconColor:D}=(0,u.Ut)(),V="light"!==S?D.watchlist.inactive:null!=w?w:D.watchlist.inactive,E="light"!==S?D.watchlist.active:null!=y?y:D.watchlist.active;return(0,i.useEffect)(()=>{if(!_&&m){var e;(null==N?void 0:null===(e=N.getUserDefaultWatchlist)||void 0===e?void 0:e.prices[m.toLowerCase()])!==void 0?j(!0):j(!1)}},[null==N?void 0:null===(f=N.getUserDefaultWatchlist)||void 0===f?void 0:f.prices,m,_]),x?(0,n.jsx)("div",{onClick:P,className:"react-tooltip","data-tooltip-content":"Add to the Watchlist",children:(0,n.jsx)(l,{className:"cursor-pointer ".concat(k?"hidden sm:flex":null),width:p,height:h,fill:C?E:V,stroke:E})}):(0,n.jsxs)(o.$,{onClick:P,className:"".concat(b," hidden md:flex justify-between"),colour:"blue",size:"auto",mode:"secondary",children:[(0,n.jsx)(l,{width:p,height:h,fill:C?V:E,stroke:E}),(0,n.jsxs)("span",{className:"hidden md:flex justify-center items-center font-semibold ml-1 h-6",children:[C?"Remove from":"Add to"," Watchlist"]})]})}},64400:(e,t,r)=>{"use strict";r.d(t,{N:()=>l});var n=r(74848),i=r(19293),o=r(80809);let l=(e,t)=>{let r={...t,noWrap:!0};i.M$.registerComponent(t=>(0,n.jsx)(o.A,{children:(0,n.jsx)("div",{...t.attributes,children:(0,n.jsx)(e,{...t})})}),r)}},55892:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Onboarding:()=>j});var n=r(74848),i=r(44625),o=r(86833),l=r(34164),a=r(99753),s=r(14953),u=r.n(s),d=r(96540),c=r(15587),v=r(46751),f=r(80809),h=r(44201),p=r(94379),m=r(72185),x=r(89908),b=r(42258);let g=u()(()=>Promise.all([r.e(19745),r.e(28007),r.e(19293),r.e(40148)]).then(r.bind(r,40148)).then(e=>e.InternationalModal),{loadableGenerated:{webpack:()=>[40148]},ssr:!1}),y=u()(()=>Promise.all([r.e(19745),r.e(22099),r.e(25004),r.e(29605),r.e(49187),r.e(42271),r.e(76717),r.e(75039)]).then(r.bind(r,76717)).then(e=>e.KYCModal),{loadableGenerated:{webpack:()=>[76717]},ssr:!1}),w=u()(()=>r.e(36544).then(r.bind(r,14163)).then(e=>e.VerifyEmailModal),{loadableGenerated:{webpack:()=>[14163]},ssr:!1}),k=u()(()=>Promise.all([r.e(46045),r.e(19745),r.e(55651),r.e(69999),r.e(29848)]).then(r.bind(r,69999)).then(e=>e.VerifyPhoneModal),{loadableGenerated:{webpack:()=>[69999]},ssr:!1});var C=function(e){return e[e.Email=0]="Email",e[e.Phone=1]="Phone",e[e.ID=2]="ID",e[e.Personalization=3]="Personalization",e[e.Appointment=4]="Appointment",e}(C||{});let j=e=>{var t,r,i,o,s,u,v,C,j,N,_,A,M,P,S,D,V;let{className:E=""}=e,{data:T,loading:I}=(0,p.fyO)({skip:!1}),{data:O,loading:z}=(0,p.jmK)({skip:!(null==T?void 0:null===(t=T.userProfile)||void 0===t?void 0:t.userId)||(null==T?void 0:null===(r=T.userProfile)||void 0===r?void 0:r.isIdentityVerified)||I,variables:{userId:null==T?void 0:null===(i=T.userProfile)||void 0===i?void 0:i.userId}}),F=(0,c.n3)(),[R,U]=(0,d.useState)(),[q,W]=(0,a.fp)(x.Nh);(0,d.useEffect)(()=>{var e,t,r,n,i,o,l,a,s,u,d,c,v;if((null==T?void 0:null===(e=T.userProfile)||void 0===e?void 0:e.accountType)==="ADVISER"){if(!T||!T.userProfile){U(0),W(0);return}let e=0;if(null==T?void 0:null===(d=T.userProfile)||void 0===d?void 0:d.isPhoneNumberVerified){W(100);return}let t=1;(null==T?void 0:null===(c=T.userProfile)||void 0===c?void 0:c.isPhoneNumberVerified)?t++:e=1,(null==T?void 0:null===(v=T.userProfile)||void 0===v?void 0:v.isEmailVerified)?t++:e=0,U(e),W(33*t);return}if(!T||!T.userProfile){U(0),W(0);return}let f=0;if(null==T?void 0:null===(r=T.userProfile)||void 0===r?void 0:null===(t=r.userOnboarding)||void 0===t?void 0:t.personalizationCompleted){W(100);return}let h=1;(null==T?void 0:null===(i=T.userProfile)||void 0===i?void 0:null===(n=i.userOnboarding)||void 0===n?void 0:n.personalizationCompleted)?h++:f=3,(null==T?void 0:null===(o=T.userProfile)||void 0===o?void 0:o.isIdentityVerified)?h++:f=2,(null==T?void 0:null===(l=T.userProfile)||void 0===l?void 0:l.isIdentityVerified)||(null==T?void 0:null===(a=T.userProfile)||void 0===a?void 0:a.accountType)==="INDIVIDUAL"||(f=4),(null==T?void 0:null===(s=T.userProfile)||void 0===s?void 0:s.isPhoneNumberVerified)?h++:f=1,(null==T?void 0:null===(u=T.userProfile)||void 0===u?void 0:u.isEmailVerified)?h++:f=0,U(f),W(25*h)},[T]),(0,d.useEffect)(()=>{var e,t;if((null==O?void 0:null===(e=O.getUserKyc)||void 0===e?void 0:e.address)&&(e=>!!((null==e?void 0:e.country)&&(null==e?void 0:e.country)!=="Australia"&&(null==e?void 0:e.country)!=="China"))(null==O?void 0:null===(t=O.getUserKyc)||void 0===t?void 0:t.address))try{F.open(g)}catch(e){console.error("error international modal ",e)}
1},[null==O?void 0:null===(o=O.getUserKyc)||void 0===o?void 0:o.address]);let Y=(0,m.M)({userProfileData:T});return!T||!T.userProfile||(null==T?void 0:null===(s=T.userProfile)||void 0===s?void 0:s.isEmailVerified)&&(null==T?void 0:null===(u=T.userProfile)||void 0===u?void 0:u.isPhoneNumberVerified)&&(null==T?void 0:null===(v=T.userProfile)||void 0===v?void 0:v.isIdentityVerified)||100==q||I?null:(0,n.jsx)(f.A,{children:(0,n.jsx)("div",{className:(0,l.A)("bg-bg-main-secondary",E),children:(0,n.jsxs)("div",{className:(0,l.A)("dash-container"),children:[(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row lg:space-x-4 space-y-4 lg:space-y-0",children:[(0,n.jsx)(L,{className:"w-full",title:(0,b.t)("Create your Account"),completed:!0}),(0,n.jsx)(L,{className:"w-full",title:(0,b.t)("Verify Email"),actionText:(0,b.t)("Verify"),active:0==R,completed:null==T?void 0:null===(C=T.userProfile)||void 0===C?void 0:C.isEmailVerified,action:()=>{F.open(w)}}),(0,n.jsx)(L,{className:"w-full",title:(0,b.t)("Verify Phone"),actionText:(0,b.t)("Verify"),active:1==R,completed:null==T?void 0:null===(j=T.userProfile)||void 0===j?void 0:j.isPhoneNumberVerified,action:()=>{F.open(k)}}),(null==T?void 0:null===(N=T.userProfile)||void 0===N?void 0:N.accountType)==="COMPANY"?(0,n.jsx)(L,{className:"w-full",title:(0,b.t)("Verify Company"),actionText:(0,b.t)("Verify"),active:4==R,completed:null==T?void 0:null===(_=T.userProfile)||void 0===_?void 0:_.isIdentityVerified,action:()=>{Y&&Y()}}):(null==T?void 0:null===(A=T.userProfile)||void 0===A?void 0:A.accountType)==="SMSF"?(0,n.jsx)(L,{className:"w-full",title:(0,b.t)("Verify SMSF"),actionText:(0,b.t)("Verify"),active:4==R,completed:null==T?void 0:null===(M=T.userProfile)||void 0===M?void 0:M.isIdentityVerified,action:()=>{Y&&Y()}}):(null==T?void 0:null===(P=T.userProfile)||void 0===P?void 0:P.accountType)==="TRUST"?(0,n.jsx)(L,{className:"w-full",title:(0,b.t)("Verify Trust"),actionText:(0,b.t)("Verify"),active:4==R,completed:null==T?void 0:null===(S=T.userProfile)||void 0===S?void 0:S.isIdentityVerified,action:()=>{Y&&Y()}}):(null==T?void 0:null===(D=T.userProfile)||void 0===D?void 0:D.accountType)==="ADVISER"?null:(0,n.jsx)(L,{className:"w-full",title:(0,b.t)("Verify ID"),actionText:(0,b.t)("Verify"),active:2==R,completed:null==T?void 0:null===(V=T.userProfile)||void 0===V?void 0:V.isIdentityVerified,action:()=>{F.open(y,{personaEnvironment:"production"})}})]}),(0,n.jsx)(h.z,{className:"mt-6",progress:q,bgClass:"bg-bg-main-primary",progressClass:"bg-bg-main-tertiary"})]})})})},L=e=>{let{title:t,completed:r,actionText:a,action:s,active:u=!1,className:d=""}=e;return(0,n.jsxs)("div",{className:(0,l.A)("h-[61px] border-2 flex flex-row px-4 rounded-lg justify-between items-center",u?"bg-bg-inverted border-white":"",r?"bg-bg-main-tertiary border-border-main-primary":"",u||u?"":"bg-transparent border-border-main-tertiary",d),onClick:u?s:null,children:[(0,n.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[r?(0,n.jsx)(o.i,{className:"text-text-inverted flex-shrink-0 text-[22px] rounded-[13px]"}):(0,n.jsx)(i.S,{className:(0,l.A)("text-text-main-secondary flex-shrink-0 text-[22px]")}),(0,n.jsx)("span",{className:(0,l.A)("ml-2 font-semibold text-[15px]",u?"text-text-main-primary":"text-text-main-secondary"),children:t})]}),(0,n.jsx)("div",{className:"flex items-center justify-center",children:r?(0,n.jsx)("span",{className:"text-[12px] text-text-main-secondary font-medium",children:(0,b.t)("Complete")}):(0,n.jsx)(n.Fragment,{children:u?(0,n.jsx)(v.A,{size:"xs",color:"light-purple",className:"!font-fkGroteskNeue font-medium leading-initial",children:a}):null})})]})}},92988:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(9885),i=r.n(n),o=r(96540);function l(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],[r,n]=(0,o.useState)(0),l=(0,o.useRef)(null);return(0,o.useEffect)(()=>(l.current&&clearInterval(l.current),e&&t&&(l.current=setInterval(()=>{n(i()(e).diff(i()(),"seconds"))},100)),()=>{l.current&&clearInterval(l.current)}),[e]),{seconds:r}}},70257:(e,t,r)=>{"use strict";r.d(t,{H:()=>i});var n=r(96540);function i(e,t){let r=(0,n.useRef)(!1);(0,n.useEffect)(()=>
1{if(r.current)return e();r.current=!0},t)}},50167:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(96540),i=r(44526),o=r(33319);let l=e=>{let{symbols:t=[]}=e,{smartQuoteData:r,smartQuoteUpdated:l,symbols:a,quoteData:s,focusedSubscriptions:u}=(0,n.useContext)(o.v),d=(0,n.useRef)((0,i.A)()),c=e=>{var t,r,n;let i=null!==(n=null==a?void 0:null===(t=a.current)||void 0===t?void 0:t.get(d.current))&&void 0!==n?n:new Set;i.add(e),null==a||null===(r=a.current)||void 0===r||r.set(d.current,i)},v=e=>{var t,r,n;let i=null!==(n=null==a?void 0:null===(t=a.current)||void 0===t?void 0:t.get(d.current))&&void 0!==n?n:new Set;i.delete(e),null==a||null===(r=a.current)||void 0===r||r.set(d.current,i)};(0,n.useEffect)(()=>{var e;return null==u||null===(e=u.current)||void 0===e||e.add(d.current),()=>{var e;null==u||null===(e=u.current)||void 0===e||e.delete(d.current)}},[]),(0,n.useEffect)(()=>{for(let e of t.map(e=>null==e?void 0:e.toLowerCase()))c(e)},[t]);let f=(0,n.useCallback)(function(e){var t,n,i,o;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unsubscribe:a}=l,u=null==e?void 0:e.toLowerCase();if(a){v(u);return}return u&&c(u),{data:{getLast:(null==r?void 0:null===(n=r.current)||void 0===n?void 0:null===(t=n.smartQuoteChanged)||void 0===t?void 0:t.prices)?null==r?void 0:null===(i=r.current)||void 0===i?void 0:i.smartQuoteChanged:(null==s?void 0:null===(o=s.getLast)||void 0===o?void 0:o.prices)?null==s?void 0:s.getLast:void 0}}},[s,l]),h=(0,n.useCallback)(function(e){var t,n,i,o,l,a,u,d,f,h,p,m,x;let b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unsubscribe:g,field:y,priceSSR:w}=b,k=null==e?void 0:e.toLowerCase();if(g){v(k);return}return(c(k),y)?(null==r?void 0:null===(o=r.current)||void 0===o?void 0:null===(i=o.smartQuoteChanged)||void 0===i?void 0:null===(n=i.prices)||void 0===n?void 0:null===(t=n[k])||void 0===t?void 0:t[y])?null==r?void 0:null===(h=r.current)||void 0===h?void 0:null===(f=h.smartQuoteChanged.prices)||void 0===f?void 0:null===(d=f[k])||void 0===d?void 0:d[y]:(null==s?void 0:null===(u=s.getLast)||void 0===u?void 0:null===(a=u.prices)||void 0===a?void 0:null===(l=a[k])||void 0===l?void 0:l[y])?null==s?void 0:null===(x=s.getLast)||void 0===x?void 0:null===(m=x.prices)||void 0===m?void 0:null===(p=m[k])||void 0===p?void 0:p[y]:(null==w?void 0:w[y])?null==w?void 0:w[y]:void 0:void 0},[s,l]),p=(0,n.useMemo)(()=>{var e,t,n,i,o,l,u,c,v,f,h,p,m,x,b,g,y,w,k,C,j,L,N,_,A,M,P,S;if(!(null==r?void 0:null===(t=r.current)||void 0===t?void 0:null===(e=t.smartQuoteChanged)||void 0===e?void 0:e.prices)&&!(null==s?void 0:null===(n=s.getLast)||void 0===n?void 0:n.prices))return;let D={prices:{...null!==(b=null==s?void 0:null===(i=s.getLast)||void 0===i?void 0:i.prices)&&void 0!==b?b:{}},quoteId:null!==(y=null!==(g=null==r?void 0:null===(l=r.current)||void 0===l?void 0:null===(o=l.smartQuoteChanged)||void 0===o?void 0:o.quoteId)&&void 0!==g?g:null==s?void 0:null===(u=s.getLast)||void 0===u?void 0:u.quoteId)&&void 0!==y?y:null,targetCurrency:null!==(k=null!==(w=null==r?void 0:null===(v=r.current)||void 0===v?void 0:null===(c=v.smartQuoteChanged)||void 0===c?void 0:c.targetCurrency)&&void 0!==w?w:null==s?void 0:null===(f=s.getLast)||void 0===f?void 0:f.targetCurrency)&&void 0!==k?k:null,issuedOn:null!==(j=null!==(C=null==r?void 0:null===(p=r.current)||void 0===p?void 0:null===(h=p.smartQuoteChanged)||void 0===h?void 0:h.issuedOn)&&void 0!==C?C:null==s?void 0:null===(m=s.getLast)||void 0===m?void 0:m.issuedOn)&&void 0!==j?j:null};for(let e of Array.from(null!==(L=null==a?void 0:null===(x=a.current)||void 0===x?void 0:x.get(d.current))&&void 0!==L?L:new Set))(null==r?void 0:null===(A=r.current)||void 0===A?void 0:null===(_=A.smartQuoteChanged)||void 0===_?void 0:null===(N=_.prices)||void 0===N?void 0:N[e])&&(D.prices[e]=null==r?void 0:null===(S=r.current)||void 0===S?void 0:null===(P=S.smartQuoteChanged)||void 0===P?void 0:null===(M=P.prices)||void 0===M?void 0:M[e]);return D},[l,s]),m=!(null==r?void 0:r.current),x=!s;return{data:{getLast:p},loading:!p&&m||x,quoteLoading:x,smartQuoteLoading:m,getQuote:f,q:h}}},72185:(e,t,r)=>{"use strict";r.d(t,{M:()=>a,q:()=>s});var n=r(79772),i=r(86715),o=r(96540),l=r(93210);let a=e=>{let{userProfileData:t}=e;return(0,o.useMemo)(()=>{var e,r,i,o,a,s,u,d,c;let v="",f=null;if((null==t?void 0:null===(e=t.userProfile)||void 0===e?void 0:e.accountType)==="COMPANY"?v=null===l.bookAppointmentData||void 0===l.bookAppointmentData?void 0:null===(o=l.bookAppointmentData.COMPANY)||void 0===o?void 0:o.typeformLink:(null==t?void 0:null===(r=t.userProfile)||void 0===r?void 0:r.accountType)==="SMSF"?v=null===l.bookAppointmentData||void 0===l.bookAppointmentData?void 0:null===(a=l.bookAppointmentData.SMSF)||void 0===a?void 0:a.typeformLink:(null==t?void 0:null===(i=t.userProfile)||void 0===i?void 0:i.accountType)==="TRUST"&&(v=null===l.bookAppointmentData||void 0===l.bookAppointmentData?void 0:null===(s=l.bookAppointmentData.TRUST)||void 0===s?void 0:s.typeformLink),v){let e=null==t?void 0:null===(u=t.userProfile)||void 0===u?void 0:u.email,r=null==t?void 0:null===(d=t.userProfile)||void 0===d?void 0:d.phoneNumber,i=null==t?void 0:null===(c=t.userProfile)||void 0===c?void 0:c.userId,o="".concat(v,"?email=").concat(encodeURIComponent(e),"&phone_number=").concat(encodeURIComponent(r),"&user_id=").concat(encodeURIComponent(i)),{toggle:l}=(0,n.createPopup)(o,{size:70});f=l}return f},[t])},s=e=>{let{userProfileData:t}=e,r=(0,i.useRouter)(),n=a({userProfileData:t});(0,o.useEffect)(()=>{var e;let t=null==r?void 0:null===(e=r.query)||void 0===e?void 0:e.typeform;"string"==typeof t&&"show"===t&&r.replace(r.pathname,void 0,{shallow:!0}).finally(()=>{setTimeout(()=>{null==n||n()},250)})},[null==r?void 0:r.query])}},26262:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(96540);let i=n.useLayoutEffect;
1function o(){let[e,t]=(0,n.useState)([0,0]);return i(()=>{function e(){t([window.innerWidth,window.innerHeight])}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},93136:(e,t,r)=>{"use strict";r.d(t,{I:()=>i});var n={allowDownsampling:!0};function i(e,t){return void 0===t&&(t=n),new o(e,t)}var o=function(){function e(e,t){var r=this;this._resolutionMediaQueryList=null,this._resolutionListener=function(e){return r._onResolutionChanged()},this._canvasConfiguredListeners=[],this.canvas=e,this._canvasSize={width:this.canvas.clientWidth,height:this.canvas.clientHeight},this._options=t,this._configureCanvas(),this._installResolutionListener()}return e.prototype.destroy=function(){this._canvasConfiguredListeners.length=0,this._uninstallResolutionListener(),this.canvas=null},Object.defineProperty(e.prototype,"canvasSize",{get:function(){return{width:this._canvasSize.width,height:this._canvasSize.height}},enumerable:!0,configurable:!0}),e.prototype.resizeCanvas=function(e){this._canvasSize={width:e.width,height:e.height},this._configureCanvas()},Object.defineProperty(e.prototype,"pixelRatio",{get:function(){var e=this.canvas.ownerDocument.defaultView;if(null==e)throw Error("No window is associated with the canvas");return e.devicePixelRatio>1||this._options.allowDownsampling?e.devicePixelRatio:1},enumerable:!0,configurable:!0}),e.prototype.subscribeCanvasConfigured=function(e){this._canvasConfiguredListeners.push(e)},e.prototype.unsubscribeCanvasConfigured=function(e){this._canvasConfiguredListeners=this._canvasConfiguredListeners.filter(function(t){return t!=e})},e.prototype._configureCanvas=function(){var e=this.pixelRatio;this.canvas.style.width=this._canvasSize.width+"px",this.canvas.style.height=this._canvasSize.height+"px",this.canvas.width=this._canvasSize.width*e,this.canvas.height=this._canvasSize.height*e,this._emitCanvasConfigured()},e.prototype._emitCanvasConfigured=function(){var e=this;this._canvasConfiguredListeners.forEach(function(t){return t.call(e)})},e.prototype._installResolutionListener=function(){if(null!==this._resolutionMediaQueryList)throw Error("Resolution listener is already installed");var e=this.canvas.ownerDocument.defaultView;if(null==e)throw Error("No window is associated with the canvas");var t=e.devicePixelRatio;this._resolutionMediaQueryList=e.matchMedia("all and (resolution: "+t+"dppx)"),this._resolutionMediaQueryList.addListener(this._resolutionListener)},e.prototype._uninstallResolutionListener=function(){null!==this._resolutionMediaQueryList&&(this._resolutionMediaQueryList.removeListener(this._resolutionListener),this._resolutionMediaQueryList=null)},e.prototype._reinstallResolutionListener=function(){this._uninstallResolutionListener(),this._installResolutionListener()},e.prototype._onResolutionChanged=function(){this._configureCanvas(),this._reinstallResolutionListener()},e}()},77093:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>v,default:()=>f});var n=r(74848),i=r(96540),o=r(15587),l=r(67264),a=r(74429),s=r(35798),u=r(70501);let d=(0,i.memo)(e=>{let{userProfile:t}=e;return(0,i.useMemo)(()=>(0,n.jsx)(l.$l,{userProfile:t}),[t])}),c=(0,s.v)((0,o.oY)()((0,a.A)(d)));c.getLayout=e=>(0,n.jsx)(u.x,{requiresAuthorization:!0,children:e});var v=!0;let f=c},89908:(e,t,r)=>{"use strict";r.d(t,{Nh:()=>d,YT:()=>h,_l:()=>u,bg:()=>f,eS:()=>c,qJ:()=>v,uB:()=>s,wj:()=>l});var n=r(99753),i=r(84524),o=r(46109),l=function(e){return e[e.Portfolio=0]="Portfolio",e[e.Trending=1]="Trending",e[e.Watchlist=2]="Watchlist",e[e.Gainers=3]="Gainers",e[e.MostTraded=4]="MostTraded",e[e.NewListings=5]="NewListings",e}({});(0,n.eU)(0);let a=!1;a=!!window.localStorage.getItem("userId");let s=(0,i.tG)("chartAdvancedModeV2",a),u=(0,n.eU)(o.W.D30),d=(0,n.eU)(0),c=(0,n.eU)(!1),v=(0,i.tG)("stashboardMarketTabMode",1),f=(0,n.eU)(!1),h=(0,n.eU)(0)},21179:(e,t,r)=>{"use strict";function n(e){return e?e.charAt(0).toUpperCase()+e.toLowerCase().slice(1):""}r.d(t,{Z:()=>n})},2141:e=>{e.exports={orangeGradient:"button_orangeGradient__639bx"}},93513:e=>{e.exports={scrollbar:"Tabs_scrollbar__hPkRC"}},56799:function(e,t,r){var n;n=e=>(()=>{"use strict";var t={729:e=>{var t=Object.prototype.hasOwnProperty,r="~";function n(){}function i(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,n,o,l){if("function"!=typeof n)throw TypeError("The listener must be a function");var a=new i(n,o||e,l),s=r?r+t:t;return e._events[s]?e._events[s].fn?e._events[s]=[e._events[s],a]:e._events[s].push(a):(e._events[s]=a,e._eventsCount++),e}function l(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function a(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),a.prototype.eventNames=function(){var e,n,i=[];if(0===this._eventsCount)return i;for(n in e=this._events)t.call(e,n)&&i.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},a.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,l=Array(o);i<o;i++)l[i]=n[i].fn;return l},a.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},a.prototype.emit=function(e,t,n,i,o,l){var a=r?r+e:e;if(!this._events[a])return!1;var s,u,d=this._events[a],c=arguments.length;if(d.fn){switch(d.once&&this.removeListener(e,d.fn,void 0,!0),c){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,t),!0;case 3:return d.fn.call(d.context,t,n),!0;case 4:return d.fn.call(d.context,t,n,i),!0;case 5:return d.fn.call(d.context,t,n,i,o),!0;case 6:return d.fn.call(d.context,t,n,i,o,l),!0}for(u=1,s=Array(c-1);u<c;u++)s[u-1]=arguments[u];d.fn.apply(d.context,s)}
1else{var v,f=d.length;for(u=0;u<f;u++)switch(d[u].once&&this.removeListener(e,d[u].fn,void 0,!0),c){case 1:d[u].fn.call(d[u].context);break;case 2:d[u].fn.call(d[u].context,t);break;case 3:d[u].fn.call(d[u].context,t,n);break;case 4:d[u].fn.call(d[u].context,t,n,i);break;default:if(!s)for(v=1,s=Array(c-1);v<c;v++)s[v-1]=arguments[v];d[u].fn.apply(d[u].context,s)}}return!0},a.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},a.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},a.prototype.removeListener=function(e,t,n,i){var o=r?r+e:e;if(!this._events[o])return this;if(!t)return l(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||i&&!a.once||n&&a.context!==n||l(this,o);else{for(var s=0,u=[],d=a.length;s<d;s++)(a[s].fn!==t||i&&!a[s].once||n&&a[s].context!==n)&&u.push(a[s]);u.length?this._events[o]=1===u.length?u[0]:u:l(this,o)}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&l(this,t)):(this._events=new n,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=r,a.EventEmitter=a,e.exports=a},639:t=>{t.exports=e}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{function e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}n.r(i),n.d(i,{createEvent:()=>N});var t,r=n(729),o=n.n(r),l=n(639),a=!("undefined"==typeof window||null===(t=window.document)||void 0===t||!t.createElement),s=a?l.useLayoutEffect:l.useEffect,u=function(e){var t=(0,l.useRef)(function(){throw Error("Cannot call an event handler during the first render.")});return s(function(){t.current=e}),(0,l.useCallback)(function(){for(var e,r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return null===(e=t.current)||void 0===e?void 0:e.apply(null,n)},[])},d=function(e){var t=u(e);s(function(){return window.addEventListener("storage",t),function(){window.removeEventListener("storage",t)}},[t])},c=function(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()},v="react-event-hook:undefined",f=Error("The input value could not be serialized"),h=function e(t){try{var r=c(t),n=JSON.stringify(t,function(e,t){return void 0===t?v:t}),i=p(n);if(c(i)!==r)throw f;return"object"===r&&Object.values(t).forEach(function(t){return e(t)}),"array"===r&&t.forEach(function(t){return e(t)}),n}catch(e){throw f}},p=function(e){return JSON.parse(e,function(e,t){if(t!==v)return t})},m=function(){return"".concat(Date.now(),":").concat(parseInt(Math.random().toString().replace(".",""),10))},x=function(e){var t=p(e);return{name:t.name,payload:t.payload}},b="react-event-hook";function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var y=function(e){var t;return[null===(t=e[0])||void 0===t?void 0:t.toUpperCase(),e.slice(1)].join("")},w=["-","_",":","/","."," "],k=function(e){return y(e.toLowerCase())},C=function e(t){var r,n=function(e){if(Array.isArray(e))return e}(r=t.split(new RegExp("[".concat(w.join(""),"](.*)"))))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],l=!0,a=!1;try{for(r=r.call(e);!(l=(n=r.next()).done)&&(o.push(n.value),2!==o.length);l=!0);}catch(e){a=!0,i=e}finally{try{l||null==r.return||r.return()}finally{if(a)throw i}}return o}}(r,2)||function(e,t){if(e){if("string"==typeof e)return g(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,2):void 0}}
1(r,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],o=n[1];return void 0!==i&&void 0!==o?"".concat(k(i)).concat(e(o)):t.toUpperCase()===t&&t.toLowerCase()!==t?k(t):y(t)},j=new(o()),L=new Map,N=function(t){return function(){var r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.crossTab,o=void 0!==i&&i,l=t.trim(),c=C(l),v="use".concat(c,"Listener"),f="emit".concat(c),p=m(),g=function(){L.has(l)&&L.get(l),L.set(l,p)},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.broadcast;if(a&&(g(),void 0!==r&&r||j.emit(l,e),o))try{var n=h({id:m(),name:l,payload:e});try{window.localStorage.setItem(b,n)}catch(e){}}catch(e){throw Error('Could not emit "'.concat(l,'" event. The event payload might contain values that cannot be serialized.'))}},w=function(e){return y(e)};return w.broadcast=function(e){return y(e,{broadcast:!0})},e(r={},v,function(e){var t=u(e);d(function(t){if(o&&t.newValue&&t.key===b){var r=x(t.newValue);r.name===l&&e(r.payload)}}),s(function(){return j.addListener(l,t),function(){j.removeListener(l,t)}},[t])}),e(r,f,w),r}}})(),i})(),e.exports=n(r(96540))},95098:()=>{}},e=>{var t=t=>e(e.s=t);e.O(0,[13200,8418,15286,28007,19293,25004,84524,32885,40334,29605,49187,37755,50797,55651,62618,70739,84074,27045,33263,94196,91106,94073,69858,98669,18058,48287,79720,86270,42271,5784,65892,27428,45093,56848,3983,21293,46889,34356,13767,28863,24783,34490,1670,93379,40486,92742,69890,76717,86187,75979,86829,50105,3242,69347,70501,62223,24025,8842,32489,56811,16865,90636,46593,38792],()=>t(52591)),_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.