@scalar/components 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1802 +0,0 @@
1
- var U = {}, L = {};
2
- function Te(e, t) {
3
- return t === void 0 && (t = Object), t && typeof t.freeze == "function" ? t.freeze(e) : e;
4
- }
5
- function _t(e, t) {
6
- if (e === null || typeof e != "object")
7
- throw new TypeError("target is not an object");
8
- for (var n in t)
9
- Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
10
- return e;
11
- }
12
- var He = Te({
13
- /**
14
- * `text/html`, the only mime type that triggers treating an XML document as HTML.
15
- *
16
- * @see DOMParser.SupportedType.isHTML
17
- * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration
18
- * @see https://en.wikipedia.org/wiki/HTML Wikipedia
19
- * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN
20
- * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring WHATWG HTML Spec
21
- */
22
- HTML: "text/html",
23
- /**
24
- * Helper method to check a mime type if it indicates an HTML document
25
- *
26
- * @param {string} [value]
27
- * @returns {boolean}
28
- *
29
- * @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration
30
- * @see https://en.wikipedia.org/wiki/HTML Wikipedia
31
- * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN
32
- * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring */
33
- isHTML: function(e) {
34
- return e === He.HTML;
35
- },
36
- /**
37
- * `application/xml`, the standard mime type for XML documents.
38
- *
39
- * @see https://www.iana.org/assignments/media-types/application/xml IANA MimeType registration
40
- * @see https://tools.ietf.org/html/rfc7303#section-9.1 RFC 7303
41
- * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia
42
- */
43
- XML_APPLICATION: "application/xml",
44
- /**
45
- * `text/html`, an alias for `application/xml`.
46
- *
47
- * @see https://tools.ietf.org/html/rfc7303#section-9.2 RFC 7303
48
- * @see https://www.iana.org/assignments/media-types/text/xml IANA MimeType registration
49
- * @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia
50
- */
51
- XML_TEXT: "text/xml",
52
- /**
53
- * `application/xhtml+xml`, indicates an XML document that has the default HTML namespace,
54
- * but is parsed as an XML document.
55
- *
56
- * @see https://www.iana.org/assignments/media-types/application/xhtml+xml IANA MimeType registration
57
- * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument WHATWG DOM Spec
58
- * @see https://en.wikipedia.org/wiki/XHTML Wikipedia
59
- */
60
- XML_XHTML_APPLICATION: "application/xhtml+xml",
61
- /**
62
- * `image/svg+xml`,
63
- *
64
- * @see https://www.iana.org/assignments/media-types/image/svg+xml IANA MimeType registration
65
- * @see https://www.w3.org/TR/SVG11/ W3C SVG 1.1
66
- * @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia
67
- */
68
- XML_SVG_IMAGE: "image/svg+xml"
69
- }), qe = Te({
70
- /**
71
- * The XHTML namespace.
72
- *
73
- * @see http://www.w3.org/1999/xhtml
74
- */
75
- HTML: "http://www.w3.org/1999/xhtml",
76
- /**
77
- * Checks if `uri` equals `NAMESPACE.HTML`.
78
- *
79
- * @param {string} [uri]
80
- *
81
- * @see NAMESPACE.HTML
82
- */
83
- isHTML: function(e) {
84
- return e === qe.HTML;
85
- },
86
- /**
87
- * The SVG namespace.
88
- *
89
- * @see http://www.w3.org/2000/svg
90
- */
91
- SVG: "http://www.w3.org/2000/svg",
92
- /**
93
- * The `xml:` namespace.
94
- *
95
- * @see http://www.w3.org/XML/1998/namespace
96
- */
97
- XML: "http://www.w3.org/XML/1998/namespace",
98
- /**
99
- * The `xmlns:` namespace
100
- *
101
- * @see https://www.w3.org/2000/xmlns/
102
- */
103
- XMLNS: "http://www.w3.org/2000/xmlns/"
104
- });
105
- L.assign = _t;
106
- L.freeze = Te;
107
- L.MIME_TYPE = He;
108
- L.NAMESPACE = qe;
109
- var bt = L, K = bt.NAMESPACE;
110
- function Ot(e) {
111
- return e !== "";
112
- }
113
- function At(e) {
114
- return e ? e.split(/[\t\n\f\r ]+/).filter(Ot) : [];
115
- }
116
- function xt(e, t) {
117
- return e.hasOwnProperty(t) || (e[t] = !0), e;
118
- }
119
- function Me(e) {
120
- if (!e)
121
- return [];
122
- var t = At(e);
123
- return Object.keys(t.reduce(xt, {}));
124
- }
125
- function It(e) {
126
- return function(t) {
127
- return e && e.indexOf(t) !== -1;
128
- };
129
- }
130
- function te(e, t) {
131
- for (var n in e)
132
- Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
133
- }
134
- function b(e, t) {
135
- var n = e.prototype;
136
- if (!(n instanceof t)) {
137
- let r = function() {
138
- };
139
- r.prototype = t.prototype, r = new r(), te(n, r), e.prototype = n = r;
140
- }
141
- n.constructor != e && (typeof e != "function" && console.error("unknown Class:" + e), n.constructor = e);
142
- }
143
- var O = {}, S = O.ELEMENT_NODE = 1, Y = O.ATTRIBUTE_NODE = 2, ue = O.TEXT_NODE = 3, Be = O.CDATA_SECTION_NODE = 4, Qe = O.ENTITY_REFERENCE_NODE = 5, St = O.ENTITY_NODE = 6, We = O.PROCESSING_INSTRUCTION_NODE = 7, Ze = O.COMMENT_NODE = 8, Ke = O.DOCUMENT_NODE = 9, Je = O.DOCUMENT_TYPE_NODE = 10, M = O.DOCUMENT_FRAGMENT_NODE = 11, Ct = O.NOTATION_NODE = 12, D = {}, T = {};
144
- D.INDEX_SIZE_ERR = (T[1] = "Index size error", 1);
145
- D.DOMSTRING_SIZE_ERR = (T[2] = "DOMString size error", 2);
146
- var C = D.HIERARCHY_REQUEST_ERR = (T[3] = "Hierarchy request error", 3);
147
- D.WRONG_DOCUMENT_ERR = (T[4] = "Wrong document", 4);
148
- D.INVALID_CHARACTER_ERR = (T[5] = "Invalid character", 5);
149
- D.NO_DATA_ALLOWED_ERR = (T[6] = "No data allowed", 6);
150
- D.NO_MODIFICATION_ALLOWED_ERR = (T[7] = "No modification allowed", 7);
151
- var et = D.NOT_FOUND_ERR = (T[8] = "Not found", 8);
152
- D.NOT_SUPPORTED_ERR = (T[9] = "Not supported", 9);
153
- var Pe = D.INUSE_ATTRIBUTE_ERR = (T[10] = "Attribute in use", 10);
154
- D.INVALID_STATE_ERR = (T[11] = "Invalid state", 11);
155
- D.SYNTAX_ERR = (T[12] = "Syntax error", 12);
156
- D.INVALID_MODIFICATION_ERR = (T[13] = "Invalid modification", 13);
157
- D.NAMESPACE_ERR = (T[14] = "Invalid namespace", 14);
158
- D.INVALID_ACCESS_ERR = (T[15] = "Invalid access", 15);
159
- function y(e, t) {
160
- if (t instanceof Error)
161
- var n = t;
162
- else
163
- n = this, Error.call(this, T[e]), this.message = T[e], Error.captureStackTrace && Error.captureStackTrace(this, y);
164
- return n.code = e, t && (this.message = this.message + ": " + t), n;
165
- }
166
- y.prototype = Error.prototype;
167
- te(D, y);
168
- function R() {
169
- }
170
- R.prototype = {
171
- /**
172
- * The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.
173
- * @standard level1
174
- */
175
- length: 0,
176
- /**
177
- * Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
178
- * @standard level1
179
- * @param index unsigned long
180
- * Index into the collection.
181
- * @return Node
182
- * The node at the indexth position in the NodeList, or null if that is not a valid index.
183
- */
184
- item: function(e) {
185
- return this[e] || null;
186
- },
187
- toString: function(e, t) {
188
- for (var n = [], r = 0; r < this.length; r++)
189
- V(this[r], n, e, t);
190
- return n.join("");
191
- },
192
- /**
193
- * @private
194
- * @param {function (Node):boolean} predicate
195
- * @returns {Node | undefined}
196
- */
197
- find: function(e) {
198
- return Array.prototype.find.call(this, e);
199
- },
200
- /**
201
- * @private
202
- * @param {function (Node):boolean} predicate
203
- * @returns {Node[]}
204
- */
205
- filter: function(e) {
206
- return Array.prototype.filter.call(this, e);
207
- },
208
- /**
209
- * @private
210
- * @param {Node} item
211
- * @returns {number}
212
- */
213
- indexOf: function(e) {
214
- return Array.prototype.indexOf.call(this, e);
215
- }
216
- };
217
- function H(e, t) {
218
- this._node = e, this._refresh = t, ye(this);
219
- }
220
- function ye(e) {
221
- var t = e._node._inc || e._node.ownerDocument._inc;
222
- if (e._inc != t) {
223
- var n = e._refresh(e._node);
224
- ht(e, "length", n.length), te(n, e), e._inc = t;
225
- }
226
- }
227
- H.prototype.item = function(e) {
228
- return ye(this), this[e];
229
- };
230
- b(H, R);
231
- function se() {
232
- }
233
- function tt(e, t) {
234
- for (var n = e.length; n--; )
235
- if (e[n] === t)
236
- return n;
237
- }
238
- function Ue(e, t, n, r) {
239
- if (r ? t[tt(t, r)] = n : t[t.length++] = n, e) {
240
- n.ownerElement = e;
241
- var i = e.ownerDocument;
242
- i && (r && it(i, e, r), Rt(i, e, n));
243
- }
244
- }
245
- function Le(e, t, n) {
246
- var r = tt(t, n);
247
- if (r >= 0) {
248
- for (var i = t.length - 1; r < i; )
249
- t[r] = t[++r];
250
- if (t.length = i, e) {
251
- var a = e.ownerDocument;
252
- a && (it(a, e, n), n.ownerElement = null);
253
- }
254
- } else
255
- throw new y(et, new Error(e.tagName + "@" + n));
256
- }
257
- se.prototype = {
258
- length: 0,
259
- item: R.prototype.item,
260
- getNamedItem: function(e) {
261
- for (var t = this.length; t--; ) {
262
- var n = this[t];
263
- if (n.nodeName == e)
264
- return n;
265
- }
266
- },
267
- setNamedItem: function(e) {
268
- var t = e.ownerElement;
269
- if (t && t != this._ownerElement)
270
- throw new y(Pe);
271
- var n = this.getNamedItem(e.nodeName);
272
- return Ue(this._ownerElement, this, e, n), n;
273
- },
274
- /* returns Node */
275
- setNamedItemNS: function(e) {
276
- var t = e.ownerElement, n;
277
- if (t && t != this._ownerElement)
278
- throw new y(Pe);
279
- return n = this.getNamedItemNS(e.namespaceURI, e.localName), Ue(this._ownerElement, this, e, n), n;
280
- },
281
- /* returns Node */
282
- removeNamedItem: function(e) {
283
- var t = this.getNamedItem(e);
284
- return Le(this._ownerElement, this, t), t;
285
- },
286
- // raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR
287
- //for level2
288
- removeNamedItemNS: function(e, t) {
289
- var n = this.getNamedItemNS(e, t);
290
- return Le(this._ownerElement, this, n), n;
291
- },
292
- getNamedItemNS: function(e, t) {
293
- for (var n = this.length; n--; ) {
294
- var r = this[n];
295
- if (r.localName == t && r.namespaceURI == e)
296
- return r;
297
- }
298
- return null;
299
- }
300
- };
301
- function nt() {
302
- }
303
- nt.prototype = {
304
- /**
305
- * The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.
306
- * The different implementations fairly diverged in what kind of features were reported.
307
- * The latest version of the spec settled to force this method to always return true, where the functionality was accurate and in use.
308
- *
309
- * @deprecated It is deprecated and modern browsers return true in all cases.
310
- *
311
- * @param {string} feature
312
- * @param {string} [version]
313
- * @returns {boolean} always true
314
- *
315
- * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature MDN
316
- * @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core
317
- * @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard
318
- */
319
- hasFeature: function(e, t) {
320
- return !0;
321
- },
322
- /**
323
- * Creates an XML Document object of the specified type with its document element.
324
- *
325
- * __It behaves slightly different from the description in the living standard__:
326
- * - There is no interface/class `XMLDocument`, it returns a `Document` instance.
327
- * - `contentType`, `encoding`, `mode`, `origin`, `url` fields are currently not declared.
328
- * - this implementation is not validating names or qualified names
329
- * (when parsing XML strings, the SAX parser takes care of that)
330
- *
331
- * @param {string|null} namespaceURI
332
- * @param {string} qualifiedName
333
- * @param {DocumentType=null} doctype
334
- * @returns {Document}
335
- *
336
- * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument MDN
337
- * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument DOM Level 2 Core (initial)
338
- * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument DOM Level 2 Core
339
- *
340
- * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract
341
- * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
342
- * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
343
- */
344
- createDocument: function(e, t, n) {
345
- var r = new ne();
346
- if (r.implementation = this, r.childNodes = new R(), r.doctype = n || null, n && r.appendChild(n), t) {
347
- var i = r.createElementNS(e, t);
348
- r.appendChild(i);
349
- }
350
- return r;
351
- },
352
- /**
353
- * Returns a doctype, with the given `qualifiedName`, `publicId`, and `systemId`.
354
- *
355
- * __This behavior is slightly different from the in the specs__:
356
- * - this implementation is not validating names or qualified names
357
- * (when parsing XML strings, the SAX parser takes care of that)
358
- *
359
- * @param {string} qualifiedName
360
- * @param {string} [publicId]
361
- * @param {string} [systemId]
362
- * @returns {DocumentType} which can either be used with `DOMImplementation.createDocument` upon document creation
363
- * or can be put into the document via methods like `Node.insertBefore()` or `Node.replaceChild()`
364
- *
365
- * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType MDN
366
- * @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocType DOM Level 2 Core
367
- * @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype DOM Living Standard
368
- *
369
- * @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract
370
- * @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
371
- * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
372
- */
373
- createDocumentType: function(e, t, n) {
374
- var r = new le();
375
- return r.name = e, r.nodeName = e, r.publicId = t || "", r.systemId = n || "", r;
376
- }
377
- };
378
- function p() {
379
- }
380
- p.prototype = {
381
- firstChild: null,
382
- lastChild: null,
383
- previousSibling: null,
384
- nextSibling: null,
385
- attributes: null,
386
- parentNode: null,
387
- childNodes: null,
388
- ownerDocument: null,
389
- nodeValue: null,
390
- namespaceURI: null,
391
- prefix: null,
392
- localName: null,
393
- // Modified in DOM Level 2:
394
- insertBefore: function(e, t) {
395
- return ut(this, e, t);
396
- },
397
- replaceChild: function(e, t) {
398
- this.insertBefore(e, t), t && this.removeChild(t);
399
- },
400
- removeChild: function(e) {
401
- return at(this, e);
402
- },
403
- appendChild: function(e) {
404
- return this.insertBefore(e, null);
405
- },
406
- hasChildNodes: function() {
407
- return this.firstChild != null;
408
- },
409
- cloneNode: function(e) {
410
- return Ne(this.ownerDocument || this, this, e);
411
- },
412
- // Modified in DOM Level 2:
413
- normalize: function() {
414
- for (var e = this.firstChild; e; ) {
415
- var t = e.nextSibling;
416
- t && t.nodeType == ue && e.nodeType == ue ? (this.removeChild(t), e.appendData(t.data)) : (e.normalize(), e = t);
417
- }
418
- },
419
- // Introduced in DOM Level 2:
420
- isSupported: function(e, t) {
421
- return this.ownerDocument.implementation.hasFeature(e, t);
422
- },
423
- // Introduced in DOM Level 2:
424
- hasAttributes: function() {
425
- return this.attributes.length > 0;
426
- },
427
- /**
428
- * Look up the prefix associated to the given namespace URI, starting from this node.
429
- * **The default namespace declarations are ignored by this method.**
430
- * See Namespace Prefix Lookup for details on the algorithm used by this method.
431
- *
432
- * _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._
433
- *
434
- * @param {string | null} namespaceURI
435
- * @returns {string | null}
436
- * @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix
437
- * @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo
438
- * @see https://dom.spec.whatwg.org/#dom-node-lookupprefix
439
- * @see https://github.com/xmldom/xmldom/issues/322
440
- */
441
- lookupPrefix: function(e) {
442
- for (var t = this; t; ) {
443
- var n = t._nsMap;
444
- if (n) {
445
- for (var r in n)
446
- if (Object.prototype.hasOwnProperty.call(n, r) && n[r] === e)
447
- return r;
448
- }
449
- t = t.nodeType == Y ? t.ownerDocument : t.parentNode;
450
- }
451
- return null;
452
- },
453
- // Introduced in DOM Level 3:
454
- lookupNamespaceURI: function(e) {
455
- for (var t = this; t; ) {
456
- var n = t._nsMap;
457
- if (n && Object.prototype.hasOwnProperty.call(n, e))
458
- return n[e];
459
- t = t.nodeType == Y ? t.ownerDocument : t.parentNode;
460
- }
461
- return null;
462
- },
463
- // Introduced in DOM Level 3:
464
- isDefaultNamespace: function(e) {
465
- var t = this.lookupPrefix(e);
466
- return t == null;
467
- }
468
- };
469
- function rt(e) {
470
- return e == "<" && "&lt;" || e == ">" && "&gt;" || e == "&" && "&amp;" || e == '"' && "&quot;" || "&#" + e.charCodeAt() + ";";
471
- }
472
- te(O, p);
473
- te(O, p.prototype);
474
- function J(e, t) {
475
- if (t(e))
476
- return !0;
477
- if (e = e.firstChild)
478
- do
479
- if (J(e, t))
480
- return !0;
481
- while (e = e.nextSibling);
482
- }
483
- function ne() {
484
- }
485
- function Rt(e, t, n) {
486
- e && e._inc++;
487
- var r = n.namespaceURI;
488
- r === K.XMLNS && (t._nsMap[n.prefix ? n.localName : ""] = n.value);
489
- }
490
- function it(e, t, n, r) {
491
- e && e._inc++;
492
- var i = n.namespaceURI;
493
- i === K.XMLNS && delete t._nsMap[n.prefix ? n.localName : ""];
494
- }
495
- function De(e, t, n) {
496
- if (e && e._inc) {
497
- e._inc++;
498
- var r = t.childNodes;
499
- if (n)
500
- r[r.length++] = n;
501
- else {
502
- for (var i = t.firstChild, a = 0; i; )
503
- r[a++] = i, i = i.nextSibling;
504
- r.length = a, delete r[r.length];
505
- }
506
- }
507
- }
508
- function at(e, t) {
509
- var n = t.previousSibling, r = t.nextSibling;
510
- return n ? n.nextSibling = r : e.firstChild = r, r ? r.previousSibling = n : e.lastChild = n, t.parentNode = null, t.previousSibling = null, t.nextSibling = null, De(e.ownerDocument, e), t;
511
- }
512
- function Mt(e) {
513
- return e && (e.nodeType === p.DOCUMENT_NODE || e.nodeType === p.DOCUMENT_FRAGMENT_NODE || e.nodeType === p.ELEMENT_NODE);
514
- }
515
- function Pt(e) {
516
- return e && (j(e) || ot(e) || G(e) || e.nodeType === p.DOCUMENT_FRAGMENT_NODE || e.nodeType === p.COMMENT_NODE || e.nodeType === p.PROCESSING_INSTRUCTION_NODE);
517
- }
518
- function G(e) {
519
- return e && e.nodeType === p.DOCUMENT_TYPE_NODE;
520
- }
521
- function j(e) {
522
- return e && e.nodeType === p.ELEMENT_NODE;
523
- }
524
- function ot(e) {
525
- return e && e.nodeType === p.TEXT_NODE;
526
- }
527
- function ke(e, t) {
528
- var n = e.childNodes || [];
529
- if (n.find(j) || G(t))
530
- return !1;
531
- var r = n.find(G);
532
- return !(t && r && n.indexOf(r) > n.indexOf(t));
533
- }
534
- function ut(e, t, n) {
535
- if (!Mt(e))
536
- throw new y(C, "Unexpected parent node type " + e.nodeType);
537
- if (n && n.parentNode !== e)
538
- throw new y(et, "child not in parent");
539
- if (!Pt(t) || // the sax parser currently adds top level text nodes, this will be fixed in 0.9.0
540
- // || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)
541
- G(t) && e.nodeType !== p.DOCUMENT_NODE)
542
- throw new y(
543
- C,
544
- "Unexpected node type " + t.nodeType + " for parent node type " + e.nodeType
545
- );
546
- var r = e.childNodes || [], i = t.childNodes || [];
547
- if (e.nodeType === p.DOCUMENT_NODE) {
548
- if (t.nodeType === p.DOCUMENT_FRAGMENT_NODE) {
549
- let c = i.filter(j);
550
- if (c.length > 1 || i.find(ot))
551
- throw new y(C, "More than one element or text in fragment");
552
- if (c.length === 1 && !ke(e, n))
553
- throw new y(C, "Element in fragment can not be inserted before doctype");
554
- }
555
- if (j(t) && (r.find(j) || !ke(e, n)))
556
- throw new y(C, "Only one element can be added and only after doctype");
557
- if (G(t)) {
558
- if (r.find(G))
559
- throw new y(C, "Only one doctype is allowed");
560
- let c = r.find(j);
561
- if (n && r.indexOf(c) < r.indexOf(n))
562
- throw new y(C, "Doctype can only be inserted before an element");
563
- if (!n && c)
564
- throw new y(C, "Doctype can not be appended since element is present");
565
- }
566
- }
567
- var a = t.parentNode;
568
- if (a && a.removeChild(t), t.nodeType === M) {
569
- var o = t.firstChild;
570
- if (o == null)
571
- return t;
572
- var s = t.lastChild;
573
- } else
574
- o = s = t;
575
- var u = n ? n.previousSibling : e.lastChild;
576
- o.previousSibling = u, s.nextSibling = n, u ? u.nextSibling = o : e.firstChild = o, n == null ? e.lastChild = s : n.previousSibling = s;
577
- do
578
- o.parentNode = e;
579
- while (o !== s && (o = o.nextSibling));
580
- return De(e.ownerDocument || e, e), t.nodeType == M && (t.firstChild = t.lastChild = null), t;
581
- }
582
- function Ut(e, t) {
583
- return t.parentNode && t.parentNode.removeChild(t), t.parentNode = e, t.previousSibling = e.lastChild, t.nextSibling = null, t.previousSibling ? t.previousSibling.nextSibling = t : e.firstChild = t, e.lastChild = t, De(e.ownerDocument, e, t), t;
584
- }
585
- ne.prototype = {
586
- //implementation : null,
587
- nodeName: "#document",
588
- nodeType: Ke,
589
- /**
590
- * The DocumentType node of the document.
591
- *
592
- * @readonly
593
- * @type DocumentType
594
- */
595
- doctype: null,
596
- documentElement: null,
597
- _inc: 1,
598
- insertBefore: function(e, t) {
599
- if (e.nodeType == M) {
600
- for (var n = e.firstChild; n; ) {
601
- var r = n.nextSibling;
602
- this.insertBefore(n, t), n = r;
603
- }
604
- return e;
605
- }
606
- return ut(this, e, t), e.ownerDocument = this, this.documentElement === null && e.nodeType === S && (this.documentElement = e), e;
607
- },
608
- removeChild: function(e) {
609
- return this.documentElement == e && (this.documentElement = null), at(this, e);
610
- },
611
- // Introduced in DOM Level 2:
612
- importNode: function(e, t) {
613
- return pt(this, e, t);
614
- },
615
- // Introduced in DOM Level 2:
616
- getElementById: function(e) {
617
- var t = null;
618
- return J(this.documentElement, function(n) {
619
- if (n.nodeType == S && n.getAttribute("id") == e)
620
- return t = n, !0;
621
- }), t;
622
- },
623
- /**
624
- * The `getElementsByClassName` method of `Document` interface returns an array-like object
625
- * of all child elements which have **all** of the given class name(s).
626
- *
627
- * Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters.
628
- *
629
- *
630
- * Warning: This is a live LiveNodeList.
631
- * Changes in the DOM will reflect in the array as the changes occur.
632
- * If an element selected by this array no longer qualifies for the selector,
633
- * it will automatically be removed. Be aware of this for iteration purposes.
634
- *
635
- * @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace
636
- *
637
- * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName
638
- * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname
639
- */
640
- getElementsByClassName: function(e) {
641
- var t = Me(e);
642
- return new H(this, function(n) {
643
- var r = [];
644
- return t.length > 0 && J(n.documentElement, function(i) {
645
- if (i !== n && i.nodeType === S) {
646
- var a = i.getAttribute("class");
647
- if (a) {
648
- var o = e === a;
649
- if (!o) {
650
- var s = Me(a);
651
- o = t.every(It(s));
652
- }
653
- o && r.push(i);
654
- }
655
- }
656
- }), r;
657
- });
658
- },
659
- //document factory method:
660
- createElement: function(e) {
661
- var t = new k();
662
- t.ownerDocument = this, t.nodeName = e, t.tagName = e, t.localName = e, t.childNodes = new R();
663
- var n = t.attributes = new se();
664
- return n._ownerElement = t, t;
665
- },
666
- createDocumentFragment: function() {
667
- var e = new fe();
668
- return e.ownerDocument = this, e.childNodes = new R(), e;
669
- },
670
- createTextNode: function(e) {
671
- var t = new we();
672
- return t.ownerDocument = this, t.appendData(e), t;
673
- },
674
- createComment: function(e) {
675
- var t = new _e();
676
- return t.ownerDocument = this, t.appendData(e), t;
677
- },
678
- createCDATASection: function(e) {
679
- var t = new be();
680
- return t.ownerDocument = this, t.appendData(e), t;
681
- },
682
- createProcessingInstruction: function(e, t) {
683
- var n = new Ae();
684
- return n.ownerDocument = this, n.tagName = n.target = e, n.nodeValue = n.data = t, n;
685
- },
686
- createAttribute: function(e) {
687
- var t = new ce();
688
- return t.ownerDocument = this, t.name = e, t.nodeName = e, t.localName = e, t.specified = !0, t;
689
- },
690
- createEntityReference: function(e) {
691
- var t = new Oe();
692
- return t.ownerDocument = this, t.nodeName = e, t;
693
- },
694
- // Introduced in DOM Level 2:
695
- createElementNS: function(e, t) {
696
- var n = new k(), r = t.split(":"), i = n.attributes = new se();
697
- return n.childNodes = new R(), n.ownerDocument = this, n.nodeName = t, n.tagName = t, n.namespaceURI = e, r.length == 2 ? (n.prefix = r[0], n.localName = r[1]) : n.localName = t, i._ownerElement = n, n;
698
- },
699
- // Introduced in DOM Level 2:
700
- createAttributeNS: function(e, t) {
701
- var n = new ce(), r = t.split(":");
702
- return n.ownerDocument = this, n.nodeName = t, n.name = t, n.namespaceURI = e, n.specified = !0, r.length == 2 ? (n.prefix = r[0], n.localName = r[1]) : n.localName = t, n;
703
- }
704
- };
705
- b(ne, p);
706
- function k() {
707
- this._nsMap = {};
708
- }
709
- k.prototype = {
710
- nodeType: S,
711
- hasAttribute: function(e) {
712
- return this.getAttributeNode(e) != null;
713
- },
714
- getAttribute: function(e) {
715
- var t = this.getAttributeNode(e);
716
- return t && t.value || "";
717
- },
718
- getAttributeNode: function(e) {
719
- return this.attributes.getNamedItem(e);
720
- },
721
- setAttribute: function(e, t) {
722
- var n = this.ownerDocument.createAttribute(e);
723
- n.value = n.nodeValue = "" + t, this.setAttributeNode(n);
724
- },
725
- removeAttribute: function(e) {
726
- var t = this.getAttributeNode(e);
727
- t && this.removeAttributeNode(t);
728
- },
729
- //four real opeartion method
730
- appendChild: function(e) {
731
- return e.nodeType === M ? this.insertBefore(e, null) : Ut(this, e);
732
- },
733
- setAttributeNode: function(e) {
734
- return this.attributes.setNamedItem(e);
735
- },
736
- setAttributeNodeNS: function(e) {
737
- return this.attributes.setNamedItemNS(e);
738
- },
739
- removeAttributeNode: function(e) {
740
- return this.attributes.removeNamedItem(e.nodeName);
741
- },
742
- //get real attribute name,and remove it by removeAttributeNode
743
- removeAttributeNS: function(e, t) {
744
- var n = this.getAttributeNodeNS(e, t);
745
- n && this.removeAttributeNode(n);
746
- },
747
- hasAttributeNS: function(e, t) {
748
- return this.getAttributeNodeNS(e, t) != null;
749
- },
750
- getAttributeNS: function(e, t) {
751
- var n = this.getAttributeNodeNS(e, t);
752
- return n && n.value || "";
753
- },
754
- setAttributeNS: function(e, t, n) {
755
- var r = this.ownerDocument.createAttributeNS(e, t);
756
- r.value = r.nodeValue = "" + n, this.setAttributeNode(r);
757
- },
758
- getAttributeNodeNS: function(e, t) {
759
- return this.attributes.getNamedItemNS(e, t);
760
- },
761
- getElementsByTagName: function(e) {
762
- return new H(this, function(t) {
763
- var n = [];
764
- return J(t, function(r) {
765
- r !== t && r.nodeType == S && (e === "*" || r.tagName == e) && n.push(r);
766
- }), n;
767
- });
768
- },
769
- getElementsByTagNameNS: function(e, t) {
770
- return new H(this, function(n) {
771
- var r = [];
772
- return J(n, function(i) {
773
- i !== n && i.nodeType === S && (e === "*" || i.namespaceURI === e) && (t === "*" || i.localName == t) && r.push(i);
774
- }), r;
775
- });
776
- }
777
- };
778
- ne.prototype.getElementsByTagName = k.prototype.getElementsByTagName;
779
- ne.prototype.getElementsByTagNameNS = k.prototype.getElementsByTagNameNS;
780
- b(k, p);
781
- function ce() {
782
- }
783
- ce.prototype.nodeType = Y;
784
- b(ce, p);
785
- function re() {
786
- }
787
- re.prototype = {
788
- data: "",
789
- substringData: function(e, t) {
790
- return this.data.substring(e, e + t);
791
- },
792
- appendData: function(e) {
793
- e = this.data + e, this.nodeValue = this.data = e, this.length = e.length;
794
- },
795
- insertData: function(e, t) {
796
- this.replaceData(e, 0, t);
797
- },
798
- appendChild: function(e) {
799
- throw new Error(T[C]);
800
- },
801
- deleteData: function(e, t) {
802
- this.replaceData(e, t, "");
803
- },
804
- replaceData: function(e, t, n) {
805
- var r = this.data.substring(0, e), i = this.data.substring(e + t);
806
- n = r + n + i, this.nodeValue = this.data = n, this.length = n.length;
807
- }
808
- };
809
- b(re, p);
810
- function we() {
811
- }
812
- we.prototype = {
813
- nodeName: "#text",
814
- nodeType: ue,
815
- splitText: function(e) {
816
- var t = this.data, n = t.substring(e);
817
- t = t.substring(0, e), this.data = this.nodeValue = t, this.length = t.length;
818
- var r = this.ownerDocument.createTextNode(n);
819
- return this.parentNode && this.parentNode.insertBefore(r, this.nextSibling), r;
820
- }
821
- };
822
- b(we, re);
823
- function _e() {
824
- }
825
- _e.prototype = {
826
- nodeName: "#comment",
827
- nodeType: Ze
828
- };
829
- b(_e, re);
830
- function be() {
831
- }
832
- be.prototype = {
833
- nodeName: "#cdata-section",
834
- nodeType: Be
835
- };
836
- b(be, re);
837
- function le() {
838
- }
839
- le.prototype.nodeType = Je;
840
- b(le, p);
841
- function st() {
842
- }
843
- st.prototype.nodeType = Ct;
844
- b(st, p);
845
- function ct() {
846
- }
847
- ct.prototype.nodeType = St;
848
- b(ct, p);
849
- function Oe() {
850
- }
851
- Oe.prototype.nodeType = Qe;
852
- b(Oe, p);
853
- function fe() {
854
- }
855
- fe.prototype.nodeName = "#document-fragment";
856
- fe.prototype.nodeType = M;
857
- b(fe, p);
858
- function Ae() {
859
- }
860
- Ae.prototype.nodeType = We;
861
- b(Ae, p);
862
- function lt() {
863
- }
864
- lt.prototype.serializeToString = function(e, t, n) {
865
- return ft.call(e, t, n);
866
- };
867
- p.prototype.toString = ft;
868
- function ft(e, t) {
869
- var n = [], r = this.nodeType == 9 && this.documentElement || this, i = r.prefix, a = r.namespaceURI;
870
- if (a && i == null) {
871
- var i = r.lookupPrefix(a);
872
- if (i == null)
873
- var o = [
874
- { namespace: a, prefix: null }
875
- //{namespace:uri,prefix:''}
876
- ];
877
- }
878
- return V(this, n, e, t, o), n.join("");
879
- }
880
- function $e(e, t, n) {
881
- var r = e.prefix || "", i = e.namespaceURI;
882
- if (!i || r === "xml" && i === K.XML || i === K.XMLNS)
883
- return !1;
884
- for (var a = n.length; a--; ) {
885
- var o = n[a];
886
- if (o.prefix === r)
887
- return o.namespace !== i;
888
- }
889
- return !0;
890
- }
891
- function Ee(e, t, n) {
892
- e.push(" ", t, '="', n.replace(/[<>&"\t\n\r]/g, rt), '"');
893
- }
894
- function V(e, t, n, r, i) {
895
- if (i || (i = []), r)
896
- if (e = r(e), e) {
897
- if (typeof e == "string") {
898
- t.push(e);
899
- return;
900
- }
901
- } else
902
- return;
903
- switch (e.nodeType) {
904
- case S:
905
- var a = e.attributes, o = a.length, d = e.firstChild, s = e.tagName;
906
- n = K.isHTML(e.namespaceURI) || n;
907
- var u = s;
908
- if (!n && !e.prefix && e.namespaceURI) {
909
- for (var c, l = 0; l < a.length; l++)
910
- if (a.item(l).name === "xmlns") {
911
- c = a.item(l).value;
912
- break;
913
- }
914
- if (!c)
915
- for (var h = i.length - 1; h >= 0; h--) {
916
- var f = i[h];
917
- if (f.prefix === "" && f.namespace === e.namespaceURI) {
918
- c = f.namespace;
919
- break;
920
- }
921
- }
922
- if (c !== e.namespaceURI)
923
- for (var h = i.length - 1; h >= 0; h--) {
924
- var f = i[h];
925
- if (f.namespace === e.namespaceURI) {
926
- f.prefix && (u = f.prefix + ":" + s);
927
- break;
928
- }
929
- }
930
- }
931
- t.push("<", u);
932
- for (var N = 0; N < o; N++) {
933
- var _ = a.item(N);
934
- _.prefix == "xmlns" ? i.push({ prefix: _.localName, namespace: _.value }) : _.nodeName == "xmlns" && i.push({ prefix: "", namespace: _.value });
935
- }
936
- for (var N = 0; N < o; N++) {
937
- var _ = a.item(N);
938
- if ($e(_, n, i)) {
939
- var E = _.prefix || "", m = _.namespaceURI;
940
- Ee(t, E ? "xmlns:" + E : "xmlns", m), i.push({ prefix: E, namespace: m });
941
- }
942
- V(_, t, n, r, i);
943
- }
944
- if (s === u && $e(e, n, i)) {
945
- var E = e.prefix || "", m = e.namespaceURI;
946
- Ee(t, E ? "xmlns:" + E : "xmlns", m), i.push({ prefix: E, namespace: m });
947
- }
948
- if (d || n && !/^(?:meta|link|img|br|hr|input)$/i.test(s)) {
949
- if (t.push(">"), n && /^script$/i.test(s))
950
- for (; d; )
951
- d.data ? t.push(d.data) : V(d, t, n, r, i.slice()), d = d.nextSibling;
952
- else
953
- for (; d; )
954
- V(d, t, n, r, i.slice()), d = d.nextSibling;
955
- t.push("</", u, ">");
956
- } else
957
- t.push("/>");
958
- return;
959
- case Ke:
960
- case M:
961
- for (var d = e.firstChild; d; )
962
- V(d, t, n, r, i.slice()), d = d.nextSibling;
963
- return;
964
- case Y:
965
- return Ee(t, e.name, e.value);
966
- case ue:
967
- return t.push(
968
- e.data.replace(/[<&>]/g, rt)
969
- );
970
- case Be:
971
- return t.push("<![CDATA[", e.data, "]]>");
972
- case Ze:
973
- return t.push("<!--", e.data, "-->");
974
- case Je:
975
- var B = e.publicId, g = e.systemId;
976
- if (t.push("<!DOCTYPE ", e.name), B)
977
- t.push(" PUBLIC ", B), g && g != "." && t.push(" ", g), t.push(">");
978
- else if (g && g != ".")
979
- t.push(" SYSTEM ", g, ">");
980
- else {
981
- var x = e.internalSubset;
982
- x && t.push(" [", x, "]"), t.push(">");
983
- }
984
- return;
985
- case We:
986
- return t.push("<?", e.target, " ", e.data, "?>");
987
- case Qe:
988
- return t.push("&", e.nodeName, ";");
989
- default:
990
- t.push("??", e.nodeName);
991
- }
992
- }
993
- function pt(e, t, n) {
994
- var r;
995
- switch (t.nodeType) {
996
- case S:
997
- r = t.cloneNode(!1), r.ownerDocument = e;
998
- case M:
999
- break;
1000
- case Y:
1001
- n = !0;
1002
- break;
1003
- }
1004
- if (r || (r = t.cloneNode(!1)), r.ownerDocument = e, r.parentNode = null, n)
1005
- for (var i = t.firstChild; i; )
1006
- r.appendChild(pt(e, i, n)), i = i.nextSibling;
1007
- return r;
1008
- }
1009
- function Ne(e, t, n) {
1010
- var r = new t.constructor();
1011
- for (var i in t)
1012
- if (Object.prototype.hasOwnProperty.call(t, i)) {
1013
- var a = t[i];
1014
- typeof a != "object" && a != r[i] && (r[i] = a);
1015
- }
1016
- switch (t.childNodes && (r.childNodes = new R()), r.ownerDocument = e, r.nodeType) {
1017
- case S:
1018
- var o = t.attributes, s = r.attributes = new se(), u = o.length;
1019
- s._ownerElement = r;
1020
- for (var c = 0; c < u; c++)
1021
- r.setAttributeNode(Ne(e, o.item(c), !0));
1022
- break;
1023
- case Y:
1024
- n = !0;
1025
- }
1026
- if (n)
1027
- for (var l = t.firstChild; l; )
1028
- r.appendChild(Ne(e, l, n)), l = l.nextSibling;
1029
- return r;
1030
- }
1031
- function ht(e, t, n) {
1032
- e[t] = n;
1033
- }
1034
- try {
1035
- if (Object.defineProperty) {
1036
- let e = function(t) {
1037
- switch (t.nodeType) {
1038
- case S:
1039
- case M:
1040
- var n = [];
1041
- for (t = t.firstChild; t; )
1042
- t.nodeType !== 7 && t.nodeType !== 8 && n.push(e(t)), t = t.nextSibling;
1043
- return n.join("");
1044
- default:
1045
- return t.nodeValue;
1046
- }
1047
- };
1048
- Object.defineProperty(H.prototype, "length", {
1049
- get: function() {
1050
- return ye(this), this.$$length;
1051
- }
1052
- }), Object.defineProperty(p.prototype, "textContent", {
1053
- get: function() {
1054
- return e(this);
1055
- },
1056
- set: function(t) {
1057
- switch (this.nodeType) {
1058
- case S:
1059
- case M:
1060
- for (; this.firstChild; )
1061
- this.removeChild(this.firstChild);
1062
- (t || String(t)) && this.appendChild(this.ownerDocument.createTextNode(t));
1063
- break;
1064
- default:
1065
- this.data = t, this.value = t, this.nodeValue = t;
1066
- }
1067
- }
1068
- }), ht = function(t, n, r) {
1069
- t["$$" + n] = r;
1070
- };
1071
- }
1072
- } catch {
1073
- }
1074
- U.DocumentType = le;
1075
- U.DOMException = y;
1076
- U.DOMImplementation = nt;
1077
- U.Element = k;
1078
- U.Node = p;
1079
- U.NodeList = R;
1080
- U.XMLSerializer = lt;
1081
- var pe = {}, mt = {};
1082
- (function(e) {
1083
- var t = L.freeze;
1084
- e.XML_ENTITIES = t({ amp: "&", apos: "'", gt: ">", lt: "<", quot: '"' }), e.HTML_ENTITIES = t({
1085
- lt: "<",
1086
- gt: ">",
1087
- amp: "&",
1088
- quot: '"',
1089
- apos: "'",
1090
- Agrave: "À",
1091
- Aacute: "Á",
1092
- Acirc: "Â",
1093
- Atilde: "Ã",
1094
- Auml: "Ä",
1095
- Aring: "Å",
1096
- AElig: "Æ",
1097
- Ccedil: "Ç",
1098
- Egrave: "È",
1099
- Eacute: "É",
1100
- Ecirc: "Ê",
1101
- Euml: "Ë",
1102
- Igrave: "Ì",
1103
- Iacute: "Í",
1104
- Icirc: "Î",
1105
- Iuml: "Ï",
1106
- ETH: "Ð",
1107
- Ntilde: "Ñ",
1108
- Ograve: "Ò",
1109
- Oacute: "Ó",
1110
- Ocirc: "Ô",
1111
- Otilde: "Õ",
1112
- Ouml: "Ö",
1113
- Oslash: "Ø",
1114
- Ugrave: "Ù",
1115
- Uacute: "Ú",
1116
- Ucirc: "Û",
1117
- Uuml: "Ü",
1118
- Yacute: "Ý",
1119
- THORN: "Þ",
1120
- szlig: "ß",
1121
- agrave: "à",
1122
- aacute: "á",
1123
- acirc: "â",
1124
- atilde: "ã",
1125
- auml: "ä",
1126
- aring: "å",
1127
- aelig: "æ",
1128
- ccedil: "ç",
1129
- egrave: "è",
1130
- eacute: "é",
1131
- ecirc: "ê",
1132
- euml: "ë",
1133
- igrave: "ì",
1134
- iacute: "í",
1135
- icirc: "î",
1136
- iuml: "ï",
1137
- eth: "ð",
1138
- ntilde: "ñ",
1139
- ograve: "ò",
1140
- oacute: "ó",
1141
- ocirc: "ô",
1142
- otilde: "õ",
1143
- ouml: "ö",
1144
- oslash: "ø",
1145
- ugrave: "ù",
1146
- uacute: "ú",
1147
- ucirc: "û",
1148
- uuml: "ü",
1149
- yacute: "ý",
1150
- thorn: "þ",
1151
- yuml: "ÿ",
1152
- nbsp: " ",
1153
- iexcl: "¡",
1154
- cent: "¢",
1155
- pound: "£",
1156
- curren: "¤",
1157
- yen: "¥",
1158
- brvbar: "¦",
1159
- sect: "§",
1160
- uml: "¨",
1161
- copy: "©",
1162
- ordf: "ª",
1163
- laquo: "«",
1164
- not: "¬",
1165
- shy: "­­",
1166
- reg: "®",
1167
- macr: "¯",
1168
- deg: "°",
1169
- plusmn: "±",
1170
- sup2: "²",
1171
- sup3: "³",
1172
- acute: "´",
1173
- micro: "µ",
1174
- para: "¶",
1175
- middot: "·",
1176
- cedil: "¸",
1177
- sup1: "¹",
1178
- ordm: "º",
1179
- raquo: "»",
1180
- frac14: "¼",
1181
- frac12: "½",
1182
- frac34: "¾",
1183
- iquest: "¿",
1184
- times: "×",
1185
- divide: "÷",
1186
- forall: "∀",
1187
- part: "∂",
1188
- exist: "∃",
1189
- empty: "∅",
1190
- nabla: "∇",
1191
- isin: "∈",
1192
- notin: "∉",
1193
- ni: "∋",
1194
- prod: "∏",
1195
- sum: "∑",
1196
- minus: "−",
1197
- lowast: "∗",
1198
- radic: "√",
1199
- prop: "∝",
1200
- infin: "∞",
1201
- ang: "∠",
1202
- and: "∧",
1203
- or: "∨",
1204
- cap: "∩",
1205
- cup: "∪",
1206
- int: "∫",
1207
- there4: "∴",
1208
- sim: "∼",
1209
- cong: "≅",
1210
- asymp: "≈",
1211
- ne: "≠",
1212
- equiv: "≡",
1213
- le: "≤",
1214
- ge: "≥",
1215
- sub: "⊂",
1216
- sup: "⊃",
1217
- nsub: "⊄",
1218
- sube: "⊆",
1219
- supe: "⊇",
1220
- oplus: "⊕",
1221
- otimes: "⊗",
1222
- perp: "⊥",
1223
- sdot: "⋅",
1224
- Alpha: "Α",
1225
- Beta: "Β",
1226
- Gamma: "Γ",
1227
- Delta: "Δ",
1228
- Epsilon: "Ε",
1229
- Zeta: "Ζ",
1230
- Eta: "Η",
1231
- Theta: "Θ",
1232
- Iota: "Ι",
1233
- Kappa: "Κ",
1234
- Lambda: "Λ",
1235
- Mu: "Μ",
1236
- Nu: "Ν",
1237
- Xi: "Ξ",
1238
- Omicron: "Ο",
1239
- Pi: "Π",
1240
- Rho: "Ρ",
1241
- Sigma: "Σ",
1242
- Tau: "Τ",
1243
- Upsilon: "Υ",
1244
- Phi: "Φ",
1245
- Chi: "Χ",
1246
- Psi: "Ψ",
1247
- Omega: "Ω",
1248
- alpha: "α",
1249
- beta: "β",
1250
- gamma: "γ",
1251
- delta: "δ",
1252
- epsilon: "ε",
1253
- zeta: "ζ",
1254
- eta: "η",
1255
- theta: "θ",
1256
- iota: "ι",
1257
- kappa: "κ",
1258
- lambda: "λ",
1259
- mu: "μ",
1260
- nu: "ν",
1261
- xi: "ξ",
1262
- omicron: "ο",
1263
- pi: "π",
1264
- rho: "ρ",
1265
- sigmaf: "ς",
1266
- sigma: "σ",
1267
- tau: "τ",
1268
- upsilon: "υ",
1269
- phi: "φ",
1270
- chi: "χ",
1271
- psi: "ψ",
1272
- omega: "ω",
1273
- thetasym: "ϑ",
1274
- upsih: "ϒ",
1275
- piv: "ϖ",
1276
- OElig: "Œ",
1277
- oelig: "œ",
1278
- Scaron: "Š",
1279
- scaron: "š",
1280
- Yuml: "Ÿ",
1281
- fnof: "ƒ",
1282
- circ: "ˆ",
1283
- tilde: "˜",
1284
- ensp: " ",
1285
- emsp: " ",
1286
- thinsp: " ",
1287
- zwnj: "‌",
1288
- zwj: "‍",
1289
- lrm: "‎",
1290
- rlm: "‏",
1291
- ndash: "–",
1292
- mdash: "—",
1293
- lsquo: "‘",
1294
- rsquo: "’",
1295
- sbquo: "‚",
1296
- ldquo: "“",
1297
- rdquo: "”",
1298
- bdquo: "„",
1299
- dagger: "†",
1300
- Dagger: "‡",
1301
- bull: "•",
1302
- hellip: "…",
1303
- permil: "‰",
1304
- prime: "′",
1305
- Prime: "″",
1306
- lsaquo: "‹",
1307
- rsaquo: "›",
1308
- oline: "‾",
1309
- euro: "€",
1310
- trade: "™",
1311
- larr: "←",
1312
- uarr: "↑",
1313
- rarr: "→",
1314
- darr: "↓",
1315
- harr: "↔",
1316
- crarr: "↵",
1317
- lceil: "⌈",
1318
- rceil: "⌉",
1319
- lfloor: "⌊",
1320
- rfloor: "⌋",
1321
- loz: "◊",
1322
- spades: "♠",
1323
- clubs: "♣",
1324
- hearts: "♥",
1325
- diams: "♦"
1326
- }), e.entityMap = e.HTML_ENTITIES;
1327
- })(mt);
1328
- var xe = {}, ee = L.NAMESPACE, de = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, Xe = new RegExp("[\\-\\.0-9" + de.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"), ze = new RegExp("^" + de.source + Xe.source + "*(?::" + de.source + Xe.source + "*)?$"), Q = 0, P = 1, $ = 2, W = 3, X = 4, z = 5, Z = 6, ae = 7;
1329
- function q(e, t) {
1330
- this.message = e, this.locator = t, Error.captureStackTrace && Error.captureStackTrace(this, q);
1331
- }
1332
- q.prototype = new Error();
1333
- q.prototype.name = q.name;
1334
- function vt() {
1335
- }
1336
- vt.prototype = {
1337
- parse: function(e, t, n) {
1338
- var r = this.domBuilder;
1339
- r.startDocument(), Et(t, t = {}), Lt(
1340
- e,
1341
- t,
1342
- n,
1343
- r,
1344
- this.errorHandler
1345
- ), r.endDocument();
1346
- }
1347
- };
1348
- function Lt(e, t, n, r, i) {
1349
- function a(v) {
1350
- if (v > 65535) {
1351
- v -= 65536;
1352
- var I = 55296 + (v >> 10), wt = 56320 + (v & 1023);
1353
- return String.fromCharCode(I, wt);
1354
- } else
1355
- return String.fromCharCode(v);
1356
- }
1357
- function o(v) {
1358
- var I = v.slice(1, -1);
1359
- return Object.hasOwnProperty.call(n, I) ? n[I] : I.charAt(0) === "#" ? a(parseInt(I.substr(1).replace("x", "0x"))) : (i.error("entity not found:" + v), v);
1360
- }
1361
- function s(v) {
1362
- if (v > E) {
1363
- var I = e.substring(E, v).replace(/&#?\w+;/g, o);
1364
- f && u(E), r.characters(I, 0, v - E), E = v;
1365
- }
1366
- }
1367
- function u(v, I) {
1368
- for (; v >= l && (I = h.exec(e)); )
1369
- c = I.index, l = c + I[0].length, f.lineNumber++;
1370
- f.columnNumber = v - c + 1;
1371
- }
1372
- for (var c = 0, l = 0, h = /.*(?:\r\n?|\n)|.*$/g, f = r.locator, N = [{ currentNSMap: t }], _ = {}, E = 0; ; ) {
1373
- try {
1374
- var m = e.indexOf("<", E);
1375
- if (m < 0) {
1376
- if (!e.substr(E).match(/^\s*$/)) {
1377
- var d = r.doc, B = d.createTextNode(e.substr(E));
1378
- d.appendChild(B), r.currentElement = B;
1379
- }
1380
- return;
1381
- }
1382
- switch (m > E && s(m), e.charAt(m + 1)) {
1383
- case "/":
1384
- var w = e.indexOf(">", m + 3), g = e.substring(m + 2, w).replace(/[ \t\n\r]+$/g, ""), x = N.pop();
1385
- w < 0 ? (g = e.substring(m + 2).replace(/[\s<].*/, ""), i.error("end tag name: " + g + " is not complete:" + x.tagName), w = m + 1 + g.length) : g.match(/\s</) && (g = g.replace(/[\s<].*/, ""), i.error("end tag name: " + g + " maybe not complete"), w = m + 1 + g.length);
1386
- var he = x.localNSMap, Ie = x.tagName == g, yt = Ie || x.tagName && x.tagName.toLowerCase() == g.toLowerCase();
1387
- if (yt) {
1388
- if (r.endElement(x.uri, x.localName, g), he)
1389
- for (var Se in he)
1390
- Object.prototype.hasOwnProperty.call(he, Se) && r.endPrefixMapping(Se);
1391
- Ie || i.fatalError("end tag name: " + g + " is not match the current start tagName:" + x.tagName);
1392
- } else
1393
- N.push(x);
1394
- w++;
1395
- break;
1396
- case "?":
1397
- f && u(m), w = Ft(e, m, r);
1398
- break;
1399
- case "!":
1400
- f && u(m), w = zt(e, m, r, i);
1401
- break;
1402
- default:
1403
- f && u(m);
1404
- var A = new Nt(), me = N[N.length - 1].currentNSMap, w = kt(e, m, A, me, o, i), Ce = A.length;
1405
- if (!A.closed && Xt(e, w, A.tagName, _) && (A.closed = !0, n.nbsp || i.warning("unclosed xml attribute")), f && Ce) {
1406
- for (var Dt = Fe(f, {}), ve = 0; ve < Ce; ve++) {
1407
- var Re = A[ve];
1408
- u(Re.offset), Re.locator = Fe(f, {});
1409
- }
1410
- r.locator = Dt, je(A, r, me) && N.push(A), r.locator = f;
1411
- } else
1412
- je(A, r, me) && N.push(A);
1413
- ee.isHTML(A.uri) && !A.closed ? w = $t(e, w, A.tagName, o, r) : w++;
1414
- }
1415
- } catch (v) {
1416
- if (v instanceof q)
1417
- throw v;
1418
- i.error("element parse error: " + v), w = -1;
1419
- }
1420
- w > E ? E = w : s(Math.max(m, E) + 1);
1421
- }
1422
- }
1423
- function Fe(e, t) {
1424
- return t.lineNumber = e.lineNumber, t.columnNumber = e.columnNumber, t;
1425
- }
1426
- function kt(e, t, n, r, i, a) {
1427
- function o(f, N, _) {
1428
- n.attributeNames.hasOwnProperty(f) && a.fatalError("Attribute " + f + " redefined"), n.addValue(
1429
- f,
1430
- // @see https://www.w3.org/TR/xml/#AVNormalize
1431
- // since the xmldom sax parser does not "interpret" DTD the following is not implemented:
1432
- // - recursive replacement of (DTD) entity references
1433
- // - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA
1434
- N.replace(/[\t\n\r]/g, " ").replace(/&#?\w+;/g, i),
1435
- _
1436
- );
1437
- }
1438
- for (var s, u, c = ++t, l = Q; ; ) {
1439
- var h = e.charAt(c);
1440
- switch (h) {
1441
- case "=":
1442
- if (l === P)
1443
- s = e.slice(t, c), l = W;
1444
- else if (l === $)
1445
- l = W;
1446
- else
1447
- throw new Error("attribute equal must after attrName");
1448
- break;
1449
- case "'":
1450
- case '"':
1451
- if (l === W || l === P)
1452
- if (l === P && (a.warning('attribute value must after "="'), s = e.slice(t, c)), t = c + 1, c = e.indexOf(h, t), c > 0)
1453
- u = e.slice(t, c), o(s, u, t - 1), l = z;
1454
- else
1455
- throw new Error("attribute value no end '" + h + "' match");
1456
- else if (l == X)
1457
- u = e.slice(t, c), o(s, u, t), a.warning('attribute "' + s + '" missed start quot(' + h + ")!!"), t = c + 1, l = z;
1458
- else
1459
- throw new Error('attribute value must after "="');
1460
- break;
1461
- case "/":
1462
- switch (l) {
1463
- case Q:
1464
- n.setTagName(e.slice(t, c));
1465
- case z:
1466
- case Z:
1467
- case ae:
1468
- l = ae, n.closed = !0;
1469
- case X:
1470
- case P:
1471
- case $:
1472
- break;
1473
- default:
1474
- throw new Error("attribute invalid close char('/')");
1475
- }
1476
- break;
1477
- case "":
1478
- return a.error("unexpected end of input"), l == Q && n.setTagName(e.slice(t, c)), c;
1479
- case ">":
1480
- switch (l) {
1481
- case Q:
1482
- n.setTagName(e.slice(t, c));
1483
- case z:
1484
- case Z:
1485
- case ae:
1486
- break;
1487
- case X:
1488
- case P:
1489
- u = e.slice(t, c), u.slice(-1) === "/" && (n.closed = !0, u = u.slice(0, -1));
1490
- case $:
1491
- l === $ && (u = s), l == X ? (a.warning('attribute "' + u + '" missed quot(")!'), o(s, u, t)) : ((!ee.isHTML(r[""]) || !u.match(/^(?:disabled|checked|selected)$/i)) && a.warning('attribute "' + u + '" missed value!! "' + u + '" instead!!'), o(u, u, t));
1492
- break;
1493
- case W:
1494
- throw new Error("attribute value missed!!");
1495
- }
1496
- return c;
1497
- case "€":
1498
- h = " ";
1499
- default:
1500
- if (h <= " ")
1501
- switch (l) {
1502
- case Q:
1503
- n.setTagName(e.slice(t, c)), l = Z;
1504
- break;
1505
- case P:
1506
- s = e.slice(t, c), l = $;
1507
- break;
1508
- case X:
1509
- var u = e.slice(t, c);
1510
- a.warning('attribute "' + u + '" missed quot(")!!'), o(s, u, t);
1511
- case z:
1512
- l = Z;
1513
- break;
1514
- }
1515
- else
1516
- switch (l) {
1517
- case $:
1518
- n.tagName, (!ee.isHTML(r[""]) || !s.match(/^(?:disabled|checked|selected)$/i)) && a.warning('attribute "' + s + '" missed value!! "' + s + '" instead2!!'), o(s, s, t), t = c, l = P;
1519
- break;
1520
- case z:
1521
- a.warning('attribute space is required"' + s + '"!!');
1522
- case Z:
1523
- l = P, t = c;
1524
- break;
1525
- case W:
1526
- l = X, t = c;
1527
- break;
1528
- case ae:
1529
- throw new Error("elements closed character '/' and '>' must be connected to");
1530
- }
1531
- }
1532
- c++;
1533
- }
1534
- }
1535
- function je(e, t, n) {
1536
- for (var r = e.tagName, i = null, h = e.length; h--; ) {
1537
- var a = e[h], o = a.qName, s = a.value, f = o.indexOf(":");
1538
- if (f > 0)
1539
- var u = a.prefix = o.slice(0, f), c = o.slice(f + 1), l = u === "xmlns" && c;
1540
- else
1541
- c = o, u = null, l = o === "xmlns" && "";
1542
- a.localName = c, l !== !1 && (i == null && (i = {}, Et(n, n = {})), n[l] = i[l] = s, a.uri = ee.XMLNS, t.startPrefixMapping(l, s));
1543
- }
1544
- for (var h = e.length; h--; ) {
1545
- a = e[h];
1546
- var u = a.prefix;
1547
- u && (u === "xml" && (a.uri = ee.XML), u !== "xmlns" && (a.uri = n[u || ""]));
1548
- }
1549
- var f = r.indexOf(":");
1550
- f > 0 ? (u = e.prefix = r.slice(0, f), c = e.localName = r.slice(f + 1)) : (u = null, c = e.localName = r);
1551
- var N = e.uri = n[u || ""];
1552
- if (t.startElement(N, c, r, e), e.closed) {
1553
- if (t.endElement(N, c, r), i)
1554
- for (u in i)
1555
- Object.prototype.hasOwnProperty.call(i, u) && t.endPrefixMapping(u);
1556
- } else
1557
- return e.currentNSMap = n, e.localNSMap = i, !0;
1558
- }
1559
- function $t(e, t, n, r, i) {
1560
- if (/^(?:script|textarea)$/i.test(n)) {
1561
- var a = e.indexOf("</" + n + ">", t), o = e.substring(t + 1, a);
1562
- if (/[&<]/.test(o))
1563
- return /^script$/i.test(n) ? (i.characters(o, 0, o.length), a) : (o = o.replace(/&#?\w+;/g, r), i.characters(o, 0, o.length), a);
1564
- }
1565
- return t + 1;
1566
- }
1567
- function Xt(e, t, n, r) {
1568
- var i = r[n];
1569
- return i == null && (i = e.lastIndexOf("</" + n + ">"), i < t && (i = e.lastIndexOf("</" + n)), r[n] = i), i < t;
1570
- }
1571
- function Et(e, t) {
1572
- for (var n in e)
1573
- Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
1574
- }
1575
- function zt(e, t, n, r) {
1576
- var i = e.charAt(t + 2);
1577
- switch (i) {
1578
- case "-":
1579
- if (e.charAt(t + 3) === "-") {
1580
- var a = e.indexOf("-->", t + 4);
1581
- return a > t ? (n.comment(e, t + 4, a - t - 4), a + 3) : (r.error("Unclosed comment"), -1);
1582
- } else
1583
- return -1;
1584
- default:
1585
- if (e.substr(t + 3, 6) == "CDATA[") {
1586
- var a = e.indexOf("]]>", t + 9);
1587
- return n.startCDATA(), n.characters(e, t + 9, a - t - 9), n.endCDATA(), a + 3;
1588
- }
1589
- var o = jt(e, t), s = o.length;
1590
- if (s > 1 && /!doctype/i.test(o[0][0])) {
1591
- var u = o[1][0], c = !1, l = !1;
1592
- s > 3 && (/^public$/i.test(o[2][0]) ? (c = o[3][0], l = s > 4 && o[4][0]) : /^system$/i.test(o[2][0]) && (l = o[3][0]));
1593
- var h = o[s - 1];
1594
- return n.startDTD(u, c, l), n.endDTD(), h.index + h[0].length;
1595
- }
1596
- }
1597
- return -1;
1598
- }
1599
- function Ft(e, t, n) {
1600
- var r = e.indexOf("?>", t);
1601
- if (r) {
1602
- var i = e.substring(t, r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);
1603
- return i ? (i[0].length, n.processingInstruction(i[1], i[2]), r + 2) : -1;
1604
- }
1605
- return -1;
1606
- }
1607
- function Nt() {
1608
- this.attributeNames = {};
1609
- }
1610
- Nt.prototype = {
1611
- setTagName: function(e) {
1612
- if (!ze.test(e))
1613
- throw new Error("invalid tagName:" + e);
1614
- this.tagName = e;
1615
- },
1616
- addValue: function(e, t, n) {
1617
- if (!ze.test(e))
1618
- throw new Error("invalid attribute:" + e);
1619
- this.attributeNames[e] = this.length, this[this.length++] = { qName: e, value: t, offset: n };
1620
- },
1621
- length: 0,
1622
- getLocalName: function(e) {
1623
- return this[e].localName;
1624
- },
1625
- getLocator: function(e) {
1626
- return this[e].locator;
1627
- },
1628
- getQName: function(e) {
1629
- return this[e].qName;
1630
- },
1631
- getURI: function(e) {
1632
- return this[e].uri;
1633
- },
1634
- getValue: function(e) {
1635
- return this[e].value;
1636
- }
1637
- // ,getIndex:function(uri, localName)){
1638
- // if(localName){
1639
- //
1640
- // }else{
1641
- // var qName = uri
1642
- // }
1643
- // },
1644
- // getValue:function(){return this.getValue(this.getIndex.apply(this,arguments))},
1645
- // getType:function(uri,localName){}
1646
- // getType:function(i){},
1647
- };
1648
- function jt(e, t) {
1649
- var n, r = [], i = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
1650
- for (i.lastIndex = t, i.exec(e); n = i.exec(e); )
1651
- if (r.push(n), n[1])
1652
- return r;
1653
- }
1654
- xe.XMLReader = vt;
1655
- xe.ParseError = q;
1656
- var Vt = L, Gt = U, Ve = mt, dt = xe, Yt = Gt.DOMImplementation, Ge = Vt.NAMESPACE, Ht = dt.ParseError, qt = dt.XMLReader;
1657
- function gt(e) {
1658
- return e.replace(/\r[\n\u0085]/g, `
1659
- `).replace(/[\r\u0085\u2028]/g, `
1660
- `);
1661
- }
1662
- function Tt(e) {
1663
- this.options = e || { locator: {} };
1664
- }
1665
- Tt.prototype.parseFromString = function(e, t) {
1666
- var n = this.options, r = new qt(), i = n.domBuilder || new ie(), a = n.errorHandler, o = n.locator, s = n.xmlns || {}, u = /\/x?html?$/.test(t), c = u ? Ve.HTML_ENTITIES : Ve.XML_ENTITIES;
1667
- o && i.setDocumentLocator(o), r.errorHandler = Bt(a, i, o), r.domBuilder = n.domBuilder || i, u && (s[""] = Ge.HTML), s.xml = s.xml || Ge.XML;
1668
- var l = n.normalizeLineEndings || gt;
1669
- return e && typeof e == "string" ? r.parse(
1670
- l(e),
1671
- s,
1672
- c
1673
- ) : r.errorHandler.error("invalid doc source"), i.doc;
1674
- };
1675
- function Bt(e, t, n) {
1676
- if (!e) {
1677
- if (t instanceof ie)
1678
- return t;
1679
- e = t;
1680
- }
1681
- var r = {}, i = e instanceof Function;
1682
- n = n || {};
1683
- function a(o) {
1684
- var s = e[o];
1685
- !s && i && (s = e.length == 2 ? function(u) {
1686
- e(o, u);
1687
- } : e), r[o] = s && function(u) {
1688
- s("[xmldom " + o + "] " + u + ge(n));
1689
- } || function() {
1690
- };
1691
- }
1692
- return a("warning"), a("error"), a("fatalError"), r;
1693
- }
1694
- function ie() {
1695
- this.cdata = !1;
1696
- }
1697
- function F(e, t) {
1698
- t.lineNumber = e.lineNumber, t.columnNumber = e.columnNumber;
1699
- }
1700
- ie.prototype = {
1701
- startDocument: function() {
1702
- this.doc = new Yt().createDocument(null, null, null), this.locator && (this.doc.documentURI = this.locator.systemId);
1703
- },
1704
- startElement: function(e, t, n, r) {
1705
- var i = this.doc, a = i.createElementNS(e, n || t), o = r.length;
1706
- oe(this, a), this.currentElement = a, this.locator && F(this.locator, a);
1707
- for (var s = 0; s < o; s++) {
1708
- var e = r.getURI(s), u = r.getValue(s), n = r.getQName(s), c = i.createAttributeNS(e, n);
1709
- this.locator && F(r.getLocator(s), c), c.value = c.nodeValue = u, a.setAttributeNode(c);
1710
- }
1711
- },
1712
- endElement: function(e, t, n) {
1713
- var r = this.currentElement;
1714
- r.tagName, this.currentElement = r.parentNode;
1715
- },
1716
- startPrefixMapping: function(e, t) {
1717
- },
1718
- endPrefixMapping: function(e) {
1719
- },
1720
- processingInstruction: function(e, t) {
1721
- var n = this.doc.createProcessingInstruction(e, t);
1722
- this.locator && F(this.locator, n), oe(this, n);
1723
- },
1724
- ignorableWhitespace: function(e, t, n) {
1725
- },
1726
- characters: function(e, t, n) {
1727
- if (e = Ye.apply(this, arguments), e) {
1728
- if (this.cdata)
1729
- var r = this.doc.createCDATASection(e);
1730
- else
1731
- var r = this.doc.createTextNode(e);
1732
- this.currentElement ? this.currentElement.appendChild(r) : /^\s*$/.test(e) && this.doc.appendChild(r), this.locator && F(this.locator, r);
1733
- }
1734
- },
1735
- skippedEntity: function(e) {
1736
- },
1737
- endDocument: function() {
1738
- this.doc.normalize();
1739
- },
1740
- setDocumentLocator: function(e) {
1741
- (this.locator = e) && (e.lineNumber = 0);
1742
- },
1743
- //LexicalHandler
1744
- comment: function(e, t, n) {
1745
- e = Ye.apply(this, arguments);
1746
- var r = this.doc.createComment(e);
1747
- this.locator && F(this.locator, r), oe(this, r);
1748
- },
1749
- startCDATA: function() {
1750
- this.cdata = !0;
1751
- },
1752
- endCDATA: function() {
1753
- this.cdata = !1;
1754
- },
1755
- startDTD: function(e, t, n) {
1756
- var r = this.doc.implementation;
1757
- if (r && r.createDocumentType) {
1758
- var i = r.createDocumentType(e, t, n);
1759
- this.locator && F(this.locator, i), oe(this, i), this.doc.doctype = i;
1760
- }
1761
- },
1762
- /**
1763
- * @see org.xml.sax.ErrorHandler
1764
- * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html
1765
- */
1766
- warning: function(e) {
1767
- console.warn("[xmldom warning] " + e, ge(this.locator));
1768
- },
1769
- error: function(e) {
1770
- console.error("[xmldom error] " + e, ge(this.locator));
1771
- },
1772
- fatalError: function(e) {
1773
- throw new Ht(e, this.locator);
1774
- }
1775
- };
1776
- function ge(e) {
1777
- if (e)
1778
- return `
1779
- @` + (e.systemId || "") + "#[line:" + e.lineNumber + ",col:" + e.columnNumber + "]";
1780
- }
1781
- function Ye(e, t, n) {
1782
- return typeof e == "string" ? e.substr(t, n) : e.length >= t + n || t ? new java.lang.String(e, t, n) + "" : e;
1783
- }
1784
- "endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g, function(e) {
1785
- ie.prototype[e] = function() {
1786
- return null;
1787
- };
1788
- });
1789
- function oe(e, t) {
1790
- e.currentElement ? e.currentElement.appendChild(t) : e.doc.appendChild(t);
1791
- }
1792
- pe.__DOMHandler = ie;
1793
- pe.normalizeLineEndings = gt;
1794
- pe.DOMParser = Tt;
1795
- var Qt = pe.DOMParser;
1796
- const Wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1797
- __proto__: null,
1798
- DOMParser: Qt
1799
- }, Symbol.toStringTag, { value: "Module" }));
1800
- export {
1801
- Wt as i
1802
- };