PageSourceSearch

https://shop.kunstsammlung.de/de/370.49f311206be91337.js

js kunstsammlung.de collected 2026-10-02 06:43:33 UTC 5,794 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkce_shop=self.webpackChunkce_shop||[]).push([[370],{10370:(M,f,i)=>{i.r(f),i.d(f,{SixSaferpayModule:()=>v});var S=i(50011),c=i(30325),s=i(69808),d=i(85368),_=i(99234),A=i(86491),t=i(5e3),m=i(85899),P=i(47423),b=i(66816);function C(a,n){if(1&a&&t._UZ(0,"mat-progress-bar",7),2&a){const e=t.oxw();t.Q6J("value",e.progressValue)}}function g(a,n){1&a&&(t.TgZ(0,"p",8),t.SDv(1,9),t.qZA())}function T(a,n){1&a&&(t.TgZ(0,"p"),t.SDv(1,10),t.qZA())}function E(a,n){if(1&a&&(t.ynx(0),t._uU(1),t.BQk()),2&a){const e=t.oxw();t.xp6(1),t.Oqu(e.submitText)}}const O=[{path:":method",component:(()=>{class a{constructor(e,o,r,p,y,l){this.paymentIntentCreate=e,this.methodsService=o,this.route=r,this.router=p,this.document=y,this.cd=l,this.submitLoading=!1,this.saferpayOnly=!1,this.progressValue=0,this.submitTexts={REDIRECT:$localize`:@@button-pay-saferpay-redirect:Pay`,ACCOUNTTOACCOUNT:$localize`:@@button-pay-saferpay-accounttoaccount:Pay with bank transfer`,ALIPAY:$localize`:@@button-pay-saferpay-alipay:Pay with Alipay`,AMEX:$localize`:@@button-pay-saferpay-amex:Pay with Amex`,BANCONTACT:$localize`:@@button-pay-saferpay-bancontact:Pay with Bancontact`,BONUS:$localize`:@@button-pay-saferpay-bonus:Pay with bonus`,DINERS:$localize`:@@button-pay-saferpay-diners:Pay with dinerrs`,DIRECTDEBIT:$localize`:@@button-pay-saferpay-directdebit:Pay with directdebit`,EPRZELEWY:$localize`:@@button-pay-saferpay-eprzelewy:Pay with eprzelewy`,EPS:$localize`:@@button-pay-saferpay-eps:Pay with eps`,IDEAL:$localize`:@@button-pay-saferpay-ideal-:Pay with ideal`,INVOICE:$localize`:@@button-pay-saferpay-invoice:Pay with invoice`,JCB:$localize`:@@button-pay-saferpay-jcb:Pay with jcb`,KLARNA:$localize`:@@button-pay-saferpay-klarna:Pay with klarna`,MAESTRO:$localize`:@@button-pay-saferpay-maestro:Pay with maestro`,MASTERCARD:$localize`:@@button-pay-saferpay-mastercard:Pay with mastercard`,MYONE:$localize`:@@button-pay-saferpay-myone:Pay with myone`,PAYPAL:$localize`:@@button-pay-saferpay-paypal:Pay with paypal`,PAYDIREKT:$localize`:@@button-pay-saferpay-paydirekt:Pay with paydirekt`,POSTCARD:$localize`:@@button-pay-saferpay-postcard:Pay with postcard`,POSTFINANCE:$localize`:@@button-pay-saferpay-postfinance:Pay with postfinance`,TWINT:$localize`:@@button-pay-saferpay-twint:Pay with twint`,UNIONPAY:$localize`:@@button-pay-saferpay-unionpay:Pay with unionpay`,VISA:$localize`:@@button-pay-saferpay-visa:Pay with visa`,WERO:$localize`:@@button-pay-saferpay-wero:Pay with Wero`,WLCRYPTOPAYMENTS:$localize`:@@button-pay-saferpay-wlcryptopayments:Pay with wlcryptopayments`,MASTERPASS:$localize`:@@button-pay-saferpay-masterpass:Pay with masterpass`,APPLEPAY:$localize`:@@button-pay-saferpay-applepay:Pay with apple pay`,GOOGLEPAY:$localize`:@@button-pay-saferpay-googlepay:Pay with google pay`}}ngOnInit(){this.route.paramMap.subscribe(e=>{this.submitText=this.submitTexts[e.get("method")],this.cd.markForCheck()}),this.methodsService.methods.subscribe(e=>{e&&1===e.length&&(this.saferpayOnly=!0,this.intervalRef=setInterval(()=>{this.progressValue+=1,this.cd.markForCheck()},30),this.timeoutRef=setTimeout(()=>{this.pay()},3e3),this.cd.markForCheck())})}pay(){clearTimeout(this.timeoutRef),clearInterval(this.intervalRef),this.submitLoading=!0,this.cd.markForCheck();const e=this.route.parent.parent.snapshot.paramMap.get("token")||this.route.parent.parent.parent.snapshot.paramMap.get("token");this.paymentIntentCreate.mutate({input:{invoiceToken:e,paymentProvider:d.CsH.SixSaferpay,paymentMethod:this.route.snapshot.paramMap.get("method")}}).subscribe(o=>{var r,p,y,l,u;if(null===(p=null===(r=o.data)||void 0===r?void 0:r.paymentIntentCreate)||void 0===p?void 0:p.errors){const h=o.data.paymentIntentCreate.errors.find(I=>"invoiceId"===I.key);h?(0,_.WU)(h.messages[0],e,this.router):this.router.navigate([`/payments/${e}/failure`])}else this.submitLoading=!1,this.document&&(null===(u=null===(l=null===(y=o.data)||void 0===y?void 0:y.paymentIntentCreate)||void 0===l?void 0:l.payment)||void 0===u?void 0:u.redirectUrl)&&(this.document.location.href=o.data.paymentIntentCreate.payment.redirectUrl)})}}return a.\u0275fac=function(e){return new(e||a)(t.Y36(d.Rd_),t.Y36(A.O),t.Y36(c.gz),t.Y36(c.F0),t.Y36(s.K0,8),t.Y36(t.sBO))},a.\u0275cmp=t.Xpm({type:a,selectors:[["go-payments-six-saferpay"]],decls:7,vars:4,consts:function(){let n,e;return n=$localize`:Title for payment options
2        redirect@@title-payments-six-saferpay-desc-only␟d39c83bd30537548fa3aa00c55f1f733f221cb2d␟1583591554040114572: You will be automatically redirected to the payment provider after 3 seconds or you can click the button to go there now. `,e=$localize`:@@title-payments-six-saferpay-desc␟e4f3db1b172734c054a110e9d672b5323
267910ef␟3150697248848328237: After clicking the button you will be redirected to Saferpay to pay for your order. `,[["mode","determinate",3,"value",4,"ngIf"],[1,"text-center"],[3,"ngSwitch"],["style","margin: 30px 0",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["color","primary","mat-raised-button","",2,"width","auto",3,"click"],[4,"goLoader"],["mode","determinate",3,"value"],[2,"margin","30px 0"],n,e]},template:function(e,o){1&e&&(t.YNc(0,C,1,1,"mat-progress-bar",0),t.TgZ(1,"div",1),t.ynx(2,2),t.YNc(3,g,2,0,"p",3),t.YNc(4,T,2,0,"p",4),t.BQk(),t.TgZ(5,"button",5),t.NdJ("click",function(){return o.pay()}),t.YNc(6,E,2,1,"ng-container",6),t.qZA()()),2&e&&(t.Q6J("ngIf",o.saferpayOnly),t.xp6(2),t.Q6J("ngSwitch",o.saferpayOnly),t.xp6(1),t.Q6J("ngSwitchCase",!0),t.xp6(3),t.Q6J("goLoader",o.submitLoading))},directives:[s.O5,m.pW,s.RF,s.n9,s.ED,P.lW,b.j],encapsulation:2,changeDetection:0}),a})()}];let v=(()=>{class a{}return a.\u0275fac=function(e){return new(e||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[[S.wV,c.Bz.forChild(O),m.Cv]]}),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.