PageSourceSearch

https://www.colete-online.ro/chunk-QPIEZA3G.js

js colete-online.ro collected 2026-09-24 20:00:05 UTC 1,867 bytes, 1 lines download raw bytes

1import{a}from"./chunk-QTO5GLRE.js";import{a as g}from"./chunk-4NNR5J5O.js";import"./chunk-BYXBJQAS.js";import"./chunk-7PYU3A46.js";import{b as F}from"./chunk-WB43UHRF.js";import"./chunk-IZ4YHXTR.js";import"./chunk-VGZYRH5G.js";import{b as C}from"./chunk-KKTQX6AJ.js";import"./chunk-ADKLWNOB.js";import{E as P}from"./chunk-5MARSSKM.js";import{Bb as d,Hc as b,Qa as p,Wb as l,Yb as u,cc as f,dc as h,ec as y,la as s,lb as c,ub as n,wc as v,xc as w,ya as m,yc as I}from"./chunk-N53UFIN2.js";import"./chunk-2BLP5COT.js";function q(i,M){i&1&&(f(0,"div",1),b(1," Datele comenzii nu s-au gasit. Aceasta pagina se va inchide "),h())}var V=(()=>{class i{api;snapshot;platformId;destroyRef=s(m);paymentForm;uniqueId;constructor(e,t,o){this.api=e,this.snapshot=t,this.platformId=o}showError=!1;ngOnInit(){P(this.platformId)&&(this.uniqueId=this.snapshot.snapshot.params.uniqueId,(this.uniqueId===void 0||this.uniqueId===null)&&(this.showError=!0),this.api.get(`mobile/payment/data/${this.uniqueId}`).pipe(g(this.destroyRef)).subscribe({next:e=>{if(e.success)switch(e.data.provider){case"twispay":{this.paymentForm&&(this.paymentForm.patchValue(e.data.data),this.paymentForm.submitForm());break}case"euplatesccec":{window.location.href=e.data.data.redirectUrl;break}}else this.showError=!0,this.closePage()}}))}closePage(){setTimeout(()=>{self.close(),window.close(),window.location.href="mycustomscheme://"},2e3)}static \u0275fac=function(t){return new(t||i)(n(F),n(C),n(p))};static \u0275cmp=d({type:i,selectors:[["app-mobile-payment"]],viewQuery:function(t,o){if(t&1&&v(a,5),t&2){let r;w(r=I())&&(o.paymentForm=r.first)}},decls:3,vars:1,consts:[["paymentForm",""],[1,"mobile"]],template:function(t,o){t&1&&(y(0,"app-payment-form",null,0),l(2,q,2,0,"div",1)),t&2&&(c(2),u(o.showError?2:-1))},dependencies:[a],encapsulation:2})}return i})();export{V as MobilePaymentComponent};

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.