PageSourceSearch

https://app.simpledcard.com/en/chunk-J6WGSFUE.js

js simpledcard.com collected 2026-09-25 03:22:59 UTC 8,447 bytes, 1 lines download raw bytes

1import{a as J}from"./chunk-CZTTPGFD.js";import{a as Z}from"./chunk-IEJVN6GL.js";import{a as K}from"./chunk-6NOVBDMN.js";import{j as Q,t as j,w as V}from"./chunk-3AO23ANH.js";import{$c as P,Ea as k,Hb as S,Jb as T,Ka as G,Nb as r,Ob as a,Pb as o,Qb as c,Td as H,Ub as F,Vb as X,Yc as q,Za as A,Zb as z,bb as d,bc as E,gc as B,ic as s,ke as I,le as W,ma as U,ob as w,ra as p,ya as Y,za as v}from"./chunk-XLW5BJ4Z.js";import"./chunk-K4EA4Q4T.js";var ee=(()=>{let n=class n{constructor(){this.http=p(H);}cancelPayment(i){return this.http.post("/idealPayments/cancel",{payload:i});}};n.ɵfac=function(_){return new(_||n)();},n.ɵprov=U({token:n,factory:n.ɵfac,providedIn:"root"});let e=n;return e;})();function ie(e,n){if(e&1&&c(0,"img",22),e&2){let t=s(3);r("src",t.storeBadgeSrc,A);}}function ae(e,n){if(e&1&&c(0,"img",23),e&2){let t=s(3);r("src",t.storeBadgeSrc,A);}}function oe(e,n){if(e&1&&(a(0,"h1",17),E(1,0),o(),a(2,"p",18),E(3,1),o(),a(4,"a",19),E(5,2),o(),a(6,"p",20),E(7,3),o(),a(8,"a",21),S(9,ie,1,1,"img",22)(10,ae,1,1,"img",23),o()),e&2){let t=s(2);d(4),r("href",t.pageUrl(),A),d(4),r("href",t.storeUrl,A),d(),T(t.isIos?9:10);}}function le(e,n){if(e&1){let t=z();a(0,"div",29)(1,"p",30),E(2,8),o(),a(3,"a",31),E(4,9),o(),a(5,"button",32),B("click",function(){Y(t);let _=s(3);return v(_.cancelPayment());}),c(6,"simpled-button-spinner",33),F(7),E(8,10),X(),o()();}if(e&2){let t=s(3);d(3),r("href",t.backUrl(),A),d(2),r("disabled",t.cancelling()),d(),r("loading",t.cancelling());}}function _e(e,n){if(e&1&&(a(0,"h1",17),E(1,4),o(),a(2,"p",18),E(3,5),o(),c(4,"qrcode",24),a(5,"div",25)(6,"a",19),E(7,6),o(),a(8,"p",20),E(9,7),o(),a(10,"div",26)(11,"a",21),c(12,"img",27),o(),a(13,"a",21),c(14,"img",28),o()()(),S(15,le,9,3,"div",29)),e&2){let t=s(2);d(4),r("qrdata",t.pageUrl())("width",256)("margin",2)("errorCorrectionLevel","M")("elementType","img"),d(2),r("href",t.pageUrl(),A),d(5),r("href",t.appStoreUrl,A),d(),r("src",t.appStoreBadgeSrc,A),d(),r("href",t.playStoreUrl,A),d(),r("src",t.playStoreBadgeSrc,A),d(),T(t.backUrl()?15:-1);}}function de(e,n){if(e&1&&S(0,oe,11,3)(1,_e,16,11),e&2){let t=s();T(t.isMobile?0:1);}}function re(e,n){e&1&&(a(0,"h1",17),E(1,11),o());}var te=(()=>{let n=class n{constructor(){this.destroyRef=p(k),this.route=p(Q),this.locale=p(q),this.deviceInfo=p(W),this.idealService=p(ee),this.toastr=p(Z),this.queryParams=V(this.route.queryParamMap,{initialValue:this.route.snapshot.queryParamMap}),this.payload=P(()=>this.queryParams().get("payload")??""),this.pageUrl=P(()=>{let i=new URL(window.location.pathname+window.location.search,I.productionAppUrl);return i.searchParams.set("payload",this.payload()),i.toString();}),this.backUrl=P(()=>{let i=this.payload();if(!i)return"";try{let _=new URL(i),g=_.searchParams.get("sig")??"",N=`${_.origin}${_.pathname}`;return`${I.ideal.paymentBaseUrl}/transactions/${encodeURIComponent(N)}?sig=${g}`;}catch(_){return"";}}),this.osType=this.deviceInfo.getDeviceInfo().osType,this.isIos=this.osType==="iOS",this.isAndroid=this.osType==="Android",this.isMobile=this.isIos||this.isAndroid,this.appStoreUrl=I.mobileAppStores.appStoreAppLink,this.playStoreUrl=I.mobileAppStores.playStoreAppLink,this.storeUrl=this.isIos?this.appStoreUrl:this.playStoreUrl,this.cancelling=G(!1),this.paymentGoneMessage="The payment could not be cancelled. It may already be completed or expired.",this.retryMessage="The payment could not be cancelled. Please try again.";}cancelPayment(){this.cancelling.set(!0),this.idealService.cancelPayment(this.payload()).pipe(j(this.destroyRef)).subscribe({next:i=>{if(!i?.redirectUrl){this.failCancellation(this.retryMessage);return;}window.location.href=i.redirectUrl;},error:i=>this.failCancellation(i.status===0?this.retryMessage:this.paymentGoneMessage)});}failCancellation(i){this.cancelling.set(!1),this.toastr.error(i);}get languageCode(){return this.locale.split("-")[0];}get storeBadgeSrc(){return this.isIos?this.appStoreBadgeSrc:this.playStoreBadgeSrc;}get appStoreBadgeSrc(){return`assets/images/mobile-app-stores/app-store_${this.languageCode}.svg`;}get playStoreBadgeSrc(){return`assets/images/mobile-app-stores/play-store_${this.languageCode}.png`;}};n.ɵfac=function(_){return new(_||n)();},n.ɵcmp=w({type:n,selectors:[["simpled-ideal-payment"]],decls:7,vars:1,consts:()=>{let i;i="iDEAL";let _;_="Download on the App Store";let g;g="Get it on Google Play";let N;N="Pay with iDEAL";let m;m="Continue in the SimpledCard app to complete the payment.";let C;C="Open the SimpledCard app";let M;M="Don't have the SimpledCard app yet?";let f;f="iDEAL payment QR code";let u;u="Download on the App Store";let L;L="Get it on Google Play";let h;h="Scan to pay with iDEAL";let y;y="Open the SimpledCard app and scan the QR code below to complete the payment.";let D;D="Open the SimpledCard app";let R;R="Don't have the SimpledCard app yet?";let b;b="Once you have finished the payment on your phone, tap the button below to return to the checkout.";let O;O="Back to checkout";let $;$="Cancel payment";let x;return x="Payment unavailable",[N,m,C,M,h,y,D,R,b,O,$,x,[1,"ideal-page","d-flex","flex-column","align-items-center"],[1,"ideal-header","d-flex","justify-content-center","align-items-center"],["src","assets/images/simpled-logo.png","alt","SimpledCard",1,"ideal-logo"],[1,"ideal-card","d-flex","flex-column","align-items-center"],["src","assets/images/iDeal.svg","alt",i,1,"ideal-logo-brand"],[1,"ideal-title"],[1,"ideal-subtitle"],[1,"ideal-open-button","simpled-button","simpled-button-block","primary",3,"href"],[1,"ideal-store-hint"],["target","_blank","rel","noopener noreferrer",1,"ideal-store-badge",3,"href"],["alt",_,3,"src"],["alt",g,3,"src"],["alt",f,1,"ideal-qr",3,"qrdata","width","margin","errorCorrectionLevel","elementType"],[1,"ideal-fallback"],[1,"ideal-store-badges","d-flex","flex-row","flex-wrap","justify-content-center","align-items-center"],["alt",u,3,"src"],["alt",L,3,"src"],[1,"ideal-back"],[1,"ideal-back-hint"],[1,"ideal-back-button","simpled-button","simpled-button-block","primary",3,"href"],["type","button","data-sc-test","ideal-cancel-payment-button",1,"ideal-cancel-button","simpled-button","simpled-button-block","secondary",3,"click","disabled"],["position","left",3,"loading"]];},template:function(_,g){_&1&&(a(0,"div",12)(1,"header",13),c(2,"img",14),o(),a(3,"main",15),c(4,"img",16),S(5,de,2,1)(6,re,2,0,"h1",17),o()()),_&2&&(d(5),T(g.payload()?5:6));},dependencies:[K,J],styles:["[_nghost-%COMP%]{display:block;min-height:100vh;background-color:#f5f7fa}.ideal-page[_ngcontent-%COMP%]{min-height:100vh;width:100%}.ideal-header[_ngcontent-%COMP%]{width:100%;padding:24px 16px;background-color:#009ada}.ideal-logo[_ngcontent-%COMP%]{height:32px;width:auto}.ideal-card[_ngcontent-%COMP%]{margin:32px 16px;padding:40px 32px;max-width:480px;width:calc(100% - 32px);background-color:#fff;border-radius:4px;text-align:center}.ideal-logo-brand[_ngcontent-%COMP%]{height:48px;width:auto;margin-bottom:24px}.ideal-title[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:600;color:#012842;margin-bottom:8px}.ideal-subtitle[_ngcontent-%COMP%]{font-size:1rem;color:#80858d;margin-bottom:24px}.ideal-qr[_ngcontent-%COMP%]{display:block;margin:0 auto}.ideal-qr[_ngcontent-%COMP%]     img, .ideal-qr[_ngcontent-%COMP%]     canvas{display:block;margin:0 auto}.ideal-open-button[_ngcontent-%COMP%]{margin-bottom:24px}.ideal-cancel-button[_ngcontent-%COMP%]{margin-top:12px}.ideal-store-hint[_ngcontent-%COMP%]{font-size:.875rem;color:#80858d;margin-bottom:12px}.ideal-store-badge[_ngcontent-%COMP%]{display:inline-block}.ideal-store-badge[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:48px;width:auto}.ideal-fallback[_ngcontent-%COMP%]{display:none;flex-direction:column;align-items:center;width:100%;margin-top:32px;padding-top:24px;border-top:1px solid #e5e9f1}.ideal-store-badges[_ngcontent-%COMP%]{gap:12px}.ideal-back[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;margin-top:32px;padding-top:24px;border-top:1px solid #e5e9f1}.ideal-back-hint[_ngcontent-%COMP%]{font-size:.875rem;color:#80858d;margin-bottom:16px}@media(max-width:575.98px){.ideal-fallback[_ngcontent-%COMP%]{display:flex}.ideal-qr[_ngcontent-%COMP%]     img, .ideal-qr[_ngcontent-%COMP%]     canvas{max-width:100%;height:auto}}"],changeDetection:0});let e=n;return e;})();var he=[{path:"",component:te}];export{he as idealRoutes};/**i18n:d30d1d6152f7e5cb4a625ba680bc589b8904d198f89aaa74169bbe9154e7fee3*/

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.