PageSourceSearch

https://revixgo.com.br/app/549.2324f9b51a0da2c5.js

js revixgo.com.br collected 2026-10-02 01:18:48 UTC 16,225 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[549],{92844(S,E,n){n.d(E,{O:()=>u});var u=function(f){return f.NOT_REQUIRED="NOT_REQUIRED",f.OBTAINED="OBTAINED",f.REQUIRED="REQUIRED",f.UNKNOWN="UNKNOWN",f}(u||{})},72930(S,E,n){n.d(E,{LancamentoCategPageModule:()=>M});var u=n(72200),f=n(89417),d=n(57343),C=n(38132),v=n(10467),e=n(73664),F=n(2615),L=n(16442),N=n(18700),k=n(49544),I=n(65177),b=n(58885),A=n(56941);const y=(h,r)=>({"text-success font-bold":h,"text-red-600 font-bold":r});function j(h,r){if(1&h&&(e.j41(0,"ion-badge",59),e.EFF(1),e.k0s()),2&h){const p=e.XpG();e.R7$(),e.JRh(p.notificacoesCount)}}function t(h,r){if(1&h&&(e.j41(0,"ion-select-option",60),e.EFF(1),e.k0s()),2&h){const p=r.$implicit;e.Y8G("value",p.id_categoria),e.R7$(),e.Lme("",p.imgIcone," ",p.descricao)}}function T(h,r){if(1&h){const p=e.RV6();e.j41(0,"div",61)(1,"div",62)(2,"ion-checkbox",63),e.bIt("ionChange",function(o){const i=F.eBV(p).$implicit,l=e.XpG();return F.Njj(l.alteraTotal(o,i.vlr_lancamento))}),e.k0s(),e.j41(3,"div",64)(4,"div",65),e.EFF(5),e.k0s()(),e.j41(6,"div",66)(7,"ion-label",67),e.EFF(8),e.nI1(9,"currencyBR"),e.k0s()()()()}if(2&h){const p=r.$implicit,s=e.XpG();e.R7$(2),e.Y8G("checked",p.somar),e.R7$(3),e.JRh(p.informacao),e.R7$(2),e.Y8G("ngClass",e.l_i(6,y,s.parseFloatValue(p.vlr_lancamento)>=0,s.parseFloatValue(p.vlr_lancamento)<0)),e.R7$(),e.SpI(" ",e.bMT(9,4,p.vlr_lancamento)," ")}}const a=[{path:"",component:(()=>{var h;class r{constructor(s,o,i,l,m,D,w){this.lancamentoService=s,this.storage=o,this.router=i,this.categoriaService=l,this.adsService=m,this.loadingController=D,this.alertController=w,this.anoAtual=(new Date).getFullYear(),this.mesAtual=(new Date).getMonth()+1,this.mesSelec=this.mesAtual.toString(),this.anoSelec=this.anoAtual.toString(),this.idGrupo="",this.idUsuario="",this.idPlano="",this.idioma="",this.itemLancCateg=[],this.itemCateg=[],this.idCategoria="",this.saldoTotal=0,this.total="0.0",this.notificacoesCount=0,this.itemDados=[{idLancamento:"",vlr_lancamento:"",informacao:"",dt_efetivaPagto:"",somar:""}],this.acessoWeb=!1,this.lblTutulo="",this.lblSbTitulo="",this.lblPeriodo="",this.lblMesJan="",this.lblMesFev="",this.lblMesMar="",this.lblMesAbr="",this.lblMesMai="",this.lblMesJun="",this.lblMesJul="",this.lblMesAgo="",this.lblMesSet="",this.lblMesOut="",this.lblMesNov="",this.lblMesDez="",this.lblCategoria="",this.lblSelecione="",this.lblTotal="";let R=this.storage.getLocalUser();this.idGrupo=R.idGrupo,this.idUsuario=R.idUsuario,this.idPlano=R.idPlano,this.idioma="POR",this.acessoWeb=null==R.acessoWeb?1!==Number(this.idPlano):R.acessoWeb,this.acessoWeb||this.voltarLogin(),this.atualizaIdioma()}voltarLogin(){var s=this;return(0,v.A)(function*(){var i;yield(yield s.alertController.create({header:"Acesso Web",message:"Seu acesso Web promocional expirou. Para continuar, adquira o Plano Ouro.",backdropDismiss:!1,buttons:[{text:"Ir para Login",handler:(i=(0,v.A)(function*(){yield s.router.navigate(["login"])}),function(){return i.apply(this,arguments)})}]})).present()})()}atualizaIdioma(){"POR"==this.idioma&&(this.lblTutulo="Lancamentos por Categoria",this.lblSbTitulo="mantenha seu or\xe7amento dentro do planejado",this.lblPeriodo="Per\xedodo",this.lblMesJan="janeiro",this.lblMesFev="fevereiro",this.lblMesMar="mar\xe7o",this.lblMesAbr="abril",this.lblMesMai="maio",this.lblMesJun="junho",this.lblMesJul="julho",this.lblMesAgo="agosto",this.lblMesSet="setembro",this.lblMesOut="outubro",this.lblMesNov="novembro",this.lblMesDez="dezembro",this.lblCategoria="Categoria",this.lblSelecione="selecione",this.lblTotal="TOTAL")}ngOnInit(){"DEPENDENTE"===this.storage.getLocalUser().perfil&&this.router.navigate(["/home-dependente"]),this.itemDados=[],this.presentLoading("entrou")}ionViewDidEnter(){var s=this;return(0,v.A)(function*(){1===Number(s.idPlano)&&s.adsService.showInterstitialRandom(.25).catch(o=>console.warn("Inter falhou",o))})()}carregaTela(){return this.itemLancCateg=[],this.itemDados=[],this.saldoTotal=0,new Promise((s,o)=>{this.lancamentoService.listLancamentoCategoria(this.idGrupo,this.idCategoria,this.mesSelec,this.anoSelec).subscribe({next:i=>{try{this.itemLancCateg=i;for(let l=0;l<this.itemLancCateg.length;l++){let m={idLancamento:this.itemLancCateg[l].id_lancamento,vlr_lancamento:this.itemLancCateg[l].vlr_lancamento,informacao:this.itemLancCateg[l].informacao,dt_efetivaPagto:this.itemLancCateg[l].dt_efetivaPagto,somar:"true"};this.saldoTotal=this.saldoTotal+Number(this.itemLancCateg[l].vlr_lancamento),this.itemDados.push(m)}this.total=String(this.saldoTotal),s()}catch(l){o(l)}},error:i=>{o(i)}})})}listaCategoria(){return new Promise((s,o)=>{this.categoriaService.listaCategoriasGrupo(Number(this.idGrupo)).subscribe({next:i=>{try{this.itemCateg=i,s()}catch(l){o(l)}},error:i=>{o(i)}})})}altFiltro(){this.presentLoading("filtro")}parseFloatValue(s){return parseFloat(s)}alteraTotal(s,o){!1===s.detail.checked?this.saldoTotal<0&&o<0||this.saldoTotal<0&&o>0?this.saldoTotal=this.saldoTotal+-1*o:(this.saldoTotal>0&&o<0||this.saldoTotal>0&&o>0)&&(this.saldoTotal=this.saldoTotal-o):(this.saldoTotal<0&&o<0||this.saldoTotal<0&&o>0||this.saldoTotal>0&&o<0||this.saldoTotal>0&&o>0)&&(this.saldoTotal=this.saldoTotal+o),this.total=String(this.saldoTotal)}presentLoading(s){var o=this;return(0,v.A)(function*(){const i=yield o.loadingController.create({message:"Carregando aguarde..."});yield i.present();try{"entrou"===s?yield o.listaCategoria():"filtro"===s&&(yield o.carregaTela())}catch(l){console.error("Erro ao carregar dados:",l)}
1finally{yield i.dismiss()}})()}abrirNotificacoes(){}static#e=h=()=>(this.\u0275fac=function(o){return new(o||r)(e.rXU(L.O),e.rXU(N.n),e.rXU(k.Ix),e.rXU(I.v),e.rXU(b.g),e.rXU(d.Xi),e.rXU(d.hG))},this.\u0275cmp=e.VBU({type:r,selectors:[["app-lancamento-categ"]],standalone:!1,decls:101,vars:27,consts:[[1,"ion-no-border"],[1,"bg-stone-800","px-4","py-2","flex","items-center","justify-between"],["slot","start"],[2,"color","white"],[1,"ml-2"],["src","assets/revix/logoRG1.jpg","alt","User avatar"],[1,"text-base","font-semibold","text-gray-50"],["slot","end"],["aria-label","Notifica\xe7\xf5es",3,"click"],["name","notifications-outline",2,"color","white"],["color","warning","class","-ml-2 -mt-2",4,"ngIf"],[1,"text-white"],[1,"bg-light",3,"fullscreen"],[1,"pb-24"],[1,"px-4","pt-4"],[1,"flex","items-center","gap-3"],[1,"bg-amber-300","rounded-full","w-12","h-12","flex","items-center","justify-center"],["name","keypad",1,"text-3xl","text-graphite"],[1,"text-lg","font-semibold","text-darkblue"],[1,"text-xs","text-gray-400"],[1,"flex","gap-2","mb-2"],["name","anoSelec","interface","popover","placeholder","Ano",1,"flex-1","rounded-xl","bg-light","text-darkblue",3,"ngModelChange","ionChange","ngModel"],["value","2023"],["value","2024"],["value","2025"],["value","2026"],["value","2027"],["value","2028"],["value","2029"],["value","2030"],["value","2031"],["value","2032"],["value","2033"],["value","2034"],["value","2035"],["value","2036"],["value","2037"],["value","2038"],["value","2039"],["value","2040"],["name","mesSelec","interface","popover","placeholder","M\xeas",1,"flex-1","rounded-xl","bg-light","text-darkblue",3,"ngModelChange","ionChange","ngModel"],["value","1"],["value","2"],["value","3"],["value","4"],["value","5"],["value","6"],["value","7"],["value","8"],["value","9"],["value","10"],["value","11"],["value","12"],[1,"flex","gap-2"],["name","idCategoria","interface","popover",1,"flex-1","rounded-xl","bg-light","text-darkblue",3,"ngModelChange","ionChange","ngModel","placeholder"],[3,"value",4,"ngFor","ngForOf"],["class","mb-2",4,"ngFor","ngForOf"],[1,"bg-stone-400","rounded-2xl","shadow","text-white","font-bold","text-sm","py-3","text-center"],[1,"py-10"],["color","warning",1,"-ml-2","-mt-2"],[3,"value"],[1,"mb-2"],[1,"bg-white","rounded-2xl","shadow","flex","items-center","px-3","py-2"],["color","primary",1,"mr-2",3,"ionChange","checked"],[1,"flex-1"],[1,"text-xs","text-darkblue"],[1,"text-right","min-w-[90px]"],[3,"ngClass"]],template:function(o,i){1&o&&(e.j41(0,"ion-header",0)(1,"ion-toolbar")(2,"div",1)(3,"ion-buttons",2),e.nrm(4,"ion-back-button",3),e.j41(5,"div")(6,"ion-avatar",4),e.nrm(7,"img",5),e.k0s()()(),e.j41(8,"ion-title")(9,"div",6),e.EFF(10,"Revix Go"),e.k0s()(),e.j41(11,"ion-buttons",7)(12,"ion-button",8),e.bIt("click",function(){return i.abrirNotificacoes()}),e.nrm(13,"ion-icon",9),e.DNE(14,j,2,1,"ion-badge",10),e.k0s(),e.nrm(15,"ion-menu-button",11),e.k0s()()()(),e.j41(16,"ion-content",12)(17,"div",13)(18,"div",14)(19,"div",15)(20,"div",16),e.nrm(21,"ion-icon",17),e.k0s(),e.j41(22,"div")(23,"div",18),e.EFF(24),e.k0s(),e.j41(25,"div",19),e.EFF(26),e.k0s()()()(),e.j41(27,"div",14)(28,"div",20)(29,"ion-select",21),e.mxI("ngModelChange",function(m){return e.DH7(i.anoSelec,m)||(i.anoSelec=m),m}),e.bIt("ionChange",function(){return i.altFiltro()}),e.j41(30,"ion-select-option",22),e.EFF(31,"2023"),e.k0s(),e.j41(32,"ion-select-option",23),e.EFF(33,"2024"),e.k0s(),e.j41(34,"ion-select-option",24),e.EFF(35,"2025"),e.k0s(),e.j41(36,"ion-select-option",25),e.EFF(37,"2026"),e.k0s(),e.j41(38,"ion-select-option",26),e.EFF(39,"2027"),e.k0s(),e.j41(40,"ion-select-option",27),e.EFF(41,"2028"),e.k0s(),e.j41(42,"ion-select-option",28),e.EFF(43,"2029"),e.k0s(),e.j41(44,"ion-select-option",29),e.EFF(45,"2030"),e.k0s(),e.j41(46,"ion-select-option",30),e.EFF(47,"2031"),e.k0s(),e.j41(48,"ion-select-option",31),e.EFF(49,"2032"),e.k0s(),e.j41(50,"ion-select-option",32),e.EFF(51,"2033"),e.k0s(),e.j41(52,"ion-select-option",33),e.EFF(53,"2034"),e.k0s(),e.j41(54,"ion-select-option",34),e.EFF(55,"2035"),e.k0s(),e.j41(56,"ion-select-option",35),e.EFF(57,"2036"),e.k0s(),e.j41(58,"ion-select-option",36),e.EFF(59,"2037"),e.k0s(),e.j41(60,"ion-select-option",37),e.EFF(61,"2038"),e.k0s(),e.j41(62,"ion-select-option",38),e.EFF(63,"2039"),e.k0s(),e.j41(64,"ion-select-option",39),e.EFF(65,"2040"),e.k0s()(),e.j41(66,"ion-select",40),e.mxI("ngModelChange",function(m){return e.DH7(i.mesSelec,m)||(i.mesSelec=m),m}),e.bIt("ionChange",function(){return i.altFiltro()}),e.j41(67,"ion-select-option",41),e.EFF(68),e.k0s(),e.j41(69,"ion-select-option",42),e.EFF(70),e.k0s(),e.j41(71,"ion-select-option",43),e.EFF(72),e.k0s(),e.j41(73,"ion-select-option",44),e.EFF(74),e.k0s(),e.j41(75,"ion-select-option",45),e.EFF(76),e.k0s(),e.j41(77,"ion-select-option",46),e.EFF(78),e.k0s(),e.j41(79,"ion-select-option",47),e.EFF(80),e.k0s(),e.j41(81,"ion-select-option",48),e.EFF(82),e.k0s(),e.j41(83,"ion-select-option",49),e.EFF(84),e.k0s(),e.j41(85,"ion-select-option",50),e.EFF(86),e.k0s(),e.j41(87,"ion-select-option",51),e.EFF(88),e.k0s(),e.j41(89,"ion-select-option",52),e.EFF(90),e.k0s()()(),e.j41(91,"div",53)(92,"ion-select",54),e.mxI("ngModelChange",function(m){return e.DH7(i.idCategoria,m)||(i.idCategoria=m),m}),e.bIt("ionChange",function(){return i.altFiltro()}),e.DNE(93,t,2,3,"ion-select-option",55),e.k0s()()(),e.j41(94,"div",14),e.DNE(95,T,10,9,"div",56),e.k0s(),e.j41(96,"div",14)(97,"div",57),e.EFF(98),e.nI1(99,"currencyBR"),e.k0s()(),e.nrm(100,"div",58),e.k0s()()),2&o&&(e.R7$(14),e.Y8G("ngIf",i.notificacoesCount>0),e.R7$(2),e.Y8G("fullscreen",!0),e.R7$(8),e.JRh(i.lblTutulo),e.R7$(2),e.JRh(i.lblSbTitulo),e.R7$(3),e.R50("ngModel",i.anoSelec),e.R7$(37),e.R50("ngModel",i.mesSelec),e.R7$(2),e.JRh(i.lblMesJan),e.R7$(2),e.JRh(i.lblMesFev),e.R7$(2),e.JRh(i.lblMesMar),e.R7$(2),e.JRh(i.lblMesAbr),e.R7$(2),e.JRh(i.lblMesMai),e.R7$(2),e.JRh(i.lblMesJun),e.R7$(2),e.JRh(i.lblMesJul),e.R7$(2),e.JRh(i.lblMesAgo),e.R7$(2),e.JRh(i.lblMesSet),e.R7$(2),e.JRh(i.lblMesOut),e.R7$(2),e.JRh(i.lblMesNov),e.R7$(2),e.JRh(i.lblMesDez),e.R7$(2),e.Y8G("placeholder",e.mNQ(i.lblSelecione)),e.R50("ngModel",i.idCategoria),e.R7$(),e.Y8G("ngForOf",i.itemCateg),e.R7$(2),e.Y8G("ngForOf",i.itemDados),e.R7$(3),e.Lme(" ",i.lblTotal," ",e.bMT(99,25,i.total)," "))},dependencies:[u.YU,u.Sq,u.bT,f.BC,f.vS,d.mC,d.In,d.Jm,d.QW,d.eY,d.W9,d.eU,d.iq,d.he,d.MC,d.Nm,d.Ip,d.BC,d.ai,d.hB,d.Je,d.el,A._],styles:[".valor-positivo[_ngcontent-%COMP%]{color:#00f}.valor-negativo[_ngcontent-%COMP%]{color:red}"]}))}return h(),r})()}];let g=(()=>{var h;class r{static#e=h=()=>(this.\u0275fac=function(o){return new(o||r)},this.\u0275mod=e.$C({type:r}),this.\u0275inj=F.G2t({imports:[C.iI.forChild(a),C.iI]}))}return h(),r})();var c=n(56384);let M=(()=>{var h;class r{static#e=h=()=>(this.\u0275fac=function(o){return new(o||r)},this.\u0275mod=e.$C({type:r}),this.\u0275inj=F.G2t({imports:[u.MD,f.YN,d.bv,g,c.U]}))}return h(),r})()},58885(S,E,n){n.d(E,{g:()=>j});var u=n(10467),f=n(15083),v=function(t){return t.TOP_CENTER="TOP_CENTER",t.CENTER="CENTER",t.BOTTOM_CENTER="BOTTOM_CENTER",t}(v||{}),e=function(t){return t.BANNER="BANNER",t.FULL_BANNER="FULL_BANNER",t.LARGE_BANNER="LARGE_BANNER",t.MEDIUM_RECTANGLE="MEDIUM_RECTANGLE",t.LEADERBOARD="LEADERBOARD",t.ADAPTIVE_BANNER="ADAPTIVE_BANNER",t.SMART_BANNER="SMART_BANNER",t}(e||{}),F=function(t){return t.Loaded="interstitialAdLoaded",t.FailedToLoad="interstitialAdFailedToLoad",t.Showed="interstitialAdShowed",t.FailedToShow="interstitialAdFailedToShow",t.Dismissed="interstitialAdDismissed",t}(F||{});n(92844);const b=(0,f.F3)("AdMob",{web:()=>n.e(86).then(n.bind(n,20086)).then(t=>new t.AdMobWeb)}
1),A=(0,f.F3)("App",{web:()=>n.e(9303).then(n.bind(n,39303)).then(t=>new t.AppWeb)});var y=n(2615);let j=(()=>{var t;class T{constructor(){this.initialized=!1,this.enabled=!1,this.interstitialReady=!1,this.lastInterstitialShownAt=0,this.interstitialCooldownMs=12e4,this.defaultInterstitialChance=.35,this.bannerAdId="ca-app-pub-4788483379724677/6999720550",this.interstitialAdId="ca-app-pub-4788483379724677/5797989957",this.bannerWanted=!1,this.bannerVisible=!1,this.ensuringBanner=!1}init(a,g){var c=this;return(0,u.A)(function*(){if(a)return void(c.enabled=!1);if(!f.Ii.isNativePlatform())return void(c.enabled=!1);if(c.enabled=!0,c.initialized)return;c.currentUserEmail=g;const M="[email protected]"===g;yield b.initialize({testingDevices:M?["0183ED88BD0C58EE22FB6E5BBC406CC1"]:[],initializeForTesting:M}),A.addListener("appStateChange",function(){var h=(0,u.A)(function*(r){r.isActive&&(yield c.ensureBanner(!0))});return function(r){return h.apply(this,arguments)}}()),b.addListener(F.Dismissed,(0,u.A)(function*(){c.interstitialReady=!1,yield c.prepareInterstitial(),yield c.ensureBanner(!0)})),b.addListener(F.Showed,()=>{}),b.addListener(F.FailedToShow,(0,u.A)(function*(){yield c.prepareInterstitial()})),c.initialized=!0,yield c.prepareInterstitial()})()}showBanner(){var a=this;return(0,u.A)(function*(){!a.enabled||!a.initialized||(a.bannerWanted=!0,yield a.ensureBanner())})()}hideBanner(){var a=this;return(0,u.A)(function*(){if(a.enabled&&a.initialized){a.bannerWanted=!1,a.bannerVisible=!1;try{yield b.hideBanner()}catch{}}})()}prepareInterstitial(){var a=this;return(0,u.A)(function*(){if(!a.enabled||!a.initialized)return;const g="[email protected]"===a.currentUserEmail;try{const c={adId:a.interstitialAdId,isTesting:g};yield b.prepareInterstitial(c),a.interstitialReady=!0}catch{a.interstitialReady=!1}})()}showInterstitialRandom(){var a=this;return(0,u.A)(function*(g=a.defaultInterstitialChance){if(!a.enabled||!a.initialized)return;const c=Date.now();if(!(c-a.lastInterstitialShownAt<a.interstitialCooldownMs||Math.random()>g)){if(!a.interstitialReady)return void(yield a.prepareInterstitial());try{yield b.showInterstitial(),a.lastInterstitialShownAt=c,a.interstitialReady=!1}catch{a.interstitialReady=!1,yield a.prepareInterstitial()}}}).apply(this,arguments)}showInterstitialIfAllowed(){var a=this;return(0,u.A)(function*(){return a.showInterstitialRandom(1)})()}ensureBanner(){var a=this;return(0,u.A)(function*(g=!1){if(!a.enabled||!a.initialized||!a.bannerWanted&&!g||a.ensuringBanner||a.bannerVisible&&!g)return;const c="[email protected]"===a.currentUserEmail;a.ensuringBanner=!0;try{try{yield b.removeBanner()}catch{}yield b.showBanner({adId:a.bannerAdId,adSize:e.BANNER,position:v.BOTTOM_CENTER,isTesting:c}),a.bannerVisible=!0}catch{a.bannerVisible=!1}finally{a.ensuringBanner=!1}}).apply(this,arguments)}static#e=t=()=>(this.\u0275fac=function(g){return new(g||T)},this.\u0275prov=y.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}))}return t(),T})()}}]);

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.