@reportportal/ui-kit 0.0.1-alpha.2 → 0.0.1-alpha.20
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/LICENSE +201 -201
- package/README.md +229 -3
- package/dist/baseIconButton-7bc53dec.js +25 -0
- package/dist/baseIconButton.js +7 -0
- package/dist/bind-06a7ff84.js +41 -0
- package/dist/bubblesLoader-a7e709d4.js +17 -0
- package/dist/bubblesLoader.js +7 -0
- package/dist/button-bb309472.js +62 -0
- package/dist/button.js +2 -2
- package/dist/checkbox-6777be17.js +73 -0
- package/dist/checkbox.js +3 -2
- package/dist/common/constants/keyCodes.d.ts +24 -0
- package/dist/common/hooks/index.d.ts +2 -0
- package/dist/common/hooks/useOnClickOutside.d.ts +2 -0
- package/dist/common/hooks/useWindowResize.d.ts +4 -0
- package/dist/components/bubblesLoader/bubblesLoader.d.ts +7 -0
- package/dist/components/bubblesLoader/index.d.ts +3 -0
- package/dist/components/button/button.d.ts +6 -7
- package/dist/components/button/index.d.ts +2 -1
- package/dist/components/checkbox/checkbox.d.ts +5 -7
- package/dist/components/datePicker/datePicker.d.ts +24 -0
- package/dist/components/datePicker/header/datePickerHeader.d.ts +15 -0
- package/dist/components/datePicker/header/index.d.ts +3 -0
- package/dist/components/datePicker/index.d.ts +3 -0
- package/dist/components/datePicker/utils.d.ts +3 -0
- package/dist/components/dropdown/constants.d.ts +7 -0
- package/dist/components/dropdown/dropdown.d.ts +24 -0
- package/dist/components/dropdown/dropdownOption/dropdownOption.d.ts +3 -0
- package/dist/components/dropdown/dropdownOption/index.d.ts +3 -0
- package/dist/components/dropdown/index.d.ts +3 -0
- package/dist/components/dropdown/types.d.ts +20 -0
- package/dist/components/dropdown/utils.d.ts +4 -0
- package/dist/components/fieldNumber/constants.d.ts +4 -0
- package/dist/components/fieldNumber/fieldNumber.d.ts +18 -0
- package/dist/components/fieldNumber/index.d.ts +3 -0
- package/dist/components/fieldText/fieldText.d.ts +24 -0
- package/dist/components/fieldText/index.d.ts +3 -0
- package/dist/components/fieldTextFlex/fieldTextFlex.d.ts +14 -0
- package/dist/components/fieldTextFlex/index.d.ts +3 -0
- package/dist/components/icons/baseIconButton/baseIconButton.d.ts +8 -0
- package/dist/components/icons/baseIconButton/index.d.ts +4 -0
- package/dist/components/icons/index.d.ts +15 -0
- package/dist/components/index.d.ts +14 -0
- package/dist/components/modal/index.d.ts +4 -0
- package/dist/components/modal/modal.d.ts +23 -0
- package/dist/components/modal/modalContent/index.d.ts +1 -0
- package/dist/components/modal/modalContent/modalContent.d.ts +7 -0
- package/dist/components/modal/modalFooter/index.d.ts +2 -0
- package/dist/components/modal/modalFooter/modalFooter.d.ts +12 -0
- package/dist/components/modal/modalHeader/index.d.ts +1 -0
- package/dist/components/modal/modalHeader/modalHeader.d.ts +8 -0
- package/dist/components/pagination/index.d.ts +4 -0
- package/dist/components/pagination/itemsCounter/index.d.ts +1 -0
- package/dist/components/pagination/itemsCounter/itemCounter.d.ts +9 -0
- package/dist/components/pagination/pageControls/activePage/activePage.d.ts +12 -0
- package/dist/components/pagination/pageControls/activePage/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/activePage/pageSelector/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/activePage/pageSelector/pageSelector.d.ts +10 -0
- package/dist/components/pagination/pageControls/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageControls.d.ts +16 -0
- package/dist/components/pagination/pageControls/pageNavigator/bar/bar.d.ts +11 -0
- package/dist/components/pagination/pageControls/pageNavigator/bar/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageNavigator/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageNavigator/pageNavigator.d.ts +11 -0
- package/dist/components/pagination/pageSizeControl/index.d.ts +1 -0
- package/dist/components/pagination/pageSizeControl/pageSizeControl.d.ts +10 -0
- package/dist/components/pagination/pageSizeControl/sizeSelector/index.d.ts +1 -0
- package/dist/components/pagination/pageSizeControl/sizeSelector/sizeSelector.d.ts +8 -0
- package/dist/components/pagination/pagination.d.ts +22 -0
- package/dist/components/pagination/types.d.ts +2 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/popover.d.ts +18 -0
- package/dist/components/radio/index.d.ts +4 -0
- package/dist/components/radio/radio.d.ts +16 -0
- package/dist/components/radio/radioGroup.d.ts +8 -0
- package/dist/components/table/index.d.ts +3 -0
- package/dist/components/table/table.d.ts +3 -0
- package/dist/components/table/types.d.ts +49 -0
- package/dist/components/table/utils.d.ts +3 -0
- package/dist/components/themeProvider/themeProvider.d.ts +2 -1
- package/dist/components/toggle/index.d.ts +3 -0
- package/dist/components/toggle/toggle.d.ts +11 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/tooltip.d.ts +14 -0
- package/dist/dropdown-5d0eea6b.js +216 -0
- package/dist/dropdown.js +14 -0
- package/dist/fieldNumber-46fe79b9.js +127 -0
- package/dist/fieldNumber.js +10 -0
- package/dist/fieldText-98cf9984.js +102 -0
- package/dist/fieldText.js +9 -0
- package/dist/fieldTextFlex-5bddf46a.js +67 -0
- package/dist/fieldTextFlex.js +8 -0
- package/dist/index-bc6da711.js +147 -0
- package/dist/index.js +246 -11
- package/dist/keyCodes-f63c0e11.js +4 -0
- package/dist/modal.js +16 -0
- package/dist/pagination-13887e1c.js +346 -0
- package/dist/pagination.js +15 -0
- package/dist/popover.js +95 -0
- package/dist/radio-fd49a09c.js +76 -0
- package/dist/radio.js +9 -0
- package/dist/style.css +1 -1
- package/dist/systemMessage-1ced6079.js +30 -0
- package/dist/systemMessage.js +2 -2
- package/dist/table-4bc2c157.js +147 -0
- package/dist/table.js +11 -0
- package/dist/themeProvider-46c2be7b.js +23 -0
- package/dist/themeProvider.js +4 -3
- package/dist/toggle-9284387b.js +67 -0
- package/dist/toggle.js +9 -0
- package/dist/tooltip.js +71 -0
- package/dist/useOnClickOutside-c332f7d3.js +16 -0
- package/package.json +96 -64
- package/dist/bind-e1346f99.js +0 -44
- package/dist/button-a4d3df83.js +0 -1867
- package/dist/checkbox-3fd4bcc1.js +0 -74
- package/dist/constants/key-codes.d.ts +0 -4
- package/dist/systemMessage-55cf51f4.js +0 -30
- package/dist/themeProvider-5800417e.js +0 -19
package/dist/button-a4d3df83.js
DELETED
|
@@ -1,1867 +0,0 @@
|
|
|
1
|
-
import { jsxs as Ye, jsx as Ze } from "react/jsx-runtime";
|
|
2
|
-
import Te, { forwardRef as Je } from "react";
|
|
3
|
-
import { a as T, g as Ke, c as Qe } from "./bind-e1346f99.js";
|
|
4
|
-
var Y = {}, Z = {};
|
|
5
|
-
(function(e) {
|
|
6
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
|
|
7
|
-
var t;
|
|
8
|
-
(function(n) {
|
|
9
|
-
n.Root = "root", n.Text = "text", n.Directive = "directive", n.Comment = "comment", n.Script = "script", n.Style = "style", n.Tag = "tag", n.CDATA = "cdata", n.Doctype = "doctype";
|
|
10
|
-
})(t = e.ElementType || (e.ElementType = {}));
|
|
11
|
-
function r(n) {
|
|
12
|
-
return n.type === t.Tag || n.type === t.Script || n.type === t.Style;
|
|
13
|
-
}
|
|
14
|
-
e.isTag = r, e.Root = t.Root, e.Text = t.Text, e.Directive = t.Directive, e.Comment = t.Comment, e.Script = t.Script, e.Style = t.Style, e.Tag = t.Tag, e.CDATA = t.CDATA, e.Doctype = t.Doctype;
|
|
15
|
-
})(Z);
|
|
16
|
-
var f = {}, w = T && T.__extends || function() {
|
|
17
|
-
var e = function(t, r) {
|
|
18
|
-
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, o) {
|
|
19
|
-
n.__proto__ = o;
|
|
20
|
-
} || function(n, o) {
|
|
21
|
-
for (var l in o)
|
|
22
|
-
Object.prototype.hasOwnProperty.call(o, l) && (n[l] = o[l]);
|
|
23
|
-
}, e(t, r);
|
|
24
|
-
};
|
|
25
|
-
return function(t, r) {
|
|
26
|
-
if (typeof r != "function" && r !== null)
|
|
27
|
-
throw new TypeError("Class extends value " + String(r) + " is not a constructor or null");
|
|
28
|
-
e(t, r);
|
|
29
|
-
function n() {
|
|
30
|
-
this.constructor = t;
|
|
31
|
-
}
|
|
32
|
-
t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n());
|
|
33
|
-
};
|
|
34
|
-
}(), N = T && T.__assign || function() {
|
|
35
|
-
return N = Object.assign || function(e) {
|
|
36
|
-
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
37
|
-
t = arguments[r];
|
|
38
|
-
for (var o in t)
|
|
39
|
-
Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
|
|
40
|
-
}
|
|
41
|
-
return e;
|
|
42
|
-
}, N.apply(this, arguments);
|
|
43
|
-
};
|
|
44
|
-
Object.defineProperty(f, "__esModule", { value: !0 });
|
|
45
|
-
f.cloneNode = f.hasChildren = f.isDocument = f.isDirective = f.isComment = f.isText = f.isCDATA = f.isTag = f.Element = f.Document = f.CDATA = f.NodeWithChildren = f.ProcessingInstruction = f.Comment = f.Text = f.DataNode = f.Node = void 0;
|
|
46
|
-
var E = Z, J = (
|
|
47
|
-
/** @class */
|
|
48
|
-
function() {
|
|
49
|
-
function e() {
|
|
50
|
-
this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
|
|
51
|
-
}
|
|
52
|
-
return Object.defineProperty(e.prototype, "parentNode", {
|
|
53
|
-
// Read-write aliases for properties
|
|
54
|
-
/**
|
|
55
|
-
* Same as {@link parent}.
|
|
56
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
57
|
-
*/
|
|
58
|
-
get: function() {
|
|
59
|
-
return this.parent;
|
|
60
|
-
},
|
|
61
|
-
set: function(t) {
|
|
62
|
-
this.parent = t;
|
|
63
|
-
},
|
|
64
|
-
enumerable: !1,
|
|
65
|
-
configurable: !0
|
|
66
|
-
}), Object.defineProperty(e.prototype, "previousSibling", {
|
|
67
|
-
/**
|
|
68
|
-
* Same as {@link prev}.
|
|
69
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
70
|
-
*/
|
|
71
|
-
get: function() {
|
|
72
|
-
return this.prev;
|
|
73
|
-
},
|
|
74
|
-
set: function(t) {
|
|
75
|
-
this.prev = t;
|
|
76
|
-
},
|
|
77
|
-
enumerable: !1,
|
|
78
|
-
configurable: !0
|
|
79
|
-
}), Object.defineProperty(e.prototype, "nextSibling", {
|
|
80
|
-
/**
|
|
81
|
-
* Same as {@link next}.
|
|
82
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
83
|
-
*/
|
|
84
|
-
get: function() {
|
|
85
|
-
return this.next;
|
|
86
|
-
},
|
|
87
|
-
set: function(t) {
|
|
88
|
-
this.next = t;
|
|
89
|
-
},
|
|
90
|
-
enumerable: !1,
|
|
91
|
-
configurable: !0
|
|
92
|
-
}), e.prototype.cloneNode = function(t) {
|
|
93
|
-
return t === void 0 && (t = !1), K(this, t);
|
|
94
|
-
}, e;
|
|
95
|
-
}()
|
|
96
|
-
);
|
|
97
|
-
f.Node = J;
|
|
98
|
-
var M = (
|
|
99
|
-
/** @class */
|
|
100
|
-
function(e) {
|
|
101
|
-
w(t, e);
|
|
102
|
-
function t(r) {
|
|
103
|
-
var n = e.call(this) || this;
|
|
104
|
-
return n.data = r, n;
|
|
105
|
-
}
|
|
106
|
-
return Object.defineProperty(t.prototype, "nodeValue", {
|
|
107
|
-
/**
|
|
108
|
-
* Same as {@link data}.
|
|
109
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
110
|
-
*/
|
|
111
|
-
get: function() {
|
|
112
|
-
return this.data;
|
|
113
|
-
},
|
|
114
|
-
set: function(r) {
|
|
115
|
-
this.data = r;
|
|
116
|
-
},
|
|
117
|
-
enumerable: !1,
|
|
118
|
-
configurable: !0
|
|
119
|
-
}), t;
|
|
120
|
-
}(J)
|
|
121
|
-
);
|
|
122
|
-
f.DataNode = M;
|
|
123
|
-
var xe = (
|
|
124
|
-
/** @class */
|
|
125
|
-
function(e) {
|
|
126
|
-
w(t, e);
|
|
127
|
-
function t() {
|
|
128
|
-
var r = e !== null && e.apply(this, arguments) || this;
|
|
129
|
-
return r.type = E.ElementType.Text, r;
|
|
130
|
-
}
|
|
131
|
-
return Object.defineProperty(t.prototype, "nodeType", {
|
|
132
|
-
get: function() {
|
|
133
|
-
return 3;
|
|
134
|
-
},
|
|
135
|
-
enumerable: !1,
|
|
136
|
-
configurable: !0
|
|
137
|
-
}), t;
|
|
138
|
-
}(M)
|
|
139
|
-
);
|
|
140
|
-
f.Text = xe;
|
|
141
|
-
var we = (
|
|
142
|
-
/** @class */
|
|
143
|
-
function(e) {
|
|
144
|
-
w(t, e);
|
|
145
|
-
function t() {
|
|
146
|
-
var r = e !== null && e.apply(this, arguments) || this;
|
|
147
|
-
return r.type = E.ElementType.Comment, r;
|
|
148
|
-
}
|
|
149
|
-
return Object.defineProperty(t.prototype, "nodeType", {
|
|
150
|
-
get: function() {
|
|
151
|
-
return 8;
|
|
152
|
-
},
|
|
153
|
-
enumerable: !1,
|
|
154
|
-
configurable: !0
|
|
155
|
-
}), t;
|
|
156
|
-
}(M)
|
|
157
|
-
);
|
|
158
|
-
f.Comment = we;
|
|
159
|
-
var Ce = (
|
|
160
|
-
/** @class */
|
|
161
|
-
function(e) {
|
|
162
|
-
w(t, e);
|
|
163
|
-
function t(r, n) {
|
|
164
|
-
var o = e.call(this, n) || this;
|
|
165
|
-
return o.name = r, o.type = E.ElementType.Directive, o;
|
|
166
|
-
}
|
|
167
|
-
return Object.defineProperty(t.prototype, "nodeType", {
|
|
168
|
-
get: function() {
|
|
169
|
-
return 1;
|
|
170
|
-
},
|
|
171
|
-
enumerable: !1,
|
|
172
|
-
configurable: !0
|
|
173
|
-
}), t;
|
|
174
|
-
}(M)
|
|
175
|
-
);
|
|
176
|
-
f.ProcessingInstruction = Ce;
|
|
177
|
-
var L = (
|
|
178
|
-
/** @class */
|
|
179
|
-
function(e) {
|
|
180
|
-
w(t, e);
|
|
181
|
-
function t(r) {
|
|
182
|
-
var n = e.call(this) || this;
|
|
183
|
-
return n.children = r, n;
|
|
184
|
-
}
|
|
185
|
-
return Object.defineProperty(t.prototype, "firstChild", {
|
|
186
|
-
// Aliases
|
|
187
|
-
/** First child of the node. */
|
|
188
|
-
get: function() {
|
|
189
|
-
var r;
|
|
190
|
-
return (r = this.children[0]) !== null && r !== void 0 ? r : null;
|
|
191
|
-
},
|
|
192
|
-
enumerable: !1,
|
|
193
|
-
configurable: !0
|
|
194
|
-
}), Object.defineProperty(t.prototype, "lastChild", {
|
|
195
|
-
/** Last child of the node. */
|
|
196
|
-
get: function() {
|
|
197
|
-
return this.children.length > 0 ? this.children[this.children.length - 1] : null;
|
|
198
|
-
},
|
|
199
|
-
enumerable: !1,
|
|
200
|
-
configurable: !0
|
|
201
|
-
}), Object.defineProperty(t.prototype, "childNodes", {
|
|
202
|
-
/**
|
|
203
|
-
* Same as {@link children}.
|
|
204
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
205
|
-
*/
|
|
206
|
-
get: function() {
|
|
207
|
-
return this.children;
|
|
208
|
-
},
|
|
209
|
-
set: function(r) {
|
|
210
|
-
this.children = r;
|
|
211
|
-
},
|
|
212
|
-
enumerable: !1,
|
|
213
|
-
configurable: !0
|
|
214
|
-
}), t;
|
|
215
|
-
}(J)
|
|
216
|
-
);
|
|
217
|
-
f.NodeWithChildren = L;
|
|
218
|
-
var Se = (
|
|
219
|
-
/** @class */
|
|
220
|
-
function(e) {
|
|
221
|
-
w(t, e);
|
|
222
|
-
function t() {
|
|
223
|
-
var r = e !== null && e.apply(this, arguments) || this;
|
|
224
|
-
return r.type = E.ElementType.CDATA, r;
|
|
225
|
-
}
|
|
226
|
-
return Object.defineProperty(t.prototype, "nodeType", {
|
|
227
|
-
get: function() {
|
|
228
|
-
return 4;
|
|
229
|
-
},
|
|
230
|
-
enumerable: !1,
|
|
231
|
-
configurable: !0
|
|
232
|
-
}), t;
|
|
233
|
-
}(L)
|
|
234
|
-
);
|
|
235
|
-
f.CDATA = Se;
|
|
236
|
-
var _e = (
|
|
237
|
-
/** @class */
|
|
238
|
-
function(e) {
|
|
239
|
-
w(t, e);
|
|
240
|
-
function t() {
|
|
241
|
-
var r = e !== null && e.apply(this, arguments) || this;
|
|
242
|
-
return r.type = E.ElementType.Root, r;
|
|
243
|
-
}
|
|
244
|
-
return Object.defineProperty(t.prototype, "nodeType", {
|
|
245
|
-
get: function() {
|
|
246
|
-
return 9;
|
|
247
|
-
},
|
|
248
|
-
enumerable: !1,
|
|
249
|
-
configurable: !0
|
|
250
|
-
}), t;
|
|
251
|
-
}(L)
|
|
252
|
-
);
|
|
253
|
-
f.Document = _e;
|
|
254
|
-
var Oe = (
|
|
255
|
-
/** @class */
|
|
256
|
-
function(e) {
|
|
257
|
-
w(t, e);
|
|
258
|
-
function t(r, n, o, l) {
|
|
259
|
-
o === void 0 && (o = []), l === void 0 && (l = r === "script" ? E.ElementType.Script : r === "style" ? E.ElementType.Style : E.ElementType.Tag);
|
|
260
|
-
var c = e.call(this, o) || this;
|
|
261
|
-
return c.name = r, c.attribs = n, c.type = l, c;
|
|
262
|
-
}
|
|
263
|
-
return Object.defineProperty(t.prototype, "nodeType", {
|
|
264
|
-
get: function() {
|
|
265
|
-
return 1;
|
|
266
|
-
},
|
|
267
|
-
enumerable: !1,
|
|
268
|
-
configurable: !0
|
|
269
|
-
}), Object.defineProperty(t.prototype, "tagName", {
|
|
270
|
-
// DOM Level 1 aliases
|
|
271
|
-
/**
|
|
272
|
-
* Same as {@link name}.
|
|
273
|
-
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
274
|
-
*/
|
|
275
|
-
get: function() {
|
|
276
|
-
return this.name;
|
|
277
|
-
},
|
|
278
|
-
set: function(r) {
|
|
279
|
-
this.name = r;
|
|
280
|
-
},
|
|
281
|
-
enumerable: !1,
|
|
282
|
-
configurable: !0
|
|
283
|
-
}), Object.defineProperty(t.prototype, "attributes", {
|
|
284
|
-
get: function() {
|
|
285
|
-
var r = this;
|
|
286
|
-
return Object.keys(this.attribs).map(function(n) {
|
|
287
|
-
var o, l;
|
|
288
|
-
return {
|
|
289
|
-
name: n,
|
|
290
|
-
value: r.attribs[n],
|
|
291
|
-
namespace: (o = r["x-attribsNamespace"]) === null || o === void 0 ? void 0 : o[n],
|
|
292
|
-
prefix: (l = r["x-attribsPrefix"]) === null || l === void 0 ? void 0 : l[n]
|
|
293
|
-
};
|
|
294
|
-
});
|
|
295
|
-
},
|
|
296
|
-
enumerable: !1,
|
|
297
|
-
configurable: !0
|
|
298
|
-
}), t;
|
|
299
|
-
}(L)
|
|
300
|
-
);
|
|
301
|
-
f.Element = Oe;
|
|
302
|
-
function ke(e) {
|
|
303
|
-
return (0, E.isTag)(e);
|
|
304
|
-
}
|
|
305
|
-
f.isTag = ke;
|
|
306
|
-
function Ae(e) {
|
|
307
|
-
return e.type === E.ElementType.CDATA;
|
|
308
|
-
}
|
|
309
|
-
f.isCDATA = Ae;
|
|
310
|
-
function Ne(e) {
|
|
311
|
-
return e.type === E.ElementType.Text;
|
|
312
|
-
}
|
|
313
|
-
f.isText = Ne;
|
|
314
|
-
function Pe(e) {
|
|
315
|
-
return e.type === E.ElementType.Comment;
|
|
316
|
-
}
|
|
317
|
-
f.isComment = Pe;
|
|
318
|
-
function Re(e) {
|
|
319
|
-
return e.type === E.ElementType.Directive;
|
|
320
|
-
}
|
|
321
|
-
f.isDirective = Re;
|
|
322
|
-
function Ie(e) {
|
|
323
|
-
return e.type === E.ElementType.Root;
|
|
324
|
-
}
|
|
325
|
-
f.isDocument = Ie;
|
|
326
|
-
function et(e) {
|
|
327
|
-
return Object.prototype.hasOwnProperty.call(e, "children");
|
|
328
|
-
}
|
|
329
|
-
f.hasChildren = et;
|
|
330
|
-
function K(e, t) {
|
|
331
|
-
t === void 0 && (t = !1);
|
|
332
|
-
var r;
|
|
333
|
-
if (Ne(e))
|
|
334
|
-
r = new xe(e.data);
|
|
335
|
-
else if (Pe(e))
|
|
336
|
-
r = new we(e.data);
|
|
337
|
-
else if (ke(e)) {
|
|
338
|
-
var n = t ? U(e.children) : [], o = new Oe(e.name, N({}, e.attribs), n);
|
|
339
|
-
n.forEach(function(i) {
|
|
340
|
-
return i.parent = o;
|
|
341
|
-
}), e.namespace != null && (o.namespace = e.namespace), e["x-attribsNamespace"] && (o["x-attribsNamespace"] = N({}, e["x-attribsNamespace"])), e["x-attribsPrefix"] && (o["x-attribsPrefix"] = N({}, e["x-attribsPrefix"])), r = o;
|
|
342
|
-
} else if (Ae(e)) {
|
|
343
|
-
var n = t ? U(e.children) : [], l = new Se(n);
|
|
344
|
-
n.forEach(function(s) {
|
|
345
|
-
return s.parent = l;
|
|
346
|
-
}), r = l;
|
|
347
|
-
} else if (Ie(e)) {
|
|
348
|
-
var n = t ? U(e.children) : [], c = new _e(n);
|
|
349
|
-
n.forEach(function(s) {
|
|
350
|
-
return s.parent = c;
|
|
351
|
-
}), e["x-mode"] && (c["x-mode"] = e["x-mode"]), r = c;
|
|
352
|
-
} else if (Re(e)) {
|
|
353
|
-
var a = new Ce(e.name, e.data);
|
|
354
|
-
e["x-name"] != null && (a["x-name"] = e["x-name"], a["x-publicId"] = e["x-publicId"], a["x-systemId"] = e["x-systemId"]), r = a;
|
|
355
|
-
} else
|
|
356
|
-
throw new Error("Not implemented yet: ".concat(e.type));
|
|
357
|
-
return r.startIndex = e.startIndex, r.endIndex = e.endIndex, e.sourceCodeLocation != null && (r.sourceCodeLocation = e.sourceCodeLocation), r;
|
|
358
|
-
}
|
|
359
|
-
f.cloneNode = K;
|
|
360
|
-
function U(e) {
|
|
361
|
-
for (var t = e.map(function(n) {
|
|
362
|
-
return K(n, !0);
|
|
363
|
-
}), r = 1; r < t.length; r++)
|
|
364
|
-
t[r].prev = t[r - 1], t[r - 1].next = t[r];
|
|
365
|
-
return t;
|
|
366
|
-
}
|
|
367
|
-
(function(e) {
|
|
368
|
-
var t = T && T.__createBinding || (Object.create ? function(a, i, s, p) {
|
|
369
|
-
p === void 0 && (p = s);
|
|
370
|
-
var h = Object.getOwnPropertyDescriptor(i, s);
|
|
371
|
-
(!h || ("get" in h ? !i.__esModule : h.writable || h.configurable)) && (h = { enumerable: !0, get: function() {
|
|
372
|
-
return i[s];
|
|
373
|
-
} }), Object.defineProperty(a, p, h);
|
|
374
|
-
} : function(a, i, s, p) {
|
|
375
|
-
p === void 0 && (p = s), a[p] = i[s];
|
|
376
|
-
}), r = T && T.__exportStar || function(a, i) {
|
|
377
|
-
for (var s in a)
|
|
378
|
-
s !== "default" && !Object.prototype.hasOwnProperty.call(i, s) && t(i, a, s);
|
|
379
|
-
};
|
|
380
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.DomHandler = void 0;
|
|
381
|
-
var n = Z, o = f;
|
|
382
|
-
r(f, e);
|
|
383
|
-
var l = {
|
|
384
|
-
withStartIndices: !1,
|
|
385
|
-
withEndIndices: !1,
|
|
386
|
-
xmlMode: !1
|
|
387
|
-
}, c = (
|
|
388
|
-
/** @class */
|
|
389
|
-
function() {
|
|
390
|
-
function a(i, s, p) {
|
|
391
|
-
this.dom = [], this.root = new o.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof s == "function" && (p = s, s = l), typeof i == "object" && (s = i, i = void 0), this.callback = i ?? null, this.options = s ?? l, this.elementCB = p ?? null;
|
|
392
|
-
}
|
|
393
|
-
return a.prototype.onparserinit = function(i) {
|
|
394
|
-
this.parser = i;
|
|
395
|
-
}, a.prototype.onreset = function() {
|
|
396
|
-
this.dom = [], this.root = new o.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
|
|
397
|
-
}, a.prototype.onend = function() {
|
|
398
|
-
this.done || (this.done = !0, this.parser = null, this.handleCallback(null));
|
|
399
|
-
}, a.prototype.onerror = function(i) {
|
|
400
|
-
this.handleCallback(i);
|
|
401
|
-
}, a.prototype.onclosetag = function() {
|
|
402
|
-
this.lastNode = null;
|
|
403
|
-
var i = this.tagStack.pop();
|
|
404
|
-
this.options.withEndIndices && (i.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(i);
|
|
405
|
-
}, a.prototype.onopentag = function(i, s) {
|
|
406
|
-
var p = this.options.xmlMode ? n.ElementType.Tag : void 0, h = new o.Element(i, s, void 0, p);
|
|
407
|
-
this.addNode(h), this.tagStack.push(h);
|
|
408
|
-
}, a.prototype.ontext = function(i) {
|
|
409
|
-
var s = this.lastNode;
|
|
410
|
-
if (s && s.type === n.ElementType.Text)
|
|
411
|
-
s.data += i, this.options.withEndIndices && (s.endIndex = this.parser.endIndex);
|
|
412
|
-
else {
|
|
413
|
-
var p = new o.Text(i);
|
|
414
|
-
this.addNode(p), this.lastNode = p;
|
|
415
|
-
}
|
|
416
|
-
}, a.prototype.oncomment = function(i) {
|
|
417
|
-
if (this.lastNode && this.lastNode.type === n.ElementType.Comment) {
|
|
418
|
-
this.lastNode.data += i;
|
|
419
|
-
return;
|
|
420
|
-
}
|
|
421
|
-
var s = new o.Comment(i);
|
|
422
|
-
this.addNode(s), this.lastNode = s;
|
|
423
|
-
}, a.prototype.oncommentend = function() {
|
|
424
|
-
this.lastNode = null;
|
|
425
|
-
}, a.prototype.oncdatastart = function() {
|
|
426
|
-
var i = new o.Text(""), s = new o.CDATA([i]);
|
|
427
|
-
this.addNode(s), i.parent = s, this.lastNode = i;
|
|
428
|
-
}, a.prototype.oncdataend = function() {
|
|
429
|
-
this.lastNode = null;
|
|
430
|
-
}, a.prototype.onprocessinginstruction = function(i, s) {
|
|
431
|
-
var p = new o.ProcessingInstruction(i, s);
|
|
432
|
-
this.addNode(p);
|
|
433
|
-
}, a.prototype.handleCallback = function(i) {
|
|
434
|
-
if (typeof this.callback == "function")
|
|
435
|
-
this.callback(i, this.dom);
|
|
436
|
-
else if (i)
|
|
437
|
-
throw i;
|
|
438
|
-
}, a.prototype.addNode = function(i) {
|
|
439
|
-
var s = this.tagStack[this.tagStack.length - 1], p = s.children[s.children.length - 1];
|
|
440
|
-
this.options.withStartIndices && (i.startIndex = this.parser.startIndex), this.options.withEndIndices && (i.endIndex = this.parser.endIndex), s.children.push(i), p && (i.prev = p, p.next = i), i.parent = s, this.lastNode = null;
|
|
441
|
-
}, a;
|
|
442
|
-
}()
|
|
443
|
-
);
|
|
444
|
-
e.DomHandler = c, e.default = c;
|
|
445
|
-
})(Y);
|
|
446
|
-
var ae = "html", oe = "head", R = "body", tt = /<([a-zA-Z]+[0-9]?)/, le = /<head[^]*>/i, se = /<body[^]*>/i, D = function() {
|
|
447
|
-
throw new Error(
|
|
448
|
-
"This browser does not support `document.implementation.createHTMLDocument`"
|
|
449
|
-
);
|
|
450
|
-
}, W = function() {
|
|
451
|
-
throw new Error(
|
|
452
|
-
"This browser does not support `DOMParser.prototype.parseFromString`"
|
|
453
|
-
);
|
|
454
|
-
}, ce = typeof window == "object" && window.DOMParser;
|
|
455
|
-
if (typeof ce == "function") {
|
|
456
|
-
var rt = new ce(), nt = "text/html";
|
|
457
|
-
W = function(e, t) {
|
|
458
|
-
return t && (e = "<" + t + ">" + e + "</" + t + ">"), rt.parseFromString(e, nt);
|
|
459
|
-
}, D = W;
|
|
460
|
-
}
|
|
461
|
-
if (typeof document == "object" && document.implementation) {
|
|
462
|
-
var I = document.implementation.createHTMLDocument();
|
|
463
|
-
D = function(e, t) {
|
|
464
|
-
if (t) {
|
|
465
|
-
var r = I.documentElement.querySelector(t);
|
|
466
|
-
return r.innerHTML = e, I;
|
|
467
|
-
}
|
|
468
|
-
return I.documentElement.innerHTML = e, I;
|
|
469
|
-
};
|
|
470
|
-
}
|
|
471
|
-
var G = typeof document == "object" ? document.createElement("template") : {}, q;
|
|
472
|
-
G.content && (q = function(e) {
|
|
473
|
-
return G.innerHTML = e, G.content.childNodes;
|
|
474
|
-
});
|
|
475
|
-
function it(e) {
|
|
476
|
-
var t, r = e.match(tt);
|
|
477
|
-
r && r[1] && (t = r[1].toLowerCase());
|
|
478
|
-
var n, o, l;
|
|
479
|
-
switch (t) {
|
|
480
|
-
case ae:
|
|
481
|
-
return n = W(e), le.test(e) || (o = n.querySelector(oe), o && o.parentNode.removeChild(o)), se.test(e) || (o = n.querySelector(R), o && o.parentNode.removeChild(o)), n.querySelectorAll(ae);
|
|
482
|
-
case oe:
|
|
483
|
-
case R:
|
|
484
|
-
return n = D(e), l = n.querySelectorAll(t), se.test(e) && le.test(e) ? l[0].parentNode.childNodes : l;
|
|
485
|
-
default:
|
|
486
|
-
return q ? q(e) : (o = D(e, R).querySelector(R), o.childNodes);
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
var at = it, Q = {}, De = {};
|
|
490
|
-
De.CASE_SENSITIVE_TAG_NAMES = [
|
|
491
|
-
"animateMotion",
|
|
492
|
-
"animateTransform",
|
|
493
|
-
"clipPath",
|
|
494
|
-
"feBlend",
|
|
495
|
-
"feColorMatrix",
|
|
496
|
-
"feComponentTransfer",
|
|
497
|
-
"feComposite",
|
|
498
|
-
"feConvolveMatrix",
|
|
499
|
-
"feDiffuseLighting",
|
|
500
|
-
"feDisplacementMap",
|
|
501
|
-
"feDropShadow",
|
|
502
|
-
"feFlood",
|
|
503
|
-
"feFuncA",
|
|
504
|
-
"feFuncB",
|
|
505
|
-
"feFuncG",
|
|
506
|
-
"feFuncR",
|
|
507
|
-
"feGaussianBlur",
|
|
508
|
-
"feImage",
|
|
509
|
-
"feMerge",
|
|
510
|
-
"feMergeNode",
|
|
511
|
-
"feMorphology",
|
|
512
|
-
"feOffset",
|
|
513
|
-
"fePointLight",
|
|
514
|
-
"feSpecularLighting",
|
|
515
|
-
"feSpotLight",
|
|
516
|
-
"feTile",
|
|
517
|
-
"feTurbulence",
|
|
518
|
-
"foreignObject",
|
|
519
|
-
"linearGradient",
|
|
520
|
-
"radialGradient",
|
|
521
|
-
"textPath"
|
|
522
|
-
];
|
|
523
|
-
var F = Y, ot = De, ue = ot.CASE_SENSITIVE_TAG_NAMES, lt = F.Comment, st = F.Element, ct = F.ProcessingInstruction, ut = F.Text, Me = {}, $;
|
|
524
|
-
for (var X = 0, ft = ue.length; X < ft; X++)
|
|
525
|
-
$ = ue[X], Me[$.toLowerCase()] = $;
|
|
526
|
-
function pt(e) {
|
|
527
|
-
return Me[e];
|
|
528
|
-
}
|
|
529
|
-
function Le(e) {
|
|
530
|
-
for (var t = {}, r, n = 0, o = e.length; n < o; n++)
|
|
531
|
-
r = e[n], t[r.name] = r.value;
|
|
532
|
-
return t;
|
|
533
|
-
}
|
|
534
|
-
function dt(e) {
|
|
535
|
-
e = e.toLowerCase();
|
|
536
|
-
var t = pt(e);
|
|
537
|
-
return t || e;
|
|
538
|
-
}
|
|
539
|
-
function Fe(e, t, r) {
|
|
540
|
-
t = t || null;
|
|
541
|
-
for (var n = [], o, l = 0, c = e.length; l < c; l++) {
|
|
542
|
-
var a = e[l], i;
|
|
543
|
-
switch (a.nodeType) {
|
|
544
|
-
case 1:
|
|
545
|
-
o = dt(a.nodeName), i = new st(o, Le(a.attributes)), i.children = Fe(
|
|
546
|
-
// template children are on content
|
|
547
|
-
o === "template" ? a.content.childNodes : a.childNodes,
|
|
548
|
-
i
|
|
549
|
-
);
|
|
550
|
-
break;
|
|
551
|
-
case 3:
|
|
552
|
-
i = new ut(a.nodeValue);
|
|
553
|
-
break;
|
|
554
|
-
case 8:
|
|
555
|
-
i = new lt(a.nodeValue);
|
|
556
|
-
break;
|
|
557
|
-
default:
|
|
558
|
-
continue;
|
|
559
|
-
}
|
|
560
|
-
var s = n[l - 1] || null;
|
|
561
|
-
s && (s.next = i), i.parent = t, i.prev = s, i.next = null, n.push(i);
|
|
562
|
-
}
|
|
563
|
-
return r && (i = new ct(
|
|
564
|
-
r.substring(0, r.indexOf(" ")).toLowerCase(),
|
|
565
|
-
r
|
|
566
|
-
), i.next = n[0] || null, i.parent = t, n.unshift(i), n[1] && (n[1].prev = n[0])), n;
|
|
567
|
-
}
|
|
568
|
-
Q.formatAttributes = Le;
|
|
569
|
-
Q.formatDOM = Fe;
|
|
570
|
-
var ht = at, mt = Q, vt = mt.formatDOM, gt = /<(![a-zA-Z\s]+)>/;
|
|
571
|
-
function yt(e) {
|
|
572
|
-
if (typeof e != "string")
|
|
573
|
-
throw new TypeError("First argument must be a string");
|
|
574
|
-
if (e === "")
|
|
575
|
-
return [];
|
|
576
|
-
var t = e.match(gt), r;
|
|
577
|
-
return t && t[1] && (r = t[1]), vt(ht(e), null, r);
|
|
578
|
-
}
|
|
579
|
-
var Et = yt, b = {}, j = {}, bt = 0;
|
|
580
|
-
j.SAME = bt;
|
|
581
|
-
var Tt = 1;
|
|
582
|
-
j.CAMELCASE = Tt;
|
|
583
|
-
j.possibleStandardNames = {
|
|
584
|
-
accept: 0,
|
|
585
|
-
acceptCharset: 1,
|
|
586
|
-
"accept-charset": "acceptCharset",
|
|
587
|
-
accessKey: 1,
|
|
588
|
-
action: 0,
|
|
589
|
-
allowFullScreen: 1,
|
|
590
|
-
alt: 0,
|
|
591
|
-
as: 0,
|
|
592
|
-
async: 0,
|
|
593
|
-
autoCapitalize: 1,
|
|
594
|
-
autoComplete: 1,
|
|
595
|
-
autoCorrect: 1,
|
|
596
|
-
autoFocus: 1,
|
|
597
|
-
autoPlay: 1,
|
|
598
|
-
autoSave: 1,
|
|
599
|
-
capture: 0,
|
|
600
|
-
cellPadding: 1,
|
|
601
|
-
cellSpacing: 1,
|
|
602
|
-
challenge: 0,
|
|
603
|
-
charSet: 1,
|
|
604
|
-
checked: 0,
|
|
605
|
-
children: 0,
|
|
606
|
-
cite: 0,
|
|
607
|
-
class: "className",
|
|
608
|
-
classID: 1,
|
|
609
|
-
className: 1,
|
|
610
|
-
cols: 0,
|
|
611
|
-
colSpan: 1,
|
|
612
|
-
content: 0,
|
|
613
|
-
contentEditable: 1,
|
|
614
|
-
contextMenu: 1,
|
|
615
|
-
controls: 0,
|
|
616
|
-
controlsList: 1,
|
|
617
|
-
coords: 0,
|
|
618
|
-
crossOrigin: 1,
|
|
619
|
-
dangerouslySetInnerHTML: 1,
|
|
620
|
-
data: 0,
|
|
621
|
-
dateTime: 1,
|
|
622
|
-
default: 0,
|
|
623
|
-
defaultChecked: 1,
|
|
624
|
-
defaultValue: 1,
|
|
625
|
-
defer: 0,
|
|
626
|
-
dir: 0,
|
|
627
|
-
disabled: 0,
|
|
628
|
-
disablePictureInPicture: 1,
|
|
629
|
-
disableRemotePlayback: 1,
|
|
630
|
-
download: 0,
|
|
631
|
-
draggable: 0,
|
|
632
|
-
encType: 1,
|
|
633
|
-
enterKeyHint: 1,
|
|
634
|
-
for: "htmlFor",
|
|
635
|
-
form: 0,
|
|
636
|
-
formMethod: 1,
|
|
637
|
-
formAction: 1,
|
|
638
|
-
formEncType: 1,
|
|
639
|
-
formNoValidate: 1,
|
|
640
|
-
formTarget: 1,
|
|
641
|
-
frameBorder: 1,
|
|
642
|
-
headers: 0,
|
|
643
|
-
height: 0,
|
|
644
|
-
hidden: 0,
|
|
645
|
-
high: 0,
|
|
646
|
-
href: 0,
|
|
647
|
-
hrefLang: 1,
|
|
648
|
-
htmlFor: 1,
|
|
649
|
-
httpEquiv: 1,
|
|
650
|
-
"http-equiv": "httpEquiv",
|
|
651
|
-
icon: 0,
|
|
652
|
-
id: 0,
|
|
653
|
-
innerHTML: 1,
|
|
654
|
-
inputMode: 1,
|
|
655
|
-
integrity: 0,
|
|
656
|
-
is: 0,
|
|
657
|
-
itemID: 1,
|
|
658
|
-
itemProp: 1,
|
|
659
|
-
itemRef: 1,
|
|
660
|
-
itemScope: 1,
|
|
661
|
-
itemType: 1,
|
|
662
|
-
keyParams: 1,
|
|
663
|
-
keyType: 1,
|
|
664
|
-
kind: 0,
|
|
665
|
-
label: 0,
|
|
666
|
-
lang: 0,
|
|
667
|
-
list: 0,
|
|
668
|
-
loop: 0,
|
|
669
|
-
low: 0,
|
|
670
|
-
manifest: 0,
|
|
671
|
-
marginWidth: 1,
|
|
672
|
-
marginHeight: 1,
|
|
673
|
-
max: 0,
|
|
674
|
-
maxLength: 1,
|
|
675
|
-
media: 0,
|
|
676
|
-
mediaGroup: 1,
|
|
677
|
-
method: 0,
|
|
678
|
-
min: 0,
|
|
679
|
-
minLength: 1,
|
|
680
|
-
multiple: 0,
|
|
681
|
-
muted: 0,
|
|
682
|
-
name: 0,
|
|
683
|
-
noModule: 1,
|
|
684
|
-
nonce: 0,
|
|
685
|
-
noValidate: 1,
|
|
686
|
-
open: 0,
|
|
687
|
-
optimum: 0,
|
|
688
|
-
pattern: 0,
|
|
689
|
-
placeholder: 0,
|
|
690
|
-
playsInline: 1,
|
|
691
|
-
poster: 0,
|
|
692
|
-
preload: 0,
|
|
693
|
-
profile: 0,
|
|
694
|
-
radioGroup: 1,
|
|
695
|
-
readOnly: 1,
|
|
696
|
-
referrerPolicy: 1,
|
|
697
|
-
rel: 0,
|
|
698
|
-
required: 0,
|
|
699
|
-
reversed: 0,
|
|
700
|
-
role: 0,
|
|
701
|
-
rows: 0,
|
|
702
|
-
rowSpan: 1,
|
|
703
|
-
sandbox: 0,
|
|
704
|
-
scope: 0,
|
|
705
|
-
scoped: 0,
|
|
706
|
-
scrolling: 0,
|
|
707
|
-
seamless: 0,
|
|
708
|
-
selected: 0,
|
|
709
|
-
shape: 0,
|
|
710
|
-
size: 0,
|
|
711
|
-
sizes: 0,
|
|
712
|
-
span: 0,
|
|
713
|
-
spellCheck: 1,
|
|
714
|
-
src: 0,
|
|
715
|
-
srcDoc: 1,
|
|
716
|
-
srcLang: 1,
|
|
717
|
-
srcSet: 1,
|
|
718
|
-
start: 0,
|
|
719
|
-
step: 0,
|
|
720
|
-
style: 0,
|
|
721
|
-
summary: 0,
|
|
722
|
-
tabIndex: 1,
|
|
723
|
-
target: 0,
|
|
724
|
-
title: 0,
|
|
725
|
-
type: 0,
|
|
726
|
-
useMap: 1,
|
|
727
|
-
value: 0,
|
|
728
|
-
width: 0,
|
|
729
|
-
wmode: 0,
|
|
730
|
-
wrap: 0,
|
|
731
|
-
about: 0,
|
|
732
|
-
accentHeight: 1,
|
|
733
|
-
"accent-height": "accentHeight",
|
|
734
|
-
accumulate: 0,
|
|
735
|
-
additive: 0,
|
|
736
|
-
alignmentBaseline: 1,
|
|
737
|
-
"alignment-baseline": "alignmentBaseline",
|
|
738
|
-
allowReorder: 1,
|
|
739
|
-
alphabetic: 0,
|
|
740
|
-
amplitude: 0,
|
|
741
|
-
arabicForm: 1,
|
|
742
|
-
"arabic-form": "arabicForm",
|
|
743
|
-
ascent: 0,
|
|
744
|
-
attributeName: 1,
|
|
745
|
-
attributeType: 1,
|
|
746
|
-
autoReverse: 1,
|
|
747
|
-
azimuth: 0,
|
|
748
|
-
baseFrequency: 1,
|
|
749
|
-
baselineShift: 1,
|
|
750
|
-
"baseline-shift": "baselineShift",
|
|
751
|
-
baseProfile: 1,
|
|
752
|
-
bbox: 0,
|
|
753
|
-
begin: 0,
|
|
754
|
-
bias: 0,
|
|
755
|
-
by: 0,
|
|
756
|
-
calcMode: 1,
|
|
757
|
-
capHeight: 1,
|
|
758
|
-
"cap-height": "capHeight",
|
|
759
|
-
clip: 0,
|
|
760
|
-
clipPath: 1,
|
|
761
|
-
"clip-path": "clipPath",
|
|
762
|
-
clipPathUnits: 1,
|
|
763
|
-
clipRule: 1,
|
|
764
|
-
"clip-rule": "clipRule",
|
|
765
|
-
color: 0,
|
|
766
|
-
colorInterpolation: 1,
|
|
767
|
-
"color-interpolation": "colorInterpolation",
|
|
768
|
-
colorInterpolationFilters: 1,
|
|
769
|
-
"color-interpolation-filters": "colorInterpolationFilters",
|
|
770
|
-
colorProfile: 1,
|
|
771
|
-
"color-profile": "colorProfile",
|
|
772
|
-
colorRendering: 1,
|
|
773
|
-
"color-rendering": "colorRendering",
|
|
774
|
-
contentScriptType: 1,
|
|
775
|
-
contentStyleType: 1,
|
|
776
|
-
cursor: 0,
|
|
777
|
-
cx: 0,
|
|
778
|
-
cy: 0,
|
|
779
|
-
d: 0,
|
|
780
|
-
datatype: 0,
|
|
781
|
-
decelerate: 0,
|
|
782
|
-
descent: 0,
|
|
783
|
-
diffuseConstant: 1,
|
|
784
|
-
direction: 0,
|
|
785
|
-
display: 0,
|
|
786
|
-
divisor: 0,
|
|
787
|
-
dominantBaseline: 1,
|
|
788
|
-
"dominant-baseline": "dominantBaseline",
|
|
789
|
-
dur: 0,
|
|
790
|
-
dx: 0,
|
|
791
|
-
dy: 0,
|
|
792
|
-
edgeMode: 1,
|
|
793
|
-
elevation: 0,
|
|
794
|
-
enableBackground: 1,
|
|
795
|
-
"enable-background": "enableBackground",
|
|
796
|
-
end: 0,
|
|
797
|
-
exponent: 0,
|
|
798
|
-
externalResourcesRequired: 1,
|
|
799
|
-
fill: 0,
|
|
800
|
-
fillOpacity: 1,
|
|
801
|
-
"fill-opacity": "fillOpacity",
|
|
802
|
-
fillRule: 1,
|
|
803
|
-
"fill-rule": "fillRule",
|
|
804
|
-
filter: 0,
|
|
805
|
-
filterRes: 1,
|
|
806
|
-
filterUnits: 1,
|
|
807
|
-
floodOpacity: 1,
|
|
808
|
-
"flood-opacity": "floodOpacity",
|
|
809
|
-
floodColor: 1,
|
|
810
|
-
"flood-color": "floodColor",
|
|
811
|
-
focusable: 0,
|
|
812
|
-
fontFamily: 1,
|
|
813
|
-
"font-family": "fontFamily",
|
|
814
|
-
fontSize: 1,
|
|
815
|
-
"font-size": "fontSize",
|
|
816
|
-
fontSizeAdjust: 1,
|
|
817
|
-
"font-size-adjust": "fontSizeAdjust",
|
|
818
|
-
fontStretch: 1,
|
|
819
|
-
"font-stretch": "fontStretch",
|
|
820
|
-
fontStyle: 1,
|
|
821
|
-
"font-style": "fontStyle",
|
|
822
|
-
fontVariant: 1,
|
|
823
|
-
"font-variant": "fontVariant",
|
|
824
|
-
fontWeight: 1,
|
|
825
|
-
"font-weight": "fontWeight",
|
|
826
|
-
format: 0,
|
|
827
|
-
from: 0,
|
|
828
|
-
fx: 0,
|
|
829
|
-
fy: 0,
|
|
830
|
-
g1: 0,
|
|
831
|
-
g2: 0,
|
|
832
|
-
glyphName: 1,
|
|
833
|
-
"glyph-name": "glyphName",
|
|
834
|
-
glyphOrientationHorizontal: 1,
|
|
835
|
-
"glyph-orientation-horizontal": "glyphOrientationHorizontal",
|
|
836
|
-
glyphOrientationVertical: 1,
|
|
837
|
-
"glyph-orientation-vertical": "glyphOrientationVertical",
|
|
838
|
-
glyphRef: 1,
|
|
839
|
-
gradientTransform: 1,
|
|
840
|
-
gradientUnits: 1,
|
|
841
|
-
hanging: 0,
|
|
842
|
-
horizAdvX: 1,
|
|
843
|
-
"horiz-adv-x": "horizAdvX",
|
|
844
|
-
horizOriginX: 1,
|
|
845
|
-
"horiz-origin-x": "horizOriginX",
|
|
846
|
-
ideographic: 0,
|
|
847
|
-
imageRendering: 1,
|
|
848
|
-
"image-rendering": "imageRendering",
|
|
849
|
-
in2: 0,
|
|
850
|
-
in: 0,
|
|
851
|
-
inlist: 0,
|
|
852
|
-
intercept: 0,
|
|
853
|
-
k1: 0,
|
|
854
|
-
k2: 0,
|
|
855
|
-
k3: 0,
|
|
856
|
-
k4: 0,
|
|
857
|
-
k: 0,
|
|
858
|
-
kernelMatrix: 1,
|
|
859
|
-
kernelUnitLength: 1,
|
|
860
|
-
kerning: 0,
|
|
861
|
-
keyPoints: 1,
|
|
862
|
-
keySplines: 1,
|
|
863
|
-
keyTimes: 1,
|
|
864
|
-
lengthAdjust: 1,
|
|
865
|
-
letterSpacing: 1,
|
|
866
|
-
"letter-spacing": "letterSpacing",
|
|
867
|
-
lightingColor: 1,
|
|
868
|
-
"lighting-color": "lightingColor",
|
|
869
|
-
limitingConeAngle: 1,
|
|
870
|
-
local: 0,
|
|
871
|
-
markerEnd: 1,
|
|
872
|
-
"marker-end": "markerEnd",
|
|
873
|
-
markerHeight: 1,
|
|
874
|
-
markerMid: 1,
|
|
875
|
-
"marker-mid": "markerMid",
|
|
876
|
-
markerStart: 1,
|
|
877
|
-
"marker-start": "markerStart",
|
|
878
|
-
markerUnits: 1,
|
|
879
|
-
markerWidth: 1,
|
|
880
|
-
mask: 0,
|
|
881
|
-
maskContentUnits: 1,
|
|
882
|
-
maskUnits: 1,
|
|
883
|
-
mathematical: 0,
|
|
884
|
-
mode: 0,
|
|
885
|
-
numOctaves: 1,
|
|
886
|
-
offset: 0,
|
|
887
|
-
opacity: 0,
|
|
888
|
-
operator: 0,
|
|
889
|
-
order: 0,
|
|
890
|
-
orient: 0,
|
|
891
|
-
orientation: 0,
|
|
892
|
-
origin: 0,
|
|
893
|
-
overflow: 0,
|
|
894
|
-
overlinePosition: 1,
|
|
895
|
-
"overline-position": "overlinePosition",
|
|
896
|
-
overlineThickness: 1,
|
|
897
|
-
"overline-thickness": "overlineThickness",
|
|
898
|
-
paintOrder: 1,
|
|
899
|
-
"paint-order": "paintOrder",
|
|
900
|
-
panose1: 0,
|
|
901
|
-
"panose-1": "panose1",
|
|
902
|
-
pathLength: 1,
|
|
903
|
-
patternContentUnits: 1,
|
|
904
|
-
patternTransform: 1,
|
|
905
|
-
patternUnits: 1,
|
|
906
|
-
pointerEvents: 1,
|
|
907
|
-
"pointer-events": "pointerEvents",
|
|
908
|
-
points: 0,
|
|
909
|
-
pointsAtX: 1,
|
|
910
|
-
pointsAtY: 1,
|
|
911
|
-
pointsAtZ: 1,
|
|
912
|
-
prefix: 0,
|
|
913
|
-
preserveAlpha: 1,
|
|
914
|
-
preserveAspectRatio: 1,
|
|
915
|
-
primitiveUnits: 1,
|
|
916
|
-
property: 0,
|
|
917
|
-
r: 0,
|
|
918
|
-
radius: 0,
|
|
919
|
-
refX: 1,
|
|
920
|
-
refY: 1,
|
|
921
|
-
renderingIntent: 1,
|
|
922
|
-
"rendering-intent": "renderingIntent",
|
|
923
|
-
repeatCount: 1,
|
|
924
|
-
repeatDur: 1,
|
|
925
|
-
requiredExtensions: 1,
|
|
926
|
-
requiredFeatures: 1,
|
|
927
|
-
resource: 0,
|
|
928
|
-
restart: 0,
|
|
929
|
-
result: 0,
|
|
930
|
-
results: 0,
|
|
931
|
-
rotate: 0,
|
|
932
|
-
rx: 0,
|
|
933
|
-
ry: 0,
|
|
934
|
-
scale: 0,
|
|
935
|
-
security: 0,
|
|
936
|
-
seed: 0,
|
|
937
|
-
shapeRendering: 1,
|
|
938
|
-
"shape-rendering": "shapeRendering",
|
|
939
|
-
slope: 0,
|
|
940
|
-
spacing: 0,
|
|
941
|
-
specularConstant: 1,
|
|
942
|
-
specularExponent: 1,
|
|
943
|
-
speed: 0,
|
|
944
|
-
spreadMethod: 1,
|
|
945
|
-
startOffset: 1,
|
|
946
|
-
stdDeviation: 1,
|
|
947
|
-
stemh: 0,
|
|
948
|
-
stemv: 0,
|
|
949
|
-
stitchTiles: 1,
|
|
950
|
-
stopColor: 1,
|
|
951
|
-
"stop-color": "stopColor",
|
|
952
|
-
stopOpacity: 1,
|
|
953
|
-
"stop-opacity": "stopOpacity",
|
|
954
|
-
strikethroughPosition: 1,
|
|
955
|
-
"strikethrough-position": "strikethroughPosition",
|
|
956
|
-
strikethroughThickness: 1,
|
|
957
|
-
"strikethrough-thickness": "strikethroughThickness",
|
|
958
|
-
string: 0,
|
|
959
|
-
stroke: 0,
|
|
960
|
-
strokeDasharray: 1,
|
|
961
|
-
"stroke-dasharray": "strokeDasharray",
|
|
962
|
-
strokeDashoffset: 1,
|
|
963
|
-
"stroke-dashoffset": "strokeDashoffset",
|
|
964
|
-
strokeLinecap: 1,
|
|
965
|
-
"stroke-linecap": "strokeLinecap",
|
|
966
|
-
strokeLinejoin: 1,
|
|
967
|
-
"stroke-linejoin": "strokeLinejoin",
|
|
968
|
-
strokeMiterlimit: 1,
|
|
969
|
-
"stroke-miterlimit": "strokeMiterlimit",
|
|
970
|
-
strokeWidth: 1,
|
|
971
|
-
"stroke-width": "strokeWidth",
|
|
972
|
-
strokeOpacity: 1,
|
|
973
|
-
"stroke-opacity": "strokeOpacity",
|
|
974
|
-
suppressContentEditableWarning: 1,
|
|
975
|
-
suppressHydrationWarning: 1,
|
|
976
|
-
surfaceScale: 1,
|
|
977
|
-
systemLanguage: 1,
|
|
978
|
-
tableValues: 1,
|
|
979
|
-
targetX: 1,
|
|
980
|
-
targetY: 1,
|
|
981
|
-
textAnchor: 1,
|
|
982
|
-
"text-anchor": "textAnchor",
|
|
983
|
-
textDecoration: 1,
|
|
984
|
-
"text-decoration": "textDecoration",
|
|
985
|
-
textLength: 1,
|
|
986
|
-
textRendering: 1,
|
|
987
|
-
"text-rendering": "textRendering",
|
|
988
|
-
to: 0,
|
|
989
|
-
transform: 0,
|
|
990
|
-
typeof: 0,
|
|
991
|
-
u1: 0,
|
|
992
|
-
u2: 0,
|
|
993
|
-
underlinePosition: 1,
|
|
994
|
-
"underline-position": "underlinePosition",
|
|
995
|
-
underlineThickness: 1,
|
|
996
|
-
"underline-thickness": "underlineThickness",
|
|
997
|
-
unicode: 0,
|
|
998
|
-
unicodeBidi: 1,
|
|
999
|
-
"unicode-bidi": "unicodeBidi",
|
|
1000
|
-
unicodeRange: 1,
|
|
1001
|
-
"unicode-range": "unicodeRange",
|
|
1002
|
-
unitsPerEm: 1,
|
|
1003
|
-
"units-per-em": "unitsPerEm",
|
|
1004
|
-
unselectable: 0,
|
|
1005
|
-
vAlphabetic: 1,
|
|
1006
|
-
"v-alphabetic": "vAlphabetic",
|
|
1007
|
-
values: 0,
|
|
1008
|
-
vectorEffect: 1,
|
|
1009
|
-
"vector-effect": "vectorEffect",
|
|
1010
|
-
version: 0,
|
|
1011
|
-
vertAdvY: 1,
|
|
1012
|
-
"vert-adv-y": "vertAdvY",
|
|
1013
|
-
vertOriginX: 1,
|
|
1014
|
-
"vert-origin-x": "vertOriginX",
|
|
1015
|
-
vertOriginY: 1,
|
|
1016
|
-
"vert-origin-y": "vertOriginY",
|
|
1017
|
-
vHanging: 1,
|
|
1018
|
-
"v-hanging": "vHanging",
|
|
1019
|
-
vIdeographic: 1,
|
|
1020
|
-
"v-ideographic": "vIdeographic",
|
|
1021
|
-
viewBox: 1,
|
|
1022
|
-
viewTarget: 1,
|
|
1023
|
-
visibility: 0,
|
|
1024
|
-
vMathematical: 1,
|
|
1025
|
-
"v-mathematical": "vMathematical",
|
|
1026
|
-
vocab: 0,
|
|
1027
|
-
widths: 0,
|
|
1028
|
-
wordSpacing: 1,
|
|
1029
|
-
"word-spacing": "wordSpacing",
|
|
1030
|
-
writingMode: 1,
|
|
1031
|
-
"writing-mode": "writingMode",
|
|
1032
|
-
x1: 0,
|
|
1033
|
-
x2: 0,
|
|
1034
|
-
x: 0,
|
|
1035
|
-
xChannelSelector: 1,
|
|
1036
|
-
xHeight: 1,
|
|
1037
|
-
"x-height": "xHeight",
|
|
1038
|
-
xlinkActuate: 1,
|
|
1039
|
-
"xlink:actuate": "xlinkActuate",
|
|
1040
|
-
xlinkArcrole: 1,
|
|
1041
|
-
"xlink:arcrole": "xlinkArcrole",
|
|
1042
|
-
xlinkHref: 1,
|
|
1043
|
-
"xlink:href": "xlinkHref",
|
|
1044
|
-
xlinkRole: 1,
|
|
1045
|
-
"xlink:role": "xlinkRole",
|
|
1046
|
-
xlinkShow: 1,
|
|
1047
|
-
"xlink:show": "xlinkShow",
|
|
1048
|
-
xlinkTitle: 1,
|
|
1049
|
-
"xlink:title": "xlinkTitle",
|
|
1050
|
-
xlinkType: 1,
|
|
1051
|
-
"xlink:type": "xlinkType",
|
|
1052
|
-
xmlBase: 1,
|
|
1053
|
-
"xml:base": "xmlBase",
|
|
1054
|
-
xmlLang: 1,
|
|
1055
|
-
"xml:lang": "xmlLang",
|
|
1056
|
-
xmlns: 0,
|
|
1057
|
-
"xml:space": "xmlSpace",
|
|
1058
|
-
xmlnsXlink: 1,
|
|
1059
|
-
"xmlns:xlink": "xmlnsXlink",
|
|
1060
|
-
xmlSpace: 1,
|
|
1061
|
-
y1: 0,
|
|
1062
|
-
y2: 0,
|
|
1063
|
-
y: 0,
|
|
1064
|
-
yChannelSelector: 1,
|
|
1065
|
-
z: 0,
|
|
1066
|
-
zoomAndPan: 1
|
|
1067
|
-
};
|
|
1068
|
-
Object.defineProperty(b, "__esModule", { value: !0 });
|
|
1069
|
-
function xt(e, t) {
|
|
1070
|
-
return wt(e) || Ct(e, t) || St(e, t) || _t();
|
|
1071
|
-
}
|
|
1072
|
-
function wt(e) {
|
|
1073
|
-
if (Array.isArray(e))
|
|
1074
|
-
return e;
|
|
1075
|
-
}
|
|
1076
|
-
function Ct(e, t) {
|
|
1077
|
-
var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
1078
|
-
if (r != null) {
|
|
1079
|
-
var n = [], o = !0, l = !1, c, a;
|
|
1080
|
-
try {
|
|
1081
|
-
for (r = r.call(e); !(o = (c = r.next()).done) && (n.push(c.value), !(t && n.length === t)); o = !0)
|
|
1082
|
-
;
|
|
1083
|
-
} catch (i) {
|
|
1084
|
-
l = !0, a = i;
|
|
1085
|
-
} finally {
|
|
1086
|
-
try {
|
|
1087
|
-
!o && r.return != null && r.return();
|
|
1088
|
-
} finally {
|
|
1089
|
-
if (l)
|
|
1090
|
-
throw a;
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
return n;
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
function St(e, t) {
|
|
1097
|
-
if (e) {
|
|
1098
|
-
if (typeof e == "string")
|
|
1099
|
-
return fe(e, t);
|
|
1100
|
-
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
1101
|
-
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set")
|
|
1102
|
-
return Array.from(e);
|
|
1103
|
-
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
|
|
1104
|
-
return fe(e, t);
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
function fe(e, t) {
|
|
1108
|
-
(t == null || t > e.length) && (t = e.length);
|
|
1109
|
-
for (var r = 0, n = new Array(t); r < t; r++)
|
|
1110
|
-
n[r] = e[r];
|
|
1111
|
-
return n;
|
|
1112
|
-
}
|
|
1113
|
-
function _t() {
|
|
1114
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1115
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
1116
|
-
}
|
|
1117
|
-
var je = 0, C = 1, H = 2, B = 3, ee = 4, He = 5, Be = 6;
|
|
1118
|
-
function Ot(e) {
|
|
1119
|
-
return m.hasOwnProperty(e) ? m[e] : null;
|
|
1120
|
-
}
|
|
1121
|
-
function g(e, t, r, n, o, l, c) {
|
|
1122
|
-
this.acceptsBooleans = t === H || t === B || t === ee, this.attributeName = n, this.attributeNamespace = o, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = l, this.removeEmptyString = c;
|
|
1123
|
-
}
|
|
1124
|
-
var m = {}, kt = [
|
|
1125
|
-
"children",
|
|
1126
|
-
"dangerouslySetInnerHTML",
|
|
1127
|
-
// TODO: This prevents the assignment of defaultValue to regular
|
|
1128
|
-
// elements (not just inputs). Now that ReactDOMInput assigns to the
|
|
1129
|
-
// defaultValue property -- do we need this?
|
|
1130
|
-
"defaultValue",
|
|
1131
|
-
"defaultChecked",
|
|
1132
|
-
"innerHTML",
|
|
1133
|
-
"suppressContentEditableWarning",
|
|
1134
|
-
"suppressHydrationWarning",
|
|
1135
|
-
"style"
|
|
1136
|
-
];
|
|
1137
|
-
kt.forEach(function(e) {
|
|
1138
|
-
m[e] = new g(
|
|
1139
|
-
e,
|
|
1140
|
-
je,
|
|
1141
|
-
!1,
|
|
1142
|
-
// mustUseProperty
|
|
1143
|
-
e,
|
|
1144
|
-
// attributeName
|
|
1145
|
-
null,
|
|
1146
|
-
// attributeNamespace
|
|
1147
|
-
!1,
|
|
1148
|
-
// sanitizeURL
|
|
1149
|
-
!1
|
|
1150
|
-
);
|
|
1151
|
-
});
|
|
1152
|
-
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
|
|
1153
|
-
var t = xt(e, 2), r = t[0], n = t[1];
|
|
1154
|
-
m[r] = new g(
|
|
1155
|
-
r,
|
|
1156
|
-
C,
|
|
1157
|
-
!1,
|
|
1158
|
-
// mustUseProperty
|
|
1159
|
-
n,
|
|
1160
|
-
// attributeName
|
|
1161
|
-
null,
|
|
1162
|
-
// attributeNamespace
|
|
1163
|
-
!1,
|
|
1164
|
-
// sanitizeURL
|
|
1165
|
-
!1
|
|
1166
|
-
);
|
|
1167
|
-
});
|
|
1168
|
-
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
|
|
1169
|
-
m[e] = new g(
|
|
1170
|
-
e,
|
|
1171
|
-
H,
|
|
1172
|
-
!1,
|
|
1173
|
-
// mustUseProperty
|
|
1174
|
-
e.toLowerCase(),
|
|
1175
|
-
// attributeName
|
|
1176
|
-
null,
|
|
1177
|
-
// attributeNamespace
|
|
1178
|
-
!1,
|
|
1179
|
-
// sanitizeURL
|
|
1180
|
-
!1
|
|
1181
|
-
);
|
|
1182
|
-
});
|
|
1183
|
-
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
|
|
1184
|
-
m[e] = new g(
|
|
1185
|
-
e,
|
|
1186
|
-
H,
|
|
1187
|
-
!1,
|
|
1188
|
-
// mustUseProperty
|
|
1189
|
-
e,
|
|
1190
|
-
// attributeName
|
|
1191
|
-
null,
|
|
1192
|
-
// attributeNamespace
|
|
1193
|
-
!1,
|
|
1194
|
-
// sanitizeURL
|
|
1195
|
-
!1
|
|
1196
|
-
);
|
|
1197
|
-
});
|
|
1198
|
-
[
|
|
1199
|
-
"allowFullScreen",
|
|
1200
|
-
"async",
|
|
1201
|
-
// Note: there is a special case that prevents it from being written to the DOM
|
|
1202
|
-
// on the client side because the browsers are inconsistent. Instead we call focus().
|
|
1203
|
-
"autoFocus",
|
|
1204
|
-
"autoPlay",
|
|
1205
|
-
"controls",
|
|
1206
|
-
"default",
|
|
1207
|
-
"defer",
|
|
1208
|
-
"disabled",
|
|
1209
|
-
"disablePictureInPicture",
|
|
1210
|
-
"disableRemotePlayback",
|
|
1211
|
-
"formNoValidate",
|
|
1212
|
-
"hidden",
|
|
1213
|
-
"loop",
|
|
1214
|
-
"noModule",
|
|
1215
|
-
"noValidate",
|
|
1216
|
-
"open",
|
|
1217
|
-
"playsInline",
|
|
1218
|
-
"readOnly",
|
|
1219
|
-
"required",
|
|
1220
|
-
"reversed",
|
|
1221
|
-
"scoped",
|
|
1222
|
-
"seamless",
|
|
1223
|
-
// Microdata
|
|
1224
|
-
"itemScope"
|
|
1225
|
-
].forEach(function(e) {
|
|
1226
|
-
m[e] = new g(
|
|
1227
|
-
e,
|
|
1228
|
-
B,
|
|
1229
|
-
!1,
|
|
1230
|
-
// mustUseProperty
|
|
1231
|
-
e.toLowerCase(),
|
|
1232
|
-
// attributeName
|
|
1233
|
-
null,
|
|
1234
|
-
// attributeNamespace
|
|
1235
|
-
!1,
|
|
1236
|
-
// sanitizeURL
|
|
1237
|
-
!1
|
|
1238
|
-
);
|
|
1239
|
-
});
|
|
1240
|
-
[
|
|
1241
|
-
"checked",
|
|
1242
|
-
// Note: `option.selected` is not updated if `select.multiple` is
|
|
1243
|
-
// disabled with `removeAttribute`. We have special logic for handling this.
|
|
1244
|
-
"multiple",
|
|
1245
|
-
"muted",
|
|
1246
|
-
"selected"
|
|
1247
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
1248
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
1249
|
-
// instead in the assignment below.
|
|
1250
|
-
].forEach(function(e) {
|
|
1251
|
-
m[e] = new g(
|
|
1252
|
-
e,
|
|
1253
|
-
B,
|
|
1254
|
-
!0,
|
|
1255
|
-
// mustUseProperty
|
|
1256
|
-
e,
|
|
1257
|
-
// attributeName
|
|
1258
|
-
null,
|
|
1259
|
-
// attributeNamespace
|
|
1260
|
-
!1,
|
|
1261
|
-
// sanitizeURL
|
|
1262
|
-
!1
|
|
1263
|
-
);
|
|
1264
|
-
});
|
|
1265
|
-
[
|
|
1266
|
-
"capture",
|
|
1267
|
-
"download"
|
|
1268
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
1269
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
1270
|
-
// instead in the assignment below.
|
|
1271
|
-
].forEach(function(e) {
|
|
1272
|
-
m[e] = new g(
|
|
1273
|
-
e,
|
|
1274
|
-
ee,
|
|
1275
|
-
!1,
|
|
1276
|
-
// mustUseProperty
|
|
1277
|
-
e,
|
|
1278
|
-
// attributeName
|
|
1279
|
-
null,
|
|
1280
|
-
// attributeNamespace
|
|
1281
|
-
!1,
|
|
1282
|
-
// sanitizeURL
|
|
1283
|
-
!1
|
|
1284
|
-
);
|
|
1285
|
-
});
|
|
1286
|
-
[
|
|
1287
|
-
"cols",
|
|
1288
|
-
"rows",
|
|
1289
|
-
"size",
|
|
1290
|
-
"span"
|
|
1291
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
1292
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
1293
|
-
// instead in the assignment below.
|
|
1294
|
-
].forEach(function(e) {
|
|
1295
|
-
m[e] = new g(
|
|
1296
|
-
e,
|
|
1297
|
-
Be,
|
|
1298
|
-
!1,
|
|
1299
|
-
// mustUseProperty
|
|
1300
|
-
e,
|
|
1301
|
-
// attributeName
|
|
1302
|
-
null,
|
|
1303
|
-
// attributeNamespace
|
|
1304
|
-
!1,
|
|
1305
|
-
// sanitizeURL
|
|
1306
|
-
!1
|
|
1307
|
-
);
|
|
1308
|
-
});
|
|
1309
|
-
["rowSpan", "start"].forEach(function(e) {
|
|
1310
|
-
m[e] = new g(
|
|
1311
|
-
e,
|
|
1312
|
-
He,
|
|
1313
|
-
!1,
|
|
1314
|
-
// mustUseProperty
|
|
1315
|
-
e.toLowerCase(),
|
|
1316
|
-
// attributeName
|
|
1317
|
-
null,
|
|
1318
|
-
// attributeNamespace
|
|
1319
|
-
!1,
|
|
1320
|
-
// sanitizeURL
|
|
1321
|
-
!1
|
|
1322
|
-
);
|
|
1323
|
-
});
|
|
1324
|
-
var te = /[\-\:]([a-z])/g, re = function(t) {
|
|
1325
|
-
return t[1].toUpperCase();
|
|
1326
|
-
};
|
|
1327
|
-
[
|
|
1328
|
-
"accent-height",
|
|
1329
|
-
"alignment-baseline",
|
|
1330
|
-
"arabic-form",
|
|
1331
|
-
"baseline-shift",
|
|
1332
|
-
"cap-height",
|
|
1333
|
-
"clip-path",
|
|
1334
|
-
"clip-rule",
|
|
1335
|
-
"color-interpolation",
|
|
1336
|
-
"color-interpolation-filters",
|
|
1337
|
-
"color-profile",
|
|
1338
|
-
"color-rendering",
|
|
1339
|
-
"dominant-baseline",
|
|
1340
|
-
"enable-background",
|
|
1341
|
-
"fill-opacity",
|
|
1342
|
-
"fill-rule",
|
|
1343
|
-
"flood-color",
|
|
1344
|
-
"flood-opacity",
|
|
1345
|
-
"font-family",
|
|
1346
|
-
"font-size",
|
|
1347
|
-
"font-size-adjust",
|
|
1348
|
-
"font-stretch",
|
|
1349
|
-
"font-style",
|
|
1350
|
-
"font-variant",
|
|
1351
|
-
"font-weight",
|
|
1352
|
-
"glyph-name",
|
|
1353
|
-
"glyph-orientation-horizontal",
|
|
1354
|
-
"glyph-orientation-vertical",
|
|
1355
|
-
"horiz-adv-x",
|
|
1356
|
-
"horiz-origin-x",
|
|
1357
|
-
"image-rendering",
|
|
1358
|
-
"letter-spacing",
|
|
1359
|
-
"lighting-color",
|
|
1360
|
-
"marker-end",
|
|
1361
|
-
"marker-mid",
|
|
1362
|
-
"marker-start",
|
|
1363
|
-
"overline-position",
|
|
1364
|
-
"overline-thickness",
|
|
1365
|
-
"paint-order",
|
|
1366
|
-
"panose-1",
|
|
1367
|
-
"pointer-events",
|
|
1368
|
-
"rendering-intent",
|
|
1369
|
-
"shape-rendering",
|
|
1370
|
-
"stop-color",
|
|
1371
|
-
"stop-opacity",
|
|
1372
|
-
"strikethrough-position",
|
|
1373
|
-
"strikethrough-thickness",
|
|
1374
|
-
"stroke-dasharray",
|
|
1375
|
-
"stroke-dashoffset",
|
|
1376
|
-
"stroke-linecap",
|
|
1377
|
-
"stroke-linejoin",
|
|
1378
|
-
"stroke-miterlimit",
|
|
1379
|
-
"stroke-opacity",
|
|
1380
|
-
"stroke-width",
|
|
1381
|
-
"text-anchor",
|
|
1382
|
-
"text-decoration",
|
|
1383
|
-
"text-rendering",
|
|
1384
|
-
"underline-position",
|
|
1385
|
-
"underline-thickness",
|
|
1386
|
-
"unicode-bidi",
|
|
1387
|
-
"unicode-range",
|
|
1388
|
-
"units-per-em",
|
|
1389
|
-
"v-alphabetic",
|
|
1390
|
-
"v-hanging",
|
|
1391
|
-
"v-ideographic",
|
|
1392
|
-
"v-mathematical",
|
|
1393
|
-
"vector-effect",
|
|
1394
|
-
"vert-adv-y",
|
|
1395
|
-
"vert-origin-x",
|
|
1396
|
-
"vert-origin-y",
|
|
1397
|
-
"word-spacing",
|
|
1398
|
-
"writing-mode",
|
|
1399
|
-
"xmlns:xlink",
|
|
1400
|
-
"x-height"
|
|
1401
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
1402
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
1403
|
-
// instead in the assignment below.
|
|
1404
|
-
].forEach(function(e) {
|
|
1405
|
-
var t = e.replace(te, re);
|
|
1406
|
-
m[t] = new g(
|
|
1407
|
-
t,
|
|
1408
|
-
C,
|
|
1409
|
-
!1,
|
|
1410
|
-
// mustUseProperty
|
|
1411
|
-
e,
|
|
1412
|
-
null,
|
|
1413
|
-
// attributeNamespace
|
|
1414
|
-
!1,
|
|
1415
|
-
// sanitizeURL
|
|
1416
|
-
!1
|
|
1417
|
-
);
|
|
1418
|
-
});
|
|
1419
|
-
[
|
|
1420
|
-
"xlink:actuate",
|
|
1421
|
-
"xlink:arcrole",
|
|
1422
|
-
"xlink:role",
|
|
1423
|
-
"xlink:show",
|
|
1424
|
-
"xlink:title",
|
|
1425
|
-
"xlink:type"
|
|
1426
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
1427
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
1428
|
-
// instead in the assignment below.
|
|
1429
|
-
].forEach(function(e) {
|
|
1430
|
-
var t = e.replace(te, re);
|
|
1431
|
-
m[t] = new g(
|
|
1432
|
-
t,
|
|
1433
|
-
C,
|
|
1434
|
-
!1,
|
|
1435
|
-
// mustUseProperty
|
|
1436
|
-
e,
|
|
1437
|
-
"http://www.w3.org/1999/xlink",
|
|
1438
|
-
!1,
|
|
1439
|
-
// sanitizeURL
|
|
1440
|
-
!1
|
|
1441
|
-
);
|
|
1442
|
-
});
|
|
1443
|
-
[
|
|
1444
|
-
"xml:base",
|
|
1445
|
-
"xml:lang",
|
|
1446
|
-
"xml:space"
|
|
1447
|
-
// NOTE: if you add a camelCased prop to this list,
|
|
1448
|
-
// you'll need to set attributeName to name.toLowerCase()
|
|
1449
|
-
// instead in the assignment below.
|
|
1450
|
-
].forEach(function(e) {
|
|
1451
|
-
var t = e.replace(te, re);
|
|
1452
|
-
m[t] = new g(
|
|
1453
|
-
t,
|
|
1454
|
-
C,
|
|
1455
|
-
!1,
|
|
1456
|
-
// mustUseProperty
|
|
1457
|
-
e,
|
|
1458
|
-
"http://www.w3.org/XML/1998/namespace",
|
|
1459
|
-
!1,
|
|
1460
|
-
// sanitizeURL
|
|
1461
|
-
!1
|
|
1462
|
-
);
|
|
1463
|
-
});
|
|
1464
|
-
["tabIndex", "crossOrigin"].forEach(function(e) {
|
|
1465
|
-
m[e] = new g(
|
|
1466
|
-
e,
|
|
1467
|
-
C,
|
|
1468
|
-
!1,
|
|
1469
|
-
// mustUseProperty
|
|
1470
|
-
e.toLowerCase(),
|
|
1471
|
-
// attributeName
|
|
1472
|
-
null,
|
|
1473
|
-
// attributeNamespace
|
|
1474
|
-
!1,
|
|
1475
|
-
// sanitizeURL
|
|
1476
|
-
!1
|
|
1477
|
-
);
|
|
1478
|
-
});
|
|
1479
|
-
var At = "xlinkHref";
|
|
1480
|
-
m[At] = new g(
|
|
1481
|
-
"xlinkHref",
|
|
1482
|
-
C,
|
|
1483
|
-
!1,
|
|
1484
|
-
// mustUseProperty
|
|
1485
|
-
"xlink:href",
|
|
1486
|
-
"http://www.w3.org/1999/xlink",
|
|
1487
|
-
!0,
|
|
1488
|
-
// sanitizeURL
|
|
1489
|
-
!1
|
|
1490
|
-
);
|
|
1491
|
-
["src", "href", "action", "formAction"].forEach(function(e) {
|
|
1492
|
-
m[e] = new g(
|
|
1493
|
-
e,
|
|
1494
|
-
C,
|
|
1495
|
-
!1,
|
|
1496
|
-
// mustUseProperty
|
|
1497
|
-
e.toLowerCase(),
|
|
1498
|
-
// attributeName
|
|
1499
|
-
null,
|
|
1500
|
-
// attributeNamespace
|
|
1501
|
-
!0,
|
|
1502
|
-
// sanitizeURL
|
|
1503
|
-
!0
|
|
1504
|
-
);
|
|
1505
|
-
});
|
|
1506
|
-
var ne = j, Nt = ne.CAMELCASE, Pt = ne.SAME, pe = ne.possibleStandardNames, Rt = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", It = Rt + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", Dt = RegExp.prototype.test.bind(
|
|
1507
|
-
// eslint-disable-next-line no-misleading-character-class
|
|
1508
|
-
new RegExp("^(data|aria)-[" + It + "]*$")
|
|
1509
|
-
), Mt = Object.keys(pe).reduce(function(e, t) {
|
|
1510
|
-
var r = pe[t];
|
|
1511
|
-
return r === Pt ? e[t] = t : r === Nt ? e[t.toLowerCase()] = t : e[t] = r, e;
|
|
1512
|
-
}, {});
|
|
1513
|
-
b.BOOLEAN = B;
|
|
1514
|
-
b.BOOLEANISH_STRING = H;
|
|
1515
|
-
b.NUMERIC = He;
|
|
1516
|
-
b.OVERLOADED_BOOLEAN = ee;
|
|
1517
|
-
b.POSITIVE_NUMERIC = Be;
|
|
1518
|
-
b.RESERVED = je;
|
|
1519
|
-
b.STRING = C;
|
|
1520
|
-
b.getPropertyInfo = Ot;
|
|
1521
|
-
b.isCustomAttribute = Dt;
|
|
1522
|
-
b.possibleStandardNames = Mt;
|
|
1523
|
-
var ze = {}, ie = { exports: {} }, de = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Lt = /\n/g, Ft = /^\s*/, jt = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Ht = /^:\s*/, Bt = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, zt = /^[;\s]*/, Vt = /^\s+|\s+$/g, Ut = `
|
|
1524
|
-
`, he = "/", me = "*", O = "", Gt = "comment", $t = "declaration", Xt = function(e, t) {
|
|
1525
|
-
if (typeof e != "string")
|
|
1526
|
-
throw new TypeError("First argument must be a string");
|
|
1527
|
-
if (!e)
|
|
1528
|
-
return [];
|
|
1529
|
-
t = t || {};
|
|
1530
|
-
var r = 1, n = 1;
|
|
1531
|
-
function o(d) {
|
|
1532
|
-
var u = d.match(Lt);
|
|
1533
|
-
u && (r += u.length);
|
|
1534
|
-
var v = d.lastIndexOf(Ut);
|
|
1535
|
-
n = ~v ? d.length - v : n + d.length;
|
|
1536
|
-
}
|
|
1537
|
-
function l() {
|
|
1538
|
-
var d = { line: r, column: n };
|
|
1539
|
-
return function(u) {
|
|
1540
|
-
return u.position = new c(d), s(), u;
|
|
1541
|
-
};
|
|
1542
|
-
}
|
|
1543
|
-
function c(d) {
|
|
1544
|
-
this.start = d, this.end = { line: r, column: n }, this.source = t.source;
|
|
1545
|
-
}
|
|
1546
|
-
c.prototype.content = e;
|
|
1547
|
-
function a(d) {
|
|
1548
|
-
var u = new Error(
|
|
1549
|
-
t.source + ":" + r + ":" + n + ": " + d
|
|
1550
|
-
);
|
|
1551
|
-
if (u.reason = d, u.filename = t.source, u.line = r, u.column = n, u.source = e, !t.silent)
|
|
1552
|
-
throw u;
|
|
1553
|
-
}
|
|
1554
|
-
function i(d) {
|
|
1555
|
-
var u = d.exec(e);
|
|
1556
|
-
if (u) {
|
|
1557
|
-
var v = u[0];
|
|
1558
|
-
return o(v), e = e.slice(v.length), u;
|
|
1559
|
-
}
|
|
1560
|
-
}
|
|
1561
|
-
function s() {
|
|
1562
|
-
i(Ft);
|
|
1563
|
-
}
|
|
1564
|
-
function p(d) {
|
|
1565
|
-
var u;
|
|
1566
|
-
for (d = d || []; u = h(); )
|
|
1567
|
-
u !== !1 && d.push(u);
|
|
1568
|
-
return d;
|
|
1569
|
-
}
|
|
1570
|
-
function h() {
|
|
1571
|
-
var d = l();
|
|
1572
|
-
if (!(he != e.charAt(0) || me != e.charAt(1))) {
|
|
1573
|
-
for (var u = 2; O != e.charAt(u) && (me != e.charAt(u) || he != e.charAt(u + 1)); )
|
|
1574
|
-
++u;
|
|
1575
|
-
if (u += 2, O === e.charAt(u - 1))
|
|
1576
|
-
return a("End of comment missing");
|
|
1577
|
-
var v = e.slice(2, u - 2);
|
|
1578
|
-
return n += 2, o(v), e = e.slice(u), n += 2, d({
|
|
1579
|
-
type: Gt,
|
|
1580
|
-
comment: v
|
|
1581
|
-
});
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
function y() {
|
|
1585
|
-
var d = l(), u = i(jt);
|
|
1586
|
-
if (u) {
|
|
1587
|
-
if (h(), !i(Ht))
|
|
1588
|
-
return a("property missing ':'");
|
|
1589
|
-
var v = i(Bt), qe = d({
|
|
1590
|
-
type: $t,
|
|
1591
|
-
property: ve(u[0].replace(de, O)),
|
|
1592
|
-
value: v ? ve(v[0].replace(de, O)) : O
|
|
1593
|
-
});
|
|
1594
|
-
return i(zt), qe;
|
|
1595
|
-
}
|
|
1596
|
-
}
|
|
1597
|
-
function _() {
|
|
1598
|
-
var d = [];
|
|
1599
|
-
p(d);
|
|
1600
|
-
for (var u; u = y(); )
|
|
1601
|
-
u !== !1 && (d.push(u), p(d));
|
|
1602
|
-
return d;
|
|
1603
|
-
}
|
|
1604
|
-
return s(), _();
|
|
1605
|
-
};
|
|
1606
|
-
function ve(e) {
|
|
1607
|
-
return e ? e.replace(Vt, O) : O;
|
|
1608
|
-
}
|
|
1609
|
-
var Wt = Xt;
|
|
1610
|
-
function Ve(e, t) {
|
|
1611
|
-
var r = null;
|
|
1612
|
-
if (!e || typeof e != "string")
|
|
1613
|
-
return r;
|
|
1614
|
-
for (var n, o = Wt(e), l = typeof t == "function", c, a, i = 0, s = o.length; i < s; i++)
|
|
1615
|
-
n = o[i], c = n.property, a = n.value, l ? t(c, a, n) : a && (r || (r = {}), r[c] = a);
|
|
1616
|
-
return r;
|
|
1617
|
-
}
|
|
1618
|
-
ie.exports = Ve;
|
|
1619
|
-
ie.exports.default = Ve;
|
|
1620
|
-
var qt = ie.exports, z = {};
|
|
1621
|
-
z.__esModule = !0;
|
|
1622
|
-
z.camelCase = void 0;
|
|
1623
|
-
var Yt = /^--[a-zA-Z0-9-]+$/, Zt = /-([a-z])/g, Jt = /^[^-]+$/, Kt = /^-(webkit|moz|ms|o|khtml)-/, Qt = /^-(ms)-/, er = function(e) {
|
|
1624
|
-
return !e || Jt.test(e) || Yt.test(e);
|
|
1625
|
-
}, tr = function(e, t) {
|
|
1626
|
-
return t.toUpperCase();
|
|
1627
|
-
}, ge = function(e, t) {
|
|
1628
|
-
return "".concat(t, "-");
|
|
1629
|
-
}, rr = function(e, t) {
|
|
1630
|
-
return t === void 0 && (t = {}), er(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(Qt, ge) : e = e.replace(Kt, ge), e.replace(Zt, tr));
|
|
1631
|
-
};
|
|
1632
|
-
z.camelCase = rr;
|
|
1633
|
-
(function(e) {
|
|
1634
|
-
var t = T && T.__importDefault || function(l) {
|
|
1635
|
-
return l && l.__esModule ? l : { default: l };
|
|
1636
|
-
};
|
|
1637
|
-
e.__esModule = !0;
|
|
1638
|
-
var r = t(qt), n = z;
|
|
1639
|
-
function o(l, c) {
|
|
1640
|
-
var a = {};
|
|
1641
|
-
return !l || typeof l != "string" || (0, r.default)(l, function(i, s) {
|
|
1642
|
-
i && s && (a[(0, n.camelCase)(i, c)] = s);
|
|
1643
|
-
}), a;
|
|
1644
|
-
}
|
|
1645
|
-
e.default = o;
|
|
1646
|
-
})(ze);
|
|
1647
|
-
var nr = Te, ir = ze.default;
|
|
1648
|
-
function ar(e, t) {
|
|
1649
|
-
if (!e || typeof e != "object")
|
|
1650
|
-
throw new TypeError("First argument must be an object");
|
|
1651
|
-
var r, n, o = typeof t == "function", l = {}, c = {};
|
|
1652
|
-
for (r in e) {
|
|
1653
|
-
if (n = e[r], o && (l = t(r, n), l && l.length === 2)) {
|
|
1654
|
-
c[l[0]] = l[1];
|
|
1655
|
-
continue;
|
|
1656
|
-
}
|
|
1657
|
-
typeof n == "string" && (c[n] = r);
|
|
1658
|
-
}
|
|
1659
|
-
return c;
|
|
1660
|
-
}
|
|
1661
|
-
function or(e, t) {
|
|
1662
|
-
if (e.indexOf("-") === -1)
|
|
1663
|
-
return t && typeof t.is == "string";
|
|
1664
|
-
switch (e) {
|
|
1665
|
-
case "annotation-xml":
|
|
1666
|
-
case "color-profile":
|
|
1667
|
-
case "font-face":
|
|
1668
|
-
case "font-face-src":
|
|
1669
|
-
case "font-face-uri":
|
|
1670
|
-
case "font-face-format":
|
|
1671
|
-
case "font-face-name":
|
|
1672
|
-
case "missing-glyph":
|
|
1673
|
-
return !1;
|
|
1674
|
-
default:
|
|
1675
|
-
return !0;
|
|
1676
|
-
}
|
|
1677
|
-
}
|
|
1678
|
-
var lr = { reactCompat: !0 };
|
|
1679
|
-
function sr(e, t) {
|
|
1680
|
-
if (e != null)
|
|
1681
|
-
try {
|
|
1682
|
-
t.style = ir(e, lr);
|
|
1683
|
-
} catch {
|
|
1684
|
-
t.style = {};
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
var cr = nr.version.split(".")[0] >= 16, Ue = /* @__PURE__ */ new Set([
|
|
1688
|
-
"tr",
|
|
1689
|
-
"tbody",
|
|
1690
|
-
"thead",
|
|
1691
|
-
"tfoot",
|
|
1692
|
-
"colgroup",
|
|
1693
|
-
"table",
|
|
1694
|
-
"head",
|
|
1695
|
-
"html",
|
|
1696
|
-
"frameset"
|
|
1697
|
-
]);
|
|
1698
|
-
function ur(e) {
|
|
1699
|
-
return !Ue.has(e.name);
|
|
1700
|
-
}
|
|
1701
|
-
function fr(e) {
|
|
1702
|
-
return e;
|
|
1703
|
-
}
|
|
1704
|
-
var Ge = {
|
|
1705
|
-
PRESERVE_CUSTOM_ATTRIBUTES: cr,
|
|
1706
|
-
invertObject: ar,
|
|
1707
|
-
isCustomComponent: or,
|
|
1708
|
-
setStyleProp: sr,
|
|
1709
|
-
canTextBeChildOfNode: ur,
|
|
1710
|
-
elementsWithNoTextChildren: Ue,
|
|
1711
|
-
returnFirstArg: fr
|
|
1712
|
-
}, A = b, ye = Ge, pr = ["checked", "value"], dr = ["input", "select", "textarea"], hr = {
|
|
1713
|
-
reset: !0,
|
|
1714
|
-
submit: !0
|
|
1715
|
-
}, $e = function(t, r) {
|
|
1716
|
-
t = t || {};
|
|
1717
|
-
var n, o, l, c, a, i = {}, s = t.type && hr[t.type];
|
|
1718
|
-
for (n in t) {
|
|
1719
|
-
if (l = t[n], A.isCustomAttribute(n)) {
|
|
1720
|
-
i[n] = l;
|
|
1721
|
-
continue;
|
|
1722
|
-
}
|
|
1723
|
-
if (o = n.toLowerCase(), c = Ee(o), c) {
|
|
1724
|
-
switch (a = A.getPropertyInfo(c), pr.indexOf(c) !== -1 && dr.indexOf(r) !== -1 && !s && (c = Ee("default" + o)), i[c] = l, a && a.type) {
|
|
1725
|
-
case A.BOOLEAN:
|
|
1726
|
-
i[c] = !0;
|
|
1727
|
-
break;
|
|
1728
|
-
case A.OVERLOADED_BOOLEAN:
|
|
1729
|
-
l === "" && (i[c] = !0);
|
|
1730
|
-
break;
|
|
1731
|
-
}
|
|
1732
|
-
continue;
|
|
1733
|
-
}
|
|
1734
|
-
ye.PRESERVE_CUSTOM_ATTRIBUTES && (i[n] = l);
|
|
1735
|
-
}
|
|
1736
|
-
return ye.setStyleProp(t.style, i), i;
|
|
1737
|
-
};
|
|
1738
|
-
function Ee(e) {
|
|
1739
|
-
return A.possibleStandardNames[e];
|
|
1740
|
-
}
|
|
1741
|
-
var mr = Te, vr = $e, P = Ge, gr = P.setStyleProp, yr = P.canTextBeChildOfNode;
|
|
1742
|
-
function Xe(e, t) {
|
|
1743
|
-
t = t || {};
|
|
1744
|
-
for (var r = t.library || mr, n = r.cloneElement, o = r.createElement, l = r.isValidElement, c = [], a, i, s = typeof t.replace == "function", p = t.transform || P.returnFirstArg, h, y, _, d = t.trim, u = 0, v = e.length; u < v; u++) {
|
|
1745
|
-
if (a = e[u], s && (h = t.replace(a), l(h))) {
|
|
1746
|
-
v > 1 && (h = n(h, {
|
|
1747
|
-
key: h.key || u
|
|
1748
|
-
})), c.push(p(h, a, u));
|
|
1749
|
-
continue;
|
|
1750
|
-
}
|
|
1751
|
-
if (a.type === "text") {
|
|
1752
|
-
if (i = !a.data.trim().length, i && a.parent && !yr(a.parent) || d && i)
|
|
1753
|
-
continue;
|
|
1754
|
-
c.push(p(a.data, a, u));
|
|
1755
|
-
continue;
|
|
1756
|
-
}
|
|
1757
|
-
switch (y = a.attribs, Er(a) ? gr(y.style, y) : y && (y = vr(y, a.name)), _ = null, a.type) {
|
|
1758
|
-
case "script":
|
|
1759
|
-
case "style":
|
|
1760
|
-
a.children[0] && (y.dangerouslySetInnerHTML = {
|
|
1761
|
-
__html: a.children[0].data
|
|
1762
|
-
});
|
|
1763
|
-
break;
|
|
1764
|
-
case "tag":
|
|
1765
|
-
a.name === "textarea" && a.children[0] ? y.defaultValue = a.children[0].data : a.children && a.children.length && (_ = Xe(a.children, t));
|
|
1766
|
-
break;
|
|
1767
|
-
default:
|
|
1768
|
-
continue;
|
|
1769
|
-
}
|
|
1770
|
-
v > 1 && (y.key = u), c.push(p(o(a.name, y, _), a, u));
|
|
1771
|
-
}
|
|
1772
|
-
return c.length === 1 ? c[0] : c;
|
|
1773
|
-
}
|
|
1774
|
-
function Er(e) {
|
|
1775
|
-
return P.PRESERVE_CUSTOM_ATTRIBUTES && e.type === "tag" && P.isCustomComponent(e.name, e.attribs);
|
|
1776
|
-
}
|
|
1777
|
-
var br = Xe, V = Y, k = Et, Tr = $e, We = br;
|
|
1778
|
-
k = /* istanbul ignore next */
|
|
1779
|
-
typeof k.default == "function" ? k.default : k;
|
|
1780
|
-
var xr = { lowerCaseAttributeNames: !1 };
|
|
1781
|
-
function x(e, t) {
|
|
1782
|
-
if (typeof e != "string")
|
|
1783
|
-
throw new TypeError("First argument must be a string");
|
|
1784
|
-
return e === "" ? [] : (t = t || {}, We(
|
|
1785
|
-
k(e, t.htmlparser2 || xr),
|
|
1786
|
-
t
|
|
1787
|
-
));
|
|
1788
|
-
}
|
|
1789
|
-
x.domToReact = We;
|
|
1790
|
-
x.htmlToDOM = k;
|
|
1791
|
-
x.attributesToProps = Tr;
|
|
1792
|
-
x.Comment = V.Comment;
|
|
1793
|
-
x.Element = V.Element;
|
|
1794
|
-
x.ProcessingInstruction = V.ProcessingInstruction;
|
|
1795
|
-
x.Text = V.Text;
|
|
1796
|
-
var wr = x;
|
|
1797
|
-
x.default = x;
|
|
1798
|
-
const S = /* @__PURE__ */ Ke(wr);
|
|
1799
|
-
S.domToReact;
|
|
1800
|
-
S.htmlToDOM;
|
|
1801
|
-
S.attributesToProps;
|
|
1802
|
-
S.Comment;
|
|
1803
|
-
S.Element;
|
|
1804
|
-
S.ProcessingInstruction;
|
|
1805
|
-
S.Text;
|
|
1806
|
-
const Cr = "_button_1b48w_1", Sr = "_primary_1b48w_19", _r = "_disabled_1b48w_24", Or = "_ghost_1b48w_36", kr = "_danger_1b48w_51", Ar = "_text_1b48w_67", Nr = "_wide_1b48w_103", Pr = "_icon_1b48w_108", Rr = {
|
|
1807
|
-
button: Cr,
|
|
1808
|
-
primary: Sr,
|
|
1809
|
-
disabled: _r,
|
|
1810
|
-
ghost: Or,
|
|
1811
|
-
danger: kr,
|
|
1812
|
-
text: Ar,
|
|
1813
|
-
wide: Nr,
|
|
1814
|
-
icon: Pr,
|
|
1815
|
-
"icon-start": "_icon-start_1b48w_114",
|
|
1816
|
-
"icon-end": "_icon-end_1b48w_118"
|
|
1817
|
-
}, be = Qe.bind(Rr), Lr = Je(
|
|
1818
|
-
({
|
|
1819
|
-
variant: e = "primary",
|
|
1820
|
-
icon: t,
|
|
1821
|
-
iconPlace: r = "start",
|
|
1822
|
-
wide: n = !1,
|
|
1823
|
-
type: o = "button",
|
|
1824
|
-
children: l,
|
|
1825
|
-
disabled: c = !1,
|
|
1826
|
-
onClick: a,
|
|
1827
|
-
form: i,
|
|
1828
|
-
title: s,
|
|
1829
|
-
className: p,
|
|
1830
|
-
dataAutomationId: h,
|
|
1831
|
-
...y
|
|
1832
|
-
}, _) => {
|
|
1833
|
-
const d = be("button", e, p, {
|
|
1834
|
-
disabled: c,
|
|
1835
|
-
wide: n
|
|
1836
|
-
}), u = e === "text" && t;
|
|
1837
|
-
return /* @__PURE__ */ Ye(
|
|
1838
|
-
"button",
|
|
1839
|
-
{
|
|
1840
|
-
ref: _,
|
|
1841
|
-
type: o,
|
|
1842
|
-
disabled: c,
|
|
1843
|
-
className: d,
|
|
1844
|
-
onClick: a,
|
|
1845
|
-
form: i,
|
|
1846
|
-
title: s,
|
|
1847
|
-
"data-automation-id": h,
|
|
1848
|
-
...y,
|
|
1849
|
-
children: [
|
|
1850
|
-
u && /* @__PURE__ */ Ze(
|
|
1851
|
-
"i",
|
|
1852
|
-
{
|
|
1853
|
-
className: be("icon", {
|
|
1854
|
-
[`icon-${r}`]: r
|
|
1855
|
-
}),
|
|
1856
|
-
children: S(u)
|
|
1857
|
-
}
|
|
1858
|
-
),
|
|
1859
|
-
l
|
|
1860
|
-
]
|
|
1861
|
-
}
|
|
1862
|
-
);
|
|
1863
|
-
}
|
|
1864
|
-
);
|
|
1865
|
-
export {
|
|
1866
|
-
Lr as B
|
|
1867
|
-
};
|