PageSourceSearch

https://icmab.cat/6428.0870130c4d74182f.js

js icmab.cat collected 2026-10-05 05:12:23 UTC 9,122 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[6428],{2275(P,b,i){i.d(b,{T:()=>d});var p=i(534),m=i(68018),v=i(8516),o=i(35547),M=i(85802);const C=["pop"],g=["*"];function a(s,t){if(1&s&&o.nrm(0,"lucide-icon",3),2&s){const r=o.XpG(2);o.Y8G("img",r.Copy)}}function $(s,t){if(1&s&&o.nrm(0,"lucide-icon",3),2&s){const r=o.XpG(2);o.Y8G("img",r.Copy)}}function h(s,t){if(1&s&&(o.j41(0,"span",5),o.EFF(1),o.nI1(2,"translate"),o.k0s()),2&s){const r=o.XpG(2);o.R7$(),o.JRh(o.bMT(2,1,r.actionText))}}function u(s,t){if(1&s){const r=o.RV6();o.j41(0,"div",2,0),o.nI1(2,"translate"),o.nI1(3,"translate"),o.bIt("click",function(E){M.eBV(r);const l=o.XpG();return M.Njj(l.copy(E))}),o.nVh(4,a,1,1,"lucide-icon",3),o.j41(5,"div",4),o.SdG(6),o.k0s(),o.nVh(7,$,1,1,"lucide-icon",3),o.nVh(8,h,3,3,"span",5),o.k0s()}if(2&s){const r=o.XpG();o.Y8G("tooltip",o.bMT(2,6,"_i18n.Copied"))("container",r.tooltipContainer)("title",o.bMT(3,8,"_i18n.DisplayCopy")),o.R7$(4),o.vxM(r.showIcon&&r.iconFirst?4:-1),o.R7$(3),o.vxM(r.showIcon&&!r.iconFirst?7:-1),o.R7$(),o.vxM(r.showActionText?8:-1)}}let d=(()=>{class s{source;showIcon=!0;actionText="_i18n.DisplayCopy";showActionText;iconFirst;tooltipContainer;timeoutId;Copy=v.QRo;popComponent;copy(r){r.stopPropagation(),this.source&&navigator.clipboard&&navigator.clipboard.writeText(this.source).then(()=>{this.popComponent.show(),"number"==typeof this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout(()=>this.close(),1e3)})}close(){this.popComponent.hide()}static \u0275fac=function(_){return new(_||s)};static \u0275cmp=o.VBU({type:s,selectors:[["app-simple-copy"]],viewQuery:function(_,E){if(1&_&&o.GBs(C,5),2&_){let l;o.mGM(l=o.lsd())&&(E.popComponent=l.first)}},hostAttrs:[1,"hide-empty"],inputs:{source:"source",showIcon:"showIcon",actionText:"actionText",showActionText:"showActionText",iconFirst:"iconFirst",tooltipContainer:"tooltipContainer"},ngContentSelectors:g,decls:1,vars:1,consts:[["pop","bs-tooltip"],["triggers","","role","button","data-qa","simple-copy",1,"d-inline-flex","align-items-center","gap-2","mw-0","maxw-100",3,"tooltip","container","title"],["triggers","","role","button","data-qa","simple-copy",1,"d-inline-flex","align-items-center","gap-2","mw-0","maxw-100",3,"click","tooltip","container","title"],[1,"fillIconBlue","svg-sm",3,"img"],[1,"line-clamp-1"],[1,"link","dashed","text-nowrap"]],template:function(_,E){1&_&&(o.NAR(),o.nVh(0,u,9,10,"div",1)),2&_&&o.vxM(E.source?0:-1)},dependencies:[p.dg,v.flO,v.WGl,m.D9],encapsulation:2,changeDetection:0})}return s})()},25146(P,b,i){i.d(b,{E:()=>y,P:()=>l});var p=i(17705),m=i(85802),v=i(59882),o=i(98016),M=i(92996),C=i(38601),g=i(89079),a=i(83188),$=i(29325),h=i(49769),u=i(68018),d=i(62382),s=i(64631),t=i(35547);function r(e,T){1&e&&(t.j41(0,"b",7),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.JRh(t.bMT(2,1,"_i18n.ThisSession")))}function _(e,T){if(1&e){const n=t.RV6();t.j41(0,"tr",5)(1,"td",6),t.EFF(2),t.nVh(3,r,3,3,"b",7),t.k0s(),t.j41(4,"td",8),t.EFF(5),t.k0s(),t.j41(6,"td",8),t.EFF(7),t.k0s(),t.j41(8,"td",8),t.EFF(9),t.nI1(10,"amLocal"),t.nI1(11,"amDateFormat"),t.k0s(),t.j41(12,"td",9),t.EFF(13),t.nI1(14,"amLocal"),t.nI1(15,"amDateFormat"),t.k0s(),t.j41(16,"td",10)(17,"row-action-button")(18,"li",11)(19,"button",12),t.bIt("click",function(){const f=m.eBV(n).$implicit,R=t.XpG(2);return m.Njj(R.revokeToken(f))}),t.EFF(20),t.nI1(21,"translate"),t.k0s()()()()()}if(2&e){const n=T.$implicit,c=t.XpG(),f=t.XpG();t.R7$(2),t.SpI("",n.usedByIp," "),t.R7$(),t.vxM(f.isThisSession(c.id,n.token)?3:-1),t.R7$(2),t.JRh(f.getDevice(n)),t.R7$(2),t.JRh(f.getOS(n)),t.R7$(2),t.JRh(t.i5U(11,9,t.bMT(10,7,n.lastUsed),"L LT")),t.R7$(4),t.JRh(t.i5U(15,14,t.bMT(14,12,n.expires),"L LT")),t.R7$(7),t.SpI(" ",t.bMT(21,17,"_i18n.Revoke")," ")}}function E(e,T){if(1&e&&(t.j41(0,"tbody"),t.Z7z(1,_,22,19,"tr",5,t.fX1),t.k0s()),2&e){const n=t.XpG();t.R7$(),t.Dyx(n.data)}}function l(e){const T=e.bowser;if(T.browser.name&&T.browser.version){const n=T.browser.version.split(".");for(;n.length>1&&"0"===n[n.length-1];)n.pop();const c=n.join(".");return`${T.browser.name} ${c}`}return e.ua}let y=(()=>{class e{myTokenService=(0,m.WQX)(M.Z);modalService=(0,m.WQX)(C.B);cd=(0,m.WQX)(p.gRc);myTokenApiService=(0,m.WQX)(o.I);data=[];getDevice=l;constructor(){const n=(0,m.WQX)(v.nX),c=(0,m.WQX)(m.abz);n.data.pipe((0,g.pQ)(c)).subscribe(f=>{this.data=f.tokens,this.cd.markForCheck()})}isThisSession(n,c){return n===c}getOS(n){const c=n.bowser;return c.os.name?"iOS"===c.os.name?`${c.os.name} ${c.os.versionName||c.os.version||""}`.trim():c.os.name:""}revokeToken(n){this.myTokenApiService.revokeToken({id:n.id}).subscribe({next:()=>{this.data=this.data.filter(c=>
1c.id!==n.id),this.cd.markForCheck()},error:c=>this.modalService.error(c)})}static \u0275fac=function(c){return new(c||e)};static \u0275cmp=t.VBU({type:e,selectors:[["app-security"]],decls:21,vars:16,consts:[["header","_i18n.Sessions"],["full-width","",1,"scrollable-table"],[1,"md-visible"],[1,"lg-visible"],[1,"actions","w-md-50"],[1,"clickable"],["nowrap",""],[1,"badge","bg-brand","p-1"],["nowrap","",1,"md-visible"],["nowrap","",1,"lg-visible"],[1,"actions"],["role","menuitem"],["type","button","data-qa","delete-fax",1,"dropdown-item",3,"click"]],template:function(c,f){if(1&c&&(t.j41(0,"app-page",0)(1,"table",1)(2,"thead")(3,"tr")(4,"th"),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.j41(7,"th",2),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"th",2),t.EFF(11),t.k0s(),t.j41(12,"th",2),t.EFF(13),t.nI1(14,"translate"),t.k0s(),t.j41(15,"th",3),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.nrm(18,"th",4),t.k0s()(),t.nVh(19,E,3,0,"tbody"),t.nI1(20,"async"),t.k0s()()),2&c){let R;t.R7$(5),t.JRh(t.bMT(6,6,"_i18n.IpAddress")),t.R7$(3),t.JRh(t.bMT(9,8,"_i18n.Device")),t.R7$(3),t.JRh("OS"),t.R7$(2),t.JRh(t.bMT(14,10,"_i18n.LastUsedDate")),t.R7$(3),t.JRh(t.bMT(17,12,"_i18n.ExpirationDate")),t.R7$(3),t.vxM((R=t.bMT(20,14,f.myTokenService.myToken$))?19:-1,R)}},dependencies:[a.H,$.I,h.Jj,u.D9,d.a,s.h],encapsulation:2,changeDetection:0})}return e})()},98016(P,b,i){i.d(b,{I:()=>M});var p=i(97201),m=i(4499),v=i(35547),o=i(85802);let M=(()=>{class C extends m.d{listRefreshToken(a,$="body"){const h=a?.$top,u=a?.$skip,d=a?.$search,s=a?.$filter,t=a?.$count,r=a?.$orderby,_=a?.$select,E=a?.$expand;let l=new p.rx(this.encoder);l=this.addToHttpParams(l,"$top",h,p.l2.Form,!1),l=this.addToHttpParams(l,"$skip",u,p.l2.Form,!1),l=this.addToHttpParams(l,"$search",d,p.l2.Form,!1),l=this.addToHttpParams(l,"$filter",s,p.l2.Form,!1),l=this.addToHttpParams(l,"$count",t,p.l2.Form,!1),l=this.addToHttpParams(l,"$orderby",r,p.l2.Form,!1),l=this.addToHttpParams(l,"$select",_,p.l2.Form,!1),l=this.addToHttpParams(l,"$expand",E,p.l2.Form,!1);let y=this.defaultHeaders;y=this.configuration.addCredentialToHeaders("Application","Authorization",y,"Bearer ");const e=this.configuration.selectHeaderAccept(["application/json"]);void 0!==e&&(y=y.set("Accept",e));let T="json";e&&(T=e.startsWith("text")?"text":this.configuration.isJsonMime(e)?"json":"blob");const{basePath:c,withCredentials:f}=this.configuration;return this.httpClient.request("get",`${c}/MyTokens`,{params:l.toHttpParams(),responseType:T,...f?{withCredentials:f}:{},headers:y,observe:$})}listRefreshTokenQuery(a,$="body",h=!1,u){const d=a.$top,s=a.$skip,t=a.$search,r=a.$filter,_=a.$count,E=a.$orderby,l=a.$select,y=a.$expand;let e=new p.rx(this.encoder);return e=this.addToHttpParams(e,"$top",d,p.l2.Form,!1),e=this.addToHttpParams(e,"$skip",s,p.l2.Form,!1),e=this.addToHttpParams(e,"$search",t,p.l2.Form,!1),e=this.addToHttpParams(e,"$filter",r,p.l2.Form,!1),e=this.addToHttpParams(e,"$count",_,p.l2.Form,!1),e=this.addToHttpParams(e,"$orderby",E,p.l2.Form,!1),e=this.addToHttpParams(e,"$select",l,p.l2.Form,!1),e=this.addToHttpParams(e,"$expand",y,p.l2.Form,!1),"/MyTokens?"+e.toString()}revokeToken(a,$="body"){const h=a?.id;if(null==h)throw new Error("Required parameter id was null or undefined when calling revokeToken.");let u=this.defaultHeaders;u=this.configuration.addCredentialToHeaders("Application","Authorization",u,"Bearer ");const d=this.configuration.selectHeaderAccept(["application/json"]);void 0!==d&&(u=u.set("Accept",d));let s="json";d&&(s=d.startsWith("text")?"text":this.configuration.isJsonMime(d)?"json":"blob");let t=`/MyTokens(${this.configuration.encodeParam({name:"id",value:h,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.RevokeToken`;const{basePath:r,withCredentials:_}=this.configuration;return this.httpClient.request("post",`${r}${t}`,{responseType:s,..._?{withCredentials:_}:{},headers:u,observe:$})}revokeTokenQuery(a,$="body",h=!1,u){const d=a.id;if(null==d)throw new Error("Required parameter id was null or undefined when calling revokeToken.");return`/MyTokens(${this.configuration.encodeParam({name:"id",value:d,in:"path",style:"simple",explode:!1,dataType:"number",dataFormat:"int32"})})/Pbx.RevokeToken`}static \u0275fac=(()=>{let a;return function(h){return(a||(a=v.xGo(C)))(h||C)}})();
1static \u0275prov=o.jDH({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()}}]);

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.