1import{a as y}from"./chunk-LHLGU6BT.js";import{c as m}from"./chunk-MXAEFWWQ.js";import"./chunk-VTYF72QI.js";import"./chunk-QYOXYNYI.js";import"./chunk-ETSUB54Q.js";import{p as c,q as s}from"./chunk-Y5XUMLYU.js";import"./chunk-4AKGQ77E.js";import"./chunk-ANKK2RUV.js";import"./chunk-OCQILO5J.js";import"./chunk-PFLGS2CT.js";import"./chunk-QZW3DERX.js";import{j as g}from"./chunk-QJ626CEL.js";import"./chunk-25BFBMXY.js";import"./chunk-NZYJSUMD.js";import{B as l,aa as a,j as p,o as u}from"./chunk-WEAHYYDT.js";import"./chunk-FDERIQAA.js";var T=i=>{let t=a(y),r=["TRANSFER_FREQUENCY","SOURCEOFINCOME","RESIDENCY","COUNTRY_OTHERS","INBRANCH_DOCUMENT_TYPE","PROVINCE_STATE","CITIZENSHIP"];return t.getDropDowns(r).pipe(u(o=>{let e={};return e.citizenship=t.getCitizenshipList(o),e.residency=t.getResidencyList(o),e.residency=e.residency.filter(n=>!!n.countryCode),e.residency=e.residency.concat(t.getOtherCountryList(o)),e.stateProvince=t.getStateAndProvinceNameList(o),e.transferFrequency=t.getTransferFrequencyList(o),e.sourceOfIncome=t.getSourceOfIncomeList(o),e.accountTypes=t.getAccountTypeList(),e.yesNo=t.getYesNoList(),e.days=t.getDaysList(),e.months=t.getMonthsList(),e.years=t.getYearsList(2),e.documentTypeList=o.documentTypeList,e}),l(()=>(a(g).navigate(["/error"]),p([]))))},F=i=>{var t={accountType:i.paramMap.get("accountType"),applicantTypes:i.paramMap.get("applicantTypes")};let r=a(m),o=[];var e=(t.applicantTypes||"").split("-");r.isJointAccount(t.accountType)&&(e=r.getJointApplicantTypes()),r.isRespJointSubscription()&&(e=[c.subscriber,c.coSubscriber]);for(let n of e){let d={applicantFilter:n,dataFilter:s.PERSONAL},R={applicantFilter:n},v={applicantFilter:n,dataFilter:s.REGULATORY},f={applicantFilter:n,dataFilter:s.FINANCE};o.push(d,R,v,f)}return r.getOnboardingInformation(o)},S=()=>"onboarding/your-details/more-personal-information",E=()=>"onboarding/your-details/review-application",q=[{path:"",loadComponent:()=>import("./chunk-A4XKYPKG.js").then(i=>i.AboutYourFinancesComponent),resolve:{dropDownItems:T,onboardingInformation:F,previousPage:S,reviewPage:E},data:{name:"onboarding.yourDetails.financialInformation",pageTitle:"pageTitle.onboarding.aboutYourFinances"}}];export{q as AboutYourFinancesRoutingModule};
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.