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]="6128e633-d7a2-44eb-a293-8e2cd312e198",e._sentryDebugIdIdentifier="sentry-dbid-6128e633-d7a2-44eb-a293-8e2cd312e198")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2627,15531,17077,23509,57258,60219,71010,79111],{22700:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[symbol]/[[...path]]",function(){return i(98760)}])},20033:(e,t,i)=>{"use strict";i.d(t,{h:()=>l});var o=i(74848);i(96540);let l=e=>{let{width:t=33,fill:i="currentColor",height:l=23,className:a="",...r}=e;return(0,o.jsx)("div",{className:a,...r,children:(0,o.jsxs)("svg",{width:t,height:l,viewBox:"0 0 33 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M16.4994 20.248C13.3369 22.0825 9.33758 22.0886 6.16952 20.2639C3.00147 18.4391 1 14.9766 1 11.3205C1 7.66457 3.00147 4.20196 6.16952 2.37725C9.33758 0.552541 13.3369 0.558731 16.4994 2.39307",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M19.0781 6.16045L24.2385 11.3208L19.0781 16.4812",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M6.17725 11.3208H24.2385",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M21.6581 1.00011C27.3582 1.00011 31.9788 5.62088 31.9788 11.3209C31.9788 17.0208 27.3582 21.6416 21.6581 21.6416C15.9581 21.6416 11.3374 17.0208 11.3374 11.3209C11.3374 5.62088 15.9581 1.00011 21.6581 1.00011Z",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})}},55083:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var o=i(74848);i(96540);let l=e=>{let{width:t=33,fill:i="currentColor",height:l=23,className:a="",...r}=e;return(0,o.jsx)("div",{className:a,...r,children:(0,o.jsxs)("svg",{width:t,height:l,viewBox:"0 0 33 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M16.4994 2.39358C13.3369 0.559106 9.33758 0.552965 6.16952 2.37772C3.00147 4.20248 1 7.66504 1 11.3211C1 14.977 3.00147 18.4396 6.16952 20.2644C9.33758 22.0891 13.3369 22.0829 16.4994 20.2485",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M21.6581 21.6415C27.3582 21.6415 31.9788 17.0207 31.9788 11.3207C31.9788 5.62075 27.3582 1 21.6581 1C15.9581 1 11.3374 5.62075 11.3374 11.3207C11.3374 17.0207 15.9581 21.6415 21.6581 21.6415Z",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M23.4747 7.35132H21.1805C20.1196 7.35132 19.2598 8.15091 19.2598 9.13756C19.2598 10.1243 20.1196 10.9239 21.1805 10.9239H22.1025C23.1634 10.9239 24.0232 11.7235 24.0232 12.7102C24.0232 13.6968 23.1634 14.4965 22.1025 14.4965H19.8082",stroke:i,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M21.6416 14.7341V16.0842M21.6416 5.76343V7.12774",stroke:i,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})}},99790:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var o=i(74848);i(96540);let l=e=>{let{width:t=24,fill:i="currentColor",height:l=24,className:a="",...r}=e;return(0,o.jsx)("div",{className:a,...r,children:(0,o.jsxs)("svg",{width:t,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{d:"M14.8454 8.55917C14.8558 8.37076 14.867 8.18073 14.867 7.981C14.867 6.60008 14.4624 5.25018 13.7044 4.10206C12.9463 2.95394 11.8689 2.05917 10.6083 1.53094C9.34783 1.0027 7.96085 0.86474 6.62285 1.1345C5.28486 1.40425 4.05596 2.06961 3.0916 3.04641C2.12725 4.0232 1.47076 5.26755 1.20518 6.62205C0.939607 7.97655 1.07687 9.38035 1.59962 10.6559C2.12236 11.9314 3.0071 13.0213 4.14192 13.7878C5.27673 14.5543 6.61065 14.9629 7.97493 14.962C8.17305 14.962 8.3592 14.9515 8.54614 14.9418",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.3169 15.5177C22.3169 14.1373 21.9125 12.7879 21.1549 11.6402C20.3972 10.4924
119.3203 9.59786 18.0604 9.06961C16.8004 8.54135 15.414 8.40314 14.0765 8.67244C12.7389 8.94174 11.5103 9.60646 10.546 10.5825C9.58163 11.5586 8.92492 12.8022 8.65886 14.1561C8.39281 15.51 8.52935 16.9133 9.05124 18.1886C9.57313 19.4639 10.4569 20.5539 11.5908 21.3209C12.7248 22.0878 14.0579 22.4971 15.4217 22.4971C16.3272 22.4972 17.2239 22.3167 18.0605 21.966C18.8971 21.6153 19.6573 21.1012 20.2976 20.4531C20.9379 19.805 21.4458 19.0356 21.7923 18.1887C22.1388 17.3419 22.3171 16.4343 22.3169 15.5177Z",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M1 16.9788C1.245 18.1619 1.7888 19.2606 2.57835 20.1676C3.3679 21.0747 4.37623 21.7591 5.50499 22.1541",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M22.0577 6.3169C21.8127 5.13374 21.2689 4.03505 20.4794 3.12802C19.6898 2.221 18.6815 1.5366 17.5527 1.1416",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})}},68179:(e,t,i)=>{"use strict";i.d(t,{A:()=>w,b:()=>C});var o=i(74848),l=i(34164),a=i(55652),r=i(9885),n=i.n(r),d=i(96540),s=i(80809),u=i(88718),v=i(72797),c=i(26262),m=i(10123),p=i(97895),x=i(42258),y=i(48522),f=i.n(y);let h=[{title:"All",value:n()().add(-100,"years").unix()},{title:"1W",value:n()().add(-1,"week").unix()},{title:"1M",value:n()().add(-1,"month").unix()},{title:"1Q",value:n()().add(-1,"quarter").unix()},{title:"1Y",value:n()().add(-1,"year").unix()}],k={localization:{locale:"en-AU",dateFormat:"dd/MM/yy",timeFormatter:e=>{let t=new Date(1e3*e);return n()(t).format("DD, MMM")}},timeScale:{timeVisible:!0,secondsVisible:!1,tickMarkFormatter:e=>{let t=new Date(1e3*e);return n()(t).format("DD, MMM")}}},g={localization:{locale:"en-AU",dateFormat:"dd/MM/yy",timeFormatter:e=>{let t=new Date(1e3*e);return n()(t).format("DD, MMM")}},timeScale:{timeVisible:!0,secondsVisible:!1,tickMarkFormatter:e=>{let t=new Date(1e3*e);return n()(t).format("DD, MMM")}}},b={localization:{timeVisible:!1,secondsVisible:!1,locale:"en-AU",dateFormat:"dd/MM/yy",timeFormatter:e=>{let t=new Date(1e3*e);return n()(t).format("DD/MM/YYYY")}},timeScale:{timeVisible:!1,secondsVisible:!1,tickMarkFormatter:e=>{let t=new Date(1e3*e);return n()(t).format("DD/MM/YYYY")}}},A={localization:{locale:"en-AU",dateFormat:"dd/MM/yy",timeFormatter:e=>{let t=new Date(1e3*e);return n()(t).format("DD/MM/YYYY")}},timeScale:{timeVisible:!1,secondsVisible:!1,tickMarkFormatter:e=>{let t=new Date(1e3*e);return n()(t).format("DD/MM/YYYY")}}},C=e=>{var t;let{data:i,height:r,loading:y,timeframe:C,className:w,color:S="purple"}=e,P=(0,d.useRef)(null),D=(0,d.useRef)(),[E,T]=(0,d.useState)(0),[F,M]=(0,d.useState)(0),[j,L]=(0,d.useState)(!1),{scheme:N}=(0,v.Ut)(),V=(0,d.useMemo)(()=>"light"!==N?N:S,[N]),{createChartOptions:I,areaChartOptions:R,loaderClass:q}=(0,d.useMemo)(()=>{let e=m.theme.colors.purple.dark,t=m.theme.colors.purple["light-50"],i=m.theme.colors.purple.light,o=m.theme.colors.purple["light-91"],l=m.theme.colors.purple["light-0"],a=m.theme.colors.purple.light,n="bg-purple-dark",d=1;return"purple"==V?(e=m.theme.colors.purple.dark,t=m.theme.colors.purple["light-50"],i=m.theme.colors.purple.light,o=m.theme.colors.purple["light-91"],d=1):"white"==V?(e=m.theme.colors.white.DEFAULT,t=m.theme.colors.purple["light-50"],i=m.theme.colors.purple.light,n="bg-bg-inverted",o=m.theme.colors.purple.DEFAULT,l=m.theme.colors.purple["light-0"],a=m.theme.colors.purple.DEFAULT,d=2):"gold"===V&&(e="#171717",t="hsla(48, 28%, 76%, 0.5)",i="D2CCB0",n="bg-bg-inverted",o="#95833A",l="hsla(48, 28%, 76%, 0)",a="#95833A",d=2),{loaderClass:n,areaChartOptions:{autoscaleInfoProvider:e=>({priceRange:{minValue:E,maxValue:F}}),topColor:o,bottomColor:l,lineColor:a,lineWidth:d,textColor:m.theme.colors.lineChart.textColor,textSize:12,backgroundColor:e,priceFormat:{type:"price",minMove:2e-13}},createChartOptions:{height:r,handleScroll:{mouseWheel:!1,pressedMouseMove:!1,horzTouchDrag:!1,vertTouchDrag:!1},handleScale:{axisPressedMouseMove:!1,mouseWheel:!1,pinch:!1},layout:{backgroundColor:e,lineColor:m.theme.colors.lineChart.lineColor,textColor:m.theme.colors.lineChart.textColor,fontSize:9,fontFamily:f().style.fontFamily,fontWeight:900},grid:{vertLines:{visible:!1},horzLines:{style:4,color:t}},timeScale:{borderColor:i,timeVisible:!0,secondsVisible:!1,tickMarkFormatter:g.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:g.localization.timeFormatter,priceFormatter:e=>(0,x.d)(e).lessThanOrEqualTo("0")?"$0":(0,x.d)(e).lessThan("0.000000001")?"$".concat((0,x.d)(e).toFixed(18)):(0,x.d)(e).lessThan("0.00001")?"$".concat((0,x.d)(e).toFixed(12)):(0,x.d)(e).lessThan("1")?"$".concat((0,x.d)(e).toFixed(4)):(0,x.d)(e).lessThan("500")?"$".concat((0,x.d)(e).toFixed(2)):"$".concat((0,x.d)(e).toFixed(2).replace(/\B(?=(\d{3})+(?!\d))/g,","))}}}},[r,V,E,F,T]),[B]=(0,c.l)();(0,d.useEffect)(()=>{var e,t;if((null==D?void 0:null===(e=D.current)||void 0===e?void 0:e.offsetWidth)&&(null==P?void 0:P.current)&&B>0)try{null==P||null===(t=P.current)||void 0===t||t.applyOptions({height:r,layout:{fontSize:9}})}catch(e){console.log("resize error",e)}},[B,r,null==D?void 0:null===(t=D.current)||void 0===t?void 0:t.offsetWidth]),(0,d.useEffect)(()=>{var e;if((null==D?void 0:D.current)&&(null==P?void 0:null===(e=P.current)||void 0===e?void 0:e.applyOptions)){let e=new ResizeObserver(e=>{try{var t;null==P||null===(t=P.current)||void 0===t||t.applyOptions({width:e[0].contentRect.width})}catch(e){console.log("chart observer error ",e)}});return e.observe(D.current),()=>O.current&&e.unobserve(O.current)}},[null==D?void 0:D.current,P]);let[Q,U]=(0,d.useState)(),O=(0,d.useRef)(null),G=e=>{let t=(0,x.d)(1/0),i=(0,x.d)(0);for(let o of e)null!=o.value&&((0,x.d)(o.value).lessThan(t)&&(t=(0,x.d)(o.value)),(0,x.d)(o.value).greaterThan(i)&&(i=(0,x.d)(o.value)));return{tmpMin:t.equals(1/0)?(0,x.d)(0):t,tmpMax:t.equals(1/0)?(0,x.d)(2):i}};(0,d.useEffect)(()=>
1{if(P&&void 0!==Q&&i){var e,t,o,l,a,r,d;0==i.length?Q&&Q.setData([{value:0,time:h[C].value},{value:1,time:n()().unix()}]):Q&&Q.setData(i);let{tmpMin:s,tmpMax:u}=G(i);switch(T(s.toNumber()),M(u.toNumber()),C){case p.J.Week:null==P||null===(t=P.current)||void 0===t||t.applyOptions(k);break;case p.J.Month:null==P||null===(o=P.current)||void 0===o||o.applyOptions(g);break;case p.J.Year:null==P||null===(l=P.current)||void 0===l||l.applyOptions(b);break;case p.J.Quarter:null==P||null===(a=P.current)||void 0===a||a.applyOptions(b);break;case p.J.All:null==P||null===(r=P.current)||void 0===r||r.applyOptions(A);break;default:null==P||null===(d=P.current)||void 0===d||d.applyOptions(A)}null==P||null===(e=P.current)||void 0===e||e.timeScale().fitContent()}},[i,Q,C]),(0,d.useEffect)(()=>{try{if(P&&Q){var e,t,i;null==P||null===(e=P.current)||void 0===e||e.removeSeries(Q),null==P||null===(t=P.current)||void 0===t||t.applyOptions(I);let o=null==P?void 0:null===(i=P.current)||void 0===i?void 0:i.addAreaSeries(R);U(o),L(!0)}}catch(e){console.error("chart error ",e)}},[E,F,I,I]),(0,d.useEffect)(()=>{P&&requestAnimationFrame(()=>requestAnimationFrame(()=>{var e;return null===(e=P.current)||void 0===e?void 0:e.timeScale().fitContent()}))},[i]),(0,d.useEffect)(()=>{setTimeout(()=>{requestAnimationFrame(()=>requestAnimationFrame(()=>{var e;return null===(e=P.current)||void 0===e?void 0:e.timeScale().fitContent()}))},250)},[j]);let _=async()=>{(null==P?void 0:P.current)||(async function(){P.current=(0,a.R9)(O.current,I)})().then(async()=>{var e;return null===(e=P.current)||void 0===e?void 0:e.addAreaSeries(R)}).then(async e=>{U(e),requestAnimationFrame(()=>requestAnimationFrame(()=>{var e;return null===(e=P.current)||void 0===e?void 0:e.timeScale().fitContent()}))})};return(0,d.useEffect)(()=>(O&&O.current&&_(),()=>{U(null),P.current=null}),[]),(0,o.jsx)(s.A,{children:(0,o.jsx)("div",{className:(0,l.A)("relative",w),children:(0,o.jsxs)("div",{className:"relative chart-container md:p-0 md:min-
1h-[216px]",style:{height:r},ref:D,children:[(0,o.jsx)("div",{ref:O,className:"absolute inset-0 ".concat(j?"":"hidden")}),y?(0,o.jsx)("div",{className:(0,l.A)("absolute inset-0 z-10",q),style:{width:"100%",height:r},children:(0,o.jsx)(u.A,{loaderProps:{className:"text-text-title-primary h-14 w-14"}})}):null]})})})},w=C},2627:(e,t,i)=>{"use strict";i.d(t,{A:()=>k,E:()=>h});var o=i(74848),l=i(14953),a=i.n(l),r=i(86715),n=i(96540),d=i(56799),s=i(44526),u=i(34356),v=i(94379),c=i(81689),m=i(72797),p=i(45562);let x=JSON.parse('{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.4.5","a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":208,"w":1080,"h":1080,"nm":"LOADING 1 BLACK","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":3,"ty":4,"nm":"MASK","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[200,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":28,"s":[459.865,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":29,"s":[466.86,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":36,"s":[451.828,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":41,"s":[483.773,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":57,"s":[493.622,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":92,"s":[496,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":172,"s":[496,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":173,"s":[522,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":184,"s":[532,540,0],"to":[0,0,0],"ti":[0,0,0]},{"t":185,"s":[552,540,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[444.508,830.406],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":23,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-334.543,21.203],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[127.075,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1800,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Shape Layer 6","tt":2,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":131,"s":[360]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":138,"s":[360]},{"t":278,"s":[720]}],"ix":10},"p":{"a":0,"k":[419.487,539.408,0],"ix":2},"a":{"a":0,"k":[-39.855,0.422,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.25,0.25,0.25],"y":[1,1,1]},"o":{"x":[0.33,0.33,0.33],"y":[0,0,0]},"t":0,"s":[92.633,92.697,100]},{"t":79,"s":[96.631,96.697,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[646.336,646.336],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[45]},{"t":107,"s":[23]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-39.855,0.422],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[103.029,102.862],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.75],"y":[0]},"t":141,"s":[0]},{"t":198,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":1,"s":[0]},{"t":105,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":1789,"st":-11,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Shape Layer 5","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":131,"s":[360]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":138,"s":[360]},{"t":278,"s":[720]}],"ix":10},"p":{"a":0,"k":[571.619,538.592,0],"ix":2},"a":{"a":0,"k":[-49.855,0.422,0],"ix":1}
1,"s":{"a":1,"k":[{"i":{"x":[0.25,0.25,0.25],"y":[1,1,1]},"o":{"x":[0.33,0.33,0.33],"y":[0,0,0]},"t":0,"s":[116.617,116.697,100]},{"t":79,"s":[96.631,96.697,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[646.336,646.336],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[45]},{"t":107,"s":[23]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-39.855,0.422],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[103.029,102.862],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.75],"y":[0]},"t":138,"s":[0]},{"t":202,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":15,"s":[0]},{"t":71,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":1779,"st":-21,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":131,"s":[360]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":138,"s":[360]},{"t":278,"s":[720]}],"ix":10},"p":{"a":0,"k":[501.487,539.408,0],"ix":2},"a":{"a":0,"k":[-39.855,0.422,0],"ix":1},"s":{"a":0,"k":[96.631,96.697,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[646.336,646.336],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[1,1,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[45]},{"t":107,"s":[23]}],"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-39.855,0.422],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[103.029,102.862],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.75],"y":[0]},"t":134,"s":[0]},{"t":198,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"t":56,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":1800,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Shape Layer 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.25,"y":1},"o":{"x":0.33,"y":0},"t":50,"s":[587,539,0],"to":[0,0,0],"ti":[0,0,0]},{"t":131,"s":[610,539,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[96.631,96.697,100],"ix":6,"x":"var $bm_rt;\\n$bm_rt = thisComp.layer(\'Shape Layer 5\').transform.scale;"}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"s","pt":{"a":1,"k":[{"i":{"x":0.25,"y":1},"o":{"x":0.33,"y":0},"t":31,"s":[{"i":[[0,0],[0,-259.575],[0,0]],"o":[[0,0],[0,308.18],[0,0]],"v":[[-137.637,-376.435],[-374.622,-9.308],[-136.603,360.922]],"c":true}]},{"i":{"x":0.25,"y":1},"o":{"x":0.167,"y":0},"t":74,"s":[{"i":[[0,0],[0,-259.575],[0,0]],"o":[[0,0],[0,308.18],[0,0]],"v":[[63.127,-376.436],[-173.858,-9.3
108],[64.162,360.922]],"c":true}]},{"i":{"x":0.25,"y":1},"o":{"x":0.167,"y":0},"t":161,"s":[{"i":[[0,0],[0,-259.575],[0,0]],"o":[[0,0],[0,308.18],[0,0]],"v":[[63.127,-376.436],[-173.858,-9.308],[64.162,360.922]],"c":true}]},{"t":185,"s":[{"i":[[0,0],[0,-259.575],[0,0]],"o":[[0,0],[0,308.18],[0,0]],"v":[[-137.637,-376.435],[-374.622,-9.308],[-136.603,360.922]],"c":true}]}],"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"},{"inv":false,"mode":"s","pt":{"a":1,"k":[{"i":{"x":0.25,"y":1},"o":{"x":0.33,"y":0},"t":31,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[332.193,-380.572],[-149.179,-380.572],[-149.179,388.077],[332.193,388.077]],"c":true}]},{"i":{"x":0.25,"y":1},"o":{"x":0.167,"y":0},"t":74,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[532.957,-380.572],[51.586,-380.572],[51.586,388.077],[532.957,388.077]],"c":true}]},{"i":{"x":0.25,"y":1},"o":{"x":0.167,"y":0},"t":161,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[532.957,-380.572],[51.586,-380.572],[51.586,388.077],[532.957,388.077]],"c":true}]},{"t":185,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[332.193,-380.572],[-149.179,-380.572],[-149.179,388.077],[332.193,388.077]],"c":true}]}],"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 2"}],"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[646.336,646.336],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-39.855,0.422],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[103.029,102.862],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":31,"op":1783,"st":-17,"bm":0}],"markers":[]}'),y=a()(()=>Promise.all([i.e(13342),i.e(18051)]).then(i.t.bind(i,18051,23)),{loadableGenerated:{webpack:()=>[18051]},ssr:!1}),f=()=>{let e=(0,r.useRouter)(),[t,i]=(0,n.useState)(!1),o=(0,n.useCallback)(()=>{i(!0)},[]),l=(0,n.useCallback)(()=>{i(!1)},[]);(0,n.useEffect)(()=>(e.events.on("routeChangeStart",o),e.events.on("routeChangeComplete",l),e.events.on("routeChangeError",l),()=>{e.events.off("routeChangeStart",o),e.events.off("routeChangeComplete",l),e.events.off("routeChangeError",l)}),[e]),h({loading:t})},h=e=>{let{loading:t}=e,i=(0,n.useRef)((0,s.A)()),{emitLogoLoading:o}=(0,d.createEvent)("LogoLoading")({crossTab:!0});(0,n.useEffect)(()=>(o({id:i.current,payload:t}),()=>{t&&o({id:i.current,payload:!1})}),[t])},k=()=>{var e;let{dashboardTypeUrl:t}=(0,c.Yz)(),{data:i}=(0,v.fyO)({}),[l,a]=(0,n.useState)(!1),r=(0,n.useRef)(new Set),{useLogoLoadingListener:s}=(0,d.createEvent)("LogoLoading")({crossTab:!0});s(e=>{let{payload:t,id:i}=e;t?r.current.add(i):r.current.delete(i),a(r.current.size>0)}),f();let h=(0,m.En)(),{scheme:k,iconColor:g}=(0,m.Ut)(),b=(0,n.useMemo)(()=>{if(h);else if("gold"===k)return p;return x},[h,k]),A=(0,n.useMemo)(()=>h?"white":g.logo,[h,g.logo]);return l?(0,o.jsx)("div",{className:"relative w-[41px] h-[34px]",children:(0,o.jsx)(y,{animationData:b,loop:!0,className:"absolute top-[-11px] left-[-8px] w-[56px] h-[56px]"})}):(0,o.jsx)(u.Ey,{fill:A,width:41,height:34,hyperlinked:(null==i?void 0:null===(e=i.userProfile)||void 0===e?void 0:e.userId)?t:"/"})}},46190:(e,t,i)=>{"use strict";i.d(t,{CB:()=>p,Xb:()=>c,_y:()=>y,tS:()=>m,vZ:()=>x});var o=i(74848),l=i(28133),a=i.n(l),r=i(96540),n=i(22040),d=i(48623),s=i(66113),u=i(42258),v=i(79797);let c=(0,r.createContext)({hasError:!1}),m=e=>{let{isRecaptchaNet:t,children:i}=e,[l,n]=(0,r.useState)(!1),d=(0,r.useMemo)(()=>{let e=t?"recaptcha.net":"google.com";return"https://www.".concat(e,"/recaptcha/api.js?render=").concat("6LcVA-UeAAAAAOndM_Q2lzZcZWlmuOkoMThWStD6")},[t]);return(0,o.jsxs)(c.Provider,{value:{hasError:l},children:[(0,o.jsx)(a(),{src:d,onLoad:()=>console.log("[RecaptchaScript] loaded"),onReady:()=>{console.log("[RecaptchaScript] ready"),n(!1)},onError:()=>{console.log("[RecaptchaScript] error"),n(!0)}}),i]})},p=(0,r.forwardRef)((e,t)=>{let{size:i="normal",theme:l="light",handleVerify:a,onError:n,onExpired:d}=e,s=(0,r.useRef)(null);return(0,r.useImperativeHandle)(t,()=>({reset:()=>{try{window.grecaptcha.reset(s.current)}catch(e){v.Ay.log("[RecaptchaV2] reset captcha error",e)}},render:()=>{try{s.current=window.grecaptcha.render("recaptchaV2",{sitekey:"6LeG5HwlAAAAAGVbBujtuSCrhiXP_-g3c3lGQGkN",size:i,theme:l,callback:a,"expired-callback":d,"error-callback":n})}catch(e){v.Ay.log("[RecaptchaV2] render captcha error",e)}}})),(0,r.useEffect)(()=>{try{s.current=window.grecaptcha.render("recaptchaV2",{sitekey:"6LeG5HwlAAAAAGVbBujtuSCrhiXP_-g3c3lGQGkN",size:i,theme:l,callback:a,"expired-callback":d,"error-callback":n})}catch(e){v.Ay.log("[RecaptchaV2] render captcha error",e)}},[]),(0,o.jsx)("div",{id:"recaptchaV2"})}),x=(0,r.forwardRef)((e,t)=>((0,r.useImperativeHandle)(t,()=>({executeRecaptcha:async e=>new Promise((t,i)=>{window.grecaptcha.ready(async()=>{try{let i=await window.grecaptcha.execute("6LcVA-UeAAAAAOndM_Q2lzZcZWlmuOkoMThWStD6",{action:e});t(i)}catch(e){i(e)}})})})),null)),y=()=>(0,o.jsx)("div",{className:"w-full flex justify-center",children:(0,o.jsx)(n.A,{color:"error",icon:"info",title:(0,u.t)("Failed to load Captcha"),children:e=>{let{textClassName:t}=e;return(0,o.jsxs)("div",{className:"pl-4 pr-2 text-[12px] font-fkGroteskNeue font-medium",children:[(0,u.t)("Please try reloading the page, clearing cookies, checking if you are on VPN, or"),(0,o.jsx)(d.N,{className:"underline",href:s.sN,children:(0,u.t)("read our helpdesk article")})]})}})})},32271:(e,t,i)=>{"use strict";i.d(t,{t:()=>u});var o=i(74848),l=i(34164),a=i(96540),r=i(80809),n=i(72797),d=i(93513),s=i.n(d);let u=e=>{let{scheme:t}=(0,n.Ut)(),{tabs:i,onChange:d,defaultTab:u,color:v="purple-light",size:c="xs",className:m="",rounded:p=!0}=e,{commonClassName:x,inactiveClassName:y,activeClassName:f}=(0,a.useMemo)(()=>"purple-light"===v?{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"===v?{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"===v?{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"===v?{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,[v,t]),h=a.memo(e=>{let{tab:t,i}=e;return(0,o.jsx)("div",{className:(0,l.A)(x,"xs"==c?"px-3 h-[26px] text-sm":"","sm"==c?"px-4 h-[33px] text-sm":"","flex cursor-pointer flex-row items-center text-sm !font-fkGroteskNeue",p?"rounded-full":"rounded",i==u?f:y),onClick:()=>{d&&d(i)},children:t})});return(0,o.jsx)(r.A,{children:(0,o.jsx)("div",{className:(0,l.A)("flex flex-row space-x-2",s().scrollbar,m),children:i.map((e,t)=>(0,o.jsx)(h,{tab:e,i:t},t))})})}},55892:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Onboarding:()=>w});var o=i(74848),l=i(44625),a=i(86833),r=i(34164),n=i(99753),d=i(14953),s=i.n(d),u=i(96540),v=i(15587),c=i(46751),m=i(80809),p=i(44201),x=i(94379),y=i(72185),f=i(89908),h=i(42258);let k=s()(()=>Promise.all([i.e(19745),i.e(28007),i.e(19293),i.e(40148)]).then(i.bind(i,40148)).then(e=>e.InternationalModal),{loadableGenerated:{webpack:()=>[40148]},ssr:!1}),g=s()(()=>Promise.all([i.e(19745),i.e(22099),i.e(25004),i.e(29605),i.e(49187),i.e(42271),i.e(76717),i.e(75039)]).then(i.bind(i,76717)).then(e=>e.KYCModal),{loadableGenerated:{webpack:()=>[76717]},ssr:!1}),b=s()(()=>i.e(36544).then(i.bind(i,14163)).then(e=>e.VerifyEmailModal),{loadableGenerated:{webpack:()=>[14163]},ssr:!1}),A=s()(()=>Promise.all([i.e(46045),i.e(19745),i.e(55651),i.e(69999),i.e(29848)]).then(i.bind(i,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 w=e=>{var t,i,l,a,d,s,c,C,w,P,D,E,T,F,M,j,L;let{className:N=""}=e,{data:V,loading:I}=(0,x.fyO)({skip:!1}),{data:R,loading:q}=(0,x.jmK)({skip:!(null==V?void 0:null===(t=V.userProfile)||void 0===t?void 0:t.userId)||(null==V?void 0:null===(i=V.userProfile)||void 0===i?void 0:i.isIdentityVerified)||I,variables:{userId:null==V?void 0:null===(l=V.userProfile)||void 0===l?void 0:l.userId}}),B=(0,v.n3)(),[Q,U]=(0,u.useState)(),[O,G]=(0,n.fp)(f.Nh);(0,u.useEffect)(()=>{var e,t,i,o,l,a,r,n,d,s,u,v,c;if((null==V?void 0:null===(e=V.userProfile)||void 0===e?void 0:e.accountType)==="ADVISER"){if(!V||!V.userProfile){U(0),G(0);return}let e=0;if(null==V?void 0:null===(u=V.userProfile)||void 0===u?void 0:u.isPhoneNumberVerified){G(100);return}let t=1;(null==V?void 0:null===(v=V.userProfile)||void 0===v?void 0:v.isPhoneNumberVerified)?t++:e=1,(null==V?void 0:null===(c=V.userProfile)||void 0===c?void 0:c.isEmailVerified)?t++:e=0,U(e),G(33*t);return}if(!V||!V.userProfile){U(0),G(0);return}let m=0;if(null==V?void 0:null===(i=V.userProfile)||void 0===i?void 0:null===(t=i.userOnboarding)||void 0===t?void 0:t.personalizationCompleted){G(100);return}let p=1;(null==V?void 0:null===(l=V.userProfile)||void 0===l?void 0:null===(o=l.userOnboarding)||void 0===o?void 0:o.personalizationCompleted)?p++:m=3,(null==V?void 0:null===(a=V.userProfile)||void 0===a?void 0:a.isIdentityVerified)?p++:m=2,(null==V?void 0:null===(r=V.userProfile)||void 0===r?void 0:r.isIdentityVerified)||(null==V?void 0:null===(n=V.userProfile)||void 0===n?void 0:n.accountType)==="INDIVIDUAL"||(m=4),(null==V?void 0:null===(d=V.userProfile)||void 0===d?void 0:d.isPhoneNumberVerified)?p++:m=1,(null==V?void 0:null===(s=V.userProfile)||void 0===s?void 0:s.isEmailVerified)?p++:m=0,U(m),G(25*p)},[V]),(0,u.useEffect)(()=>{var e,t;if((null==R?void 0:null===(e=R.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==R?void 0:null===(t=R.getUserKyc)||void 0===t?void 0:t.address))try{B.open(k)}catch(e){console.error("error international modal ",e)}
1},[null==R?void 0:null===(a=R.getUserKyc)||void 0===a?void 0:a.address]);let _=(0,y.M)({userProfileData:V});return!V||!V.userProfile||(null==V?void 0:null===(d=V.userProfile)||void 0===d?void 0:d.isEmailVerified)&&(null==V?void 0:null===(s=V.userProfile)||void 0===s?void 0:s.isPhoneNumberVerified)&&(null==V?void 0:null===(c=V.userProfile)||void 0===c?void 0:c.isIdentityVerified)||100==O||I?null:(0,o.jsx)(m.A,{children:(0,o.jsx)("div",{className:(0,r.A)("bg-bg-main-secondary",N),children:(0,o.jsxs)("div",{className:(0,r.A)("dash-container"),children:[(0,o.jsxs)("div",{className:"flex flex-col lg:flex-row lg:space-x-4 space-y-4 lg:space-y-0",children:[(0,o.jsx)(S,{className:"w-full",title:(0,h.t)("Create your Account"),completed:!0}),(0,o.jsx)(S,{className:"w-full",title:(0,h.t)("Verify Email"),actionText:(0,h.t)("Verify"),active:0==Q,completed:null==V?void 0:null===(C=V.userProfile)||void 0===C?void 0:C.isEmailVerified,action:()=>{B.open(b)}}),(0,o.jsx)(S,{className:"w-full",title:(0,h.t)("Verify Phone"),actionText:(0,h.t)("Verify"),active:1==Q,completed:null==V?void 0:null===(w=V.userProfile)||void 0===w?void 0:w.isPhoneNumberVerified,action:()=>{B.open(A)}}),(null==V?void 0:null===(P=V.userProfile)||void 0===P?void 0:P.accountType)==="COMPANY"?(0,o.jsx)(S,{className:"w-full",title:(0,h.t)("Verify Company"),actionText:(0,h.t)("Verify"),active:4==Q,completed:null==V?void 0:null===(D=V.userProfile)||void 0===D?void 0:D.isIdentityVerified,action:()=>{_&&_()}}):(null==V?void 0:null===(E=V.userProfile)||void 0===E?void 0:E.accountType)==="SMSF"?(0,o.jsx)(S,{className:"w-full",title:(0,h.t)("Verify SMSF"),actionText:(0,h.t)("Verify"),active:4==Q,completed:null==V?void 0:null===(T=V.userProfile)||void 0===T?void 0:T.isIdentityVerified,action:()=>{_&&_()}}):(null==V?void 0:null===(F=V.userProfile)||void 0===F?void 0:F.accountType)==="TRUST"?(0,o.jsx)(S,{className:"w-full",title:(0,h.t)("Verify Trust"),actionText:(0,h.t)("Verify"),active:4==Q,completed:null==V?void 0:null===(M=V.userProfile)||void 0===M?void 0:M.isIdentityVerified,action:()=>{_&&_()}}):(null==V?void 0:null===(j=V.userProfile)||void 0===j?void 0:j.accountType)==="ADVISER"?null:(0,o.jsx)(S,{className:"w-full",title:(0,h.t)("Verify ID"),actionText:(0,h.t)("Verify"),active:2==Q,completed:null==V?void 0:null===(L=V.userProfile)||void 0===L?void 0:L.isIdentityVerified,action:()=>{B.open(g,{personaEnvironment:"production"})}})]}),(0,o.jsx)(p.z,{className:"mt-6",progress:O,bgClass:"bg-bg-main-primary",progressClass:"bg-bg-main-tertiary"})]})})})},S=e=>{let{title:t,completed:i,actionText:n,action:d,active:s=!1,className:u=""}=e;return(0,o.jsxs)("div",{className:(0,r.A)("h-[61px] border-2 flex flex-row px-4 rounded-lg justify-between items-center",s?"bg-bg-inverted border-white":"",i?"bg-bg-main-tertiary border-border-main-primary":"",s||s?"":"bg-transparent border-border-main-tertiary",u),onClick:s?d:null,children:[(0,o.jsxs)("div",{className:"flex flex-row justify-start items-center",children:[i?(0,o.jsx)(a.i,{className:"text-text-inverted flex-shrink-0 text-[22px] rounded-[13px]"}):(0,o.jsx)(l.S,{className:(0,r.A)("text-text-main-secondary flex-shrink-0 text-[22px]")}),(0,o.jsx)("span",{className:(0,r.A)("ml-2 font-semibold text-[15px]",s?"text-text-main-primary":"text-text-main-secondary"),children:t})]}),(0,o.jsx)("div",{className:"flex items-center justify-center",children:i?(0,o.jsx)("span",{className:"text-[12px] text-text-main-secondary font-medium",children:(0,h.t)("Complete")}):(0,o.jsx)(o.Fragment,{children:s?(0,o.jsx)(c.A,{size:"xs",color:"light-purple",className:"!font-fkGroteskNeue font-medium leading-initial",children:n}):null})})]})}},74429:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var o=i(74848),l=i(96540),a=i(67053);let r=e=>t=>{let{...i}=t,[r,n]=(0,l.useState)(!i.state);return((0,l.useEffect)(()=>{i.state&&a.Ay.restore(i.state),n(!0)},[]),r)?(0,o.jsx)(e,{...i}):null}},35798:(e,t,i)=>{"use strict";i.d(t,{v:()=>f});var o=i(74848),l=i(70111),a=i(18987),r=i(96540),n=i(56799),d=i(13498),s=i(94379),u=i(66935),v=i(26535),c=i(67086),m=i(34330),p=i(42258),x=i(79797),y=i(37525);let f=e=>t=>{let{...i}=t,f=(0,l.m)(),{useNotificationListener:h,emitNotification:k}=(0,n.createEvent)("Notification")({crossTab:!0}),{emitBalance:g}=(0,n.createEvent)("Balance")({crossTab:!0}),{userProfile:b,earnAccount:A,refetch:C,refetchProfileData:w,refetchEarnAccountBalance:S,refetchTradingAccountBalance:P}=(0,v.Gz)(),{refetch:D}=(0,s.NE4)({skip:!0,variables:{payloadUserId:null==b?void 0:b.userId}}),{refetch:E}=(0,s.IiH)({skip:!0,variables:{isBalances:!0}}),{refetch:T}=(0,s.IiH)({skip:!0,variables:{pageIndex:0,pageSize:10,isBalances:!0}}),{refetch:F}=(0,s.JRf)({skip:!0,variables:{userId:null==b?void 0:b.userId}}),{refetch:M}
1=(0,s.kWI)({skip:!0,variables:{accountId:null==b?void 0:b.userId}}),{refetch:j}=(0,s.kWI)({skip:!0,variables:{accountId:null==A?void 0:A.accountId}}),{refetch:L}=(0,s.mQV)({skip:!0,variables:{userId:null==b?void 0:b.userId}}),N=(0,r.useMemo)(()=>(0,y.nF)(async()=>{F(),M(),S(),P(),j(),E(),C(),L(),T()},200),[F,M,S,P,j,E,C,L,T]),V=(0,r.useMemo)(()=>(0,y.nF)(async()=>{w(),D()},200),[w,D]),I=a.A.get(d.H.DELEGATED_USER)?JSON.parse(a.A.get(d.H.DELEGATED_USER)):void 0,R=I?I.userId:void 0,{playSound:q}=(0,c.A)(!!R,"/sounds/click.mp3",.25),B=(0,m.A)(),{loading:Q}=(0,u.WG)({variables:{userId:R},onData:e=>{var t,i,o,l;let{data:a}=e;x.Ay.log("[BalanceChangedSubscription] ",a),(null==a?void 0:null===(t=a.data)||void 0===t?void 0:t.balanceChanged)&&(f.writeQuery({query:s.fRc,data:{accountBalances:{data:null==a?void 0:null===(i=a.data)||void 0===i?void 0:i.balanceChanged}},variables:{accountId:null==a?void 0:null===(l=a.data)||void 0===l?void 0:null===(o=l.balanceChanged)||void 0===o?void 0:o.accountId}}),N(),g())}}),{loading:U}=(0,u.y2)({skip:(null==b?void 0:b.accountType)==="ADVISER",variables:{userId:R},onData:e=>{let{data:t}=e;B||(console.log("subscriptionData playing sound ",t),q()),V();try{k()}catch(e){console.error("failed to emit notification event ",e)}}}),{loading:O}=(0,u.Ym)({variables:{userId:R},onData:e=>{let{data:t}=e;try{var i,o;if(x.Ay.log("[ActivityUpdatedSubscription] changed ",null==t?void 0:t.data),null==t?void 0:null===(i=t.data)||void 0===i?void 0:i.activityUpdated){let e=null==t?void 0:null===(o=t.data)||void 0===o?void 0:o.activityUpdated;if((null==e?void 0:e.type)==="Kyc"){if((null==e?void 0:e.status)=="Rejected"||(null==e?void 0:e.status)=="Cancelled")p.oR.error((0,p.t)("Your ID verification is ".concat((null==e?void 0:e.status)||"updated")),{duration:1e4});else{let t=(null==e?void 0:e.status)?"is ".concat(null==e?void 0:e.status):"was updated";(null==e?void 0:e.status)==="Processing"&&(t="needs additional data"),p.oR.success((0,p.t)("Your ID verification ".concat(t)),{duration:1e4})}}if((null==e?void 0:e.type)==="WithdrawFiat"){if((null==e?void 0:e.status)=="Cancelled")return;if((null==e?void 0:e.status)=="Rejected")p.oR.error((0,p.t)("AUD Withdrawal is ".concat((null==e?void 0:e.status)||"updated")),{duration:1e4});else{let t=(null==e?void 0:e.status)?"is ".concat(null==e?void 0:e.status):"was updated";(null==e?void 0:e.status)==="Processing"&&(t="needs additional data"),p.oR.success((0,p.t)("AUD Withdrawal ".concat(t)),{duration:1e4})}}if((null==e?void 0:e.type)==="WithdrawAsset"){if((null==e?void 0:e.status)==="Cancelled")return;let t=(null==e?void 0:e.status)||"updated";(null==e?void 0:e.status)==="Rejected"?p.oR.error((0,p.t)("Withdrawal ".concat(t)),{duration:1e4}):((null==e?void 0:e.status)==="Processing"&&(t="needs additional data"),p.oR.success((0,p.t)("Withdrawal ".concat(t)),{duration:1e4}))}if((null==e?void 0:e.type)==="TierUpgrade"){if((null==e?void 0:e.status)=="Rejected"||(null==e?void 0:e.status)=="Cancelled")p.oR.error((0,p.t)("Tier Upgrade ".concat((null==e?void 0:e.status)?"is ".concat(null==e?void 0:e.status):"was updated")),{duration:1e4});else{let t=(null==e?void 0:e.status)||"updated";(null==e?void 0:e.status)==="Processing"&&(t="needs additional data"),p.oR.success((0,p.t)("Tier Upgrade ".concat(t)),{duration:1e4})}}}}catch(e){x.Ay.error("[ActivityUpdatedSubscription] ",e)}}});return(0,o.jsx)(e,{...i})}},67086:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var o=i(94196),l=i(96540);function a(e,t,i){let a=(0,l.useRef)(null);return(0,l.useEffect)(()=>(e?a.current=new o.Howl({src:[t],volume:i}):a.current=null,()=>{a.current&&a.current.unload()}),[e]),{playSound:()=>{a.current&&a.current.play()}}}},61839:(e,t,i)=>{"use strict";i.d(t,{Fr:()=>w,YW:()=>A,vh:()=>f});var o=i(76582),l=i(99753),a=i(38221),r=i.n(a),n=i(9885),d=i.n(n),s=i(96540),u=i(56
1799),v=i(44526),c=i(50850),m=i(94379),p=i(42258),x=i(79797),y=i(92988),f=function(e){return e.Auto="auto",e.Manual="manual",e}({});let h={fromAmount:"0",toAmount:null,fromCoinPrice:"0",toCoinPrice:"0",quote:null,stashback:null,tradeFee:"0",basicTradeFee:"0"},k=(0,l.eU)(h),g=(0,l.eU)(!1),b=(0,l.eU)(!1),A=e=>{var t,i,a,n;let{fromSymbol:f,fromAmount:A,quoteData:w,toCoin:S,fromCoinData:P}=e,[D,E]=(0,l.fp)(k),[T,F]=(0,s.useState)(!1),[M,j]=(0,s.useState)(!1),[L,N]=(0,s.useState)(!1),[V,I]=(0,s.useState)("0"),[R,q]=(0,l.fp)(g),[B,Q]=(0,l.fp)(b),{data:U}=(0,m.fyO)({}),{fromQuote:O,toAmountManual:G,fromSwapCoin:_,tradeFee:W,fiatAmount:z}=C({quoteData:w,fromAmount:A,toSwapCoin:S,fromSwapCoin:P,fromSymbol:f}),{useTradeListener:Y}=(0,u.createEvent)("Trade")({crossTab:!0}),H=(0,s.useMemo)(()=>{var e,t;if(!(null==U?void 0:null===(e=U.userProfile)||void 0===e?void 0:e.userId)||(null==U?void 0:null===(t=U.userProfile)||void 0===t?void 0:t.status)==="PROBLEM")return"manual";let i=(0,p.d)(null==P?void 0:P.maximumTradeQuantity),o=(0,p.d)(null==P?void 0:P.maximumTradeAmount),l=(0,p.d)(null==S?void 0:S.maximumTradeQuantity),a=(0,p.d)(null==S?void 0:S.maximumTradeAmount);return(0,p.d)(z).gt(o)||(0,p.d)(z).gt(a)||i.gt(0)&&(0,p.d)(A).gt(i)||l.gt(0)&&(0,p.d)(G).gt(l)?"auto":"manual"},[A,G,U,P,S]),[K,{data:Z,loading:$}]=(0,c.DEG)({onError:e=>{F(!0),j(!1),N(!1),x.Ay.log("[getSwapQuoteMutation] error",e),(0,p.p8)(e,(0,p.t)("Estimate error, please contact support"))}}),J=(0,s.useMemo)(()=>r()(K,1e3),[K]),X=()=>{var e;J({variables:{getSwapQuoteInput:{toSymbol:null==S?void 0:S.symbol,fromSymbol:f,idempotentId:(0,v.A)(),userId:null==U?void 0:null===(e=U.userProfile)||void 0===e?void 0:e.userId,preciseAmount:A}}})},{seconds:ee}=(0,y.A)((null==Z?void 0:null===(i=Z.getSwapQuote)||void 0===i?void 0:null===(t=i.quote)||void 0===t?void 0:t.expiresOn)?d()(null==Z?void 0:null===(n=Z.getSwapQuote)||void 0===n?void 0:null===(a=n.quote)||void 0===a?void 0:a.expiresOn).toDate():null);(0,s.useEffect)(()=>{ee>=-1&&ee<0&&(0,p.d)(A).greaterThan(0)&&("auto"===H?(j(!0),X()):"manual"===H&&async function(){let{error:e,show:t}=await et();e&&t&&p.oR.error(e)}())},[ee]),(0,s.useEffect)(()=>{if(Z&&(0,p.d)(A).greaterThan(0)&&"auto"===H){var e,t,i,o,l,a,r,n,d,s,u,v,c,m,x,y,h,k,g,b;(null==Z?void 0:null===(e=Z.getSwapQuote)||void 0===e?void 0:e.isSuccessful)?(F(!1),E({fromCoinPrice:null==w?void 0:null===(i=w.getLast)||void 0===i?void 0:null===(t=i.prices[null==f?void 0:f.toLowerCase()])||void 0===t?void 0:t.sellPricePrecise,toCoinPrice:null==w?void 0:null===(a=w.getLast)||void 0===a?void 0:null===(o=a.prices[null==S?void 0:null===(l=S.symbol)||void 0===l?void 0:l.toLowerCase()])||void 0===o?void 0:o.buyPricePrecise,fromAmount:null==Z?void 0:null===(n=Z.getSwapQuote)||void 0===n?void 0:null===(r=n.quote)||void 0===r?void 0:r.fromAmount,toAmount:null==Z?void 0:null===(s=Z.getSwapQuote)||void 0===s?void 0:null===(d=s.quote)||void 0===d?void 0:d.toAmount,quote:null!==(k=null==Z?void 0:null===(u=Z.getSwapQuote)||void 0===u?void 0:u.quote)&&void 0!==k?k:null,stashback:null!==(g=null==Z?void 0:null===(c=Z.getSwapQuote)||void 0===c?void 0:null===(v=c.quote)||void 0===v?void 0:v.stashback)&&void 0!==g?g:null,tradeFee:(null==Z?void 0:null===(x=Z.getSwapQuote)||void 0===x?void 0:null===(m=x.quote)||void 0===m?void 0:m.tradeFee)||(null==W?void 0:W.tradeFee),basicTradeFee:null==W?void 0:W.basicTradeFee}),I(null==Z?void 0:null===(h=Z.getSwapQuote)||void 0===h?void 0:null===(y=h.quote)||void 0===y?void 0:y.toAmount)):(F(!0),p.oR.error((null==Z?void 0:null===(b=Z.getSwapQuote)||void 0===b?void 0:b.errorMessage)||(0,p.t)("Failed to get trade quote. Please try again later or contact support")))}j(!1)},[Z]),(0,s.useEffect)(()=>{E(h)},[A,f]),(0,s.useEffect)(()=>{"auto"===H&&((0,p.d)(A).greaterThan(0)?(j(!0),X()):(F(!1),E(e=>({...e,fromCoinValue:"0",toCoinValue:"0",stashback:null}))))},[A,U,f,H]),(0,s.useEffect)(()=>{if("manual"===H){j(!1),F(!1),I(null!=G?G:"0");return}},[A,G,H]),Y(async()=>{if("auto"===H){let{error:e,show:t}=await et();e&&t&&p.oR.error(e)}});let et=async()=>{N(!0);try{var e,t,i,o,l,a,r,n,d,s,u,c,m,p,x,y,h,k,g,b,C;let{data:P}=await K({variables:{getSwapQuoteInput:{toSymbol:null==S?void 0:S.symbol,fromSymbol
1:f,idempotentId:(0,v.A)(),userId:null==U?void 0:null===(e=U.userProfile)||void 0===e?void 0:e.userId,preciseAmount:A}}});if(null==P?void 0:null===(t=P.getSwapQuote)||void 0===t?void 0:t.isSuccessful)E({fromCoinPrice:null==w?void 0:null===(o=w.getLast)||void 0===o?void 0:null===(i=o.prices[null==f?void 0:f.toLowerCase()])||void 0===i?void 0:i.sellPricePrecise,toCoinPrice:null==w?void 0:null===(r=w.getLast)||void 0===r?void 0:null===(l=r.prices[null==S?void 0:null===(a=S.symbol)||void 0===a?void 0:a.toLowerCase()])||void 0===l?void 0:l.buyPricePrecise,fromAmount:null==P?void 0:null===(d=P.getSwapQuote)||void 0===d?void 0:null===(n=d.quote)||void 0===n?void 0:n.fromAmount,toAmount:null==P?void 0:null===(u=P.getSwapQuote)||void 0===u?void 0:null===(s=u.quote)||void 0===s?void 0:s.toAmount,quote:null!==(g=null==P?void 0:null===(c=P.getSwapQuote)||void 0===c?void 0:c.quote)&&void 0!==g?g:null,stashback:null!==(b=null==P?void 0:null===(p=P.getSwapQuote)||void 0===p?void 0:null===(m=p.quote)||void 0===m?void 0:m.stashback)&&void 0!==b?b:null,tradeFee:(null==P?void 0:null===(y=P.getSwapQuote)||void 0===y?void 0:null===(x=y.quote)||void 0===x?void 0:x.tradeFee)||(null==W?void 0:W.tradeFee),basicTradeFee:null==W?void 0:W.basicTradeFee}),I(null==P?void 0:null===(k=P.getSwapQuote)||void 0===k?void 0:null===(h=k.quote)||void 0===h?void 0:h.toAmount);else{let e=(null==P?void 0:null===(C=P.getSwapQuote)||void 0===C?void 0:C.errorMessage)||"Failed to get trade quote. Please try again later or contact support";if(!(null==P?void 0:P.getSwapQuote))return{error:e,show:!1};return{error:e,show:!0}}}catch(e){return console.log("[onGetSwapQuoteMutation] Error, ",e),{error:"Failed to get trade quote. Please try again later or contact support",show:!0}}finally{N(!1)}return{error:"",show:!1}};return(0,s.useEffect)(()=>{q($&&"auto"===H||M||L)},[$,H,M,L]),(0,s.useEffect)(()=>{var e,t,i;Q(!(null==U?void 0:null===(e=U.userProfile)||void 0===e?void 0:e.userId)||(null==U?void 0:null===(t=U.userProfile)||void 0===t?void 0:t.status)==="PROBLEM"||(0,p.d)(A).eq(0)||!_||!S||L||($||!(null==Z?void 0:null===(i=Z.getSwapQuote)||void 0===i?void 0:i.isSuccessful)||ee<=0||M)&&"auto"===H)},[U,A,_,S,L,$,Z,ee,M,H]),{hasError:T,toAmount:(0,s.useMemo)(()=>{let e=(null==D?void 0:D.toAmount)?(0,p.d)(null==D?void 0:D.toAmount).toFixed(8,o.A.ROUND_DOWN):(0,p.d)(V).toFixed(8,o.A.ROUND_DOWN);return(0,p.d)(e).eq(0)?"0":e},[D,V]),getSwapQuoteData:Z,getSwapQuoteLoading:R,isDisabled:B,rfq:H,toCoin:S,quoteData:w,fromSwapCoin:_,fromQuote:O,onGetSwapQuoteMutation:et,setSwap:E}},C=e=>{let{quoteData:t,fromSymbol:i,toSwapCoin:o,fromSwapCoin:l,fromAmount:a}=e,[r,n]=(0,s.useState)("0"),[d,u]=(0,s.useState)({tradeFee:"0",basicTradeFee:"0"}),{fromQuote:v,toQuote:c,averageFee:m,basicAverageFee:x,fiatAmount:y}=(0,s.useMemo)(()=>{var e,r,n,d,s,u,v;let c=null,m=null,x=0,y=0,f="0";if((null==t?void 0:t.getLast)&&(null==t?void 0:null===(e=t.getLast)||void 0===e?void 0:e.prices[i.toLowerCase()])&&(c=null==t?void 0:null===(n=t.getLast)||void 0===n?void 0:n.prices[i.toLowerCase()]),o&&(null==t?void 0:null===(r=t.getLast)||void 0===r?void 0:r.prices[o.symbol.toLowerCase()])&&(m=null==t?void 0:null===(d=t.getLast)||void 0===d?void 0:d.prices[o.symbol.toLowerCase()]),c&&m&&l&&o){let e="number"==typeof(null==l?void 0:l.membershipSellTradeFee)?l.membershipSellTradeFee:null==l?void 0:l.tradeFee,r="number"==typeof o.membershipBuyTradeFee?o.membershipBuyTradeFee:null==o?void 0:o.tradeFee;x=o?(0,p.d)(e).plus(r).div(4).toNumber():0,y=o?(0,p.d)(null==l?void 0:l.tradeFee).plus(null==o?void 0:o.tradeFee).div(4).toNumber():0;let n=null==t?void 0:null===(u=t.getLast)||void 0===u?void 0:null===(s=u.prices[i.toLowerCase()])||void 0===s?void 0:s.sellPricePrecise,d=(0,p.qf)({fromAccount:i,fee:null!==(v=null==l?void 0:l.membershipSellTradeFee)&&void 0!==v?v:"0",amount:(0,p.d)(null!=a?a:0).toFixed(),price:n,action:"sell"});f=(0,p.d)(null!=a?a:0).mul(n||1).sub(d.fiatFee).toDecimalPlaces(2).toFixed()}return{fromQuote:c,toQuote:m,fromSwapCoin:l,toSwapCoin:o,averageFee:x,basicAverageFee:y,fiatAmount:f}},[i,t,o,l]),f=(0,s.useCallback)((e,t)=>{if(!v||!c)return{toAmount:"0",totalFee:"0"};{var i,o;let l=(0,p.d)(e).mul(null!==(i=null==v?void 0:v.sellPricePrecise)&&void 0!==i?i:1),a=(0,p.d)(t).mul(l),r=l.minu
1s(a),n=r.div((0,p.d)(t).plus(1)),d=(0,p.d)(t).mul(n),s=r.minus(d).div(null!==(o=null==c?void 0:c.buyPricePrecise)&&void 0!==o?o:1),u=d.plus(a);return{toAmount:s.toDP(18).toFixed(),totalFee:u.toDP(18).toFixed()}}},[v,c]);return(0,s.useEffect)(()=>{if(a){let{toAmount:e,totalFee:t}=f(a,m),{totalFee:i}=f(a,x);n(e),u({tradeFee:t,basicTradeFee:i})}else n("0")},[a,i,f]),{fromQuote:v,toAmountManual:r,fromSwapCoin:l,tradeFee:d,fiatAmount:y}},w=()=>{var e;let[t]=(0,l.fp)(k),[i]=(0,l.fp)(g),[a]=(0,l.fp)(b);return{fromAmount:(null==t?void 0:t.fromAmount)||"0",toAmount:(0,p.d)(null==t?void 0:t.toAmount).toFixed(8,o.A.ROUND_DOWN)||"0",fromCoinPrice:(null==t?void 0:t.fromCoinPrice)||"0",toCoinPrice:(null==t?void 0:t.toCoinPrice)||"0",quote:null!==(e=null==t?void 0:t.quote)&&void 0!==e?e:null,stashback:(0,p.d)((null==t?void 0:t.stashback)||0).toFixed(0,o.A.ROUND_DOWN),tradeFee:(null==t?void 0:t.tradeFee)||"0",basicTradeFee:(null==t?void 0:t.basicTradeFee)||"0",tradeQuoteLoading:i,tradeQuoteDisabled:a}}},98174:(e,t,i)=>{"use strict";i.d(t,{W0:()=>h,eR:()=>P,fL:()=>w});var o=i(76582),l=i(99753),a=i(38221),r=i.n(a),n=i(9885),d=i.n(n),s=i(96540),u=i(56
1799),v=i(44526),c=i(50850),m=i(94379),p=i(42258),x=i(79797),y=i(92988),f=i(50167),h=function(e){return e.Disabled="disabled",e.Auto="auto",e.Manual="manual",e}({});let k={price:"0",stashback:null,value:null,quote:null},g=(0,l.eU)(k),b=(0,l.eU)(!1),A=(0,l.eU)(!1),C=["buy","sell"],w=e=>{var t,i,a,n;let{symbol:h,currentTab:w,amount:P,fromAccount:D,type:E,defi:T=!1,prefetchedCoinData:F=null}=e,[M,j]=(0,l.fp)(g),[L,N]=(0,s.useState)(!1),[V,I]=(0,s.useState)(!1),[R,q]=(0,s.useState)(!1),[B,Q]=(0,s.useState)("0"),[U,O]=(0,l.fp)(b),[G,_]=(0,l.fp)(A),{data:W}=(0,m.fyO)({}),{data:z={getCoinBySymbol:F}}=(0,m.Zqt)({variables:{symbol:h},skip:!h||!!F}),{data:Y}=(0,f.A)({symbols:[h],skip:!h}),{tradeQuoteManual:H}=S({coinData:z,currentTab:w,quoteData:Y,symbol:h,fromAccount:D,amount:P}),{useTradeListener:K}=(0,u.createEvent)("Trade")({crossTab:!0}),Z=(0,s.useMemo)(()=>{var e,t,i,o;if(T)return"disabled";if(!(null==W?void 0:null===(e=W.userProfile)||void 0===e?void 0:e.userId)||(null==W?void 0:null===(t=W.userProfile)||void 0===t?void 0:t.status)==="PROBLEM")return"manual";let l=null==z?void 0:null===(i=z.getCoinBySymbol)||void 0===i?void 0:i.maximumTradeAmount,a=null==z?void 0:null===(o=z.getCoinBySymbol)||void 0===o?void 0:o.maximumTradeQuantity,r="AUD"===D?P:H,n="AUD"===D?H:P;return(0,p.d)(r).greaterThan((0,p.d)(l))||(0,p.d)(a).gt(0)&&(0,p.d)(n).gt((0,p.d)(a))?"auto":"manual"},[z,P,H,W]),[$,{data:J,loading:X}]=(0,c.iHk)({onError:e=>{N(!0),I(!1),q(!1),x.Ay.log("[GetTradeQuoteMutation] error",e),(0,p.p8)(e,(0,p.t)("Estimate error, please contact support"))}}),ee=(0,s.useMemo)(()=>r()($,1e3),[$]),{seconds:et}=(0,y.A)((null==J?void 0:null===(i=J.getTradeQuote)||void 0===i?void 0:null===(t=i.quote)||void 0===t?void 0:t.expiresOn)?d()(null==J?void 0:null===(n=J.getTradeQuote)||void 0===n?void 0:null===(a=n.quote)||void 0===a?void 0:a.expiresOn).toDate():null),ei=()=>
1{if(C.includes(w)){var e;ee({variables:{getTradeQuoteInput:{symbol:h,side:w.toUpperCase(),idempotentId:(0,v.A)(),userId:null==W?void 0:null===(e=W.userProfile)||void 0===e?void 0:e.userId,..."AUD"===D?{fiatAmount:P}:{assetAmount:P}}}})}};(0,s.useEffect)(()=>{et>=-1&&et<0&&(0,p.d)(P).greaterThan(0)&&("auto"===Z?(I(!0),ei()):"manual"===Z&&async function(){let{error:e,show:t}=await eo();e&&t&&p.oR.error(e)}())},[et]),(0,s.useEffect)(()=>{if(J&&(0,p.d)(P).greaterThan(0)&&"auto"===Z){var e,t,i,o,l,a,r,n,d,s,u,v,c,m,x,y,f,h,k,g,b,A,C,S,E,T,F,M,L;if(null==J?void 0:null===(e=J.getTradeQuote)||void 0===e?void 0:e.isSuccessful){N(!1);let e=(0,p.d)(null==J?void 0:null===(i=J.getTradeQuote)||void 0===i?void 0:null===(t=i.quote)||void 0===t?void 0:t.fiatAmount).div((0,p.d)(null==J?void 0:null===(l=J.getTradeQuote)||void 0===l?void 0:null===(o=l.quote)||void 0===o?void 0:o.assetAmount)).toFixed();"SELL"===w.toUpperCase()&&(e=(0,p.d)(null==J?void 0:null===(h=J.getTradeQuote)||void 0===h?void 0:null===(f=h.quote)||void 0===f?void 0:f.fiatAmount).div((0,p.d)(null==J?void 0:null===(g=J.getTradeQuote)||void 0===g?void 0:null===(k=g.quote)||void 0===k?void 0:k.assetAmount)).add((0,p.d)("AUD"===D?0:(0,p.d)(null==J?void 0:null===(A=J.getTradeQuote)||void 0===A?void 0:null===(b=A.quote)||void 0===b?void 0:b.tradeFee).div(P).toFixed())).toFixed()),j({price:e,value:"AUD"===D?null!==(C=null==J?void 0:null===(r=J.getTradeQuote)||void 0===r?void 0:null===(a=r.quote)||void 0===a?void 0:a.assetAmount)&&void 0!==C?C:"0":null!==(S=null==J?void 0:null===(d=J.getTradeQuote)||void 0===d?void 0:null===(n=d.quote)||void 0===n?void 0:n.fiatAmount)&&void 0!==S?S:"0",quote:null!==(E=null==J?void 0:null===(s=J.getTradeQuote)||void 0===s?void 0:s.quote)&&void 0!==E?E:null,stashback:null!==(T=null==J?void 0:null===(v=J.getTradeQuote)||void 0===v?void 0:null===(u=v.quote)||void 0===u?void 0:u.stashback)&&void 0!==T?T:null}),Q("AUD"===D?null!==(F=null==J?void 0:null===(m=J.getTradeQuote)||void 0===m?void 0:null===(c=m.quote)||void 0===c?void 0:c.assetAmount)&&void 0!==F?F:"0":null!==(M=null==J?void 0:null===(y=J.getTradeQuote)||void 0===y?void 0:null===(x=y.quote)||void 0===x?void 0:x.fiatAmount)&&void 0!==M?M:"0")}else N(!0),p.oR.error((null==J?void 0:null===(L=J.getTradeQuote)||void 0===L?void 0:L.errorMessage)||(0,p.t)("Failed to get trade quote. Please try again later or contact support"))}I(!1)},[J]),(0,s.useEffect)(()=>{j(k)},[P]),(0,s.useEffect)(()=>{if("coin"===E&&("manual"===Z||"disabled"===Z)){I(!1),N(!1),Q(null!=H?H:"0");return}},[E,H]),(0,s.useEffect)(()=>{"coin"===E&&"auto"===Z&&((0,p.d)(P).greaterThan(0)?(I(!0),ei()):(N(!1),j(e=>({...e,value:"0",stashback:null}))))},[P,w,E,W,D]),K(async()=>{if("auto"===Z&&"coin"===E){let{error:e,show:t}=await eo();e&&t&&p.oR.error(e)}});let eo=async()=>{if(!C.includes(w))return{error:"",show:!1};q(!0);try{var e,t,i,o,l,a,r,n,d,s,u,c,m,x,y,f,k,g,b,A,S,E,T,F,M,L,N,V,I,R;let{data:C}=await $({variables:{getTradeQuoteInput:{symbol:h,side:w.toUpperCase(),idempotentId:(0,v.A)(),userId:null==W?void 0:null===(e=W.userProfile)||void 0===e?void 0:e.userId,..."AUD"===D?{fiatAmount:P}:{assetAmount:P}}}});if(null==C?void 0:null===(t=C.getTradeQuote)||void 0===t?void 0:t.isSuccessful){let e="AUD"===D?null!==(g=null==C?void 0:null===(o=C.getTradeQuote)||void 0===o?void 0:null===(i=o.quote)||void 0===i?void 0:i.assetAmount)&&void 0!==g?g:"0":null!==(b=null==C?void 0:null===(a=C.getTradeQuote)||void 0===a?void 0:null===(l=a.quote)||void 0===l?void 0:l.fiatAmount)&&void 0!==b?b:"0",t=null!==(A=null==C?void 0:null===(r=C.getTradeQuote)||void 0===r?void 0:r.quote)&&void 0!==A?A:null,v=null!==(S=null==C?void 0:null===(d=C.getTradeQuote)||void 0===d?void 0:null===(n=d.quote)||void 0===n?void 0:n.stashback)&&void 0!==S?S:null,h=(0,p.d)(null==C?void 0:null===(u=C.getTradeQuote)||void 0===u?void 0:null===(s=u.quote)||void 0===s?void 0:s.fiatAmount).div((0,p.d)(null==C?void 0:null===(m=C.getTradeQuote)||void 0===m?void 0:null===(c=m.quote)||void 0===c?void 0:c.assetAmount)).toFixed();"SELL"===w.toUpperCase()&&(h=(0,p.d)(null==C?void 0:null===(T=C.getTradeQuote)||void 0===T?void 0:null===(E=T.quote)||void 0===E?void 0:E.fiatAmount).div((0,p.d)(null==C?void 0:null===(M=C.getTradeQuote)||void 0===M?void 0:null===(F=M.quote)||void 0===F?void 0:F.assetAmount)).add((0,p.d)("AUD"===D?0:(0,p.d)(null==C?void 0:null===(N=C.getTradeQuote)||void 0===N?void 0:null===(L=N.quote)||void 0===L?void 0:L.tradeFee).div(P).toFixed())).toFixed()),j({price:h,value:e,quote:t,stashback:v}),Q("AUD"===D?null!==(V=null==C?void 0:null===(y=C.getTradeQuote)||void 0===y?void 0:null===(x=y.quote)||void 0===x?void 0:x.assetAmount)&&void 0!==V?V:"0":null!==(I=null==C?void 0:null===(k=C.getTradeQuote)||void 0===k?void 0:null===(f=k.quote)||void 0===f?void 0:f.fiatAmount)&&void 0!==I?I:"0")}else{let e=(null==C?void 0:null===(R=C.getTradeQuote)||void 0===R?void 0:R.errorMessage)||"Failed to get trade quote. Please try again later or contact support";if(!(null==C?void 0:C.getTradeQuote))return{error:e,show:!1};return{error:e,show:!0}}}catch(e){return console.log("[onGetTradeQuoteMutation] Error, ",e),{error:"Failed to get trade quote. Please try again later or contact support",show:!0}}finally{q(!1)}return{error:"",show:!1}};return(0,s.useEffect)(()=>{O(X&&"auto"===Z||V||R)},[X,Z,V,R]),(0,s.useEffect)(()=>{var e,t,i;_(!(null==W?void 0:null===(e=W.userProfile)||void 0===e?void 0:e.userId)||(null==W?void 0:null===(t=W.userProfile)||void 0===t?void 0:t.status)==="PROBLEM"||(0,p.d)(P).eq(0)||R||(X||!(null==J?void 0:null===(i=J.getTradeQuote)||void 0===i?void 0:i.isSuccessful)||et<=0||V)&&"auto"===Z)},[W,P,R,X,J,et,V,Z]),{hasError:L,value:(0,s.useMemo)(()=>{let e=(null==M?void 0:M.value)?(0,p.d)(null==M?void 0:M.value).toFixed(8,o.A.ROUND_DOWN):(0,p.d)(B).toFixed(8,o.A.ROUND_DOWN);return(0,p.d)(e).eq(0)?"0":e},[M,B]),getTradeQuoteData:J,getTradeQuoteLoading:U,isDisabled:G,rfq:Z,onGetTradeQuoteMutation:eo}},S=e=>
1{let{coinData:t,currentTab:i,quoteData:l,symbol:a,fromAccount:r,amount:n}=e,d=(0,s.useMemo)(()=>{var e,o,l,a,r;if(!t)return 0;let n=null==t?void 0:null===(e=t.getCoinBySymbol)||void 0===e?void 0:e.tradeFee;switch(i){case"buy":(null==t?void 0:null===(o=t.getCoinBySymbol)||void 0===o?void 0:o.membershipBuyTradeFee)!==null&&(n=null==t?void 0:null===(l=t.getCoinBySymbol)||void 0===l?void 0:l.membershipBuyTradeFee);break;case"sell":(null==t?void 0:null===(a=t.getCoinBySymbol)||void 0===a?void 0:a.membershipSellTradeFee)!==null&&(n=null==t?void 0:null===(r=t.getCoinBySymbol)||void 0===r?void 0:r.membershipSellTradeFee)}return n},[t,i]);return{tradeQuoteManual:(0,s.useMemo)(()=>{var e,t,s,u,v,c;let m="buy"===i?null==l?void 0:null===(t=l.getLast)||void 0===t?void 0:null===(e=t.prices[a.toLowerCase()])||void 0===e?void 0:e.buyPricePrecise:null==l?void 0:null===(u=l.getLast)||void 0===u?void 0:null===(s=u.prices[a.toLowerCase()])||void 0===s?void 0:s.sellPricePrecise;if(m){if("buy"===i){let e=(0,p.qf)({fromAccount:r,fee:d,amount:(0,p.d)(null!=n?n:0).toFixed(),price:m,action:"buy"});return"AUD"===r?(0,p.d)(null!=n?n:0).minus(null!==(v=e.fiatFee)&&void 0!==v?v:0).div(m||1).toDecimalPlaces(18,o.A.ROUND_DOWN).toFixed():(0,p.d)(null!=n?n:0).mul(m||1).add(e.fiatFee).toDecimalPlaces(2).toFixed()}if("sell"===i){let e=(0,p.qf)({fromAccount:r,fee:d,amount:(0,p.d)(null!=n?n:0).toFixed(),price:m,action:"sell"});return"AUD"===r?(0,p.d)(null!=n?n:0).add(null!==(c=e.fiatFee)&&void 0!==c?c:0).div(m||1).toDecimalPlaces(18,o.A.ROUND_DOWN).toFixed():(0,p.d)(null!=n?n:0).mul(m||1).sub(e.fiatFee).toDecimalPlaces(2).toFixed()}}},[l,i,r,d,n])}},P=()=>{var e,t;let[i]=(0,l.fp)(g),[a]=(0,l.fp)(b),[r]=(0,l.fp)(A);return{value:(0,p.d)(null==i?void 0:i.value).toFixed(8,o.A.ROUND_DOWN),price:null!==(e=null==i?void 0:i.price)&&void 0!==e?e:"0",quote:null!==(t=null==i?void 0:i.quote)&&void 0!==t?t:null,stashback:(0,p.d)((null==i?void 0:i.stashback)||0).toFixed(0,o.A.ROUND_DOWN),tradeQuoteLoading:a,tradeQuoteDisabled:r}}},72185:(e,t,i)=>{"use strict";i.d(t,{M:()=>n,q:()=>d});var o=i(79772),l=i(86715),a=i(96540),r=i(93210);let n=e=>{let{userProfileData:t}=e;return(0,a.useMemo)(()=>{var e,i,l,a,n,d,s,u,v;let c="",m=null;if((null==t?void 0:null===(e=t.userProfile)||void 0===e?void 0:e.accountType)==="COMPANY"?c=null===r.bookAppointmentData||void 0===r.bookAppointmentData?void 0:null===(a=r.bookAppointmentData.COMPANY)||void 0===a?void 0:a.typeformLink:(null==t?void 0:null===(i=t.userProfile)||void 0===i?void 0:i.accountType)==="SMSF"?c=null===r.bookAppointmentData||void 0===r.bookAppointmentData?void 0:null===(n=r.bookAppointmentData.SMSF)||void 0===n?void 0:n.typeformLink:(null==t?void 0:null===(l=t.userProfile)||void 0===l?void 0:l.accountType)==="TRUST"&&(c=null===r.bookAppointmentData||void 0===r.bookAppointmentData?void 0:null===(d=r.bookAppointmentData.TRUST)||void 0===d?void 0:d.typeformLink),c){let e=null==t?void 0:null===(s=t.userProfile)||void 0===s?void 0:s.email,i=null==t?void 0:null===(u=t.userProfile)||void 0===u?void 0:u.phoneNumber,l=null==t?void 0:null===(v=t.userProfile)||void 0===v?void 0:v.userId,a="".concat(c,"?email=").concat(encodeURIComponent(e),"&phone_number=").concat(encodeURIComponent(i),"&user_id=").concat(encodeURIComponent(l)),{toggle:r}=(0,o.createPopup)(a,{size:70});m=r}return m},[t])},d=e=>{let{userProfileData:t}=e,i=(0,l.useRouter)(),o=n({userProfileData:t});(0,a.useEffect)(()=>{var e;let t=null==i?void 0:null===(e=i.query)||void 0===e?void 0:e.typeform;"string"==typeof t&&"show"===t&&i.replace(i.pathname,void 0,{shallow:!0}).finally(()=>{setTimeout(()=>{null==o||o()},250)})},[null==i?void 0:i.query])}},98760:(e,t,i)=>{"use strict";i.r(t),i.d(t,{WildcardWrapper:()=>M,__N_SSP:()=>T,default:()=>L,getAction:()=>F});var o=i(74848),l=i(62618),a=i(34164),r=i(13368),n=i.n(r),d=i(15587),s=i(54701),u=i(8602),v=i(48623),c=i(22785),m=i(8014),p=i(28863),x=i(71585),y=i(74429),f=i(35798),h=i(70501),k=i(88017),g=i.n(k),b=i(48522),A=i.n(b),C=i(54216),w=i.n(C),S=i(36222),P=i.n(S);i(76786),i(92742),i(99115);var D=i(73837),E=i.n(D);l.builder.init("c8439f16d19447448314276c53cc4394");var T=!0;let F=e=>{try{let t=e.split("/"),i=(null==t?void 0:t[t.length-1])||"buy";if(!["buy","sell","swap"].includes(i))return"buy";return i}catch(e){return console.error("[getAction] error",e),"buy"}},M=e=>{let{query:t,prefetched:i={},userAgentIsCrawler:a=!1,userProfile:r=null,isSymbolPage:n=!1,builderPage:d=null}=e,{path:s,symbol:u}=t;
1return n?s&&(null==s?void 0:s.length)!=0?(0,o.jsx)(c.CoinBuySellSwap,{userProfile:r,defaultTab:s[0],prefetched:i,userAgentIsCrawler:a,symbol:u}):(0,o.jsx)(m.CoinTrade,{prefetched:i,userAgentIsCrawler:a,symbol:u}):(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(l.BuilderComponent,{renderLink:v.N,model:"page",content:d})})},j=(0,f.v)((0,d.oY)()((0,y.A)(M)));j.getLayout=e=>{var t,i,l,r,d,v,c,m,y,f,k,b,C,S,D,T,F,M,j,L;let N=null==e?void 0:null===(i=e.props)||void 0===i?void 0:null===(t=i.children)||void 0===t?void 0:t.props;if(null==N?void 0:N.isSymbolPage)return(0,o.jsx)(h.x,{children:e});let V="light"===((null==N?void 0:null===(r=N.builderPage)||void 0===r?void 0:null===(l=r.data)||void 0===l?void 0:l.theme)||"light")?"default":"private";return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(u.I,{title:null==N?void 0:null===(v=N.builderPage)||void 0===v?void 0:null===(d=v.data)||void 0===d?void 0:d.title,description:null==N?void 0:null===(m=N.builderPage)||void 0===m?void 0:null===(c=m.data)||void 0===c?void 0:c.description,image:null==N?void 0:null===(f=N.builderPage)||void 0===f?void 0:null===(y=f.data)||void 0===y?void 0:y.image,schema:null==N?void 0:null===(k=N.builderPage)||void 0===k?void 0:k.data}),(0,o.jsx)(n(),{children:(0,o.jsx)("meta",{name:"theme-color",content:null!==(L=null==N?void 0:null===(C=N.builderPage)||void 0===C?void 0:null===(b=C.data)||void 0===b?void 0:b.themeBackgroun
1dColor)&&void 0!==L?L:"#fff"})}),(null==N?void 0:null===(D=N.builderPage)||void 0===D?void 0:null===(S=D.data)||void 0===S?void 0:S.themeBackgroundColor)&&(0,o.jsx)("style",{children:"\n body {\n background: ".concat(null==N?void 0:null===(F=N.builderPage)||void 0===F?void 0:null===(T=F.data)||void 0===T?void 0:T.themeBackgroundColor," !important;\n }\n ")}),(0,o.jsxs)("div",{className:(0,a.A)(g().variable,A().variable,w().variable,P().variable,E().fontProvider),children:[(0,o.jsx)(x.default,{theme:V}),(0,o.jsx)(s.zE,{children:(0,o.jsx)("main",{children:e})}),(0,o.jsx)(p.Footer,{theme:(null==N?void 0:null===(j=N.builderPage)||void 0===j?void 0:null===(M=j.data)||void 0===M?void 0:M.theme)||"light"})]})]})};let L=j},21179:(e,t,i)=>{"use strict";function o(e){return e?e.charAt(0).toUpperCase()+e.toLowerCase().slice(1):""}i.d(t,{Z:()=>o})},93513:e=>{e.exports={scrollbar:"Tabs_scrollbar__hPkRC"}},73837:e=>{e.exports={fontProvider:"wildcard_fontProvider__aO1jb"}},45562:e=>{"use strict";e.exports=JSON.parse('{"v":"4.8.0","meta":{"g":"LottieFiles AE 3.4.5","a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":208,"w":1080,"h":1080,"nm":"LOADING 1 BLACK","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":3,"ty":4,"nm":"MASK","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[200,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":28,"s":[459.865,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":29,"s":[466.86,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":36,"s":[451.828,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":41,"s":[483.773,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":57,"s":[493.622,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":92,"s":[496,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":172,"s":[496,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":173,"s":[522,540,0],"to":[0,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":184,"s":[532,540,0],"to":[0,0,0],"ti":[0,0,0]},{"t":185,"s":[552,540,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ty":"rc","d":1,"s":{"a":0,"k":[444.508,830.406],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"r":{"a":0,"k":0,"ix":4},"nm":"Rectangle Path 1","mn":"ADBE Vector Shape - Rect","hd":false},{"ty":"st","c":{"a":0,"k":[0.376470618154,0.352941176471,0.823529471603,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":23,"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"fl","c":{"a":0,"k":[0.376470618154,0.352941176471,0.823529471603,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-334.543,21.203],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[127.075,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":1800,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Shape Layer 6","tt":2,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":131,"s":[360]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":138,"s":[360]},{"t":278,"s":[720]}],"ix":10},"p":{"a":0,"k":[419.487,539.408,0],"ix":2},"a":{"a":0,"k":[-39.855,0.422,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.25,0.25,0.25],"y":[1,1,1]},"o":{"x":[0.33,0.33,0.33],"y":[0,0,0]},"t":0,"s":[92.633,92.697,100]},{"t":79,"s":[96.631,96.697,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[646.336,646.336],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.584,0.514,0.227],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[45]},{"t":107,"s":[23]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-39.855,0.422],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[103.029,102.862],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.75],"y":[0]},"t":141,"s":[0]},{"t":198,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":1,"s":[0]},{"t":105,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":1789,"st":-11,"bm":0},{"ddd":0,"ind":5,"ty":4,"nm":"Shape Layer 5","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":131,"s":[360]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":138,"s":[360]},{"t":278,"s":[720]}],"ix":10},"p":{"a":0,"k":[571.619,538.592,0],"ix":2},"a":{"a":0,"k":[-49.855,0.422,0],"ix":1}
1,"s":{"a":1,"k":[{"i":{"x":[0.25,0.25,0.25],"y":[1,1,1]},"o":{"x":[0.33,0.33,0.33],"y":[0,0,0]},"t":0,"s":[116.617,116.697,100]},{"t":79,"s":[96.631,96.697,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[646.336,646.336],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.584,0.514,0.227],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[45]},{"t":107,"s":[23]}],"ix":5},"lc":2,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-39.855,0.422],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[103.029,102.862],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.75],"y":[0]},"t":138,"s":[0]},{"t":202,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":15,"s":[0]},{"t":71,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":1779,"st":-21,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Shape Layer 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":131,"s":[360]},{"i":{"x":[0.833],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":138,"s":[360]},{"t":278,"s":[720]}],"ix":10},"p":{"a":0,"k":[501.487,539.408,0],"ix":2},"a":{"a":0,"k":[-39.855,0.422,0],"ix":1},"s":{"a":0,"k":[96.631,96.697,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[646.336,646.336],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"st","c":{"a":0,"k":[0.584,0.514,0.227],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[45]},{"t":107,"s":[23]}],"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"tr","p":{"a":0,"k":[-39.855,0.422],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[103.029,102.862],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"tm","s":{"a":1,"k":[{"i":{"x":[0.67],"y":[1]},"o":{"x":[0.75],"y":[0]},"t":134,"s":[0]},{"t":198,"s":[100]}],"ix":1},"e":{"a":1,"k":[{"i":{"x":[0.25],"y":[1]},"o":{"x":[0.33],"y":[0]},"t":0,"s":[0]},{"t":56,"s":[100]}],"ix":2},"o":{"a":0,"k":0,"ix":3},"m":1,"ix":2,"nm":"Trim Paths 1","mn":"ADBE Vector Filter - Trim","hd":false}],"ip":0,"op":1800,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Shape Layer 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.25,"y":1},"o":{"x":0.33,"y":0},"t":50,"s":[587,539,0],"to":[0,0,0],"ti":[0,0,0]},{"t":131,"s":[610,539,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[96.631,96.697,100],"ix":6,"x":"var $bm_rt;\\n$bm_rt = thisComp.layer(\'Shape Layer 5\').transform.scale;"}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"s","pt":{"a":1,"k":[{"i":{"x":0.25,"y":1},"o":{"x":0.33,"y":0},"t":31,"s":[{"i":[[0,0],[0,-259.575],[0,0]],"o":[[0,0],[0,308.18],[0,0]],"v":[[-137.637,-376.435],[-374.622,-9.308],[-136.603,360.922]],"c":true}]},{"i":{"x":0.25,"y":1},"o":{"x":0.167,"y":0},"t":74,"s":[{"i":[[0,0],[0,-259.575],[0,0]],"o":[[0,0],[0,308.18],[0,0]],"v":[[63.127,-376.436],[-173.858,-9.3
108],[64.162,360.922]],"c":true}]},{"i":{"x":0.25,"y":1},"o":{"x":0.167,"y":0},"t":161,"s":[{"i":[[0,0],[0,-259.575],[0,0]],"o":[[0,0],[0,308.18],[0,0]],"v":[[63.127,-376.436],[-173.858,-9.308],[64.162,360.922]],"c":true}]},{"t":185,"s":[{"i":[[0,0],[0,-259.575],[0,0]],"o":[[0,0],[0,308.18],[0,0]],"v":[[-137.637,-376.435],[-374.622,-9.308],[-136.603,360.922]],"c":true}]}],"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"},{"inv":false,"mode":"s","pt":{"a":1,"k":[{"i":{"x":0.25,"y":1},"o":{"x":0.33,"y":0},"t":31,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[332.193,-380.572],[-149.179,-380.572],[-149.179,388.077],[332.193,388.077]],"c":true}]},{"i":{"x":0.25,"y":1},"o":{"x":0.167,"y":0},"t":74,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[532.957,-380.572],[51.586,-380.572],[51.586,388.077],[532.957,388.077]],"c":true}]},{"i":{"x":0.25,"y":1},"o":{"x":0.167,"y":0},"t":161,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[532.957,-380.572],[51.586,-380.572],[51.586,388.077],[532.957,388.077]],"c":true}]},{"t":185,"s":[{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[332.193,-380.572],[-149.179,-380.572],[-149.179,388.077],[332.193,388.077]],"c":true}]}],"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 2"}],"shapes":[{"ty":"gr","it":[{"d":1,"ty":"el","s":{"a":0,"k":[646.336,646.336],"ix":2},"p":{"a":0,"k":[0,0],"ix":3},"nm":"Ellipse Path 1","mn":"ADBE Vector Shape - Ellipse","hd":false},{"ty":"fl","c":{"a":0,"k":[0.584,0.514,0.227],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-39.855,0.422],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[103.029,102.862],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Ellipse 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":31,"op":1783,"st":-17,"bm":0}],"markers":[]}')}},e=>{var t=t=>e(e.s=t);e.O(0,[13200,8418,15286,28007,19293,25004,84524,32885,40334,37755,55651,62618,70739,84074,27045,33263,94196,91106,94073,69858,98669,48287,79720,86270,65892,21293,46889,55777,74821,22932,68656,62821,34356,13767,28863,24783,34490,1670,93379,40486,92742,69890,86187,75979,86829,69347,70501,56811,16865,58923,78529,25633,6707,49475,8014,90636,46593,38792],()=>t(22700)),_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.