@gemafajarramadhan/dynamic-ui 1.4.65 → 1.4.67
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/dist/DrilldownUtil-esP8Tbvd.js +707 -0
- package/dist/NavigatedViewer-CNlNPSjB.js +10314 -0
- package/dist/dynamic-ui.css +1 -0
- package/dist/dynamic-ui.es.js +90 -0
- package/dist/dynamic-ui.umd.js +391 -0
- package/dist/index-EDPbTWMw.js +106590 -0
- package/dist/index.d.ts +1055 -0
- package/dist/viewer-BKjG8nkS.js +3806 -0
- package/dist/vite.svg +1 -0
- package/package.json +1 -1
- package/src/index.d.ts +64 -0
|
@@ -0,0 +1,707 @@
|
|
|
1
|
+
function Ct(t, e) {
|
|
2
|
+
e && (t.super_ = e, t.prototype = Object.create(e.prototype, { constructor: { value: t, enumerable: !1, writable: !0, configurable: !0 } }));
|
|
3
|
+
}
|
|
4
|
+
const y = Object.prototype.toString, H = Object.prototype.hasOwnProperty;
|
|
5
|
+
function x(t) {
|
|
6
|
+
return t === void 0;
|
|
7
|
+
}
|
|
8
|
+
function z(t) {
|
|
9
|
+
return t !== void 0;
|
|
10
|
+
}
|
|
11
|
+
function D(t) {
|
|
12
|
+
return t == null;
|
|
13
|
+
}
|
|
14
|
+
function k(t) {
|
|
15
|
+
return y.call(t) === "[object Array]";
|
|
16
|
+
}
|
|
17
|
+
function St(t) {
|
|
18
|
+
return y.call(t) === "[object Object]";
|
|
19
|
+
}
|
|
20
|
+
function Pt(t) {
|
|
21
|
+
return y.call(t) === "[object Number]";
|
|
22
|
+
}
|
|
23
|
+
function K(t) {
|
|
24
|
+
const e = y.call(t);
|
|
25
|
+
return e === "[object Function]" || e === "[object AsyncFunction]" || e === "[object GeneratorFunction]" || e === "[object AsyncGeneratorFunction]" || e === "[object Proxy]";
|
|
26
|
+
}
|
|
27
|
+
function Dt(t) {
|
|
28
|
+
return y.call(t) === "[object String]";
|
|
29
|
+
}
|
|
30
|
+
function B(t, e) {
|
|
31
|
+
return !D(t) && H.call(t, e);
|
|
32
|
+
}
|
|
33
|
+
function U(t, e) {
|
|
34
|
+
const r = j(e);
|
|
35
|
+
let n;
|
|
36
|
+
return l(t, function(i, o) {
|
|
37
|
+
if (r(i, o))
|
|
38
|
+
return n = i, !1;
|
|
39
|
+
}), n;
|
|
40
|
+
}
|
|
41
|
+
function kt(t, e) {
|
|
42
|
+
const r = j(e);
|
|
43
|
+
let n = k(t) ? -1 : void 0;
|
|
44
|
+
return l(t, function(i, o) {
|
|
45
|
+
if (r(i, o))
|
|
46
|
+
return n = o, !1;
|
|
47
|
+
}), n;
|
|
48
|
+
}
|
|
49
|
+
function Ft(t, e) {
|
|
50
|
+
const r = j(e);
|
|
51
|
+
let n = [];
|
|
52
|
+
return l(t, function(i, o) {
|
|
53
|
+
r(i, o) && n.push(i);
|
|
54
|
+
}), n;
|
|
55
|
+
}
|
|
56
|
+
function l(t, e) {
|
|
57
|
+
let r, n;
|
|
58
|
+
if (x(t))
|
|
59
|
+
return;
|
|
60
|
+
const i = k(t) ? Q : J;
|
|
61
|
+
for (let o in t)
|
|
62
|
+
if (B(t, o) && (r = t[o], n = e(r, i(o)), n === !1))
|
|
63
|
+
return r;
|
|
64
|
+
}
|
|
65
|
+
function X(t, e, r) {
|
|
66
|
+
return l(t, function(n, i) {
|
|
67
|
+
r = e(r, n, i);
|
|
68
|
+
}), r;
|
|
69
|
+
}
|
|
70
|
+
function Y(t, e) {
|
|
71
|
+
return !!X(t, function(r, n, i) {
|
|
72
|
+
return r && e(n, i);
|
|
73
|
+
}, !0);
|
|
74
|
+
}
|
|
75
|
+
function Z(t, e) {
|
|
76
|
+
return !!U(t, e);
|
|
77
|
+
}
|
|
78
|
+
function It(t, e) {
|
|
79
|
+
let r = [];
|
|
80
|
+
return l(t, function(n, i) {
|
|
81
|
+
r.push(e(n, i));
|
|
82
|
+
}), r;
|
|
83
|
+
}
|
|
84
|
+
function Lt(t) {
|
|
85
|
+
return function(e) {
|
|
86
|
+
return Y(t, function(r, n) {
|
|
87
|
+
return e[n] === r;
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
function j(t) {
|
|
92
|
+
return K(t) ? t : (e) => e === t;
|
|
93
|
+
}
|
|
94
|
+
function J(t) {
|
|
95
|
+
return t;
|
|
96
|
+
}
|
|
97
|
+
function Q(t) {
|
|
98
|
+
return Number(t);
|
|
99
|
+
}
|
|
100
|
+
function $t(t, e) {
|
|
101
|
+
let r, n, i, o;
|
|
102
|
+
function a(v) {
|
|
103
|
+
let V = Date.now(), A = v ? 0 : o + e - V;
|
|
104
|
+
if (A > 0)
|
|
105
|
+
return s(A);
|
|
106
|
+
t.apply(i, n), c();
|
|
107
|
+
}
|
|
108
|
+
function s(v) {
|
|
109
|
+
r = setTimeout(a, v);
|
|
110
|
+
}
|
|
111
|
+
function c() {
|
|
112
|
+
r && clearTimeout(r), r = o = n = i = void 0;
|
|
113
|
+
}
|
|
114
|
+
function f() {
|
|
115
|
+
r && a(!0), c();
|
|
116
|
+
}
|
|
117
|
+
function g(...v) {
|
|
118
|
+
o = Date.now(), n = v, i = this, r || s(e);
|
|
119
|
+
}
|
|
120
|
+
return g.flush = f, g.cancel = c, g;
|
|
121
|
+
}
|
|
122
|
+
function qt(t, e) {
|
|
123
|
+
return t.bind(e);
|
|
124
|
+
}
|
|
125
|
+
function Rt(t, ...e) {
|
|
126
|
+
return Object.assign(t, ...e);
|
|
127
|
+
}
|
|
128
|
+
function Gt(t, e, r) {
|
|
129
|
+
let n = t;
|
|
130
|
+
return l(e, function(i, o) {
|
|
131
|
+
if (typeof i != "number" && typeof i != "string")
|
|
132
|
+
throw new Error("illegal key type: " + typeof i + ". Key should be of type number or string.");
|
|
133
|
+
if (i === "constructor")
|
|
134
|
+
throw new Error("illegal key: constructor");
|
|
135
|
+
if (i === "__proto__")
|
|
136
|
+
throw new Error("illegal key: __proto__");
|
|
137
|
+
let a = e[o + 1], s = n[i];
|
|
138
|
+
z(a) && D(s) && (s = n[i] = isNaN(+a) ? {} : []), x(a) ? x(r) ? delete n[i] : n[i] = r : n = s;
|
|
139
|
+
}), t;
|
|
140
|
+
}
|
|
141
|
+
function Vt(t, e) {
|
|
142
|
+
let r = {}, n = Object(t);
|
|
143
|
+
return l(e, function(i) {
|
|
144
|
+
i in n && (r[i] = t[i]);
|
|
145
|
+
}), r;
|
|
146
|
+
}
|
|
147
|
+
function Ht(t, e) {
|
|
148
|
+
let r = {}, n = Object(t);
|
|
149
|
+
return l(n, function(i, o) {
|
|
150
|
+
e.indexOf(o) === -1 && (r[o] = i);
|
|
151
|
+
}), r;
|
|
152
|
+
}
|
|
153
|
+
function M(t, e) {
|
|
154
|
+
var r = W(t);
|
|
155
|
+
return r && typeof r.$instanceOf == "function" && r.$instanceOf(e);
|
|
156
|
+
}
|
|
157
|
+
function zt(t, e) {
|
|
158
|
+
return Z(e, function(r) {
|
|
159
|
+
return M(t, r);
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
function W(t) {
|
|
163
|
+
return t && t.businessObject || t;
|
|
164
|
+
}
|
|
165
|
+
function tt(t) {
|
|
166
|
+
return t && t.di;
|
|
167
|
+
}
|
|
168
|
+
function et(t, e) {
|
|
169
|
+
if (t.ownerDocument !== e.ownerDocument)
|
|
170
|
+
try {
|
|
171
|
+
return e.ownerDocument.importNode(t, !0);
|
|
172
|
+
} catch {
|
|
173
|
+
}
|
|
174
|
+
return t;
|
|
175
|
+
}
|
|
176
|
+
function rt(t, e) {
|
|
177
|
+
return e.appendChild(et(t, e));
|
|
178
|
+
}
|
|
179
|
+
function Kt(t, e) {
|
|
180
|
+
return rt(e, t), t;
|
|
181
|
+
}
|
|
182
|
+
var T = 2, F = {
|
|
183
|
+
"alignment-baseline": 1,
|
|
184
|
+
"baseline-shift": 1,
|
|
185
|
+
clip: 1,
|
|
186
|
+
"clip-path": 1,
|
|
187
|
+
"clip-rule": 1,
|
|
188
|
+
color: 1,
|
|
189
|
+
"color-interpolation": 1,
|
|
190
|
+
"color-interpolation-filters": 1,
|
|
191
|
+
"color-profile": 1,
|
|
192
|
+
"color-rendering": 1,
|
|
193
|
+
cursor: 1,
|
|
194
|
+
direction: 1,
|
|
195
|
+
display: 1,
|
|
196
|
+
"dominant-baseline": 1,
|
|
197
|
+
"enable-background": 1,
|
|
198
|
+
fill: 1,
|
|
199
|
+
"fill-opacity": 1,
|
|
200
|
+
"fill-rule": 1,
|
|
201
|
+
filter: 1,
|
|
202
|
+
"flood-color": 1,
|
|
203
|
+
"flood-opacity": 1,
|
|
204
|
+
font: 1,
|
|
205
|
+
"font-family": 1,
|
|
206
|
+
"font-size": T,
|
|
207
|
+
"font-size-adjust": 1,
|
|
208
|
+
"font-stretch": 1,
|
|
209
|
+
"font-style": 1,
|
|
210
|
+
"font-variant": 1,
|
|
211
|
+
"font-weight": 1,
|
|
212
|
+
"glyph-orientation-horizontal": 1,
|
|
213
|
+
"glyph-orientation-vertical": 1,
|
|
214
|
+
"image-rendering": 1,
|
|
215
|
+
kerning: 1,
|
|
216
|
+
"letter-spacing": 1,
|
|
217
|
+
"lighting-color": 1,
|
|
218
|
+
marker: 1,
|
|
219
|
+
"marker-end": 1,
|
|
220
|
+
"marker-mid": 1,
|
|
221
|
+
"marker-start": 1,
|
|
222
|
+
mask: 1,
|
|
223
|
+
opacity: 1,
|
|
224
|
+
overflow: 1,
|
|
225
|
+
"pointer-events": 1,
|
|
226
|
+
"shape-rendering": 1,
|
|
227
|
+
"stop-color": 1,
|
|
228
|
+
"stop-opacity": 1,
|
|
229
|
+
stroke: 1,
|
|
230
|
+
"stroke-dasharray": 1,
|
|
231
|
+
"stroke-dashoffset": 1,
|
|
232
|
+
"stroke-linecap": 1,
|
|
233
|
+
"stroke-linejoin": 1,
|
|
234
|
+
"stroke-miterlimit": 1,
|
|
235
|
+
"stroke-opacity": 1,
|
|
236
|
+
"stroke-width": T,
|
|
237
|
+
"text-anchor": 1,
|
|
238
|
+
"text-decoration": 1,
|
|
239
|
+
"text-rendering": 1,
|
|
240
|
+
"unicode-bidi": 1,
|
|
241
|
+
visibility: 1,
|
|
242
|
+
"word-spacing": 1,
|
|
243
|
+
"writing-mode": 1
|
|
244
|
+
};
|
|
245
|
+
function nt(t, e) {
|
|
246
|
+
return F[e] ? t.style[e] : t.getAttributeNS(null, e);
|
|
247
|
+
}
|
|
248
|
+
function I(t, e, r) {
|
|
249
|
+
var n = e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), i = F[n];
|
|
250
|
+
i ? (i === T && typeof r == "number" && (r = String(r) + "px"), t.style[n] = r) : t.setAttributeNS(null, e, r);
|
|
251
|
+
}
|
|
252
|
+
function it(t, e) {
|
|
253
|
+
var r = Object.keys(e), n, i;
|
|
254
|
+
for (n = 0, i; i = r[n]; n++)
|
|
255
|
+
I(t, i, e[i]);
|
|
256
|
+
}
|
|
257
|
+
function ot(t, e, r) {
|
|
258
|
+
if (typeof e == "string")
|
|
259
|
+
if (r !== void 0)
|
|
260
|
+
I(t, e, r);
|
|
261
|
+
else
|
|
262
|
+
return nt(t, e);
|
|
263
|
+
else
|
|
264
|
+
it(t, e);
|
|
265
|
+
return t;
|
|
266
|
+
}
|
|
267
|
+
const at = Object.prototype.toString;
|
|
268
|
+
function Bt(t) {
|
|
269
|
+
return new p(t);
|
|
270
|
+
}
|
|
271
|
+
function p(t) {
|
|
272
|
+
if (!t || !t.nodeType)
|
|
273
|
+
throw new Error("A DOM element reference is required");
|
|
274
|
+
this.el = t, this.list = t.classList;
|
|
275
|
+
}
|
|
276
|
+
p.prototype.add = function(t) {
|
|
277
|
+
return this.list.add(t), this;
|
|
278
|
+
};
|
|
279
|
+
p.prototype.remove = function(t) {
|
|
280
|
+
return at.call(t) == "[object RegExp]" ? this.removeMatching(t) : (this.list.remove(t), this);
|
|
281
|
+
};
|
|
282
|
+
p.prototype.removeMatching = function(t) {
|
|
283
|
+
const e = this.array();
|
|
284
|
+
for (let r = 0; r < e.length; r++)
|
|
285
|
+
t.test(e[r]) && this.remove(e[r]);
|
|
286
|
+
return this;
|
|
287
|
+
};
|
|
288
|
+
p.prototype.toggle = function(t, e) {
|
|
289
|
+
return typeof e < "u" ? e !== this.list.toggle(t, e) && this.list.toggle(t) : this.list.toggle(t), this;
|
|
290
|
+
};
|
|
291
|
+
p.prototype.array = function() {
|
|
292
|
+
return Array.from(this.list);
|
|
293
|
+
};
|
|
294
|
+
p.prototype.has = p.prototype.contains = function(t) {
|
|
295
|
+
return this.list.contains(t);
|
|
296
|
+
};
|
|
297
|
+
var O = {
|
|
298
|
+
svg: "http://www.w3.org/2000/svg"
|
|
299
|
+
}, N = '<svg xmlns="' + O.svg + '"';
|
|
300
|
+
function st(t) {
|
|
301
|
+
var e = !1;
|
|
302
|
+
t.substring(0, 4) === "<svg" ? t.indexOf(O.svg) === -1 && (t = N + t.substring(4)) : (t = N + ">" + t + "</svg>", e = !0);
|
|
303
|
+
var r = ut(t);
|
|
304
|
+
if (!e)
|
|
305
|
+
return r;
|
|
306
|
+
for (var n = document.createDocumentFragment(), i = r.firstChild; i.firstChild; )
|
|
307
|
+
n.appendChild(i.firstChild);
|
|
308
|
+
return n;
|
|
309
|
+
}
|
|
310
|
+
function ut(t) {
|
|
311
|
+
var e;
|
|
312
|
+
return e = new DOMParser(), e.async = !1, e.parseFromString(t, "text/xml");
|
|
313
|
+
}
|
|
314
|
+
function ct(t, e) {
|
|
315
|
+
var r;
|
|
316
|
+
return t = t.trim(), t.charAt(0) === "<" ? (r = st(t).firstChild, r = document.importNode(r, !0)) : r = document.createElementNS(O.svg, t), e && ot(r, e), r;
|
|
317
|
+
}
|
|
318
|
+
var m = null;
|
|
319
|
+
function L() {
|
|
320
|
+
return m === null && (m = ct("svg")), m;
|
|
321
|
+
}
|
|
322
|
+
function _(t, e) {
|
|
323
|
+
var r, n, i = Object.keys(e);
|
|
324
|
+
for (r = 0; n = i[r]; r++)
|
|
325
|
+
t[n] = e[n];
|
|
326
|
+
return t;
|
|
327
|
+
}
|
|
328
|
+
function Ut(t, e, r, n, i, o) {
|
|
329
|
+
var a = L().createSVGMatrix();
|
|
330
|
+
switch (arguments.length) {
|
|
331
|
+
case 0:
|
|
332
|
+
return a;
|
|
333
|
+
case 1:
|
|
334
|
+
return _(a, t);
|
|
335
|
+
case 6:
|
|
336
|
+
return _(a, {
|
|
337
|
+
a: t,
|
|
338
|
+
b: e,
|
|
339
|
+
c: r,
|
|
340
|
+
d: n,
|
|
341
|
+
e: i,
|
|
342
|
+
f: o
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
function Xt(t) {
|
|
347
|
+
return L().createSVGTransform();
|
|
348
|
+
}
|
|
349
|
+
var C = /([&<>]{1})/g, ft = /([&<>\n\r"]{1})/g, lt = {
|
|
350
|
+
"&": "&",
|
|
351
|
+
"<": "<",
|
|
352
|
+
">": ">",
|
|
353
|
+
'"': "'"
|
|
354
|
+
};
|
|
355
|
+
function w(t, e) {
|
|
356
|
+
function r(n, i) {
|
|
357
|
+
return lt[i] || i;
|
|
358
|
+
}
|
|
359
|
+
return t.replace(e, r);
|
|
360
|
+
}
|
|
361
|
+
function $(t, e) {
|
|
362
|
+
var r, n, i, o, a;
|
|
363
|
+
switch (t.nodeType) {
|
|
364
|
+
// TEXT
|
|
365
|
+
case 3:
|
|
366
|
+
e.push(w(t.textContent, C));
|
|
367
|
+
break;
|
|
368
|
+
// ELEMENT
|
|
369
|
+
case 1:
|
|
370
|
+
if (e.push("<", t.tagName), t.hasAttributes())
|
|
371
|
+
for (i = t.attributes, r = 0, n = i.length; r < n; ++r)
|
|
372
|
+
o = i.item(r), e.push(" ", o.name, '="', w(o.value, ft), '"');
|
|
373
|
+
if (t.hasChildNodes()) {
|
|
374
|
+
for (e.push(">"), a = t.childNodes, r = 0, n = a.length; r < n; ++r)
|
|
375
|
+
$(a.item(r), e);
|
|
376
|
+
e.push("</", t.tagName, ">");
|
|
377
|
+
} else
|
|
378
|
+
e.push("/>");
|
|
379
|
+
break;
|
|
380
|
+
// COMMENT
|
|
381
|
+
case 8:
|
|
382
|
+
e.push("<!--", w(t.nodeValue, C), "-->");
|
|
383
|
+
break;
|
|
384
|
+
// CDATA
|
|
385
|
+
case 4:
|
|
386
|
+
e.push("<![CDATA[", t.nodeValue, "]]>");
|
|
387
|
+
break;
|
|
388
|
+
default:
|
|
389
|
+
throw new Error("unable to handle node " + t.nodeType);
|
|
390
|
+
}
|
|
391
|
+
return e;
|
|
392
|
+
}
|
|
393
|
+
function pt(t) {
|
|
394
|
+
for (var e = t.firstChild, r = []; e; )
|
|
395
|
+
$(e, r), e = e.nextSibling;
|
|
396
|
+
return r.join("");
|
|
397
|
+
}
|
|
398
|
+
function Yt(t, e) {
|
|
399
|
+
return pt(t);
|
|
400
|
+
}
|
|
401
|
+
function Zt(t) {
|
|
402
|
+
var e = t.parentNode;
|
|
403
|
+
return e && e.removeChild(t), t;
|
|
404
|
+
}
|
|
405
|
+
function dt(t, e) {
|
|
406
|
+
return e instanceof SVGMatrix ? t.createSVGTransformFromMatrix(e) : e;
|
|
407
|
+
}
|
|
408
|
+
function ht(t, e) {
|
|
409
|
+
var r, n;
|
|
410
|
+
for (t.clear(), r = 0; n = e[r]; r++)
|
|
411
|
+
t.appendItem(dt(t, n));
|
|
412
|
+
}
|
|
413
|
+
function Jt(t, e) {
|
|
414
|
+
var r = t.transform.baseVal;
|
|
415
|
+
return e && (Array.isArray(e) || (e = [e]), ht(r, e)), r.consolidate();
|
|
416
|
+
}
|
|
417
|
+
const u = {
|
|
418
|
+
legend: [1, "<fieldset>", "</fieldset>"],
|
|
419
|
+
tr: [2, "<table><tbody>", "</tbody></table>"],
|
|
420
|
+
col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
|
|
421
|
+
_default: [0, "", ""]
|
|
422
|
+
};
|
|
423
|
+
u.td = u.th = [3, "<table><tbody><tr>", "</tr></tbody></table>"];
|
|
424
|
+
u.option = u.optgroup = [1, '<select multiple="multiple">', "</select>"];
|
|
425
|
+
u.thead = u.tbody = u.colgroup = u.caption = u.tfoot = [1, "<table>", "</table>"];
|
|
426
|
+
u.polyline = u.ellipse = u.polygon = u.circle = u.text = u.line = u.path = u.rect = u.g = [1, '<svg xmlns="http://www.w3.org/2000/svg" version="1.1">', "</svg>"];
|
|
427
|
+
function Qt(t, e = globalThis.document) {
|
|
428
|
+
if (typeof t != "string")
|
|
429
|
+
throw new TypeError("String expected");
|
|
430
|
+
const r = /^<!--(.*?)-->$/s.exec(t);
|
|
431
|
+
if (r)
|
|
432
|
+
return e.createComment(r[1]);
|
|
433
|
+
const n = /<([\w:]+)/.exec(t)?.[1];
|
|
434
|
+
if (!n)
|
|
435
|
+
return e.createTextNode(t);
|
|
436
|
+
if (t = t.trim(), n === "body") {
|
|
437
|
+
const f = e.createElement("html");
|
|
438
|
+
f.innerHTML = t;
|
|
439
|
+
const { lastChild: g } = f;
|
|
440
|
+
return g.remove(), g;
|
|
441
|
+
}
|
|
442
|
+
let [i, o, a] = Object.hasOwn(u, n) ? u[n] : u._default, s = e.createElement("div");
|
|
443
|
+
for (s.innerHTML = o + t + a; i--; )
|
|
444
|
+
s = s.lastChild;
|
|
445
|
+
if (s.firstChild === s.lastChild) {
|
|
446
|
+
const { firstChild: f } = s;
|
|
447
|
+
return f.remove(), f;
|
|
448
|
+
}
|
|
449
|
+
const c = e.createDocumentFragment();
|
|
450
|
+
return c.append(...s.childNodes), c;
|
|
451
|
+
}
|
|
452
|
+
function gt(t, e) {
|
|
453
|
+
return e.forEach(function(r) {
|
|
454
|
+
r && typeof r != "string" && !Array.isArray(r) && Object.keys(r).forEach(function(n) {
|
|
455
|
+
if (n !== "default" && !(n in t)) {
|
|
456
|
+
var i = Object.getOwnPropertyDescriptor(r, n);
|
|
457
|
+
Object.defineProperty(t, n, i.get ? i : {
|
|
458
|
+
enumerable: !0,
|
|
459
|
+
get: function() {
|
|
460
|
+
return r[n];
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
});
|
|
465
|
+
}), Object.freeze(t);
|
|
466
|
+
}
|
|
467
|
+
function Wt(t, ...e) {
|
|
468
|
+
const r = t.style;
|
|
469
|
+
return l(e, function(n) {
|
|
470
|
+
n && l(n, function(i, o) {
|
|
471
|
+
r[o] = i;
|
|
472
|
+
});
|
|
473
|
+
}), t;
|
|
474
|
+
}
|
|
475
|
+
function te(t, e, r) {
|
|
476
|
+
return arguments.length == 2 ? t.getAttribute(e) : r === null ? t.removeAttribute(e) : (t.setAttribute(e, r), t);
|
|
477
|
+
}
|
|
478
|
+
const vt = Object.prototype.toString;
|
|
479
|
+
function ee(t) {
|
|
480
|
+
return new d(t);
|
|
481
|
+
}
|
|
482
|
+
function d(t) {
|
|
483
|
+
if (!t || !t.nodeType)
|
|
484
|
+
throw new Error("A DOM element reference is required");
|
|
485
|
+
this.el = t, this.list = t.classList;
|
|
486
|
+
}
|
|
487
|
+
d.prototype.add = function(t) {
|
|
488
|
+
return this.list.add(t), this;
|
|
489
|
+
};
|
|
490
|
+
d.prototype.remove = function(t) {
|
|
491
|
+
return vt.call(t) == "[object RegExp]" ? this.removeMatching(t) : (this.list.remove(t), this);
|
|
492
|
+
};
|
|
493
|
+
d.prototype.removeMatching = function(t) {
|
|
494
|
+
const e = this.array();
|
|
495
|
+
for (let r = 0; r < e.length; r++)
|
|
496
|
+
t.test(e[r]) && this.remove(e[r]);
|
|
497
|
+
return this;
|
|
498
|
+
};
|
|
499
|
+
d.prototype.toggle = function(t, e) {
|
|
500
|
+
return typeof e < "u" ? e !== this.list.toggle(t, e) && this.list.toggle(t) : this.list.toggle(t), this;
|
|
501
|
+
};
|
|
502
|
+
d.prototype.array = function() {
|
|
503
|
+
return Array.from(this.list);
|
|
504
|
+
};
|
|
505
|
+
d.prototype.has = d.prototype.contains = function(t) {
|
|
506
|
+
return this.list.contains(t);
|
|
507
|
+
};
|
|
508
|
+
function re(t) {
|
|
509
|
+
for (var e; e = t.firstChild; )
|
|
510
|
+
t.removeChild(e);
|
|
511
|
+
return t;
|
|
512
|
+
}
|
|
513
|
+
function yt(t, e, r) {
|
|
514
|
+
var n = r ? t : t.parentNode;
|
|
515
|
+
return n && typeof n.closest == "function" && n.closest(e) || null;
|
|
516
|
+
}
|
|
517
|
+
function bt(t) {
|
|
518
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
519
|
+
}
|
|
520
|
+
var b = {}, S;
|
|
521
|
+
function mt() {
|
|
522
|
+
if (S) return b;
|
|
523
|
+
S = 1;
|
|
524
|
+
var t, e, r;
|
|
525
|
+
function n() {
|
|
526
|
+
t = window.addEventListener ? "addEventListener" : "attachEvent", e = window.removeEventListener ? "removeEventListener" : "detachEvent", r = t !== "addEventListener" ? "on" : "";
|
|
527
|
+
}
|
|
528
|
+
return b.bind = function(i, o, a, s) {
|
|
529
|
+
return t || n(), i[t](r + o, a, s || !1), a;
|
|
530
|
+
}, b.unbind = function(i, o, a, s) {
|
|
531
|
+
return e || n(), i[e](r + o, a, s || !1), a;
|
|
532
|
+
}, b;
|
|
533
|
+
}
|
|
534
|
+
var q = mt(), wt = /* @__PURE__ */ bt(q), R = /* @__PURE__ */ gt({
|
|
535
|
+
__proto__: null,
|
|
536
|
+
default: wt
|
|
537
|
+
}, [q]), G = ["focus", "blur"];
|
|
538
|
+
function Et(t, e, r, n, i) {
|
|
539
|
+
return G.indexOf(r) !== -1 && (i = !0), R.bind(t, r, function(o) {
|
|
540
|
+
var a = o.target || o.srcElement;
|
|
541
|
+
o.delegateTarget = yt(a, e, !0), o.delegateTarget && n.call(t, o);
|
|
542
|
+
}, i);
|
|
543
|
+
}
|
|
544
|
+
function xt(t, e, r, n) {
|
|
545
|
+
return G.indexOf(e) !== -1 && (n = !0), R.unbind(t, e, r, n);
|
|
546
|
+
}
|
|
547
|
+
var ne = {
|
|
548
|
+
bind: Et,
|
|
549
|
+
unbind: xt
|
|
550
|
+
};
|
|
551
|
+
function ie(t, e) {
|
|
552
|
+
return e = e || document, e.querySelector(t);
|
|
553
|
+
}
|
|
554
|
+
function oe(t, e) {
|
|
555
|
+
return e = e || document, e.querySelectorAll(t);
|
|
556
|
+
}
|
|
557
|
+
function ae(t) {
|
|
558
|
+
t.parentNode && t.parentNode.removeChild(t);
|
|
559
|
+
}
|
|
560
|
+
function Tt(t) {
|
|
561
|
+
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
562
|
+
}
|
|
563
|
+
var E = { exports: {} }, P;
|
|
564
|
+
function jt() {
|
|
565
|
+
if (P) return E.exports;
|
|
566
|
+
P = 1;
|
|
567
|
+
var t = E.exports = function(e, r) {
|
|
568
|
+
if (r || (r = 16), e === void 0 && (e = 128), e <= 0) return "0";
|
|
569
|
+
for (var n = Math.log(Math.pow(2, e)) / Math.log(r), i = 2; n === 1 / 0; i *= 2)
|
|
570
|
+
n = Math.log(Math.pow(2, e / i)) / Math.log(r) * i;
|
|
571
|
+
for (var o = n - Math.floor(n), a = "", i = 0; i < Math.floor(n); i++) {
|
|
572
|
+
var s = Math.floor(Math.random() * r).toString(r);
|
|
573
|
+
a = s + a;
|
|
574
|
+
}
|
|
575
|
+
if (o) {
|
|
576
|
+
var c = Math.pow(r, o), s = Math.floor(Math.random() * c).toString(r);
|
|
577
|
+
a = s + a;
|
|
578
|
+
}
|
|
579
|
+
var f = parseInt(a, r);
|
|
580
|
+
return f !== 1 / 0 && f >= Math.pow(2, e) ? t(e, r) : a;
|
|
581
|
+
};
|
|
582
|
+
return t.rack = function(e, r, n) {
|
|
583
|
+
var i = function(a) {
|
|
584
|
+
var s = 0;
|
|
585
|
+
do {
|
|
586
|
+
if (s++ > 10)
|
|
587
|
+
if (n) e += n;
|
|
588
|
+
else throw new Error("too many ID collisions, use more bits");
|
|
589
|
+
var c = t(e, r);
|
|
590
|
+
} while (Object.hasOwnProperty.call(o, c));
|
|
591
|
+
return o[c] = a, c;
|
|
592
|
+
}, o = i.hats = {};
|
|
593
|
+
return i.get = function(a) {
|
|
594
|
+
return i.hats[a];
|
|
595
|
+
}, i.set = function(a, s) {
|
|
596
|
+
return i.hats[a] = s, i;
|
|
597
|
+
}, i.bits = e || 128, i.base = r || 16, i;
|
|
598
|
+
}, E.exports;
|
|
599
|
+
}
|
|
600
|
+
var Mt = jt(), Ot = /* @__PURE__ */ Tt(Mt);
|
|
601
|
+
function h(t) {
|
|
602
|
+
if (!(this instanceof h))
|
|
603
|
+
return new h(t);
|
|
604
|
+
t = t || [128, 36, 1], this._seed = t.length ? Ot.rack(t[0], t[1], t[2]) : t;
|
|
605
|
+
}
|
|
606
|
+
h.prototype.next = function(t) {
|
|
607
|
+
return this._seed(t || !0);
|
|
608
|
+
};
|
|
609
|
+
h.prototype.nextPrefixed = function(t, e) {
|
|
610
|
+
var r;
|
|
611
|
+
do
|
|
612
|
+
r = t + this.next(!0);
|
|
613
|
+
while (this.assigned(r));
|
|
614
|
+
return this.claim(r, e), r;
|
|
615
|
+
};
|
|
616
|
+
h.prototype.claim = function(t, e) {
|
|
617
|
+
this._seed.set(t, e || !0);
|
|
618
|
+
};
|
|
619
|
+
h.prototype.assigned = function(t) {
|
|
620
|
+
return this._seed.get(t) || !1;
|
|
621
|
+
};
|
|
622
|
+
h.prototype.unclaim = function(t) {
|
|
623
|
+
delete this._seed.hats[t];
|
|
624
|
+
};
|
|
625
|
+
h.prototype.clear = function() {
|
|
626
|
+
var t = this._seed.hats, e;
|
|
627
|
+
for (e in t)
|
|
628
|
+
this.unclaim(e);
|
|
629
|
+
};
|
|
630
|
+
var At = {
|
|
631
|
+
"&": "&",
|
|
632
|
+
"<": "<",
|
|
633
|
+
">": ">",
|
|
634
|
+
'"': """,
|
|
635
|
+
"'": "'"
|
|
636
|
+
};
|
|
637
|
+
function se(t) {
|
|
638
|
+
return t = "" + t, t && t.replace(/[&<>"']/g, function(e) {
|
|
639
|
+
return At[e];
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
var Nt = "_plane";
|
|
643
|
+
function ue(t) {
|
|
644
|
+
var e = t.id;
|
|
645
|
+
return M(t, "bpmn:SubProcess") ? _t(e) : e;
|
|
646
|
+
}
|
|
647
|
+
function ce(t) {
|
|
648
|
+
var e = tt(t);
|
|
649
|
+
return M(e, "bpmndi:BPMNPlane");
|
|
650
|
+
}
|
|
651
|
+
function _t(t) {
|
|
652
|
+
return t + Nt;
|
|
653
|
+
}
|
|
654
|
+
export {
|
|
655
|
+
te as A,
|
|
656
|
+
U as B,
|
|
657
|
+
ee as C,
|
|
658
|
+
z as D,
|
|
659
|
+
K as E,
|
|
660
|
+
ue as F,
|
|
661
|
+
se as G,
|
|
662
|
+
zt as H,
|
|
663
|
+
h as I,
|
|
664
|
+
oe as J,
|
|
665
|
+
Zt as K,
|
|
666
|
+
ne as L,
|
|
667
|
+
$t as M,
|
|
668
|
+
Y as N,
|
|
669
|
+
Ut as O,
|
|
670
|
+
qt as P,
|
|
671
|
+
Gt as Q,
|
|
672
|
+
Vt as R,
|
|
673
|
+
kt as S,
|
|
674
|
+
It as T,
|
|
675
|
+
R as U,
|
|
676
|
+
Yt as V,
|
|
677
|
+
Ht as W,
|
|
678
|
+
yt as X,
|
|
679
|
+
rt as Y,
|
|
680
|
+
ce as Z,
|
|
681
|
+
W as a,
|
|
682
|
+
St as b,
|
|
683
|
+
Rt as c,
|
|
684
|
+
k as d,
|
|
685
|
+
Pt as e,
|
|
686
|
+
l as f,
|
|
687
|
+
tt as g,
|
|
688
|
+
B as h,
|
|
689
|
+
M as i,
|
|
690
|
+
ct as j,
|
|
691
|
+
ot as k,
|
|
692
|
+
Xt as l,
|
|
693
|
+
Kt as m,
|
|
694
|
+
Bt as n,
|
|
695
|
+
Ct as o,
|
|
696
|
+
Qt as p,
|
|
697
|
+
ie as q,
|
|
698
|
+
X as r,
|
|
699
|
+
Z as s,
|
|
700
|
+
Jt as t,
|
|
701
|
+
Wt as u,
|
|
702
|
+
Dt as v,
|
|
703
|
+
Ft as w,
|
|
704
|
+
Lt as x,
|
|
705
|
+
ae as y,
|
|
706
|
+
re as z
|
|
707
|
+
};
|