@whoz-oss/coday-factory-cockpit 0.0.0-workstream-forge.310 → 0.0.0-workstream-forge.311

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1513 +0,0 @@
1
- import {h,p as pn$1,Q as Qe$1,q as lT,aL as P,ae as I,aN as mU,bA as wt,y as yb,$ as $s,x as xe,N as Nt,H as HW,U as UW,bB as zM,P as Pt,I as It,M as Me$1,S as Se$1,bC as bi,Y as Y8,Z as Z8,bD as Bi$1,bE as U,bF as le,bG as Ai$1,bH as ai,W as Wr,a as Hr,c as ce,o as ot$1,m as ma$1,V as VC,b as Id,e as ey,g as Yg,d as eC,f as ci,bI as wd,by as $g,bJ as Cd,i as eT,r as ri,j as Zg,a8 as Sd,t as tC,u as ui,k as hy,l as oT,aU as KC,aq as Ey,bK as _t$1,bL as se,aS as iy,aT as vC,ar as vb,av as yr,aw as XW,az as M,bM as dt$1,aY as Cn$1,b1 as Z,bN as Pv,bO as Jb,au as qe,aC as Ec,aD as A,bP as po,b7 as Oe,bQ as _t$2,X as y$1,ba as rt$1,br as ya$1,bb as wt$1,L as he,R as ce$1,b3 as mb,T as no,bR as Vt,bS as Ac,b2 as Er,bT as pm,bU as Kr,_ as sr,bV as dn$1,a0 as ot$2,bW as fn$1,bc as R,bx as Xg,s as ir,G as It$1,bd as ny,be as gC,bf as yC,b4 as Ly,bh as uf,bg as ue,bX as N3,bi as so,bj as Ht,bk as pb,bY as Qg,O as Oy,aM as cy,A as pC,J as QC,bo as bC,b5 as iM,bZ as Qn$1,aZ as Nc,b_ as hf,bw as Bd,bv as Es,b$ as fU,aX as j,c0 as Df,c1 as O,b6 as mf,c2 as fb,c3 as K,c4 as tc,a5 as di,bp as ry,bs as rh,aP as Bt,c5 as Fy,c6 as De,c7 as A$1,c8 as Pe$1,bl as ka$1,c9 as ut$1,ca as bn$1,cb as Re$1,cc as Z$1,cd as Qb,ce as eD,cf as Kb,cg as Yb,ch as Yr,ci as Wr$1,cj as pn$2,ck as Zl}from'./main-T4S6RIJZ.js';import {B as Be,P as Pe}from'./chunk-C4tkfNSW.js';import {y}from'./chunk-DtYNvLBh.js';var Li=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],zi=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function vn(i,a){i&1&&(ma$1(0,"span",3),ot$2(1,1),Id());}function yn(i,a){i&1&&(ma$1(0,"span",6),ot$2(1,2),Id());}function bn(i,a){i&1&&(ma$1(0,"span",3),ot$2(1,1),ma$1(2,"span",7),rh(),ma$1(3,"svg",8),Yg(4,"path",9),Id()()());}function wn(i,a){i&1&&(ma$1(0,"span",6),ot$2(1,2),Id());}var Cn=`.mdc-evolution-chip,
2
- .mdc-evolution-chip__cell,
3
- .mdc-evolution-chip__action {
4
- display: inline-flex;
5
- align-items: center;
6
- }
7
-
8
- .mdc-evolution-chip {
9
- position: relative;
10
- max-width: 100%;
11
- }
12
-
13
- .mdc-evolution-chip__cell,
14
- .mdc-evolution-chip__action {
15
- height: 100%;
16
- }
17
-
18
- .mdc-evolution-chip__cell--primary {
19
- flex-basis: 100%;
20
- overflow-x: hidden;
21
- }
22
-
23
- .mdc-evolution-chip__cell--trailing {
24
- flex: 1 0 auto;
25
- }
26
-
27
- .mdc-evolution-chip__action {
28
- align-items: center;
29
- background: none;
30
- border: none;
31
- box-sizing: content-box;
32
- cursor: pointer;
33
- display: inline-flex;
34
- justify-content: center;
35
- outline: none;
36
- padding: 0;
37
- text-decoration: none;
38
- color: inherit;
39
- }
40
-
41
- .mdc-evolution-chip__action--presentational {
42
- cursor: auto;
43
- }
44
-
45
- .mdc-evolution-chip--disabled,
46
- .mdc-evolution-chip__action:disabled {
47
- pointer-events: none;
48
- }
49
- @media (forced-colors: active) {
50
- .mdc-evolution-chip--disabled,
51
- .mdc-evolution-chip__action:disabled {
52
- forced-color-adjust: none;
53
- }
54
- }
55
-
56
- .mdc-evolution-chip__action--primary {
57
- font: inherit;
58
- letter-spacing: inherit;
59
- white-space: inherit;
60
- overflow-x: hidden;
61
- }
62
- .mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before {
63
- border-width: var(--mat-chip-outline-width, 1px);
64
- border-radius: var(--mat-chip-container-shape-radius, 8px);
65
- box-sizing: border-box;
66
- content: "";
67
- height: 100%;
68
- left: 0;
69
- position: absolute;
70
- pointer-events: none;
71
- top: 0;
72
- width: 100%;
73
- z-index: 1;
74
- border-style: solid;
75
- }
76
- .mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
77
- padding-left: 12px;
78
- padding-right: 12px;
79
- }
80
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
81
- padding-left: 0;
82
- padding-right: 12px;
83
- }
84
- [dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
85
- padding-left: 12px;
86
- padding-right: 0;
87
- }
88
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before {
89
- border-color: var(--mat-chip-outline-color, var(--mat-sys-outline));
90
- }
91
- .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before {
92
- border-color: var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant));
93
- }
94
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before {
95
- border-color: var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
96
- }
97
- .mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before {
98
- border-width: var(--mat-chip-flat-selected-outline-width, 0);
99
- }
100
- .mat-mdc-basic-chip .mdc-evolution-chip__action--primary {
101
- font: inherit;
102
- }
103
- .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
104
- padding-left: 0;
105
- padding-right: 12px;
106
- }
107
- [dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
108
- padding-left: 12px;
109
- padding-right: 0;
110
- }
111
- .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
112
- padding-left: 12px;
113
- padding-right: 0;
114
- }
115
- [dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
116
- padding-left: 0;
117
- padding-right: 12px;
118
- }
119
- .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
120
- padding-left: 0;
121
- padding-right: 0;
122
- }
123
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
124
- padding-left: 0;
125
- padding-right: 0;
126
- }
127
- [dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
128
- padding-left: 0;
129
- padding-right: 0;
130
- }
131
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
132
- padding-left: 0;
133
- padding-right: 12px;
134
- }
135
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
136
- padding-left: 12px;
137
- padding-right: 0;
138
- }
139
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
140
- padding-left: 0;
141
- padding-right: 0;
142
- }
143
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
144
- padding-left: 0;
145
- padding-right: 0;
146
- }
147
-
148
- .mdc-evolution-chip__action--secondary {
149
- position: relative;
150
- overflow: visible;
151
- }
152
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary {
153
- color: var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant));
154
- }
155
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary {
156
- color: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface));
157
- }
158
- .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
159
- padding-left: 8px;
160
- padding-right: 8px;
161
- }
162
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
163
- padding-left: 8px;
164
- padding-right: 8px;
165
- }
166
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
167
- padding-left: 8px;
168
- padding-right: 8px;
169
- }
170
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
171
- padding-left: 8px;
172
- padding-right: 8px;
173
- }
174
-
175
- .mdc-evolution-chip__text-label {
176
- -webkit-user-select: none;
177
- user-select: none;
178
- white-space: nowrap;
179
- text-overflow: ellipsis;
180
- overflow: hidden;
181
- }
182
- .mat-mdc-standard-chip .mdc-evolution-chip__text-label {
183
- font-family: var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));
184
- line-height: var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));
185
- font-size: var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));
186
- font-weight: var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));
187
- letter-spacing: var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking));
188
- }
189
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
190
- color: var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant));
191
- }
192
- .mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
193
- color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
194
- }
195
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label {
196
- color: var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
197
- }
198
-
199
- .mdc-evolution-chip__graphic {
200
- align-items: center;
201
- display: inline-flex;
202
- justify-content: center;
203
- overflow: hidden;
204
- pointer-events: none;
205
- position: relative;
206
- flex: 1 0 auto;
207
- }
208
- .mat-mdc-standard-chip .mdc-evolution-chip__graphic {
209
- width: var(--mat-chip-with-avatar-avatar-size, 24px);
210
- height: var(--mat-chip-with-avatar-avatar-size, 24px);
211
- font-size: var(--mat-chip-with-avatar-avatar-size, 24px);
212
- }
213
- .mdc-evolution-chip--selecting .mdc-evolution-chip__graphic {
214
- transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
215
- }
216
- .mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic {
217
- width: 0;
218
- }
219
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
220
- padding-left: 6px;
221
- padding-right: 6px;
222
- }
223
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
224
- padding-left: 4px;
225
- padding-right: 8px;
226
- }
227
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
228
- padding-left: 8px;
229
- padding-right: 4px;
230
- }
231
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
232
- padding-left: 6px;
233
- padding-right: 6px;
234
- }
235
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
236
- padding-left: 4px;
237
- padding-right: 8px;
238
- }
239
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
240
- padding-left: 8px;
241
- padding-right: 4px;
242
- }
243
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic {
244
- padding-left: 0;
245
- }
246
-
247
- .mdc-evolution-chip__checkmark {
248
- position: absolute;
249
- opacity: 0;
250
- top: 50%;
251
- left: 50%;
252
- height: 20px;
253
- width: 20px;
254
- }
255
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark {
256
- color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
257
- }
258
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark {
259
- color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
260
- }
261
- .mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark {
262
- transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
263
- transform: translate(-75%, -50%);
264
- }
265
- .mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
266
- transform: translate(-50%, -50%);
267
- opacity: 1;
268
- }
269
-
270
- .mdc-evolution-chip__checkmark-svg {
271
- display: block;
272
- }
273
-
274
- .mdc-evolution-chip__checkmark-path {
275
- stroke-width: 2px;
276
- stroke-dasharray: 29.7833385;
277
- stroke-dashoffset: 29.7833385;
278
- stroke: currentColor;
279
- }
280
- .mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path {
281
- transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
282
- }
283
- .mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path {
284
- stroke-dashoffset: 0;
285
- }
286
- @media (forced-colors: active) {
287
- .mdc-evolution-chip__checkmark-path {
288
- stroke: CanvasText !important;
289
- }
290
- }
291
-
292
- .mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing {
293
- height: 18px;
294
- width: 18px;
295
- font-size: 18px;
296
- }
297
- .mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove {
298
- opacity: calc(var(--mat-chip-trailing-action-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
299
- }
300
- .mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus {
301
- opacity: calc(var(--mat-chip-trailing-action-focus-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
302
- }
303
-
304
- .mat-mdc-standard-chip {
305
- border-radius: var(--mat-chip-container-shape-radius, 8px);
306
- height: var(--mat-chip-container-height, 32px);
307
- }
308
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {
309
- background-color: var(--mat-chip-elevated-container-color, transparent);
310
- }
311
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled {
312
- background-color: var(--mat-chip-elevated-disabled-container-color);
313
- }
314
- .mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) {
315
- background-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
316
- }
317
- .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled {
318
- background-color: var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
319
- }
320
- @media (forced-colors: active) {
321
- .mat-mdc-standard-chip {
322
- outline: solid 1px;
323
- }
324
- }
325
-
326
- .mat-mdc-standard-chip .mdc-evolution-chip__icon--primary {
327
- border-radius: var(--mat-chip-with-avatar-avatar-shape-radius, 24px);
328
- width: var(--mat-chip-with-icon-icon-size, 18px);
329
- height: var(--mat-chip-with-icon-icon-size, 18px);
330
- font-size: var(--mat-chip-with-icon-icon-size, 18px);
331
- }
332
- .mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary {
333
- opacity: 0;
334
- }
335
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary {
336
- color: var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant));
337
- }
338
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary {
339
- color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
340
- }
341
-
342
- .mat-mdc-chip-highlighted {
343
- --mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
344
- --mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
345
- --mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
346
- --mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0);
347
- }
348
-
349
- .mat-mdc-chip-focus-overlay {
350
- background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
351
- }
352
- .mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay {
353
- background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
354
- }
355
- .mat-mdc-chip:hover .mat-mdc-chip-focus-overlay {
356
- background: var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));
357
- opacity: var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
358
- }
359
- .mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay {
360
- background: var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));
361
- opacity: var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
362
- }
363
- .mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay {
364
- background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
365
- opacity: var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
366
- }
367
- .mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay {
368
- background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
369
- opacity: var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
370
- }
371
-
372
- .mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar {
373
- opacity: var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38);
374
- }
375
-
376
- .mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
377
- opacity: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38);
378
- }
379
-
380
- .mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
381
- opacity: var(--mat-chip-with-icon-disabled-icon-opacity, 0.38);
382
- }
383
-
384
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled {
385
- opacity: var(--mat-chip-disabled-container-opacity, 1);
386
- }
387
- .mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing {
388
- color: var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container));
389
- }
390
- .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
391
- color: var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface));
392
- }
393
-
394
- .mat-mdc-chip-edit, .mat-mdc-chip-remove {
395
- opacity: var(--mat-chip-trailing-action-opacity, 1);
396
- }
397
- .mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus {
398
- opacity: var(--mat-chip-trailing-action-focus-opacity, 1);
399
- }
400
- .mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
401
- background-color: var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant));
402
- }
403
- .mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after {
404
- opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
405
- }
406
- .mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after {
407
- opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
408
- }
409
-
410
- .mat-mdc-chip-selected .mat-mdc-chip-remove::after,
411
- .mat-mdc-chip-highlighted .mat-mdc-chip-remove::after {
412
- background-color: var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container));
413
- }
414
-
415
- .mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after {
416
- opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
417
- }
418
- .mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after {
419
- opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
420
- }
421
-
422
- .mat-mdc-standard-chip {
423
- -webkit-tap-highlight-color: transparent;
424
- }
425
- .mat-mdc-standard-chip .mat-mdc-chip-graphic,
426
- .mat-mdc-standard-chip .mat-mdc-chip-trailing-icon {
427
- box-sizing: content-box;
428
- }
429
- .mat-mdc-standard-chip._mat-animation-noopable,
430
- .mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,
431
- .mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,
432
- .mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path {
433
- transition-duration: 1ms;
434
- animation-duration: 1ms;
435
- }
436
-
437
- .mat-mdc-chip-focus-overlay {
438
- top: 0;
439
- left: 0;
440
- right: 0;
441
- bottom: 0;
442
- position: absolute;
443
- pointer-events: none;
444
- opacity: 0;
445
- border-radius: inherit;
446
- transition: opacity 150ms linear;
447
- }
448
- ._mat-animation-noopable .mat-mdc-chip-focus-overlay {
449
- transition: none;
450
- }
451
- .mat-mdc-basic-chip .mat-mdc-chip-focus-overlay {
452
- display: none;
453
- }
454
-
455
- .mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple {
456
- top: 0;
457
- left: 0;
458
- right: 0;
459
- bottom: 0;
460
- position: absolute;
461
- pointer-events: none;
462
- border-radius: inherit;
463
- }
464
-
465
- .mat-mdc-chip-avatar {
466
- text-align: center;
467
- line-height: 1;
468
- color: var(--mat-chip-with-icon-icon-color, currentColor);
469
- }
470
-
471
- .mat-mdc-chip {
472
- position: relative;
473
- z-index: 0;
474
- }
475
-
476
- .mat-mdc-chip-action-label {
477
- text-align: left;
478
- z-index: 1;
479
- }
480
- [dir=rtl] .mat-mdc-chip-action-label {
481
- text-align: right;
482
- }
483
- .mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label {
484
- position: relative;
485
- }
486
- .mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator {
487
- position: absolute;
488
- top: 0;
489
- right: 0;
490
- bottom: 0;
491
- left: 0;
492
- pointer-events: none;
493
- }
494
- .mat-mdc-chip-action-label .mat-focus-indicator::before {
495
- margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
496
- }
497
-
498
- .mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before {
499
- margin: calc(var(--mat-focus-indicator-border-width, 3px) * -1);
500
- left: 8px;
501
- right: 8px;
502
- }
503
- .mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
504
- content: "";
505
- display: block;
506
- opacity: 0;
507
- position: absolute;
508
- top: -3px;
509
- bottom: -3px;
510
- left: 5px;
511
- right: 5px;
512
- border-radius: 50%;
513
- box-sizing: border-box;
514
- padding: 12px;
515
- margin: -12px;
516
- background-clip: content-box;
517
- }
518
- .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
519
- width: 18px;
520
- height: 18px;
521
- font-size: 18px;
522
- box-sizing: content-box;
523
- }
524
-
525
- .mat-chip-edit-input {
526
- cursor: text;
527
- display: inline-block;
528
- color: inherit;
529
- outline: 0;
530
- }
531
-
532
- @media (forced-colors: active) {
533
- .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) {
534
- outline-width: 3px;
535
- }
536
- }
537
-
538
- .mat-mdc-chip-action:focus-visible .mat-focus-indicator::before {
539
- content: "";
540
- }
541
-
542
- .mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
543
- min-height: fit-content;
544
- }
545
-
546
- img.mdc-evolution-chip__icon {
547
- min-height: 0;
548
- }
549
- `;var ji=["*"],Dn=`.mat-mdc-chip-set {
550
- display: flex;
551
- }
552
- .mat-mdc-chip-set:focus {
553
- outline: none;
554
- }
555
- .mat-mdc-chip-set .mdc-evolution-chip-set__chips {
556
- min-width: 100%;
557
- margin-left: -8px;
558
- margin-right: 0;
559
- }
560
- .mat-mdc-chip-set .mdc-evolution-chip {
561
- margin: 4px 0 4px 8px;
562
- }
563
- [dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips {
564
- margin-left: 0;
565
- margin-right: -8px;
566
- }
567
- [dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip {
568
- margin-left: 0;
569
- margin-right: 8px;
570
- }
571
-
572
- .mdc-evolution-chip-set__chips {
573
- display: flex;
574
- flex-flow: wrap;
575
- min-width: 0;
576
- }
577
-
578
- .mat-mdc-chip-set-stacked {
579
- flex-direction: column;
580
- align-items: flex-start;
581
- }
582
- .mat-mdc-chip-set-stacked .mat-mdc-chip {
583
- width: 100%;
584
- }
585
- .mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic {
586
- flex-grow: 0;
587
- }
588
- .mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary {
589
- flex-basis: 100%;
590
- justify-content: start;
591
- }
592
-
593
- input.mat-mdc-chip-input {
594
- flex: 1 0 150px;
595
- margin-left: 8px;
596
- }
597
- [dir=rtl] input.mat-mdc-chip-input {
598
- margin-left: 0;
599
- margin-right: 8px;
600
- }
601
- .mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder {
602
- opacity: 1;
603
- }
604
- .mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder {
605
- opacity: 1;
606
- }
607
- .mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder {
608
- opacity: 1;
609
- }
610
- .mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder {
611
- opacity: 1;
612
- }
613
- .mat-mdc-chip-set + input.mat-mdc-chip-input {
614
- margin-left: 0;
615
- margin-right: 0;
616
- }
617
- `,ot=new y$1("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Ai=new y$1("MatChipAvatar"),Ni=new y$1("MatChipTrailingIcon"),Hi=new y$1("MatChipEdit"),Bi=new y$1("MatChipRemove"),rt=new y$1("MatChip"),Vi=(()=>{class i{_elementRef=h(ue);_parentChip=h(rt);_isPrimary=true;_isLeading=false;get disabled(){return this._disabled||this._parentChip?.disabled||false}set disabled(e){this._disabled=e;}_disabled=false;tabIndex=-1;_allowFocusWhenDisabled=false;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}constructor(){h(Ht).load(pb),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button");}focus(){this._elementRef.nativeElement.focus();}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","matChipContent",""]],hostAttrs:[1,"mat-mdc-chip-action","mdc-evolution-chip__action","mdc-evolution-chip__action--presentational"],hostVars:8,hostBindings:function(t,n){t&2&&(ir("disabled",n._getDisabledAttribute())("aria-disabled",n.disabled),It$1("mdc-evolution-chip__action--primary",n._isPrimary)("mdc-evolution-chip__action--secondary",!n._isPrimary)("mdc-evolution-chip__action--trailing",!n._isPrimary&&!n._isLeading));},inputs:{disabled:[2,"disabled","disabled",wt$1],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:Bd(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return i})(),qi=(()=>{class i extends Vi{_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled?null:this.tabIndex.toString()}_handleClick(e){!this.disabled&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction());}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction());}static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["","matChipAction",""]],hostVars:3,hostBindings:function(t,n){t&1&&ey("click",function(r){return n._handleClick(r)})("keydown",function(r){return n._handleKeydown(r)}),t&2&&(ir("tabindex",n._getTabindex()),It$1("mdc-evolution-chip__action--presentational",false));},features:[Kr]})}return i})();var it=(()=>{class i{_changeDetectorRef=h(Ly);_elementRef=h(ue);_tagName=h(fU);_ngZone=h(j);_focusMonitor=h(uf);_globalRippleOptions=h(Df,{optional:true});_document=h(O);_onFocus=new Z;_onBlur=new Z;_isBasicChip=false;role=null;_hasFocusInternal=false;_pendingFocus=false;_actionChanges;_animationsDisabled=so();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=h(mf).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=false;_hadFocusOnRemove=false;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e;}_value;color;removable=true;highlighted=false;disableRipple=false;get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e;}_disabled=false;removed=new Oe;destroyed=new Oe;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=h(fb);_injector=h(K);constructor(){let e=h(Ht);e.load(pb),e.load(tc),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()});}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName;}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=false,this.focus());}ngAfterContentInit(){this._actionChanges=Jb(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck());}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled());}ngOnDestroy(){this.destroyed.emit({chip:this}),this.destroyed.complete(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe();}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}));}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return !!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove());}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=true);}_getSourceAction(e){return this._getActions().find(t=>{let n=t._elementRef.nativeElement;return n===e||n.contains(e)})}_getActions(){let e=[];return this.editIcon&&e.push(this.editIcon),this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),e}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().length>0}_edit(e){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,true).subscribe(e=>{let t=e!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))));});}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,n,o){if(t&1&&ny(o,Ai,5)(o,Hi,5)(o,Ni,5)(o,Bi,5)(o,Ai,5)(o,Ni,5)(o,Hi,5)(o,Bi,5),t&2){let r;gC(r=yC())&&(n.leadingIcon=r.first),gC(r=yC())&&(n.editIcon=r.first),gC(r=yC())&&(n.trailingIcon=r.first),gC(r=yC())&&(n.removeIcon=r.first),gC(r=yC())&&(n._allLeadingIcons=r),gC(r=yC())&&(n._allTrailingIcons=r),gC(r=yC())&&(n._allEditIcons=r),gC(r=yC())&&(n._allRemoveIcons=r);}},viewQuery:function(t,n){if(t&1&&ry(qi,5),t&2){let o;gC(o=yC())&&(n.primaryAction=o.first);}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(t,n){t&1&&ey("keydown",function(r){return n._handleKeydown(r)}),t&2&&(Xg("id",n.id),ir("role",n.role)("aria-label",n.ariaLabel),di("mat-"+(n.color||"primary")),It$1("mdc-evolution-chip",!n._isBasicChip)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",n.leadingIcon)("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-basic-chip",n._isBasicChip)("mat-mdc-standard-chip",!n._isBasicChip)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon())("_mat-animation-noopable",n._animationsDisabled));},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",wt$1],highlighted:[2,"highlighted","highlighted",wt$1],disableRipple:[2,"disableRipple","disableRipple",wt$1],disabled:[2,"disabled","disabled",wt$1]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Ey([{provide:rt,useExisting:i}])],ngContentSelectors:zi,decls:8,vars:2,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipContent",""],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,n){t&1&&(sr(Li),Yg(0,"span",0),ma$1(1,"span",1)(2,"span",2),ci(3,vn,2,0,"span",3),ma$1(4,"span",4),ot$2(5),Yg(6,"span",5),Id()()(),ci(7,yn,2,0,"span",6)),t&2&&(ri(3),ui(n.leadingIcon?3:-1),ri(4),ui(n._hasTrailingIcon()?7:-1));},dependencies:[Vi],styles:[`.mdc-evolution-chip,
618
- .mdc-evolution-chip__cell,
619
- .mdc-evolution-chip__action {
620
- display: inline-flex;
621
- align-items: center;
622
- }
623
-
624
- .mdc-evolution-chip {
625
- position: relative;
626
- max-width: 100%;
627
- }
628
-
629
- .mdc-evolution-chip__cell,
630
- .mdc-evolution-chip__action {
631
- height: 100%;
632
- }
633
-
634
- .mdc-evolution-chip__cell--primary {
635
- flex-basis: 100%;
636
- overflow-x: hidden;
637
- }
638
-
639
- .mdc-evolution-chip__cell--trailing {
640
- flex: 1 0 auto;
641
- }
642
-
643
- .mdc-evolution-chip__action {
644
- align-items: center;
645
- background: none;
646
- border: none;
647
- box-sizing: content-box;
648
- cursor: pointer;
649
- display: inline-flex;
650
- justify-content: center;
651
- outline: none;
652
- padding: 0;
653
- text-decoration: none;
654
- color: inherit;
655
- }
656
-
657
- .mdc-evolution-chip__action--presentational {
658
- cursor: auto;
659
- }
660
-
661
- .mdc-evolution-chip--disabled,
662
- .mdc-evolution-chip__action:disabled {
663
- pointer-events: none;
664
- }
665
- @media (forced-colors: active) {
666
- .mdc-evolution-chip--disabled,
667
- .mdc-evolution-chip__action:disabled {
668
- forced-color-adjust: none;
669
- }
670
- }
671
-
672
- .mdc-evolution-chip__action--primary {
673
- font: inherit;
674
- letter-spacing: inherit;
675
- white-space: inherit;
676
- overflow-x: hidden;
677
- }
678
- .mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before {
679
- border-width: var(--mat-chip-outline-width, 1px);
680
- border-radius: var(--mat-chip-container-shape-radius, 8px);
681
- box-sizing: border-box;
682
- content: "";
683
- height: 100%;
684
- left: 0;
685
- position: absolute;
686
- pointer-events: none;
687
- top: 0;
688
- width: 100%;
689
- z-index: 1;
690
- border-style: solid;
691
- }
692
- .mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
693
- padding-left: 12px;
694
- padding-right: 12px;
695
- }
696
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
697
- padding-left: 0;
698
- padding-right: 12px;
699
- }
700
- [dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
701
- padding-left: 12px;
702
- padding-right: 0;
703
- }
704
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before {
705
- border-color: var(--mat-chip-outline-color, var(--mat-sys-outline));
706
- }
707
- .mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before {
708
- border-color: var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant));
709
- }
710
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before {
711
- border-color: var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
712
- }
713
- .mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before {
714
- border-width: var(--mat-chip-flat-selected-outline-width, 0);
715
- }
716
- .mat-mdc-basic-chip .mdc-evolution-chip__action--primary {
717
- font: inherit;
718
- }
719
- .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
720
- padding-left: 0;
721
- padding-right: 12px;
722
- }
723
- [dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
724
- padding-left: 12px;
725
- padding-right: 0;
726
- }
727
- .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
728
- padding-left: 12px;
729
- padding-right: 0;
730
- }
731
- [dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
732
- padding-left: 0;
733
- padding-right: 12px;
734
- }
735
- .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
736
- padding-left: 0;
737
- padding-right: 0;
738
- }
739
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
740
- padding-left: 0;
741
- padding-right: 0;
742
- }
743
- [dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
744
- padding-left: 0;
745
- padding-right: 0;
746
- }
747
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
748
- padding-left: 0;
749
- padding-right: 12px;
750
- }
751
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
752
- padding-left: 12px;
753
- padding-right: 0;
754
- }
755
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
756
- padding-left: 0;
757
- padding-right: 0;
758
- }
759
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
760
- padding-left: 0;
761
- padding-right: 0;
762
- }
763
-
764
- .mdc-evolution-chip__action--secondary {
765
- position: relative;
766
- overflow: visible;
767
- }
768
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary {
769
- color: var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant));
770
- }
771
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary {
772
- color: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface));
773
- }
774
- .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
775
- padding-left: 8px;
776
- padding-right: 8px;
777
- }
778
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
779
- padding-left: 8px;
780
- padding-right: 8px;
781
- }
782
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
783
- padding-left: 8px;
784
- padding-right: 8px;
785
- }
786
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
787
- padding-left: 8px;
788
- padding-right: 8px;
789
- }
790
-
791
- .mdc-evolution-chip__text-label {
792
- -webkit-user-select: none;
793
- user-select: none;
794
- white-space: nowrap;
795
- text-overflow: ellipsis;
796
- overflow: hidden;
797
- }
798
- .mat-mdc-standard-chip .mdc-evolution-chip__text-label {
799
- font-family: var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));
800
- line-height: var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));
801
- font-size: var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));
802
- font-weight: var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));
803
- letter-spacing: var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking));
804
- }
805
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
806
- color: var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant));
807
- }
808
- .mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
809
- color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
810
- }
811
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label {
812
- color: var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
813
- }
814
-
815
- .mdc-evolution-chip__graphic {
816
- align-items: center;
817
- display: inline-flex;
818
- justify-content: center;
819
- overflow: hidden;
820
- pointer-events: none;
821
- position: relative;
822
- flex: 1 0 auto;
823
- }
824
- .mat-mdc-standard-chip .mdc-evolution-chip__graphic {
825
- width: var(--mat-chip-with-avatar-avatar-size, 24px);
826
- height: var(--mat-chip-with-avatar-avatar-size, 24px);
827
- font-size: var(--mat-chip-with-avatar-avatar-size, 24px);
828
- }
829
- .mdc-evolution-chip--selecting .mdc-evolution-chip__graphic {
830
- transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
831
- }
832
- .mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic {
833
- width: 0;
834
- }
835
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
836
- padding-left: 6px;
837
- padding-right: 6px;
838
- }
839
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
840
- padding-left: 4px;
841
- padding-right: 8px;
842
- }
843
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
844
- padding-left: 8px;
845
- padding-right: 4px;
846
- }
847
- .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
848
- padding-left: 6px;
849
- padding-right: 6px;
850
- }
851
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
852
- padding-left: 4px;
853
- padding-right: 8px;
854
- }
855
- [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
856
- padding-left: 8px;
857
- padding-right: 4px;
858
- }
859
- .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic {
860
- padding-left: 0;
861
- }
862
-
863
- .mdc-evolution-chip__checkmark {
864
- position: absolute;
865
- opacity: 0;
866
- top: 50%;
867
- left: 50%;
868
- height: 20px;
869
- width: 20px;
870
- }
871
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark {
872
- color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
873
- }
874
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark {
875
- color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
876
- }
877
- .mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark {
878
- transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
879
- transform: translate(-75%, -50%);
880
- }
881
- .mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
882
- transform: translate(-50%, -50%);
883
- opacity: 1;
884
- }
885
-
886
- .mdc-evolution-chip__checkmark-svg {
887
- display: block;
888
- }
889
-
890
- .mdc-evolution-chip__checkmark-path {
891
- stroke-width: 2px;
892
- stroke-dasharray: 29.7833385;
893
- stroke-dashoffset: 29.7833385;
894
- stroke: currentColor;
895
- }
896
- .mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path {
897
- transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
898
- }
899
- .mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path {
900
- stroke-dashoffset: 0;
901
- }
902
- @media (forced-colors: active) {
903
- .mdc-evolution-chip__checkmark-path {
904
- stroke: CanvasText !important;
905
- }
906
- }
907
-
908
- .mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing {
909
- height: 18px;
910
- width: 18px;
911
- font-size: 18px;
912
- }
913
- .mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove {
914
- opacity: calc(var(--mat-chip-trailing-action-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
915
- }
916
- .mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus {
917
- opacity: calc(var(--mat-chip-trailing-action-focus-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
918
- }
919
-
920
- .mat-mdc-standard-chip {
921
- border-radius: var(--mat-chip-container-shape-radius, 8px);
922
- height: var(--mat-chip-container-height, 32px);
923
- }
924
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {
925
- background-color: var(--mat-chip-elevated-container-color, transparent);
926
- }
927
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled {
928
- background-color: var(--mat-chip-elevated-disabled-container-color);
929
- }
930
- .mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) {
931
- background-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
932
- }
933
- .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled {
934
- background-color: var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
935
- }
936
- @media (forced-colors: active) {
937
- .mat-mdc-standard-chip {
938
- outline: solid 1px;
939
- }
940
- }
941
-
942
- .mat-mdc-standard-chip .mdc-evolution-chip__icon--primary {
943
- border-radius: var(--mat-chip-with-avatar-avatar-shape-radius, 24px);
944
- width: var(--mat-chip-with-icon-icon-size, 18px);
945
- height: var(--mat-chip-with-icon-icon-size, 18px);
946
- font-size: var(--mat-chip-with-icon-icon-size, 18px);
947
- }
948
- .mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary {
949
- opacity: 0;
950
- }
951
- .mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary {
952
- color: var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant));
953
- }
954
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary {
955
- color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
956
- }
957
-
958
- .mat-mdc-chip-highlighted {
959
- --mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
960
- --mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
961
- --mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
962
- --mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0);
963
- }
964
-
965
- .mat-mdc-chip-focus-overlay {
966
- background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
967
- }
968
- .mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay {
969
- background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
970
- }
971
- .mat-mdc-chip:hover .mat-mdc-chip-focus-overlay {
972
- background: var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));
973
- opacity: var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
974
- }
975
- .mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay {
976
- background: var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));
977
- opacity: var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
978
- }
979
- .mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay {
980
- background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
981
- opacity: var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
982
- }
983
- .mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay {
984
- background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
985
- opacity: var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
986
- }
987
-
988
- .mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar {
989
- opacity: var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38);
990
- }
991
-
992
- .mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
993
- opacity: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38);
994
- }
995
-
996
- .mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
997
- opacity: var(--mat-chip-with-icon-disabled-icon-opacity, 0.38);
998
- }
999
-
1000
- .mat-mdc-standard-chip.mdc-evolution-chip--disabled {
1001
- opacity: var(--mat-chip-disabled-container-opacity, 1);
1002
- }
1003
- .mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing {
1004
- color: var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container));
1005
- }
1006
- .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
1007
- color: var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface));
1008
- }
1009
-
1010
- .mat-mdc-chip-edit, .mat-mdc-chip-remove {
1011
- opacity: var(--mat-chip-trailing-action-opacity, 1);
1012
- }
1013
- .mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus {
1014
- opacity: var(--mat-chip-trailing-action-focus-opacity, 1);
1015
- }
1016
- .mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
1017
- background-color: var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant));
1018
- }
1019
- .mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after {
1020
- opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
1021
- }
1022
- .mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after {
1023
- opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
1024
- }
1025
-
1026
- .mat-mdc-chip-selected .mat-mdc-chip-remove::after,
1027
- .mat-mdc-chip-highlighted .mat-mdc-chip-remove::after {
1028
- background-color: var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container));
1029
- }
1030
-
1031
- .mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after {
1032
- opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
1033
- }
1034
- .mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after {
1035
- opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
1036
- }
1037
-
1038
- .mat-mdc-standard-chip {
1039
- -webkit-tap-highlight-color: transparent;
1040
- }
1041
- .mat-mdc-standard-chip .mat-mdc-chip-graphic,
1042
- .mat-mdc-standard-chip .mat-mdc-chip-trailing-icon {
1043
- box-sizing: content-box;
1044
- }
1045
- .mat-mdc-standard-chip._mat-animation-noopable,
1046
- .mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,
1047
- .mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,
1048
- .mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path {
1049
- transition-duration: 1ms;
1050
- animation-duration: 1ms;
1051
- }
1052
-
1053
- .mat-mdc-chip-focus-overlay {
1054
- top: 0;
1055
- left: 0;
1056
- right: 0;
1057
- bottom: 0;
1058
- position: absolute;
1059
- pointer-events: none;
1060
- opacity: 0;
1061
- border-radius: inherit;
1062
- transition: opacity 150ms linear;
1063
- }
1064
- ._mat-animation-noopable .mat-mdc-chip-focus-overlay {
1065
- transition: none;
1066
- }
1067
- .mat-mdc-basic-chip .mat-mdc-chip-focus-overlay {
1068
- display: none;
1069
- }
1070
-
1071
- .mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple {
1072
- top: 0;
1073
- left: 0;
1074
- right: 0;
1075
- bottom: 0;
1076
- position: absolute;
1077
- pointer-events: none;
1078
- border-radius: inherit;
1079
- }
1080
-
1081
- .mat-mdc-chip-avatar {
1082
- text-align: center;
1083
- line-height: 1;
1084
- color: var(--mat-chip-with-icon-icon-color, currentColor);
1085
- }
1086
-
1087
- .mat-mdc-chip {
1088
- position: relative;
1089
- z-index: 0;
1090
- }
1091
-
1092
- .mat-mdc-chip-action-label {
1093
- text-align: left;
1094
- z-index: 1;
1095
- }
1096
- [dir=rtl] .mat-mdc-chip-action-label {
1097
- text-align: right;
1098
- }
1099
- .mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label {
1100
- position: relative;
1101
- }
1102
- .mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator {
1103
- position: absolute;
1104
- top: 0;
1105
- right: 0;
1106
- bottom: 0;
1107
- left: 0;
1108
- pointer-events: none;
1109
- }
1110
- .mat-mdc-chip-action-label .mat-focus-indicator::before {
1111
- margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
1112
- }
1113
-
1114
- .mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before {
1115
- margin: calc(var(--mat-focus-indicator-border-width, 3px) * -1);
1116
- left: 8px;
1117
- right: 8px;
1118
- }
1119
- .mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
1120
- content: "";
1121
- display: block;
1122
- opacity: 0;
1123
- position: absolute;
1124
- top: -3px;
1125
- bottom: -3px;
1126
- left: 5px;
1127
- right: 5px;
1128
- border-radius: 50%;
1129
- box-sizing: border-box;
1130
- padding: 12px;
1131
- margin: -12px;
1132
- background-clip: content-box;
1133
- }
1134
- .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
1135
- width: 18px;
1136
- height: 18px;
1137
- font-size: 18px;
1138
- box-sizing: content-box;
1139
- }
1140
-
1141
- .mat-chip-edit-input {
1142
- cursor: text;
1143
- display: inline-block;
1144
- color: inherit;
1145
- outline: 0;
1146
- }
1147
-
1148
- @media (forced-colors: active) {
1149
- .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) {
1150
- outline-width: 3px;
1151
- }
1152
- }
1153
-
1154
- .mat-mdc-chip-action:focus-visible .mat-focus-indicator::before {
1155
- content: "";
1156
- }
1157
-
1158
- .mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
1159
- min-height: fit-content;
1160
- }
1161
-
1162
- img.mdc-evolution-chip__icon {
1163
- min-height: 0;
1164
- }
1165
- `],encapsulation:2})}return i})();var st=(()=>{class i extends it{_defaultOptions=h(ot,{optional:true});chipListSelectable=true;_chipListMultiple=false;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??false;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=e,this._changeDetectorRef.markForCheck();}_selectable=true;get selected(){return this._selected}set selected(e){this._setSelectedState(e,false,true);}_selected=false;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new Oe;ngOnInit(){super.ngOnInit(),this.role="presentation";}select(){this._setSelectedState(true,false,true);}deselect(){this._setSelectedState(false,false,true);}selectViaInteraction(){this._setSelectedState(true,true,true);}toggleSelected(e=false){return this._setSelectedState(!this.selected,e,true),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(true));}_hasLeadingGraphic(){return this.leadingIcon?true:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(e,t,n){e!==this.selected&&(this._selected=e,n&&this.selectionChange.emit({source:this,isUserInput:t,selected:this.selected}),this._changeDetectorRef.markForCheck());}static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(t,n){t&2&&(Xg("id",n.id),ir("tabindex",null)("aria-label",null)("aria-description",null)("role",n.role),It$1("mdc-evolution-chip",!n._isBasicChip)("mdc-evolution-chip--filter",!n._isBasicChip)("mdc-evolution-chip--selectable",!n._isBasicChip)("mat-mdc-chip-selected",n.selected)("mat-mdc-chip-multiple",n._chipListMultiple)("mat-mdc-chip-disabled",n.disabled)("mat-mdc-chip-with-avatar",n.leadingIcon)("mdc-evolution-chip--disabled",n.disabled)("mdc-evolution-chip--selected",n.selected)("mdc-evolution-chip--selecting",!n._animationsDisabled)("mdc-evolution-chip--with-trailing-action",n._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",n.leadingIcon)("mdc-evolution-chip--with-primary-graphic",n._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",n.leadingIcon)("mat-mdc-chip-highlighted",n.highlighted)("mat-mdc-chip-with-trailing-icon",n._hasTrailingIcon()));},inputs:{selectable:[2,"selectable","selectable",wt$1],selected:[2,"selected","selected",wt$1]},outputs:{selectionChange:"selectionChange"},features:[Ey([{provide:it,useExisting:i},{provide:rt,useExisting:i}]),Kr],ngContentSelectors:zi,decls:8,vars:6,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(t,n){t&1&&(sr(Li),Yg(0,"span",0),ma$1(1,"span",1)(2,"button",2),ci(3,bn,5,0,"span",3),ma$1(4,"span",4),ot$2(5),Yg(6,"span",5),Id()()(),ci(7,wn,2,0,"span",6)),t&2&&(ri(2),Zg("_allowFocusWhenDisabled",true),ir("aria-description",n.ariaDescription)("aria-label",n.ariaLabel)("aria-selected",n.ariaSelected),ri(),ui(n._hasLeadingGraphic()?3:-1),ri(4),ui(n._hasTrailingIcon()?7:-1));},dependencies:[qi],styles:[Cn],encapsulation:2})}return i})();var kn=(()=>{class i{_elementRef=h(ue);_changeDetectorRef=h(Ly);_dir=h(iM,{optional:true});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new Z;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState();}_disabled=false;get empty(){return !this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(e){this._explicitRole=e;}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new Qn$1;ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip();}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete();}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck();});}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e);}_isValidIndex(e){return e>=0&&e<this._chips.length}_allowFocusEscape(){let e=this._elementRef.nativeElement.tabIndex;e!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=e));}_getChipStream(e){return this._chips.changes.pipe(Ac(null),Nc(()=>Jb(...this._chips.map(e))))}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return true;t=t.parentElement;}return false}_setUpFocusManagement(){this._chips.changes.pipe(Ac(this._chips)).subscribe(e=>{let t=[];e.forEach(n=>n._getActions().forEach(o=>t.push(o))),this._chipActions.reset(t),this._chipActions.notifyOnChanges();}),this._keyManager=new hf(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe(Er(this._destroyed)).subscribe(({chip:e})=>{let t=e._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t);}),this._dir?.change.pipe(Er(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e));}_skipPredicate(e){return e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Ac(null),Er(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus();});}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Er(this._destroyed)).subscribe(e=>{let n=this._chips.toArray().indexOf(e.chip),o=e.chip._hasFocus(),r=e.chip._hadFocusOnRemove&&this._keyManager.activeItem&&e.chip._getActions().includes(this._keyManager.activeItem),d=o||r;this._isValidIndex(n)&&d&&(this._lastDestroyedFocusedChipIndex=n);});}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[e];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus();}else this.focus();this._lastDestroyedFocusedChipIndex=null;}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["mat-chip-set"]],contentQueries:function(t,n,o){if(t&1&&ny(o,it,5),t&2){let r;gC(r=yC())&&(n._chips=r);}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,n){t&1&&ey("keydown",function(r){return n._handleKeydown(r)}),t&2&&ir("role",n.role);},inputs:{disabled:[2,"disabled","disabled",wt$1],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Bd(e)]},ngContentSelectors:ji,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,n){t&1&&(sr(),dn$1(0,"div",0),ot$2(1),fn$1());},styles:[`.mat-mdc-chip-set {
1166
- display: flex;
1167
- }
1168
- .mat-mdc-chip-set:focus {
1169
- outline: none;
1170
- }
1171
- .mat-mdc-chip-set .mdc-evolution-chip-set__chips {
1172
- min-width: 100%;
1173
- margin-left: -8px;
1174
- margin-right: 0;
1175
- }
1176
- .mat-mdc-chip-set .mdc-evolution-chip {
1177
- margin: 4px 0 4px 8px;
1178
- }
1179
- [dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips {
1180
- margin-left: 0;
1181
- margin-right: -8px;
1182
- }
1183
- [dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip {
1184
- margin-left: 0;
1185
- margin-right: 8px;
1186
- }
1187
-
1188
- .mdc-evolution-chip-set__chips {
1189
- display: flex;
1190
- flex-flow: wrap;
1191
- min-width: 0;
1192
- }
1193
-
1194
- .mat-mdc-chip-set-stacked {
1195
- flex-direction: column;
1196
- align-items: flex-start;
1197
- }
1198
- .mat-mdc-chip-set-stacked .mat-mdc-chip {
1199
- width: 100%;
1200
- }
1201
- .mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic {
1202
- flex-grow: 0;
1203
- }
1204
- .mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary {
1205
- flex-basis: 100%;
1206
- justify-content: start;
1207
- }
1208
-
1209
- input.mat-mdc-chip-input {
1210
- flex: 1 0 150px;
1211
- margin-left: 8px;
1212
- }
1213
- [dir=rtl] input.mat-mdc-chip-input {
1214
- margin-left: 0;
1215
- margin-right: 8px;
1216
- }
1217
- .mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder {
1218
- opacity: 1;
1219
- }
1220
- .mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder {
1221
- opacity: 1;
1222
- }
1223
- .mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder {
1224
- opacity: 1;
1225
- }
1226
- .mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder {
1227
- opacity: 1;
1228
- }
1229
- .mat-mdc-chip-set + input.mat-mdc-chip-input {
1230
- margin-left: 0;
1231
- margin-right: 0;
1232
- }
1233
- `],encapsulation:2})}return i})(),nt=class{source;value;constructor(a,e){this.source=a,this.value=e;}},xn={provide:R,useExisting:Es(()=>ct),multi:true},ct=(()=>{class i extends kn{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_defaultOptions=h(ot,{optional:true});get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._syncListboxProperties();}_multiple=false;get selected(){let e=this._chips.toArray().filter(t=>t.selected);return this.multiple?e:e[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(e){this._selectable=e,this._syncListboxProperties();}_selectable=true;compareWith=(e,t)=>e===t;required=false;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncListboxProperties();}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??false;get chipSelectionChanges(){return this._getChipStream(e=>e.selectionChange)}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get value(){return this._value}set value(e){this._chips&&this._chips.length&&this._setSelectionByValue(e,false),this._value=e;}_value;change=new Oe;_chips=void 0;ngAfterContentInit(){this._chips.changes.pipe(Ac(null),Er(this._destroyed)).subscribe(()=>{this.value!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this.value,false);}),this._syncListboxProperties();}),this.chipBlurChanges.pipe(Er(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(Er(this._destroyed)).subscribe(e=>{this.multiple||this._chips.forEach(t=>{t!==e.source&&t._setSelectedState(false,false,false);}),e.isUserInput&&this._propagateChanges();});}focus(){if(this.disabled)return;let e=this._getFirstSelectedChip();e&&!e.disabled?e.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus();}writeValue(e){e!=null?this.value=e:this.value=void 0;}registerOnChange(e){this._onChange=e;}registerOnTouched(e){this._onTouched=e;}setDisabledState(e){this.disabled=e;}_setSelectionByValue(e,t=true){this._clearSelection(),Array.isArray(e)?e.forEach(n=>this._selectValue(n,t)):this._selectValue(e,t);}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched();});}_keydown(e){e.keyCode===9&&super._allowFocusEscape();}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck();}_propagateChanges(){let e=null;Array.isArray(this.selected)?e=this.selected.map(t=>t.value):e=this.selected?this.selected.value:void 0,this._value=e,this.change.emit(new nt(this,e)),this._onChange(e),this._changeDetectorRef.markForCheck();}_clearSelection(e){this._chips.forEach(t=>{t!==e&&t.deselect();});}_selectValue(e,t){let n=this._chips.find(o=>o.value!=null&&this.compareWith(o.value,e));return n&&(t?n.selectViaInteraction():n.select()),n}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(e=>{e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable,e._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,e._changeDetectorRef.markForCheck();});});}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(e){return false}static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-chip-listbox"]],contentQueries:function(t,n,o){if(t&1&&ny(o,st,5),t&2){let r;gC(r=yC())&&(n._chips=r);}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(t,n){t&1&&ey("focus",function(){return n.focus()})("blur",function(){return n._blur()})("keydown",function(r){return n._keydown(r)}),t&2&&(Xg("tabIndex",n.disabled||n.empty?-1:n.tabIndex),ir("role",n.role)("aria-required",n.role?n.required:null)("aria-disabled",n.disabled.toString())("aria-multiselectable",n.multiple)("aria-orientation",n.ariaOrientation),It$1("mat-mdc-chip-list-disabled",n.disabled)("mat-mdc-chip-list-required",n.required));},inputs:{multiple:[2,"multiple","multiple",wt$1],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",wt$1],compareWith:"compareWith",required:[2,"required","required",wt$1],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",wt$1],value:"value"},outputs:{change:"change"},features:[Ey([xn]),Kr],ngContentSelectors:ji,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,n){t&1&&(sr(),dn$1(0,"div",0),ot$2(1),fn$1());},styles:[Dn],encapsulation:2})}return i})();var Qi=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=he({type:i});static \u0275inj=ce$1({providers:[Vt,{provide:ot,useValue:{separatorKeyCodes:[13]}}],imports:[mb,no]})}return i})();var Rn=[[["caption"]],[["colgroup"],["col"]],"*"],Mn=["caption","colgroup, col","*"];function In(i,a){i&1&&ot$2(0,2);}function En(i,a){i&1&&(ma$1(0,"thead",0),Qg(1,1),Id(),ma$1(2,"tbody",0),Qg(3,2)(4,3),Id(),ma$1(5,"tfoot",0),Qg(6,4),Id());}function Fn(i,a){i&1&&Qg(0,1)(1,2)(2,3)(3,4);}var G=new y$1("CDK_TABLE");var $e=(()=>{class i{template=h(Wr$1);static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","cdkCellDef",""]]})}return i})(),Ge=(()=>{class i{template=h(Wr$1);static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","cdkHeaderCellDef",""]]})}return i})(),Gi=(()=>{class i{template=h(Wr$1);static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","cdkFooterCellDef",""]]})}return i})(),oe=(()=>{class i{_table=h(G,{optional:true});_hasStickyChanged=false;get name(){return this._name}set name(e){this._setNameInput(e);}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=true);}_sticky=false;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=true);}_stickyEnd=false;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=false;}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`];}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName());}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,n,o){if(t&1&&ny(o,$e,5)(o,Ge,5)(o,Gi,5),t&2){let r;gC(r=yC())&&(n.cell=r.first),gC(r=yC())&&(n.headerCell=r.first),gC(r=yC())&&(n.footerCell=r.first);}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",wt$1],stickyEnd:[2,"stickyEnd","stickyEnd",wt$1]}})}return i})(),Ue=class{constructor(a,e){e.nativeElement.classList.add(...a._columnCssClassName);}},Ki=(()=>{class i extends Ue{constructor(){super(h(oe),h(ue));}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Kr]})}return i})();var Wi=(()=>{class i extends Ue{constructor(){let e=h(oe),t=h(ue);super(e,t);let n=e._table?._getCellRole();n&&t.nativeElement.setAttribute("role",n);}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[Kr]})}return i})();var dt=(()=>{class i{template=h(Wr$1);_differs=h(Fy);columns;_columnsDiffer;ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t);}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Re?e.headerCell.template:this instanceof ht?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,features:[ya$1]})}return i})(),Re=(()=>{class i extends dt{_table=h(G,{optional:true});_hasStickyChanged=false;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=true);}_sticky=false;ngOnChanges(e){super.ngOnChanges(e);}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=false;}static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",wt$1]},features:[Kr,ya$1]})}return i})(),ht=(()=>{class i extends dt{_table=h(G,{optional:true});_hasStickyChanged=false;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=true);}_sticky=false;ngOnChanges(e){super.ngOnChanges(e);}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=false;}static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",wt$1]},features:[Kr,ya$1]})}return i})(),Ke=(()=>{class i extends dt{_table=h(G,{optional:true});when;static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[Kr]})}return i})(),de=(()=>{class i{_viewContainer=h(Yr);cells;context;static mostRecentCellOutlet=null;constructor(){i.mostRecentCellOutlet=this;}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null);}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","cdkCellOutlet",""]]})}return i})(),mt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){t&1&&Qg(0,0);},dependencies:[de],encapsulation:2,changeDetection:1})}return i})();var pt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){t&1&&Qg(0,0);},dependencies:[de],encapsulation:2,changeDetection:1})}return i})(),We=(()=>{class i{templateRef=h(Wr$1);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["ng-template","cdkNoDataRow",""]]})}return i})(),Ui=["top","bottom","left","right"],lt=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(a=>this._updateCachedSizes(a)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=false;constructor(a,e,t=true,n=true,o,r,d){this._isNativeHtmlTable=a,this._stickCellCss=e,this._isBrowser=t,this._needsPositionStickyOnElement=n,this.direction=o,this._positionListener=r,this._tableInjector=d,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`};}clearStickyPositioning(a,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(a);let t=[];for(let n of a)n.nodeType===n.ELEMENT_NODE&&t.push(n,...Array.from(n.children));Zl({write:()=>{for(let n of t)this._removeStickyStyle(n,e);}},{injector:this._tableInjector});}updateStickyColumns(a,e,t,n=true,o=true){if(!a.length||!this._isBrowser||!(e.some(V=>V)||t.some(V=>V))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let r=a[0],d=r.children.length,p=this.direction==="rtl",f=p?"right":"left",g=p?"left":"right",R=e.lastIndexOf(true),I=t.indexOf(true),E,yt,bt;o&&this._updateStickyColumnReplayQueue({rows:[...a],stickyStartStates:[...e],stickyEndStates:[...t]}),Zl({earlyRead:()=>{E=this._getCellWidths(r,n),yt=this._getStickyStartColumnPositions(E,e),bt=this._getStickyEndColumnPositions(E,t);},write:()=>{for(let V of a)for(let B=0;B<d;B++){let wt=V.children[B];e[B]&&this._addStickyStyle(wt,f,yt[B],B===R),t[B]&&this._addStickyStyle(wt,g,bt[B],B===I);}this._positionListener&&E.some(V=>!!V)&&(this._positionListener.stickyColumnsUpdated({sizes:R===-1?[]:E.slice(0,R+1).map((V,B)=>e[B]?V:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:I===-1?[]:E.slice(I).map((V,B)=>t[B+I]?V:null).reverse()}));}},{injector:this._tableInjector});}stickRows(a,e,t){if(!this._isBrowser)return;let n=t==="bottom"?a.slice().reverse():a,o=t==="bottom"?e.slice().reverse():e,r=[],d=[],p=[];Zl({earlyRead:()=>{for(let f=0,g=0;f<n.length;f++){if(!o[f])continue;r[f]=g;let R=n[f];p[f]=this._isNativeHtmlTable?Array.from(R.children):[R];let I=this._retrieveElementSize(R).height;g+=I,d[f]=I;}},write:()=>{let f=o.lastIndexOf(true);for(let g=0;g<n.length;g++){if(!o[g])continue;let R=r[g],I=g===f;for(let E of p[g])this._addStickyStyle(E,t,R,I);}t==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:d,offsets:r,elements:p}):this._positionListener?.stickyFooterRowsUpdated({sizes:d,offsets:r,elements:p});}},{injector:this._tableInjector});}updateStickyFooterContainer(a,e){this._isNativeHtmlTable&&Zl({write:()=>{let t=a.querySelector("tfoot");t&&(e.some(n=>!n)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,false));}},{injector:this._tableInjector});}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=true;}_removeStickyStyle(a,e){if(!a.classList.contains(this._stickCellCss))return;for(let n of e)a.style[n]="",a.classList.remove(this._borderCellCss[n]);Ui.some(n=>e.indexOf(n)===-1&&a.style[n])?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss));}_addStickyStyle(a,e,t,n){a.classList.add(this._stickCellCss),n&&a.classList.add(this._borderCellCss[e]),a.style[e]=`${t}px`,a.style.zIndex=this._getCalculatedZIndex(a),this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ");}_getCalculatedZIndex(a){let e={top:100,bottom:10,left:1,right:1},t=0;for(let n of Ui)a.style[n]&&(t+=e[n]);return t?`${t}`:""}_getCellWidths(a,e=true){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],n=a.children;for(let o=0;o<n.length;o++){let r=n[o];t.push(this._retrieveElementSize(r).width);}return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(a,e){let t=[],n=0;for(let o=0;o<a.length;o++)e[o]&&(t[o]=n,n+=a[o]);return t}_getStickyEndColumnPositions(a,e){let t=[],n=0;for(let o=a.length;o>0;o--)e[o]&&(t[o]=n,n+=a[o]);return t}_retrieveElementSize(a){let e=this._elemSizeCache.get(a);if(e)return e;let t=a.getBoundingClientRect(),n={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(a,n),this._resizeObserver.observe(a,{box:"border-box"})),n}_updateStickyColumnReplayQueue(a){this._removeFromStickyColumnReplayQueue(a.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(a);}_removeFromStickyColumnReplayQueue(a){let e=new Set(a);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(n=>!e.has(n));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length);}_updateCachedSizes(a){let e=false;for(let t of a){let n=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};n.width!==this._elemSizeCache.get(t.target)?.width&&Tn(t.target)&&(e=true),this._elemSizeCache.set(t.target,n);}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,true,false);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null;}},0));}};function Tn(i){return ["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(a=>i.classList.contains(a))}var Se=new y$1("STICKY_POSITIONING_LISTENER");var ut=(()=>{class i{viewContainer=h(Yr);elementRef=h(ue);constructor(){let e=h(G);e._rowOutlet=this,e._outletAssigned();}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","rowOutlet",""]]})}return i})(),ft=(()=>{class i{viewContainer=h(Yr);elementRef=h(ue);constructor(){let e=h(G);e._headerRowOutlet=this,e._outletAssigned();}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","headerRowOutlet",""]]})}return i})(),_t=(()=>{class i{viewContainer=h(Yr);elementRef=h(ue);constructor(){let e=h(G);e._footerRowOutlet=this,e._outletAssigned();}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","footerRowOutlet",""]]})}return i})(),gt=(()=>{class i{viewContainer=h(Yr);elementRef=h(ue);constructor(){let e=h(G);e._noDataRowOutlet=this,e._outletAssigned();}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["","noDataRowOutlet",""]]})}return i})(),vt=(()=>{class i{_differs=h(Fy);_changeDetectorRef=h(Ly);_elementRef=h(ue);_dir=h(iM,{optional:true});_platform=h(De);_viewRepeater;_viewportRuler=h(A$1);_injector=h(K);_virtualScrollViewport=h(Pe$1,{optional:true,host:true});_positionListener=h(Se,{optional:true})||h(Se,{optional:true,skipSelf:true});_document=h(O);_data;_renderedRange;_onDestroy=new Z;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=true;_footerRowDefChanged=true;_stickyColumnStylesNeedReset=true;_forceRecalculateCellWidths=true;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=true;_isServer;_isShowingNoDataRow=false;_hasAllOutlets=false;_hasInitialized=false;_headerRowStickyUpdates=new Z;_footerRowStickyUpdates=new Z;_disableVirtualScrolling=false;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e;}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck());}_dataSource;_dataSourceChanges=new Z;_dataStream=new Z;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles());}_multiTemplateDataRows=false;get fixedLayout(){return this._virtualScrollEnabled()?true:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=true,this._stickyColumnStylesNeedReset=true;}_fixedLayout=false;recycleRows=false;contentChanged=new Oe;viewChange=new Cn$1({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;get renderedRows(){return this._renderRows}constructor(){h(new ka$1("role"),{optional:true})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((t,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n);}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(Er(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=true;});}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new ut$1:new bn$1,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=true;}ngAfterContentChecked(){this._canRender()&&this._render();}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear();}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),Re$1(this.dataSource)&&this.dataSource.disconnect(this);}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(n,o,r)=>this._getEmbeddedViewArgs(n.item,r),n=>n.item.data,n=>{n.operation===Z$1.INSERTED&&n.context&&this._renderCellTemplateForItem(n.record.item.rowDef,n.context);}),this._updateRowIndexContext(),e.forEachIdentityChange(n=>{let o=t.get(n.currentIndex);o.context.$implicit=n.item.data;}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles();}addColumnDef(e){this._customColumnDefs.add(e);}removeColumnDef(e){this._customColumnDefs.delete(e);}addRowDef(e){this._customRowDefs.add(e);}removeRowDef(e){this._customRowDefs.delete(e);}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=true;}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=true;}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=true;}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=true;}setNoDataRow(e){this._customNoDataRow=e;}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let n=$i(this._headerRowOutlet,"thead");n&&(n.style.display=e.length?"":"none");}let t=this._headerRowDefs.map(n=>n.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(n=>n.resetStickyChanged());}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let n=$i(this._footerRowOutlet,"tfoot");n&&(n.style.display=e.length?"":"none");}let t=this._footerRowDefs.map(n=>n.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(n=>n.resetStickyChanged());}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...n],["left","right"]),this._stickyColumnStylesNeedReset=false),e.forEach((o,r)=>{this._addStickyColumnStyles([o],this._headerRowDefs[r]);}),this._rowDefs.forEach(o=>{let r=[];for(let d=0;d<t.length;d++)this._renderRows[d].rowDef===o&&r.push(t[d]);this._addStickyColumnStyles(r,o);}),n.forEach((o,r)=>{this._addStickyColumnStyles([o],this._footerRowDefs[r]);}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged());}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e);}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e);}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e);}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e);}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=true,this._canRender()&&this._render());}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=false),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=false),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates();}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return [];let e=[],t=Math.min(this._data.length,this._renderedRange.end),n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=this._renderedRange.start;o<t;o++){let r=this._data[o],d=this._getRenderRowsForData(r,o,n.get(r));this._cachedRenderRowsMap.has(r)||this._cachedRenderRowsMap.set(r,new WeakMap);for(let p=0;p<d.length;p++){let f=d[p],g=this._cachedRenderRowsMap.get(f.data);g.has(f.rowDef)?g.get(f.rowDef).push(f):g.set(f.rowDef,[f]),e.push(f);}}return e}_getRenderRowsForData(e,t,n){return this._getRowDefs(e,t).map(r=>{let d=n&&n.has(r)?n.get(r):[];if(d.length){let p=d.shift();return p.dataIndex=t,p}else return {data:e,rowDef:r,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Qe(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t);});}_cacheRowDefs(){this._headerRowDefs=Qe(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Qe(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Qe(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0];}_renderUpdatedColumns(){let e=(r,d)=>{let p=!!d.getColumnsDiff();return r||p},t=this._rowDefs.reduce(e,false);t&&this._forceRenderDataRows();let n=this._headerRowDefs.reduce(e,false);n&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,false);return o&&this._forceRenderFooterRows(),t||n||o}_switchDataSource(e){this._data=[],Re$1(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e;}_observeRenderChanges(){if(!this.dataSource)return;let e;Re$1(this.dataSource)?e=this.dataSource.connect(this):Qb(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=qe(this.dataSource)),this._renderChangeSubscription=Ec([e,this.viewChange]).pipe(Er(this._onDestroy)).subscribe(([t,n])=>{this._data=t||[],this._renderedRange=n,this._dataStream.next(t),this.renderRows();});}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles();}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles();}_addStickyColumnStyles(e,t){let n=Array.from(t?.columns||[]).map(d=>{let p=this._columnDefsByName.get(d);return p}),o=n.map(d=>d.sticky),r=n.map(d=>d.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,r,!this.fixedLayout||this._forceRecalculateCellWidths);}_getRenderedRows(e){let t=[];for(let n=0;n<e.viewContainer.length;n++){let o=e.viewContainer.get(n);t.push(o.rootNodes[0]);}return t}_getRowDefs(e,t){if(this._rowDefs.length===1)return [this._rowDefs[0]];let n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(o=>!o.when||o.when(t,e));else {let o=this._rowDefs.find(r=>r.when&&r.when(t,e))||this._defaultRowDef;o&&n.push(o);}return n.length,n}_getEmbeddedViewArgs(e,t){let n=e.rowDef,o={$implicit:e.data};return {templateRef:n.template,context:o,index:t}}_renderRow(e,t,n,o={}){let r=e.viewContainer.createEmbeddedView(t.template,o,n);return this._renderCellTemplateForItem(t,o),r}_renderCellTemplateForItem(e,t){for(let n of this._getCellTemplates(e))de.mostRecentCellOutlet&&de.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,t);this._changeDetectorRef.markForCheck();}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,n=e.length;t<n;t++){let r=e.get(t).context;r.count=n,r.first=t===0,r.last=t===n-1,r.even=t%2===0,r.odd=!r.even,this.multiTemplateDataRows?(r.dataIndex=this._renderRows[t].dataIndex,r.renderIndex=t):r.index=this._renderRows[t].dataIndex;}}_getCellTemplates(e){return !e||!e.columns?[]:Array.from(e.columns,t=>{let n=this._columnDefsByName.get(t);return e.extractCellTemplate(n)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows();}_checkStickyStates(){let e=(t,n)=>t||n.hasStickyChanged();this._headerRowDefs.reduce(e,false)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,false)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,false)&&(this._stickyColumnStylesNeedReset=true,this.updateStickyColumnStyles());}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",t=this._injector;this._stickyStyler=new lt(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,t),(this._dir?this._dir.change:qe()).pipe(Er(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles();});}_setupVirtualScrolling(e){let t=typeof requestAnimationFrame<"u"?Kb:Yb;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe(eD(0,t),Er(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(n,o)=>this._measureRangeSize(n,o)}),Ec([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(Er(this._onDestroy)).subscribe(([n,o])=>{if(!(!o.sizes||!o.offsets||!o.elements))for(let r=0;r<o.elements.length;r++){let d=o.elements[r];if(d){let p=o.offsets[r],f=n!==0?Math.max(n-p,p):-p;for(let g of d)g.style.top=`${-f}px`;}}}),Ec([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(Er(this._onDestroy)).subscribe(([n,o])=>{if(!(!o.sizes||!o.offsets||!o.elements))for(let r=0;r<o.elements.length;r++){let d=o.elements[r];if(d)for(let p of d)p.style.bottom=`${n+o.offsets[r]}px`;}});}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let n=this._noDataRowOutlet.viewContainer;if(t){let o=n.createEmbeddedView(e.templateRef),r=o.rootNodes[0];if(o.rootNodes.length===1&&r?.nodeType===this._document.ELEMENT_NODE){r.setAttribute("role","row"),r.classList.add(...e._contentClassNames);let d=r.querySelectorAll(e._cellSelector);for(let p=0;p<d.length;p++)d[p].classList.add(...e._cellClassNames);}}else n.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck();}_measureRangeSize(e,t){if(e.start>=e.end||t!=="vertical")return 0;let n=this.viewChange.value,o=this._rowOutlet.viewContainer;e.start<n.start||e.end>n.end;let r=e.start-n.start,d=e.end-e.start,p,f;for(let I=0;I<d;I++){let E=o.get(I+r);if(E&&E.rootNodes.length){p=f=E.rootNodes[0];break}}for(let I=d-1;I>-1;I--){let E=o.get(I+r);if(E&&E.rootNodes.length){f=E.rootNodes[E.rootNodes.length-1];break}}let g=p?.getBoundingClientRect?.(),R=f?.getBoundingClientRect?.();return g&&R?R.bottom-g.top:0}_virtualScrollEnabled(){return !this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,n,o){if(t&1&&ny(o,We,5)(o,oe,5)(o,Ke,5)(o,Re,5)(o,ht,5),t&2){let r;gC(r=yC())&&(n._noDataRow=r.first),gC(r=yC())&&(n._contentColumnDefs=r),gC(r=yC())&&(n._contentRowDefs=r),gC(r=yC())&&(n._contentHeaderRowDefs=r),gC(r=yC())&&(n._contentFooterRowDefs=r);}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,n){t&2&&It$1("cdk-table-fixed-layout",n.fixedLayout);},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",wt$1],fixedLayout:[2,"fixedLayout","fixedLayout",wt$1],recycleRows:[2,"recycleRows","recycleRows",wt$1]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ey([{provide:G,useExisting:i},{provide:Se,useValue:null}])],ngContentSelectors:Mn,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,n){t&1&&(sr(Rn),ot$2(0),ot$2(1,1),ci(2,In,1,0),ci(3,En,7,0)(4,Fn,4,0)),t&2&&(ri(2),ui(n._isServer?2:-1),ri(),ui(n._isNativeHtmlTable?3:4));},dependencies:[ft,ut,gt,_t],styles:[`.cdk-table-fixed-layout {
1234
- table-layout: fixed;
1235
- }
1236
- `],encapsulation:2,changeDetection:1})}return i})();function Qe(i,a){return i.concat(Array.from(a))}function $i(i,a){let e=a.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let n=t.nodeType===1?t.nodeName:null;if(n===e)return t;if(n==="TABLE")break;t=t.parentNode;}return null}var Zi=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=he({type:i});static \u0275inj=ce$1({imports:[Bt]})}return i})();var On=["*",[["","matSortHeaderIcon",""]]],Pn=["*","[matSortHeaderIcon]"];function An(i,a){i&1&&(rh(),dn$1(0,"svg",3),pn$2(1,"path",4),fn$1());}function Nn(i,a){i&1&&(dn$1(0,"div",2),ot$2(1,1,null,An,2,0),fn$1());}var Yi=new y$1("MAT_SORT_DEFAULT_OPTIONS"),be=(()=>{class i{_defaultOptions;_initializedStream=new po(1);sortables=new Map;_stateChanges=new Z;active;start="asc";get direction(){return this._direction}set direction(e){this._direction=e;}_direction="";disableClear;disabled=false;sortChange=new Oe;initialized=this._initializedStream;constructor(e){this._defaultOptions=e;}register(e){this.sortables.set(e.id,e);}deregister(e){this.sortables.delete(e.id);}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction});}getNextSortDirection(e){if(!e)return "";let t=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,n=Hn(e.start||this.start,t),o=n.indexOf(this.direction)+1;return o>=n.length&&(o=0),n[o]}ngOnInit(){this._initializedStream.next();}ngOnChanges(){this._stateChanges.next();}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete();}static \u0275fac=function(t){return new(t||i)(_t$2(Yi,8))};static \u0275dir=rt$1({type:i,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",wt$1],disabled:[2,"matSortDisabled","disabled",wt$1]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[ya$1]})}return i})();function Hn(i,a){let e=["asc","desc"];return i=="desc"&&e.reverse(),a||e.push(""),e}var Xi=(()=>{class i{_sort=h(be,{optional:true});_columnDef=h(oe,{optional:true});_changeDetectorRef=h(Ly);_focusMonitor=h(uf);_elementRef=h(ue);_ariaDescriber=h(N3,{optional:true});_renderChanges;_animationsDisabled=so();_recentlyCleared=Qe$1(null);_sortButton;id;arrowPosition="after";start;disabled=false;get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e);}_sortActionDescription="Sort";disableClear;constructor(){h(Ht).load(pb);let e=h(Yi,{optional:true});this._sort,e?.arrowPosition&&(this.arrowPosition=e?.arrowPosition);}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._sort.register(this),this._renderChanges=Jb(this._sort._stateChanges,this._sort.sortChange).subscribe(()=>this._changeDetectorRef.markForCheck()),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription);}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,true).subscribe(()=>{Promise.resolve().then(()=>this._recentlyCleared.set(null));});}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._renderChanges?.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription);}_toggleOnInteraction(){if(!this._isDisabled()){let e=this._isSorted(),t=this._sort.direction;this._sort.sort(this),this._recentlyCleared.set(e&&!this._isSorted()?t:null);}}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction());}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return !this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e;}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=xe({type:i,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(t,n){t&1&&ey("click",function(){return n._toggleOnInteraction()})("keydown",function(r){return n._handleKeydown(r)})("mouseleave",function(){return n._recentlyCleared.set(null)}),t&2&&(ir("aria-sort",n._getAriaSortAttribute()),It$1("mat-sort-header-disabled",n._isDisabled()));},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",wt$1],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",wt$1]},exportAs:["matSortHeader"],ngContentSelectors:Pn,decls:4,vars:17,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[1,"mat-sort-header-arrow"],["viewBox","0 -960 960 960","focusable","false","aria-hidden","true"],["d","M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z"]],template:function(t,n){t&1&&(sr(On),dn$1(0,"div",0)(1,"div",1),ot$2(2),fn$1(),ci(3,Nn,3,0,"div",2),fn$1()),t&2&&(It$1("mat-sort-header-sorted",n._isSorted())("mat-sort-header-position-before",n.arrowPosition==="before")("mat-sort-header-descending",n._sort.direction==="desc")("mat-sort-header-ascending",n._sort.direction==="asc")("mat-sort-header-recently-cleared-ascending",n._recentlyCleared()==="asc")("mat-sort-header-recently-cleared-descending",n._recentlyCleared()==="desc")("mat-sort-header-animations-disabled",n._animationsDisabled),ir("tabindex",n._isDisabled()?null:0)("role",n._isDisabled()?null:"button"),ri(3),ui(n._renderArrow()?3:-1));},styles:[`.mat-sort-header {
1237
- cursor: pointer;
1238
- }
1239
-
1240
- .mat-sort-header-disabled {
1241
- cursor: default;
1242
- }
1243
-
1244
- .mat-sort-header-container {
1245
- display: flex;
1246
- align-items: center;
1247
- letter-spacing: normal;
1248
- outline: 0;
1249
- }
1250
- [mat-sort-header].cdk-keyboard-focused .mat-sort-header-container, [mat-sort-header].cdk-program-focused .mat-sort-header-container {
1251
- border-bottom: var(--mat-focus-indicator-fallback-border-style, solid) 1px currentColor;
1252
- }
1253
- .mat-sort-header-container::before {
1254
- margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 4px) * -1);
1255
- }
1256
-
1257
- .mat-sort-header-content {
1258
- display: flex;
1259
- align-items: center;
1260
- }
1261
-
1262
- .mat-sort-header-position-before {
1263
- flex-direction: row-reverse;
1264
- }
1265
-
1266
- @keyframes _mat-sort-header-recently-cleared-ascending {
1267
- from {
1268
- transform: translateY(0);
1269
- opacity: 1;
1270
- }
1271
- to {
1272
- transform: translateY(-25%);
1273
- opacity: 0;
1274
- }
1275
- }
1276
- @keyframes _mat-sort-header-recently-cleared-descending {
1277
- from {
1278
- transform: translateY(0) rotate(180deg);
1279
- opacity: 1;
1280
- }
1281
- to {
1282
- transform: translateY(25%) rotate(180deg);
1283
- opacity: 0;
1284
- }
1285
- }
1286
- .mat-sort-header-arrow {
1287
- height: 12px;
1288
- width: 12px;
1289
- position: relative;
1290
- transition: transform 225ms cubic-bezier(0.4, 0, 0.2, 1), opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);
1291
- opacity: 0;
1292
- overflow: visible;
1293
- color: var(--mat-sort-arrow-color, var(--mat-sys-on-surface));
1294
- }
1295
- .mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow, .mat-sort-header.cdk-program-focused .mat-sort-header-arrow, .mat-sort-header:hover .mat-sort-header-arrow {
1296
- opacity: 0.54;
1297
- }
1298
- .mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow {
1299
- opacity: 1;
1300
- }
1301
- .mat-sort-header-descending .mat-sort-header-arrow {
1302
- transform: rotate(180deg);
1303
- }
1304
- .mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow {
1305
- transform: translateY(-25%);
1306
- }
1307
- .mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow {
1308
- transition: none;
1309
- animation: _mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
1310
- }
1311
- .mat-sort-header-recently-cleared-descending .mat-sort-header-arrow {
1312
- transition: none;
1313
- animation: _mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
1314
- }
1315
- .mat-sort-header-animations-disabled .mat-sort-header-arrow {
1316
- transition-duration: 0ms;
1317
- animation-duration: 0ms;
1318
- }
1319
- .mat-sort-header-arrow > svg, .mat-sort-header-arrow [matSortHeaderIcon] {
1320
- width: 24px;
1321
- height: 24px;
1322
- fill: currentColor;
1323
- position: absolute;
1324
- top: 50%;
1325
- left: 50%;
1326
- margin: -12px 0 0 -12px;
1327
- transform: translateZ(0);
1328
- }
1329
- .mat-sort-header-arrow, [dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow {
1330
- margin: 0 0 0 6px;
1331
- }
1332
- .mat-sort-header-position-before .mat-sort-header-arrow, [dir=rtl] .mat-sort-header-arrow {
1333
- margin: 0 6px 0 0;
1334
- }
1335
- `],encapsulation:2})}return i})(),Ji=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=he({type:i});static \u0275inj=ce$1({imports:[no]})}return i})();var Ln=[[["caption"]],[["colgroup"],["col"]],"*"],zn=["caption","colgroup, col","*"];function jn(i,a){i&1&&ot$2(0,2);}function Vn(i,a){i&1&&(ma$1(0,"thead",0),Qg(1,1),Id(),ma$1(2,"tbody",2),Qg(3,3)(4,4),Id(),ma$1(5,"tfoot",0),Qg(6,5),Id());}function qn(i,a){i&1&&Qg(0,1)(1,3)(2,4)(3,5);}var en=(()=>{class i extends vt{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=false;static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,n){t&2&&It$1("mat-table-fixed-layout",n.fixedLayout);},exportAs:["matTable"],features:[Ey([{provide:vt,useExisting:i},{provide:G,useExisting:i},{provide:Se,useValue:null}]),Kr],ngContentSelectors:zn,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,n){t&1&&(sr(Ln),ot$2(0),ot$2(1,1),ci(2,jn,1,0),ci(3,Vn,7,0)(4,qn,4,0)),t&2&&(ri(2),ui(n._isServer?2:-1),ri(),ui(n._isNativeHtmlTable?3:4));},dependencies:[ft,ut,gt,_t],styles:[`.mat-mdc-table-sticky {
1336
- position: sticky !important;
1337
- }
1338
-
1339
- mat-table {
1340
- display: block;
1341
- }
1342
-
1343
- mat-header-row {
1344
- min-height: var(--mat-table-header-container-height, 56px);
1345
- }
1346
-
1347
- mat-row {
1348
- min-height: var(--mat-table-row-item-container-height, 52px);
1349
- }
1350
-
1351
- mat-footer-row {
1352
- min-height: var(--mat-table-footer-container-height, 52px);
1353
- }
1354
-
1355
- mat-row, mat-header-row, mat-footer-row {
1356
- display: flex;
1357
- border-width: 0;
1358
- border-bottom-width: 1px;
1359
- border-style: solid;
1360
- align-items: center;
1361
- box-sizing: border-box;
1362
- }
1363
-
1364
- mat-cell:first-of-type, mat-header-cell:first-of-type, mat-footer-cell:first-of-type {
1365
- padding-left: 24px;
1366
- }
1367
- [dir=rtl] mat-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type) {
1368
- padding-left: 0;
1369
- padding-right: 24px;
1370
- }
1371
- mat-cell:last-of-type, mat-header-cell:last-of-type, mat-footer-cell:last-of-type {
1372
- padding-right: 24px;
1373
- }
1374
- [dir=rtl] mat-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type) {
1375
- padding-right: 0;
1376
- padding-left: 24px;
1377
- }
1378
-
1379
- mat-cell, mat-header-cell, mat-footer-cell {
1380
- flex: 1;
1381
- display: flex;
1382
- align-items: center;
1383
- overflow: hidden;
1384
- word-wrap: break-word;
1385
- min-height: inherit;
1386
- }
1387
-
1388
- .mat-mdc-table {
1389
- min-width: 100%;
1390
- border: 0;
1391
- border-spacing: 0;
1392
- table-layout: auto;
1393
- white-space: normal;
1394
- background-color: var(--mat-table-background-color, var(--mat-sys-surface));
1395
- }
1396
-
1397
- .mat-table-fixed-layout {
1398
- table-layout: fixed;
1399
- }
1400
-
1401
- .mdc-data-table__cell {
1402
- box-sizing: border-box;
1403
- overflow: hidden;
1404
- text-align: start;
1405
- text-overflow: ellipsis;
1406
- }
1407
-
1408
- .mdc-data-table__cell,
1409
- .mdc-data-table__header-cell {
1410
- padding: 0 16px;
1411
- }
1412
-
1413
- .mat-mdc-header-row {
1414
- -moz-osx-font-smoothing: grayscale;
1415
- -webkit-font-smoothing: antialiased;
1416
- height: var(--mat-table-header-container-height, 56px);
1417
- color: var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
1418
- font-family: var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));
1419
- line-height: var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));
1420
- font-size: var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));
1421
- font-weight: var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500));
1422
- }
1423
-
1424
- .mat-mdc-row {
1425
- height: var(--mat-table-row-item-container-height, 52px);
1426
- color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
1427
- }
1428
-
1429
- .mat-mdc-row,
1430
- .mdc-data-table__content {
1431
- -moz-osx-font-smoothing: grayscale;
1432
- -webkit-font-smoothing: antialiased;
1433
- font-family: var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
1434
- line-height: var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));
1435
- font-size: var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));
1436
- font-weight: var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight));
1437
- }
1438
-
1439
- .mat-mdc-footer-row {
1440
- -moz-osx-font-smoothing: grayscale;
1441
- -webkit-font-smoothing: antialiased;
1442
- height: var(--mat-table-footer-container-height, 52px);
1443
- color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
1444
- font-family: var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
1445
- line-height: var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));
1446
- font-size: var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));
1447
- font-weight: var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));
1448
- letter-spacing: var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking));
1449
- }
1450
-
1451
- .mat-mdc-header-cell {
1452
- border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
1453
- border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
1454
- border-bottom-style: solid;
1455
- letter-spacing: var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));
1456
- font-weight: inherit;
1457
- line-height: inherit;
1458
- box-sizing: border-box;
1459
- text-overflow: ellipsis;
1460
- overflow: hidden;
1461
- outline: none;
1462
- text-align: start;
1463
- }
1464
- .mdc-data-table__row:last-child > .mat-mdc-header-cell {
1465
- border-bottom: none;
1466
- }
1467
-
1468
- .mat-mdc-cell {
1469
- border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
1470
- border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
1471
- border-bottom-style: solid;
1472
- letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
1473
- line-height: inherit;
1474
- }
1475
- .mdc-data-table__row:last-child > .mat-mdc-cell {
1476
- border-bottom: none;
1477
- }
1478
-
1479
- .mat-mdc-footer-cell {
1480
- letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
1481
- }
1482
-
1483
- mat-row.mat-mdc-row,
1484
- mat-header-row.mat-mdc-header-row,
1485
- mat-footer-row.mat-mdc-footer-row {
1486
- border-bottom: none;
1487
- }
1488
-
1489
- .mat-mdc-table tbody,
1490
- .mat-mdc-table tfoot,
1491
- .mat-mdc-table thead,
1492
- .mat-mdc-cell,
1493
- .mat-mdc-footer-cell,
1494
- .mat-mdc-header-row,
1495
- .mat-mdc-row,
1496
- .mat-mdc-footer-row,
1497
- .mat-mdc-table .mat-mdc-header-cell {
1498
- background: inherit;
1499
- }
1500
-
1501
- .mat-mdc-table mat-header-row.mat-mdc-header-row,
1502
- .mat-mdc-table mat-row.mat-mdc-row,
1503
- .mat-mdc-table mat-footer-row.mat-mdc-footer-cell {
1504
- height: unset;
1505
- }
1506
-
1507
- mat-header-cell.mat-mdc-header-cell,
1508
- mat-cell.mat-mdc-cell,
1509
- mat-footer-cell.mat-mdc-footer-cell {
1510
- align-self: stretch;
1511
- }
1512
- `],encapsulation:2,changeDetection:1})}return i})(),tn=(()=>{class i extends $e{static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["","matCellDef",""]],features:[Ey([{provide:$e,useExisting:i}]),Kr]})}return i})(),nn=(()=>{class i extends Ge{static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["","matHeaderCellDef",""]],features:[Ey([{provide:Ge,useExisting:i}]),Kr]})}return i})();var an=(()=>{class i extends oe{get name(){return this._name}set name(e){this._setNameInput(e);}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`);}static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Ey([{provide:oe,useExisting:i}]),Kr]})}return i})(),on=(()=>{class i extends Ki{static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[Kr]})}return i})();var rn=(()=>{class i extends Wi{static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[Kr]})}return i})();var sn=(()=>{class i extends Re{static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",wt$1]},features:[Ey([{provide:Re,useExisting:i}]),Kr]})}return i})();var cn=(()=>{class i extends Ke{static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275dir=rt$1({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Ey([{provide:Ke,useExisting:i}]),Kr]})}return i})(),ln=(()=>{class i extends mt{static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Ey([{provide:mt,useExisting:i}]),Kr],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){t&1&&Qg(0,0);},dependencies:[de],encapsulation:2,changeDetection:1})}return i})();var dn=(()=>{class i extends pt{static \u0275fac=(()=>{let e;return function(n){return (e||(e=pm(i)))(n||i)}})();static \u0275cmp=xe({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Ey([{provide:pt,useExisting:i}]),Kr],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,n){t&1&&Qg(0,0);},dependencies:[de],encapsulation:2,changeDetection:1})}return i})(),hn=(()=>{class i extends We{_cellSelector="td, mat-cell, [mat-cell], .mat-cell";constructor(){super(),this._contentClassNames.push("mat-mdc-no-data-row","mat-mdc-row","mdc-data-table__row"),this._cellClassNames.push("mat-mdc-cell","mdc-data-table__cell","mat-no-data-cell");}static \u0275fac=function(t){return new(t||i)};static \u0275dir=rt$1({type:i,selectors:[["ng-template","matNoDataRow",""]],features:[Ey([{provide:We,useExisting:i}]),Kr]})}return i})();var mn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=he({type:i});static \u0275inj=ce$1({imports:[Zi,no]})}return i})(),Qn=9007199254740991,Ze=class extends dt$1{_data;_renderData=new Cn$1([]);_filter=new Cn$1("");_internalPageChanges=new Z;_renderChangesSubscription=null;filteredData;get data(){return this._data.value}set data(a){a=Array.isArray(a)?a:[],this._data.next(a),this._renderChangesSubscription||this._filterData(a);}get filter(){return this._filter.value}set filter(a){this._filter.next(a),this._renderChangesSubscription||this._filterData(this.data);}get sort(){return this._sort}set sort(a){this._sort=a,this._updateChangeSubscription();}_sort;get paginator(){return this._paginator}set paginator(a){this._paginator=a,this._updateChangeSubscription();}_paginator;sortingDataAccessor=(a,e)=>{let t=a[e];if(Pv(t)){let n=Number(t);return n<Qn?n:t}return t};sortData=(a,e)=>{let t=e.active,n=e.direction;return !t||n==""?a:a.sort((o,r)=>{let d=this.sortingDataAccessor(o,t),p=this.sortingDataAccessor(r,t),f=typeof d,g=typeof p;f!==g&&(f==="number"&&(d+=""),g==="number"&&(p+=""));let R=0;return d!=null&&p!=null?d>p?R=1:d<p&&(R=-1):d!=null?R=1:p!=null&&(R=-1),R*(n=="asc"?1:-1)})};filterPredicate=(a,e)=>{let t=e.trim().toLowerCase();return Object.values(a).some(n=>`${n}`.toLowerCase().includes(t))};constructor(a=[]){super(),this._data=new Cn$1(a),this._updateChangeSubscription();}_updateChangeSubscription(){let a=this._sort?Jb(this._sort.sortChange,this._sort.initialized):qe(null),e=this._paginator?Jb(this._paginator.page,this._internalPageChanges,this._paginator.initialized):qe(null),t=this._data,n=Ec([t,this._filter]).pipe(A(([d])=>this._filterData(d))),o=Ec([n,a]).pipe(A(([d])=>this._orderData(d))),r=Ec([o,e]).pipe(A(([d])=>this._pageData(d)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=r.subscribe(d=>this._renderData.next(d));}_filterData(a){return this.filteredData=this.filter==null||this.filter===""?a:a.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(a){return this.sort?this.sortData(a.slice(),this.sort):a}_pageData(a){if(!this.paginator)return a;let e=this.paginator.pageIndex*this.paginator.pageSize;return a.slice(e,e+this.paginator.pageSize)}_updatePaginator(a){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=a,e.pageIndex>0)){let t=Math.ceil(e.length/e.pageSize)-1||0,n=Math.min(e.pageIndex,t);n!==e.pageIndex&&(e.pageIndex=n,this._internalPageChanges.next());}});}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null;}};var Me=class i{api=h(vb);namespaces=Qe$1([]);loading=Qe$1(false);error=Qe$1(null);loadNamespaces(){this.loading.set(true),this.error.set(null),this.api.getNamespaces().pipe(yr(()=>this.loading.set(false))).subscribe({next:a=>this.namespaces.set(XW(a)),error:a=>{this.namespaces.set([]),this.error.set(a);}});}static \u0275fac=function(e){return new(e||i)};static \u0275prov=M({token:i,factory:i.\u0275fac})};var pn=(i,a)=>a.key;function Gn(i,a){if(i&1&&pn$2(0,"span",3),i&2){let e=a.$implicit;di("seg--"+e.tone),cy("flex-grow",e.ratio),It$1("running",e.status==="running")("skipped",e.status==="skipped");}}function Kn(i,a){i&1&&VC(0," \xB7 ");}function Wn(i,a){if(i&1&&(dn$1(0,"span"),VC(1),fn$1(),ci(2,Kn,1,0)),i&2){let e=a.$implicit,t=a.$index,n=a.$count;It$1("current",e.status==="running"),ri(),hy(e.key),ri(),ui(t!==n-1?2:-1);}}function Zn(i,a){if(i&1&&(dn$1(0,"span",2),eC(1,Wn,3,4,null,null,pn),fn$1()),i&2){let e=pC();ri(),tC(e.phases());}}var Ye=class i{phases=Oy.required();height=Oy(8);showLegend=Oy(true);ariaLabel=lT(()=>"Phases: "+this.phases().map(a=>a.status==="running"?`${a.key} running`:a.status==="waiting_human"?`${a.key} waiting for human`:a.status==="failed"?`${a.key} failed`:a.status==="indeterminate"?`${a.key} indeterminate`:a.status==="cancelled"?`${a.key} cancelled`:a.status==="pending"?`${a.key} waiting`:a.status==="skipped"?`${a.key} skipped, not executed`:`${a.key} completed`).join(", "));static \u0275fac=function(e){return new(e||i)};static \u0275cmp=xe({type:i,selectors:[["sf-phase-bar"]],inputs:{phases:[1,"phases"],height:[1,"height"],showLegend:[1,"showLegend"]},decls:4,vars:4,consts:[["role","img",1,"bar"],[1,"seg",3,"class","running","skipped","flex-grow"],[1,"legend"],[1,"seg"]],template:function(e,t){e&1&&(dn$1(0,"div",0),eC(1,Gn,1,8,"span",1,pn),fn$1(),ci(3,Zn,3,0,"span",2)),e&2&&(cy("height",t.height(),"px"),ir("aria-label",t.ariaLabel()),ri(),tC(t.phases()),ri(2),ui(t.showLegend()?3:-1));},styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:12px}.bar[_ngcontent-%COMP%]{flex:1;display:flex;gap:3px}.seg[_ngcontent-%COMP%]{min-width:4px;border-radius:var(--radius-sm, 0)}.seg--amber[_ngcontent-%COMP%]{background:var(--color-warning)}.seg--violet[_ngcontent-%COMP%]{background:var(--color-accent-700)}.seg--green[_ngcontent-%COMP%]{background:var(--color-success)}.seg--cyan[_ngcontent-%COMP%]{background:var(--color-accent)}.seg.running[_ngcontent-%COMP%]{background:repeating-linear-gradient(135deg,var(--color-accent) 0 6px,var(--color-accent-700) 6px 12px)}.seg.skipped[_ngcontent-%COMP%]{background:var(--sf-outline-strong);opacity:.55}.legend[_ngcontent-%COMP%]{font-family:var(--sf-mono);font-size:12px;color:var(--sf-text-muted);white-space:nowrap}.legend[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{color:var(--color-accent-700)}"]})};var Yn=()=>[10,25,50],fn=i=>["/sessions",i],_n=i=>({namespaceId:i}),Xn=(i,a)=>a.id,Jn=(i,a)=>a.name;function ea(i,a){if(i&1&&(ma$1(0,"mat-option",18),VC(1),Id()),i&2){let e=a.$implicit;Zg("value",e.id),ri(),hy(e.name);}}function ta(i,a){i&1&&(ma$1(0,"mat-hint"),VC(1,"Loading\u2026"),Id());}function ia(i,a){if(i&1&&(ma$1(0,"mat-hint",19),VC(1),Id()),i&2){let e=pC();ri(),hy(e.namespacesError());}}function na(i,a){i&1&&(ma$1(0,"th",50),VC(1,"Run"),Id());}function aa(i,a){if(i&1&&(ma$1(0,"td",51)(1,"a",52),VC(2),Id(),ma$1(3,"span",53),VC(4),Id()()),i&2){let e=a.$implicit;ri(),Zg("routerLink",QC(4,fn,e.id))("queryParams",QC(6,_n,e.namespaceId)),ri(),hy(e.title),ri(2),hy(e.id);}}function oa(i,a){i&1&&(ma$1(0,"th",54),VC(1,"Namespace"),Id());}function ra(i,a){if(i&1&&(ma$1(0,"td",55),VC(1),Id()),i&2){let e=a.$implicit;ri(),hy(e.namespaceId??"\u2014");}}function sa(i,a){i&1&&(ma$1(0,"th",54),VC(1,"Project \u203A branch"),Id());}function ca(i,a){if(i&1&&VC(0),i&2){let e=pC().$implicit;Sd(" \u203A ",e.branch," ");}}function la(i,a){if(i&1&&(ma$1(0,"td",55),VC(1),ci(2,ca,1,1),Id()),i&2){let e=a.$implicit;It$1("cyan",e.branch),ri(),Sd(" ",e.project," "),ri(),ui(e.branch?2:-1);}}function da(i,a){i&1&&(ma$1(0,"th",50),VC(1,"Status"),Id());}function ha(i,a){i&1&&(ma$1(0,"sf-status-chip",56),VC(1,"completed / stopped"),Id());}function ma(i,a){i&1&&(ma$1(0,"sf-status-chip",57),VC(1,"in progress"),Id());}function pa(i,a){if(i&1&&(ma$1(0,"td",51),ci(1,ha,2,0,"sf-status-chip",56)(2,ma,2,0,"sf-status-chip",57),Id()),i&2){let e=a.$implicit;ri(),ui(e.status==="destroyed"?1:2);}}function ua(i,a){i&1&&(ma$1(0,"th",54),VC(1,"Phases"),Id());}function fa(i,a){if(i&1&&Yg(0,"sf-phase-bar",58),i&2){let e=pC().$implicit;Zg("phases",e.phases)("height",6)("showLegend",false);}}function _a(i,a){i&1&&(ma$1(0,"span",4),VC(1,"\u2014"),Id());}function ga(i,a){if(i&1&&(ma$1(0,"td",51),ci(1,fa,1,3,"sf-phase-bar",58)(2,_a,2,0,"span",4),Id()),i&2){let e=a.$implicit;ri(),ui(e.phases.length?1:2);}}function va(i,a){i&1&&(ma$1(0,"th",59),VC(1,"Cost"),Id());}function ya(i,a){if(i&1&&(ma$1(0,"td",60),VC(1),eT(2,"usd"),Id()),i&2){let e=a.$implicit;It$1("zero",e.cost===0),ri(),Sd(" ",oT(2,3,e.cost,4,e.unknownCostCount)," ");}}function ba(i,a){i&1&&(ma$1(0,"th",54)(1,"span",61),VC(2,"Actions"),Id()());}function wa(i,a){if(i&1&&(ma$1(0,"td",51)(1,"button",62)(2,"mat-icon"),VC(3,"more_vert"),Id()(),ma$1(4,"mat-menu",null,0)(6,"a",63)(7,"mat-icon"),VC(8,"monitoring"),Id(),VC(9,"Open session"),Id(),ma$1(10,"button",64)(11,"mat-icon"),VC(12,"receipt_long"),Id(),VC(13,"View log"),Id()()()),i&2){let e=a.$implicit,t=bC(5);ri(),Zg("matMenuTriggerFor",t),ri(5),Zg("routerLink",QC(3,fn,e.id))("queryParams",QC(5,_n,e.namespaceId));}}function Ca(i,a){i&1&&Yg(0,"tr",65);}function Da(i,a){if(i&1&&Yg(0,"tr",66),i&2){let e=a.$implicit;It$1("row--active",e.status!=="destroyed");}}function ka(i,a){if(i&1&&(ma$1(0,"tr",67)(1,"td",68),VC(2,"No run matches these filters."),Id()()),i&2){let e=pC();ri(),ir("colspan",e.columns.length);}}function xa(i,a){if(i&1&&(ma$1(0,"li",69)(1,"span",70),VC(2),Id(),ma$1(3,"span",71),Yg(4,"span",72),Id(),ma$1(5,"span",73),VC(6),eT(7,"usd"),Id()()),i&2){let e=a.$implicit;It$1("active",e.active),ri(2),hy(e.name),ri(2),cy("width",e.pct,"%"),ri(2),hy(oT(7,6,e.cost,2,e.unknownCostCount));}}var un=class i{historyState=h(Me);store=h(pn$1);columns=["run","namespace","branch","status","phases","cost","actions"];query=Qe$1("");status=Qe$1("all");namespaceId=Qe$1("");namespaces=this.historyState.namespaces;namespacesLoading=this.historyState.loading;namespacesError=lT(()=>this.historyState.error()?"Namespaces unavailable.":null);rows=lT(()=>this.store.runs().map(a=>P(I({},a),{cost:a.status==="destroyed"&&a.finalCostUsd!==void 0?a.finalCostUsd:a.run?a.run.costUsd:a.costUsd,unknownCostCount:a.run?.unknownCostCount??null})));counts=lT(()=>({all:this.rows().length,working:this.rows().filter(a=>a.status!=="destroyed").length,destroyed:this.rows().filter(a=>a.status==="destroyed").length}));filtered=lT(()=>{let a=this.query().trim().toLowerCase(),e=this.status(),t=this.namespaceId();return this.rows().filter(n=>(!t||n.namespaceId===t)&&(e==="all"||(e==="working"?n.status!=="destroyed":n.status==="destroyed"))&&(!a||[n.title,n.branch,n.id,n.run?.workflow].some(o=>o?.toLowerCase().includes(a))))});totalCost=lT(()=>{let a=this.filtered();return a.some(e=>e.cost===null)?null:a.reduce((e,t)=>e+(t.cost??0),0)});totalUnknownCostCount=lT(()=>{let a=this.filtered();return a.some(e=>e.unknownCostCount===null)?null:a.reduce((e,t)=>e+(t.unknownCostCount??0),0)});costBars=lT(()=>{let e=[...this.filtered().filter(n=>n.cost!==null)].sort((n,o)=>o.cost-n.cost),t=Math.max(...e.map(n=>n.cost),1e-4);return e.map(n=>({name:n.title,cost:n.cost,unknownCostCount:n.unknownCostCount,active:n.status!=="destroyed",pct:Math.max(n.cost/t*100,.5)}))});dataSource=new Ze([]);sort=mU(be);paginator=mU(wt);constructor(){h(yb).crumbs.set([{label:"Run history",link:"/history"}]),this.historyState.loadNamespaces(),$s(()=>{this.store.runs().some(a=>a.status==="destroyed")&&this.store.enrichRemovedRunsUsage();}),$s(()=>{this.dataSource.data=this.filtered();}),$s(()=>{this.dataSource.sort=this.sort()??null,this.dataSource.paginator=this.paginator()??null;});}exportCsv(){let a=["run_id;namespace_id;project;branch;status;workflow;cost_usd",...this.filtered().map(t=>[t.id,t.namespaceId??"",t.project,t.branch??"",t.status,t.run?.workflow??t.title,t.cost?.toFixed(4)??""].join(";"))],e=URL.createObjectURL(new Blob([a.join(`
1513
- `)],{type:"text/csv"}));Object.assign(document.createElement("a"),{href:e,download:"runs.csv"}).click(),URL.revokeObjectURL(e);}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=xe({type:i,selectors:[["sf-history-page"]],viewQuery:function(e,t){e&1&&iy(t.sort,be,5)(t.paginator,wt,5),e&2&&vC(2);},features:[Ey([{provide:se,useClass:_t$1},Me])],decls:82,vars:20,consts:[["menu","matMenu"],[1,"page"],[1,"page-head"],[1,"titles"],[1,"sf-muted"],["mat-stroked-button","",1,"sf-secondary",3,"click"],[1,"filters"],["appearance","outline","subscriptSizing","dynamic",1,"search"],["matPrefix",""],["matInput","","placeholder","Search run, branch, workflow\u2026","aria-label","Search",3,"input","value"],["aria-label","Filter by status",3,"change","value"],["value","all"],["value","working"],["value","destroyed"],[1,"sf-spacer"],["appearance","outline","subscriptSizing","dynamic",1,"project"],[3,"selectionChange","value"],["value",""],[3,"value"],[1,"hint--error"],[1,"table-wrap","sf-panel"],["mat-table","","matSort","","matSortActive","cost","matSortDirection","desc",3,"dataSource"],["matColumnDef","run"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","namespace"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","mono-cell",4,"matCellDef"],["matColumnDef","branch"],["mat-cell","","class","mono-cell",3,"cyan",4,"matCellDef"],["matColumnDef","status"],["matColumnDef","phases"],["matColumnDef","cost"],["mat-header-cell","","mat-sort-header","","arrowPosition","before","class","num",4,"matHeaderCellDef"],["mat-cell","","class","num mono-cell",3,"zero",4,"matCellDef"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"row--active",4,"matRowDef","matRowDefColumns"],["class","mat-row",4,"matNoDataRow"],[1,"table-foot"],[1,"sf-mono"],["aria-label","Pagination",3,"pageSize","pageSizeOptions"],["aria-labelledby","costs-title",1,"costs","sf-panel"],[1,"costs-head"],["id","costs-title",1,"sf-overline"],[1,"legend"],[1,"sw","sw--active"],[1,"sw"],[1,"bars"],[1,"bar-row",3,"active"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[1,"name","name--active",3,"routerLink","queryParams"],[1,"sf-id"],["mat-header-cell",""],["mat-cell","",1,"mono-cell"],["tone","neutral","size","sm","dot",""],["tone","blue","size","sm","icon","progress_activity","spin",""],[3,"phases","height","showLegend"],["mat-header-cell","","mat-sort-header","","arrowPosition","before",1,"num"],["mat-cell","",1,"num","mono-cell"],[1,"cdk-visually-hidden"],["mat-icon-button","","aria-label","Actions",3,"matMenuTriggerFor"],["mat-menu-item","",3,"routerLink","queryParams"],["mat-menu-item",""],["mat-header-row",""],["mat-row",""],[1,"mat-row"],[1,"mat-cell","empty"],[1,"bar-row"],[1,"bar-name","sf-ellipsis"],[1,"bar-track"],[1,"bar-fill"],[1,"bar-val"]],template:function(e,t){e&1&&(ma$1(0,"div",1)(1,"header",2)(2,"div",3)(3,"h1"),VC(4,"Run history"),Id(),ma$1(5,"p",4),VC(6,"Every Factory run with its cost, status, duration and phases"),Id()(),ma$1(7,"button",5),ey("click",function(){return t.exportCsv()}),ma$1(8,"mat-icon"),VC(9,"download"),Id(),VC(10,"Export CSV "),Id()(),ma$1(11,"div",6)(12,"mat-form-field",7)(13,"mat-icon",8),VC(14,"search"),Id(),ma$1(15,"input",9),ey("input",function(o){return t.query.set(o.target.value)}),Id()(),ma$1(16,"mat-chip-listbox",10),ey("change",function(o){return t.status.set(o.value??"all")}),ma$1(17,"mat-chip-option",11),VC(18),Id(),ma$1(19,"mat-chip-option",12),VC(20),Id(),ma$1(21,"mat-chip-option",13),VC(22),Id()(),Yg(23,"span",14),ma$1(24,"mat-form-field",15)(25,"mat-label"),VC(26,"Namespace"),Id(),ma$1(27,"mat-select",16),ey("selectionChange",function(o){return t.namespaceId.set(o.value)}),ma$1(28,"mat-option",17),VC(29,"All"),Id(),eC(30,ea,2,2,"mat-option",18,Xn),Id(),ci(32,ta,2,0,"mat-hint"),ci(33,ia,2,1,"mat-hint",19),Id()(),ma$1(34,"section",20)(35,"table",21),wd(36,22),$g(37,na,2,0,"th",23)(38,aa,5,8,"td",24),Cd(),wd(39,25),$g(40,oa,2,0,"th",26)(41,ra,2,1,"td",27),Cd(),wd(42,28),$g(43,sa,2,0,"th",26)(44,la,3,4,"td",29),Cd(),wd(45,30),$g(46,da,2,0,"th",23)(47,pa,3,1,"td",24),Cd(),wd(48,31),$g(49,ua,2,0,"th",26)(50,ga,3,1,"td",24),Cd(),wd(51,32),$g(52,va,2,0,"th",33)(53,ya,3,7,"td",34),Cd(),wd(54,35),$g(55,ba,3,0,"th",26)(56,wa,14,7,"td",24),Cd(),$g(57,Ca,1,0,"tr",36)(58,Da,1,2,"tr",37)(59,ka,3,1,"tr",38),Id(),ma$1(60,"footer",39)(61,"span"),VC(62),ma$1(63,"b",40),VC(64),eT(65,"usd"),Id()(),Yg(66,"span",14)(67,"mat-paginator",41),Id()(),ma$1(68,"section",42)(69,"header",43)(70,"h2",44),VC(71,"Cost per run"),Id(),Yg(72,"span",14),ma$1(73,"span",45),Yg(74,"i",46),VC(75,"active"),Id(),ma$1(76,"span",45),Yg(77,"i",47),VC(78,"destroyed"),Id()(),ma$1(79,"ul",48),eC(80,xa,8,10,"li",49,Jn),Id()()()),e&2&&(ri(15),Zg("value",t.query()),ri(),Zg("value",t.status()),ri(2),Sd("All \xB7 ",t.counts().all),ri(2),Sd("In progress \xB7 ",t.counts().working),ri(2),Sd("Completed / Stopped \xB7 ",t.counts().destroyed),ri(5),Zg("value",t.namespaceId()),ri(3),tC(t.namespaces()),ri(2),ui(t.namespacesLoading()?32:-1),ri(),ui(t.namespacesError()?33:-1),ri(2),Zg("dataSource",t.dataSource),ri(22),Zg("matHeaderRowDef",t.columns),ri(),Zg("matRowDefColumns",t.columns),ri(4),Sd("",t.filtered().length," runs \xB7 cumulative cost "),ri(2),hy(oT(65,15,t.totalCost(),2,t.totalUnknownCostCount())),ri(3),Zg("pageSize",25)("pageSizeOptions",KC(19,Yn)),ri(13),tC(t.costBars()));},dependencies:[Nt,HW,UW,zM,Qi,ct,st,Pt,It,Me$1,Se$1,bi,Y8,Z8,Be,Pe,Bi$1,U,le,Ai$1,ai,wt,Wr,Hr,ce,Ji,be,Xi,mn,en,nn,sn,an,tn,cn,on,rn,ln,dn,hn,y,Ye,ot$1],styles:['@charset "UTF-8";.page[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:18px;max-width:1400px}.page-head[_ngcontent-%COMP%]{display:flex;align-items:flex-end;gap:16px}.titles[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:4px}h1[_ngcontent-%COMP%]{margin:0;font-family:var(--font-heading);font-size:28px;font-weight:600;letter-spacing:-.01em}.titles[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:14px}.filters[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.search[_ngcontent-%COMP%]{width:380px}.project[_ngcontent-%COMP%]{width:160px}.table-wrap[_ngcontent-%COMP%]{overflow:hidden}table[_ngcontent-%COMP%]{width:100%}th.mat-mdc-header-cell[_ngcontent-%COMP%]{background:var(--color-surface-muted);font-family:var(--font-heading);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}td.mat-mdc-cell[_ngcontent-%COMP%]{height:60px}tr.row--active[_ngcontent-%COMP%]{background:color-mix(in srgb,var(--color-accent) 8%,transparent)}tr.mat-mdc-row[_ngcontent-%COMP%]:hover{background:var(--color-bg-hover)}.name[_ngcontent-%COMP%]{font-family:var(--sf-mono);font-size:13.5px;font-weight:600;color:var(--sf-text-2)}.name--active[_ngcontent-%COMP%]{color:var(--color-accent-700);font-weight:700;text-decoration:none}.name--active[_ngcontent-%COMP%]:hover{text-decoration:underline}.mono-cell[_ngcontent-%COMP%]{font-family:var(--sf-mono);font-size:12.5px;color:var(--sf-text-muted)}.mono-cell.cyan[_ngcontent-%COMP%]{color:var(--sf-secondary)}.run-cell[_ngcontent-%COMP%]{display:inline-flex;gap:8px;white-space:nowrap}td.mat-column-branch[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}.plain[_ngcontent-%COMP%]{font-family:var(--sf-font);font-size:13px}.num[_ngcontent-%COMP%]{text-align:right}td.num[_ngcontent-%COMP%]{font-size:13.5px;font-weight:600;color:var(--sf-text)}td.num.zero[_ngcontent-%COMP%]{color:var(--sf-text-faint)}sf-phase-bar[_ngcontent-%COMP%]{width:140px}.empty[_ngcontent-%COMP%]{padding:32px;text-align:center;color:var(--sf-text-muted)}.table-foot[_ngcontent-%COMP%]{display:flex;align-items:center;padding-left:20px;font-size:13px;color:var(--sf-text-muted);border-top:1px solid var(--color-divider)}.table-foot[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:var(--sf-text)}.costs[_ngcontent-%COMP%]{padding:20px 22px;display:flex;flex-direction:column;gap:14px}.costs-head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px}.legend[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--sf-text-muted)}.sw[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:var(--radius-sm, 0);background:var(--color-neutral-500)}.sw--active[_ngcontent-%COMP%]{background:var(--color-accent)}.bars[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}.bar-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:330px minmax(0,1fr) 70px;gap:14px;align-items:center;font-family:var(--sf-mono);font-size:12.5px}.bar-name[_ngcontent-%COMP%]{color:var(--sf-text-2)}.bar-track[_ngcontent-%COMP%]{display:flex;height:14px}.bar-fill[_ngcontent-%COMP%]{border-radius:0 var(--radius-sm, 0) var(--radius-sm, 0) 0;background:var(--color-neutral-500)}.bar-val[_ngcontent-%COMP%]{text-align:right}.bar-row.active[_ngcontent-%COMP%] .bar-name[_ngcontent-%COMP%]{color:var(--sf-text)}.bar-row.active[_ngcontent-%COMP%] .bar-fill[_ngcontent-%COMP%]{background:var(--color-accent)}.bar-row.active[_ngcontent-%COMP%] .bar-val[_ngcontent-%COMP%]{color:var(--color-accent-700)}']})};export{un as HistoryPageComponent};