PageSourceSearch

https://sociallab.sa/chunk-X69ostbr.js

js sociallab.sa collected 2026-09-24 13:29:19 UTC 4,914 bytes, 1 lines download raw bytes

1import {q as qi}from'./chunk-CVw3kVav.js';import'./chunk-B3u5vfS_.js';import'./chunk-UaF3bGu1.js';import {d as di}from'./chunk-DJhf42fO.js';import'./chunk-XqdxMd3C.js';import'./chunk-MS7fByFm.js';import'./chunk-CDPt3Otv.js';import'./chunk-sYCDWZwQ.js';import'./chunk-CHOPy0Xy.js';import'./chunk-CUDPYCdX.js';import'./chunk-CrUA5_OB.js';import'./chunk-AtRZkn00.js';import'./chunk-CuIv_2Yo.js';import'./chunk-BuBQ1bUO.js';import'./chunk-DuMamgHU.js';import'./chunk-B3ISy_w0.js';import {H,G,bO as Gt,K as Kb,P as Pg,V as Vg,_ as _D,aO as oD,aP as lD,m as dn,t as td,n as Vw,B as Vs,r as il,T as Tt,a3 as qd,cr as pe,d5 as Pe,i as ea,a6 as lA,k as Kv,l as b0,L as L0,Y as Yx,o as nk,p as tC,q as bC,s as sv,N as NC,X as XC,u as XD,v as rM,F as Fb,w as t1,y as A1,c$ as N_,cS as z_,cT as T1,z as gS,J as NS,Z as ZS,M as EI,Q as us,R as ms,S as HI,U as ZI,$ as Dn,a0 as kE,a1 as Jv,a2 as go,a4 as YE,a5 as OT,a7 as mt,a8 as cy,aB as Qm,ai as ay,bC as tS,ag as _C,aa as Xs,ad as hd,aT as l_,ac as V_,ae as fS,ak as Dd,al as hS}from'./main-CTPND76J.js';import {InvoicesListComponent as Qn}from'./chunk-zGvjkZOF.js';import'./chunk-Da_Nfldo.js';import'./chunk-CSMDl5mW.js';import'./chunk-uLrwdER6.js';import'./chunk-yNGvWcTC.js';import'./chunk-BbHm1W5v.js';import'./chunk-DQrATr21.js';import'./chunk-C5d18HOX.js';import'./chunk-C0FlMv5v.js';import'./chunk-DGo7Z0iu.js';import'./chunk-DD2sjzT3.js';import'./chunk-C79GQXs3.js';import'./chunk-BGYiJIld.js';import'./chunk-DmMVvtGW.js';import'./chunk-B0wrQYKy.js';import'./chunk--hUsjbHa.js';import'./chunk-D3crpTkA.js';import'./chunk-CjNSgPDz.js';import'./chunk-C2EVnWPI.js';import'./chunk-CC_dzDIF.js';import {c as ce}from'./chunk-Cha4_V9g.js';import'./chunk-yuXVPJRt.js';import'./chunk-CLFEoJNz.js';import'./chunk-CAH8VGMK.js';import'./chunk-DEs7_uwk.js';import'./chunk-BfgFC6r8.js';import'./chunk-C-PyjSCj.js';var vt=()=>["Subscriptions shows what is active and when it renews.","Receipts holds your invoices \u2014 open one to download or pay it."],xt=()=>["Read_Subscriptions"];function Ct(t,f){t&1&&(Xs(0,"div",9)(1,"mat-icon",10),V_(2,"list"),hd()(),V_(3),fS(4,"translate")),t&2&&(_C(3),Dd(" ",hS(4,1,"Subscriptions")," "));}function _t(t,f){t&1&&(Xs(0,"div",9)(1,"mat-icon",10),V_(2,"receipt"),hd()(),V_(3),fS(4,"translate")),t&2&&(_C(3),Dd(" ",hS(4,1,"Receipts")," "));}function yt(t,f){if(t&1&&(Xs(0,"mat-card",2)(1,"mat-card-content",3)(2,"mat-tab-group",4)(3,"mat-tab"),Qm(4,Ct,5,3,"ng-template",5),Xs(5,"mat-card-content",6),cy(6,"app-subscriptions-list",7),hd()(),Xs(7,"mat-tab"),Qm(8,_t,5,3,"ng-template",5),Xs(9,"mat-card-content",6),cy(10,"app-invoices-list",8),hd()()()()()),t&2){let i=l_();_C(6),ay("subscriptions",i.subscriptions)("isAdmin",false)("showBusinessName",false),_C(4),ay("loadMode","myInvoices")("isAdmin",false);}}var _i=(()=>{class t{constructor(i,o,b){this.subscriptionService=i,this.errorService=o,this.subscriptionListRefresh=b,this.subscriptions=[];}
1ngOnInit(){this.loadSubscriptions(),this.refreshSub=this.subscriptionListRefresh.onRefresh.subscribe(()=>this.loadSubscriptions());}ngOnDestroy(){this.refreshSub?.unsubscribe();}loadSubscriptions(){this.subscriptionService.getMySubscriptions().subscribe({next:i=>{i?.succeeded&&(this.subscriptions=i.data||[]);},error:i=>{this.errorService.setError(i,"Error while getting the data");}});}static{this.\u0275fac=function(o){return new(o||t)(H(G),H(Gt),H(di))};}static{this.\u0275cmp=Kb({type:t,selectors:[["app-subscriptions-list-client"]],decls:2,vars:4,consts:[["helpKey","my-subscriptions","intro","What you are subscribed to and what you have been billed, in two tabs.",3,"steps"],["class","cardWithShadow theme-card",4,"ngxPermissionsOnly"],[1,"cardWithShadow","theme-card"],[1,"p-0"],["mat-stretch-tabs","false","animationDuration","0ms"],["mat-tab-label",""],[1,"p-y-24"],[3,"subscriptions","isAdmin","showBusinessName"],[3,"loadMode","isAdmin"],[1,"d-flex","align-items-center"],[1,"icon-18"]],template:function(o,b){o&1&&(cy(0,"app-page-help",0),Qm(1,yt,11,5,"mat-card",1)),o&2&&(ay("steps",tS(2,vt)),_C(),ay("ngxPermissionsOnly",tS(3,xt)));},dependencies:[ce,Pg,Vg,_D,oD,lD,dn,td,Vw,Vs,il,Tt,qd,pe,Pe,ea,lA,qi,Qn,Kv,b0,L0,Yx,nk,tC,bC,sv,NC,XC,XD,rM,Fb,t1,A1,N_,z_,T1,gS,NS,ZS,EI,us,ms,HI,ZI,Dn,kE,Jv,go,YE,OT,mt],styles:[".status-badge[_ngcontent-%COMP%]{padding:4px 12px;border-radius:var(--radius-xl);font-size:var(--font-size-sm);font-weight:600;display:inline-block;color:#fff;min-width:80px;text-align:center;text-transform:uppercase}.badge-active[_ngcontent-%COMP%]{background-color:var(--color-primary)}.badge-canceled[_ngcontent-%COMP%]{background-color:var(--color-error)}.badge-expired[_ngcontent-%COMP%]{background-color:#ffc107;color:var(--color-text)}.badge-unknown[_ngcontent-%COMP%]{background-color:var(--color-text-muted)}.badge-future[_ngcontent-%COMP%]{background-color:#4589c4}"],changeDetection:1});}}return t})();export{_i as SubscriptionsListClientComponent};

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.