mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
1.8 KiB
JavaScript
1 line
1.8 KiB
JavaScript
!function(){function n(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function t(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function e(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[600],{90600:function(t,r,i){"use strict";i.r(r),i.d(r,{IndexPageModule:function(){return g}});var o,c,u=i(38583),a=i(3679),f=i(35957),l=i(39895),s=i(37716),p=i(66096),h=function(){var t=function(){function t(e,r){n(this,t),this.router=e,this.localstoreService=r}return e(t,[{key:"canActivate",value:function(n,t){return"/"!=window.location.pathname||null==this.localstoreService.get("UserData",null)||(this.router.navigate(["/home/events"]),!1)}}]),t}();return t.\u0275fac=function(n){return new(n||t)(s.LFG(l.F0),s.LFG(p.L))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),d=[{path:"",component:(o=function(){function t(){n(this,t)}return e(t,[{key:"ngOnInit",value:function(){}}]),t}(),o.\u0275fac=function(n){return new(n||o)},o.\u0275cmp=s.Xpm({type:o,selectors:[["app-index"]],decls:2,vars:0,template:function(n,t){1&n&&(s.TgZ(0,"ion-content"),s._UZ(1,"router-outlet"),s.qZA())},directives:[f.W2,l.lC],styles:[""]}),o),children:[{path:"",loadChildren:function(){return Promise.all([i.e(8592),i.e(6158)]).then(i.bind(i,26158)).then(function(n){return n.LoginPageModule})},canActivate:[h]}]}],v=function(){var t=function t(){n(this,t)};return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=s.oAB({type:t}),t.\u0275inj=s.cJS({imports:[[l.Bz.forChild(d)],l.Bz]}),t}(),g=((c=function t(){n(this,t)}).\u0275fac=function(n){return new(n||c)},c.\u0275mod=s.oAB({type:c}),c.\u0275inj=s.cJS({imports:[[u.ez,a.u5,f.Pc,v]]}),c)}}])}(); |