securemark 0.248.1 → 0.249.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! securemark v0.248.1 https://github.com/falsandtru/securemark | (c) 2017, falsandtru | UNLICENSED License */
1
+ /*! securemark v0.249.0 https://github.com/falsandtru/securemark | (c) 2017, falsandtru | UNLICENSED License */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory(require("DOMPurify"), require("Prism"));
@@ -64,50 +64,18 @@ __exportStar(__webpack_require__(256), exports);
64
64
  Object.defineProperty(exports, "__esModule", ({
65
65
  value: true
66
66
  }));
67
- exports.isArray = exports.ObjectValues = exports.ObjectSetPrototypeOf = exports.ObjectSeal = exports.ObjectPreventExtensions = exports.ObjectKeys = exports.isSealed = exports.isFrozen = exports.isExtensible = exports.ObjectIs = exports.ObjectGetPrototypeOf = exports.ObjectGetOwnPropertySymbols = exports.ObjectGetOwnPropertyNames = exports.ObjectGetOwnPropertyDescriptors = exports.ObjectGetOwnPropertyDescriptor = exports.ObjectFromEntries = exports.ObjectFreeze = exports.ObjectEntries = exports.ObjectDefineProperty = exports.ObjectDefineProperties = exports.ObjectCreate = exports.ObjectAssign = exports.toString = exports.isEnumerable = exports.isPrototypeOf = exports.hasOwnProperty = exports.SymbolKeyFor = exports.SymbolFor = exports.sign = exports.round = exports.random = exports.min = exports.max = exports.floor = exports.ceil = exports.abs = exports.parseInt = exports.parseFloat = exports.isSafeInteger = exports.isNaN = exports.isInteger = exports.isFinite = exports[NaN] = void 0;
67
+ exports.ObjectSetPrototypeOf = exports.ObjectGetPrototypeOf = exports.ObjectCreate = exports.ObjectAssign = exports.toString = exports.isEnumerable = exports.isPrototypeOf = exports.hasOwnProperty = exports.isArray = exports.sign = exports.round = exports.random = exports.min = exports.max = exports.floor = exports.ceil = exports.abs = exports.parseInt = exports.parseFloat = exports.isSafeInteger = exports.isNaN = exports.isInteger = exports.isFinite = exports[NaN] = void 0;
68
68
  exports[NaN] = Number.NaN, exports.isFinite = Number.isFinite, exports.isInteger = Number.isInteger, exports.isNaN = Number.isNaN, exports.isSafeInteger = Number.isSafeInteger, exports.parseFloat = Number.parseFloat, exports.parseInt = Number.parseInt;
69
- exports.abs = Math.abs, exports.ceil = Math.ceil, exports.floor = Math.floor, exports.max = Math.max, exports.min = Math.min, exports.random = Math.random, exports.round = Math.round, exports.sign = Math.sign; //export const SymbolAsyncIterator: typeof Symbol.asyncIterator = Symbol.asyncIterator;
70
-
71
- exports.SymbolFor = Symbol.for; //export const SymbolHasInstance: typeof Symbol.hasInstance = Symbol.hasInstance;
72
- //export const SymbolIsConcatSpreadable: typeof Symbol.isConcatSpreadable = Symbol.isConcatSpreadable;
73
- //export const SymbolIterator: typeof Symbol.iterator = Symbol.iterator;
74
-
75
- exports.SymbolKeyFor = Symbol.keyFor; //export const SymbolMatch: typeof Symbol.match = Symbol.match;
76
- //export const SymbolReplace: typeof Symbol.replace = Symbol.replace;
77
- //export const SymbolSearch: typeof Symbol.search = Symbol.search;
78
- //export const SymbolSpecies: typeof Symbol.species = Symbol.species;
79
- //export const SymbolSplit: typeof Symbol.split = Symbol.split;
80
- //export const SymbolToPrimitive: typeof Symbol.toPrimitive = Symbol.toPrimitive;
81
- //export const SymbolToStringTag: typeof Symbol.toStringTag = Symbol.toStringTag;
82
- //export const SymbolUnscopables: typeof Symbol.unscopables = Symbol.unscopables;
83
-
69
+ exports.abs = Math.abs, exports.ceil = Math.ceil, exports.floor = Math.floor, exports.max = Math.max, exports.min = Math.min, exports.random = Math.random, exports.round = Math.round, exports.sign = Math.sign;
70
+ exports.isArray = Array.isArray;
84
71
  exports.hasOwnProperty = Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);
85
72
  exports.isPrototypeOf = Object.prototype.isPrototypeOf.call.bind(Object.prototype.isPrototypeOf);
86
73
  exports.isEnumerable = Object.prototype.propertyIsEnumerable.call.bind(Object.prototype.propertyIsEnumerable);
87
74
  exports.toString = Object.prototype.toString.call.bind(Object.prototype.toString);
88
75
  exports.ObjectAssign = Object.assign;
89
76
  exports.ObjectCreate = Object.create;
90
- exports.ObjectDefineProperties = Object.defineProperties;
91
- exports.ObjectDefineProperty = Object.defineProperty;
92
- exports.ObjectEntries = Object.entries;
93
- exports.ObjectFreeze = Object.freeze; // @ts-ignore
94
-
95
- exports.ObjectFromEntries = Object.fromEntries;
96
- exports.ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
97
- exports.ObjectGetOwnPropertyDescriptors = Object.getOwnPropertyDescriptors;
98
- exports.ObjectGetOwnPropertyNames = Object.getOwnPropertyNames;
99
- exports.ObjectGetOwnPropertySymbols = Object.getOwnPropertySymbols;
100
77
  exports.ObjectGetPrototypeOf = Object.getPrototypeOf;
101
- exports.ObjectIs = Object.is;
102
- exports.isExtensible = Object.isExtensible;
103
- exports.isFrozen = Object.isFrozen;
104
- exports.isSealed = Object.isSealed;
105
- exports.ObjectKeys = Object.keys;
106
- exports.ObjectPreventExtensions = Object.preventExtensions;
107
- exports.ObjectSeal = Object.seal;
108
78
  exports.ObjectSetPrototypeOf = Object.setPrototypeOf;
109
- exports.ObjectValues = Object.values;
110
- exports.isArray = Array.isArray;
111
79
 
112
80
  /***/ }),
113
81
 
@@ -120,7 +88,7 @@ exports.isArray = Array.isArray;
120
88
  Object.defineProperty(exports, "__esModule", ({
121
89
  value: true
122
90
  }));
123
- exports.join = exports.splice = exports.pop = exports.push = exports.shift = exports.unshift = exports.indexOf = void 0;
91
+ exports.splice = exports.pop = exports.push = exports.shift = exports.unshift = exports.indexOf = void 0;
124
92
 
125
93
  const global_1 = __webpack_require__(4128);
126
94
 
@@ -218,18 +186,6 @@ function splice(as, index, count, ...inserts) {
218
186
 
219
187
  exports.splice = splice;
220
188
 
221
- function join(as, sep = '') {
222
- let acc = '';
223
-
224
- for (let i = 0; i < as.length; ++i) {
225
- acc += i === 0 ? as[i] : sep + as[i];
226
- }
227
-
228
- return acc;
229
- }
230
-
231
- exports.join = join;
232
-
233
189
  /***/ }),
234
190
 
235
191
  /***/ 4401:
@@ -368,7 +324,7 @@ function template(strategy) {
368
324
  const source = sources[i];
369
325
  if (source === target) continue;
370
326
  if ((0, type_1.isPrimitive)(source)) continue;
371
- const keys = (0, alias_1.ObjectKeys)(source);
327
+ const keys = global_1.Object.keys(source);
372
328
 
373
329
  for (let i = 0; i < keys.length; ++i) {
374
330
  strategy(keys[i], target, source);
@@ -539,6 +495,8 @@ class Cache {
539
495
  LRU.head.value.overlap = OVL.unshift(LRU.head.value);
540
496
  }
541
497
 
498
+ // fallthrough
499
+
542
500
  default:
543
501
  target = LRU.last !== skip ? LRU.last : LRU.length >= 2 ? LRU.last.prev : LFU.last;
544
502
  }
@@ -1470,7 +1428,6 @@ const global_1 = __webpack_require__(4128);
1470
1428
 
1471
1429
  const alias_1 = __webpack_require__(5406);
1472
1430
 
1473
- const toString = Object.prototype.toString.call.bind(Object.prototype.toString);
1474
1431
  const ObjectPrototype = Object.prototype;
1475
1432
  const ArrayPrototype = Array.prototype;
1476
1433
 
@@ -1484,7 +1441,7 @@ function type(value) {
1484
1441
  const proto = (0, alias_1.ObjectGetPrototypeOf)(value);
1485
1442
  if (proto === ObjectPrototype) return 'Object';
1486
1443
  if (proto === ArrayPrototype) return 'Array';
1487
- return toString(value).slice(8, -1);
1444
+ return (0, alias_1.toString)(value).slice(8, -1);
1488
1445
  }
1489
1446
 
1490
1447
  if (type === 'function') return 'Function';
@@ -5351,7 +5308,7 @@ const util_1 = __webpack_require__(9437);
5351
5308
 
5352
5309
  const dom_1 = __webpack_require__(3252);
5353
5310
 
5354
- exports.annotation = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.validate)('((', '))', '\n', (0, combinator_1.fmap)((0, combinator_1.surround)('((', (0, combinator_1.guard)(context => context.syntax?.inline?.annotation ?? true, (0, util_1.startLoose)((0, combinator_1.context)({
5311
+ exports.annotation = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.validate)('((', '))', '\n', (0, combinator_1.fmap)((0, combinator_1.surround)('((', (0, combinator_1.guard)(context => context.syntax?.inline?.annotation ?? true, (0, combinator_1.context)({
5355
5312
  syntax: {
5356
5313
  inline: {
5357
5314
  annotation: false,
@@ -5366,9 +5323,9 @@ exports.annotation = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0,
5366
5323
  }
5367
5324
  },
5368
5325
  delimiters: global_1.undefined
5369
- }, (0, util_1.trimSpaceStart)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, ')', /^\\?\n/)]))))), '))'), ns => [(0, dom_1.html)('sup', {
5326
+ }, (0, util_1.trimBlankInline)((0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]), ')', /^\\?\n/)))), '))'), ns => [(0, dom_1.html)('sup', {
5370
5327
  class: 'annotation'
5371
- }, (0, util_1.trimNodeEnd)((0, dom_1.defrag)(ns)))]))));
5328
+ }, (0, dom_1.defrag)(ns))]))));
5372
5329
 
5373
5330
  /***/ }),
5374
5331
 
@@ -5720,7 +5677,7 @@ const memoize_1 = __webpack_require__(1808);
5720
5677
 
5721
5678
  const array_1 = __webpack_require__(8112);
5722
5679
 
5723
- exports.comment = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.validate)('[#', (0, combinator_1.match)(/^(?=\[(#+)\s)/, (0, memoize_1.memoize)(([, fence]) => (0, combinator_1.surround)((0, combinator_1.open)((0, source_1.str)(`[${fence}`), (0, combinator_1.some)(source_1.text, new RegExp(String.raw`^\s+${fence}\]|^\S`)), true), (0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, new RegExp(String.raw`^\s+${fence}\]`))]), (0, combinator_1.close)((0, combinator_1.some)(source_1.text, /^\S/), (0, source_1.str)(`${fence}]`)), true, ([as, bs = [], cs], rest) => [[(0, dom_1.html)('span', {
5680
+ exports.comment = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.validate)('[#', (0, combinator_1.match)(/^(?=\[(#+)\s)/, (0, memoize_1.memoize)(([, fence]) => (0, combinator_1.surround)((0, combinator_1.open)((0, source_1.str)(`[${fence}`), (0, combinator_1.some)(source_1.text, new RegExp(String.raw`^\s+${fence}\]|^\S`)), true), (0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]), new RegExp(String.raw`^\s+${fence}\]`)), (0, combinator_1.close)((0, combinator_1.some)(source_1.text, /^\S/), (0, source_1.str)(`${fence}]`)), true, ([as, bs = [], cs], rest) => [[(0, dom_1.html)('span', {
5724
5681
  class: 'comment'
5725
5682
  }, [(0, dom_1.html)('input', {
5726
5683
  type: 'checkbox'
@@ -5751,7 +5708,7 @@ const dom_1 = __webpack_require__(3252);
5751
5708
 
5752
5709
  const array_1 = __webpack_require__(8112);
5753
5710
 
5754
- exports.deletion = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('~~'), (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blank)(/\n/, '~~')), (0, combinator_1.open)(/^\n/, (0, combinator_1.some)(inline_1.inline, '~'), true)])), (0, source_1.str)('~~'), false, ([, bs], rest) => [[(0, dom_1.html)('del', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
5711
+ exports.deletion = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('~~'), (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('\n', '~~')), (0, combinator_1.open)('\n', (0, combinator_1.some)(inline_1.inline, '~'), true)])), (0, source_1.str)('~~'), false, ([, bs], rest) => [[(0, dom_1.html)('del', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
5755
5712
 
5756
5713
  /***/ }),
5757
5714
 
@@ -5770,6 +5727,8 @@ const combinator_1 = __webpack_require__(2087);
5770
5727
 
5771
5728
  const inline_1 = __webpack_require__(1160);
5772
5729
 
5730
+ const emstrong_1 = __webpack_require__(6132);
5731
+
5773
5732
  const strong_1 = __webpack_require__(8072);
5774
5733
 
5775
5734
  const source_1 = __webpack_require__(6743);
@@ -5780,7 +5739,7 @@ const dom_1 = __webpack_require__(3252);
5780
5739
 
5781
5740
  const array_1 = __webpack_require__(8112);
5782
5741
 
5783
- exports.emphasis = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('*'), (0, util_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([strong_1.strong, (0, combinator_1.some)(inline_1.inline, (0, util_1.blank)('', '*')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), inline_1.inline)])), '*'), (0, source_1.str)('*'), false, ([, bs], rest) => [[(0, dom_1.html)('em', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
5742
+ exports.emphasis = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('*'), (0, util_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([strong_1.strong, (0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('*')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), (0, combinator_1.union)([emstrong_1.emstrong, strong_1.strong, exports.emphasis]))])), '*'), (0, source_1.str)('*'), false, ([, bs], rest) => [[(0, dom_1.html)('em', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
5784
5743
 
5785
5744
  /***/ }),
5786
5745
 
@@ -5801,6 +5760,8 @@ const inline_1 = __webpack_require__(1160);
5801
5760
 
5802
5761
  const strong_1 = __webpack_require__(8072);
5803
5762
 
5763
+ const emphasis_1 = __webpack_require__(3867);
5764
+
5804
5765
  const source_1 = __webpack_require__(6743);
5805
5766
 
5806
5767
  const util_1 = __webpack_require__(9437);
@@ -5809,9 +5770,9 @@ const dom_1 = __webpack_require__(3252);
5809
5770
 
5810
5771
  const array_1 = __webpack_require__(8112);
5811
5772
 
5812
- const substrong = (0, combinator_1.lazy)(() => (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blank)('', '**')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), inline_1.inline)])));
5813
- const subemphasis = (0, combinator_1.lazy)(() => (0, combinator_1.some)((0, combinator_1.union)([strong_1.strong, (0, combinator_1.some)(inline_1.inline, (0, util_1.blank)('', '*')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), inline_1.inline)])));
5814
- exports.emstrong = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('***'), (0, util_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blank)('', '*')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), inline_1.inline)]))), (0, source_1.str)(/^\*{1,3}/), false, ([, bs, cs], rest, context) => {
5773
+ const substrong = (0, combinator_1.lazy)(() => (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('**')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), (0, combinator_1.union)([exports.emstrong, strong_1.strong]))])));
5774
+ const subemphasis = (0, combinator_1.lazy)(() => (0, combinator_1.some)((0, combinator_1.union)([strong_1.strong, (0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('*')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), (0, combinator_1.union)([exports.emstrong, strong_1.strong, emphasis_1.emphasis]))])));
5775
+ exports.emstrong = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('***'), (0, util_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('*')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), inline_1.inline)]))), (0, source_1.str)(/^\*{1,3}/), false, ([, bs, cs], rest, context) => {
5815
5776
  switch (cs[0]) {
5816
5777
  case '***':
5817
5778
  return [[(0, dom_1.html)('em', [(0, dom_1.html)('strong', (0, dom_1.defrag)(bs))])], rest];
@@ -6151,8 +6112,6 @@ exports.attributes = exports.attribute = exports.html = void 0;
6151
6112
 
6152
6113
  const global_1 = __webpack_require__(4128);
6153
6114
 
6154
- const alias_1 = __webpack_require__(5406);
6155
-
6156
6115
  const combinator_1 = __webpack_require__(2087);
6157
6116
 
6158
6117
  const inline_1 = __webpack_require__(1160);
@@ -6169,15 +6128,15 @@ const cache_1 = __webpack_require__(9210);
6169
6128
 
6170
6129
  const array_1 = __webpack_require__(8112);
6171
6130
 
6172
- const tags = Object.freeze(['wbr', 'sup', 'sub', 'small', 'bdo', 'bdi']);
6131
+ const tags = global_1.Object.freeze(['wbr', 'sup', 'sub', 'small', 'bdo', 'bdi']);
6173
6132
  const attrspec = {
6174
6133
  bdo: {
6175
- dir: Object.freeze(['ltr', 'rtl'])
6134
+ dir: global_1.Object.freeze(['ltr', 'rtl'])
6176
6135
  }
6177
6136
  };
6178
- Object.setPrototypeOf(attrspec, null);
6179
- Object.values(attrspec).forEach(o => Object.setPrototypeOf(o, null));
6180
- exports.html = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.validate)('<', (0, combinator_1.validate)(/^<[a-z]+(?=[^\S\n]|>)/, (0, combinator_1.union)([(0, combinator_1.match)(/^(?=<(wbr)(?=[^\S\n]|>))/, (0, memoize_1.memoize)(([, tag]) => (0, combinator_1.surround)(`<${tag}`, (0, combinator_1.some)((0, combinator_1.union)([exports.attribute])), /^\s*>/, true, ([, bs = []], rest) => [[(0, dom_1.html)(tag, attributes('html', [], attrspec[tag], bs))], rest]), ([, tag]) => tags.indexOf(tag), [])), (0, combinator_1.match)(/^(?=<(sup|sub|small|bdo|bdi)(?=[^\S\n]|>))/, (0, memoize_1.memoize)(([, tag]) => (0, combinator_1.surround)((0, combinator_1.surround)((0, source_1.str)(`<${tag}`), (0, combinator_1.some)(exports.attribute), (0, source_1.str)(/^\s*>/), true), (0, util_1.startLoose)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blank)(/\n/, `</${tag}>`)), (0, combinator_1.open)(/^\n/, (0, combinator_1.some)(inline_1.inline, `</${tag}>`), true)]), `</${tag}>`), `</${tag}>`), (0, source_1.str)(`</${tag}>`), false, ([as, bs, cs], rest) => [[elem(tag, as, (0, dom_1.defrag)(bs), cs)], rest]), ([, tag]) => tags.indexOf(tag), [])), (0, combinator_1.match)(/^(?=<([a-z]+)(?=[^\S\n]|>))/, (0, memoize_1.memoize)(([, tag]) => (0, combinator_1.surround)((0, combinator_1.surround)((0, source_1.str)(`<${tag}`), (0, combinator_1.some)(exports.attribute), (0, source_1.str)(/^\s*>/), true), (0, util_1.startLoose)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blank)(/\n/, `</${tag}>`)), (0, combinator_1.open)(/^\n/, (0, combinator_1.some)(inline_1.inline, `</${tag}>`), true)]), `</${tag}>`), `</${tag}>`), (0, source_1.str)(`</${tag}>`), false, ([as, bs, cs], rest) => [[elem(tag, as, (0, dom_1.defrag)(bs), cs)], rest]), ([, tag]) => tag, new cache_1.Cache(10000)))])))));
6137
+ global_1.Object.setPrototypeOf(attrspec, null);
6138
+ global_1.Object.values(attrspec).forEach(o => global_1.Object.setPrototypeOf(o, null));
6139
+ exports.html = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.validate)('<', (0, combinator_1.validate)(/^<[a-z]+(?=[^\S\n]|>)/, (0, combinator_1.union)([(0, combinator_1.match)(/^(?=<(wbr)(?=[^\S\n]|>))/, (0, memoize_1.memoize)(([, tag]) => (0, combinator_1.surround)(`<${tag}`, (0, combinator_1.some)((0, combinator_1.union)([exports.attribute])), /^\s*>/, true, ([, bs = []], rest) => [[(0, dom_1.html)(tag, attributes('html', [], attrspec[tag], bs))], rest]), ([, tag]) => tags.indexOf(tag), [])), (0, combinator_1.match)(/^(?=<(sup|sub|small|bdo|bdi)(?=[^\S\n]|>))/, (0, memoize_1.memoize)(([, tag]) => (0, combinator_1.surround)((0, combinator_1.surround)((0, source_1.str)(`<${tag}`), (0, combinator_1.some)(exports.attribute), (0, source_1.str)(/^\s*>/), true), (0, util_1.startLoose)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.open)(/^\n?/, (0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('\n', `</${tag}>`)), true)]), `</${tag}>`), `</${tag}>`), (0, source_1.str)(`</${tag}>`), false, ([as, bs, cs], rest) => [[elem(tag, as, (0, dom_1.defrag)(bs), cs)], rest]), ([, tag]) => tags.indexOf(tag), [])), (0, combinator_1.match)(/^(?=<([a-z]+)(?=[^\S\n]|>))/, (0, memoize_1.memoize)(([, tag]) => (0, combinator_1.surround)((0, combinator_1.surround)((0, source_1.str)(`<${tag}`), (0, combinator_1.some)(exports.attribute), (0, source_1.str)(/^\s*>/), true), (0, util_1.startLoose)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.open)(/^\n?/, (0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('\n', `</${tag}>`)), true)]), `</${tag}>`), `</${tag}>`), (0, source_1.str)(`</${tag}>`), false, ([as, bs, cs], rest) => [[elem(tag, as, (0, dom_1.defrag)(bs), cs)], rest]), ([, tag]) => tag, new cache_1.Cache(10000)))])))));
6181
6140
  exports.attribute = (0, combinator_1.union)([(0, source_1.str)(/^[^\S\n]+[a-z]+(?:-[a-z]+)*(?:="(?:\\[^\n]|[^\\\n"])*")?(?=[^\S\n]|>)/)]);
6182
6141
 
6183
6142
  function elem(tag, as, bs, cs) {
@@ -6195,7 +6154,7 @@ function invalid(type, message, as, bs, cs) {
6195
6154
  }, (0, dom_1.defrag)((0, array_1.push)((0, array_1.unshift)(as, bs), cs)));
6196
6155
  }
6197
6156
 
6198
- const requiredAttributes = (0, memoize_1.memoize)(spec => (0, alias_1.ObjectEntries)(spec).flatMap(([k, v]) => v && (0, alias_1.isFrozen)(v) ? [k] : []), new WeakMap());
6157
+ const requiredAttributes = (0, memoize_1.memoize)(spec => global_1.Object.entries(spec).flatMap(([k, v]) => v && global_1.Object.isFrozen(v) ? [k] : []), new WeakMap());
6199
6158
 
6200
6159
  function attributes(syntax, classes, spec, params) {
6201
6160
  let invalid = false;
@@ -6285,7 +6244,7 @@ const dom_1 = __webpack_require__(3252);
6285
6244
 
6286
6245
  const array_1 = __webpack_require__(8112);
6287
6246
 
6288
- exports.insertion = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('++'), (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blank)(/\n/, '++')), (0, combinator_1.open)(/^\n/, (0, combinator_1.some)(inline_1.inline, '+'), true)])), (0, source_1.str)('++'), false, ([, bs], rest) => [[(0, dom_1.html)('ins', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
6247
+ exports.insertion = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('++'), (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('\n', '++')), (0, combinator_1.open)('\n', (0, combinator_1.some)(inline_1.inline, '+'), true)])), (0, source_1.str)('++'), false, ([, bs], rest) => [[(0, dom_1.html)('ins', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
6289
6248
 
6290
6249
  /***/ }),
6291
6250
 
@@ -6330,7 +6289,7 @@ exports.link = (0, combinator_1.lazy)(() => (0, combinator_1.creator)(10, (0, co
6330
6289
  link: false
6331
6290
  }
6332
6291
  }
6333
- }, (0, combinator_1.dup)((0, combinator_1.union)([(0, combinator_1.surround)('[', inline_1.media, ']'), (0, combinator_1.surround)('[', inline_1.shortmedia, ']'), (0, combinator_1.surround)('[', (0, util_1.startLoose)((0, combinator_1.context)({
6292
+ }, (0, combinator_1.dup)((0, combinator_1.union)([(0, combinator_1.surround)('[', inline_1.media, ']'), (0, combinator_1.surround)('[', inline_1.shortmedia, ']'), (0, combinator_1.surround)('[', (0, combinator_1.context)({
6334
6293
  syntax: {
6335
6294
  inline: {
6336
6295
  annotation: false,
@@ -6343,10 +6302,10 @@ exports.link = (0, combinator_1.lazy)(() => (0, combinator_1.creator)(10, (0, co
6343
6302
  autolink: false
6344
6303
  }
6345
6304
  }
6346
- }, (0, util_1.trimSpaceStart)((0, combinator_1.some)(inline_1.inline, ']', /^\\?\n/)))), ']', true)]))), (0, combinator_1.dup)((0, combinator_1.surround)(/^{(?![{}])/, (0, combinator_1.inits)([exports.uri, (0, combinator_1.some)(exports.option)]), /^[^\S\n]*}/))]))), ([params, content = []], rest, context) => {
6305
+ }, (0, util_1.trimBlankInline)((0, combinator_1.some)(inline_1.inline, ']', /^\\?\n/))), ']', true)]))), (0, combinator_1.dup)((0, combinator_1.surround)(/^{(?![{}])/, (0, combinator_1.inits)([exports.uri, (0, combinator_1.some)(exports.option)]), /^[^\S\n]*}/))]))), ([params, content = []], rest, context) => {
6347
6306
  if ((0, parser_1.eval)((0, combinator_1.some)(autolink_1.autolink)((0, util_1.stringify)(content), context))?.some(node => typeof node === 'object')) return;
6348
6307
  const INSECURE_URI = params.shift();
6349
- const el = elem(INSECURE_URI, (0, util_1.trimNodeEnd)((0, dom_1.defrag)(content)), new url_1.ReadonlyURL(resolve(INSECURE_URI, context.host ?? global_1.location, context.url ?? context.host ?? global_1.location), context.host?.href || global_1.location.href), context.host?.origin || global_1.location.origin);
6308
+ const el = elem(INSECURE_URI, (0, dom_1.defrag)(content), new url_1.ReadonlyURL(resolve(INSECURE_URI, context.host ?? global_1.location, context.url ?? context.host ?? global_1.location), context.host?.href || global_1.location.href), context.host?.origin || global_1.location.origin);
6350
6309
  if (el.classList.contains('invalid')) return [[el], rest];
6351
6310
  return [[(0, dom_1.define)(el, (0, html_1.attributes)('link', [], optspec, params))], rest];
6352
6311
  }))));
@@ -6452,7 +6411,7 @@ const dom_1 = __webpack_require__(3252);
6452
6411
 
6453
6412
  const array_1 = __webpack_require__(8112);
6454
6413
 
6455
- exports.mark = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('=='), (0, util_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blank)('', '==')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '='), inline_1.inline)]))), (0, source_1.str)('=='), false, ([, bs], rest) => [[(0, dom_1.html)('mark', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
6414
+ exports.mark = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('=='), (0, util_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('==')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '='), exports.mark)]))), (0, source_1.str)('=='), false, ([, bs], rest) => [[(0, dom_1.html)('mark', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
6456
6415
 
6457
6416
  /***/ }),
6458
6417
 
@@ -6616,7 +6575,7 @@ const util_1 = __webpack_require__(9437);
6616
6575
 
6617
6576
  const dom_1 = __webpack_require__(3252);
6618
6577
 
6619
- exports.reference = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.validate)('[[', ']]', '\n', (0, combinator_1.fmap)((0, combinator_1.surround)('[[', (0, combinator_1.guard)(context => context.syntax?.inline?.reference ?? true, (0, util_1.startLoose)((0, combinator_1.context)({
6578
+ exports.reference = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.validate)('[[', ']]', '\n', (0, combinator_1.fmap)((0, combinator_1.surround)('[[', (0, combinator_1.guard)(context => context.syntax?.inline?.reference ?? true, (0, combinator_1.context)({
6620
6579
  syntax: {
6621
6580
  inline: {
6622
6581
  annotation: false,
@@ -6630,8 +6589,8 @@ exports.reference = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, c
6630
6589
  }
6631
6590
  },
6632
6591
  delimiters: global_1.undefined
6633
- }, (0, combinator_1.subsequence)([abbr, (0, combinator_1.focus)(/^\^[^\S\n]*/, source => [['', source], '']), (0, util_1.trimSpaceStart)((0, combinator_1.some)(inline_1.inline, ']', /^\\?\n/))])))), ']]'), ns => [(0, dom_1.html)('sup', attributes(ns), (0, util_1.trimNodeEnd)((0, dom_1.defrag)(ns)))]))));
6634
- const abbr = (0, combinator_1.creator)((0, combinator_1.fmap)((0, combinator_1.verify)((0, combinator_1.surround)('^', (0, combinator_1.union)([(0, source_1.str)(/^(?![0-9]+\s?[|\]])[0-9A-Za-z]+(?:(?:-|(?=\W)(?!'\d)'?(?!\.\d)\.?(?!,\S),? ?)[0-9A-Za-z]+)*(?:-|'?\.?,? ?)?/)]), /^\|?(?=]])|^\|[^\S\n]*/), (_, rest, context) => (0, util_1.isStartLoose)(rest, context)), ([source]) => [(0, dom_1.html)('abbr', source)]));
6592
+ }, (0, combinator_1.subsequence)([abbr, (0, combinator_1.focus)(/^\^[^\S\n]*/, source => [['', source], '']), (0, util_1.trimBlankInline)((0, combinator_1.some)(inline_1.inline, ']', /^\\?\n/))]))), ']]'), ns => [(0, dom_1.html)('sup', attributes(ns), (0, dom_1.defrag)(ns))]))));
6593
+ const abbr = (0, combinator_1.creator)((0, combinator_1.bind)((0, combinator_1.surround)('^', (0, combinator_1.union)([(0, source_1.str)(/^(?![0-9]+\s?[|\]])[0-9A-Za-z]+(?:(?:-|(?=\W)(?!'\d)'?(?!\.\d)\.?(?!,\S),? ?)[0-9A-Za-z]+)*(?:-|'?\.?,? ?)?/)]), /^\|?(?=]])|^\|[^\S\n]*/), ([source], rest) => [[(0, dom_1.html)('abbr', source)], rest.replace(util_1.regBlankInlineStart, '')]));
6635
6594
 
6636
6595
  function attributes(ns) {
6637
6596
  return typeof ns[0] === 'object' && ns[0].tagName === 'ABBR' ? {
@@ -6785,6 +6744,8 @@ const combinator_1 = __webpack_require__(2087);
6785
6744
 
6786
6745
  const inline_1 = __webpack_require__(1160);
6787
6746
 
6747
+ const emstrong_1 = __webpack_require__(6132);
6748
+
6788
6749
  const source_1 = __webpack_require__(6743);
6789
6750
 
6790
6751
  const util_1 = __webpack_require__(9437);
@@ -6793,7 +6754,7 @@ const dom_1 = __webpack_require__(3252);
6793
6754
 
6794
6755
  const array_1 = __webpack_require__(8112);
6795
6756
 
6796
- exports.strong = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('**'), (0, util_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blank)('', '**')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), inline_1.inline)])), '*'), (0, source_1.str)('**'), false, ([, bs], rest) => [[(0, dom_1.html)('strong', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
6757
+ exports.strong = (0, combinator_1.lazy)(() => (0, combinator_1.creator)((0, combinator_1.surround)((0, source_1.str)('**'), (0, util_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, util_1.blankWith)('**')), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*'), (0, combinator_1.union)([emstrong_1.emstrong, exports.strong]))])), '*'), (0, source_1.str)('**'), false, ([, bs], rest) => [[(0, dom_1.html)('strong', (0, dom_1.defrag)(bs))], rest], ([as, bs], rest) => [(0, array_1.unshift)(as, bs), rest])));
6797
6758
 
6798
6759
  /***/ }),
6799
6760
 
@@ -7445,10 +7406,10 @@ const combinator_1 = __webpack_require__(2087);
7445
7406
 
7446
7407
  const text_1 = __webpack_require__(7763);
7447
7408
 
7448
- const separator = /[\s\x00-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F]/;
7409
+ const delimiter = /[\s\x00-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F]/;
7449
7410
  exports.escsource = (0, combinator_1.creator)(source => {
7450
7411
  if (source === '') return;
7451
- const i = source.search(separator);
7412
+ const i = source.search(delimiter);
7452
7413
 
7453
7414
  switch (i) {
7454
7415
  case -1:
@@ -7465,7 +7426,7 @@ exports.escsource = (0, combinator_1.creator)(source => {
7465
7426
  default:
7466
7427
  const b = source[0] !== '\n' && source[0].trimStart() === '';
7467
7428
  const i = b ? source.search(text_1.nonWhitespace) : 1;
7468
- return [[source.slice(0, i)], source.slice(i)];
7429
+ return [[source.slice(0, i - +b || 1)], source.slice(i - +b || 1)];
7469
7430
  }
7470
7431
 
7471
7432
  default:
@@ -7548,7 +7509,7 @@ exports.stropt = stropt;
7548
7509
  Object.defineProperty(exports, "__esModule", ({
7549
7510
  value: true
7550
7511
  }));
7551
- exports.isAlphanumeric = exports.linebreak = exports.txt = exports.text = exports.nonAlphanumeric = exports.nonWhitespace = exports.separator = void 0;
7512
+ exports.isAlphanumeric = exports.linebreak = exports.txt = exports.text = exports.nonAlphanumeric = exports.nonWhitespace = exports.delimiter = void 0;
7552
7513
 
7553
7514
  const global_1 = __webpack_require__(4128);
7554
7515
 
@@ -7558,13 +7519,13 @@ const str_1 = __webpack_require__(2790);
7558
7519
 
7559
7520
  const dom_1 = __webpack_require__(3252);
7560
7521
 
7561
- exports.separator = /[\s\x00-\x7F]|\S#|[、。!?][^\S\n]*(?=\\\n)/;
7522
+ exports.delimiter = /[\s\x00-\x7F]|\S#|[、。!?][^\S\n]*(?=\\\n)/;
7562
7523
  exports.nonWhitespace = /[\S\n]|$/;
7563
7524
  exports.nonAlphanumeric = /[^0-9A-Za-z]|\S#|$/;
7564
7525
  const repeat = (0, str_1.str)(/^(.)\1*/);
7565
7526
  exports.text = (0, combinator_1.creator)((source, context) => {
7566
7527
  if (source === '') return;
7567
- const i = source.search(exports.separator);
7528
+ const i = source.search(exports.delimiter);
7568
7529
 
7569
7530
  switch (i) {
7570
7531
  case -1:
@@ -7623,7 +7584,7 @@ exports.text = (0, combinator_1.creator)((source, context) => {
7623
7584
  default:
7624
7585
  const b = source[0].trimStart() === '';
7625
7586
  const i = b || isAlphanumeric(source[0]) ? source.search(b ? exports.nonWhitespace : exports.nonAlphanumeric) || 1 : 1;
7626
- return b && i === source.length || b && source[i] === '\n' || b && source[i] === '\\' && source[i + 1] === '\n' ? [[], source.slice(i)] : [[source.slice(0, i)], source.slice(i)];
7587
+ return b && i === source.length || b && source[i] === '\n' || b && source[i] === '\\' && source[i + 1] === '\n' ? [[], source.slice(i)] : [[source.slice(0, i - +b || 1)], source.slice(i - +b || 1)];
7627
7588
  }
7628
7589
 
7629
7590
  default:
@@ -7659,7 +7620,7 @@ const text_1 = __webpack_require__(7763);
7659
7620
 
7660
7621
  exports.unescsource = (0, combinator_1.creator)(source => {
7661
7622
  if (source === '') return;
7662
- const i = source.search(text_1.separator);
7623
+ const i = source.search(text_1.delimiter);
7663
7624
 
7664
7625
  switch (i) {
7665
7626
  case -1:
@@ -7669,7 +7630,7 @@ exports.unescsource = (0, combinator_1.creator)(source => {
7669
7630
  {
7670
7631
  const b = source[0] !== '\n' && source[0].trimStart() === '';
7671
7632
  const i = b || (0, text_1.isAlphanumeric)(source[0]) ? source.search(b ? text_1.nonWhitespace : text_1.nonAlphanumeric) || 1 : 1;
7672
- return [[source.slice(0, i)], source.slice(i)];
7633
+ return [[source.slice(0, i - +b || 1)], source.slice(i - +b || 1)];
7673
7634
  }
7674
7635
 
7675
7636
  default:
@@ -7688,7 +7649,7 @@ exports.unescsource = (0, combinator_1.creator)(source => {
7688
7649
  Object.defineProperty(exports, "__esModule", ({
7689
7650
  value: true
7690
7651
  }));
7691
- exports.stringify = exports.trimNodeEnd = exports.trimSpaceStart = exports.isStartTightNodes = exports.startTight = exports.isStartLoose = exports.startLoose = exports.visualize = exports.blank = void 0;
7652
+ exports.stringify = exports.trimNodeEnd = exports.trimBlankInline = exports.isStartTightNodes = exports.startTight = exports.startLoose = exports.visualize = exports.blankWith = exports.regBlankInlineStart = void 0;
7692
7653
 
7693
7654
  const global_1 = __webpack_require__(4128);
7694
7655
 
@@ -7706,11 +7667,14 @@ const memoize_1 = __webpack_require__(1808);
7706
7667
 
7707
7668
  const array_1 = __webpack_require__(8112);
7708
7669
 
7709
- function blank(prefix, suffix) {
7710
- return new RegExp(String.raw`^(?:${prefix && prefix.source}(?:\\\s|[^\S\n]|\n|&(?:${normalize_1.invisibleHTMLEntityNames.join('|')});|<wbr>)*)?${typeof suffix === 'string' ? suffix.replace(/[*+()\[\]]/g, '\\$&') : suffix.source}`);
7670
+ exports.regBlankInlineStart = new RegExp(String.raw`^(?:\\?[^\S\n]|&(?:${normalize_1.invisibleHTMLEntityNames.join('|')});|<wbr>)+`);
7671
+
7672
+ function blankWith(starting, delimiter) {
7673
+ if (delimiter === global_1.undefined) return blankWith('', starting);
7674
+ return new RegExp(String.raw`^(?:(?=${starting})(?:\\?\s|&(?:${normalize_1.invisibleHTMLEntityNames.join('|')});|<wbr>)${starting && '+'})?${typeof delimiter === 'string' ? delimiter.replace(/[*+()\[\]]/g, '\\$&') : delimiter.source}`);
7711
7675
  }
7712
7676
 
7713
- exports.blank = blank;
7677
+ exports.blankWith = blankWith;
7714
7678
 
7715
7679
  function visualize(parser) {
7716
7680
  const blankline = new RegExp(String.raw`^(?:\\$|\\?[^\S\n]|&(?:${normalize_1.invisibleHTMLEntityNames.join('|')});|<wbr>)+$`, 'gm');
@@ -7741,12 +7705,12 @@ function hasVisible(nodes, {
7741
7705
  }
7742
7706
 
7743
7707
  function startLoose(parser, except) {
7744
- return (source, context) => (0, exports.isStartLoose)(source, context, except) ? parser(source, context) : global_1.undefined;
7708
+ return (source, context) => isStartLoose(source, context, except) ? parser(source, context) : global_1.undefined;
7745
7709
  }
7746
7710
 
7747
7711
  exports.startLoose = startLoose;
7748
- exports.isStartLoose = (0, memoize_1.reduce)((source, context, except) => {
7749
- return isStartTight(source.replace(/^[^\S\n]+/, ''), context, except);
7712
+ const isStartLoose = (0, memoize_1.reduce)((source, context, except) => {
7713
+ return isStartTight(source.replace(exports.regBlankInlineStart, ''), context, except);
7750
7714
  }, (source, _, except = '') => `${source}\x1E${except}`);
7751
7715
 
7752
7716
  function startTight(parser, except) {
@@ -7831,11 +7795,15 @@ function isVisible(node, strpos) {
7831
7795
  }
7832
7796
  }
7833
7797
 
7834
- function trimSpaceStart(parser) {
7835
- return (0, combinator_1.convert)((0, memoize_1.reduce)(source => source.replace(/^[^\S\n]+/, '')), parser);
7798
+ function trimBlankInline(parser) {
7799
+ return (0, combinator_1.fmap)(trimBlankInlineStart(parser), trimNodeEnd);
7836
7800
  }
7837
7801
 
7838
- exports.trimSpaceStart = trimSpaceStart; //export function trimNode(nodes: (HTMLElement | string)[]): (HTMLElement | string)[] {
7802
+ exports.trimBlankInline = trimBlankInline;
7803
+
7804
+ function trimBlankInlineStart(parser) {
7805
+ return (0, combinator_1.convert)((0, memoize_1.reduce)(source => source.replace(exports.regBlankInlineStart, '')), parser);
7806
+ } //export function trimNode(nodes: (HTMLElement | string)[]): (HTMLElement | string)[] {
7839
7807
  // return trimNodeStart(trimNodeEnd(nodes));
7840
7808
  //}
7841
7809
  //function trimNodeStart(nodes: (HTMLElement | string)[]): (HTMLElement | string)[] {
@@ -7853,6 +7821,7 @@ exports.trimSpaceStart = trimSpaceStart; //export function trimNode(nodes: (HTML
7853
7821
  // return nodes;
7854
7822
  //}
7855
7823
 
7824
+
7856
7825
  function trimNodeEnd(nodes) {
7857
7826
  const skip = nodes.length > 0 && typeof nodes[nodes.length - 1] === 'object' && nodes[nodes.length - 1]['className'] === 'indexer' ? [nodes.pop()] : [];
7858
7827
 
@@ -8142,18 +8111,18 @@ Object.defineProperty(exports, "__esModule", ({
8142
8111
  }));
8143
8112
  exports.image = void 0;
8144
8113
 
8145
- const alias_1 = __webpack_require__(5406);
8114
+ const global_1 = __webpack_require__(4128);
8146
8115
 
8147
8116
  const dom_1 = __webpack_require__(3252);
8148
8117
 
8149
8118
  function image(source, url, cache) {
8150
- if (cache?.has(url.href)) return (0, dom_1.define)(cache.get(url.href).cloneNode(true), (0, alias_1.ObjectFromEntries)([...source.attributes].map(attr => [attr.name, attr.value])));
8119
+ if (cache?.has(url.href)) return (0, dom_1.define)(cache.get(url.href).cloneNode(true), global_1.Object.fromEntries([...source.attributes].map(attr => [attr.name, attr.value])));
8151
8120
  (0, dom_1.define)(source, {
8152
8121
  'data-type': 'image',
8153
8122
  src: source.getAttribute('data-src'),
8154
8123
  loading: 'lazy'
8155
8124
  });
8156
- cache?.set(url.href, (0, dom_1.define)(source.cloneNode(true), (0, alias_1.ObjectFromEntries)([...source.attributes].filter(attr => !['class', 'data-type', 'data-src', 'src', 'loading'].includes(attr.name)).map(attr => [attr.name, null]))));
8125
+ cache?.set(url.href, (0, dom_1.define)(source.cloneNode(true), global_1.Object.fromEntries([...source.attributes].filter(attr => !['class', 'data-type', 'data-src', 'src', 'loading'].includes(attr.name)).map(attr => [attr.name, null]))));
8157
8126
  return source;
8158
8127
  }
8159
8128
 
@@ -8274,7 +8243,7 @@ Object.defineProperty(exports, "__esModule", ({
8274
8243
  }));
8275
8244
  exports.video = void 0;
8276
8245
 
8277
- const alias_1 = __webpack_require__(5406);
8246
+ const global_1 = __webpack_require__(4128);
8278
8247
 
8279
8248
  const dom_1 = __webpack_require__(3252);
8280
8249
 
@@ -8285,7 +8254,7 @@ function video(source, url) {
8285
8254
  return (0, dom_1.html)('video', {
8286
8255
  src: source.getAttribute('data-src'),
8287
8256
  'data-type': 'video',
8288
- ...(0, alias_1.ObjectFromEntries)([...source.attributes].map(attr => [attr.name, attr.value])),
8257
+ ...global_1.Object.fromEntries([...source.attributes].map(attr => [attr.name, attr.value])),
8289
8258
  muted: '',
8290
8259
  controls: ''
8291
8260
  });
@@ -8660,7 +8629,7 @@ function fix(h) {
8660
8629
  /***/ 3252:
8661
8630
  /***/ (function(module) {
8662
8631
 
8663
- /*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
8632
+ /*! typed-dom v0.0.297 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
8664
8633
  (function webpackUniversalModuleDefinition(root, factory) {
8665
8634
  if(true)
8666
8635
  module.exports = factory();
@@ -8678,50 +8647,18 @@ return /******/ (() => { // webpackBootstrap
8678
8647
  Object.defineProperty(exports, "__esModule", ({
8679
8648
  value: true
8680
8649
  }));
8681
- exports.isArray = exports.ObjectValues = exports.ObjectSetPrototypeOf = exports.ObjectSeal = exports.ObjectPreventExtensions = exports.ObjectKeys = exports.isSealed = exports.isFrozen = exports.isExtensible = exports.ObjectIs = exports.ObjectGetPrototypeOf = exports.ObjectGetOwnPropertySymbols = exports.ObjectGetOwnPropertyNames = exports.ObjectGetOwnPropertyDescriptors = exports.ObjectGetOwnPropertyDescriptor = exports.ObjectFromEntries = exports.ObjectFreeze = exports.ObjectEntries = exports.ObjectDefineProperty = exports.ObjectDefineProperties = exports.ObjectCreate = exports.ObjectAssign = exports.toString = exports.isEnumerable = exports.isPrototypeOf = exports.hasOwnProperty = exports.SymbolKeyFor = exports.SymbolFor = exports.sign = exports.round = exports.random = exports.min = exports.max = exports.floor = exports.ceil = exports.abs = exports.parseInt = exports.parseFloat = exports.isSafeInteger = exports.isNaN = exports.isInteger = exports.isFinite = exports[NaN] = void 0;
8650
+ exports.ObjectSetPrototypeOf = exports.ObjectGetPrototypeOf = exports.ObjectCreate = exports.ObjectAssign = exports.toString = exports.isEnumerable = exports.isPrototypeOf = exports.hasOwnProperty = exports.isArray = exports.sign = exports.round = exports.random = exports.min = exports.max = exports.floor = exports.ceil = exports.abs = exports.parseInt = exports.parseFloat = exports.isSafeInteger = exports.isNaN = exports.isInteger = exports.isFinite = exports[NaN] = void 0;
8682
8651
  exports[NaN] = Number.NaN, exports.isFinite = Number.isFinite, exports.isInteger = Number.isInteger, exports.isNaN = Number.isNaN, exports.isSafeInteger = Number.isSafeInteger, exports.parseFloat = Number.parseFloat, exports.parseInt = Number.parseInt;
8683
- exports.abs = Math.abs, exports.ceil = Math.ceil, exports.floor = Math.floor, exports.max = Math.max, exports.min = Math.min, exports.random = Math.random, exports.round = Math.round, exports.sign = Math.sign; //export const SymbolAsyncIterator: typeof Symbol.asyncIterator = Symbol.asyncIterator;
8684
-
8685
- exports.SymbolFor = Symbol.for; //export const SymbolHasInstance: typeof Symbol.hasInstance = Symbol.hasInstance;
8686
- //export const SymbolIsConcatSpreadable: typeof Symbol.isConcatSpreadable = Symbol.isConcatSpreadable;
8687
- //export const SymbolIterator: typeof Symbol.iterator = Symbol.iterator;
8688
-
8689
- exports.SymbolKeyFor = Symbol.keyFor; //export const SymbolMatch: typeof Symbol.match = Symbol.match;
8690
- //export const SymbolReplace: typeof Symbol.replace = Symbol.replace;
8691
- //export const SymbolSearch: typeof Symbol.search = Symbol.search;
8692
- //export const SymbolSpecies: typeof Symbol.species = Symbol.species;
8693
- //export const SymbolSplit: typeof Symbol.split = Symbol.split;
8694
- //export const SymbolToPrimitive: typeof Symbol.toPrimitive = Symbol.toPrimitive;
8695
- //export const SymbolToStringTag: typeof Symbol.toStringTag = Symbol.toStringTag;
8696
- //export const SymbolUnscopables: typeof Symbol.unscopables = Symbol.unscopables;
8697
-
8652
+ exports.abs = Math.abs, exports.ceil = Math.ceil, exports.floor = Math.floor, exports.max = Math.max, exports.min = Math.min, exports.random = Math.random, exports.round = Math.round, exports.sign = Math.sign;
8653
+ exports.isArray = Array.isArray;
8698
8654
  exports.hasOwnProperty = Object.prototype.hasOwnProperty.call.bind(Object.prototype.hasOwnProperty);
8699
8655
  exports.isPrototypeOf = Object.prototype.isPrototypeOf.call.bind(Object.prototype.isPrototypeOf);
8700
8656
  exports.isEnumerable = Object.prototype.propertyIsEnumerable.call.bind(Object.prototype.propertyIsEnumerable);
8701
8657
  exports.toString = Object.prototype.toString.call.bind(Object.prototype.toString);
8702
8658
  exports.ObjectAssign = Object.assign;
8703
8659
  exports.ObjectCreate = Object.create;
8704
- exports.ObjectDefineProperties = Object.defineProperties;
8705
- exports.ObjectDefineProperty = Object.defineProperty;
8706
- exports.ObjectEntries = Object.entries;
8707
- exports.ObjectFreeze = Object.freeze; // @ts-ignore
8708
-
8709
- exports.ObjectFromEntries = Object.fromEntries;
8710
- exports.ObjectGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
8711
- exports.ObjectGetOwnPropertyDescriptors = Object.getOwnPropertyDescriptors;
8712
- exports.ObjectGetOwnPropertyNames = Object.getOwnPropertyNames;
8713
- exports.ObjectGetOwnPropertySymbols = Object.getOwnPropertySymbols;
8714
8660
  exports.ObjectGetPrototypeOf = Object.getPrototypeOf;
8715
- exports.ObjectIs = Object.is;
8716
- exports.isExtensible = Object.isExtensible;
8717
- exports.isFrozen = Object.isFrozen;
8718
- exports.isSealed = Object.isSealed;
8719
- exports.ObjectKeys = Object.keys;
8720
- exports.ObjectPreventExtensions = Object.preventExtensions;
8721
- exports.ObjectSeal = Object.seal;
8722
8661
  exports.ObjectSetPrototypeOf = Object.setPrototypeOf;
8723
- exports.ObjectValues = Object.values;
8724
- exports.isArray = Array.isArray;
8725
8662
 
8726
8663
  /***/ }),
8727
8664
 
@@ -8744,11 +8681,11 @@ exports.equal = equal;
8744
8681
  /***/ }),
8745
8682
 
8746
8683
  /***/ 128:
8747
- /***/ ((module, __unused_webpack_exports, __nested_webpack_require_4955__) => {
8684
+ /***/ ((module, __unused_webpack_exports, __nested_webpack_require_2590__) => {
8748
8685
 
8749
8686
 
8750
8687
 
8751
- __nested_webpack_require_4955__(921);
8688
+ __nested_webpack_require_2590__(921);
8752
8689
 
8753
8690
  const global = void 0 || typeof globalThis !== 'undefined' && globalThis // @ts-ignore
8754
8691
  || typeof self !== 'undefined' && self || Function('return this')();
@@ -8769,7 +8706,7 @@ var global = (/* unused pure expression or super */ null && (0));
8769
8706
  /***/ }),
8770
8707
 
8771
8708
  /***/ 808:
8772
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_5442__) => {
8709
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_3077__) => {
8773
8710
 
8774
8711
 
8775
8712
 
@@ -8778,11 +8715,11 @@ Object.defineProperty(exports, "__esModule", ({
8778
8715
  }));
8779
8716
  exports.reduce = exports.memoize = void 0;
8780
8717
 
8781
- const global_1 = __nested_webpack_require_5442__(128);
8718
+ const global_1 = __nested_webpack_require_3077__(128);
8782
8719
 
8783
- const alias_1 = __nested_webpack_require_5442__(406);
8720
+ const alias_1 = __nested_webpack_require_3077__(406);
8784
8721
 
8785
- const compare_1 = __nested_webpack_require_5442__(529);
8722
+ const compare_1 = __nested_webpack_require_3077__(529);
8786
8723
 
8787
8724
  function memoize(f, identify = (...as) => as[0], memory) {
8788
8725
  if (typeof identify === 'object') return memoize(f, void 0, identify);
@@ -8840,7 +8777,7 @@ exports.reduce = reduce;
8840
8777
  /***/ }),
8841
8778
 
8842
8779
  /***/ 521:
8843
- /***/ ((__unused_webpack_module, exports, __nested_webpack_require_6832__) => {
8780
+ /***/ ((__unused_webpack_module, exports, __nested_webpack_require_4467__) => {
8844
8781
 
8845
8782
 
8846
8783
 
@@ -8849,11 +8786,11 @@ Object.defineProperty(exports, "__esModule", ({
8849
8786
  }));
8850
8787
  exports.defrag = exports.prepend = exports.append = exports.isChildren = exports.define = exports.element = exports.text = exports.svg = exports.html = exports.frag = exports.shadow = void 0;
8851
8788
 
8852
- const global_1 = __nested_webpack_require_6832__(128);
8789
+ const global_1 = __nested_webpack_require_4467__(128);
8853
8790
 
8854
- const alias_1 = __nested_webpack_require_6832__(406);
8791
+ const alias_1 = __nested_webpack_require_4467__(406);
8855
8792
 
8856
- const memoize_1 = __nested_webpack_require_6832__(808);
8793
+ const memoize_1 = __nested_webpack_require_4467__(808);
8857
8794
 
8858
8795
  var caches;
8859
8796
 
@@ -8881,10 +8818,10 @@ function frag(children) {
8881
8818
 
8882
8819
  exports.frag = frag;
8883
8820
  exports.html = element(global_1.document, "HTML"
8884
- /* HTML */
8821
+ /* NS.HTML */
8885
8822
  );
8886
8823
  exports.svg = element(global_1.document, "SVG"
8887
- /* SVG */
8824
+ /* NS.SVG */
8888
8825
  );
8889
8826
 
8890
8827
  function text(source) {
@@ -8908,17 +8845,17 @@ function elem(context, ns, tag) {
8908
8845
 
8909
8846
  switch (ns) {
8910
8847
  case "HTML"
8911
- /* HTML */
8848
+ /* NS.HTML */
8912
8849
  :
8913
8850
  return context.createElement(tag);
8914
8851
 
8915
8852
  case "SVG"
8916
- /* SVG */
8853
+ /* NS.SVG */
8917
8854
  :
8918
8855
  return context.createElementNS('http://www.w3.org/2000/svg', tag);
8919
8856
 
8920
8857
  case "MathML"
8921
- /* MathML */
8858
+ /* NS.MathML */
8922
8859
  :
8923
8860
  return context.createElementNS('http://www.w3.org/1998/Math/MathML', tag);
8924
8861
  }
@@ -8954,7 +8891,7 @@ function defineAttrs(el, attrs) {
8954
8891
  case 'connect':
8955
8892
  case 'disconnect':
8956
8893
  const prop = `on${type}`;
8957
- el[prop] ?? (0, alias_1.ObjectDefineProperty)(el, prop, {
8894
+ el[prop] ?? global_1.Object.defineProperty(el, prop, {
8958
8895
  configurable: true,
8959
8896
  enumerable: false,
8960
8897
  writable: true,
@@ -8981,7 +8918,7 @@ function defineAttrs(el, attrs) {
8981
8918
  case 'connect':
8982
8919
  case 'disconnect':
8983
8920
  const prop = `on${type}`;
8984
- el[prop] ?? (0, alias_1.ObjectDefineProperty)(el, prop, {
8921
+ el[prop] ?? global_1.Object.defineProperty(el, prop, {
8985
8922
  configurable: true,
8986
8923
  enumerable: false,
8987
8924
  writable: true,
@@ -9089,7 +9026,7 @@ exports.defrag = defrag;
9089
9026
  /******/ var __webpack_module_cache__ = {};
9090
9027
  /******/
9091
9028
  /******/ // The require function
9092
- /******/ function __nested_webpack_require_13916__(moduleId) {
9029
+ /******/ function __nested_webpack_require_11560__(moduleId) {
9093
9030
  /******/ // Check if module is in cache
9094
9031
  /******/ var cachedModule = __webpack_module_cache__[moduleId];
9095
9032
  /******/ if (cachedModule !== undefined) {
@@ -9103,7 +9040,7 @@ exports.defrag = defrag;
9103
9040
  /******/ };
9104
9041
  /******/
9105
9042
  /******/ // Execute the module function
9106
- /******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_13916__);
9043
+ /******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_11560__);
9107
9044
  /******/
9108
9045
  /******/ // Return the exports of the module
9109
9046
  /******/ return module.exports;
@@ -9114,7 +9051,7 @@ exports.defrag = defrag;
9114
9051
  /******/ // startup
9115
9052
  /******/ // Load entry module and return exports
9116
9053
  /******/ // This entry module is referenced by other modules so it can't be inlined
9117
- /******/ var __webpack_exports__ = __nested_webpack_require_13916__(521);
9054
+ /******/ var __webpack_exports__ = __nested_webpack_require_11560__(521);
9118
9055
  /******/
9119
9056
  /******/ return __webpack_exports__;
9120
9057
  /******/ })()
@@ -9126,7 +9063,7 @@ exports.defrag = defrag;
9126
9063
  /***/ 6120:
9127
9064
  /***/ (function(module) {
9128
9065
 
9129
- /*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
9066
+ /*! typed-dom v0.0.297 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
9130
9067
  (function webpackUniversalModuleDefinition(root, factory) {
9131
9068
  if(true)
9132
9069
  module.exports = factory();