{"version":3,"sources":["webpack:///./src/features/customers/quotes/life/ChildBenefitTypes.ts","webpack:///./src/features/customers/quotes/life/NonChildBenefitModel.ts","webpack:///./src/features/customers/quotes/life/CustomerBenefitsModel.ts","webpack:///./src/features/customers/quotes/life/QuoteModel.ts","webpack:///./src/features/customers/quotes/life/CurrentQuote.ts","webpack:///./src/features/customers/quotes/life/benefitDisplayer/benefitDisplayer.ts","webpack:///./src/features/customers/quotes/life/benefitDisplayer/benefitDisplayer.html","webpack:///./src/features/customers/quotes/life/benefitDisplayer/benefitDisplayer.scss","webpack:///./src/features/customers/quotes/life/childBenefitDisplayer/childBenefitDisplayer.ts","webpack:///./src/features/customers/quotes/life/childBenefitDisplayer/childBenefitDisplayer.html","webpack:///./src/features/customers/quotes/life/childBenefitDisplayer/childBenefitDisplayer.scss","webpack:///./src/features/customers/quotes/life/coverage.ts","webpack:///./src/features/customers/quotes/life/coverage.html","webpack:///./src/features/customers/quotes/life/coverage.scss"],"names":["ChildBenefits","super","b","Object","create","getOwnPropertyDescriptors","this","benefits","recommendedCoveragePremium","validationError","every","ssn","childSSN","isValid","getPersonAge","hasDuplicates","matchesFormat","isSelected","map","ssnList","getChildSSNs","some","item","idx","indexOf","NonChildBenefit","CustomerBenefits","customerBenefits","created","nonChildBenefits","createFromReadModel","childBenefits","cb","length","Quote","quote","getRequestCommand","commandCoordinator","_getRequestCommand","_commandCoordinator","requestOfferCommand","_instantiateRequestOfferCommand","command","handle","coverage","customer","coverageAmount","amount","coverageCurrency","currency","forCustomer","basedOn","id","offerId","toString","RequestOfferForBenefits","CommandCoordinator","BenefitDisplayer","collapsible","module","exports","___CSS_LOADER_API_SOURCEMAP_IMPORT___","___CSS_LOADER_EXPORT___","___CSS_LOADER_API_IMPORT___","push","i","ChildBenefitDisplayer","numberOfChildren","childSSNs","Coverage","_currentQuote","_router","_httpClient","_signingApi","_i18n","quoteExists","totalPremiumAmount","existingBenefits","showModal","calcPremiumExisting","reduce","totalPremium","childBenefit","premium","nonChildBenefitsByType","filter","benefit","benefitType","type","nonChild","calcPremiumAddedOrChanged","total","ecomUrl","privacyUrl","modalOptions","title","tr","paragraphs","okLabel","cancelLabel","commandInProgress","buildBenefitsDisplayerProps","find","existing","added","forEach","totalCoverage","turnedIntoOfferId","empty","commandResult","requestOffer","success","navigateToRoute","quoteId","waitForDocumentAndRedirectToSigning","retry","next","documentExists","retryCount","response","fetch","ok","json","Promise","f","setTimeout","signingUrl","getSigningUrl","window","location","href","existingBenefit","recommendation","recommendedCoverage"],"mappings":"+OAKO,MAAM,UAA0BA,EAAA,EAIrC,cACEC,QAJF,2BAA2BC,GACzB,OAAOC,OAAOC,OAAO,IAAI,EAAqBD,OAAOE,0BAA0BH,IASjF,0BACE,OAAOI,KAAKC,SAAS,GAAGC,2BAG1B,WAEE,OADAF,KAAKG,gBAAkB,GAChBH,KAAKC,SAASG,MAAOR,IAC1B,MAAMS,EAAM,IAAI,IAAoCT,EAAEU,UACtD,OAAID,EAAIE,QAEFF,EAAIG,eAAiB,IACvBR,KAAKG,gBAAkB,UAChB,GAUPH,KAAKS,iBACPT,KAAKG,gBAAkB,gBAChB,GAGFP,EAAEU,SAbGD,EAAIK,iBAIdV,KAAKG,gBAAkB,iBAChB,IAJPH,KAAKG,gBAAkB,iBAChB,KAeb,SACEH,KAAKW,YAAa,EAGpB,WACEX,KAAKW,YAAa,EAGpB,eACE,OAAOX,KAAKC,SAASW,IAAKhB,GAAiCA,EAAEU,UAG/D,gBACE,MAAMO,EAAUb,KAAKc,eACrB,OAAOD,EAAQE,MAAK,SAAUC,EAAMC,GAClC,OAAOJ,EAAQK,QAAQF,KAAUC,M,gBC5DhC,MAAM,UAA6BE,EAAA,EACxC,2BAA2BvB,GACzB,OAAOC,OAAOC,OAAO,IAAI,EAAwBD,OAAOE,0BAA0BH,IAGpF,cACED,QAGF,SACEK,KAAKW,YAAa,EAGpB,WACEX,KAAKW,YAAa,GCXf,MAAM,UAA8BS,EAAA,EACzC,2BAA2BC,GACzB,M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