1import{a as s}from"./chunk-4UKK7RHX.js";import{s as l}from"./chunk-CTEVSRK4.js";import{Ca as n,X as o,ba as i,f as t,g as r}from"./chunk-XNPI5QDC.js";var c=class a{cookieService=i(s);palatFormId=i(n);activeGateway=null;localCartDetails=this.cookieService.get("cartDetails")?JSON.parse(this.cookieService.get("cartDetails")):{};getBrowserName(){let e=navigator.userAgent;return/chrome|crios|crmo/i.test(e)&&!/edge|edg/i.test(e)?"Chrome":/safari/i.test(e)&&!/chrome|crios|crmo/i.test(e)?"Safari":/firefox|fxios/i.test(e)?"Firefox":/edg/i.test(e)?"Edge":/opr\//i.test(e)?"Opera":"Other"}isMobileDevice(){let e=navigator.userAgent||navigator.vendor||window.opera;return/android|iphone|ipad|iPod/i.test(e)}isAppleDevice(){if(l(this.palatFormId)){let e=navigator.userAgent||navigator.vendor||window.opera;return/iphone|ipad|iPod/i.test(e)}else return!1}paymentConfirmationSource=new t;paymentConfirmation$=this.paymentConfirmationSource.asObservable();openPaymentConfirmation(e){this.paymentConfirmationSource.next(e)}verifySource=new t;verifyPayment$=this.verifySource.asObservable();onVerify(e){this.verifySource.next(e)}setActiveGateway(e){this.activeGateway=e}cardFormState$=new r({cardNumber:{value:"",valid:!1,error:null},cardHolder:{value:"",valid:!1,error:null},cardExpiry:{value:"",valid:!1,error:null},cardCvv:{value:"",valid:!1,error:null},isFormValid:!1});upiFormState$=new r({upiCollect:{value:"",valid:!1,error:null},upiApp:{value:"",valid:!1,error:null},upiQr:{value:"",valid:!1,error:null},isFormValid:!1});walletFormState$=new r({wallet:{value:"",valid:!1,error:null},isFormValid:!1});netbankingFormState$=new r({netbanking:{value:"",valid:!1,error:null},isFormValid:!1});static \u0275fac=function(m){return new(m||a)};static \u0275prov=o({token:a,factory:a.\u0275fac,providedIn:"root"})};export{c as a};
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.