1"use strict";(self.webpackChunkDCP_Web=self.webpackChunkDCP_Web||[]).push([["libs_my-space_src_lib_components_health_payment_he-payment-failure_he-payment-failure_component_ts"],{92866:(h,o,a)=>{a.r(o),a.d(o,{HePaymentFailureComponent:()=>u});var s=a(98434),t=a(23214),i=a(92947),l=a(68018),c=a(29040),m=a(84541),p=a(29764),y=a(78478);let u=(()=>{class r{storage=(0,t.WQX)(m.sE);healthSmeService=(0,t.WQX)(y.f);translate=(0,t.WQX)(l.c$);datePipe=(0,t.WQX)(s.vh);router=(0,t.WQX)(i.Ix);languageService=(0,t.WQX)(c.g);storeData=(0,t.vPA)({});ngOnInit(){const e=this.storage.GetValue(this.healthSmeService.STORAGE_KEY)??{},n=e?.policy_details?.policy_effective_date??e?.policyStartDate??null,_=e?.policy_details?.policy_expiry_date??e?.policyEndDate??null;this.storeData.set({...e,productIcon:"health-icon-payment",paymentCurrency:"SAR",name:e?.name||"",paymentAmount:e?.TotalPremium||0,paymentFrom:this.datePipe.transform(n,"dd-MM-yyyy"),paymentTo:this.datePipe.transform(_,"dd-MM-yyyy"),refNumber:this.storage.GetValue("paymentRefNo")||e?.reference_number||"",policyId:e?.policy_details?.policy_id||"",policyNumber:e?.policy_details?.policy_number||"",policyName:this.translate.instant("MY_SPACE.COMMON.HEALTH_SME")})}navigateToTrack(){const e=this.storage.GetValue("edndorsmentFlow")||"upgrade-member";this.router.navigateByUrl(this.languageService.translateRoute(`/my-space/sme/health-payment/${e}`))}static \u0275fac=function(n){return new(n||r)};static \u0275cmp=t.VBU({type:r,selectors:[["art-health-payment-failure"]],features:[t.Jv_([s.vh])],decls:1,vars:1,consts:[[3,"clickAction","customerData"]],template:function(n,_){1&n&&(t.j41(0,"art-rm-payment-failure-page",0),t.bIt("clickAction",function(){return _.navigateToTrack()}),t.k0s()),2&n&&t.Y8G("customerData",_.storeData())},dependencies:[s.MD,l.h,p.G],encapsulation:2})}return r})()}}]);
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.