PageSourceSearch

https://app.agicap.com/chunk-PJOVGWV3.js

js agicap.com collected 2026-09-24 08:47:21 UTC 9,394 bytes, 1 lines download raw bytes

1import{f as Tt,g as at,h as st,i as ft}from"./chunk-WNKBKFFK.js";import"./chunk-L4PXGCP7.js";import"./chunk-KJOGXOWZ.js";import{a as Z,b as gt}from"./chunk-D3OTCRA3.js";import"./chunk-WTHSBF3U.js";import"./chunk-CEY54URA.js";import"./chunk-B7EEMR27.js";import"./chunk-CVRUGREP.js";import"./chunk-LEC52FC6.js";import"./chunk-OH4IZRPY.js";import{a as _t,g as mt}from"./chunk-P7MLC6LQ.js";import"./chunk-FTOVNDB2.js";import"./chunk-5EDQ26KT.js";import"./chunk-AIP3SJQT.js";import{a as W,b as H,i as dt}from"./chunk-SGGPLEBC.js";import"./chunk-AMGOVDX5.js";import"./chunk-WHLJTMLF.js";import{a as ot}from"./chunk-R4AAKULM.js";import{b as nt,h as St}from"./chunk-LJOH3LKE.js";import{a as Y,b as Ct}from"./chunk-GQSINUCQ.js";import"./chunk-PARDQ3CU.js";import"./chunk-IUSH46XF.js";import{f as it,g as Nt}from"./chunk-M3IGH7ZI.js";import"./chunk-UYGHA7V4.js";import{d as tt,e as At}from"./chunk-LLRRL6HD.js";import"./chunk-QVRKTPJQ.js";import"./chunk-U325GP3K.js";import"./chunk-7UODI6M6.js";import"./chunk-GGLWZJFZ.js";import"./chunk-OSSHHDUN.js";import"./chunk-BOI45ARQ.js";import"./chunk-DHTLRMX3.js";import{c as h,h as Pt}from"./chunk-DGUE55CO.js";import"./chunk-JFPPMMAG.js";import"./chunk-PSRQHKGP.js";import{j as et,k as Et}from"./chunk-DEVCCNNO.js";import"./chunk-27LEEMVH.js";import"./chunk-SLTAQ7HK.js";import"./chunk-MCX7RYIU.js";import"./chunk-5HY7BCDR.js";import{a as J,d as K,e as pt}from"./chunk-IXTBKNUN.js";import"./chunk-P6OI7H74.js";import"./chunk-NGUBRNGZ.js";import"./chunk-IWKPNJ2D.js";import"./chunk-M4OAIOX6.js";import"./chunk-N3APZBSU.js";import{g as q,i as U,j,m as lt}from"./chunk-TU3DG2QG.js";import"./chunk-OYQWHS5G.js";import"./chunk-R75YLG7M.js";import"./chunk-BVZHJMOI.js";import{$b as m,Bd as Q,C as M,Db as $,Ea as _,I as L,Ic as F,Ja as N,Ka as S,Pa as G,Q as k,U as b,Va as T,Vb as C,Wa as X,Wb as R,Xb as g,Yc as z,Zc as B,ac as o,ba as D,bc as a,cc as f,gd as A,jc as V,na as E,oc as s,qb as p,tc as w,u as y,ua as ct,v as P,vc as d}from"./chunk-DY6JDQCA.js";import{e as O}from"./chunk-TWZW5B45.js";var rt=O(()=>{});function vt(t,r){t&1&&(o(0,"div",10),f(1,"flipper-skeleton",12)(2,"flipper-skeleton",13)(3,"flipper-skeleton",14),a())}function It(t,r){if(t&1){let e=V();o(0,"h1",15),s(1,0),a(),o(2,"p",16),s(3,1),a(),o(4,"label",17)(5,"span",18),s(6,2),a(),o(7,"app-entity-picker",19),w("entityChange",function(n){N(e);let l=d();return S(l.onSelectEntity(n))})("workspaceChange",function(n){N(e);let l=d();return S(l.onSelectWorkspace(n))}),a()()}if(t&2){let e=d();p(7),m("placeholder",e.pickerPlaceholder)}}function ut(t,r){t&1&&(o(0,"p",22),s(1,4),a())}function xt(t,r){t&1&&(o(0,"p",21),s(1,5),a())}function Ot(t,r){if(t&1&&C(0,ut,2,0,"p",22)(1,xt,2,0,"p",21),t&2){let e=d(2);g(e.hasPendingInvitation()?0:1)}}function yt(t,r){t&1&&(o(0,"p",21),s(1,6),a())}function Mt(t,r){t&1&&(o(0,"h1",20),s(1,3),a(),C(2,Ot,2,1),z(3,"resolveFeatureFlag"),R(4,yt,2,0,"p",21)),t&2&&(p(2),g(B(3,1,"core.foundations.pending-invitation-context-invalid")?2:4))}function Lt(t,r){if(t&1&&(o(0,"a",11),s(1,7),a()),t&2){let e=d();m("routerLink",e.signOutLink)}}var te,kt=O(()=>{St();mt();At();Et();gt();Ct();Nt();Q();lt();Tt();ct();ft();Pt();rt();pt();dt();Q();te=(()=>{class t{constructor(){this.entitiesListStore=_(at),this.contextQueryParamsService=_(it),this.router=_(U),this.trackingService=_(nt),this.activatedRoute=_(q),this.invitationsApiService=_(ot),this.featureFlagsService=_(W),this.destroyRef=_(G),this.class="default-theme",this.guard=this.activatedRoute.snapshot.queryParamMap.get("reason")??"unknown",this.pendingInvitationLoading=T(!1),this.isLoading=A(()=>this.entitiesListStore.isEntitiesLoading()||this.pendingInvitationLoading()),this.entitiesCount=A(()=>this.entitiesListStore.allEntities().length),this.hasEntities=A(()=>this.entitiesCount()>0),this.isEntitiesLoaded$=y(this.entitiesListStore.loadEntities()),this.hasPendingInvitation$=L(()=>this.isEntitiesLoaded$.pipe(k(()=>!this.hasEntities()),E(()=>this.featureFlagsService.getFeature("core.foundations.pending-invitation-context-invalid").pipe(E(e=>e?(this.pendingInvitationLoading.set(!0),this.invitationsApiService.hasPendingInvitation().pipe(J(this.destroyRef),M({first:3e3,with:()=>P(!1)}),b(()=>P(!1)),D(()=>this.pendingInvitationLoading.set(!1)))):P(!1)))))),this.hasPendingInvitation=K(this.hasPendingInvitation$),this.isSwitching=T(!1),this.pickerPlaceholder=$localize`:@@core.context-invalid.selector.placeholder:Select an entity`,this.signOutLink=h.access.signOut,X(()=>{this.isLoading()||this.trackDisplay()})}onSelectEntity(e){this.isSwitching()||(this.trackingService.track("Click - Core - Entity not available - Entity selected"),this.resumeNavigation(this.contextQueryParamsService.createEntityQueryParams(e)))}onSelectWorkspace(e){this.isSwitching()||(this.trackingService.track("Click - Core - Entity not available - Entity selected",{type:"consolidation"}),this.resumeNavigation(this.contextQueryParamsService.createWorksp
1aceQueryParams(e)))}resumeNavigation(e){this.isSwitching.set(!0),this.router.navigate(h.root,{queryParams:e}).then(i=>{i||this.isSwitching.set(!1)})}trackDisplay(){this.hasEntities()?this.trackingService.track("Display - Core - Entity not available - Picker shown",{guard:this.guard,entitiesCount:this.entitiesCount()}):this.hasPendingInvitation()?this.trackingService.track("Display - Core - Entity not available - Pending invitation shown",{guard:this.guard}):this.trackingService.track("Display - Core - Entity not available - No entity",{guard:this.guard})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=$({type:t,selectors:[["app-context-invalid"]],hostVars:2,hostBindings:function(i,n){i&2&&F(n.class)},decls:7,vars:2,consts:()=>{let e;e=$localize`:@@core.context-invalid.selector.title␟3c7dd75406edf9fe2b66e05aebaca7579d5cb6bf␟803859240264214357: Entity no longer available `;let i;i=$localize`:@@core.context-invalid.selector.description␟639ed88183faac13172bc40702730a15fd20ec3e␟4830081663681917937: Access to the last visited entity was removed. Select another entity to continue or contact your administrator. `;let n;n=$localize`:@@core.context-invalid.selector.label␟7b2553a3b825352cee358c9f41991826b91de627␟4606901077641529124: Entity `;let l;l=$localize`:@@core.context-invalid.empty.title␟42d2cb56351472cd27fa6cea3a32f13fb83f3dfe␟4232919685996456922: No entity available `;let v;v=$localize`:@@core.context-invalid.empty.pending-invitation.description␟b6a1ecd3e93137f658fd852d6876307cd085fc8e␟2994612324583994125: An invitation to join Agicap is waiting for you. Open the invitation email you received to accept it. `;let I;I=$localize`:@@core.context-invalid.empty.description␟7a182419d10d9252208a737cfabcebc7e1370a89␟2485613606791925740: Contact an administrator to request the necessary permissions. `;let u;u=$localize`:@@core.context-invalid.empty.description␟565d359add738b9cabdcab9c12d1773c0d755af2␟6812151128466141319: Contact an administrator to request the necessary permissions. `;let x;return x=$localize`:@@core.context-invalid.back-to-sign-in.link␟c1de15b671fd9e6889f88dcc7e82c31082c2bb3a␟488513828352433821: Back to sign-in `,[e,i,n,l,v,I,u,x,["src","https://flipper-assets.agicap.com/logos/agicap-logo-black.svg","alt","Agicap",1,"agicap-logo"],["name","no-access",1,"illustration"],["data-test","context invalid loading skeleton",1,"flex","flex-col","items-center","gap-16"],["flipper-link","","data-test","context invalid back to sign in link",1,"back-to-sign-in",3,"routerLink"],["height","24px","width","220px"],["height","16px","width","320px"],["height","40px","width","240px"],["flipperText","h500","data-test","context invalid title text"],["flipperText","body","data-test","context invalid description text",1,"description"],[1,"entity-field"],["flipperText","label","data-test","context invalid entity label text"],["appearance","field","data-test","context invalid picker",3,"entityChange","workspaceChange","placeholder"],["flipperText","h500","data-test","no entity available title text"],["flipperText","body","data-test","no entity available description text",1,"description"],["flipperText","body","data-test","pending invitation description text",1,"description"]]},template:function(i,n){i&1&&(o(0,"flipper-card"),f(1,"img",8)(2,"flipper-illustration",9),C(3,vt,4,0,"div",10)(4,It,8,1)(5,Mt,5,3),C(6,Lt,2,1,"a",11),a()),i&2&&(p(3),g(n.isLoading()?3:n.hasEntities()?4:5),p(3),g(n.isLoading()?-1:6))},dependencies:[st,_t,Y,Z,tt,et,j,H],styles:["[_nghost-%COMP%]{position:absolute;inset:0;background:var(--background-dark-with-gradient);overflow:auto;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem 0}.flipper-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;width:100%;max-width:460px;padding:40px 48px;box-shadow:0 0 10px #0864cf1f}.agicap-logo[_ngcontent-%COMP%]{height:28px;margin-bottom:8px}.illustration[_ngcontent-%COMP%]{width:168px;height:auto;margin-bottom:8px}h1[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:0}.entity-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--flipper-spacing-4);align-self:stretch;text-align:start;margin-top:var(--flipper-spacing-16)}.back-to-sign-in[_ngcontent-%COMP%]{margin-top:var(--flipper-spacing-8)}"],changeDetection:0})}}return t})()});kt();export{te as ContextInvalidComponent};

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.