PageSourceSearch

https://sbb.rs/account/1251-es2015.83a4161de8771ca7fa8b.js

js sbb.rs collected 2026-10-02 10:52:35 UTC 9,989 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunke_care=self.webpackChunke_care||[]).push([[1251],{96290:function(i,t,s){s.d(t,{i:function(){return n}});var e=s(37716);let n=(()=>{class i{transform(i){const t=new Intl.NumberFormat("de-DE",{minimumFractionDigits:2,maximumFractionDigits:2}).format(i);if("NaN"===t){i=i.replace(",",".");const t=parseFloat(i);return new Intl.NumberFormat("de-DE",{minimumFractionDigits:2,maximumFractionDigits:2}).format(t)}return t}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275pipe=e.Yjl({name:"formatPriceTwoFractionDigits",type:i,pure:!0}),i})()},71251:function(i,t,s){s.r(t),s.d(t,{SpasilicaModule:function(){return _}});var e=s(38583),n=s(56983),a=s(41075),o=s(4267),c=s(16323),r=s(3172),l=s(2554),d=s(25885),g=s(37716),p=s(26684),u=s(8481),f=s(34541),m=s(22238),h=s(12008),A=s(4885),v=s(82613),Z=s(3679),b=s(12575),x=s(29790),T=s(96290);function D(i,t){if(1&i&&(g.TgZ(0,"div",3),g._UZ(1,"mat-progress-spinner",4),g.qZA()),2&i){const i=g.oxw();g.xp6(1),g.Q6J("mode",i.commonService.mode)("strokeWidth",2)("diameter",80)}}function w(i,t){if(1&i&&(g.TgZ(0,"p",9),g._uU(1),g.ALo(2,"translate"),g.ALo(3,"formatPriceTwoFractionDigits"),g.qZA()),2&i){const i=g.oxw(3);g.xp6(1),g.lnq("",g.lcZ(2,3,"spasilica.desc4")," ",g.lcZ(3,5,i.dataAmount)," ",i.config.currencySymbol,"")}}function S(i,t){if(1&i&&(g.TgZ(0,"p",9),g._uU(1),g.ALo(2,"translate"),g.ALo(3,"formatPriceTwoFractionDigits"),g.qZA()),2&i){const i=g.oxw(3);g.xp6(1),g.AsE("",g.lcZ(2,2,"spasilica.desc4")," ",g.lcZ(3,4,i.centsToDollars(i.dataAmount))," MB")}}function C(i,t){if(1&i&&(g.ynx(0),g._uU(1),g.BQk()),2&i){const i=g.oxw(6);g.xp6(1),g.AsE(" | ",i.commonService.convertPriceEUR("1,33")," ",i.config.currency,"")}}function I(i,t){if(1&i&&(g.TgZ(0,"div",23),g._uU(1),g.YNc(2,C,2,2,"ng-container",13),g.qZA()),2&i){const i=g.oxw(5);g.xp6(1),g.hij("1,33 ",i.config.currencySymbol,""),g.xp6(1),g.Q6J("ngIf",i.config.showConversation)}}function k(i,t){1&i&&(g.TgZ(0,"div",24),g._uU(1,"750 Mb"),g.qZA())}function L(i,t){1&i&&(g.TgZ(0,"div",25),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&i&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"spasilica.inEuro")," "))}function N(i,t){1&i&&(g.TgZ(0,"div",26),g._uU(1),g.ALo(2,"translate"),g.qZA()),2&i&&(g.xp6(1),g.hij(" ",g.lcZ(2,1,"spasilica.inMB")," "))}function Y(i,t){if(1&i){const i=g.EpF();g.TgZ(0,"mat-radio-group",17),g.NdJ("ngModelChange",function(t){return g.CHM(i),g.oxw(4).dataOrAmount=t}),g.TgZ(1,"mat-radio-button",18),g.YNc(2,I,3,2,"div",19),g.YNc(3,k,2,0,"div",20),g.YNc(4,L,3,3,"div",21),g.YNc(5,N,3,3,"div",22),g.qZA(),g.qZA()}if(2&i){const i=t.$implicit,s=g.oxw(4);g.Q6J("ngModel",s.dataOrAmount),g.xp6(1),g.Q6J("value","MONETARY"===i.type?"MONETARY":"DATA")("checked","true"===i.active),g.xp6(1),g.Q6J("ngIf","MONETARY"===i.type),g.xp6(1),g.Q6J("ngIf","DATA"===i.type),g.xp6(1),g.Q6J("ngIf","MONETARY"===i.type),g.xp6(1),g.Q6J("ngIf","DATA"===i.type)}}function y(i,t){if(1&i&&(g.ynx(0),g.YNc(1,Y,6,7,"mat-radio-group",16),g.BQk()),2&i){const i=g.oxw(3);g.xp6(1),g.Q6J("ngForOf",i.credits)}}function O(i,t){if(1&i){const i=g.EpF();g.TgZ(0,"div",8),g.TgZ(1,"p",9),g._uU(2),g.ALo(3,"translate"),g.qZA(),g.TgZ(4,"p",9),g._uU(5),g.ALo(6,"translate"),g.qZA(),g.TgZ(7,"p",10),g._uU(8),g.ALo(9,"translate"),g.ALo(10,"formatPriceTwoFractionDigits"),g.qZA(),g.YNc(11,w,4,7,"p",11),g.YNc(12,S,4,6,"p",11),g.TgZ(13,"p",12),g._uU(14),g.ALo(15,"translate"),g.qZA(),g.YNc(16,y,2,1,"ng-container",13),g.TgZ(17,"div",14),g.TgZ(18,"button",15),g.NdJ("click",function(){return g.CHM(i),g.oxw(2).openAskingDialog()}),g._uU(19),g.ALo(20,"translate"),g.qZA(),g.qZA(),g.qZA()}if(2&i){const i=g.oxw(2);g.xp6(2),g.Oqu(g.lcZ(3,12,"spasilica.desc1")),g.xp6(3),g.Oqu(g.lcZ(6,14,"spasilica.desc2")),g.xp6(3),g.lnq("",g.lcZ(9,16,"spasilica.desc3")," ",g.lcZ(10,18,i.monetaryAmount)," ",i.config.currencySymbol,""),g.xp6(3),g.Q6J("ngIf","HR"!==i.config.defaultLang),g.xp6(1),g.Q6J("ngIf","HR"===i.config.defaultLang),g.xp6(2),g.Oqu(g.lcZ(15,20,"spasilica.chooseTitle")),g.xp6(2),g.Q6J("ngIf",i.credits&&i.credits.length),g.xp6(2),g.Q6J("ladda",i.isLaddaActivated)("disabled",i.isLaddaActivated),g.xp6(1),g.hij(" ",g.lcZ(20,22,"continue")," ")}}function q(i,t){1&i&&(g.TgZ(0,"div",14),g.TgZ(1,"div",28),g._UZ(2,"img",29),g.qZA(),g.TgZ(3,"h3",30),g._uU(4,"No credits"),g.qZA(),g.qZA())}function M(i,t){if(1&i&&g.YNc(0,q,5,0,"div",27),2&i){const i=g.oxw(2);g.Q6J("ngIf",!i.showError)}}function J(i,t){if(1&i&&(g.TgZ(0,"div",5),g.YNc(1,O,21,24,"div",6),g.YNc(2,M,1,1,"ng-template",null,7,g.W1O),g.qZA()),2&i){const i=g.MAs(3),t=g.oxw();g.xp6(1),g.Q6J("ngIf",t.credits&&t.credits.length)("ngIfElse",i)}}function E(i,t){if(1&i&&g._UZ(0,"app-server-error",31),2&i){const i=g.oxw();g.Q6J("callback",i.getCredit.bind(i))}}const Q=[{path:"",redirectTo:"spasilica"},{path:"spasilica",component:(()=>{class i{constructor(i,t,s,e,n,a){this.commonService=i,this.trs=t,this.customerService=s,this.location=e,this.dialog=n,this.shopService=a,this.config=d.v,this.credits=[],this.dataOrAmount="",this.isLaddaActivated=!1,this.isSpasilicaLoading=!1,this.commonService.setPageTitle(this.trs.trsTs("spasilica.cardTitle"),"spasilica-dashboard"),this.commonService.isPageSubtitleActivated=!0,this.commonService.pageSubtitle=localStorage.getItem("msisdn"),this.commonService.isBackButtonActivated=!0}ngOnInit(){this.getCredit()}centsToDollars(i){return(Number(i)/100).toFixed(2)}getCredit(){this.isSpasilicaLoading=!0,this.showError=!1,this.shopService.creditData(localStorage.getItem("cid")).subscribe(i=>{console.log("result",i),this.isCreditDataLoaded=!0,i.status&&"OK"===i.status?this.credits=i.CreditState.Credit.filter(i=>{if(i.type===l.j.MONETARY&&(this.monetaryAmount=+i.amount/100),i.type===l.j.DATA&&(this.dataAmount=i.amount),"MONETARY"===i.type||"DATA"===i.type)return i}):this.openConfirmationDialog("error"),this.isSpasilicaLoading=!1},()=>{this.isSpasilicaLoading=!1,this.showError=!0,this.isCreditDataLoaded=!1})}openAskingDialog(){this.dialog.open(c.c,{width:"674px",hasBackdrop:!1,panelClass:["global-dialog","gd-v3","text-align-center","confirmation-dialog-v3","container400"],data:{withoutContainer:!0,title:this.trs.trsTs("spasilica.activateSpasilica"),innerDesc:this.askingDialogDesc()}}).afterClosed().subscribe(i=>{"confirm"===i&&this.submitCredit()})}submitCredit(){this.isLaddaActivated=!0,this.shopService.sendCredit(localStorage.getItem("cid"),this.dataOrAmount).subscribe(i=>{console.log("result sendCredit",i),i.status&&this.openConfirmationDialog("OK"===i.status&&"OK"===i.statusMessage?"success":"error"),this.isLaddaActivated=!1},i=>{this.isLaddaActivated=!1,this.openConfirmationDialog("error")})}askingDialogDesc(){if("HR"===this.config.defaultLang){if("DATA"===this.dataOrAmount)return this.trs.trsTsParams("spasilica.askingDialogDescHrMB",{number:"0,80"});if("MONETARY"===this.dataOrAmount)return this.trs.trsTsParams("spasilica.askingDialogDescHrEur",{number:"1,33"})}return this.trs.trsTsParams("spasilica.askingDialogDesc",{price:"3,00",receiveAmount:"0,40"})}openConfirmationDialog(i){this.dialog.open(r.k,{width:"812px",hasBackdrop:!1,panelClass:["global-dialog","gd-v3","text-align-center","confirmation-dialog-v3","padding-75","font-regular"],data:{image:"success"===i?"assets/img/success-dialog-icon.svg":"assets/img/unsuccess-dialog-icon.svg",title:this.trs.trsTs("success"===i?"success":"messagesPages.errorTitle"),innerDesc:"success"===i?this.confirmationDialogDesc():this.trs.trsTs("HR"!==this.config.defaultLang?"messagesPages.errorDescription":"spasilica.accessDenied"),close:this.trs.trsTs("close")}}).afterClosed().subscribe(()=>{})}confirmationDialogDesc(){return this.trs.trsTsParams("spasilica.successDialogDesc",{price:"1,33",receiveAmount:"0,40"})}goBack(){this.location.back()}ngOnDestroy(){this.commonService.isPageSubtitleActivated=!1,this.commonService.pageSubtitle="",this.commonService.isBackButtonActivated=!1}}return i.\u0275fac=function(t){return new(t||i)(g.Y36(p.v),g.Y36(u.D),g.Y36(f.v),g.Y36(e.Ye),g.Y36(m.uw),g.Y36(h.d))},i.\u0275cmp=g.Xpm({type:i,selectors:[["app-spasilica"]],decls:3,vars:3,consts:[["class","page-spinner",4,"ngIf"],["class","spasilica-page",4,"ngIf"],[3,"callback",4,"ngIf"],[1,"page-spinner"],[3,"mode","strokeWidth","diameter"],[1,"spasilica-page"],["class","container-460",4,"ngIf","ngIfElse"],["noCredits",""],[1,"container-460"],[1,"desc","mb-30"],[1,"desc"],["class","desc mb-30",4,"ngIf"],[1,"desc","mb-20"],[4,"ngIf"],[1,"text-align-center"],[1,"radius16","btn-1-v3","bg-main","ladda-fix-v3",3,"ladda","disabled","click"],["class","grouped-mat-form-field radio-like-inputs",3,"ngModel","ngModelChange",4,"ngFor","ngForOf"],[1,"grouped-mat-form-field","radio-like-inputs",3,"ngModel","ngModelChange"],[1,"variant-type-v3","mb-10",3,"value","checked"],["class","font-bold font-size-14",4,"ngIf"],["class","font-bold font-size-14 mb-2",4,"ngIf"],["class","font-light font-size-12",4,"ngIf"],["class","font-light font-size-12 mb-2",4,"ngIf"],[1,"font-bold","font-size-14"],[1,"font-bold","font-size-14","mb-2"],[1,"font-light","font-size-12"],[1,"font-light","font-size-12","mb-2"],["class","text-align-center",4,"ngIf"],[1,"mb-40"],["src","assets/img/no-reports.svg","alt","no reports"],[1,"font-size-16","font-bold","mb-40"],[3,"callback"]],template:function(i,t){1&i&&(g.YNc(0,D,2,3,"div",0),g.YNc(1,J,4,2,"div",1),g.YNc(2,E,1,1,"app-server-error",2)),2&i&&(g.Q6J("ngIf",t.isSpasilicaLoading),g.xp6(1),g.Q6J("ngIf",!t.isSpasilicaLoading),g.xp6(1),g.Q6J("ngIf",t.showError))},directives:[e.O5,A.Ou,o.d_,e.sg,v.VQ,Z.JJ,Z.On,v.U0,b.S],pipes:[x.X$,T.i],styles:['@media only screen and (min-width: 1300px){.spasilica-page[_ngcontent-%COMP%]{margin-top:50px}}.desc[_ngcontent-%COMP%]{font-size:14px;font-family:"Manrope",sans-serif;font-weight:300}']}),i})()}];let _=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=g.oAB({type:i}),i.\u0275inj=g.cJS({imports:[[e.ez,n.Bz.forChild(Q),a.m,o.o5.forRoot({style:"slide-down",spinnerSize:30,spinnerColor:"#000",spinnerLines:12})],n.Bz]}),i})()}}]);

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.