PageSourceSearch

https://testbook.com/angular-ssr/1854.1a29754175eb6366.js

js testbook.com collected 2026-10-01 10:34:41 UTC 3,034 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkangular_tb_ssr=self.webpackChunkangular_tb_ssr||[]).push([[1854],{61854:(M,y,o)=>{o.r(y),o.d(y,{PaymentInitiateModule:()=>Y});var g=o(36895),h=o(99724),a=o(63363),d=o(44258),m=o(82845),e=o(94650),f=o(19311),v=o(89653),P=o(73064),C=o(11481);const I=[{path:"",component:(()=>{class t{constructor(i,p,l,u,n){this.route=i,this.paymentService=p,this.store=l,this.platformService=u,this.domSanitizer=n,this.store.dispatch((0,a.xKy)()),this.store.dispatch((0,a.omg)()),this.store.dispatch((0,a.xcw)()),this.store.dispatch((0,a.mut)()),(0,d.sk)()||(this.platformService.hideLivePanel(),this.route.queryParams.subscribe(s=>{s&&Object.keys(s).length&&(this.productId=s.pid||"",this.coupon=s.coupon||"",this.plan=s.plan||"",this.paymentGateway=parseInt(s.pg)||0,this.ip=s.ip||"",this.appVersion=s.appVersion||"",this.fingerPrint=s.fingerPrint||"",(this.paymentGateway===m._F||this.paymentGateway===m.fY)&&this.initiatePayment({paymentGateway:this.paymentGateway,products:this.productId,coupon:this.coupon,plan:this.plan,appVersion:this.appVersion,fingerPrint:this.fingerPrint}))}))}ngOnInit(){}initiatePayment(i){this.paymentService.initiatePayment(i,{})}}return t.\u0275fac=function(i){return new(i||t)(e.Y36(h.gz),e.Y36(f.t),e.Y36(v.yh),e.Y36(P.m),e.Y36(C.H7))},t.\u0275cmp=e.Xpm({type:t,selectors:[["payment-initiate"]],decls:0,vars:0,template:function(i,p){}}),t})(),pathMatch:"full"},{path:"continue",component:(()=>{class t{constructor(i,p,l,u){if(this.store=i,this.route=p,this.paymentService=l,this.platformService=u,this.store.dispatch((0,a.xKy)()),this.store.dispatch((0,a.omg)()),this.store.dispatch((0,a.xcw)()),this.store.dispatch((0,a.mut)()),!(0,d.sk)()){(0,d.VO)("Loading"),this.platformService.hideLivePanel();try{let n=(0,d.$o)(m.Ac);n&&(this.simpl_transaction=JSON.parse(n))}catch(n){console.log(n)}this.route.queryParams.subscribe(n=>{var s;if(n&&Object.keys(n).length){this.status=n.status||"",this.order_id=n.order_id||"",this.transaction_id=n.transaction_id||"",this.error_code=n.error_code||"";let c={success:!1,order_id:"",transaction_id:"",error_code:""};"SUCCESS"==this.status?(c.success=!0,c.order_id=this.order_id,c.transaction_id=this.transaction_id):"FAILED"===this.status&&(c.success=!1,c.error_code=m.JJ[this.error_code]||m.JJ.OTHERS,c.order_id=this.order_id),this.simpl_transaction&&"web"===(null===(s=this.simpl_transaction)||void 0===s?void 0:s.platform)?this.paymentService.redirectToWeb(c,this.simpl_transaction):this.paymentService.redirectToApp(c)}})}}ngOnInit(){}}return t.\u0275fac=function(i){return new(i||t)(e.Y36(v.yh),e.Y36(h.gz),e.Y36(f.t),e.Y36(P.m))},t.\u0275cmp=e.Xpm({type:t,selectors:[["payment-continue"]],decls:0,vars:0,template:function(i,p){}}),t})()}];let S=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[h.Bz.forChild(I),h.Bz]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[S,g.ez,h.Bz]}),t})()}}]);

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.