(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5345,5832],{25327:function(t,e,i){Promise.resolve().then(i.bind(i,80234)),Promise.resolve().then(i.bind(i,29619)),Promise.resolve().then(i.bind(i,69169)),Promise.resolve().then(i.bind(i,47293)),Promise.resolve().then(i.bind(i,13100)),Promise.resolve().then(i.bind(i,88572)),Promise.resolve().then(i.bind(i,11981)),Promise.resolve().then(i.bind(i,73802)),Promise.resolve().then(i.bind(i,59617)),Promise.resolve().then(i.bind(i,60755)),Promise.resolve().then(i.bind(i,89448)),Promise.resolve().then(i.bind(i,3774)),Promise.resolve().then(i.bind(i,93765)),Promise.resolve().then(i.bind(i,68502)),Promise.resolve().then(i.bind(i,82903)),Promise.resolve().then(i.bind(i,90788)),Promise.resolve().then(i.bind(i,69241)),Promise.resolve().then(i.bind(i,37373))},80234:function(t,e,i){"use strict";i.d(e,{default:function(){return w}});var n=i(29042),o=i(26087),r=i(43521),a=i(25996),c=i(54318),s=i(81847),l=i(99294),d=i(52103),u=i(61717),f=i(16560),m=i(15666),N=i(15807),v=i(85578),y=i(11978),A=function(t){return(0,o.jsx)(y.Xv,{initialVariant:"LOGIN",renderContent:t=>{let{variant:e}=t;return"CREATE_ACCOUNT"===e?(0,o.jsx)("div",{className:"mb-6 grid gap-4 text-center",children:(0,o.jsx)("h2",{className:"text-heading-sm",children:"Create an account"})}):"PROVIDE_ACCOUNT_DETAILS"===e?(0,o.jsx)("div",{className:"mb-6 grid gap-4 text-center",children:(0,o.jsx)("h2",{className:"text-heading-sm",children:"Provide account details"})}):"LOGIN"===e?(0,o.jsx)("div",{className:"mb-6 grid gap-4 text-center",children:(0,o.jsx)("h2",{className:"text-heading-sm",children:"Welcome back"})}):null},...t})},b=i(27890),p=i(68763),h=i(6748),E=i(94490),R=i(20564);function x(){let t=(0,n._)(["\n    query InvestAndTradeCheck {\n  offers {\n    id\n    hideOffer\n    status\n  }\n  sellOrders {\n    id\n    status\n  }\n}\n    "]);return x=function(){return t},t}let _={},T=(0,a.Ps)(x());function g(){let t=(0,n._)(["\n	query InvestAndTradeCheck {\n		offers {\n			id\n			hideOffer\n			status\n		}\n		sellOrders {\n			id\n			status\n		}\n	}\n"]);return g=function(){return t},t}let I=(0,N.default)(()=>Promise.resolve().then(i.bind(i,13210)),{loadableGenerated:{webpack:()=>[13210]},ssr:!1}),O=t=>{let{name:e,count:i}=t;return(0,o.jsxs)("div",{className:"flex items-center gap-1",children:[e,(0,o.jsx)(b.Z,{condition:i>0,children:(0,o.jsx)("div",{className:"flex items-center justify-center p-[6px] h-4 min-w-[16px] bg-[#FFFFFF33] rounded-full text-white text-xs focus:!no-underline",children:i})})]})},C=(0,r.forwardRef)((t,e)=>{let{variant:i,...n}=t,r=(0,f.Z)(i),a=(0,s.mO)({[s.Uo.XS]:l.qE.Small,[s.Uo.SM]:l.qE.Small,[s.Uo.MD]:l.qE.Medium,[s.Uo.LG]:l.qE.Medium,[s.Uo.XL]:l.qE.Medium});return"CREATE_ACCOUNT"===r?(0,o.jsx)(l.zx,{variant:l.Wu.InvertedSecondary,size:a,ref:e,...n,children:"Create account"}):"LOGIN"===r?(0,o.jsx)(l.zx,{variant:l.Wu.InvertedSecondary,size:a,ref:e,...n,children:"Login"}):null});(0,a.Ps)(g());var w=function(){var t,e,i,n,a,s;let{hasAuthenticatedSession:l}=(0,v.kP)(),f=(0,d.X9)(),[N,y]=(0,r.useState)(!1),x=(0,c.usePathname)(),{data:g,refetch:w}=function(t){let e={..._};return R.a(T,e)}();if((0,r.useEffect)(()=>{y(!0)},[]),(0,r.useEffect)(()=>{w()},[x,w]),!N)return null;let P=Number(null==g?void 0:null===(e=g.offers)||void 0===e?void 0:null===(t=e.filter(t=>!t.hideOffer))||void 0===t?void 0:t.length),D=Number(null==g?void 0:null===(n=g.offers)||void 0===n?void 0:null===(i=n.filter(t=>!t.hideOffer&&"OPEN"===t.status))||void 0===i?void 0:i.length),S=Number(null==g?void 0:null===(s=g.sellOrders)||void 0===s?void 0:null===(a=s.filter(t=>"OPEN"===t.status))||void 0===a?void 0:a.length),B=P>0,j=S>0;return l&&!f.isOpen?(0,o.jsx)(E.Z,{"data-testid":"app-header-primary",children:(0,o.jsx)(E.Z.Layout,{left:(0,o.jsx)("div",{className:"xl:min-w-[275px]",children:(0,o.jsx)(p.K1,{})}),center:(0,o.jsxs)("div",{className:"hidden lg:flex items-center justify-start xl:justify-center gap-5",children:[(0,o.jsx)(b.Z,{condition:!!B,children:(0,o.jsx)(u.B,{as:m.O,href:"/invest",variant:u.r.NavInverted,className:"text-subheading-sm",partialMatch:!0,children:(0,o.jsx)(O,{name:"Invest",count:D})})}),(0,o.jsx)(b.Z,{condition:!!j,children:(0,o.jsx)(u.B,{as:m.O,href:"/trade",variant:u.r.NavInverted,className:"text-subheading-sm",partialMatch:!0,children:(0,o.jsx)(O,{name:"Trade",count:S})})}),(0,o.jsx)(u.B,{as:m.O,href:"/portfolio",variant:u.r.NavInverted,className:"text-subheading-sm",partialMatch:!0,children:"Portfolio"}),(0,o.jsx)(u.B,{as:m.O,href:"/documents",variant:u.r.NavInverted,className:"text-subheading-sm",children:"Documents"}),(0,o.jsx)(u.B,{as:m.O,href:"/transactions",variant:u.r.NavInverted,className:"text-subheading-sm",children:"Transactions"})]}),right:(0,o.jsxs)("div",{className:"flex items-center justify-end sm:gap-2 lg:min-w-[275px]",children:[(0,o.jsxs)("div",{className:"hidden lg:flex gap-2 items-center",children:[(0,o.jsx)(h.i,{}),(0,o.jsx)("span",{className:"bg-nav-link h-9 w-[1px]"}),(0,o.jsx)(p.x,{}),(0,o.jsx)(p.Or,{})]}),(0,o.jsx)("div",{className:"lg:hidden",children:(0,o.jsx)(I,{hasOffers:B,sellOrdersCount:S,offersCount:D})})]})})}):(0,o.jsx)(E.Z,{"data-testid":"app-header-primary",children:(0,o.jsx)(E.Z.Layout,{left:(0,o.jsx)("div",{className:"lg:min-w-[275px]",children:(0,o.jsx)(p.K1,{})}),right:(0,o.jsx)(A,{modalState:f,renderDisclosure:t=>{let{modalVariant:e}=t;return(0,o.jsx)(C,{variant:e})}})})})}},15666:function(t,e,i){"use strict";i.d(e,{O:function(){return c}});var n=i(26087);i(43521);var o=i(6538),r=i(54318),a=i(79187);function c(t){let{className:e,href:i,activeClass:c="active",partialMatch:s=!1,...l}=t,d=(0,r.usePathname)(),u=s?null==d?void 0:d.includes(i):d===i||(null==d?void 0:d.endsWith(i));return(0,n.jsx)(o.default,{href:i,className:(0,a.Z)(e,u&&c),...l})}},20189:function(t,e,i){"use strict";i.d(e,{Yk:function(){return h},PC:function(){return b},Bo:function(){return p},Db:function(){return D},ND:function(){return g},fv:function(){return P},lF:function(){return R},fg:function(){return O}});var n=i(54318),o=i(29042),r=i(43521),a=i(25996),c=i(24024),s=i(43250),l=i(26494),d=i(40991),u=i(20564);function f(){let t=(0,o._)(["\n    query AllNotifications($status: NotificationStatus) {\n  account {\n    id\n    notifications(status: $status) {\n      id\n      status\n      sortOrder\n    }\n    activeInvestingEntity {\n      id\n      notifications(status: $status) {\n        id\n        status\n        sortOrder\n        ... on VerifyNZDBankAccountNotification {\n          bankAccount {\n            ...verifiableBankAccountFields\n          }\n        }\n        ... on VerifyAUDBankAccountNotification {\n          bankAccount {\n            ...verifiableBankAccountFields\n          }\n        }\n        ... on VerifyEURBankAccountNotification {\n          bankAccount {\n            ...verifiableBankAccountFields\n          }\n        }\n        ... on VerifyGBPBankAccountNotification {\n          bankAccount {\n            ...verifiableBankAccountFields\n          }\n        }\n        ... on VerifyUSDBankAccountNotification {\n          bankAccount {\n            ...verifiableBankAccountFields\n          }\n        }\n        ... on ConfirmUnsupportedCountryAccreditationNotification {\n          country {\n            id\n            name\n          }\n        }\n      }\n    }\n  }\n}\n    ",""]);return f=function(){return t},t}let m={},N=(0,a.Ps)(f(),d.Hz);var v=i(78706);let y=c.RRI(c.vgT),A=c.MRu(c.vgT("sortOrder")),b=c.hXT(c.OH4("status",v.b9.INCOMPLETE)),p=c.qCK(c.yAE(null),y(v.BV),c.vgT("__typename"),c.yAE({})),h=c.qCK(c.yAE(null),y(v.As),c.vgT("__typename"),c.yAE({}));function E(){let t=(0,o._)(["\n	query AllNotifications($status: NotificationStatus) {\n		account {\n			id\n			notifications(status: $status) {\n				id\n				status\n				sortOrder\n			}\n			activeInvestingEntity {\n				id\n				notifications(status: $status) {\n					id\n					status\n					sortOrder\n					... on VerifyNZDBankAccountNotification {\n						bankAccount {\n							...verifiableBankAccountFields\n						}\n					}\n					... on VerifyAUDBankAccountNotification {\n						bankAccount {\n							...verifiableBankAccountFields\n						}\n					}\n					... on VerifyEURBankAccountNotification {\n						bankAccount {\n							...verifiableBankAccountFields\n						}\n					}\n					... on VerifyGBPBankAccountNotification {\n						bankAccount {\n							...verifiableBankAccountFields\n						}\n					}\n					... on VerifyUSDBankAccountNotification {\n						bankAccount {\n							...verifiableBankAccountFields\n						}\n					}\n					... on ConfirmUnsupportedCountryAccreditationNotification {\n						country {\n							id\n							name\n						}\n					}\n				}\n			}\n		}\n	}\n	","\n"]);return E=function(){return t},t}(0,a.Ps)(E(),s.pC);var R=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{variables:{status:l.Ez.Incomplete}},i=function(t){let e={...m,...t};return u.a(N,e)}({...e}),n=null===(t=i.data)||void 0===t?void 0:t.account;return[(0,r.useMemo)(()=>{var t,e,i;let o=["VerifyIdentityNotification"];return c.qCK(A,c.d1t(t=>{let{__typename:e}=t;return o.includes(e)}),c.hXT(t=>{let{__typename:e}=t;return e in v.xt}),c.zoF)(null!==(e=null==n?void 0:n.notifications)&&void 0!==e?e:[],null!==(i=null==n?void 0:null===(t=n.activeInvestingEntity)||void 0===t?void 0:t.notifications)&&void 0!==i?i:[])},[n]),i]};let x=c.qCK(c.OH4("status",v.b9.INCOMPLETE),c.yAE({})),_=(t,e)=>{let i=t-1,n=e[i],o=p(n);return i<0?null:x(n)&&o?o:_(i,e)},T=(t,e)=>{let i=t+1,n=e[i],o=p(n);return i>e.length?v.pb:x(n)&&o?o:T(i,e)};var g=t=>{let{pathname:e,notifications:i,state:n=null}=t,o=(0,r.useMemo)(()=>A(i),[i]),a=o.find(c.qCK(c.fS0(e),p)),s=c.cq5(a,o),{referrer:l=null}=n||{};return(0,r.useMemo)(()=>({next:null!=l?l:T(s,o),previous:_(s,o)}),[o,l,s])},I=i(39067),O=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];let{cache:n}=(0,I.x)();return()=>{e.forEach(t=>{n.modify({id:n.identify(t),fields:{status:()=>"COMPLETE"}})})}},C=i(36401),w=i(93516);let P=function(){let{successMessage:t="Thank you for submitting your information.",showSuccessToast:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,n.useRouter)(),o=(0,n.usePathname)(),[r]=R(),{next:a}=g({notifications:r,pathname:o});return()=>{e&&w.A.success(t),i.push(a)}};var D=t=>{let e=P();return(0,C.dG)(e,t)}},57129:function(t,e,i){"use strict";i.r(e),i.d(e,{ToastContainer:function(){return r}});var n=i(26087);i(43521);var o=i(34271);let r=()=>(0,n.jsx)(o.I,{containerId:"app-toast",position:"top-center",className:"pointer-events-none mt-20 flex !w-full max-w-xl flex-col gap-3",limit:1})},93516:function(t,e,i){"use strict";i.d(e,{A:function(){return n.A}});var n=i(56052);i(57129)},56052:function(t,e,i){"use strict";i.d(e,{A:function(){return o}}),i(43521);var n=i(34271);let o={info:(t,e)=>{n.A.dismiss(),n.A.info(t,e)},warning:(t,e)=>{n.A.dismiss(),n.A.warning(t,e)},success:(t,e)=>{n.A.dismiss(),n.A.success(t,e)},error:(t,e)=>{n.A.dismiss(),n.A.error(t,e)},errorGeneric:t=>{n.A.dismiss(),n.A.warning("Something went wrong and we have recorded this incident. We're working to fix it, so please try again later.",t)},dismiss:n.A.dismiss}},78706:function(t,e,i){"use strict";i.d(e,{pb:function(){return h},QU:function(){return a},HA:function(){return c},J3:function(){return A},b9:function(){return b},q9:function(){return p},xt:function(){return l},As:function(){return y},BV:function(){return R},Gk:function(){return x.Gk}});var n=i(64690),o=i.n(n);let r={DIRECTOR:"DIRECTOR",SHAREHOLDING_VOTING_RIGHTS_GREATER_THAN_25_PERCENT:"SHAREHOLDING_VOTING_RIGHTS_GREATER_THAN_25_PERCENT",GENERAL_PARTNER:"GENERAL_PARTNER",PARTNER:"PARTNER",LIMITED_PARTNER_GREATER_THAN_25_PERCENT:"LIMITED_PARTNER_GREATER_THAN_25_PERCENT",BENEFICIARY_GREATER_THAN_25_PERCENT:"BENEFICIARY_GREATER_THAN_25_PERCENT",BEARER_AND_NOMINEE_SHAREHOLDER:"BEARER_AND_NOMINEE_SHAREHOLDER",TRUSTEE:"TRUSTEE",NON_DISCRETIONARY_BENEFICIARY:"NON_DISCRETIONARY_BENEFICIARY",DISCRETIONARY_BENEFICIARY:"DISCRETIONARY_BENEFICIARY",SETTLOR:"SETTLOR",APPOINTOR_OR_PROTECTOR:"APPOINTOR_OR_PROTECTOR",NOMINEE_SHAREHOLDER:"NOMINEE_SHAREHOLDER",OTHER_AUTHORISED_PARTY:"OTHER_AUTHORISED_PARTY",EXECUTOR_OR_ADMINISTRATOR:"EXECUTOR_OR_ADMINISTRATOR",POWER_OF_ATTORNEY:"POWER_OF_ATTORNEY"},a={[r.DIRECTOR]:"Director",[r.SHAREHOLDING_VOTING_RIGHTS_GREATER_THAN_25_PERCENT]:"Shareholding / voting rights > 25%",[r.GENERAL_PARTNER]:"General partner",[r.PARTNER]:"Partner",[r.LIMITED_PARTNER_GREATER_THAN_25_PERCENT]:"Limited partner > 25% shareholding / voting",[r.BENEFICIARY_GREATER_THAN_25_PERCENT]:"Beneficiary > 25% shareholding / voting",[r.BEARER_AND_NOMINEE_SHAREHOLDER]:"Bearer & Nominee Shareholder",[r.TRUSTEE]:"Trustee",[r.NON_DISCRETIONARY_BENEFICIARY]:"Non-Discretionary Beneficiary",[r.DISCRETIONARY_BENEFICIARY]:"Discretionary Beneficiary",[r.SETTLOR]:"Settlor",[r.APPOINTOR_OR_PROTECTOR]:"Appointor or Protector",[r.NOMINEE_SHAREHOLDER]:"Nominee Shareholder",[r.OTHER_AUTHORISED_PARTY]:"Other authorised party",[r.EXECUTOR_OR_ADMINISTRATOR]:"Executor or Administrator",[r.POWER_OF_ATTORNEY]:"Power of Attorney"},c=o().oneOf(Object.values(r));var s=i(26087);i(43521);let l={AddInvestingEntityNotification:"AddInvestingEntityNotification",ConfirmEmailAddressNotification:"ConfirmEmailAddressNotification",ProvideBeneficialOwnerContactDetailsNotification:"ProvideBeneficialOwnerContactDetailsNotification",ProvideCityOfBirthNotification:"ProvideCityOfBirthNotification",ProvideSourceOfFundsNotification:"ProvideSourceOfFundsNotification",VerifyAddressNotification:"VerifyAddressNotification",VerifyIdentityNotification:"VerifyIdentityNotification",VerifyBiometricIdentityNotification:"VerifyBiometricIdentityNotification",ConfirmIdentityDocumentDetailsNotification:"ConfirmIdentityDocumentDetailsNotification",ProvideInvestingEntityDocumentsNotification:"ProvideInvestingEntityDocumentsNotification",ReattemptVerifyBiometricIdentityNotification:"ReattemptVerifyBiometricIdentityNotification",ReattemptVerifyAddressNotification:"ReattemptVerifyAddressNotification",ReattemptProvideSourceOfFundsNotification:"ReattemptProvideSourceOfFundsNotification",AddBankAccountNotification:"AddBankAccountNotification",VerifyNZDBankAccountNotification:"VerifyNZDBankAccountNotification",VerifyAUDBankAccountNotification:"VerifyAUDBankAccountNotification",VerifyEURBankAccountNotification:"VerifyEURBankAccountNotification",VerifyGBPBankAccountNotification:"VerifyGBPBankAccountNotification",VerifyUSDBankAccountNotification:"VerifyUSDBankAccountNotification",RenewAustralianAccreditationNotification:"RenewAustralianAccreditationNotification",RenewNewZealandAccreditationNotification:"RenewNewZealandAccreditationNotification",ConfirmAustralianAccreditationNotification:"ConfirmAustralianAccreditationNotification",RenewAccreditationNotification:"RenewAccreditationNotification",ConfirmNewZealandAccreditationNotification:"ConfirmNewZealandAccreditationNotification",ConfirmUnsupportedCountryAccreditationNotification:"ConfirmUnsupportedCountryAccreditationNotification",ConfirmAccreditationNotification:"ConfirmAccreditationNotification",ReattemptConfirmAccreditationNotification:"ReattemptConfirmAccreditationNotification"},d="/assets/images/notifications/icons/bank.svg",u="/assets/images/notifications/icons/funds.svg",f="/assets/images/notifications/icons/entity.svg",m="/assets/images/notifications/icons/person-tick.svg",N="/assets/images/notifications/icons/location-marker.svg",v="/assets/images/notifications/icons/identity-document.svg",y={[l.VerifyAddressNotification]:{title:()=>"Verify your address",description:()=>"Financial regulations require us to verify your physical address.",icon:"/assets/images/notifications/icons/location-document.svg"},[l.ProvideSourceOfFundsNotification]:{title:()=>"Provide source of funds",description:()=>"Financial regulations require us to verify the source of funds for your investing entity.",icon:u},[l.AddInvestingEntityNotification]:{title:()=>"Add an investing entity",description:()=>"We need to know how you plan to invest. As an individual, as a company, as joint individuals, or as a trust?",icon:f},[l.ConfirmEmailAddressNotification]:{title:()=>"Confirm your email address",description:()=>"Have we got the right email address to reach you on? To confirm that you can get our emails, confirm your email address.",icon:"/assets/images/notifications/icons/envelope-tick.svg"},[l.VerifyIdentityNotification]:{title:()=>"Verify your identity",description:()=>"For regulatory purposes we need to confirm your identity.",icon:v},[l.VerifyBiometricIdentityNotification]:{title:()=>"Verify your identity",description:()=>"For regulatory purposes we need to confirm your identity.",icon:v},[l.ConfirmIdentityDocumentDetailsNotification]:{title:()=>"Confirm identity document details",description:()=>"We couldn't verify your identity document details electronically. Please contact your account manager.",icon:v},[l.ProvideBeneficialOwnerContactDetailsNotification]:{title:()=>"Add contact details for all beneficial owners",description:()=>"Financial regulations require us to verify the identities for all beneficial owners of your investing entity.",icon:"/assets/images/notifications/icons/person-document.svg"},[l.ProvideCityOfBirthNotification]:{title:()=>"Provide city of birth",description:()=>"To comply with financial regulations, there is additional information we need from you.",icon:N},[l.ProvideInvestingEntityDocumentsNotification]:{title:()=>"Add investing entity documents",description:()=>"We're sorry but we were unable to verify your investing entity with the document supplied. Please upload requested documentation in an approved format.",icon:f},[l.ReattemptVerifyBiometricIdentityNotification]:{title:()=>"Verify your identity",description:()=>"We're sorry but we were unable to verify your identity with the document supplied. Please try again.",icon:v},[l.ReattemptVerifyAddressNotification]:{title:()=>"Verify your address",description:()=>"We're sorry but we were unable to electronically verify your address. Please upload a valid proof of address.",icon:N},[l.ReattemptProvideSourceOfFundsNotification]:{title:()=>"Provide source of funds",description:()=>"We're sorry but we were unable to verify your source of funds with the document supplied. Please upload requested documentation in an approved format.",icon:u},[l.AddBankAccountNotification]:{title:()=>"Add bank account",description:()=>(0,s.jsx)(s.Fragment,{children:"We need the bank details for your investing entity so we can pay you your share of fund distributions."}),icon:d},[l.VerifyNZDBankAccountNotification]:{title:()=>"Verify NZD bank account",description:()=>(0,s.jsx)(s.Fragment,{children:"Please verify your NZD bank account so we can pay you your share of fund distributions."}),icon:d},[l.VerifyAUDBankAccountNotification]:{title:()=>"Verify AUD bank account",description:()=>(0,s.jsx)(s.Fragment,{children:"Please verify your AUD bank account so we can pay you your share of fund distributions."}),icon:d},[l.VerifyEURBankAccountNotification]:{title:()=>"Verify EUR bank account",description:()=>(0,s.jsx)(s.Fragment,{children:"Please verify your EUR bank account so we can pay you your share of fund distributions."}),icon:d},[l.VerifyGBPBankAccountNotification]:{title:()=>"Verify GBP bank account",description:()=>(0,s.jsx)(s.Fragment,{children:"Please verify your GBP bank account so we can pay you your share of fund distributions."}),icon:d},[l.VerifyUSDBankAccountNotification]:{title:()=>"Verify USD bank account",description:()=>(0,s.jsx)(s.Fragment,{children:"Please verify your USD bank account so we can pay you your share of fund distributions."}),icon:d},[l.RenewAustralianAccreditationNotification]:{title:()=>"Renew wholesale certification",description:()=>"Your wholesale certification has expired. You will need to renew this certificate before you can invest in new wholesale offers.",icon:m},[l.RenewNewZealandAccreditationNotification]:{title:()=>"Renew wholesale certification",description:()=>"Your wholesale certification has expired. You will need to renew this certificate before you can invest in new wholesale offers.",icon:m},[l.RenewAccreditationNotification]:{title:()=>"Renew wholesale certification",description:()=>"Your wholesale certification has expired. You will need to renew this certificate before you can invest in new wholesale offers.",icon:m},[l.ReattemptConfirmAccreditationNotification]:{title:()=>"Reattempt wholesale certification",description:()=>"Your wholesale certification failed. You will need to resubmit this certificate before you can invest in new wholesale offers.",icon:m},[l.ConfirmAustralianAccreditationNotification]:{title:()=>"Confirm wholesale investor status",description:()=>"Access opportunities that are exclusively available to wholesale investors.",icon:m},[l.ConfirmNewZealandAccreditationNotification]:{title:()=>"Confirm wholesale investor status",description:()=>"Access opportunities that are exclusively available to wholesale investors.",icon:m},[l.ConfirmAccreditationNotification]:{title:()=>"Confirm wholesale investor status",description:()=>"Access opportunities that are exclusively available to wholesale investors.",icon:m},[l.ConfirmUnsupportedCountryAccreditationNotification]:{title:()=>"Confirm wholesale investor status",description:()=>"Access opportunities that are exclusively available to wholesale investors.",icon:m}},A={ADD_BANK_ACCOUNT:"ADD_BANK_ACCOUNT",ADD_INVESTING_ENTITY:"ADD_INVESTING_ENTITY",CONFIRM_EMAIL_ADDRESS:"CONFIRM_EMAIL_ADDRESS",CONFIRM_IDENTITY_DOCUMENT_DETAILS:"CONFIRM_IDENTITY_DOCUMENT_DETAILS",RENEW_AUSTRALIAN_ACCREDITATION:"RENEW_AUSTRALIAN_ACCREDITATION",RENEW_NEW_ZEALAND_ACCREDITATION:"RENEW_NEW_ZEALAND_ACCREDITATION",RENEW_ACCREDITATION:"RENEW_ACCREDITATION",CONFIRM_AUSTRALIAN_ACCREDITATION:"CONFIRM_AUSTRALIAN_ACCREDITATION",CONFIRM_NEW_ZEALAND_ACCREDITATION:"CONFIRM_NEW_ZEALAND_ACCREDITATION",CONFIRM_ACCREDITATION:"CONFIRM_ACCREDITATION",CONFIRM_UNSUPPORTED_COUNTRY_ACCREDITATION:"CONFIRM_UNSUPPORTED_COUNTRY_ACCREDITATION",PROVIDE_BENEFICIAL_OWNER_CONTACT_DETAILS:"PROVIDE_BENEFICIAL_OWNER_CONTACT_DETAILS",PROVIDE_CITY_OF_BIRTH:"PROVIDE_CITY_OF_BIRTH",PROVIDE_SOURCE_OF_FUNDS:"PROVIDE_SOURCE_OF_FUNDS",PROVIDE_INVESTING_ENTITY_DOCUMENTS:"PROVIDE_INVESTING_ENTITY_DOCUMENTS",VERIFY_ADDRESS:"VERIFY_ADDRESS",VERIFY_IDENTITY:"VERIFY_IDENTITY",VERIFY_NZD_BANK_ACCOUNT:"VERIFY_NZD_BANK_ACCOUNT",VERIFY_AUD_BANK_ACCOUNT:"VERIFY_AUD_BANK_ACCOUNT",VERIFY_USD_BANK_ACCOUNT:"VERIFY_USD_BANK_ACCOUNT",VERIFY_GBP_BANK_ACCOUNT:"VERIFY_GBP_BANK_ACCOUNT",VERIFY_EUR_BANK_ACCOUNT:"VERIFY_EUR_BANK_ACCOUNT",VERIFY_BIOMETRIC_IDENTITY:"VERIFY_BIOMETRIC_IDENTITY",REATTEMPT_VERIFY_ADDRESS:"REATTEMPT_VERIFY_ADDRESS",REATTEMPT_PROVIDE_SOURCE_OF_FUNDS:"REATTEMPT_PROVIDE_SOURCE_OF_FUNDS",REATTEMPT_VERIFY_BIOMETRIC_IDENTITY:"REATTEMPT_VERIFY_BIOMETRIC_IDENTITY",REATTEMPT_CONFIRM_ACCREDITATION:"REATTEMPT_CONFIRM_ACCREDITATION"},b={COMPLETE:"COMPLETE",INCOMPLETE:"INCOMPLETE"},p=o().oneOf(Object.values(b));Object.entries({RATE_0:"0%",RATE_1050:"10.5%",RATE_1750:"17.5%",RATE_2800:"28%"}).map(t=>{let[e,i]=t;return{label:i,value:e}}),o().oneOf(Object.values({RATE_0:"RATE_0",RATE_1050:"RATE_1050",RATE_1750:"RATE_1750",RATE_2800:"RATE_2800"}));let h="/notifications",E={[l.VerifyAddressNotification]:"verify-address",[l.AddInvestingEntityNotification]:"add-investing-entity",[l.ProvideSourceOfFundsNotification]:"provide-source-of-funds",[l.VerifyIdentityNotification]:"verify-identity",[l.VerifyBiometricIdentityNotification]:"verify-identity",[l.ConfirmEmailAddressNotification]:"confirm-email-address",[l.ProvideBeneficialOwnerContactDetailsNotification]:"provide-beneficial-owner-contact-details",[l.ProvideCityOfBirthNotification]:"provide-city-of-birth",[l.ProvideInvestingEntityDocumentsNotification]:"provide-investing-entity-documents",[l.ReattemptVerifyBiometricIdentityNotification]:"reattempt-verify-identity",[l.ReattemptVerifyAddressNotification]:"reattempt-verify-address",[l.ReattemptProvideSourceOfFundsNotification]:"reattempt-provide-source-of-funds",[l.AddBankAccountNotification]:"add-bank-account",[l.VerifyNZDBankAccountNotification]:"verify-bank-account-nzd",[l.VerifyAUDBankAccountNotification]:"verify-bank-account-aud",[l.VerifyEURBankAccountNotification]:"verify-bank-account-eur",[l.VerifyGBPBankAccountNotification]:"verify-bank-account-gbp",[l.VerifyUSDBankAccountNotification]:"verify-bank-account-usd",[l.RenewAustralianAccreditationNotification]:"renew-accreditation-au",[l.RenewNewZealandAccreditationNotification]:"renew-accreditation-nz",[l.RenewAccreditationNotification]:"renew-accreditation",[l.ConfirmAustralianAccreditationNotification]:"confirm-accreditation-au",[l.ConfirmNewZealandAccreditationNotification]:"confirm-accreditation-nz",[l.ConfirmAccreditationNotification]:"confirm-accreditation",[l.ReattemptConfirmAccreditationNotification]:"reattempt-accreditation",[l.ConfirmUnsupportedCountryAccreditationNotification]:"confirm-accreditation"},R={[l.VerifyAddressNotification]:"".concat(h,"/").concat(E.VerifyAddressNotification),[l.AddInvestingEntityNotification]:"".concat(h,"/").concat(E.AddInvestingEntityNotification),[l.ProvideSourceOfFundsNotification]:"".concat(h,"/").concat(E.ProvideSourceOfFundsNotification),[l.VerifyIdentityNotification]:"".concat(h,"/").concat(E.VerifyIdentityNotification),[l.VerifyBiometricIdentityNotification]:"".concat(h,"/").concat(E.VerifyBiometricIdentityNotification),[l.ConfirmEmailAddressNotification]:"".concat(h,"/").concat(E.ConfirmEmailAddressNotification),[l.ProvideBeneficialOwnerContactDetailsNotification]:"".concat(h,"/").concat(E.ProvideBeneficialOwnerContactDetailsNotification),[l.ProvideCityOfBirthNotification]:"".concat(h,"/").concat(E.ProvideCityOfBirthNotification),[l.ProvideInvestingEntityDocumentsNotification]:"".concat(h,"/").concat(E.ProvideInvestingEntityDocumentsNotification),[l.ReattemptVerifyBiometricIdentityNotification]:"".concat(h,"/").concat(E.ReattemptVerifyBiometricIdentityNotification),[l.ReattemptVerifyAddressNotification]:"".concat(h,"/").concat(E.ReattemptVerifyAddressNotification),[l.ReattemptProvideSourceOfFundsNotification]:"".concat(h,"/").concat(E.ReattemptProvideSourceOfFundsNotification),[l.AddBankAccountNotification]:"".concat(h,"/").concat(E.AddBankAccountNotification),[l.VerifyNZDBankAccountNotification]:"".concat(h,"/").concat(E.VerifyNZDBankAccountNotification),[l.VerifyAUDBankAccountNotification]:"".concat(h,"/").concat(E.VerifyAUDBankAccountNotification),[l.VerifyEURBankAccountNotification]:"".concat(h,"/").concat(E.VerifyEURBankAccountNotification),[l.VerifyGBPBankAccountNotification]:"".concat(h,"/").concat(E.VerifyGBPBankAccountNotification),[l.VerifyUSDBankAccountNotification]:"".concat(h,"/").concat(E.VerifyUSDBankAccountNotification),[l.RenewAustralianAccreditationNotification]:"".concat(h,"/").concat(E.RenewAustralianAccreditationNotification),[l.RenewNewZealandAccreditationNotification]:"".concat(h,"/").concat(E.RenewNewZealandAccreditationNotification),[l.RenewAccreditationNotification]:"".concat(h,"/").concat(E.RenewAccreditationNotification),[l.ConfirmAustralianAccreditationNotification]:"".concat(h,"/").concat(E.ConfirmAustralianAccreditationNotification),[l.ConfirmNewZealandAccreditationNotification]:"".concat(h,"/").concat(E.ConfirmNewZealandAccreditationNotification),[l.ConfirmAccreditationNotification]:"".concat(h,"/").concat(E.ConfirmAccreditationNotification),[l.ReattemptConfirmAccreditationNotification]:"".concat(h,"/").concat(E.ReattemptConfirmAccreditationNotification),[l.ConfirmUnsupportedCountryAccreditationNotification]:"".concat(h,"/").concat(E.ConfirmAccreditationNotification)};var x=i(37822)},37822:function(t,e,i){"use strict";i.d(e,{Gk:function(){return s},NG:function(){return a}});var n=i(64690),o=i.n(n),r=i(24024);let a={BUSINESS_INCOME:"BUSINESS_INCOME",GIFTS:"GIFTS",INHERITANCES:"INHERITANCES",LOAN_DRAWDOWN:"LOAN_DRAWDOWN",RENTAL_INCOME:"RENTAL_INCOME",SALARY_AND_WAGES:"SALARY_AND_WAGES",SALE_OF_PROPERTY:"SALE_OF_PROPERTY",SALE_OF_SHARES:"SALE_OF_SHARES"},c={[a.BUSINESS_INCOME]:"Business income",[a.GIFTS]:"Gifts",[a.INHERITANCES]:"Inheritances",[a.LOAN_DRAWDOWN]:"Loan drawdown",[a.RENTAL_INCOME]:"Rental income",[a.SALARY_AND_WAGES]:"Salary and wages",[a.SALE_OF_PROPERTY]:"Sale of property",[a.SALE_OF_SHARES]:"Sale of shares"},s=r.qCK(r.UID(t=>{let[e,i]=t;return{label:i,value:e}}),r.Zpf)(c);o().oneOf(Object.values(a))},15807:function(t,e,i){"use strict";i.d(e,{default:function(){return o.a}});var n=i(30017),o=i.n(n)},30017:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});let n=i(19586);i(26087),i(43521);let o=n._(i(87192));function r(t,e){var i;let n={loading:t=>{let{error:e,isLoading:i,pastDelay:n}=t;return null}};"function"==typeof t&&(n.loader=t);let r={...n,...e};return(0,o.default)({...r,modules:null==(i=r.loadableGenerated)?void 0:i.modules})}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},67992:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BailoutToCSR",{enumerable:!0,get:function(){return o}});let n=i(12549);function o(t){let{reason:e,children:i}=t;if("undefined"==typeof window)throw new n.BailoutToCSRError(e);return i}},87192:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return l}});let n=i(26087),o=i(43521),r=i(67992),a=i(14036);function c(t){return{default:t&&"default"in t?t.default:t}}let s={loader:()=>Promise.resolve(c(()=>null)),loading:null,ssr:!0},l=function(t){let e={...s,...t},i=(0,o.lazy)(()=>e.loader().then(c)),l=e.loading;function d(t){let c=l?(0,n.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,s=e.ssr?(0,n.jsxs)(n.Fragment,{children:["undefined"==typeof window?(0,n.jsx)(a.PreloadCss,{moduleIds:e.modules}):null,(0,n.jsx)(i,{...t})]}):(0,n.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(i,{...t})});return(0,n.jsx)(o.Suspense,{fallback:c,children:s})}return d.displayName="LoadableComponent",d}},14036:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PreloadCss",{enumerable:!0,get:function(){return r}});let n=i(26087),o=i(29934);function r(t){let{moduleIds:e}=t;if("undefined"!=typeof window)return null;let i=(0,o.getExpectedRequestStore)("next/dynamic css"),r=[];if(i.reactLoadableManifest&&e){let t=i.reactLoadableManifest;for(let i of e){if(!t[i])continue;let e=t[i].files.filter(t=>t.endsWith(".css"));r.push(...e)}}return 0===r.length?null:(0,n.jsx)(n.Fragment,{children:r.map(t=>(0,n.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:i.assetPrefix+"/_next/"+encodeURI(t),as:"style"},t))})}},20352:function(t,e,i){"use strict";i.d(e,{WC:function(){return d},yw:function(){return a},wX:function(){return r}});var n,o,r,a,c=i(26087);i(43521);var s=i(79187),l=t=>(0,c.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 40 40",fill:"none",...t,children:(0,c.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.919 25.205h4.54v-1.268c.122-2.218 2.068-3.843 3.973-5.626C27.257 16.569 29 14.746 29 11.933 29 8.09 26.284 5 20.486 5 15.054 5 11.284 8.249 11 13.438h4.703c.284-2.733 2.027-4.476 4.54-4.476 2.473 0 3.608 1.307 3.608 3.328 0 1.703-1.337 3.01-2.837 4.476-1.946 1.862-4.095 3.804-4.095 6.934v1.505zM19.149 34c1.783 0 3.243-1.347 3.243-3.05 0-1.744-1.46-3.09-3.243-3.09-1.825 0-3.325 1.346-3.325 3.09 0 1.703 1.5 3.05 3.325 3.05z",fill:"currentColor"})});(n=r||(r={})).Default="default",n.Light="light",n.Transparent="transparent",(o=a||(a={})).ExtraSmall="xs",o.Small="sm",o.Medium="md",o.Large="lg";let d=t=>{let{variant:e="default",size:i="sm",className:n}=t;return(0,c.jsx)("span",{className:(0,s.Z)("flex items-center justify-center rounded-full","light"===e&&["text-primary"],"default"===e&&["bg-neutral-500 text-white"],"transparent"===e&&["bg-neutral-700 bg-opacity-20 text-white"],"xs"===i&&["h-[12px] w-[12px] text-[10px]"],"sm"===i&&["h-[15px] w-[15px] text-[11px]"],"md"===i&&["h-[25px] w-[25px] text-[15px]"],"lg"===i&&["h-[35px] w-[35px] text-[25px]"],n),children:(0,c.jsx)(l,{className:"fill-current"})})}},40086:function(t,e,i){"use strict";i.d(e,{u:function(){return f}});var n=i(26087);i(43521);var o=i(29350),r=i(79187),a=i(95981),c=i(20352),s=i(10783);let l=t=>{let{content:e,variant:i,sideOffset:a,alignOffset:c,animated:l,side:d,contentStyles:u,children:f}=t;return(0,n.jsx)(o.zt,{children:(0,n.jsxs)(o.fC,{children:[(0,n.jsx)(o.xz,{asChild:!0,children:f}),(0,n.jsx)(o.h_,{children:(0,n.jsxs)(o.VY,{sideOffset:a,alignOffset:c,side:d,className:(0,r.Z)(u,l&&["radix-state-delayed-open:radix-side-top:animate-slide-down-fade","radix-state-delayed-open:radix-side-bottom:animate-slide-up-fade","radix-state-delayed-open:radix-side-left:animate-slide-right-fade","radix-state-delayed-open:radix-side-right:animate-slide-left-fade"]),children:[e,(0,n.jsx)(o.Eh,{className:(0,r.Z)(i===s.I.Default&&["fill-neutral-600"],i===s.I.Light&&["fill-white"])})]})})]})})};var d=i(12990);let u=t=>{let{content:e,variant:i,sideOffset:o,alignOffset:a,animated:c,side:l,children:u,contentStyles:f}=t;return(0,n.jsxs)(d.fC,{children:[(0,n.jsx)(d.xz,{children:u}),(0,n.jsx)(d.h_,{children:(0,n.jsxs)(d.VY,{sideOffset:o,alignOffset:a,side:l,className:(0,r.Z)(f,c&&["radix-state-open:radix-side-top:animate-slide-down-fade","radix-state-open:radix-side-bottom:animate-slide-up-fade","radix-state-open:radix-side-left:animate-slide-right-fade","radix-state-open:radix-side-right:animate-slide-left-fade"]),children:[e,(0,n.jsx)(d.Eh,{className:(0,r.Z)(i===s.I.Default&&["fill-neutral-600"],i===s.I.Light&&["fill-white"])})]})})]})},f=t=>{let{content:e,variant:i=s.I.Default,sideOffset:o=5,alignOffset:c=5,animated:d=!0,side:f="top",children:m}=t,N=(0,a.ac)("(hover: none)"),v=(0,r.Z)("z-tooltip text-body-sm rounded-md py-2 px-3 shadow-lg max-w-[310px]",i===s.I.Default&&["bg-neutral-600 text-white"],i===s.I.Light&&["text-neutral bg-white"]);return N?(0,n.jsx)(u,{content:e,variant:i,sideOffset:o,alignOffset:c,animated:d,side:f,contentStyles:v,children:m}):(0,n.jsx)(l,{content:e,variant:i,sideOffset:o,alignOffset:c,animated:d,side:f,contentStyles:v,children:m})};f.Provider=o.pn,f.QuestionMarkReference=c.WC},10783:function(t,e,i){"use strict";var n,o;i.d(e,{I:function(){return n}}),(o=n||(n={})).Default="default",o.Light="light"},99294:function(t,e,i){"use strict";i.d(e,{Wu:function(){return r},qE:function(){return a},zx:function(){return m}});var n,o,r,a,c=i(26087),s=i(43521),l=i(79187),d=i(97231);(n=r||(r={})).Primary="primary",n.Secondary="secondary",n.Tertiary="tertiary",n.Success="success",n.OutlinePrimary="outline-primary",n.OutlineSecondary="outline-secondary",n.OutlineNeutral="outline-neutral",n.OutlineMutedNeutral="outline-muted-neutral",n.InvertedPrimary="inverted-primary",n.InvertedSecondary="inverted-secondary",(o=a||(a={})).ExtraSmall="xs",o.Small="sm",o.Medium="md",o.Large="lg";let u={xs:16,sm:16,md:24,lg:24},f={primary:d.F.White,secondary:d.F.White,tertiary:d.F.White,success:d.F.White,"outline-primary":d.F.Primary,"outline-secondary":d.F.Primary,"outline-neutral":d.F.Primary,"outline-muted-neutral":d.F.Neutral,"inverted-primary":d.F.Primary,"inverted-secondary":d.F.White},m=(0,s.forwardRef)((t,e)=>{let{as:i,children:n,variant:o="primary",size:r="md",iconLeft:a,iconRight:m,isLoading:N=!1,isDisabled:v=!1,fullWidth:y=!1,groupHover:A=!1,condensed:b=!1,className:p,type:h="button",...E}=t,R=a||m,x=["transition-color duration-250","sm"===r&&"text-md mx-2","md"===r&&"text-2xl mx-4","lg"===r&&"text-3xl mx-5","primary"===o&&"text-blue-20 group-hover:text-white group-disabled:text-light-grey-80"];return(0,c.jsx)(null!=i?i:"button",{className:(0,l.Z)("group relative inline-flex items-center justify-center whitespace-nowrap rounded-md text-center font-bold outline-transparent duration-200 focus:outline focus:outline-1 disabled:cursor-not-allowed","group relative inline-flex items-center justify-center whitespace-nowrap rounded-md text-center font-bold outline-transparent duration-200 focus:outline focus:outline-1 disabled:cursor-not-allowed",y&&"w-full","xs"===r&&["text-[14px]","h-9","px-3","gap-1"],"sm"===r&&["text-[14px]","h-9",b?"px-3":["min-w-[108px]","px-5"]],"md"===r&&["text-[14px]","h-12",b?"px-3":["min-w-[150px]",R?"px-14":"px-7"]],"lg"===r&&["text-[18px]","h-16",b?"px-5":["min-w-[200px]",R?"px-20":"px-8"]],"primary"===o&&["bg-button-primary text-button-primary","hover:bg-button-primary-hover","active:bg-button-primary-active","disabled:text-button-primary-disabled disabled:bg-button-primary-disabled","focus:outline-button-primary",A&&"group-hover:bg-button-primary-hover"],"secondary"===o&&["bg-button-secondary text-button-secondary","hover:bg-button-secondary-hover","active:bg-button-secondary-active","disabled:bg-button-secondary-disabled disabled:text-button-secondary-disabled","focus:outline-button-secondary",A&&"group-hover:bg-button-secondary-hover"],"tertiary"===o&&["bg-button-tertiary text-button-tertiary","hover:bg-button-tertiary-hover","active:bg-button-tertiary-active","disabled:text-button-tertiary-disabled disabled:bg-button-tertiary-disabled","focus:outline-button-tertiary",A&&"group-hover:bg-button-tertiary-hover"],"success"===o&&["bg-button-success text-button-success","hover:bg-button-success-hover","active:bg-button-success-active","disabled:text-button-success-disabled disabled:bg-button-success-disabled","focus:outline-button-success",A&&"group-hover:bg-button-success-hover"],"outline-primary"===o&&["border-button-outline-primary border","text-button-outline-primary bg-transparent","active:bg-button-primary-active hover:bg-button-outline-primary-hover hover:text-button-outline-primary-hover","disabled:border-button-outline-primary-disabled disabled:text-button-outline-primary-disabled disabled:bg-button-outline-primary-disabled","focus:outline-button-outline-primary",A&&"group-hover:bg-button-outline-primary-hover group-hover:text-button-outline-primary-hover"],"outline-secondary"===o&&["border-button-outline-secondary border","text-button-outline-secondary bg-transparent","active:bg-button-outline-secondary-active hover:bg-button-outline-secondary-hover hover:text-button-outline-primary-hover","disabled:border-button-outline-secondary-disabled disabled:text-button-outline-secondary-disabled disabled:bg-button-outline-secondary-disabled","focus:outline-button-outline-secondary",A&&"group-hover:bg-button-outline-secondary-hover group-hover:text-button-outline-secondary-hover"],"outline-neutral"===o&&["border-button-outline-neutral border","text-button-outline-neutral bg-transparent","active:bg-button-outline-neutral-active hover:bg-button-outline-neutral-hover hover:text-button-outline-neutral-hover","disabled:border-button-outline-neutral-disabled disabled:text-button-outline-neutral-disabled disabled:bg-button-outline-neutral-disabled","focus:outline-button-outline-neutral",A&&"group-hover:bg-button-outline-neutral-hover group-hover:text-button-outline-neutral-hover"],"outline-muted-neutral"===o&&["border-button-outline-muted-neutral border","text-button-outline-muted-neutral bg-transparent","active:bg-button-outline-muted-neutral-active hover:bg-button-outline-muted-neutral-hover hover:text-button-outline-muted-neutral-hover","disabled:border-button-outline-muted-neutral-disabled disabled:text-button-outline-muted-neutral-disabled disabled:bg-button-outline-muted-neutral-disabled","focus:outline-button-outline-muted-neutral",A&&"group-hover:bg-button-outline-neutral-hover group-hover:text-button-outline-neutral-hover"],"inverted-primary"===o&&["bg-button-inverted-primary disabled:bg-button-inverted-primary-disabled hover:bg-button-inverted-primary-hover active:bg-button-inverted-primary-active focus:outline-button-inverted-primary","text-button-inverted-primary disabled:text-button-inverted-primary-disabled hover:text-button-inverted-primary-hover active:text-button-inverted-primary-active","border-button-inverted-primary disabled:border-button-inverted-primary-disabled hover:border-button-inverted-primary-hover active:border-button-inverted-primary-active border",A&&"group-hover:bg-button-inverted-primary-hover"],"inverted-secondary"===o&&["bg-button-inverted-secondary disabled:bg-button-inverted-secondary-disabled hover:bg-button-inverted-secondary-hover active:bg-button-inverted-secondary-active focus:outline-button-inverted-secondary","text-button-inverted-secondary disabled:text-button-inverted-secondary-disabled hover:text-button-inverted-secondary-hover active:text-button-inverted-secondary-active","border-button-inverted-secondary disabled:border-button-inverted-secondary-disabled hover:border-button-inverted-secondary-hover active:border-button-inverted-secondary-active border",A&&"group-hover:bg-button-inverted-secondary-hover"],p),disabled:v||N,ref:e,type:h,...E,children:N?(0,c.jsx)(d.$,{variant:f[o],size:u[r]}):(0,c.jsxs)(s.Fragment,{children:[a&&(0,c.jsx)("span",{className:(0,l.Z)("xs"!==r&&["absolute left-0"],x),children:a}),n,m&&(0,c.jsx)("span",{className:(0,l.Z)("xs"!==r&&["absolute right-0"],x),children:m})]})})})},21015:function(t,e,i){"use strict";i.d(e,{W:function(){return d}});var n=i(26087),o=i(43521),r=i(79187),a=i(40086),c=i(68174),s=i(81847),l=i(20352);let d=(0,o.forwardRef)((t,e)=>{let{children:i,as:d,id:u,className:f,label:m,hint:N,error:v,tooltip:y,description:A,hasError:b,disabled:p,name:h,isLoading:E=!1,...R}=t;return(0,n.jsxs)(null!=d?d:"div",{ref:e,className:(0,r.Z)("group flex flex-1 flex-col",f),...R,children:[(0,n.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,n.jsx)("label",{htmlFor:u,className:"text-label-default font-medium leading-snug",children:m}),(0,n.jsx)(c._,{to:s.Uo.MD,children:y&&(0,n.jsx)(a.u,{content:y,children:(0,n.jsx)(a.u.QuestionMarkReference,{})})})]}),(0,n.jsxs)("div",{className:"flex w-full flex-col",children:[A&&(0,n.jsx)("p",{className:"text-body-sm mb-2",children:A}),(0,n.jsxs)("div",{className:"flex w-full",children:[(0,n.jsx)("div",{className:(0,r.Z)("flex w-full flex-1 basis-full gap-4",E&&["cursor-progress [&>*]:!cursor-progress"]),children:o.Children.map(i,t=>o.isValidElement(t)&&"string"!=typeof t.type?o.cloneElement(t,{hasError:b,disabled:p,id:u,name:h}):t)}),(0,n.jsx)(c._,{from:s.Uo.MD,children:y&&(0,n.jsx)(a.u,{content:y,children:(0,n.jsx)("div",{className:"px-2",children:(0,n.jsx)(a.u.QuestionMarkReference,{size:l.yw.Medium})})})})]})]}),(0,n.jsx)("p",{className:(0,r.Z)("text-label-default md:text-label-sm mt-1 text-left !font-semibold leading-tight",v&&"text-form-field-error",!v&&N&&"text-form-field-hint"),children:b&&v||N||(0,n.jsx)(n.Fragment,{children:"\xa0"})})]})})},16521:function(t,e,i){"use strict";var n=i(26087);i(43521);var o=i(79187);e.Z=t=>{let{className:e,...i}=t;return(0,n.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 26 26",fill:"none",className:(0,o.Z)("text-danger",e),...i,children:[(0,n.jsx)("circle",{cx:13.104,cy:13.085,r:10.356,fill:"#fff"}),(0,n.jsx)("path",{d:"M13.104.585c-6.907 0-12.5 5.593-12.5 12.5 0 6.906 5.593 12.5 12.5 12.5 6.906 0 12.5-5.594 12.5-12.5 0-6.907-5.594-12.5-12.5-12.5zm4.906 15.927L16.54 17.98l-3.427-3.427-3.427 3.427-1.469-1.468 3.417-3.428-3.427-3.427L9.676 8.19l3.428 3.427 3.427-3.427 1.468 1.468-3.416 3.428 3.427 3.427z",fill:"currentColor"})]})}},33808:function(t,e,i){"use strict";var n=i(26087);i(43521);var o=i(79187);e.Z=t=>{let{className:e,...i}=t;return(0,n.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none",className:(0,o.Z)("fill-blue-400",e),...i,children:(0,n.jsx)("path",{d:"M22.43 18.74c1.31-1.92 2.07-4.24 2.07-6.74 0-6.63-5.37-12-12-12S.5 5.37.5 12s5.37 12 12 12c2.5 0 4.82-.77 6.74-2.07l4.19 1.65a.5.5 0 0 0 .65-.65l-1.65-4.19zm-8.85-1.68h-2.17v-5.79h2.17v5.79zm0-7.96h-2.17V6.94h2.17V9.1z"})})}},97943:function(t,e,i){"use strict";var n=i(26087);i(43521);var o=i(79187);e.Z=t=>{let{className:e,...i}=t;return(0,n.jsxs)("svg",{width:"1em",height:"1em",viewBox:"0 0 26 26",fill:"none",className:(0,o.Z)("text-success",e),...i,children:[(0,n.jsx)("circle",{cx:13.083,cy:13.085,r:12.5,fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.752 14.906l5.85-6.701 1.62 1.414-7.286 8.345-4.99-4.491 1.437-1.598 3.369 3.031z",fill:"#FFFFFF"})]})}},73969:function(t,e,i){"use strict";var n=i(26087);i(43521),e.Z=t=>(0,n.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 40 40",fill:"none",...t,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.464 23.438l-10.18 10.18-2.97-2.97 10.18-10.18L7.313 10.286l2.97-2.97 10.181 10.182L30.647 7.315l2.97 2.97-10.183 10.183L33.616 30.65l-2.97 2.97-10.182-10.182z",fill:"currentColor"})})},34271:function(t,e,i){"use strict";i.d(e,{A:function(){return m},I:function(){return f}});var n=i(26087);i(43521);var o=i(31463);i(97269);var r=i(73969),a=i(33808),c=i(97943),s=i(32647),l=i(16521);let d=()=>(0,n.jsx)("span",{className:"text-xl text-neutral-500 hover:text-neutral-600",children:(0,n.jsx)(r.Z,{})}),u=t=>{let{type:e}=t;return(0,n.jsx)("span",{className:"text-2xl",children:{info:(0,n.jsx)(a.Z,{}),success:(0,n.jsx)(c.Z,{}),warning:(0,n.jsx)(s.Z,{}),error:(0,n.jsx)(l.Z,{}),default:null}[e]})},f=t=>(0,n.jsx)(o.Ix,{toastClassName:"bg-white flex gap-3 w-fit mx-auto items-center pointer-events-auto text-neutral-900 py-3 px-5 rounded-none md:rounded-md shadow-lg text-body-default",bodyClassName:"flex gap-3 items-center",closeButton:(0,n.jsx)(d,{}),icon:t=>(0,n.jsx)(u,{...t}),hideProgressBar:!0,...t}),m={success:o.Am.success,info:o.Am.info,warning:o.Am.warning,error:o.Am.error,dismiss:o.Am.dismiss,update:o.Am.update}},97231:function(t,e,i){"use strict";i.d(e,{$:function(){return c},F:function(){return o}});var n,o,r=i(26087);i(43521);var a=i(79187);(n=o||(o={})).Primary="primary",n.White="white",n.Neutral="neutral";let c=t=>{let{variant:e="primary",size:i=40,className:n,...o}=t;return(0,r.jsx)("span",{style:{width:"".concat(i,"px"),height:"".concat(i,"px"),borderWidth:"".concat(i/10,"px")},className:(0,a.Z)("primary"===e&&"border-l-primary border-t-primary","white"===e&&"border-l-white border-t-white","neutral"===e&&"border-t-neutral-600 border-l-neutral-600","inline-flex animate-spin rounded-full border-[4px] border-r-transparent border-b-transparent",n),...o})}},68174:function(t,e,i){"use strict";i.d(e,{_:function(){return c}});var n=i(26087),o=i(43521),r=i(95981),a=i(81847);let c=t=>{let{children:e,from:i,to:c}=t,s=function(t){let{from:e,to:i}=t;return i&&!e?"(min-width: ".concat(a.AV[i],")"):e&&!i?"(max-width: calc(".concat(a.AV[e]," - 1px))"):e&&i?"(min-width: ".concat(a.AV[e],") and (max-width: ").concat(a.AV[i],")"):""}({from:i,to:c});return(0,r.ac)(s)?(0,n.jsx)(o.Fragment,{children:e}):null}},81847:function(t,e,i){"use strict";i.d(e,{AV:function(){return a},Uo:function(){return o},mO:function(){return s}});var n,o,r=i(95981);(n=o||(o={})).XS="xs",n.SM="sm",n.MD="md",n.LG="lg",n.XL="xl";let a={xs:"0em",sm:"22.5em",md:"37.5em",lg:"60em",xl:"85.375em"},c=t=>16*parseFloat(t.replace("em",""));function s(t){return function t(e,i){return e in i?i[e]:t(function(t){switch(t){case"xl":return"lg";case"lg":return"md";case"md":return"sm";default:return"xs"}}(e),i)}(function(){let{width:t}=(0,r.iP)(),e="xs";return t>c(a.sm)&&(e="sm"),t>c(a.md)&&(e="md"),t>c(a.lg)&&(e="lg"),t>c(a.xl)&&(e="xl"),e}(),t)}},37791:function(t,e,i){"use strict";i.d(e,{d:function(){return u},f:function(){return d}});var n=i(43521),o=i(66467),r=i(46222),a=i(62884),c=i(85708),s=i(87527);let l=(0,n.createContext)(null);function d(){let[t,e]=(0,n.useState)([]);return[t.length>0?t.join(" "):void 0,(0,n.useMemo)(()=>function(t){let i=(0,o.z)(t=>(e(e=>[...e,t]),()=>e(e=>{let i=e.slice(),n=i.indexOf(t);return -1!==n&&i.splice(n,1),i}))),r=(0,n.useMemo)(()=>({register:i,slot:t.slot,name:t.name,props:t.props}),[i,t.slot,t.name,t.props]);return n.createElement(l.Provider,{value:r},t.children)},[e])]}let u=Object.assign((0,s.yV)(function(t,e){let i=(0,r.M)(),{id:o="headlessui-description-".concat(i),...d}=t,u=function t(){let e=(0,n.useContext)(l);if(null===e){let e=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,t),e}return e}(),f=(0,c.T)(e);(0,a.e)(()=>u.register(o),[o,u.register]);let m={ref:f,...u.props,id:o};return(0,s.sY)({ourProps:m,theirProps:d,slot:u.slot||{},defaultTag:"p",name:u.name||"Description"})}),{})},75528:function(t,e,i){"use strict";i.d(e,{_:function(){return u},b:function(){return d}});var n=i(43521),o=i(66467),r=i(46222),a=i(62884),c=i(85708),s=i(87527);let l=(0,n.createContext)(null);function d(){let[t,e]=(0,n.useState)([]);return[t.length>0?t.join(" "):void 0,(0,n.useMemo)(()=>function(t){let i=(0,o.z)(t=>(e(e=>[...e,t]),()=>e(e=>{let i=e.slice(),n=i.indexOf(t);return -1!==n&&i.splice(n,1),i}))),r=(0,n.useMemo)(()=>({register:i,slot:t.slot,name:t.name,props:t.props}),[i,t.slot,t.name,t.props]);return n.createElement(l.Provider,{value:r},t.children)},[e])]}let u=Object.assign((0,s.yV)(function(t,e){let i=(0,r.M)(),{id:o="headlessui-label-".concat(i),passive:d=!1,...u}=t,f=function t(){let e=(0,n.useContext)(l);if(null===e){let e=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,t),e}return e}(),m=(0,c.T)(e);(0,a.e)(()=>f.register(o),[o,f.register]);let N={ref:m,...f.props,id:o};return d&&("onClick"in N&&(delete N.htmlFor,delete N.onClick),"onClick"in u&&delete u.onClick),(0,s.sY)({ourProps:N,theirProps:u,slot:f.slot||{},defaultTag:"label",name:f.name||"Label"})}),{})},99064:function(t,e,i){"use strict";i.d(e,{r:function(){return p}});var n=i(43521),o=i(27108),r=i(43826),a=i(66467),c=i(46222),s=i(26298),l=i(85708),d=i(74048),u=i(11191),f=i(24175),m=i(87527),N=i(37791),v=i(20068),y=i(75528);let A=(0,n.createContext)(null);A.displayName="GroupContext";let b=n.Fragment,p=Object.assign((0,m.yV)(function(t,e){var i;let N=(0,c.M)(),{id:y="headlessui-switch-".concat(N),checked:b,defaultChecked:p=!1,onChange:h,disabled:E=!1,name:R,value:x,form:_,...T}=t,g=(0,n.useContext)(A),I=(0,n.useRef)(null),O=(0,l.T)(I,e,null===g?null:g.setSwitch),[C,w]=(0,o.q)(b,h,p),P=(0,a.z)(()=>null==w?void 0:w(!C)),D=(0,a.z)(t=>{if((0,u.P)(t.currentTarget))return t.preventDefault();t.preventDefault(),P()}),S=(0,a.z)(t=>{t.key===v.R.Space?(t.preventDefault(),P()):t.key===v.R.Enter&&(0,f.g)(t.currentTarget)}),B=(0,a.z)(t=>t.preventDefault()),j=(0,n.useMemo)(()=>({checked:C}),[C]),F={id:y,ref:O,role:"switch",type:(0,s.f)(t,I),tabIndex:-1===t.tabIndex?0:null!=(i=t.tabIndex)?i:0,"aria-checked":C,"aria-labelledby":null==g?void 0:g.labelledby,"aria-describedby":null==g?void 0:g.describedby,disabled:E,onClick:D,onKeyUp:S,onKeyPress:B},V=(0,r.G)();return(0,n.useEffect)(()=>{var t;let e=null==(t=I.current)?void 0:t.closest("form");e&&void 0!==p&&V.addEventListener(e,"reset",()=>{w(p)})},[I,w]),n.createElement(n.Fragment,null,null!=R&&C&&n.createElement(d._,{features:d.A.Hidden,...(0,m.oA)({as:"input",type:"checkbox",hidden:!0,readOnly:!0,disabled:E,form:_,checked:C,name:R,value:x})}),(0,m.sY)({ourProps:F,theirProps:T,slot:j,defaultTag:"button",name:"Switch"}))}),{Group:function(t){var e;let[i,o]=(0,n.useState)(null),[r,a]=(0,y.b)(),[c,s]=(0,N.f)(),l=(0,n.useMemo)(()=>({switch:i,setSwitch:o,labelledby:r,describedby:c}),[i,o,r,c]);return n.createElement(s,{name:"Switch.Description"},n.createElement(a,{name:"Switch.Label",props:{htmlFor:null==(e=l.switch)?void 0:e.id,onClick(t){i&&("LABEL"===t.currentTarget.tagName&&t.preventDefault(),i.click(),i.focus({preventScroll:!0}))}}},n.createElement(A.Provider,{value:l},(0,m.sY)({ourProps:{},theirProps:t,defaultTag:b,name:"Switch.Group"}))))},Label:y._,Description:N.d})}}]);
//# sourceMappingURL=5345-b01f56a32640ac2c.js.map