@pipelab/ui 2.0.0-beta.18 → 2.0.0-beta.19
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.
- package/assets/Layout-BLjrrEyL.js +298 -0
- package/assets/{Layout-FIXYm854.css → Layout-Bx2uRXro.css} +1 -1
- package/assets/{accordion-CMy4PzbL.js → accordion-Cnuumtp_.js} +1 -1
- package/assets/{checkbox--ZzX6hNS.js → checkbox-BoO_OZOz.js} +1 -1
- package/assets/{chevronright-Cjk-bctP.js → chevronright-_Psj8mTP.js} +1 -1
- package/assets/{connections-Dyz6Pvxm.js → connections-BNe3oEey.js} +1 -1
- package/assets/{connections-DGmAXvOm.js → connections-bDoYqOAW.js} +1 -1
- package/assets/{editor-C8aAemZg.css → editor-BpQGpdGH.css} +1 -1
- package/assets/{editor-mJaf_gwK.js → editor-Doc0dkih.js} +22 -22
- package/assets/index-BkM3q6Wr.css +1 -0
- package/assets/index-CDeamhh1.js +764 -0
- package/assets/{integrations-Dv5wHwIq.js → integrations-DnJoIQC6.js} +1 -1
- package/assets/pages-CitSHAXj.js +84 -0
- package/assets/pages-n1jf8KMm.css +1 -0
- package/assets/{purify-Bh6wx2J7.js → purify-jTtZWPE5.js} +1 -1
- package/assets/{radiobutton-ZnyrrXI1.js → radiobutton-D_xF5hhJ.js} +1 -1
- package/assets/{simple-editor-BpRmL1s3.js → simple-editor-UOwkO9ci.js} +1 -1
- package/assets/{src-BBYUXxaa.js → src-D2HHhxFh.js} +1 -1
- package/assets/{tab-l6F1_e6c.js → tab-DMw6bDQi.js} +1 -1
- package/assets/{tag-BUv3vpiu.js → tag-BdXkfwjW.js} +1 -1
- package/assets/{timescircle-OZEljdFp.js → timescircle-Fkq-419O.js} +1 -1
- package/assets/{toast-DQN9s0VP.js → toast-C2s-vzT2.js} +1 -1
- package/assets/useTour-BGvip8ST.js +205 -0
- package/assets/useconfirm-BSCbFIp4.js +366 -0
- package/assets/{usetoast-BYYM2KP9.js → vue-i18n-CI2Y2KyD.js} +6 -6
- package/index.html +13 -13
- package/package.json +1 -1
- package/assets/Layout--sIxRbVH.js +0 -298
- package/assets/index-CQ_uXHBu.css +0 -1
- package/assets/index-Df6mYcaK.js +0 -764
- package/assets/pages-CPbAFyAO.css +0 -1
- package/assets/pages-DnM1_phW.js +0 -84
- package/assets/useTour-B_Wm5oUP.js +0 -520
- package/assets/useconfirm-BDSyul8Z.js +0 -51
- /package/assets/{usetoast-bLNjwPI1.css → vue-i18n-bLNjwPI1.css} +0 -0
|
@@ -1,520 +0,0 @@
|
|
|
1
|
-
import{_ as e,at as t,j as n,rt as r,st as i}from"./reactivity.esm-bundler-yhMxlGFU.js";import{A as a,C as o,D as s,F as c,G as l,H as u,I as d,M as f,N as p,O as m,P as h,W as g,_,c as v,d as y,f as b,g as x,i as S,l as C,m as w,t as T,u as E,v as D,w as O}from"./_plugin-vue_export-helper-DUvwmBqA.js";import{A as k,L as A,R as j,Sn as M,U as ee,W as te,_n as ne,bt as N,gn as re,k as ie,w as P,xt as F,yt as ae}from"./usetoast-BYYM2KP9.js";import{n as oe,r as I}from"./useconfirm-BDSyul8Z.js";import{a as se}from"./Layout--sIxRbVH.js";import{a as ce,i as le,n as ue,r as de,t as fe}from"./tab-l6F1_e6c.js";var pe=[`src`],me=D({__name:`PluginIcon`,props:{icon:{type:Object,required:!0},width:{type:[String,Number],required:!1,default:`40px`},color:{type:String,required:!1,default:`black`}},setup(e){return(n,i)=>e.icon?e.icon.type===`image`?(a(),b(`img`,{key:1,style:t({width:e.width}),src:e.icon.image},null,12,pe)):e.icon.type===`icon`?(a(),b(`i`,{key:2,style:t({"font-size":e.width,width:e.width,display:`flex`,color:e.color}),class:r({"node-icon":!0,mdi:e.icon.icon.startsWith(`mdi-`),pi:e.icon.icon.startsWith(`pi-`),[e.icon.icon]:!0})},null,6)):y(``,!0):(a(),b(`div`,{key:0,style:t({width:e.width})},null,4))}}),he=F.extend({name:`message`,style:`
|
|
2
|
-
.p-message {
|
|
3
|
-
display: grid;
|
|
4
|
-
grid-template-rows: 1fr;
|
|
5
|
-
border-radius: dt('message.border.radius');
|
|
6
|
-
outline-width: dt('message.border.width');
|
|
7
|
-
outline-style: solid;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.p-message-content-wrapper {
|
|
11
|
-
min-height: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.p-message-content {
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
padding: dt('message.content.padding');
|
|
18
|
-
gap: dt('message.content.gap');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.p-message-icon {
|
|
22
|
-
flex-shrink: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.p-message-close-button {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
flex-shrink: 0;
|
|
30
|
-
margin-inline-start: auto;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
position: relative;
|
|
33
|
-
width: dt('message.close.button.width');
|
|
34
|
-
height: dt('message.close.button.height');
|
|
35
|
-
border-radius: dt('message.close.button.border.radius');
|
|
36
|
-
background: transparent;
|
|
37
|
-
transition:
|
|
38
|
-
background dt('message.transition.duration'),
|
|
39
|
-
color dt('message.transition.duration'),
|
|
40
|
-
outline-color dt('message.transition.duration'),
|
|
41
|
-
box-shadow dt('message.transition.duration'),
|
|
42
|
-
opacity 0.3s;
|
|
43
|
-
outline-color: transparent;
|
|
44
|
-
color: inherit;
|
|
45
|
-
padding: 0;
|
|
46
|
-
border: none;
|
|
47
|
-
cursor: pointer;
|
|
48
|
-
user-select: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.p-message-close-icon {
|
|
52
|
-
font-size: dt('message.close.icon.size');
|
|
53
|
-
width: dt('message.close.icon.size');
|
|
54
|
-
height: dt('message.close.icon.size');
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.p-message-close-button:focus-visible {
|
|
58
|
-
outline-width: dt('message.close.button.focus.ring.width');
|
|
59
|
-
outline-style: dt('message.close.button.focus.ring.style');
|
|
60
|
-
outline-offset: dt('message.close.button.focus.ring.offset');
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.p-message-info {
|
|
64
|
-
background: dt('message.info.background');
|
|
65
|
-
outline-color: dt('message.info.border.color');
|
|
66
|
-
color: dt('message.info.color');
|
|
67
|
-
box-shadow: dt('message.info.shadow');
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.p-message-info .p-message-close-button:focus-visible {
|
|
71
|
-
outline-color: dt('message.info.close.button.focus.ring.color');
|
|
72
|
-
box-shadow: dt('message.info.close.button.focus.ring.shadow');
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.p-message-info .p-message-close-button:hover {
|
|
76
|
-
background: dt('message.info.close.button.hover.background');
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.p-message-info.p-message-outlined {
|
|
80
|
-
color: dt('message.info.outlined.color');
|
|
81
|
-
outline-color: dt('message.info.outlined.border.color');
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.p-message-info.p-message-simple {
|
|
85
|
-
color: dt('message.info.simple.color');
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.p-message-success {
|
|
89
|
-
background: dt('message.success.background');
|
|
90
|
-
outline-color: dt('message.success.border.color');
|
|
91
|
-
color: dt('message.success.color');
|
|
92
|
-
box-shadow: dt('message.success.shadow');
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.p-message-success .p-message-close-button:focus-visible {
|
|
96
|
-
outline-color: dt('message.success.close.button.focus.ring.color');
|
|
97
|
-
box-shadow: dt('message.success.close.button.focus.ring.shadow');
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.p-message-success .p-message-close-button:hover {
|
|
101
|
-
background: dt('message.success.close.button.hover.background');
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.p-message-success.p-message-outlined {
|
|
105
|
-
color: dt('message.success.outlined.color');
|
|
106
|
-
outline-color: dt('message.success.outlined.border.color');
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.p-message-success.p-message-simple {
|
|
110
|
-
color: dt('message.success.simple.color');
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.p-message-warn {
|
|
114
|
-
background: dt('message.warn.background');
|
|
115
|
-
outline-color: dt('message.warn.border.color');
|
|
116
|
-
color: dt('message.warn.color');
|
|
117
|
-
box-shadow: dt('message.warn.shadow');
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.p-message-warn .p-message-close-button:focus-visible {
|
|
121
|
-
outline-color: dt('message.warn.close.button.focus.ring.color');
|
|
122
|
-
box-shadow: dt('message.warn.close.button.focus.ring.shadow');
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.p-message-warn .p-message-close-button:hover {
|
|
126
|
-
background: dt('message.warn.close.button.hover.background');
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.p-message-warn.p-message-outlined {
|
|
130
|
-
color: dt('message.warn.outlined.color');
|
|
131
|
-
outline-color: dt('message.warn.outlined.border.color');
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.p-message-warn.p-message-simple {
|
|
135
|
-
color: dt('message.warn.simple.color');
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.p-message-error {
|
|
139
|
-
background: dt('message.error.background');
|
|
140
|
-
outline-color: dt('message.error.border.color');
|
|
141
|
-
color: dt('message.error.color');
|
|
142
|
-
box-shadow: dt('message.error.shadow');
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.p-message-error .p-message-close-button:focus-visible {
|
|
146
|
-
outline-color: dt('message.error.close.button.focus.ring.color');
|
|
147
|
-
box-shadow: dt('message.error.close.button.focus.ring.shadow');
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.p-message-error .p-message-close-button:hover {
|
|
151
|
-
background: dt('message.error.close.button.hover.background');
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.p-message-error.p-message-outlined {
|
|
155
|
-
color: dt('message.error.outlined.color');
|
|
156
|
-
outline-color: dt('message.error.outlined.border.color');
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.p-message-error.p-message-simple {
|
|
160
|
-
color: dt('message.error.simple.color');
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.p-message-secondary {
|
|
164
|
-
background: dt('message.secondary.background');
|
|
165
|
-
outline-color: dt('message.secondary.border.color');
|
|
166
|
-
color: dt('message.secondary.color');
|
|
167
|
-
box-shadow: dt('message.secondary.shadow');
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.p-message-secondary .p-message-close-button:focus-visible {
|
|
171
|
-
outline-color: dt('message.secondary.close.button.focus.ring.color');
|
|
172
|
-
box-shadow: dt('message.secondary.close.button.focus.ring.shadow');
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.p-message-secondary .p-message-close-button:hover {
|
|
176
|
-
background: dt('message.secondary.close.button.hover.background');
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.p-message-secondary.p-message-outlined {
|
|
180
|
-
color: dt('message.secondary.outlined.color');
|
|
181
|
-
outline-color: dt('message.secondary.outlined.border.color');
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.p-message-secondary.p-message-simple {
|
|
185
|
-
color: dt('message.secondary.simple.color');
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.p-message-contrast {
|
|
189
|
-
background: dt('message.contrast.background');
|
|
190
|
-
outline-color: dt('message.contrast.border.color');
|
|
191
|
-
color: dt('message.contrast.color');
|
|
192
|
-
box-shadow: dt('message.contrast.shadow');
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.p-message-contrast .p-message-close-button:focus-visible {
|
|
196
|
-
outline-color: dt('message.contrast.close.button.focus.ring.color');
|
|
197
|
-
box-shadow: dt('message.contrast.close.button.focus.ring.shadow');
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.p-message-contrast .p-message-close-button:hover {
|
|
201
|
-
background: dt('message.contrast.close.button.hover.background');
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.p-message-contrast.p-message-outlined {
|
|
205
|
-
color: dt('message.contrast.outlined.color');
|
|
206
|
-
outline-color: dt('message.contrast.outlined.border.color');
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.p-message-contrast.p-message-simple {
|
|
210
|
-
color: dt('message.contrast.simple.color');
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.p-message-text {
|
|
214
|
-
font-size: dt('message.text.font.size');
|
|
215
|
-
font-weight: dt('message.text.font.weight');
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.p-message-icon {
|
|
219
|
-
font-size: dt('message.icon.size');
|
|
220
|
-
width: dt('message.icon.size');
|
|
221
|
-
height: dt('message.icon.size');
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.p-message-sm .p-message-content {
|
|
225
|
-
padding: dt('message.content.sm.padding');
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.p-message-sm .p-message-text {
|
|
229
|
-
font-size: dt('message.text.sm.font.size');
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.p-message-sm .p-message-icon {
|
|
233
|
-
font-size: dt('message.icon.sm.size');
|
|
234
|
-
width: dt('message.icon.sm.size');
|
|
235
|
-
height: dt('message.icon.sm.size');
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.p-message-sm .p-message-close-icon {
|
|
239
|
-
font-size: dt('message.close.icon.sm.size');
|
|
240
|
-
width: dt('message.close.icon.sm.size');
|
|
241
|
-
height: dt('message.close.icon.sm.size');
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.p-message-lg .p-message-content {
|
|
245
|
-
padding: dt('message.content.lg.padding');
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.p-message-lg .p-message-text {
|
|
249
|
-
font-size: dt('message.text.lg.font.size');
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.p-message-lg .p-message-icon {
|
|
253
|
-
font-size: dt('message.icon.lg.size');
|
|
254
|
-
width: dt('message.icon.lg.size');
|
|
255
|
-
height: dt('message.icon.lg.size');
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.p-message-lg .p-message-close-icon {
|
|
259
|
-
font-size: dt('message.close.icon.lg.size');
|
|
260
|
-
width: dt('message.close.icon.lg.size');
|
|
261
|
-
height: dt('message.close.icon.lg.size');
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.p-message-outlined {
|
|
265
|
-
background: transparent;
|
|
266
|
-
outline-width: dt('message.outlined.border.width');
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.p-message-simple {
|
|
270
|
-
background: transparent;
|
|
271
|
-
outline-color: transparent;
|
|
272
|
-
box-shadow: none;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.p-message-simple .p-message-content {
|
|
276
|
-
padding: dt('message.simple.content.padding');
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.p-message-outlined .p-message-close-button:hover,
|
|
280
|
-
.p-message-simple .p-message-close-button:hover {
|
|
281
|
-
background: transparent;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.p-message-enter-active {
|
|
285
|
-
animation: p-animate-message-enter 0.3s ease-out forwards;
|
|
286
|
-
overflow: hidden;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.p-message-leave-active {
|
|
290
|
-
animation: p-animate-message-leave 0.15s ease-in forwards;
|
|
291
|
-
overflow: hidden;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
@keyframes p-animate-message-enter {
|
|
295
|
-
from {
|
|
296
|
-
opacity: 0;
|
|
297
|
-
grid-template-rows: 0fr;
|
|
298
|
-
}
|
|
299
|
-
to {
|
|
300
|
-
opacity: 1;
|
|
301
|
-
grid-template-rows: 1fr;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
@keyframes p-animate-message-leave {
|
|
306
|
-
from {
|
|
307
|
-
opacity: 1;
|
|
308
|
-
grid-template-rows: 1fr;
|
|
309
|
-
}
|
|
310
|
-
to {
|
|
311
|
-
opacity: 0;
|
|
312
|
-
margin: 0;
|
|
313
|
-
grid-template-rows: 0fr;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
`,classes:{root:function(e){var t=e.props;return[`p-message p-component p-message-`+t.severity,{"p-message-outlined":t.variant===`outlined`,"p-message-simple":t.variant===`simple`,"p-message-sm":t.size===`small`,"p-message-lg":t.size===`large`}]},contentWrapper:`p-message-content-wrapper`,content:`p-message-content`,icon:`p-message-icon`,text:`p-message-text`,closeButton:`p-message-close-button`,closeIcon:`p-message-close-icon`}}),ge={name:`BaseMessage`,extends:N,props:{severity:{type:String,default:`info`},closable:{type:Boolean,default:!1},life:{type:Number,default:null},icon:{type:String,default:void 0},closeIcon:{type:String,default:void 0},closeButtonProps:{type:null,default:null},size:{type:String,default:null},variant:{type:String,default:null}},style:he,provide:function(){return{$pcMessage:this,$parentInstance:this}}};function L(e){"@babel/helpers - typeof";return L=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},L(e)}function _e(e,t,n){return(t=ve(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ve(e){var t=ye(e,`string`);return L(t)==`symbol`?t:t+``}function ye(e,t){if(L(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(L(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var be={name:`Message`,extends:ge,inheritAttrs:!1,emits:[`close`,`life-end`],timeout:null,data:function(){return{visible:!0}},mounted:function(){var e=this;this.life&&setTimeout(function(){e.visible=!1,e.$emit(`life-end`)},this.life)},methods:{close:function(e){this.visible=!1,this.$emit(`close`,e)}},computed:{closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},dataP:function(){return re(_e(_e({outlined:this.variant===`outlined`,simple:this.variant===`simple`},this.severity,this.severity),this.size,this.size))}},directives:{ripple:j},components:{TimesIcon:ie}};function R(e){"@babel/helpers - typeof";return R=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},R(e)}function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xe(Object(n),!0).forEach(function(t){Ce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ce(e,t,n){return(t=we(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(e){var t=Te(e,`string`);return R(t)==`symbol`?t:t+``}function Te(e,t){if(R(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(R(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Ee=[`data-p`],De=[`data-p`],Oe=[`data-p`],ke=[`aria-label`,`data-p`],Ae=[`data-p`];function je(e,t,n,i,o,s){var u=h(`TimesIcon`),f=c(`ripple`);return a(),E(ne,O({name:`p-message`,appear:``},e.ptmi(`transition`)),{default:g(function(){return[o.visible?(a(),b(`div`,O({key:0,class:e.cx(`root`),role:`alert`,"aria-live":`assertive`,"aria-atomic":`true`,"data-p":s.dataP},e.ptm(`root`)),[C(`div`,O({class:e.cx(`contentWrapper`)},e.ptm(`contentWrapper`)),[e.$slots.container?p(e.$slots,`container`,{key:0,closeCallback:s.close}):(a(),b(`div`,O({key:1,class:e.cx(`content`),"data-p":s.dataP},e.ptm(`content`)),[p(e.$slots,`icon`,{class:r(e.cx(`icon`))},function(){return[(a(),E(d(e.icon?`span`:null),O({class:[e.cx(`icon`),e.icon],"data-p":s.dataP},e.ptm(`icon`)),null,16,[`class`,`data-p`]))]}),e.$slots.default?(a(),b(`div`,O({key:0,class:e.cx(`text`),"data-p":s.dataP},e.ptm(`text`)),[p(e.$slots,`default`)],16,Oe)):y(``,!0),e.closable?l((a(),b(`button`,O({key:1,class:e.cx(`closeButton`),"aria-label":s.closeAriaLabel,type:`button`,onClick:t[0]||=function(e){return s.close(e)},"data-p":s.dataP},Se(Se({},e.closeButtonProps),e.ptm(`closeButton`))),[p(e.$slots,`closeicon`,{},function(){return[e.closeIcon?(a(),b(`i`,O({key:0,class:[e.cx(`closeIcon`),e.closeIcon],"data-p":s.dataP},e.ptm(`closeIcon`)),null,16,Ae)):(a(),E(u,O({key:1,class:[e.cx(`closeIcon`),e.closeIcon],"data-p":s.dataP},e.ptm(`closeIcon`)),null,16,[`class`,`data-p`]))]})],16,ke)),[[f]]):y(``,!0)],16,De))],16)],16,Ee)):y(``,!0)]}),_:3},16)}be.render=je;var Me=F.extend({name:`progressbar`,style:`
|
|
317
|
-
.p-progressbar {
|
|
318
|
-
display: block;
|
|
319
|
-
position: relative;
|
|
320
|
-
overflow: hidden;
|
|
321
|
-
height: dt('progressbar.height');
|
|
322
|
-
background: dt('progressbar.background');
|
|
323
|
-
border-radius: dt('progressbar.border.radius');
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.p-progressbar-value {
|
|
327
|
-
margin: 0;
|
|
328
|
-
background: dt('progressbar.value.background');
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
.p-progressbar-label {
|
|
332
|
-
color: dt('progressbar.label.color');
|
|
333
|
-
font-size: dt('progressbar.label.font.size');
|
|
334
|
-
font-weight: dt('progressbar.label.font.weight');
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.p-progressbar-determinate .p-progressbar-value {
|
|
338
|
-
height: 100%;
|
|
339
|
-
width: 0%;
|
|
340
|
-
position: absolute;
|
|
341
|
-
display: none;
|
|
342
|
-
display: flex;
|
|
343
|
-
align-items: center;
|
|
344
|
-
justify-content: center;
|
|
345
|
-
overflow: hidden;
|
|
346
|
-
transition: width 1s ease-in-out;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.p-progressbar-determinate .p-progressbar-label {
|
|
350
|
-
display: inline-flex;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.p-progressbar-indeterminate .p-progressbar-value::before {
|
|
354
|
-
content: '';
|
|
355
|
-
position: absolute;
|
|
356
|
-
background: inherit;
|
|
357
|
-
inset-block-start: 0;
|
|
358
|
-
inset-inline-start: 0;
|
|
359
|
-
inset-block-end: 0;
|
|
360
|
-
will-change: inset-inline-start, inset-inline-end;
|
|
361
|
-
animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.p-progressbar-indeterminate .p-progressbar-value::after {
|
|
365
|
-
content: '';
|
|
366
|
-
position: absolute;
|
|
367
|
-
background: inherit;
|
|
368
|
-
inset-block-start: 0;
|
|
369
|
-
inset-inline-start: 0;
|
|
370
|
-
inset-block-end: 0;
|
|
371
|
-
will-change: inset-inline-start, inset-inline-end;
|
|
372
|
-
animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
|
|
373
|
-
animation-delay: 1.15s;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
@keyframes p-progressbar-indeterminate-anim {
|
|
377
|
-
0% {
|
|
378
|
-
inset-inline-start: -35%;
|
|
379
|
-
inset-inline-end: 100%;
|
|
380
|
-
}
|
|
381
|
-
60% {
|
|
382
|
-
inset-inline-start: 100%;
|
|
383
|
-
inset-inline-end: -90%;
|
|
384
|
-
}
|
|
385
|
-
100% {
|
|
386
|
-
inset-inline-start: 100%;
|
|
387
|
-
inset-inline-end: -90%;
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
@-webkit-keyframes p-progressbar-indeterminate-anim {
|
|
391
|
-
0% {
|
|
392
|
-
inset-inline-start: -35%;
|
|
393
|
-
inset-inline-end: 100%;
|
|
394
|
-
}
|
|
395
|
-
60% {
|
|
396
|
-
inset-inline-start: 100%;
|
|
397
|
-
inset-inline-end: -90%;
|
|
398
|
-
}
|
|
399
|
-
100% {
|
|
400
|
-
inset-inline-start: 100%;
|
|
401
|
-
inset-inline-end: -90%;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
@keyframes p-progressbar-indeterminate-anim-short {
|
|
406
|
-
0% {
|
|
407
|
-
inset-inline-start: -200%;
|
|
408
|
-
inset-inline-end: 100%;
|
|
409
|
-
}
|
|
410
|
-
60% {
|
|
411
|
-
inset-inline-start: 107%;
|
|
412
|
-
inset-inline-end: -8%;
|
|
413
|
-
}
|
|
414
|
-
100% {
|
|
415
|
-
inset-inline-start: 107%;
|
|
416
|
-
inset-inline-end: -8%;
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
@-webkit-keyframes p-progressbar-indeterminate-anim-short {
|
|
420
|
-
0% {
|
|
421
|
-
inset-inline-start: -200%;
|
|
422
|
-
inset-inline-end: 100%;
|
|
423
|
-
}
|
|
424
|
-
60% {
|
|
425
|
-
inset-inline-start: 107%;
|
|
426
|
-
inset-inline-end: -8%;
|
|
427
|
-
}
|
|
428
|
-
100% {
|
|
429
|
-
inset-inline-start: 107%;
|
|
430
|
-
inset-inline-end: -8%;
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
`,classes:{root:function(e){var t=e.instance;return[`p-progressbar p-component`,{"p-progressbar-determinate":t.determinate,"p-progressbar-indeterminate":t.indeterminate}]},value:`p-progressbar-value`,label:`p-progressbar-label`}}),Ne={name:`ProgressBar`,extends:{name:`BaseProgressBar`,extends:N,props:{value:{type:Number,default:null},mode:{type:String,default:`determinate`},showValue:{type:Boolean,default:!0}},style:Me,provide:function(){return{$pcProgressBar:this,$parentInstance:this}}},inheritAttrs:!1,computed:{progressStyle:function(){return{width:this.value+`%`,display:`flex`}},indeterminate:function(){return this.mode===`indeterminate`},determinate:function(){return this.mode===`determinate`},dataP:function(){return re({determinate:this.determinate,indeterminate:this.indeterminate})}}},Pe=[`aria-valuenow`,`data-p`],Fe=[`data-p`],Ie=[`data-p`],Le=[`data-p`];function Re(e,t,n,r,o,s){return a(),b(`div`,O({role:`progressbar`,class:e.cx(`root`),"aria-valuemin":`0`,"aria-valuenow":e.value,"aria-valuemax":`100`,"data-p":s.dataP},e.ptmi(`root`)),[s.determinate?(a(),b(`div`,O({key:0,class:e.cx(`value`),style:s.progressStyle,"data-p":s.dataP},e.ptm(`value`)),[e.value!=null&&e.value!==0&&e.showValue?(a(),b(`div`,O({key:0,class:e.cx(`label`),"data-p":s.dataP},e.ptm(`label`)),[p(e.$slots,`default`,{},function(){return[x(i(e.value+`%`),1)]})],16,Ie)):y(``,!0)],16,Fe)):s.indeterminate?(a(),b(`div`,O({key:1,class:e.cx(`value`),"data-p":s.dataP},e.ptm(`value`)),null,16,Le)):y(``,!0)],16,Pe)}Ne.render=Re;var ze=F.extend({name:`confirmdialog`,style:`
|
|
434
|
-
.p-confirmdialog .p-dialog-content {
|
|
435
|
-
display: flex;
|
|
436
|
-
align-items: center;
|
|
437
|
-
gap: dt('confirmdialog.content.gap');
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
.p-confirmdialog-icon {
|
|
441
|
-
color: dt('confirmdialog.icon.color');
|
|
442
|
-
font-size: dt('confirmdialog.icon.size');
|
|
443
|
-
width: dt('confirmdialog.icon.size');
|
|
444
|
-
height: dt('confirmdialog.icon.size');
|
|
445
|
-
}
|
|
446
|
-
`,classes:{root:`p-confirmdialog`,icon:`p-confirmdialog-icon`,message:`p-confirmdialog-message`,pcRejectButton:`p-confirmdialog-reject-button`,pcAcceptButton:`p-confirmdialog-accept-button`}}),z={name:`ConfirmDialog`,extends:{name:`BaseConfirmDialog`,extends:N,props:{group:String,breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0}},style:ze,provide:function(){return{$pcConfirmDialog:this,$parentInstance:this}}},confirmListener:null,closeListener:null,data:function(){return{visible:!1,confirmation:null}},mounted:function(){var e=this;this.confirmListener=function(t){t&&t.group===e.group&&(e.confirmation=t,e.confirmation.onShow&&e.confirmation.onShow(),e.visible=!0)},this.closeListener=function(){e.visible=!1,e.confirmation=null},I.on(`confirm`,this.confirmListener),I.on(`close`,this.closeListener)},beforeUnmount:function(){I.off(`confirm`,this.confirmListener),I.off(`close`,this.closeListener)},methods:{accept:function(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject:function(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide:function(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1}},computed:{appendTo:function(){return this.confirmation?this.confirmation.appendTo:`body`},target:function(){return this.confirmation?this.confirmation.target:null},modal:function(){return this.confirmation?this.confirmation.modal==null?!0:this.confirmation.modal:!0},header:function(){return this.confirmation?this.confirmation.header:null},message:function(){return this.confirmation?this.confirmation.message:null},blockScroll:function(){return this.confirmation?this.confirmation.blockScroll:!0},position:function(){return this.confirmation?this.confirmation.position:null},acceptLabel:function(){if(this.confirmation){var e=this.confirmation;return e.acceptLabel||e.acceptProps?.label||this.$primevue.config.locale.accept}return this.$primevue.config.locale.accept},rejectLabel:function(){if(this.confirmation){var e=this.confirmation;return e.rejectLabel||e.rejectProps?.label||this.$primevue.config.locale.reject}return this.$primevue.config.locale.reject},acceptIcon:function(){var e;return this.confirmation?this.confirmation.acceptIcon:(e=this.confirmation)!=null&&e.acceptProps?this.confirmation.acceptProps.icon:null},rejectIcon:function(){var e;return this.confirmation?this.confirmation.rejectIcon:(e=this.confirmation)!=null&&e.rejectProps?this.confirmation.rejectProps.icon:null},autoFocusAccept:function(){return this.confirmation.defaultFocus===void 0||this.confirmation.defaultFocus===`accept`},autoFocusReject:function(){return this.confirmation.defaultFocus===`reject`},closeOnEscape:function(){return this.confirmation?this.confirmation.closeOnEscape:!0}},components:{Dialog:P,Button:A}};function Be(e,t,n,o,s,c){var l=h(`Button`),u=h(`Dialog`);return a(),E(u,{visible:s.visible,"onUpdate:visible":[t[2]||=function(e){return s.visible=e},c.onHide],role:`alertdialog`,class:r(e.cx(`root`)),modal:c.modal,header:c.header,blockScroll:c.blockScroll,appendTo:c.appendTo,position:c.position,breakpoints:e.breakpoints,closeOnEscape:c.closeOnEscape,draggable:e.draggable,pt:e.pt,unstyled:e.unstyled},w({default:g(function(){return[e.$slots.container?y(``,!0):(a(),b(S,{key:0},[e.$slots.message?(a(),E(d(e.$slots.message),{key:1,message:s.confirmation},null,8,[`message`])):(a(),b(S,{key:0},[p(e.$slots,`icon`,{},function(){return[e.$slots.icon?(a(),E(d(e.$slots.icon),{key:0,class:r(e.cx(`icon`))},null,8,[`class`])):s.confirmation.icon?(a(),b(`span`,O({key:1,class:[s.confirmation.icon,e.cx(`icon`)]},e.ptm(`icon`)),null,16)):y(``,!0)]}),C(`span`,O({class:e.cx(`message`)},e.ptm(`message`)),i(c.message),17)],64))],64))]}),_:2},[e.$slots.container?{name:`container`,fn:g(function(t){return[p(e.$slots,`container`,{message:s.confirmation,closeCallback:t.closeCallback,acceptCallback:c.accept,rejectCallback:c.reject,initDragCallback:t.initDragCallback})]}),key:`0`}:void 0,e.$slots.container?void 0:{name:`footer`,fn:g(function(){return[_(l,O({class:[e.cx(`pcRejectButton`),s.confirmation.rejectClass],autofocus:c.autoFocusReject,unstyled:e.unstyled,text:s.confirmation.rejectProps?.text||!1,onClick:t[0]||=function(e){return c.reject()}},s.confirmation.rejectProps,{label:c.rejectLabel,pt:e.ptm(`pcRejectButton`)}),w({_:2},[c.rejectIcon||e.$slots.rejecticon?{name:`icon`,fn:g(function(t){return[p(e.$slots,`rejecticon`,{},function(){return[C(`span`,O({class:[c.rejectIcon,t.class]},e.ptm(`pcRejectButton`).icon,{"data-pc-section":`rejectbuttonicon`}),null,16)]})]}),key:`0`}:void 0]),1040,[`class`,`autofocus`,`unstyled`,`text`,`label`,`pt`]),_(l,O({label:c.acceptLabel,class:[e.cx(`pcAcceptButton`),s.confirmation.acceptClass],autofocus:c.autoFocusAccept,unstyled:e.unstyled,onClick:t[1]||=function(e){return c.accept()}},s.confirmation.acceptProps,{pt:e.ptm(`pcAcceptButton`)}),w({_:2},[c.acceptIcon||e.$slots.accepticon?{name:`icon`,fn:g(function(t){return[p(e.$slots,`accepticon`,{},function(){return[C(`span`,O({class:[c.acceptIcon,t.class]},e.ptm(`pcAcceptButton`).icon,{"data-pc-section":`acceptbuttonicon`}),null,16)]})]}),key:`0`}:void 0]),1040,[`label`,`class`,`autofocus`,`unstyled`,`pt`])]}),key:`1`}]),1032,[`visible`,`class`,`modal`,`header`,`blockScroll`,`appendTo`,`position`,`breakpoints`,`closeOnEscape`,`draggable`,`onUpdate:visible`,`pt`,`unstyled`])}z.render=Be;var Ve=F.extend({name:`progressspinner`,style:`
|
|
447
|
-
.p-progressspinner {
|
|
448
|
-
position: relative;
|
|
449
|
-
margin: 0 auto;
|
|
450
|
-
width: 100px;
|
|
451
|
-
height: 100px;
|
|
452
|
-
display: inline-block;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
.p-progressspinner::before {
|
|
456
|
-
content: '';
|
|
457
|
-
display: block;
|
|
458
|
-
padding-top: 100%;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
.p-progressspinner-spin {
|
|
462
|
-
height: 100%;
|
|
463
|
-
transform-origin: center center;
|
|
464
|
-
width: 100%;
|
|
465
|
-
position: absolute;
|
|
466
|
-
top: 0;
|
|
467
|
-
bottom: 0;
|
|
468
|
-
left: 0;
|
|
469
|
-
right: 0;
|
|
470
|
-
margin: auto;
|
|
471
|
-
animation: p-progressspinner-rotate 2s linear infinite;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
.p-progressspinner-circle {
|
|
475
|
-
stroke-dasharray: 89, 200;
|
|
476
|
-
stroke-dashoffset: 0;
|
|
477
|
-
stroke: dt('progressspinner.colorOne');
|
|
478
|
-
animation:
|
|
479
|
-
p-progressspinner-dash 1.5s ease-in-out infinite,
|
|
480
|
-
p-progressspinner-color 6s ease-in-out infinite;
|
|
481
|
-
stroke-linecap: round;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
@keyframes p-progressspinner-rotate {
|
|
485
|
-
100% {
|
|
486
|
-
transform: rotate(360deg);
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
@keyframes p-progressspinner-dash {
|
|
490
|
-
0% {
|
|
491
|
-
stroke-dasharray: 1, 200;
|
|
492
|
-
stroke-dashoffset: 0;
|
|
493
|
-
}
|
|
494
|
-
50% {
|
|
495
|
-
stroke-dasharray: 89, 200;
|
|
496
|
-
stroke-dashoffset: -35px;
|
|
497
|
-
}
|
|
498
|
-
100% {
|
|
499
|
-
stroke-dasharray: 89, 200;
|
|
500
|
-
stroke-dashoffset: -124px;
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
@keyframes p-progressspinner-color {
|
|
504
|
-
100%,
|
|
505
|
-
0% {
|
|
506
|
-
stroke: dt('progressspinner.color.one');
|
|
507
|
-
}
|
|
508
|
-
40% {
|
|
509
|
-
stroke: dt('progressspinner.color.two');
|
|
510
|
-
}
|
|
511
|
-
66% {
|
|
512
|
-
stroke: dt('progressspinner.color.three');
|
|
513
|
-
}
|
|
514
|
-
80%,
|
|
515
|
-
90% {
|
|
516
|
-
stroke: dt('progressspinner.color.four');
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
`,classes:{root:`p-progressspinner`,spin:`p-progressspinner-spin`,circle:`p-progressspinner-circle`}}),B={name:`ProgressSpinner`,extends:{name:`BaseProgressSpinner`,extends:N,props:{strokeWidth:{type:String,default:`2`},fill:{type:String,default:`none`},animationDuration:{type:String,default:`2s`}},style:Ve,provide:function(){return{$pcProgressSpinner:this,$parentInstance:this}}},inheritAttrs:!1,computed:{svgStyle:function(){return{"animation-duration":this.animationDuration}}}},He=[`fill`,`stroke-width`];function Ue(e,t,n,r,i,o){return a(),b(`div`,O({class:e.cx(`root`),role:`progressbar`},e.ptmi(`root`)),[(a(),b(`svg`,O({class:e.cx(`spin`),viewBox:`25 25 50 50`,style:o.svgStyle},e.ptm(`spin`)),[C(`circle`,O({class:e.cx(`circle`),cx:`50`,cy:`50`,r:`20`,fill:e.fill,"stroke-width":e.strokeWidth,strokeMiterlimit:`10`},e.ptm(`circle`)),null,16,He)],16))],16)}B.render=Ue;var V=T(D({__name:`BuildStatusBadge`,props:{status:{},showIcon:{type:Boolean,default:!0},size:{default:`medium`}},setup(e){let t=e,n={running:{class:`status-running`,icon:`pi pi-spin pi-spinner`,text:`Running`,color:`#007bff`,tooltip:`Build is currently in progress`},completed:{class:`status-completed`,icon:`pi pi-check`,text:`Completed`,color:`#28a745`,tooltip:`Build completed successfully`},failed:{class:`status-failed`,icon:`pi pi-times`,text:`Failed`,color:`#dc3545`,tooltip:`Build failed with errors`},cancelled:{class:`status-cancelled`,icon:`pi pi-stop`,text:`Cancelled`,color:`#6c757d`,tooltip:`Build was cancelled`},pending:{class:`status-pending`,icon:`pi pi-clock`,text:`Pending`,color:`#ffc107`,tooltip:`Step is waiting to execute`}},o=v(()=>{let e=n[t.status];return[`build-status-badge`,`status-${t.status}`,`size-${t.size}`,e?.class].filter(Boolean)}),s=v(()=>t.showIcon&&n[t.status]?.icon||``),c=v(()=>n[t.status]?.text||t.status),u=v(()=>n[t.status]?.tooltip||t.status);return(e,t)=>{let n=k;return l((a(),b(`span`,{class:r([`build-status-badge`,o.value])},[C(`i`,{class:r([s.value,`status-icon`])},null,2),x(` `+i(c.value),1)],2)),[[n,u.value,void 0,{top:!0}]])}}}),[[`__scopeId`,`data-v-232ff951`]]),We={class:`item-header`},Ge={class:`item-main-info`},Ke={class:`project-info`},qe={class:`project-name`},Je={class:`project-path`},Ye={class:`status-and-time`},Xe={class:`start-time`},Ze={class:`item-actions`},Qe={class:`expanded-content`},$e={class:`info-section`},et={class:`info-grid`},tt={class:`info-item`},nt={class:`info-item`},rt={class:`info-item`},it={key:0,class:`info-item`},at={key:1,class:`info-item`},ot={class:`info-item`},st={key:0,class:`steps-section`},ct={class:`steps-list`},lt={class:`step-header`},ut={class:`step-name`},dt={class:`step-details`},ft={key:0,class:`step-duration`},pt={key:1,class:`step-time`},mt={key:0,class:`steps-more`},ht={key:1,class:`error-section`},gt={class:`error-content`},_t={class:`error-message`},vt={key:2,class:`metadata-section`},yt={class:`metadata-content`},bt=T(D({__name:`BuildHistoryItem`,props:{entry:{},expandable:{type:Boolean,default:!0},showActions:{type:Boolean,default:!0},canDelete:{type:Boolean,default:!1}},emits:[`view-details`,`delete`,`toggle`],setup(t,{emit:n}){let s=t,c=n;te(),o(`openUpgradeDialog`);let u=e(!1),d=e(!1),p=e=>new Date(e).toLocaleDateString(),m=e=>new Date(e).toLocaleString(),h=e=>new Date(e).toLocaleTimeString(),v=e=>{let t=Math.floor(e/1e3),n=Math.floor(t/60),r=Math.floor(n/60);return r>0?`${r}h ${n%60}m`:n>0?`${n}m ${t%60}s`:`${t}s`},w=()=>{s.expandable&&(u.value=!u.value,c(`toggle`,s.entry,u.value))},T=()=>{c(`delete`,s.entry)};return(e,t)=>{let n=A,o=k;return a(),b(`div`,{class:r([`build-history-item`,{expanded:u.value,"is-clickable":e.expandable}]),onClick:w},[C(`div`,We,[C(`div`,Ge,[C(`div`,Ke,[C(`h4`,qe,i(e.entry.projectName),1),C(`span`,Je,i(e.entry.projectPath),1)]),C(`div`,Ye,[_(V,{status:e.entry.status,size:`medium`},null,8,[`status`]),C(`span`,Xe,i(p(e.entry.startTime)),1)])]),C(`div`,Ze,[e.showActions&&e.canDelete?l((a(),E(n,{key:0,text:``,severity:`danger`,size:`small`,onClick:M(T,[`stop`])},{default:g(()=>t[2]||=[C(`i`,{class:`pi pi-trash`},null,-1)]),_:1})),[[o,`Delete Entry`,void 0,{top:!0}]]):y(``,!0),e.expandable?(a(),b(`i`,{key:1,class:r([`pi expand-icon`,u.value?`pi-chevron-up`:`pi-chevron-down`])},null,2)):y(``,!0)])]),u.value?(a(),b(`div`,{key:0,class:`item-expanded`,onClick:t[1]||=M(()=>{},[`stop`])},[C(`div`,Qe,[C(`div`,$e,[t[9]||=C(`h5`,null,`Build Information`,-1),C(`div`,et,[C(`div`,tt,[t[3]||=C(`label`,null,`Project ID:`,-1),C(`span`,null,i(e.entry.pipelineId),1)]),C(`div`,nt,[t[4]||=C(`label`,null,`Status:`,-1),_(V,{status:e.entry.status},null,8,[`status`])]),C(`div`,rt,[t[5]||=C(`label`,null,`Started:`,-1),C(`span`,null,i(m(e.entry.startTime)),1)]),e.entry.endTime?(a(),b(`div`,it,[t[6]||=C(`label`,null,`Ended:`,-1),C(`span`,null,i(m(e.entry.endTime)),1)])):y(``,!0),e.entry.duration?(a(),b(`div`,at,[t[7]||=C(`label`,null,`Duration:`,-1),C(`span`,null,i(v(e.entry.duration)),1)])):y(``,!0),C(`div`,ot,[t[8]||=C(`label`,null,`Progress:`,-1),C(`span`,null,i(e.entry.completedSteps)+`/`+i(e.entry.totalSteps)+` steps`,1)])])]),e.entry.steps.length>0?(a(),b(`div`,st,[t[10]||=C(`h5`,null,`Execution Steps`,-1),C(`div`,ct,[(a(!0),b(S,null,f(e.entry.steps.slice(0,d.value?void 0:3),e=>(a(),b(`div`,{key:e.id,class:r([`step-item`,e.status])},[C(`div`,lt,[C(`span`,ut,i(e.name),1),_(V,{status:e.status,size:`small`},null,8,[`status`])]),C(`div`,dt,[e.duration?(a(),b(`span`,ft,i(v(e.duration)),1)):y(``,!0),e.startTime?(a(),b(`span`,pt,i(h(e.startTime)),1)):y(``,!0)])],2))),128)),e.entry.steps.length>3&&!d.value?(a(),b(`div`,mt,[_(n,{text:``,size:`small`,onClick:t[0]||=M(e=>d.value=!0,[`stop`])},{default:g(()=>[x(` Show `+i(e.entry.steps.length-3)+` more steps... `,1)]),_:1})])):y(``,!0)])])):y(``,!0),e.entry.error?(a(),b(`div`,ht,[t[11]||=C(`h5`,null,`Error Details`,-1),C(`div`,gt,[C(`p`,_t,i(e.entry.error.message),1)])])):y(``,!0),e.entry.metadata?(a(),b(`div`,vt,[t[12]||=C(`h5`,null,`Metadata`,-1),C(`div`,yt,[C(`pre`,null,i(JSON.stringify(e.entry.metadata,null,2)),1)])])):y(``,!0)])])):y(``,!0)],2)}}}),[[`__scopeId`,`data-v-a5b97d8b`]]),xt={class:`build-history-list`},St={key:0,class:`loading-state`},Ct={key:1,class:`error-state`},wt={class:`error-content`},Tt={key:2,class:`empty-state`},Et={class:`empty-content`},Dt={key:3,class:`history-content`},Ot={class:`list-header`},kt={class:`results-info`},At={class:`results-count`},jt={key:0,class:`list-view`},Mt={class:`entries-list`},Nt={key:1,class:`grid-view`},Pt={class:`entries-grid`},Ft=T(D({__name:`BuildHistoryList`,props:{entries:{},isLoading:{type:Boolean,default:!1},error:{default:void 0},hasSubscriptionError:{type:Boolean,default:!1},totalCount:{default:0},canDelete:{type:Boolean,default:!1},canStartBuild:{type:Boolean,default:!1}},emits:[`load-more`,`retry-load`,`view-details`,`delete`,`clear-all`,`start-build`,`sort-change`,`page-change`],setup(t,{emit:n}){let s=t,c=n,u=te(),d=o(`openUpgradeDialog`),p=e(`list`);e(`startTime`),e(`desc`);let m=v(()=>s.entries.length>0),h=()=>{c(`retry-load`)},w=()=>{if(!u.hasBuildHistoryBenefit){d();return}c(`start-build`)},T=e=>{c(`view-details`,e)},D=e=>{c(`delete`,e)},O=()=>{c(`clear-all`)},j=(e,t)=>{console.log(`Entry toggled:`,e.id,t)};return(e,t)=>{let n=B,o=A,s=k;return a(),b(`div`,xt,[e.isLoading&&!m.value?(a(),b(`div`,St,[_(n),t[0]||=C(`p`,null,`Loading build history...`,-1)])):e.error&&!e.hasSubscriptionError?(a(),b(`div`,Ct,[t[2]||=C(`i`,{class:`pi pi-exclamation-triangle`},null,-1),C(`div`,wt,[t[1]||=C(`h4`,null,`Failed to Load Build History`,-1),C(`p`,null,i(e.error),1),_(o,{label:`Retry`,severity:`secondary`,onClick:h})])])):!m.value&&!e.isLoading?(a(),b(`div`,Tt,[t[5]||=C(`i`,{class:`pi pi-history`},null,-1),C(`div`,Et,[t[3]||=C(`h4`,null,`No Build History`,-1),t[4]||=C(`p`,null,`Start a build to see your history here.`,-1),e.canStartBuild?(a(),E(o,{key:0,label:`Start New Build`,severity:`primary`,onClick:w})):y(``,!0)])])):(a(),b(`div`,Dt,[C(`div`,Ot,[C(`div`,kt,[C(`span`,At,` Showing `+i(e.entries.length)+` of `+i(e.totalCount)+` entries `,1),m.value&&e.canDelete?l((a(),E(o,{key:0,text:``,severity:`danger`,size:`small`,class:`ml-2`,onClick:O},{default:g(()=>t[6]||=[C(`i`,{class:`pi pi-trash mr-2`},null,-1),x(` Clear Displayed `)]),_:1})),[[s,`Clear All Entries`,void 0,{top:!0}]]):y(``,!0)])]),C(`div`,{class:r([`entries-container`,`view-${p.value}`])},[p.value===`list`?(a(),b(`div`,jt,[C(`div`,Mt,[(a(!0),b(S,null,f(e.entries,t=>(a(),E(bt,{key:t.id,entry:t,expandable:!0,"show-actions":!0,"can-delete":e.canDelete,onViewDetails:T,onDelete:D,onToggle:j},null,8,[`entry`,`can-delete`]))),128))])])):(a(),b(`div`,Nt,[C(`div`,Pt,[(a(!0),b(S,null,f(e.entries,t=>(a(),b(`div`,{key:t.id,class:`grid-item`},[_(bt,{entry:t,expandable:!1,"show-actions":!0,"can-delete":e.canDelete,onViewDetails:T,onDelete:D},null,8,[`entry`,`can-delete`])]))),128))])]))],2)]))])}}}),[[`__scopeId`,`data-v-438e9ee9`]]),It={key:0,class:`build-details-modal`},Lt={class:`build-overview`},Rt={class:`overview-header`},zt={class:`build-title`},Bt={class:`build-meta`},Vt={class:`meta-item`},Ht={class:`meta-item`},Ut={key:0,class:`meta-item`},Wt={key:1,class:`meta-item`},Gt={class:`meta-item`},Kt={class:`steps-container`},qt={key:0,class:`no-steps`},Jt={key:1,class:`steps-timeline`},Yt={class:`step-timeline-marker`},Xt={key:0,class:`step-connector`},Zt={class:`step-timeline-content`},Qt={class:`step-header`},$t={class:`step-name`},en={class:`step-status-info`},tn={key:0,class:`step-duration`},nn={class:`step-details`},rn={class:`step-timing`},an={key:0,class:`start-time`},on={key:1,class:`end-time`},sn={key:0,class:`step-logs`},cn={class:`logs-details`},ln={class:`logs-content`},un={class:`log-time`},dn={class:`log-level`},fn={class:`log-message`},pn={key:0,class:`log-source`},mn={key:1,class:`step-error`},hn={class:`error-details`},gn={class:`error-summary`},_n={class:`error-content`},vn={class:`error-message`},yn={key:0,class:`error-stack`},bn={key:1,class:`error-metadata`},xn={key:2,class:`step-output`},Sn={class:`output-details`},Cn={class:`output-content`},wn={class:`logs-container`},Tn={key:0,class:`no-logs`},En={key:1,class:`logs-list`},Dn={class:`log-time`},On={class:`log-level`},kn={class:`log-message`},An={key:0,class:`log-source`},jn={class:`error-container`},Mn={class:`error-header`},Nn={class:`error-content`},Pn={class:`error-message`},Fn={key:0,class:`error-stack`},In={key:1,class:`error-metadata`},Ln={class:`metadata-container`},Rn={key:0,class:`no-metadata`},zn={key:1,class:`metadata-content`},Bn={class:`modal-actions`},Vn=T(D({__name:`BuildDetailsModal`,props:{entry:{},visible:{type:Boolean},canDelete:{type:Boolean,default:!1},canRetry:{type:Boolean,default:!1}},emits:[`hide`,`retry`,`delete`],setup(e,{emit:t}){let n=e,o=t,s=e=>new Date(e).toLocaleString(),c=e=>new Date(e).toLocaleTimeString(),l=e=>{let t=Math.floor(e/1e3),n=Math.floor(t/60),r=Math.floor(n/60);return r>0?`${r}h ${n%60}m`:n>0?`${n}m ${t%60}s`:`${t}s`},u=e=>({pending:`pi pi-clock`,running:`pi pi-spin pi-spinner`,completed:`pi pi-check`,failed:`pi pi-times`,cancelled:`pi pi-stop`})[e]||`pi pi-circle`,d=()=>{o(`hide`)},p=()=>{o(`hide`)},m=()=>{n.entry&&o(`retry`,n.entry)},h=()=>{n.entry&&o(`delete`,n.entry)};return(e,t)=>{let n=fe,o=ue,v=de,w=le,T=ce,D=A,O=P;return a(),E(O,{visible:e.visible,modal:``,header:`Build Details - ${e.entry?.projectName||`Unknown`}`,style:{width:`90vw`,maxWidth:`1200px`},closable:!0,"onUpdate:visible":p},{default:g(()=>[e.entry?(a(),b(`div`,It,[C(`div`,Lt,[C(`div`,Rt,[C(`div`,zt,[C(`h3`,null,i(e.entry.projectName),1),_(V,{status:e.entry.status,size:`large`},null,8,[`status`])]),C(`div`,Bt,[C(`div`,Vt,[t[0]||=C(`label`,null,`Project ID:`,-1),C(`span`,null,i(e.entry.pipelineId),1)]),C(`div`,Ht,[t[1]||=C(`label`,null,`Started:`,-1),C(`span`,null,i(s(e.entry.startTime)),1)]),e.entry.endTime?(a(),b(`div`,Ut,[t[2]||=C(`label`,null,`Ended:`,-1),C(`span`,null,i(s(e.entry.endTime)),1)])):y(``,!0),e.entry.duration?(a(),b(`div`,Wt,[t[3]||=C(`label`,null,`Duration:`,-1),C(`span`,null,i(l(e.entry.duration)),1)])):y(``,!0),C(`div`,Gt,[t[4]||=C(`label`,null,`Progress:`,-1),C(`span`,null,i(e.entry.completedSteps)+`/`+i(e.entry.totalSteps)+` steps`,1)])])])]),_(T,{value:`steps`,class:`details-tabs`},{default:g(()=>[_(o,null,{default:g(()=>[_(n,{value:`steps`},{default:g(()=>t[5]||=[x(`Execution Steps`)]),_:1}),_(n,{value:`logs`},{default:g(()=>t[6]||=[x(`Build Logs`)]),_:1}),e.entry.error?(a(),E(n,{key:0,value:`error`},{default:g(()=>t[7]||=[x(`Error Details`)]),_:1})):y(``,!0),_(n,{value:`metadata`},{default:g(()=>t[8]||=[x(`Metadata`)]),_:1})]),_:1}),_(w,null,{default:g(()=>[_(v,{value:`steps`},{default:g(()=>[C(`div`,Kt,[!e.entry.steps||e.entry.steps.length===0?(a(),b(`div`,qt,t[9]||=[C(`p`,null,`No execution steps available.`,-1)])):(a(),b(`div`,Jt,[(a(!0),b(S,null,f(e.entry.steps||[],(n,o)=>(a(),b(`div`,{key:n.id,class:r([`step-timeline-item`,n.status])},[C(`div`,Yt,[C(`i`,{class:r([u(n.status),`step-icon`])},null,2),o<e.entry.steps.length-1?(a(),b(`div`,Xt)):y(``,!0)]),C(`div`,Zt,[C(`div`,Qt,[C(`h4`,$t,i(n.name),1),C(`div`,en,[_(V,{status:n.status,size:`small`},null,8,[`status`]),n.duration?(a(),b(`span`,tn,i(l(n.duration)),1)):y(``,!0)])]),C(`div`,nn,[C(`div`,rn,[n.startTime?(a(),b(`span`,an,` Started: `+i(c(n.startTime)),1)):y(``,!0),n.endTime?(a(),b(`span`,on,` Ended: `+i(c(n.endTime)),1)):y(``,!0)]),n.logs?.length>0?(a(),b(`div`,sn,[C(`details`,cn,[C(`summary`,null,`View Logs (`+i(n.logs?.length||0)+` entries)`,1),C(`div`,ln,[(a(!0),b(S,null,f(n.logs||[],e=>(a(),b(`div`,{key:e.id,class:r([`log-entry`,`log-${e.level||`info`}`])},[C(`span`,un,i(c(e.timestamp)),1),C(`span`,dn,i((e.level||`info`).toUpperCase()),1),C(`span`,fn,i(Array.isArray(e.message)?e.message.join(` `):e.message),1),e.source?(a(),b(`span`,pn,`(`+i(e.source)+`)`,1)):y(``,!0)],2))),128))])])])):y(``,!0),n.error?(a(),b(`div`,mn,[C(`details`,hn,[C(`summary`,gn,[t[10]||=C(`i`,{class:`pi pi-exclamation-triangle`},null,-1),x(` Error: `+i(n.error.message),1)]),C(`div`,_n,[C(`p`,vn,i(n.error.message),1),n.error.stack?(a(),b(`div`,yn,[t[11]||=C(`h6`,null,`Stack Trace:`,-1),C(`pre`,null,i(n.error.stack),1)])):y(``,!0),n.error.code?(a(),b(`div`,bn,[C(`small`,null,[t[12]||=C(`strong`,null,`Error Code:`,-1),x(` `+i(n.error.code),1)])])):y(``,!0)])])])):y(``,!0),n.output?(a(),b(`div`,xn,[C(`details`,Sn,[t[13]||=C(`summary`,null,`Step Output`,-1),C(`div`,Cn,[C(`pre`,null,i(JSON.stringify(n.output,null,2)),1)])])])):y(``,!0)])])],2))),128))]))])]),_:1}),_(v,{value:`logs`},{default:g(()=>[C(`div`,wn,[!e.entry.logs||e.entry.logs.length===0?(a(),b(`div`,Tn,t[14]||=[C(`p`,null,`No build logs available.`,-1)])):(a(),b(`div`,En,[(a(!0),b(S,null,f(e.entry.logs||[],e=>(a(),b(`div`,{key:e.id,class:r([`log-entry`,`log-${e.level||`info`}`])},[C(`span`,Dn,i(c(e.timestamp)),1),C(`span`,On,i((e.level||`info`).toUpperCase()),1),C(`span`,kn,i(Array.isArray(e.message)?e.message.join(` `):e.message),1),e.source?(a(),b(`span`,An,`(`+i(e.source)+`)`,1)):y(``,!0)],2))),128))]))])]),_:1}),e.entry.error?(a(),E(v,{key:0,value:`error`},{default:g(()=>[C(`div`,jn,[C(`div`,Mn,[t[15]||=C(`h4`,null,`Build Error`,-1),_(V,{status:`failed`,size:`medium`})]),C(`div`,Nn,[C(`div`,Pn,[t[16]||=C(`strong`,null,`Message:`,-1),C(`p`,null,i(e.entry.error.message),1)]),e.entry.error.stack?(a(),b(`div`,Fn,[t[17]||=C(`strong`,null,`Stack Trace:`,-1),C(`pre`,null,i(e.entry.error.stack),1)])):y(``,!0),e.entry.error.code?(a(),b(`div`,In,[t[18]||=C(`strong`,null,`Error Code:`,-1),x(` `+i(e.entry.error.code),1)])):y(``,!0)])])]),_:1})):y(``,!0),_(v,{value:`metadata`},{default:g(()=>[C(`div`,Ln,[e.entry.metadata?(a(),b(`div`,zn,[C(`pre`,null,i(JSON.stringify(e.entry.metadata,null,2)),1)])):(a(),b(`div`,Rn,t[19]||=[C(`p`,null,`No metadata available.`,-1)]))])]),_:1})]),_:1})]),_:1}),C(`div`,Bn,[_(D,{label:`Close`,severity:`secondary`,onClick:d}),e.canRetry&&e.entry.status===`failed`?(a(),E(D,{key:0,label:`Retry Build`,severity:`info`,onClick:m})):y(``,!0),e.canDelete?(a(),E(D,{key:1,label:`Delete Entry`,severity:`danger`,onClick:h})):y(``,!0)])])):y(``,!0)]),_:1},8,[`visible`,`header`])}}}),[[`__scopeId`,`data-v-1ee95f2f`]]),Hn={class:`build-history-dialog`},Un={key:0,class:`loading-state`},Wn={key:1,class:`main-content`},Gn={key:2,class:`unauthorized-state`},Kn={class:`unauthorized-actions`},qn={class:`export-dialog`},Jn={class:`export-status`},Yn=T(D({__name:`BuildHistoryDialog`,props:{visible:{type:Boolean},pipelineId:{}},emits:[`hide`,`update:visible`],setup(t,{emit:r}){let c=t,l=r,d=oe(),f=se(),p=te(),h=o(`openUpgradeDialog`),y=e(null),x=e(!1),S=e(!1),w=e(0),T=e(``),D=v(()=>f.storageInfo?.totalEntries||0),O=e=>{y.value=e,x.value=!0},k=()=>{x.value=!1,y.value=null},j=async e=>{d.require({group:`build-history`,message:`Are you sure you want to delete the build history entry for "${e.projectName}"?`,header:`Delete Build History Entry`,icon:`pi pi-exclamation-triangle`,accept:async()=>{try{await f.deleteEntry(e.id)}catch(e){console.error(`Failed to delete entry:`,e)}}})},M=async()=>{let e=c.pipelineId?`Are you sure you want to clear ALL build history entries for this pipeline?`:`Are you sure you want to clear ALL build history entries across all pipelines?`;d.require({group:`build-history`,message:e,header:`Clear Build History`,icon:`pi pi-exclamation-triangle`,accept:async()=>{try{c.pipelineId?await f.clearHistoryByPipeline(c.pipelineId):await f.clearHistory()}catch(e){console.error(`Failed to clear entries:`,e)}}})},ee=async e=>{k(),console.log(`Retrying build for entry:`,e.id),d.require({message:`Retry build functionality would start a new build for "${e.projectName}". This feature is not yet implemented.`,header:`Retry Build`,icon:`pi pi-info-circle`,accept:()=>{}})},ne=()=>{l(`update:visible`,!1)},N=async()=>{if(console.log(`buildHistoryStore.canUseHistory`,f.canUseHistory),f.canUseHistory)try{let e={pipelineId:c.pipelineId||void 0};console.log(`query`,e),await f.loadEntries(e)}catch(e){console.error(`Failed to load build history after auth change:`,e)}};return u(()=>c.visible,e=>{e&&N()}),u(()=>c.pipelineId,()=>{c.visible&&N()}),p.onSubscriptionChanged(async({subscriptions:e})=>{c.visible&&N()}),s(()=>{c.visible&&N()}),m(()=>{y.value=null}),(e,t)=>{let r=B,o=A,s=z,c=Ne,l=P;return a(),E(l,{visible:e.visible,modal:``,header:`Build History`,style:{width:`90vw`,height:`80vh`},closable:!0,"onUpdate:visible":t[2]||=t=>e.$emit(`update:visible`,!1)},{default:g(()=>[C(`div`,Hn,[n(p).isLoadingSubscriptions?(a(),b(`div`,Un,[_(r),t[3]||=C(`p`,null,`Loading build history...`,-1)])):n(f).canUseHistory?(a(),b(`div`,Wn,[_(Ft,{entries:n(f).entries,"is-loading":n(f).isLoading,error:n(f).error,"total-count":D.value,"can-delete":!0,"can-start-build":!1,onViewDetails:O,onDelete:j,onClearAll:M,onStartBuild:ne},null,8,[`entries`,`is-loading`,`error`,`total-count`])])):(a(),b(`div`,Gn,[t[4]||=C(`div`,{class:`unauthorized-icon`},[C(`i`,{class:`pi pi-lock`})],-1),t[5]||=C(`h3`,null,`Premium Feature`,-1),t[6]||=C(`p`,null,`Build history tracking is available with a premium subscription.`,-1),C(`div`,Kn,[_(o,{label:`Upgrade to Access`,severity:`primary`,onClick:n(h)},null,8,[`onClick`]),_(o,{label:`Close`,severity:`secondary`,onClick:t[0]||=t=>e.$emit(`update:visible`,!1)})])])),_(Vn,{entry:y.value,visible:x.value,"can-delete":!0,"can-retry":!0,onHide:k,onRetry:ee,onDelete:j},null,8,[`entry`,`visible`]),_(s,{group:`build-history`}),_(l,{visible:S.value,"onUpdate:visible":t[1]||=e=>S.value=e,modal:``,header:`Export Build History`,style:{width:`400px`},closable:!0},{default:g(()=>[C(`div`,qn,[t[7]||=C(`p`,null,`Exporting build history data...`,-1),_(c,{value:w.value,"show-value":!0},null,8,[`value`]),C(`p`,Jn,i(T.value),1)])]),_:1},8,[`visible`])])]),_:1},8,[`visible`])}}}),[[`__scopeId`,`data-v-ad9852ab`]]),H={},Xn;function U(e={}){H={animate:!0,allowClose:!0,overlayClickBehavior:`close`,overlayOpacity:.7,smoothScroll:!1,disableActiveInteraction:!1,showProgress:!1,stagePadding:10,stageRadius:5,popoverOffset:10,showButtons:[`next`,`previous`,`close`],disableButtons:[],overlayColor:`#000`,...e}}function W(e){return e?H[e]:H}function Zn(e){Xn=e}function G(){return Xn}var K={};function q(e,t){K[e]=t}function J(e){var t;(t=K[e])==null||t.call(K)}function Qn(){K={}}function Y(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}function $n(e){let t=`a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]), input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled])`;return e.flatMap(e=>{let n=e.matches(t),r=Array.from(e.querySelectorAll(t));return[...n?[e]:[],...r]}).filter(e=>getComputedStyle(e).pointerEvents!==`none`&&rr(e))}function er(e){if(!e||nr(e))return;let t=W(`smoothScroll`),n=e.offsetHeight>window.innerHeight;e.scrollIntoView({behavior:!t||tr(e)?`auto`:`smooth`,inline:`center`,block:n?`start`:`center`})}function tr(e){if(!e||!e.parentElement)return;let t=e.parentElement;return t.scrollHeight>t.clientHeight}function nr(e){let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function rr(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}var X={};function Z(e,t){X[e]=t}function Q(e){return e?X[e]:X}function ir(){X={}}function ar(e,t,n,r){let i=Q(`__activeStagePosition`),a=i||n.getBoundingClientRect(),o=r.getBoundingClientRect();i={x:Y(e,a.x,o.x-a.x,t),y:Y(e,a.y,o.y-a.y,t),width:Y(e,a.width,o.width-a.width,t),height:Y(e,a.height,o.height-a.height,t)},lr(i),Z(`__activeStagePosition`,i)}function or(e){if(!e)return;let t=e.getBoundingClientRect(),n={x:t.x,y:t.y,width:t.width,height:t.height};Z(`__activeStagePosition`,n),lr(n)}function sr(){let e=Q(`__activeStagePosition`),t=Q(`__overlaySvg`);if(!e)return;if(!t){console.warn(`No stage svg found.`);return}let n=window.innerWidth,r=window.innerHeight;t.setAttribute(`viewBox`,`0 0 ${n} ${r}`)}function cr(e){let t=ur(e);document.body.appendChild(t),br(t,e=>{e.target.tagName===`path`&&J(`overlayClick`)}),Z(`__overlaySvg`,t)}function lr(e){let t=Q(`__overlaySvg`);if(!t){cr(e);return}let n=t.firstElementChild;if(n?.tagName!==`path`)throw Error(`no path element found in stage svg`);n.setAttribute(`d`,dr(e))}function ur(e){let t=window.innerWidth,n=window.innerHeight,r=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);r.classList.add(`driver-overlay`,`driver-overlay-animated`),r.setAttribute(`viewBox`,`0 0 ${t} ${n}`),r.setAttribute(`xmlSpace`,`preserve`),r.setAttribute(`xmlnsXlink`,`http://www.w3.org/1999/xlink`),r.setAttribute(`version`,`1.1`),r.setAttribute(`preserveAspectRatio`,`xMinYMin slice`),r.style.fillRule=`evenodd`,r.style.clipRule=`evenodd`,r.style.strokeLinejoin=`round`,r.style.strokeMiterlimit=`2`,r.style.zIndex=`10000`,r.style.position=`fixed`,r.style.top=`0`,r.style.left=`0`,r.style.width=`100%`,r.style.height=`100%`;let i=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return i.setAttribute(`d`,dr(e)),i.style.fill=W(`overlayColor`)||`rgb(0,0,0)`,i.style.opacity=`${W(`overlayOpacity`)}`,i.style.pointerEvents=`auto`,i.style.cursor=`auto`,r.appendChild(i),r}function dr(e){let t=window.innerWidth,n=window.innerHeight,r=W(`stagePadding`)||0,i=W(`stageRadius`)||0,a=e.width+r*2,o=e.height+r*2,s=Math.min(i,a/2,o/2),c=Math.floor(Math.max(s,0)),l=e.x-r+c,u=e.y-r,d=a-c*2,f=o-c*2;return`M${t},0L0,0L0,${n}L${t},${n}L${t},0Z
|
|
520
|
-
M${l},${u} h${d} a${c},${c} 0 0 1 ${c},${c} v${f} a${c},${c} 0 0 1 -${c},${c} h-${d} a${c},${c} 0 0 1 -${c},-${c} v-${f} a${c},${c} 0 0 1 ${c},-${c} z`}function fr(){let e=Q(`__overlaySvg`);e&&e.remove()}function pr(){let e=document.getElementById(`driver-dummy-element`);if(e)return e;let t=document.createElement(`div`);return t.id=`driver-dummy-element`,t.style.width=`0`,t.style.height=`0`,t.style.pointerEvents=`none`,t.style.opacity=`0`,t.style.position=`fixed`,t.style.top=`50%`,t.style.left=`50%`,document.body.appendChild(t),t}function mr(e){let{element:t}=e,n=typeof t==`function`?t():typeof t==`string`?document.querySelector(t):t;n||=pr(),gr(n,e)}function hr(){let e=Q(`__activeElement`),t=Q(`__activeStep`);e&&(or(e),sr(),Or(e,t))}function gr(e,t){let n=Date.now(),r=Q(`__activeStep`),i=Q(`__activeElement`)||e,a=!i||i===e,o=e.id===`driver-dummy-element`,s=i.id===`driver-dummy-element`,c=W(`animate`),l=t.onHighlightStarted||W(`onHighlightStarted`),u=t?.onHighlighted||W(`onHighlighted`),d=r?.onDeselected||W(`onDeselected`),f=W(),p=Q();!a&&d&&d(s?void 0:i,r,{config:f,state:p,driver:G()}),l&&l(o?void 0:e,t,{config:f,state:p,driver:G()});let m=!a&&c,h=!1;Cr(),Z(`previousStep`,r),Z(`previousElement`,i),Z(`activeStep`,t),Z(`activeElement`,e);let g=()=>{if(Q(`__transitionCallback`)!==g)return;let a=Date.now()-n,s=400-a<=400/2;t.popover&&s&&!h&&m&&(wr(e,t),h=!0),W(`animate`)&&a<400?ar(a,400,i,e):(or(e),u&&u(o?void 0:e,t,{config:W(),state:Q(),driver:G()}),Z(`__transitionCallback`,void 0),Z(`__previousStep`,r),Z(`__previousElement`,i),Z(`__activeStep`,t),Z(`__activeElement`,e)),window.requestAnimationFrame(g)};Z(`__transitionCallback`,g),window.requestAnimationFrame(g),er(e),!m&&t.popover&&wr(e,t),i.classList.remove(`driver-active-element`,`driver-no-interaction`),i.removeAttribute(`aria-haspopup`),i.removeAttribute(`aria-expanded`),i.removeAttribute(`aria-controls`),(t.disableActiveInteraction??W(`disableActiveInteraction`))&&e.classList.add(`driver-no-interaction`),e.classList.add(`driver-active-element`),e.setAttribute(`aria-haspopup`,`dialog`),e.setAttribute(`aria-expanded`,`true`),e.setAttribute(`aria-controls`,`driver-popover-content`)}function _r(){var e;(e=document.getElementById(`driver-dummy-element`))==null||e.remove(),document.querySelectorAll(`.driver-active-element`).forEach(e=>{e.classList.remove(`driver-active-element`,`driver-no-interaction`),e.removeAttribute(`aria-haspopup`),e.removeAttribute(`aria-expanded`),e.removeAttribute(`aria-controls`)})}function $(){let e=Q(`__resizeTimeout`);e&&window.cancelAnimationFrame(e),Z(`__resizeTimeout`,window.requestAnimationFrame(hr))}function vr(e){if(!Q(`isInitialized`)||!(e.key===`Tab`||e.keyCode===9))return;let t=Q(`__activeElement`),n=Q(`popover`)?.wrapper,r=$n([...n?[n]:[],...t?[t]:[]]),i=r[0],a=r[r.length-1];e.preventDefault(),e.shiftKey?(r[r.indexOf(document.activeElement)-1]||a)?.focus():(r[r.indexOf(document.activeElement)+1]||i)?.focus()}function yr(e){var t;((t=W(`allowKeyboardControl`))==null||t)&&(e.key===`Escape`?J(`escapePress`):e.key===`ArrowRight`?J(`arrowRightPress`):e.key===`ArrowLeft`&&J(`arrowLeftPress`))}function br(e,t,n){let r=(t,r)=>{let i=t.target;e.contains(i)&&((!n||n(i))&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()),r?.(t))};document.addEventListener(`pointerdown`,r,!0),document.addEventListener(`mousedown`,r,!0),document.addEventListener(`pointerup`,r,!0),document.addEventListener(`mouseup`,r,!0),document.addEventListener(`click`,e=>{r(e,t)},!0)}function xr(){window.addEventListener(`keyup`,yr,!1),window.addEventListener(`keydown`,vr,!1),window.addEventListener(`resize`,$),window.addEventListener(`scroll`,$)}function Sr(){window.removeEventListener(`keyup`,yr),window.removeEventListener(`resize`,$),window.removeEventListener(`scroll`,$)}function Cr(){let e=Q(`popover`);e&&(e.wrapper.style.display=`none`)}function wr(e,t){let n=Q(`popover`);n&&document.body.removeChild(n.wrapper),n=Ar(),document.body.appendChild(n.wrapper);let{title:r,description:i,showButtons:a,disableButtons:o,showProgress:s,nextBtnText:c=W(`nextBtnText`)||`Next →`,prevBtnText:l=W(`prevBtnText`)||`← Previous`,progressText:u=W(`progressText`)||`{current} of {total}`}=t.popover||{};n.nextButton.innerHTML=c,n.previousButton.innerHTML=l,n.progress.innerHTML=u,r?(n.title.innerHTML=r,n.title.style.display=`block`):n.title.style.display=`none`,i?(n.description.innerHTML=i,n.description.style.display=`block`):n.description.style.display=`none`;let d=a||W(`showButtons`),f=s||W(`showProgress`)||!1,p=d?.includes(`next`)||d?.includes(`previous`)||f;n.closeButton.style.display=d.includes(`close`)?`block`:`none`,p?(n.footer.style.display=`flex`,n.progress.style.display=f?`block`:`none`,n.nextButton.style.display=d.includes(`next`)?`block`:`none`,n.previousButton.style.display=d.includes(`previous`)?`block`:`none`):n.footer.style.display=`none`;let m=o||W(`disableButtons`)||[];m!=null&&m.includes(`next`)&&(n.nextButton.disabled=!0,n.nextButton.classList.add(`driver-popover-btn-disabled`)),m!=null&&m.includes(`previous`)&&(n.previousButton.disabled=!0,n.previousButton.classList.add(`driver-popover-btn-disabled`)),m!=null&&m.includes(`close`)&&(n.closeButton.disabled=!0,n.closeButton.classList.add(`driver-popover-btn-disabled`));let h=n.wrapper;h.style.display=`block`,h.style.left=``,h.style.top=``,h.style.bottom=``,h.style.right=``,h.id=`driver-popover-content`,h.setAttribute(`role`,`dialog`),h.setAttribute(`aria-labelledby`,`driver-popover-title`),h.setAttribute(`aria-describedby`,`driver-popover-description`);let g=n.arrow;g.className=`driver-popover-arrow`,h.className=`driver-popover ${t.popover?.popoverClass||W(`popoverClass`)||``}`.trim(),br(n.wrapper,n=>{let r=n.target,i=t.popover?.onNextClick||W(`onNextClick`),a=t.popover?.onPrevClick||W(`onPrevClick`),o=t.popover?.onCloseClick||W(`onCloseClick`);if(r.closest(`.driver-popover-next-btn`))return i?i(e,t,{config:W(),state:Q(),driver:G()}):J(`nextClick`);if(r.closest(`.driver-popover-prev-btn`))return a?a(e,t,{config:W(),state:Q(),driver:G()}):J(`prevClick`);if(r.closest(`.driver-popover-close-btn`))return o?o(e,t,{config:W(),state:Q(),driver:G()}):J(`closeClick`)},e=>!(n!=null&&n.description.contains(e))&&!(n!=null&&n.title.contains(e))&&typeof e.className==`string`&&e.className.includes(`driver-popover`)),Z(`popover`,n);let _=t.popover?.onPopoverRender||W(`onPopoverRender`);_&&_(n,{config:W(),state:Q(),driver:G()}),Or(e,t),er(h);let v=$n([h,...e.classList.contains(`driver-dummy-element`)?[]:[e]]);v.length>0&&v[0].focus()}function Tr(){let e=Q(`popover`);if(!(e!=null&&e.wrapper))return;let t=e.wrapper.getBoundingClientRect(),n=W(`stagePadding`)||0,r=W(`popoverOffset`)||0;return{width:t.width+n+r,height:t.height+n+r,realWidth:t.width,realHeight:t.height}}function Er(e,t){let{elementDimensions:n,popoverDimensions:r,popoverPadding:i,popoverArrowDimensions:a}=t;return e===`start`?Math.max(Math.min(n.top-i,window.innerHeight-r.realHeight-a.width),a.width):e===`end`?Math.max(Math.min(n.top-r?.realHeight+n.height+i,window.innerHeight-r?.realHeight-a.width),a.width):e===`center`?Math.max(Math.min(n.top+n.height/2-r?.realHeight/2,window.innerHeight-r?.realHeight-a.width),a.width):0}function Dr(e,t){let{elementDimensions:n,popoverDimensions:r,popoverPadding:i,popoverArrowDimensions:a}=t;return e===`start`?Math.max(Math.min(n.left-i,window.innerWidth-r.realWidth-a.width),a.width):e===`end`?Math.max(Math.min(n.left-r?.realWidth+n.width+i,window.innerWidth-r?.realWidth-a.width),a.width):e===`center`?Math.max(Math.min(n.left+n.width/2-r?.realWidth/2,window.innerWidth-r?.realWidth-a.width),a.width):0}function Or(e,t){let n=Q(`popover`);if(!n)return;let{align:r=`start`,side:i=`left`}=t?.popover||{},a=r,o=e.id===`driver-dummy-element`?`over`:i,s=W(`stagePadding`)||0,c=Tr(),l=n.arrow.getBoundingClientRect(),u=e.getBoundingClientRect(),d=u.top-c.height,f=d>=0,p=window.innerHeight-(u.bottom+c.height),m=p>=0,h=u.left-c.width,g=h>=0,_=window.innerWidth-(u.right+c.width),v=_>=0,y=!f&&!m&&!g&&!v,b=o;if(o===`top`&&f?v=g=m=!1:o===`bottom`&&m?v=g=f=!1:o===`left`&&g?v=f=m=!1:o===`right`&&v&&(g=f=m=!1),o===`over`){let e=window.innerWidth/2-c.realWidth/2,t=window.innerHeight/2-c.realHeight/2;n.wrapper.style.left=`${e}px`,n.wrapper.style.right=`auto`,n.wrapper.style.top=`${t}px`,n.wrapper.style.bottom=`auto`}else if(y){let e=window.innerWidth/2-c?.realWidth/2;n.wrapper.style.left=`${e}px`,n.wrapper.style.right=`auto`,n.wrapper.style.bottom=`10px`,n.wrapper.style.top=`auto`}else if(g){let e=Math.min(h,window.innerWidth-c?.realWidth-l.width),t=Er(a,{elementDimensions:u,popoverDimensions:c,popoverPadding:s,popoverArrowDimensions:l});n.wrapper.style.left=`${e}px`,n.wrapper.style.top=`${t}px`,n.wrapper.style.bottom=`auto`,n.wrapper.style.right=`auto`,b=`left`}else if(v){let e=Math.min(_,window.innerWidth-c?.realWidth-l.width),t=Er(a,{elementDimensions:u,popoverDimensions:c,popoverPadding:s,popoverArrowDimensions:l});n.wrapper.style.right=`${e}px`,n.wrapper.style.top=`${t}px`,n.wrapper.style.bottom=`auto`,n.wrapper.style.left=`auto`,b=`right`}else if(f){let e=Math.min(d,window.innerHeight-c.realHeight-l.width),t=Dr(a,{elementDimensions:u,popoverDimensions:c,popoverPadding:s,popoverArrowDimensions:l});n.wrapper.style.top=`${e}px`,n.wrapper.style.left=`${t}px`,n.wrapper.style.bottom=`auto`,n.wrapper.style.right=`auto`,b=`top`}else if(m){let e=Math.min(p,window.innerHeight-c?.realHeight-l.width),t=Dr(a,{elementDimensions:u,popoverDimensions:c,popoverPadding:s,popoverArrowDimensions:l});n.wrapper.style.left=`${t}px`,n.wrapper.style.bottom=`${e}px`,n.wrapper.style.top=`auto`,n.wrapper.style.right=`auto`,b=`bottom`}y?n.arrow.classList.add(`driver-popover-arrow-none`):kr(a,b,e)}function kr(e,t,n){let r=Q(`popover`);if(!r)return;let i=n.getBoundingClientRect(),a=Tr(),o=r.arrow,s=a.width,c=window.innerWidth,l=i.width,u=i.left,d=a.height,f=window.innerHeight,p=i.top,m=i.height;o.className=`driver-popover-arrow`;let h=t,g=e;if(t===`top`?(u+l<=0?(h=`right`,g=`end`):u+l-s<=0&&(h=`top`,g=`start`),u>=c?(h=`left`,g=`end`):u+s>=c&&(h=`top`,g=`end`)):t===`bottom`?(u+l<=0?(h=`right`,g=`start`):u+l-s<=0&&(h=`bottom`,g=`start`),u>=c?(h=`left`,g=`start`):u+s>=c&&(h=`bottom`,g=`end`)):t===`left`?(p+m<=0?(h=`bottom`,g=`end`):p+m-d<=0&&(h=`left`,g=`start`),p>=f?(h=`top`,g=`end`):p+d>=f&&(h=`left`,g=`end`)):t===`right`&&(p+m<=0?(h=`bottom`,g=`start`):p+m-d<=0&&(h=`right`,g=`start`),p>=f?(h=`top`,g=`start`):p+d>=f&&(h=`right`,g=`end`)),!h)o.classList.add(`driver-popover-arrow-none`);else{o.classList.add(`driver-popover-arrow-side-${h}`),o.classList.add(`driver-popover-arrow-align-${g}`);let e=n.getBoundingClientRect(),i=o.getBoundingClientRect(),a=W(`stagePadding`)||0,s=e.left-a<window.innerWidth&&e.right+a>0&&e.top-a<window.innerHeight&&e.bottom+a>0;t===`bottom`&&s&&(i.x>e.x&&i.x+i.width<e.x+e.width?r.wrapper.style.transform=`translateY(0)`:(o.classList.remove(`driver-popover-arrow-align-${g}`),o.classList.add(`driver-popover-arrow-none`),r.wrapper.style.transform=`translateY(-${a/2}px)`))}}function Ar(){let e=document.createElement(`div`);e.classList.add(`driver-popover`);let t=document.createElement(`div`);t.classList.add(`driver-popover-arrow`);let n=document.createElement(`header`);n.id=`driver-popover-title`,n.classList.add(`driver-popover-title`),n.style.display=`none`,n.innerText=`Popover Title`;let r=document.createElement(`div`);r.id=`driver-popover-description`,r.classList.add(`driver-popover-description`),r.style.display=`none`,r.innerText=`Popover description is here`;let i=document.createElement(`button`);i.type=`button`,i.classList.add(`driver-popover-close-btn`),i.setAttribute(`aria-label`,`Close`),i.innerHTML=`×`;let a=document.createElement(`footer`);a.classList.add(`driver-popover-footer`);let o=document.createElement(`span`);o.classList.add(`driver-popover-progress-text`),o.innerText=``;let s=document.createElement(`span`);s.classList.add(`driver-popover-navigation-btns`);let c=document.createElement(`button`);c.type=`button`,c.classList.add(`driver-popover-prev-btn`),c.innerHTML=`← Previous`;let l=document.createElement(`button`);return l.type=`button`,l.classList.add(`driver-popover-next-btn`),l.innerHTML=`Next →`,s.appendChild(c),s.appendChild(l),a.appendChild(o),a.appendChild(s),e.appendChild(i),e.appendChild(t),e.appendChild(n),e.appendChild(r),e.appendChild(a),{wrapper:e,arrow:t,title:n,description:r,footer:a,previousButton:c,nextButton:l,closeButton:i,footerButtons:s,progress:o}}function jr(){var e;let t=Q(`popover`);t&&((e=t.wrapper.parentElement)==null||e.removeChild(t.wrapper))}function Mr(e={}){U(e);function t(){W(`allowClose`)&&u()}function n(){let e=W(`overlayClickBehavior`);if(W(`allowClose`)&&e===`close`){u();return}if(typeof e==`function`){let t=Q(`__activeStep`);e(Q(`__activeElement`),t,{config:W(),state:Q(),driver:G()});return}e===`nextStep`&&r()}function r(){let e=Q(`activeIndex`),t=W(`steps`)||[];if(e===void 0)return;let n=e+1;t[n]?l(n):u()}function i(){let e=Q(`activeIndex`),t=W(`steps`)||[];if(e===void 0)return;let n=e-1;t[n]?l(n):u()}function a(e){(W(`steps`)||[])[e]?l(e):u()}function o(){if(Q(`__transitionCallback`))return;let e=Q(`activeIndex`),t=Q(`__activeStep`),n=Q(`__activeElement`);if(e===void 0||t===void 0||Q(`activeIndex`)===void 0)return;let r=t.popover?.onPrevClick||W(`onPrevClick`);if(r)return r(n,t,{config:W(),state:Q(),driver:G()});i()}function s(){if(Q(`__transitionCallback`))return;let e=Q(`activeIndex`),t=Q(`__activeStep`),n=Q(`__activeElement`);if(e===void 0||t===void 0)return;let i=t.popover?.onNextClick||W(`onNextClick`);if(i)return i(n,t,{config:W(),state:Q(),driver:G()});r()}function c(){Q(`isInitialized`)||(Z(`isInitialized`,!0),document.body.classList.add(`driver-active`,W(`animate`)?`driver-fade`:`driver-simple`),xr(),q(`overlayClick`,n),q(`escapePress`,t),q(`arrowLeftPress`,o),q(`arrowRightPress`,s))}function l(e=0){let t=W(`steps`);if(!t){console.error(`No steps to drive through`),u();return}if(!t[e]){u();return}Z(`__activeOnDestroyed`,document.activeElement),Z(`activeIndex`,e);let n=t[e],r=t[e+1],i=t[e-1],a=n.popover?.doneBtnText||W(`doneBtnText`)||`Done`,o=W(`allowClose`),s=n.popover?.showProgress===void 0?W(`showProgress`):n.popover?.showProgress,c=(n.popover?.progressText||W(`progressText`)||`{{current}} of {{total}}`).replace(`{{current}}`,`${e+1}`).replace(`{{total}}`,`${t.length}`),d=n.popover?.showButtons||W(`showButtons`),f=[`next`,`previous`,...o?[`close`]:[]].filter(e=>!(d!=null&&d.length)||d.includes(e)),p=n.popover?.onNextClick||W(`onNextClick`),m=n.popover?.onPrevClick||W(`onPrevClick`),h=n.popover?.onCloseClick||W(`onCloseClick`);mr({...n,popover:{showButtons:f,nextBtnText:r?void 0:a,disableButtons:[...i?[]:[`previous`]],showProgress:s,progressText:c,onNextClick:p||(()=>{r?l(e+1):u()}),onPrevClick:m||(()=>{l(e-1)}),onCloseClick:h||(()=>{u()}),...n?.popover||{}}})}function u(e=!0){let t=Q(`__activeElement`),n=Q(`__activeStep`),r=Q(`__activeOnDestroyed`),i=W(`onDestroyStarted`);if(e&&i){i(!t||t?.id===`driver-dummy-element`?void 0:t,n,{config:W(),state:Q(),driver:G()});return}let a=n?.onDeselected||W(`onDeselected`),o=W(`onDestroyed`);if(document.body.classList.remove(`driver-active`,`driver-fade`,`driver-simple`),Sr(),jr(),_r(),fr(),Qn(),ir(),t&&n){let e=t.id===`driver-dummy-element`;a&&a(e?void 0:t,n,{config:W(),state:Q(),driver:G()}),o&&o(e?void 0:t,n,{config:W(),state:Q(),driver:G()})}r&&r.focus()}let d={isActive:()=>Q(`isInitialized`)||!1,refresh:$,drive:(e=0)=>{c(),l(e)},setConfig:U,setSteps:e=>{ir(),U({...W(),steps:e})},getConfig:W,getState:Q,getActiveIndex:()=>Q(`activeIndex`),isFirstStep:()=>Q(`activeIndex`)===0,isLastStep:()=>{let e=W(`steps`)||[],t=Q(`activeIndex`);return t!==void 0&&t===e.length-1},getActiveStep:()=>Q(`activeStep`),getActiveElement:()=>Q(`activeElement`),getPreviousElement:()=>Q(`previousElement`),getPreviousStep:()=>Q(`previousStep`),moveNext:r,movePrevious:i,moveTo:a,hasNextStep:()=>{let e=W(`steps`)||[],t=Q(`activeIndex`);return t!==void 0&&!!e[t+1]},hasPreviousStep:()=>{let e=W(`steps`)||[],t=Q(`activeIndex`);return t!==void 0&&!!e[t-1]},highlight:e=>{c(),mr({...e,popover:e.popover?{showButtons:[],showProgress:!1,progressText:``,...e.popover}:void 0})},destroy:()=>{u(!1)}};return Zn(d),d}function Nr(e){let t=ee(),{settings:n}=ae(t),{updateSettings:r}=t;return{startTour:(t,i=!1)=>{let a=Mr({showProgress:!0,steps:t,onHighlighted:(i,a,{state:o})=>{let s={...n.value.tours};s[e]={step:o.activeIndex??0,completed:o.activeIndex===t.length-1},r({...n.value,tours:s})}}),o=n.value.tours[e]?.step??0;a.drive(i?0:o)},isCompleted:()=>n.value.tours[e]?.completed??!1}}export{me as a,be as i,Yn as n,z as r,Nr as t};
|