PageSourceSearch

https://legistel.es/2402.d8b171371f018c81.js

js legistel.es collected 2026-10-06 22:16:21 UTC 1,774 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[2402],{52402(h,a,e){e.d(a,{SupportComponent:()=>M});var c=e(17705),s=e(85802),l=e(3065),i=e(59882),p=e(89079),E=e(68018),u=e(35864),d=e(7881),P=e(91968),g=e(25558),t=e(35547);function v(n,D){if(1&n&&(t.j41(0,"div",2),t.nrm(1,"app-server-error",4),t.k0s()),2&n){const r=t.XpG();t.R7$(),t.Y8G("message",r.error)}}let M=(()=>{class n{loginService=(0,s.WQX)(u.V);router=(0,s.WQX)(i.Ix);cd=(0,s.WQX)(c.gRc);inProgress=!1;disabled=!1;token;error;constructor(){(0,s.WQX)(i.nX).queryParams.pipe((0,p.pQ)()).subscribe(o=>{this.cd.markForCheck(),this.error=void 0,this.token=o.token,this.disabled=!this.token})}login(){!this.token||this.inProgress||(this.inProgress=!0,this.loginService.loginSupport(JSON.stringify(this.token)).pipe((0,g.n)(()=>this.router.navigate(["/"]))).subscribe({complete:()=>{this.inProgress=!1},error:r=>{this.inProgress=!1,this.cd.markForCheck(),this.error=(0,d.PE)(r)}}))}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=t.VBU({type:n,selectors:[["app-support"]],decls:8,vars:8,consts:[[1,"dark-dialog"],[1,"text-center"],[1,"text-danger","wrapper","text-center"],["type","button",1,"btn","btn-lg","btn-primary","w-100",3,"click","disabled"],[3,"message"]],template:function(o,_){1&o&&(t.j41(0,"standalone-view",0)(1,"p",1),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nVh(4,v,2,1,"div",2),t.j41(5,"button",3),t.bIt("click",function(){return _.login()}
1),t.EFF(6),t.nI1(7,"translate"),t.k0s()()),2&o&&(t.R7$(2),t.JRh(t.bMT(3,4,"_i18n.SupportAccessText")),t.R7$(2),t.vxM(_.error?4:-1),t.R7$(),t.Y8G("disabled",_.disabled),t.R7$(),t.SpI(" ",t.bMT(7,6,"_i18n.Login")," "))},dependencies:[l.m,P.J,E.D9],encapsulation:2,changeDetection:0})}return n})()}}]);

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.