PageSourceSearch

https://hou.la/chunk-NKUA57QY.js

js hou.la collected 2026-09-25 03:33:36 UTC 4,927 bytes, 1 lines download raw bytes

1import{a as O}from"./chunk-HBTIAQWU.js";import{a as N}from"./chunk-HPMOSIW5.js";import{a as k}from"./chunk-IPKLJJ3K.js";import{a as T}from"./chunk-ATXEZIPJ.js";import{a as R}from"./chunk-EB6TJ75L.js";import{a as L}from"./chunk-NBMUSEX4.js";import"./chunk-AB6CKZTE.js";import"./chunk-YQZAETCE.js";import{s as A,x as V}from"./chunk-EO42E46J.js";import"./chunk-3QVSKJ3X.js";import{D as I,I as y,r as _,s as w}from"./chunk-ERUCNOOT.js";import{Hc as b,Jb as d,Qc as S,Sc as h,Vb as i,Wb as t,Xb as v,Yb as g,Zb as E,da as u,db as a,gc as c,sb as f,tc as n,uc as m,vc as s,xc as C,yb as p}from"./chunk-DBE7WQEG.js";import{g as x}from"./chunk-W7GRJBO5.js";var M=o=>["/am/workspace",o];function F(o,r){o&1&&v(0,"app-widget-loading")}function P(o,r){if(o&1&&(i(0,"tr")(1,"td")(2,"a",16),v(3,"app-widget-workspace-avatar",17),i(4,"span",18),n(5),t()()(),i(6,"td",19),n(7),S(8,"date"),t(),i(9,"td",14),n(10),t(),i(11,"td",20),n(12),t(),i(13,"td",21),n(14),t(),i(15,"td",21),n(16),t(),i(17,"td",21),n(18),t()()),o&2){let e=r.$implicit,l=c(2);a(2),d("routerLink",b(13,M,e.id)),a(),d("workspace",e)("size",32),a(2),m(e.name),a(2),s(" ",h(8,10,e.assignedAt,"dd/MM/yyyy")," "),a(3),m(l.euros(e.caCents)),a(2),s(" ",l.nombre(e.coinsTotal)," "),a(2),s(" ",l.nombre(e.coinsLive)," "),a(2),s(" ",l.nombre(e.coinsVod)," "),a(2),s(" ",l.nombre(e.coinsAutre)," ")}}function q(o,r){o&1&&(i(0,"tr")(1,"td",22),n(2," Rien encore. Prenez un compte dans le "),i(3,"a",23),n(4,"vivier"),t(),n(5,". "),t()())}function z(o,r){if(o&1&&(i(0,"tfoot")(1,"tr",18)(2,"td",24),n(3,"Total"),t(),i(4,"td",14),n(5),t(),i(6,"td",14),n(7),t(),i(8,"td",14),n(9),t(),i(10,"td",14),n(11),t(),i(12,"td",14),n(13),t()()()),o&2){let e=c(2);a(5),m(e.euros(e.totalCa)),a(2),m(e.nombre(e.totalCoins)),a(2),m(e.nombre(e.totalCoinsLive)),a(2),m(e.nombre(e.totalCoinsVod)),a(2),m(e.nombre(e.totalCoinsAutre))}}function B(o,r){if(o&1&&(g(0),i(1,"div",5)(2,"div",6)(3,"div",7)(4,"div",8)(5,"div",9),n(6," Chiffre d\u2019affaires g\xE9n\xE9r\xE9 "),t(),i(7,"div",10),n(8),t()()()(),i(9,"div",6)(10,"div",7)(11,"div",8)(12,"div",9),n(13,"Coins re\xE7us"),t(),i(14,"div",10),n(15),t(),i(16,"div",11),n(17),t()()()(),i(18,"div",6)(19,"div",7)(20,"div",8)(21,"div",9),n(22,"Comptes accompagn\xE9s"),t(),i(23,"div",10),n(24),t()()()()(),i(25,"div",12)(26,"table",13)(27,"thead")(28,"tr")(29,"th"),n(30,"Compte"),t(),i(31,"th"),n(32,"Depuis"),t(),i(33,"th",14),n(34,"CA g\xE9n\xE9r\xE9"),t(),i(35,"th",14),n(36,"Coins"),t(),i(37,"th",14),n(38,"dont live"),t(),i(39,"th",14),n(40,"dont VOD"),t(),i(41,"th",14),n(42,"dont autre"),t()()(),i(43,"tbody"),p(44,P,19,15,"tr",15)(45,q,6,0,"tr",4),t(),p(46,z,14,5,"tfoot",4),t()(),E()),o&2){let e=c();a(8),m(e.euros(e.totalCa)),a(7),m(e.nombre(e.totalCoins)),a(2),C(" ",e.nombre(e.totalCoinsLive)," en live \xB7 ",e.nombre(e.totalCoinsVod)," en VOD \xB7 ",e.nombre(e.totalCoinsAutre)," hors live et VOD "),a(7),m(e.items.length),a(20),d("ngForOf",e.items),a(),d("ngIf",!e.items.length),a(),d("ngIf",e.items.length)}}var D=class o{api=u(N);toast=u(R);nombre=k;euros=O;items=[];loading=!0;get totalCa(){return this.items.reduce((r,e)=>r+Number(e.caCents||0),0)}get totalCoins(){return this.items.reduce((r,e)=>r+Number(e.coinsTotal||0),0)}get totalCoinsLive(){return this.items.reduce((r,e)=>r+Number(e.coinsLive||0),0)}get totalCoinsVod(){return this.items.reduce((r,e)=>r+Number(e.coinsVod||0),0)}get totalCoinsAutre(){return this.items.reduce((r,e)=>r+Number(e.coinsAutre||0),0)}ngOnInit(){return x(this,null,function*(){try{this.items=yield this.api.results()}catch{this.toast.add({severity:"error",detail:"Impossible de charger vos r\xE9sultats."})}finally{this.loading=!1}})}static \u0275fac=function(e){return new(e||o)};static \u0275cmp=f({type:o,selectors:[["app-view-am-resultats"]],decls:11,vars:2,consts:[[1,"p-4"],[1,"mb-3"],[1,"h4","mb-1"],[1,"text-muted","mb-0","small"],[4,"ngIf"],[1,"row","g-3","mb-4"],[1,"col-12","col-md-4"],[1,"card","h-100"],[1,"card-body"],[1,"text-muted","small"],[1,"h3","mb-0"],[1,"text-muted","small","mt-1"],[1,"table-responsive"],[1,"table","table-hover","align-middle"],[1,"text-end"],[4,"ngFor","ngForOf"],[1,"d-flex","align-items-center","gap-2","text-decoration-none",3,"routerLink"],[3,"workspace","size"],[1,"fw-semibold"],[1,"small"],[1,"text-end","fw-semibold"],[1,"text-end","text-muted"],["colspan","7",1,"text-center","text-muted","py-4"],["routerLink","/am/vivier"],["colspan","2"]],template:function(e,l){e&1&&(i(0,"div",0)(1,"div",1)(2,"h2",2),n(3,"Mes r\xE9sultats"),t(),i(4,"p",3),n(5," Ce qui a \xE9t\xE9 g\xE9n\xE9r\xE9 "),i(6,"strong"),n(7,"depuis"),t(),n(8," chaque prise en charge, jamais avant. C\u2019est le chiffre qui sert de base \xE0 la r\xE9mun\xE9ration. "),t()(),p(9,F,1,0,"app-widget-loading",4)(10,B,47,9,"ng-container",4),t()),e&2&&(a(9),d("ngIf",l.loading),a(),d("ngIf",!l.loading))},dependencies:[y,_,w,I,V,A,L,T],encapsulation:2})};export{D as ViewAmResultatsComponent};

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.