securemark 0.280.9 → 0.281.1

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.280.9 https://github.com/falsandtru/securemark | (c) 2017, falsandtru | UNLICENSED License */
1
+ /*! securemark v0.281.1 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("Prism"), require("DOMPurify"));
@@ -8,11 +8,11 @@
8
8
  exports["securemark"] = factory(require("Prism"), require("DOMPurify"));
9
9
  else
10
10
  root["securemark"] = factory(root["Prism"], root["DOMPurify"]);
11
- })(this, (__WEBPACK_EXTERNAL_MODULE__9736__, __WEBPACK_EXTERNAL_MODULE__2282__) => {
11
+ })(this, (__WEBPACK_EXTERNAL_MODULE__293__, __WEBPACK_EXTERNAL_MODULE__611__) => {
12
12
  return /******/ (() => { // webpackBootstrap
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 8207:
15
+ /***/ 8257:
16
16
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
17
17
 
18
18
  "use strict";
@@ -40,14 +40,14 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
40
40
  Object.defineProperty(exports, "__esModule", ({
41
41
  value: true
42
42
  }));
43
- __webpack_require__(8324);
44
- __exportStar(__webpack_require__(8112), exports);
45
- __exportStar(__webpack_require__(9108), exports);
46
- __exportStar(__webpack_require__(4652), exports);
43
+ __webpack_require__(518);
44
+ __exportStar(__webpack_require__(3561), exports);
45
+ __exportStar(__webpack_require__(2570), exports);
46
+ __exportStar(__webpack_require__(1625), exports);
47
47
 
48
48
  /***/ }),
49
49
 
50
- /***/ 5807:
50
+ /***/ 5413:
51
51
  /***/ ((__unused_webpack_module, exports) => {
52
52
 
53
53
  "use strict";
@@ -71,7 +71,7 @@ exports.ObjectSetPrototypeOf = Object.setPrototypeOf;
71
71
 
72
72
  /***/ }),
73
73
 
74
- /***/ 8980:
74
+ /***/ 6876:
75
75
  /***/ ((__unused_webpack_module, exports) => {
76
76
 
77
77
  "use strict";
@@ -167,7 +167,39 @@ exports.splice = splice;
167
167
 
168
168
  /***/ }),
169
169
 
170
- /***/ 7124:
170
+ /***/ 6212:
171
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
172
+
173
+ "use strict";
174
+
175
+
176
+ var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
177
+ if (k2 === undefined) k2 = k;
178
+ var desc = Object.getOwnPropertyDescriptor(m, k);
179
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
180
+ desc = {
181
+ enumerable: true,
182
+ get: function () {
183
+ return m[k];
184
+ }
185
+ };
186
+ }
187
+ Object.defineProperty(o, k2, desc);
188
+ } : function (o, m, k, k2) {
189
+ if (k2 === undefined) k2 = k;
190
+ o[k2] = m[k];
191
+ });
192
+ var __exportStar = this && this.__exportStar || function (m, exports) {
193
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
194
+ };
195
+ Object.defineProperty(exports, "__esModule", ({
196
+ value: true
197
+ }));
198
+ __exportStar(__webpack_require__(1311), exports);
199
+
200
+ /***/ }),
201
+
202
+ /***/ 8663:
171
203
  /***/ ((__unused_webpack_module, exports) => {
172
204
 
173
205
  "use strict";
@@ -192,7 +224,7 @@ class Clock {
192
224
  this.$length = 0;
193
225
  this.initial = 1;
194
226
  this.capacity = ((capacity - 1 | MASK) >>> 0) + 1;
195
- this.refs = new Uint32Array(this.capacity >>> DIGIT);
227
+ this.refs = new Int32Array(this.capacity >>> DIGIT);
196
228
  }
197
229
  get length() {
198
230
  return this.$length;
@@ -237,8 +269,8 @@ class Clock {
237
269
  } = this, i = hand >>> DIGIT, r = hand & MASK;;) {
238
270
  const b = refs[i];
239
271
  if (b >>> r === ~0 >>> r) {
240
- hand = hand + BASE - r;
241
- refs[i] = 0;
272
+ hand += BASE - r;
273
+ refs[i] = b & (1 << r) - 1;
242
274
  r = 0;
243
275
  if (hand < capacity) {
244
276
  ++i;
@@ -250,8 +282,8 @@ class Clock {
250
282
  }
251
283
  const l = search(b, r);
252
284
  if (l !== r) {
253
- refs[i] = b & ~((1 << l) - 1 >>> r << r);
254
285
  hand += l - r;
286
+ refs[i] = b & ~((1 << l) - 1 >>> r << r);
255
287
  }
256
288
  this.locate(hand, key, value);
257
289
  return hand;
@@ -294,12 +326,10 @@ class Clock {
294
326
  const v = values[index] = values[hand];
295
327
  keys[hand] = undefined;
296
328
  values[hand] = empty;
297
- if (index === hand || v === empty) {
298
- this.unmark(index);
299
- return true;
329
+ if (index !== hand && v !== empty) {
330
+ dict.set(k, index);
331
+ (refs[hand >>> DIGIT] & 1 << (hand & MASK)) === 0 ? this.unmark(index) : this.mark(index);
300
332
  }
301
- dict.set(k, index);
302
- (refs[hand >>> DIGIT] & 1 << (hand & MASK)) === 0 ? this.unmark(index) : this.mark(index);
303
333
  this.unmark(hand);
304
334
  return true;
305
335
  }
@@ -407,7 +437,7 @@ function potision(n) {
407
437
 
408
438
  /***/ }),
409
439
 
410
- /***/ 1928:
440
+ /***/ 1934:
411
441
  /***/ ((__unused_webpack_module, exports) => {
412
442
 
413
443
  "use strict";
@@ -424,7 +454,7 @@ exports.equal = equal;
424
454
 
425
455
  /***/ }),
426
456
 
427
- /***/ 1444:
457
+ /***/ 9202:
428
458
  /***/ ((__unused_webpack_module, exports) => {
429
459
 
430
460
  "use strict";
@@ -567,7 +597,7 @@ exports.duffReduce = duffReduce;
567
597
 
568
598
  /***/ }),
569
599
 
570
- /***/ 8324:
600
+ /***/ 518:
571
601
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
572
602
 
573
603
  "use strict";
@@ -576,14 +606,14 @@ exports.duffReduce = duffReduce;
576
606
  Object.defineProperty(exports, "__esModule", ({
577
607
  value: true
578
608
  }));
579
- __webpack_require__(8304);
609
+ __webpack_require__(3394);
580
610
  const global = globalThis;
581
611
  global.global = global;
582
612
  exports["default"] = global;
583
613
 
584
614
  /***/ }),
585
615
 
586
- /***/ 8304:
616
+ /***/ 3394:
587
617
  /***/ (() => {
588
618
 
589
619
  "use strict";
@@ -594,7 +624,7 @@ var global = (/* unused pure expression or super */ null && (globalThis));
594
624
 
595
625
  /***/ }),
596
626
 
597
- /***/ 8487:
627
+ /***/ 3719:
598
628
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
599
629
 
600
630
  "use strict";
@@ -604,8 +634,8 @@ Object.defineProperty(exports, "__esModule", ({
604
634
  value: true
605
635
  }));
606
636
  exports.MultiHeap = exports.Heap = void 0;
607
- const list_1 = __webpack_require__(9756);
608
- const memoize_1 = __webpack_require__(276);
637
+ const list_1 = __webpack_require__(4609);
638
+ const memoize_1 = __webpack_require__(6925);
609
639
  class Heap {
610
640
  constructor(cmp = Heap.max, options) {
611
641
  this.cmp = cmp;
@@ -831,7 +861,7 @@ MultiHeap.min = Heap.min;
831
861
 
832
862
  /***/ }),
833
863
 
834
- /***/ 9756:
864
+ /***/ 4609:
835
865
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
836
866
 
837
867
  "use strict";
@@ -859,11 +889,11 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
859
889
  Object.defineProperty(exports, "__esModule", ({
860
890
  value: true
861
891
  }));
862
- __exportStar(__webpack_require__(6868), exports);
892
+ __exportStar(__webpack_require__(1952), exports);
863
893
 
864
894
  /***/ }),
865
895
 
866
- /***/ 6868:
896
+ /***/ 1311:
867
897
  /***/ ((__unused_webpack_module, exports) => {
868
898
 
869
899
  "use strict";
@@ -977,7 +1007,120 @@ exports.List = List;
977
1007
 
978
1008
  /***/ }),
979
1009
 
980
- /***/ 276:
1010
+ /***/ 1952:
1011
+ /***/ ((__unused_webpack_module, exports) => {
1012
+
1013
+ "use strict";
1014
+
1015
+
1016
+ // Memory-efficient flexible list.
1017
+ Object.defineProperty(exports, "__esModule", ({
1018
+ value: true
1019
+ }));
1020
+ exports.List = void 0;
1021
+ // LRUではclistの方が速い。
1022
+ class List {
1023
+ constructor() {
1024
+ this.length = 0;
1025
+ this.head = undefined;
1026
+ this.last = undefined;
1027
+ }
1028
+ get tail() {
1029
+ return this.head?.next;
1030
+ }
1031
+ insert(node, before) {
1032
+ if (before === undefined) return this.push(node);
1033
+ if (before === this.head) return this.unshift(node);
1034
+ if (++this.length === 1) {
1035
+ return this.head = this.last = node;
1036
+ }
1037
+ const next = node.next = before;
1038
+ const prev = node.prev = next.prev;
1039
+ return next.prev = prev.next = node;
1040
+ }
1041
+ delete(node) {
1042
+ if (--this.length === 0) {
1043
+ this.head = this.last = undefined;
1044
+ } else {
1045
+ const {
1046
+ next,
1047
+ prev
1048
+ } = node;
1049
+ prev === undefined ? this.head = next : prev.next = next;
1050
+ next === undefined ? this.last = prev : next.prev = prev;
1051
+ }
1052
+ node.next = node.prev = undefined;
1053
+ return node;
1054
+ }
1055
+ unshift(node) {
1056
+ if (++this.length === 1) {
1057
+ return this.head = this.last = node;
1058
+ }
1059
+ node.next = this.head;
1060
+ return this.head = this.head.prev = node;
1061
+ }
1062
+ push(node) {
1063
+ if (++this.length === 1) {
1064
+ return this.head = this.last = node;
1065
+ }
1066
+ node.prev = this.last;
1067
+ return this.last = this.last.next = node;
1068
+ }
1069
+ shift() {
1070
+ if (this.length === 0) return;
1071
+ return this.delete(this.head);
1072
+ }
1073
+ pop() {
1074
+ if (this.length === 0) return;
1075
+ return this.delete(this.last);
1076
+ }
1077
+ clear() {
1078
+ this.length = 0;
1079
+ this.head = this.last = undefined;
1080
+ }
1081
+ *[Symbol.iterator]() {
1082
+ for (let node = this.head; node !== undefined; node = node.next) {
1083
+ yield node;
1084
+ }
1085
+ }
1086
+ flatMap(f) {
1087
+ const acc = [];
1088
+ for (let node = this.head; node !== undefined; node = node.next) {
1089
+ const as = f(node);
1090
+ switch (as.length) {
1091
+ case 0:
1092
+ break;
1093
+ case 1:
1094
+ acc.push(as[0]);
1095
+ break;
1096
+ default:
1097
+ for (let len = as.length, i = 0; i < len; ++i) {
1098
+ acc.push(as[i]);
1099
+ }
1100
+ }
1101
+ }
1102
+ return acc;
1103
+ }
1104
+ find(f) {
1105
+ for (let node = this.head; node !== undefined; node = node.next) {
1106
+ if (f(node)) return node;
1107
+ }
1108
+ }
1109
+ }
1110
+ exports.List = List;
1111
+ (function (List) {
1112
+ class Node {
1113
+ constructor() {
1114
+ this.next = undefined;
1115
+ this.prev = undefined;
1116
+ }
1117
+ }
1118
+ List.Node = Node;
1119
+ })(List || (exports.List = List = {}));
1120
+
1121
+ /***/ }),
1122
+
1123
+ /***/ 6925:
981
1124
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
982
1125
 
983
1126
  "use strict";
@@ -987,8 +1130,8 @@ Object.defineProperty(exports, "__esModule", ({
987
1130
  value: true
988
1131
  }));
989
1132
  exports.reduce = exports.memoize = void 0;
990
- const alias_1 = __webpack_require__(5807);
991
- const compare_1 = __webpack_require__(1928);
1133
+ const alias_1 = __webpack_require__(5413);
1134
+ const compare_1 = __webpack_require__(1934);
992
1135
  function memoize(f, identify, memory) {
993
1136
  if (typeof identify === 'object') {
994
1137
  memory = identify;
@@ -1055,7 +1198,7 @@ exports.reduce = reduce;
1055
1198
 
1056
1199
  /***/ }),
1057
1200
 
1058
- /***/ 9556:
1201
+ /***/ 4110:
1059
1202
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1060
1203
 
1061
1204
  "use strict";
@@ -1065,8 +1208,8 @@ Object.defineProperty(exports, "__esModule", ({
1065
1208
  value: true
1066
1209
  }));
1067
1210
  exports.MultiQueue = exports.PriorityQueue = exports.Queue = void 0;
1068
- const heap_1 = __webpack_require__(8487);
1069
- const memoize_1 = __webpack_require__(276);
1211
+ const heap_1 = __webpack_require__(3719);
1212
+ const memoize_1 = __webpack_require__(6925);
1070
1213
  const size = 2048;
1071
1214
  const initsize = 16;
1072
1215
  class Queue {
@@ -1074,11 +1217,11 @@ class Queue {
1074
1217
  this.head = new FixedQueue(initsize);
1075
1218
  this.tail = this.head;
1076
1219
  this.count = 0;
1077
- this.irregular = 0;
1078
1220
  }
1079
1221
  get length() {
1080
- return this.count === 0 ? this.head.length : this.head.length + this.tail.length + (size - 1) * (this.count - 2) + (this.irregular || size) - 1;
1222
+ return this.head === this.tail ? this.head.length : this.head.length + this.count + this.tail.length;
1081
1223
  }
1224
+ // Faster than queue.length > 0.
1082
1225
  isEmpty() {
1083
1226
  return this.head.isEmpty();
1084
1227
  }
@@ -1093,9 +1236,8 @@ class Queue {
1093
1236
  } else {
1094
1237
  this.tail = tail.next = new FixedQueue(size, tail.next);
1095
1238
  }
1096
- ++this.count;
1097
- if (tail.size !== size && tail !== this.head) {
1098
- this.irregular = tail.size;
1239
+ if (this.head !== tail) {
1240
+ this.count += tail.size;
1099
1241
  }
1100
1242
  }
1101
1243
  this.tail.push(value);
@@ -1104,10 +1246,16 @@ class Queue {
1104
1246
  const head = this.head;
1105
1247
  const value = head.pop();
1106
1248
  if (head.isEmpty() && !head.next.isEmpty()) {
1107
- --this.count;
1249
+ const tail = this.tail;
1250
+ // 空になるごとの削除と再作成を避ける
1251
+ if (tail.next !== head) {
1252
+ // 初期サイズの方を消す
1253
+ tail.next.next = tail.next;
1254
+ tail.next = head;
1255
+ }
1108
1256
  this.head = head.next;
1109
- if (this.head.size === this.irregular) {
1110
- this.irregular = 0;
1257
+ if (this.head !== tail) {
1258
+ this.count -= head.next.size;
1111
1259
  }
1112
1260
  }
1113
1261
  return value;
@@ -1115,7 +1263,6 @@ class Queue {
1115
1263
  clear() {
1116
1264
  this.head = this.tail = new FixedQueue(initsize);
1117
1265
  this.count = 0;
1118
- this.irregular = 0;
1119
1266
  }
1120
1267
  *[Symbol.iterator]() {
1121
1268
  while (!this.isEmpty()) {
@@ -1131,29 +1278,34 @@ class FixedQueue {
1131
1278
  this.mask = this.array.length - 1;
1132
1279
  this.head = 0;
1133
1280
  this.tail = 0;
1281
+ // 1要素無駄にしフラグを使用しない場合と有意差がないため可読性とテスト性を優先しフラグを使用。
1282
+ this.empty = true;
1134
1283
  this.next = next ?? this;
1135
1284
  }
1136
1285
  get length() {
1137
- return this.tail >= this.head ? this.tail - this.head : this.array.length - this.head + this.tail;
1286
+ return this.tail >= this.head ? this.empty ? 0 : this.tail - this.head || this.size : this.array.length - this.head + this.tail;
1138
1287
  }
1139
1288
  isEmpty() {
1140
- return this.tail === this.head;
1289
+ return this.empty;
1141
1290
  }
1142
1291
  isFull() {
1143
- return (this.tail + 1 & this.mask) === this.head;
1292
+ return this.tail === this.head && !this.empty;
1144
1293
  }
1145
1294
  peek(index = 0) {
1146
- return index === 0 ? this.array[this.head] : this.array[this.tail - 1 & this.mask];
1295
+ return index >= 0 ? this.array[this.head + index & this.mask] : this.array[this.tail + index & this.mask];
1147
1296
  }
1148
1297
  push(value) {
1149
1298
  this.array[this.tail] = value;
1150
1299
  this.tail = this.tail + 1 & this.mask;
1300
+ this.empty = false;
1151
1301
  }
1152
1302
  pop() {
1153
- if (this.isEmpty()) return;
1303
+ if (this.empty) return;
1154
1304
  const value = this.array[this.head];
1155
1305
  this.array[this.head] = undefined;
1156
1306
  this.head = this.head + 1 & this.mask;
1307
+ // isEmptyの前倒し
1308
+ this.empty = this.tail === this.head;
1157
1309
  return value;
1158
1310
  }
1159
1311
  }
@@ -1288,7 +1440,7 @@ exports.MultiQueue = MultiQueue;
1288
1440
 
1289
1441
  /***/ }),
1290
1442
 
1291
- /***/ 72:
1443
+ /***/ 3158:
1292
1444
  /***/ ((__unused_webpack_module, exports) => {
1293
1445
 
1294
1446
  "use strict";
@@ -1466,7 +1618,269 @@ exports.pcg32 = pcg32;
1466
1618
 
1467
1619
  /***/ }),
1468
1620
 
1469
- /***/ 8884:
1621
+ /***/ 3307:
1622
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1623
+
1624
+ "use strict";
1625
+
1626
+
1627
+ Object.defineProperty(exports, "__esModule", ({
1628
+ value: true
1629
+ }));
1630
+ exports.TClock = void 0;
1631
+ const alias_1 = __webpack_require__(5413);
1632
+ const BASE = 32;
1633
+ const DIGIT = Math.log2(BASE);
1634
+ const MASK = BASE - 1;
1635
+ const empty = Symbol('empty');
1636
+ class TClock {
1637
+ // Capacity is rounded up to multiples of 32.
1638
+ constructor(capacity, demotion = 8) {
1639
+ this.capacity = capacity;
1640
+ this.demotion = demotion;
1641
+ this.dict = new Map();
1642
+ this.keys = [];
1643
+ this.values = [];
1644
+ this.hand = 0;
1645
+ this.stock = 0;
1646
+ this.threshold = 100 / this.demotion | 0;
1647
+ this.$count = 0;
1648
+ this.$length = 0;
1649
+ this.initial = 1;
1650
+ this.capacity = ((capacity - 1 | MASK) >>> 0) + 1;
1651
+ this.refs = new Int32Array(this.capacity >>> DIGIT);
1652
+ }
1653
+ get count() {
1654
+ return this.$count;
1655
+ }
1656
+ set count(value) {
1657
+ this.$count = value;
1658
+ if (value < this.threshold) return;
1659
+ this.stock = (0, alias_1.min)(this.stock + value / this.threshold | 0, this.capacity);
1660
+ this.$count = (0, alias_1.min)(value % this.threshold, this.capacity);
1661
+ }
1662
+ get length() {
1663
+ return this.$length;
1664
+ }
1665
+ get size() {
1666
+ return this.$length;
1667
+ }
1668
+ mark(index) {
1669
+ const i = index >>> DIGIT;
1670
+ const before = this.refs[i];
1671
+ const after = before | 1 << (index & MASK);
1672
+ if (after === before) return;
1673
+ this.refs[i] = after;
1674
+ }
1675
+ unmark(index) {
1676
+ const i = index >>> DIGIT;
1677
+ const before = this.refs[i];
1678
+ const after = before & ~(1 << (index & MASK));
1679
+ if (after === before) return;
1680
+ this.refs[i] = after;
1681
+ }
1682
+ locate(hand, key, value) {
1683
+ const {
1684
+ capacity,
1685
+ dict,
1686
+ keys,
1687
+ values
1688
+ } = this;
1689
+ this.$length === capacity || this.initial === 0 && values[hand] !== empty ? dict.delete(keys[hand]) : ++this.$length;
1690
+ dict.set(key, hand);
1691
+ keys[hand] = key;
1692
+ values[hand] = value;
1693
+ this.hand = ++hand === capacity ? this.initial = 0 : hand;
1694
+ }
1695
+ add(key, value) {
1696
+ const {
1697
+ capacity,
1698
+ refs
1699
+ } = this;
1700
+ for (let {
1701
+ hand
1702
+ } = this, i = hand >>> DIGIT, r = hand & MASK;;) {
1703
+ const b = refs[i];
1704
+ if (b >>> r === ~0 >>> r) {
1705
+ hand += BASE - r;
1706
+ this.count += BASE - r;
1707
+ if (this.stock > 0) {
1708
+ refs[i] = b & (1 << r) - 1;
1709
+ this.stock -= BASE - r;
1710
+ }
1711
+ r = 0;
1712
+ if (hand < capacity) {
1713
+ ++i;
1714
+ } else {
1715
+ hand -= capacity;
1716
+ i = 0;
1717
+ }
1718
+ continue;
1719
+ }
1720
+ const l = search(b, r);
1721
+ if (l !== r) {
1722
+ hand += l - r;
1723
+ this.count += l - r;
1724
+ if (this.stock > 0) {
1725
+ refs[i] = b & ~((1 << l) - 1 >>> r << r);
1726
+ this.stock -= l - r;
1727
+ }
1728
+ }
1729
+ this.locate(hand, key, value);
1730
+ return hand;
1731
+ }
1732
+ }
1733
+ put(key, value) {
1734
+ const index = this.dict.get(key);
1735
+ if (index === undefined) return this.add(key, value);
1736
+ this.values[index] = value;
1737
+ return index;
1738
+ }
1739
+ set(key, value) {
1740
+ this.put(key, value);
1741
+ return this;
1742
+ }
1743
+ get(key) {
1744
+ const index = this.dict.get(key);
1745
+ if (index === undefined) return;
1746
+ this.mark(index);
1747
+ return this.values[index];
1748
+ }
1749
+ has(key) {
1750
+ return this.dict.has(key);
1751
+ }
1752
+ delete(key) {
1753
+ const index = this.dict.get(key);
1754
+ if (index === undefined) return false;
1755
+ // 末尾と削除対象を交換して削除する。
1756
+ // 次の挿入の前に次の削除が行われると交換できないが稀なため対処しない。
1757
+ const {
1758
+ hand,
1759
+ dict,
1760
+ keys,
1761
+ values,
1762
+ refs
1763
+ } = this;
1764
+ dict.delete(key);
1765
+ --this.$length;
1766
+ const k = keys[index] = keys[hand];
1767
+ const v = values[index] = values[hand];
1768
+ keys[hand] = undefined;
1769
+ values[hand] = empty;
1770
+ if (index !== hand && v !== empty) {
1771
+ dict.set(k, index);
1772
+ (refs[hand >>> DIGIT] & 1 << (hand & MASK)) === 0 ? this.unmark(index) : this.mark(index);
1773
+ }
1774
+ this.unmark(hand);
1775
+ return true;
1776
+ }
1777
+ clear() {
1778
+ this.dict = new Map();
1779
+ this.keys = [];
1780
+ this.values = [];
1781
+ this.refs.fill(0);
1782
+ this.hand = 0;
1783
+ this.stock = 0;
1784
+ this.$count = 0;
1785
+ this.$length = 0;
1786
+ this.initial = 1;
1787
+ }
1788
+ *[Symbol.iterator]() {
1789
+ const {
1790
+ keys,
1791
+ values
1792
+ } = this;
1793
+ for (const index of this.dict.values()) {
1794
+ yield [keys[index], values[index]];
1795
+ }
1796
+ }
1797
+ }
1798
+ exports.TClock = TClock;
1799
+ function search(b, r) {
1800
+ for (let l = r;; ++l) {
1801
+ if ((b & 1 << l) === 0) return l;
1802
+ }
1803
+ }
1804
+ function bsearch(b, r) {
1805
+ const n = ~b >>> r << r >>> 0;
1806
+ const l = potision(0x05f66a47 * (n & -n) >>> 27);
1807
+ return l;
1808
+ }
1809
+ //const potisions = new Uint8Array([
1810
+ // 0, 1, 2, 26, 23, 3, 15, 27, 24, 21, 19, 4, 12, 16, 28, 6, 31, 25, 22, 14, 20, 18, 11, 5, 30, 13, 17, 10, 29, 9, 8, 7,
1811
+ //]);
1812
+ function potision(n) {
1813
+ switch (n) {
1814
+ case 0:
1815
+ return 0;
1816
+ case 1:
1817
+ return 1;
1818
+ case 2:
1819
+ return 2;
1820
+ case 3:
1821
+ return 26;
1822
+ case 4:
1823
+ return 23;
1824
+ case 5:
1825
+ return 3;
1826
+ case 6:
1827
+ return 15;
1828
+ case 7:
1829
+ return 27;
1830
+ case 8:
1831
+ return 24;
1832
+ case 9:
1833
+ return 21;
1834
+ case 10:
1835
+ return 19;
1836
+ case 11:
1837
+ return 4;
1838
+ case 12:
1839
+ return 12;
1840
+ case 13:
1841
+ return 16;
1842
+ case 14:
1843
+ return 28;
1844
+ case 15:
1845
+ return 6;
1846
+ case 16:
1847
+ return 31;
1848
+ case 17:
1849
+ return 25;
1850
+ case 18:
1851
+ return 22;
1852
+ case 19:
1853
+ return 14;
1854
+ case 20:
1855
+ return 20;
1856
+ case 21:
1857
+ return 18;
1858
+ case 22:
1859
+ return 11;
1860
+ case 23:
1861
+ return 5;
1862
+ case 24:
1863
+ return 30;
1864
+ case 25:
1865
+ return 13;
1866
+ case 26:
1867
+ return 17;
1868
+ case 27:
1869
+ return 10;
1870
+ case 28:
1871
+ return 29;
1872
+ case 29:
1873
+ return 9;
1874
+ case 30:
1875
+ return 8;
1876
+ default:
1877
+ return 7;
1878
+ }
1879
+ }
1880
+
1881
+ /***/ }),
1882
+
1883
+ /***/ 108:
1470
1884
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1471
1885
 
1472
1886
  "use strict";
@@ -1476,8 +1890,8 @@ Object.defineProperty(exports, "__esModule", ({
1476
1890
  value: true
1477
1891
  }));
1478
1892
  exports.TLRU = void 0;
1479
- const alias_1 = __webpack_require__(5807);
1480
- const list_1 = __webpack_require__(9756);
1893
+ const alias_1 = __webpack_require__(5413);
1894
+ const clist_1 = __webpack_require__(6212);
1481
1895
  class Entry {
1482
1896
  constructor(key, value) {
1483
1897
  this.key = key;
@@ -1487,13 +1901,16 @@ class Entry {
1487
1901
  }
1488
1902
  }
1489
1903
  class TLRU {
1490
- constructor(capacity, step = 1, window = 0, retrial = true) {
1904
+ constructor(capacity, demotion = 2, window = 0, retrial = true,
1905
+ // ヒットにより前方が増えるためstep=100では不足する。
1906
+ pure = demotion >= 100) {
1491
1907
  this.capacity = capacity;
1492
- this.step = step;
1908
+ this.demotion = demotion;
1493
1909
  this.window = window;
1494
1910
  this.retrial = retrial;
1911
+ this.pure = pure;
1495
1912
  this.dict = new Map();
1496
- this.list = new list_1.List();
1913
+ this.list = new clist_1.List();
1497
1914
  this.handV = undefined;
1498
1915
  this.handG = undefined;
1499
1916
  this.count = 0;
@@ -1504,41 +1921,28 @@ class TLRU {
1504
1921
  get size() {
1505
1922
  return this.list.length;
1506
1923
  }
1507
- return() {
1924
+ extend() {
1508
1925
  const {
1509
1926
  list
1510
1927
  } = this;
1511
- if (this.count !== -1 && this.handV !== undefined && this.handG !== list.last && this.handG !== undefined) {
1512
- if (this.count >= 0) {
1513
- // 1周できる
1928
+ // 1周できる
1514
1929
 
1515
- //this.count = -max(max(list.length - this.count, 0) * this.step / 100 | 0, 1) - 1;
1516
- this.count = -(0, alias_1.max)(list.length * this.step / 100 | 0, list.length * this.window / 100 - this.count | 0, 1) - 1;
1517
- } else {
1518
- this.handG = this.handG.prev;
1519
- }
1520
- } else {
1521
- if (this.handV === list.head) {
1522
- this.handG = undefined;
1523
- }
1524
- if (this.handG === list.last) {
1525
- this.handG = this.handG.prev;
1526
- }
1527
- this.handV = list.last;
1528
- this.count = 0;
1529
- }
1930
+ this.count = -(0, alias_1.max)(
1931
+ //list.length * this.demotion / 100 / max(this.count / list.length * this.demotion, 1) | 0,
1932
+ (list.length - this.count) * this.demotion / 100 | 0, list.length * this.window / 100 - this.count | 0, this.demotion && 1);
1530
1933
  }
1531
1934
  replace(key, value) {
1532
1935
  const {
1533
1936
  dict,
1534
1937
  list
1535
1938
  } = this;
1536
- if (this.handV === this.handG || this.handV === list.last) {
1537
- this.return();
1939
+ this.handV ??= list.last;
1940
+ if (this.handV === this.handG && this.count >= 0) {
1941
+ this.extend();
1538
1942
  }
1539
1943
  // 非延命
1540
- if (this.count >= 0 || !this.retrial) {
1541
- const entry = this.handV ??= list.last;
1944
+ if (this.count >= 0 || this.handV === list.last || !this.retrial) {
1945
+ const entry = this.handV;
1542
1946
  dict.delete(entry.key);
1543
1947
  dict.set(key, entry);
1544
1948
  entry.key = key;
@@ -1559,19 +1963,27 @@ class TLRU {
1559
1963
  list.unshift(entry);
1560
1964
  }
1561
1965
  this.handV = entry;
1562
- this.handG = entry.prev;
1966
+ this.handG = entry;
1967
+ }
1968
+ if (this.count < 0) {
1969
+ this.handG = this.handG !== list.head ? this.handG.prev : undefined;
1563
1970
  }
1564
1971
  if (this.handV !== this.handG) {
1565
1972
  this.handV = this.handV.prev;
1566
1973
  }
1567
- ++this.count;
1974
+ if (this.handV === list.last || this.count === -1) {
1975
+ this.handV = list.last;
1976
+ this.count = 0;
1977
+ } else {
1978
+ ++this.count;
1979
+ }
1568
1980
  }
1569
1981
  evict() {
1570
1982
  const {
1571
1983
  list
1572
1984
  } = this;
1573
- if (list.length === 0) return;
1574
- const entry = this.handV ??= list.last;
1985
+ const entry = this.handV ?? list.last;
1986
+ if (entry === undefined) return;
1575
1987
  this.delete(entry.key);
1576
1988
  return [entry.key, entry.value];
1577
1989
  }
@@ -1585,7 +1997,11 @@ class TLRU {
1585
1997
  } else {
1586
1998
  const entry = new Entry(key, value);
1587
1999
  dict.set(key, entry);
1588
- if (this.handV !== undefined) {
2000
+ if (this.pure && this.handG !== undefined) {
2001
+ // 純粋なTLRUの検証用。
2002
+ list.insert(entry, this.handG.next);
2003
+ } else if (this.handV !== undefined) {
2004
+ // 基本的にこのほうがヒット率が高い。
1589
2005
  list.insert(entry, this.handV.next);
1590
2006
  } else {
1591
2007
  list.unshift(entry);
@@ -1613,10 +2029,10 @@ class TLRU {
1613
2029
  return;
1614
2030
  }
1615
2031
  if (entry === this.handV) {
1616
- this.handV = this.handV !== list.head ? this.handV.prev : this.handV.next;
2032
+ this.handV = this.handV.prev;
1617
2033
  }
1618
2034
  if (entry === this.handG) {
1619
- this.handG = this.handG !== list.head ? this.handG.prev : this.handG.next;
2035
+ this.handG = this.handG.prev;
1620
2036
  }
1621
2037
  }
1622
2038
  get(key) {
@@ -1644,6 +2060,9 @@ class TLRU {
1644
2060
  } = this;
1645
2061
  const entry = dict.get(key);
1646
2062
  if (entry === undefined) return false;
2063
+ if (entry === this.handG && entry === list.head) {
2064
+ this.handG = undefined;
2065
+ }
1647
2066
  this.escape(entry);
1648
2067
  list.delete(entry);
1649
2068
  return dict.delete(key);
@@ -1668,7 +2087,7 @@ exports.TLRU = TLRU;
1668
2087
 
1669
2088
  /***/ }),
1670
2089
 
1671
- /***/ 1900:
2090
+ /***/ 8888:
1672
2091
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1673
2092
 
1674
2093
  "use strict";
@@ -1698,20 +2117,81 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
1698
2117
  Object.defineProperty(exports, "__esModule", ({
1699
2118
  value: true
1700
2119
  }));
2120
+ __exportStar(__webpack_require__(108), exports);
1701
2121
  /*
1702
2122
  真に最近性に基づく真のLRU。
1703
2123
  最近性には有参照間、無参照間、有無参照間の3つがある。
1704
2124
  LRUは有無参照間の最近性を喪失しClockは有参照間の最近性を喪失する。
1705
2125
  TLRUはすべての最近性を保持する。
1706
- DWCより高速かつ堅牢で小さいキャッシュサイズに適している。
1707
- パラメータを調整しやすくDWCより高ヒット率となることもある。
2126
+ パラメータを調整しやすく用途に合わせてヒット率を上げやすい。
2127
+ stepパラメータはヒットエントリを重み付けおよび保護しており
2128
+ demotion=100で重み付けと保護なしの純粋なTLRUを設定できる。
2129
+ windowパラメータでSLRU同様捕捉可能最小再利用距離を設定できるが
2130
+ 降格区間内では捕捉可能再利用距離が半減しSLRUより短くなる。
2131
+ DWCより高速かつ堅牢でアプリケーションのインメモリキャッシュなどの
2132
+ 極端に変化の大きいアクセスパターンにも適応する。
2133
+
2134
+ */
2135
+ /*
2136
+ LRUとClockは偽の最近性に基づく誤ったアルゴリズムにより性能が大幅に低下する。
2137
+ 真の最近性は偽の最近性よりも非常に優れている。
2138
+
2139
+ エントリ間の最近性関係には使用済みと使用済み、使用済みと未使用、未使用と未使用の3種類がある。
2140
+ ただしLRUとClockは一部の最近性に違反する。真のLRUはすべての最近性を維持することにより
2141
+ LRUとClockよりも優れた性能を発揮する。
2142
+
2143
+ LRUの根本的誤りは新しいエントリを最近使用されたと見なすことである。実際それがキャッシュ内で
2144
+ 使用されたことはない。従って新しいエントリは実際に使用されたエントリの後ろに追加する必要がある。
2145
+
2146
+ ```
2147
+ Sequence: 1, 2, 3, 3, 2, 4
2148
+
2149
+ LRU
2150
+
2151
+ MRU |4 2 3 1| LRU
2152
+ Hit |0 1 1 0|
2153
+ ^ Violation of the recency between used and unused.
2154
+
2155
+ Clock
2156
+
2157
+ N-1 |4 3 2 1| 0
2158
+ Hit |0 1 1 0|
2159
+ ^ Violation of the recency between used and used.
2160
+
2161
+ True LRU
2162
+
2163
+ MRU |2 3 4 1| LRU
2164
+ Hit |1 1 0 0|
2165
+ ^ ^ ^ Ideal recency(Recency-complete).
2166
+ ```
2167
+
2168
+ この最近性はClockですでに使用され普及していることから奇異でも不合理でもないことが証明されて
2169
+ おりLRUよりClockの方がヒット率が同等または非常に高いことから使用済みエントリ間の最近性より
2170
+ 未使用エントリとの最近性の方が効果が高く重要であることがわかる。
2171
+
2172
+ またClockはLRUの近似アルゴリズムとして知られているがLRUとClockはこのように異なる種類の最近性
2173
+ に基づくアルゴリズムであることからClockは実際にはLRUの近似アルゴリズムではなく異なる種類の
2174
+ 最近性に基づくまったく異なる最近性基準アルゴリズムである。
2175
+
2176
+ |Algorithm|Used-Used|Used-Unused|Unused-Unused|
2177
+ |:-------:|:-------:|:---------:|:-----------:|
2178
+ |LRU |✓ | |✓ |
2179
+ |Clock | |✓ |✓ |
2180
+ |True LRU |✓ |✓ |✓ |
2181
+
2182
+ 再利用距離と同様に使用済みと未使用の最近性には有限と無限の差があり差を埋める方法には
2183
+ 様々な方法が考えられこの調整可能性はTrue LRUとClockにのみ存在しLRUには存在しない。
2184
+
2185
+ True LRUにおけるLRUからの大幅な改善はすべてのアルゴリズムの改善の過半が未使用のエントリを
2186
+ 偶然削除したことによるものを独自の改善として混同および錯覚したものであり各アルゴリズムの
2187
+ 独自性による改善は小さいか半分に満たないことを示している。True LRUをLRUの代わりに真の
2188
+ ベースラインとすると他のアルゴリズムは特に汎用性においてあまり魅力的な性能を達成していない。
1708
2189
 
1709
2190
  */
1710
- __exportStar(__webpack_require__(8884), exports);
1711
2191
 
1712
2192
  /***/ }),
1713
2193
 
1714
- /***/ 3800:
2194
+ /***/ 1904:
1715
2195
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1716
2196
 
1717
2197
  "use strict";
@@ -1721,15 +2201,15 @@ Object.defineProperty(exports, "__esModule", ({
1721
2201
  value: true
1722
2202
  }));
1723
2203
  exports.URL = exports.ReadonlyURL = exports.standardize = void 0;
1724
- const internal_1 = __webpack_require__(7568);
1725
- var internal_2 = __webpack_require__(7568);
2204
+ const internal_1 = __webpack_require__(1094);
2205
+ var internal_2 = __webpack_require__(1094);
1726
2206
  Object.defineProperty(exports, "standardize", ({
1727
2207
  enumerable: true,
1728
2208
  get: function () {
1729
2209
  return internal_2.standardize;
1730
2210
  }
1731
2211
  }));
1732
- var internal_3 = __webpack_require__(7568);
2212
+ var internal_3 = __webpack_require__(1094);
1733
2213
  Object.defineProperty(exports, "ReadonlyURL", ({
1734
2214
  enumerable: true,
1735
2215
  get: function () {
@@ -1809,7 +2289,7 @@ exports.URL = URL;
1809
2289
 
1810
2290
  /***/ }),
1811
2291
 
1812
- /***/ 7568:
2292
+ /***/ 1094:
1813
2293
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
1814
2294
 
1815
2295
  "use strict";
@@ -1819,9 +2299,9 @@ Object.defineProperty(exports, "__esModule", ({
1819
2299
  value: true
1820
2300
  }));
1821
2301
  exports.ReadonlyURL = exports.encode = exports.standardize = void 0;
1822
- __webpack_require__(8324);
1823
- const memoize_1 = __webpack_require__(276);
1824
- const tlru_1 = __webpack_require__(1900);
2302
+ __webpack_require__(518);
2303
+ const memoize_1 = __webpack_require__(6925);
2304
+ const tlru_1 = __webpack_require__(8888);
1825
2305
  function standardize(url, base) {
1826
2306
  const {
1827
2307
  origin,
@@ -1962,7 +2442,7 @@ class ReadonlyURLSearchParams extends URLSearchParams {
1962
2442
 
1963
2443
  /***/ }),
1964
2444
 
1965
- /***/ 7436:
2445
+ /***/ 3484:
1966
2446
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
1967
2447
 
1968
2448
  "use strict";
@@ -1990,34 +2470,34 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
1990
2470
  Object.defineProperty(exports, "__esModule", ({
1991
2471
  value: true
1992
2472
  }));
1993
- __exportStar(__webpack_require__(8340), exports);
1994
- __exportStar(__webpack_require__(9400), exports);
1995
- __exportStar(__webpack_require__(5512), exports);
1996
- __exportStar(__webpack_require__(6096), exports);
1997
- __exportStar(__webpack_require__(272), exports);
1998
- __exportStar(__webpack_require__(5456), exports);
1999
- __exportStar(__webpack_require__(9976), exports);
2000
- __exportStar(__webpack_require__(3948), exports);
2001
- __exportStar(__webpack_require__(6480), exports);
2002
- __exportStar(__webpack_require__(4720), exports);
2003
- __exportStar(__webpack_require__(5896), exports);
2004
- __exportStar(__webpack_require__(3121), exports);
2005
- __exportStar(__webpack_require__(7176), exports);
2006
- __exportStar(__webpack_require__(3424), exports);
2007
- __exportStar(__webpack_require__(9104), exports);
2008
- __exportStar(__webpack_require__(1864), exports);
2009
- __exportStar(__webpack_require__(336), exports);
2010
- __exportStar(__webpack_require__(9664), exports);
2011
- __exportStar(__webpack_require__(6216), exports);
2012
- __exportStar(__webpack_require__(4304), exports);
2013
- __exportStar(__webpack_require__(7944), exports);
2014
- __exportStar(__webpack_require__(8280), exports);
2015
- __exportStar(__webpack_require__(8328), exports);
2016
- __exportStar(__webpack_require__(6032), exports);
2017
-
2018
- /***/ }),
2019
-
2020
- /***/ 3948:
2473
+ __exportStar(__webpack_require__(2369), exports);
2474
+ __exportStar(__webpack_require__(2861), exports);
2475
+ __exportStar(__webpack_require__(765), exports);
2476
+ __exportStar(__webpack_require__(3989), exports);
2477
+ __exportStar(__webpack_require__(7429), exports);
2478
+ __exportStar(__webpack_require__(2148), exports);
2479
+ __exportStar(__webpack_require__(5745), exports);
2480
+ __exportStar(__webpack_require__(8212), exports);
2481
+ __exportStar(__webpack_require__(8287), exports);
2482
+ __exportStar(__webpack_require__(4271), exports);
2483
+ __exportStar(__webpack_require__(7190), exports);
2484
+ __exportStar(__webpack_require__(549), exports);
2485
+ __exportStar(__webpack_require__(7723), exports);
2486
+ __exportStar(__webpack_require__(5781), exports);
2487
+ __exportStar(__webpack_require__(1638), exports);
2488
+ __exportStar(__webpack_require__(6572), exports);
2489
+ __exportStar(__webpack_require__(79), exports);
2490
+ __exportStar(__webpack_require__(4750), exports);
2491
+ __exportStar(__webpack_require__(2217), exports);
2492
+ __exportStar(__webpack_require__(5117), exports);
2493
+ __exportStar(__webpack_require__(1672), exports);
2494
+ __exportStar(__webpack_require__(6981), exports);
2495
+ __exportStar(__webpack_require__(2705), exports);
2496
+ __exportStar(__webpack_require__(994), exports);
2497
+
2498
+ /***/ }),
2499
+
2500
+ /***/ 8212:
2021
2501
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2022
2502
 
2023
2503
  "use strict";
@@ -2027,8 +2507,8 @@ Object.defineProperty(exports, "__esModule", ({
2027
2507
  value: true
2028
2508
  }));
2029
2509
  exports.block = void 0;
2030
- const parser_1 = __webpack_require__(3232);
2031
- const line_1 = __webpack_require__(6480);
2510
+ const parser_1 = __webpack_require__(605);
2511
+ const line_1 = __webpack_require__(8287);
2032
2512
  function block(parser, separation = true) {
2033
2513
  return ({
2034
2514
  source,
@@ -2049,7 +2529,7 @@ exports.block = block;
2049
2529
 
2050
2530
  /***/ }),
2051
2531
 
2052
- /***/ 4720:
2532
+ /***/ 4271:
2053
2533
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2054
2534
 
2055
2535
  "use strict";
@@ -2059,8 +2539,8 @@ Object.defineProperty(exports, "__esModule", ({
2059
2539
  value: true
2060
2540
  }));
2061
2541
  exports.verify = exports.validate = void 0;
2062
- const alias_1 = __webpack_require__(5807);
2063
- const parser_1 = __webpack_require__(3232);
2542
+ const alias_1 = __webpack_require__(5413);
2543
+ const parser_1 = __webpack_require__(605);
2064
2544
  function validate(patterns, has, parser) {
2065
2545
  if (typeof has === 'function') return validate(patterns, '', has);
2066
2546
  if (!(0, alias_1.isArray)(patterns)) return validate([patterns], has, parser);
@@ -2099,7 +2579,7 @@ exports.verify = verify;
2099
2579
 
2100
2580
  /***/ }),
2101
2581
 
2102
- /***/ 6480:
2582
+ /***/ 8287:
2103
2583
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2104
2584
 
2105
2585
  "use strict";
@@ -2109,7 +2589,7 @@ Object.defineProperty(exports, "__esModule", ({
2109
2589
  value: true
2110
2590
  }));
2111
2591
  exports.isBlank = exports.firstline = exports.line = void 0;
2112
- const parser_1 = __webpack_require__(3232);
2592
+ const parser_1 = __webpack_require__(605);
2113
2593
  function line(parser) {
2114
2594
  return ({
2115
2595
  source,
@@ -2148,7 +2628,7 @@ exports.isBlank = isBlank;
2148
2628
 
2149
2629
  /***/ }),
2150
2630
 
2151
- /***/ 1864:
2631
+ /***/ 6572:
2152
2632
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2153
2633
 
2154
2634
  "use strict";
@@ -2158,8 +2638,8 @@ Object.defineProperty(exports, "__esModule", ({
2158
2638
  value: true
2159
2639
  }));
2160
2640
  exports.convert = void 0;
2161
- const parser_1 = __webpack_require__(3232);
2162
- const alias_1 = __webpack_require__(5807);
2641
+ const parser_1 = __webpack_require__(605);
2642
+ const alias_1 = __webpack_require__(5413);
2163
2643
  function convert(conv, parser, empty = false) {
2164
2644
  return ({
2165
2645
  source,
@@ -2183,7 +2663,7 @@ exports.convert = convert;
2183
2663
 
2184
2664
  /***/ }),
2185
2665
 
2186
- /***/ 9664:
2666
+ /***/ 4750:
2187
2667
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2188
2668
 
2189
2669
  "use strict";
@@ -2193,7 +2673,7 @@ Object.defineProperty(exports, "__esModule", ({
2193
2673
  value: true
2194
2674
  }));
2195
2675
  exports.dup = void 0;
2196
- const fmap_1 = __webpack_require__(8328);
2676
+ const fmap_1 = __webpack_require__(2705);
2197
2677
  function dup(parser) {
2198
2678
  return (0, fmap_1.fmap)(parser, nodes => [nodes]);
2199
2679
  }
@@ -2201,7 +2681,7 @@ exports.dup = dup;
2201
2681
 
2202
2682
  /***/ }),
2203
2683
 
2204
- /***/ 4304:
2684
+ /***/ 5117:
2205
2685
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2206
2686
 
2207
2687
  "use strict";
@@ -2211,7 +2691,7 @@ Object.defineProperty(exports, "__esModule", ({
2211
2691
  value: true
2212
2692
  }));
2213
2693
  exports.fallback = void 0;
2214
- const union_1 = __webpack_require__(8340);
2694
+ const union_1 = __webpack_require__(2369);
2215
2695
  function fallback(parser, otherwise) {
2216
2696
  return (0, union_1.union)([parser, otherwise]);
2217
2697
  }
@@ -2219,7 +2699,7 @@ exports.fallback = fallback;
2219
2699
 
2220
2700
  /***/ }),
2221
2701
 
2222
- /***/ 5896:
2702
+ /***/ 7190:
2223
2703
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2224
2704
 
2225
2705
  "use strict";
@@ -2229,8 +2709,8 @@ Object.defineProperty(exports, "__esModule", ({
2229
2709
  value: true
2230
2710
  }));
2231
2711
  exports.fence = void 0;
2232
- const line_1 = __webpack_require__(6480);
2233
- const array_1 = __webpack_require__(8980);
2712
+ const line_1 = __webpack_require__(8287);
2713
+ const array_1 = __webpack_require__(6876);
2234
2714
  function fence(opener, limit, separation = true) {
2235
2715
  return ({
2236
2716
  source
@@ -2277,7 +2757,7 @@ exports.fence = fence;
2277
2757
 
2278
2758
  /***/ }),
2279
2759
 
2280
- /***/ 3121:
2760
+ /***/ 549:
2281
2761
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2282
2762
 
2283
2763
  "use strict";
@@ -2287,14 +2767,14 @@ Object.defineProperty(exports, "__esModule", ({
2287
2767
  value: true
2288
2768
  }));
2289
2769
  exports.indent = void 0;
2290
- const parser_1 = __webpack_require__(3232);
2291
- const some_1 = __webpack_require__(5456);
2292
- const block_1 = __webpack_require__(3948);
2293
- const line_1 = __webpack_require__(6480);
2294
- const bind_1 = __webpack_require__(6032);
2295
- const match_1 = __webpack_require__(9104);
2296
- const surround_1 = __webpack_require__(3424);
2297
- const memoize_1 = __webpack_require__(276);
2770
+ const parser_1 = __webpack_require__(605);
2771
+ const some_1 = __webpack_require__(2148);
2772
+ const block_1 = __webpack_require__(8212);
2773
+ const line_1 = __webpack_require__(8287);
2774
+ const bind_1 = __webpack_require__(994);
2775
+ const match_1 = __webpack_require__(1638);
2776
+ const surround_1 = __webpack_require__(5781);
2777
+ const memoize_1 = __webpack_require__(6925);
2298
2778
  function indent(opener, parser, separation = false) {
2299
2779
  if (typeof opener === 'function') return indent(/^([ \t])\1*/, opener, parser);
2300
2780
  return (0, bind_1.bind)((0, block_1.block)((0, match_1.match)(opener, (0, memoize_1.memoize)(([indent]) => (0, some_1.some)((0, line_1.line)((0, surround_1.open)(indent, ({
@@ -2318,7 +2798,7 @@ function trimBlockEnd(block) {
2318
2798
 
2319
2799
  /***/ }),
2320
2800
 
2321
- /***/ 8280:
2801
+ /***/ 6981:
2322
2802
  /***/ ((__unused_webpack_module, exports) => {
2323
2803
 
2324
2804
  "use strict";
@@ -2336,7 +2816,7 @@ exports.lazy = lazy;
2336
2816
 
2337
2817
  /***/ }),
2338
2818
 
2339
- /***/ 9104:
2819
+ /***/ 1638:
2340
2820
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2341
2821
 
2342
2822
  "use strict";
@@ -2346,7 +2826,7 @@ Object.defineProperty(exports, "__esModule", ({
2346
2826
  value: true
2347
2827
  }));
2348
2828
  exports.match = void 0;
2349
- const parser_1 = __webpack_require__(3232);
2829
+ const parser_1 = __webpack_require__(605);
2350
2830
  function match(pattern, f) {
2351
2831
  return ({
2352
2832
  source,
@@ -2367,7 +2847,7 @@ exports.match = match;
2367
2847
 
2368
2848
  /***/ }),
2369
2849
 
2370
- /***/ 7944:
2850
+ /***/ 1672:
2371
2851
  /***/ ((__unused_webpack_module, exports) => {
2372
2852
 
2373
2853
  "use strict";
@@ -2390,7 +2870,7 @@ exports.recover = recover;
2390
2870
 
2391
2871
  /***/ }),
2392
2872
 
2393
- /***/ 6216:
2873
+ /***/ 2217:
2394
2874
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2395
2875
 
2396
2876
  "use strict";
@@ -2400,7 +2880,7 @@ Object.defineProperty(exports, "__esModule", ({
2400
2880
  value: true
2401
2881
  }));
2402
2882
  exports.reverse = void 0;
2403
- const fmap_1 = __webpack_require__(8328);
2883
+ const fmap_1 = __webpack_require__(2705);
2404
2884
  function reverse(parser) {
2405
2885
  return (0, fmap_1.fmap)(parser, nodes => nodes.reverse());
2406
2886
  }
@@ -2408,7 +2888,7 @@ exports.reverse = reverse;
2408
2888
 
2409
2889
  /***/ }),
2410
2890
 
2411
- /***/ 7176:
2891
+ /***/ 7723:
2412
2892
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2413
2893
 
2414
2894
  "use strict";
@@ -2418,7 +2898,7 @@ Object.defineProperty(exports, "__esModule", ({
2418
2898
  value: true
2419
2899
  }));
2420
2900
  exports.rewrite = exports.focus = void 0;
2421
- const parser_1 = __webpack_require__(3232);
2901
+ const parser_1 = __webpack_require__(605);
2422
2902
  function focus(scope, parser) {
2423
2903
  const match = typeof scope === 'string' ? source => source.slice(0, scope.length) === scope ? scope : '' : source => source.match(scope)?.[0] ?? '';
2424
2904
  return ({
@@ -2472,7 +2952,7 @@ exports.rewrite = rewrite;
2472
2952
 
2473
2953
  /***/ }),
2474
2954
 
2475
- /***/ 3424:
2955
+ /***/ 5781:
2476
2956
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2477
2957
 
2478
2958
  "use strict";
@@ -2482,9 +2962,9 @@ Object.defineProperty(exports, "__esModule", ({
2482
2962
  value: true
2483
2963
  }));
2484
2964
  exports.clear = exports.close = exports.open = exports.surround = void 0;
2485
- const parser_1 = __webpack_require__(3232);
2486
- const fmap_1 = __webpack_require__(8328);
2487
- const array_1 = __webpack_require__(8980);
2965
+ const parser_1 = __webpack_require__(605);
2966
+ const fmap_1 = __webpack_require__(2705);
2967
+ const array_1 = __webpack_require__(6876);
2488
2968
  function surround(opener, parser, closer, optional = false, f, g) {
2489
2969
  switch (typeof opener) {
2490
2970
  case 'string':
@@ -2557,7 +3037,7 @@ exports.clear = clear;
2557
3037
 
2558
3038
  /***/ }),
2559
3039
 
2560
- /***/ 336:
3040
+ /***/ 79:
2561
3041
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2562
3042
 
2563
3043
  "use strict";
@@ -2567,7 +3047,7 @@ Object.defineProperty(exports, "__esModule", ({
2567
3047
  value: true
2568
3048
  }));
2569
3049
  exports.trimEnd = exports.trimStart = exports.trim = void 0;
2570
- const convert_1 = __webpack_require__(1864);
3050
+ const convert_1 = __webpack_require__(6572);
2571
3051
  function trim(parser) {
2572
3052
  return (0, convert_1.convert)(source => source.trim(), parser);
2573
3053
  }
@@ -2583,7 +3063,7 @@ exports.trimEnd = trimEnd;
2583
3063
 
2584
3064
  /***/ }),
2585
3065
 
2586
- /***/ 6032:
3066
+ /***/ 994:
2587
3067
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2588
3068
 
2589
3069
  "use strict";
@@ -2593,7 +3073,7 @@ Object.defineProperty(exports, "__esModule", ({
2593
3073
  value: true
2594
3074
  }));
2595
3075
  exports.bind = void 0;
2596
- const parser_1 = __webpack_require__(3232);
3076
+ const parser_1 = __webpack_require__(605);
2597
3077
  function bind(parser, f) {
2598
3078
  return ({
2599
3079
  source,
@@ -2614,7 +3094,7 @@ exports.bind = bind;
2614
3094
 
2615
3095
  /***/ }),
2616
3096
 
2617
- /***/ 8328:
3097
+ /***/ 2705:
2618
3098
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2619
3099
 
2620
3100
  "use strict";
@@ -2624,7 +3104,7 @@ Object.defineProperty(exports, "__esModule", ({
2624
3104
  value: true
2625
3105
  }));
2626
3106
  exports.fmap = void 0;
2627
- const bind_1 = __webpack_require__(6032);
3107
+ const bind_1 = __webpack_require__(994);
2628
3108
  function fmap(parser, f) {
2629
3109
  return (0, bind_1.bind)(parser, (nodes, rest, context) => [f(nodes, rest, context), rest]);
2630
3110
  }
@@ -2632,7 +3112,7 @@ exports.fmap = fmap;
2632
3112
 
2633
3113
  /***/ }),
2634
3114
 
2635
- /***/ 3232:
3115
+ /***/ 605:
2636
3116
  /***/ ((__unused_webpack_module, exports) => {
2637
3117
 
2638
3118
  "use strict";
@@ -2657,7 +3137,7 @@ exports.check = check;
2657
3137
 
2658
3138
  /***/ }),
2659
3139
 
2660
- /***/ 9976:
3140
+ /***/ 5745:
2661
3141
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2662
3142
 
2663
3143
  "use strict";
@@ -2667,9 +3147,9 @@ Object.defineProperty(exports, "__esModule", ({
2667
3147
  value: true
2668
3148
  }));
2669
3149
  exports.state = exports.constraint = exports.guard = exports.precedence = exports.creation = exports.syntax = exports.context = exports.reset = void 0;
2670
- const alias_1 = __webpack_require__(5807);
2671
- const parser_1 = __webpack_require__(3232);
2672
- const memo_1 = __webpack_require__(6660);
3150
+ const alias_1 = __webpack_require__(5413);
3151
+ const parser_1 = __webpack_require__(605);
3152
+ const memo_1 = __webpack_require__(1074);
2673
3153
  function reset(base, parser) {
2674
3154
  const changes = Object.entries(base);
2675
3155
  const values = Array(changes.length);
@@ -2850,7 +3330,7 @@ exports.state = state;
2850
3330
 
2851
3331
  /***/ }),
2852
3332
 
2853
- /***/ 7252:
3333
+ /***/ 5691:
2854
3334
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2855
3335
 
2856
3336
  "use strict";
@@ -2861,7 +3341,7 @@ Object.defineProperty(exports, "__esModule", ({
2861
3341
  value: true
2862
3342
  }));
2863
3343
  exports.Delimiters = void 0;
2864
- const memoize_1 = __webpack_require__(276);
3344
+ const memoize_1 = __webpack_require__(6925);
2865
3345
  class Delimiters {
2866
3346
  constructor() {
2867
3347
  this.registry = (0, memoize_1.memoize)(() => []);
@@ -2960,7 +3440,7 @@ Delimiters.matcher = (0, memoize_1.memoize)(pattern => {
2960
3440
 
2961
3441
  /***/ }),
2962
3442
 
2963
- /***/ 6660:
3443
+ /***/ 1074:
2964
3444
  /***/ ((__unused_webpack_module, exports) => {
2965
3445
 
2966
3446
  "use strict";
@@ -3008,7 +3488,7 @@ exports.Memo = Memo;
3008
3488
 
3009
3489
  /***/ }),
3010
3490
 
3011
- /***/ 9400:
3491
+ /***/ 2861:
3012
3492
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3013
3493
 
3014
3494
  "use strict";
@@ -3018,8 +3498,8 @@ Object.defineProperty(exports, "__esModule", ({
3018
3498
  value: true
3019
3499
  }));
3020
3500
  exports.inits = void 0;
3021
- const parser_1 = __webpack_require__(3232);
3022
- const array_1 = __webpack_require__(8980);
3501
+ const parser_1 = __webpack_require__(605);
3502
+ const array_1 = __webpack_require__(6876);
3023
3503
  function inits(parsers, resume) {
3024
3504
  if (parsers.length === 1) return parsers[0];
3025
3505
  return ({
@@ -3047,7 +3527,7 @@ exports.inits = inits;
3047
3527
 
3048
3528
  /***/ }),
3049
3529
 
3050
- /***/ 6096:
3530
+ /***/ 3989:
3051
3531
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3052
3532
 
3053
3533
  "use strict";
@@ -3057,8 +3537,8 @@ Object.defineProperty(exports, "__esModule", ({
3057
3537
  value: true
3058
3538
  }));
3059
3539
  exports.sequence = void 0;
3060
- const parser_1 = __webpack_require__(3232);
3061
- const array_1 = __webpack_require__(8980);
3540
+ const parser_1 = __webpack_require__(605);
3541
+ const array_1 = __webpack_require__(6876);
3062
3542
  function sequence(parsers, resume) {
3063
3543
  if (parsers.length === 1) return parsers[0];
3064
3544
  return ({
@@ -3086,7 +3566,7 @@ exports.sequence = sequence;
3086
3566
 
3087
3567
  /***/ }),
3088
3568
 
3089
- /***/ 5456:
3569
+ /***/ 2148:
3090
3570
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3091
3571
 
3092
3572
  "use strict";
@@ -3096,9 +3576,9 @@ Object.defineProperty(exports, "__esModule", ({
3096
3576
  value: true
3097
3577
  }));
3098
3578
  exports.some = void 0;
3099
- const parser_1 = __webpack_require__(3232);
3100
- const delimiter_1 = __webpack_require__(7252);
3101
- const array_1 = __webpack_require__(8980);
3579
+ const parser_1 = __webpack_require__(605);
3580
+ const delimiter_1 = __webpack_require__(5691);
3581
+ const array_1 = __webpack_require__(6876);
3102
3582
  function some(parser, end, delimiters = [], limit = -1) {
3103
3583
  if (typeof end === 'number') return some(parser, undefined, delimiters, end);
3104
3584
  const match = delimiter_1.Delimiters.matcher(end);
@@ -3141,7 +3621,7 @@ exports.some = some;
3141
3621
 
3142
3622
  /***/ }),
3143
3623
 
3144
- /***/ 272:
3624
+ /***/ 7429:
3145
3625
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3146
3626
 
3147
3627
  "use strict";
@@ -3151,8 +3631,8 @@ Object.defineProperty(exports, "__esModule", ({
3151
3631
  value: true
3152
3632
  }));
3153
3633
  exports.subsequence = void 0;
3154
- const union_1 = __webpack_require__(8340);
3155
- const inits_1 = __webpack_require__(9400);
3634
+ const union_1 = __webpack_require__(2369);
3635
+ const inits_1 = __webpack_require__(2861);
3156
3636
  function subsequence(parsers, resume) {
3157
3637
  return (0, union_1.union)(parsers.map((_, i) => i + 1 < parsers.length ? (0, inits_1.inits)([parsers[i], subsequence(parsers.slice(i + 1), resume)], resume) : parsers[i]));
3158
3638
  }
@@ -3160,7 +3640,7 @@ exports.subsequence = subsequence;
3160
3640
 
3161
3641
  /***/ }),
3162
3642
 
3163
- /***/ 5512:
3643
+ /***/ 765:
3164
3644
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3165
3645
 
3166
3646
  "use strict";
@@ -3170,8 +3650,8 @@ Object.defineProperty(exports, "__esModule", ({
3170
3650
  value: true
3171
3651
  }));
3172
3652
  exports.tails = void 0;
3173
- const union_1 = __webpack_require__(8340);
3174
- const sequence_1 = __webpack_require__(6096);
3653
+ const union_1 = __webpack_require__(2369);
3654
+ const sequence_1 = __webpack_require__(3989);
3175
3655
  function tails(parsers, resume) {
3176
3656
  return (0, union_1.union)(parsers.map((_, i) => (0, sequence_1.sequence)(parsers.slice(i), resume)));
3177
3657
  }
@@ -3179,7 +3659,7 @@ exports.tails = tails;
3179
3659
 
3180
3660
  /***/ }),
3181
3661
 
3182
- /***/ 8340:
3662
+ /***/ 2369:
3183
3663
  /***/ ((__unused_webpack_module, exports) => {
3184
3664
 
3185
3665
  "use strict";
@@ -3203,7 +3683,7 @@ exports.union = union;
3203
3683
 
3204
3684
  /***/ }),
3205
3685
 
3206
- /***/ 8112:
3686
+ /***/ 3561:
3207
3687
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3208
3688
 
3209
3689
  "use strict";
@@ -3231,11 +3711,11 @@ var __exportStar = this && this.__exportStar || function (m, exports) {
3231
3711
  Object.defineProperty(exports, "__esModule", ({
3232
3712
  value: true
3233
3713
  }));
3234
- __exportStar(__webpack_require__(6104), exports);
3714
+ __exportStar(__webpack_require__(5886), exports);
3235
3715
 
3236
3716
  /***/ }),
3237
3717
 
3238
- /***/ 6104:
3718
+ /***/ 5886:
3239
3719
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3240
3720
 
3241
3721
  "use strict";
@@ -3245,28 +3725,28 @@ Object.defineProperty(exports, "__esModule", ({
3245
3725
  value: true
3246
3726
  }));
3247
3727
  exports.normalize = exports.body = exports.headers = exports.header = exports.caches = exports.bind = exports.parse = void 0;
3248
- var parse_1 = __webpack_require__(2244);
3728
+ var parse_1 = __webpack_require__(3662);
3249
3729
  Object.defineProperty(exports, "parse", ({
3250
3730
  enumerable: true,
3251
3731
  get: function () {
3252
3732
  return parse_1.parse;
3253
3733
  }
3254
3734
  }));
3255
- var bind_1 = __webpack_require__(5492);
3735
+ var bind_1 = __webpack_require__(7990);
3256
3736
  Object.defineProperty(exports, "bind", ({
3257
3737
  enumerable: true,
3258
3738
  get: function () {
3259
3739
  return bind_1.bind;
3260
3740
  }
3261
3741
  }));
3262
- var cache_1 = __webpack_require__(3380);
3742
+ var cache_1 = __webpack_require__(4331);
3263
3743
  Object.defineProperty(exports, "caches", ({
3264
3744
  enumerable: true,
3265
3745
  get: function () {
3266
3746
  return cache_1.caches;
3267
3747
  }
3268
3748
  }));
3269
- var header_1 = __webpack_require__(6308);
3749
+ var header_1 = __webpack_require__(3652);
3270
3750
  Object.defineProperty(exports, "header", ({
3271
3751
  enumerable: true,
3272
3752
  get: function () {
@@ -3279,14 +3759,14 @@ Object.defineProperty(exports, "headers", ({
3279
3759
  return header_1.headers;
3280
3760
  }
3281
3761
  }));
3282
- var body_1 = __webpack_require__(2172);
3762
+ var body_1 = __webpack_require__(3413);
3283
3763
  Object.defineProperty(exports, "body", ({
3284
3764
  enumerable: true,
3285
3765
  get: function () {
3286
3766
  return body_1.body;
3287
3767
  }
3288
3768
  }));
3289
- var normalize_1 = __webpack_require__(9588);
3769
+ var normalize_1 = __webpack_require__(4490);
3290
3770
  Object.defineProperty(exports, "normalize", ({
3291
3771
  enumerable: true,
3292
3772
  get: function () {
@@ -3296,7 +3776,7 @@ Object.defineProperty(exports, "normalize", ({
3296
3776
 
3297
3777
  /***/ }),
3298
3778
 
3299
- /***/ 5492:
3779
+ /***/ 7990:
3300
3780
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3301
3781
 
3302
3782
  "use strict";
@@ -3306,16 +3786,16 @@ Object.defineProperty(exports, "__esModule", ({
3306
3786
  value: true
3307
3787
  }));
3308
3788
  exports.bind = void 0;
3309
- const parser_1 = __webpack_require__(3232);
3310
- const segment_1 = __webpack_require__(1284);
3311
- const header_1 = __webpack_require__(540);
3312
- const block_1 = __webpack_require__(9372);
3313
- const normalize_1 = __webpack_require__(9588);
3314
- const header_2 = __webpack_require__(6308);
3315
- const figure_1 = __webpack_require__(5712);
3316
- const note_1 = __webpack_require__(6992);
3317
- const url_1 = __webpack_require__(3800);
3318
- const array_1 = __webpack_require__(8980);
3789
+ const parser_1 = __webpack_require__(605);
3790
+ const segment_1 = __webpack_require__(3967);
3791
+ const header_1 = __webpack_require__(3009);
3792
+ const block_1 = __webpack_require__(7099);
3793
+ const normalize_1 = __webpack_require__(4490);
3794
+ const header_2 = __webpack_require__(3652);
3795
+ const figure_1 = __webpack_require__(1657);
3796
+ const note_1 = __webpack_require__(165);
3797
+ const url_1 = __webpack_require__(1904);
3798
+ const array_1 = __webpack_require__(6876);
3319
3799
  function bind(target, settings) {
3320
3800
  let context = {
3321
3801
  ...settings,
@@ -3473,7 +3953,7 @@ exports.bind = bind;
3473
3953
 
3474
3954
  /***/ }),
3475
3955
 
3476
- /***/ 2172:
3956
+ /***/ 3413:
3477
3957
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3478
3958
 
3479
3959
  "use strict";
@@ -3483,7 +3963,7 @@ Object.defineProperty(exports, "__esModule", ({
3483
3963
  value: true
3484
3964
  }));
3485
3965
  exports.body = void 0;
3486
- const header_1 = __webpack_require__(6308);
3966
+ const header_1 = __webpack_require__(3652);
3487
3967
  function body(source) {
3488
3968
  return source.slice((0, header_1.header)(source).length);
3489
3969
  }
@@ -3491,7 +3971,7 @@ exports.body = body;
3491
3971
 
3492
3972
  /***/ }),
3493
3973
 
3494
- /***/ 3380:
3974
+ /***/ 4331:
3495
3975
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3496
3976
 
3497
3977
  "use strict";
@@ -3501,11 +3981,11 @@ Object.defineProperty(exports, "__esModule", ({
3501
3981
  value: true
3502
3982
  }));
3503
3983
  exports.caches = void 0;
3504
- const clock_1 = __webpack_require__(7124);
3505
- const tlru_1 = __webpack_require__(1900);
3984
+ const tclock_1 = __webpack_require__(3307);
3985
+ const tlru_1 = __webpack_require__(8888);
3506
3986
  // For rerendering in editing.
3507
3987
  /*
3508
- 同一文書内で複数回使用される可能性が低いデータ: Clock
3988
+ 同一文書内で複数回使用される可能性が低いデータ: TClock
3509
3989
  同一文書内で複数回使用される可能性が高いデータ: TLRU
3510
3990
 
3511
3991
  編集時の再描画高速化が主目的であるためブロックを周期とするループおよび
@@ -3521,14 +4001,14 @@ const tlru_1 = __webpack_require__(1900);
3521
4001
 
3522
4002
  */
3523
4003
  exports.caches = {
3524
- code: new clock_1.Clock(1000),
4004
+ code: new tclock_1.TClock(1000),
3525
4005
  math: new tlru_1.TLRU(1000),
3526
- media: new clock_1.Clock(100)
4006
+ media: new tclock_1.TClock(100)
3527
4007
  };
3528
4008
 
3529
4009
  /***/ }),
3530
4010
 
3531
- /***/ 6308:
4011
+ /***/ 3652:
3532
4012
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3533
4013
 
3534
4014
  "use strict";
@@ -3538,8 +4018,8 @@ Object.defineProperty(exports, "__esModule", ({
3538
4018
  value: true
3539
4019
  }));
3540
4020
  exports.headers = exports.header = void 0;
3541
- const parser_1 = __webpack_require__(3232);
3542
- const header_1 = __webpack_require__(540);
4021
+ const parser_1 = __webpack_require__(605);
4022
+ const header_1 = __webpack_require__(3009);
3543
4023
  function header(source) {
3544
4024
  const [, rest = source] = parse(source);
3545
4025
  return source.slice(0, source.length - rest.length);
@@ -3561,7 +4041,7 @@ function parse(source) {
3561
4041
 
3562
4042
  /***/ }),
3563
4043
 
3564
- /***/ 9588:
4044
+ /***/ 4490:
3565
4045
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3566
4046
 
3567
4047
  "use strict";
@@ -3571,8 +4051,8 @@ Object.defineProperty(exports, "__esModule", ({
3571
4051
  value: true
3572
4052
  }));
3573
4053
  exports.escape = exports.invisibleHTMLEntityNames = exports.normalize = void 0;
3574
- const parser_1 = __webpack_require__(3232);
3575
- const htmlentity_1 = __webpack_require__(3740);
4054
+ const parser_1 = __webpack_require__(605);
4055
+ const htmlentity_1 = __webpack_require__(470);
3576
4056
  const UNICODE_REPLACEMENT_CHARACTER = '\uFFFD';
3577
4057
  function normalize(source) {
3578
4058
  return sanitize(format(source));
@@ -3633,7 +4113,7 @@ exports.escape = escape;
3633
4113
 
3634
4114
  /***/ }),
3635
4115
 
3636
- /***/ 2244:
4116
+ /***/ 3662:
3637
4117
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3638
4118
 
3639
4119
  "use strict";
@@ -3643,16 +4123,16 @@ Object.defineProperty(exports, "__esModule", ({
3643
4123
  value: true
3644
4124
  }));
3645
4125
  exports.parse = void 0;
3646
- const parser_1 = __webpack_require__(3232);
3647
- const segment_1 = __webpack_require__(1284);
3648
- const header_1 = __webpack_require__(540);
3649
- const block_1 = __webpack_require__(9372);
3650
- const normalize_1 = __webpack_require__(9588);
3651
- const header_2 = __webpack_require__(6308);
3652
- const figure_1 = __webpack_require__(5712);
3653
- const note_1 = __webpack_require__(6992);
3654
- const url_1 = __webpack_require__(3800);
3655
- const dom_1 = __webpack_require__(8200);
4126
+ const parser_1 = __webpack_require__(605);
4127
+ const segment_1 = __webpack_require__(3967);
4128
+ const header_1 = __webpack_require__(3009);
4129
+ const block_1 = __webpack_require__(7099);
4130
+ const normalize_1 = __webpack_require__(4490);
4131
+ const header_2 = __webpack_require__(3652);
4132
+ const figure_1 = __webpack_require__(1657);
4133
+ const note_1 = __webpack_require__(165);
4134
+ const url_1 = __webpack_require__(1904);
4135
+ const dom_1 = __webpack_require__(394);
3656
4136
  function parse(source, opts = {}, context) {
3657
4137
  if (!(0, segment_1.validate)(source, segment_1.MAX_SEGMENT_SIZE)) throw new Error(`Too large input over ${segment_1.MAX_SEGMENT_SIZE.toLocaleString('en')} bytes`);
3658
4138
  const url = (0, header_2.headers)(source).find(field => field.toLowerCase().startsWith('url:'))?.slice(4).trim() ?? '';
@@ -3688,7 +4168,7 @@ exports.parse = parse;
3688
4168
 
3689
4169
  /***/ }),
3690
4170
 
3691
- /***/ 5244:
4171
+ /***/ 1671:
3692
4172
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3693
4173
 
3694
4174
  "use strict";
@@ -3698,14 +4178,14 @@ Object.defineProperty(exports, "__esModule", ({
3698
4178
  value: true
3699
4179
  }));
3700
4180
  exports.autolink = void 0;
3701
- const combinator_1 = __webpack_require__(7436);
3702
- const autolink_1 = __webpack_require__(2044);
3703
- const source_1 = __webpack_require__(4856);
4181
+ const combinator_1 = __webpack_require__(3484);
4182
+ const autolink_1 = __webpack_require__(8072);
4183
+ const source_1 = __webpack_require__(8745);
3704
4184
  exports.autolink = (0, combinator_1.lazy)(() => (0, combinator_1.convert)(source => `\r${source}`, (0, combinator_1.some)((0, combinator_1.union)([autolink_1.autolink, source_1.linebreak, source_1.unescsource]))));
3705
4185
 
3706
4186
  /***/ }),
3707
4187
 
3708
- /***/ 9372:
4188
+ /***/ 7099:
3709
4189
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3710
4190
 
3711
4191
  "use strict";
@@ -3715,26 +4195,26 @@ Object.defineProperty(exports, "__esModule", ({
3715
4195
  value: true
3716
4196
  }));
3717
4197
  exports.block = void 0;
3718
- const combinator_1 = __webpack_require__(7436);
3719
- const memo_1 = __webpack_require__(6660);
3720
- const source_1 = __webpack_require__(4856);
3721
- const pagebreak_1 = __webpack_require__(4904);
3722
- const heading_1 = __webpack_require__(6700);
3723
- const ulist_1 = __webpack_require__(4788);
3724
- const olist_1 = __webpack_require__(9585);
3725
- const ilist_1 = __webpack_require__(6688);
3726
- const dlist_1 = __webpack_require__(9708);
3727
- const table_1 = __webpack_require__(5068);
3728
- const codeblock_1 = __webpack_require__(8912);
3729
- const mathblock_1 = __webpack_require__(8748);
3730
- const extension_1 = __webpack_require__(9536);
3731
- const sidefence_1 = __webpack_require__(2208);
3732
- const blockquote_1 = __webpack_require__(9848);
3733
- const mediablock_1 = __webpack_require__(468);
3734
- const reply_1 = __webpack_require__(8452);
3735
- const paragraph_1 = __webpack_require__(4740);
3736
- const random_1 = __webpack_require__(72);
3737
- const dom_1 = __webpack_require__(8200);
4198
+ const combinator_1 = __webpack_require__(3484);
4199
+ const memo_1 = __webpack_require__(1074);
4200
+ const source_1 = __webpack_require__(8745);
4201
+ const pagebreak_1 = __webpack_require__(2946);
4202
+ const heading_1 = __webpack_require__(2778);
4203
+ const ulist_1 = __webpack_require__(7595);
4204
+ const olist_1 = __webpack_require__(7697);
4205
+ const ilist_1 = __webpack_require__(4223);
4206
+ const dlist_1 = __webpack_require__(636);
4207
+ const table_1 = __webpack_require__(2752);
4208
+ const codeblock_1 = __webpack_require__(9194);
4209
+ const mathblock_1 = __webpack_require__(4903);
4210
+ const extension_1 = __webpack_require__(6193);
4211
+ const sidefence_1 = __webpack_require__(6500);
4212
+ const blockquote_1 = __webpack_require__(5885);
4213
+ const mediablock_1 = __webpack_require__(2583);
4214
+ const reply_1 = __webpack_require__(3832);
4215
+ const paragraph_1 = __webpack_require__(4330);
4216
+ const random_1 = __webpack_require__(3158);
4217
+ const dom_1 = __webpack_require__(394);
3738
4218
  exports.block = (0, combinator_1.creation)(0, false, (0, combinator_1.reset)({
3739
4219
  resources: {
3740
4220
  clock: 20000,
@@ -3763,7 +4243,7 @@ function error(parser) {
3763
4243
 
3764
4244
  /***/ }),
3765
4245
 
3766
- /***/ 9848:
4246
+ /***/ 5885:
3767
4247
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3768
4248
 
3769
4249
  "use strict";
@@ -3773,11 +4253,11 @@ Object.defineProperty(exports, "__esModule", ({
3773
4253
  value: true
3774
4254
  }));
3775
4255
  exports.blockquote = exports.segment = void 0;
3776
- const combinator_1 = __webpack_require__(7436);
3777
- const autolink_1 = __webpack_require__(5244);
3778
- const source_1 = __webpack_require__(4856);
3779
- const parse_1 = __webpack_require__(2244);
3780
- const dom_1 = __webpack_require__(8200);
4256
+ const combinator_1 = __webpack_require__(3484);
4257
+ const autolink_1 = __webpack_require__(1671);
4258
+ const source_1 = __webpack_require__(8745);
4259
+ const parse_1 = __webpack_require__(3662);
4260
+ const dom_1 = __webpack_require__(394);
3781
4261
  exports.segment = (0, combinator_1.block)((0, combinator_1.validate)(['!>', '>'], (0, combinator_1.union)([(0, combinator_1.validate)(/^!?>+(?=[^\S\n]|\n[^\S\n]*\S)/, (0, combinator_1.some)(source_1.contentline))])));
3782
4262
  exports.blockquote = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.rewrite)(exports.segment, (0, combinator_1.union)([(0, combinator_1.open)(/^(?=>)/, source), (0, combinator_1.open)(/^!(?=>)/, markdown)]))));
3783
4263
  const opener = /^(?=>>+(?:$|\s))/;
@@ -3802,7 +4282,7 @@ const markdown = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combina
3802
4282
 
3803
4283
  /***/ }),
3804
4284
 
3805
- /***/ 8912:
4285
+ /***/ 9194:
3806
4286
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3807
4287
 
3808
4288
  "use strict";
@@ -3812,10 +4292,10 @@ Object.defineProperty(exports, "__esModule", ({
3812
4292
  value: true
3813
4293
  }));
3814
4294
  exports.codeblock = exports.segment_ = exports.segment = void 0;
3815
- const parser_1 = __webpack_require__(3232);
3816
- const combinator_1 = __webpack_require__(7436);
3817
- const autolink_1 = __webpack_require__(5244);
3818
- const dom_1 = __webpack_require__(8200);
4295
+ const parser_1 = __webpack_require__(605);
4296
+ const combinator_1 = __webpack_require__(3484);
4297
+ const autolink_1 = __webpack_require__(1671);
4298
+ const dom_1 = __webpack_require__(394);
3819
4299
  const opener = /^(`{3,})(?!`)([^\n]*)(?:$|\n)/;
3820
4300
  const language = /^[0-9a-z]+(?:-[a-z][0-9a-z]*)*$/i;
3821
4301
  exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('```', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300))));
@@ -3865,7 +4345,7 @@ exports.codeblock = (0, combinator_1.block)((0, combinator_1.validate)('```', (0
3865
4345
 
3866
4346
  /***/ }),
3867
4347
 
3868
- /***/ 9708:
4348
+ /***/ 636:
3869
4349
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3870
4350
 
3871
4351
  "use strict";
@@ -3875,13 +4355,13 @@ Object.defineProperty(exports, "__esModule", ({
3875
4355
  value: true
3876
4356
  }));
3877
4357
  exports.dlist = void 0;
3878
- const combinator_1 = __webpack_require__(7436);
3879
- const inline_1 = __webpack_require__(2716);
3880
- const source_1 = __webpack_require__(4856);
3881
- const util_1 = __webpack_require__(9224);
3882
- const visibility_1 = __webpack_require__(5424);
3883
- const array_1 = __webpack_require__(8980);
3884
- const dom_1 = __webpack_require__(8200);
4358
+ const combinator_1 = __webpack_require__(3484);
4359
+ const inline_1 = __webpack_require__(7973);
4360
+ const source_1 = __webpack_require__(8745);
4361
+ const util_1 = __webpack_require__(4992);
4362
+ const visibility_1 = __webpack_require__(6364);
4363
+ const array_1 = __webpack_require__(6876);
4364
+ const dom_1 = __webpack_require__(394);
3885
4365
  exports.dlist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^~[^\S\n]+(?=\S)/, (0, combinator_1.some)((0, combinator_1.inits)([(0, combinator_1.state)(256 /* State.annotation */ | 128 /* State.reference */ | 64 /* State.index */ | 32 /* State.label */ | 16 /* State.link */ | 8 /* State.media */, (0, combinator_1.some)(term)), (0, combinator_1.some)(desc)]))), es => [(0, dom_1.html)('dl', fillTrailingDescription(es))])));
3886
4366
  const term = (0, combinator_1.creation)(1, false, (0, combinator_1.line)((0, inline_1.indexee)((0, combinator_1.fmap)((0, combinator_1.open)(/^~[^\S\n]+(?=\S)/, (0, visibility_1.visualize)((0, visibility_1.trimBlankStart)((0, combinator_1.some)((0, combinator_1.union)([inline_1.indexer, inline_1.inline])))), true), ns => [(0, dom_1.html)('dt', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))]))));
3887
4367
  const desc = (0, combinator_1.creation)(1, false, (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.open)(/^:[^\S\n]+(?=\S)|/, (0, combinator_1.rewrite)((0, combinator_1.some)(source_1.anyline, /^[~:][^\S\n]+\S/), (0, visibility_1.visualize)((0, util_1.lineable)((0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]))))), true), ns => [(0, dom_1.html)('dd', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))]), false));
@@ -3891,7 +4371,7 @@ function fillTrailingDescription(es) {
3891
4371
 
3892
4372
  /***/ }),
3893
4373
 
3894
- /***/ 9536:
4374
+ /***/ 6193:
3895
4375
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3896
4376
 
3897
4377
  "use strict";
@@ -3901,21 +4381,21 @@ Object.defineProperty(exports, "__esModule", ({
3901
4381
  value: true
3902
4382
  }));
3903
4383
  exports.extension = exports.segment = void 0;
3904
- const combinator_1 = __webpack_require__(7436);
3905
- const figbase_1 = __webpack_require__(8828);
3906
- const fig_1 = __webpack_require__(8180);
3907
- const figure_1 = __webpack_require__(2443);
3908
- const table_1 = __webpack_require__(4280);
3909
- const message_1 = __webpack_require__(2080);
3910
- const aside_1 = __webpack_require__(5351);
3911
- const example_1 = __webpack_require__(5072);
3912
- const placeholder_1 = __webpack_require__(5704);
4384
+ const combinator_1 = __webpack_require__(3484);
4385
+ const figbase_1 = __webpack_require__(8289);
4386
+ const fig_1 = __webpack_require__(7396);
4387
+ const figure_1 = __webpack_require__(4248);
4388
+ const table_1 = __webpack_require__(3646);
4389
+ const message_1 = __webpack_require__(3949);
4390
+ const aside_1 = __webpack_require__(6150);
4391
+ const example_1 = __webpack_require__(6624);
4392
+ const placeholder_1 = __webpack_require__(4091);
3913
4393
  exports.segment = (0, combinator_1.validate)(['~~~', '[$', '$'], (0, combinator_1.validate)(/^~{3,}|^\[?\$[A-Za-z-]\S+[^\S\n]*(?:$|\n)/, (0, combinator_1.union)([fig_1.segment, figure_1.segment, table_1.segment, placeholder_1.segment])));
3914
4394
  exports.extension = (0, combinator_1.union)([figbase_1.figbase, fig_1.fig, figure_1.figure, table_1.table, message_1.message, aside_1.aside, example_1.example, placeholder_1.placeholder]);
3915
4395
 
3916
4396
  /***/ }),
3917
4397
 
3918
- /***/ 5351:
4398
+ /***/ 6150:
3919
4399
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3920
4400
 
3921
4401
  "use strict";
@@ -3925,10 +4405,10 @@ Object.defineProperty(exports, "__esModule", ({
3925
4405
  value: true
3926
4406
  }));
3927
4407
  exports.aside = void 0;
3928
- const combinator_1 = __webpack_require__(7436);
3929
- const indexee_1 = __webpack_require__(5688);
3930
- const parse_1 = __webpack_require__(2244);
3931
- const dom_1 = __webpack_require__(8200);
4408
+ const combinator_1 = __webpack_require__(3484);
4409
+ const indexee_1 = __webpack_require__(7610);
4410
+ const parse_1 = __webpack_require__(3662);
4411
+ const dom_1 = __webpack_require__(394);
3932
4412
  exports.aside = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.fmap)((0, combinator_1.fence)(/^(~{3,})aside(?!\S)([^\n]*)(?:$|\n)/, 300),
3933
4413
  // Bug: Type mismatch between outer and inner.
3934
4414
  ([body, overflow, closer, opener, delim, param], _, context) => {
@@ -3964,7 +4444,7 @@ exports.aside = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, co
3964
4444
 
3965
4445
  /***/ }),
3966
4446
 
3967
- /***/ 5072:
4447
+ /***/ 6624:
3968
4448
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
3969
4449
 
3970
4450
  "use strict";
@@ -3974,11 +4454,11 @@ Object.defineProperty(exports, "__esModule", ({
3974
4454
  value: true
3975
4455
  }));
3976
4456
  exports.example = void 0;
3977
- const parser_1 = __webpack_require__(3232);
3978
- const combinator_1 = __webpack_require__(7436);
3979
- const parse_1 = __webpack_require__(2244);
3980
- const mathblock_1 = __webpack_require__(8748);
3981
- const dom_1 = __webpack_require__(8200);
4457
+ const parser_1 = __webpack_require__(605);
4458
+ const combinator_1 = __webpack_require__(3484);
4459
+ const parse_1 = __webpack_require__(3662);
4460
+ const mathblock_1 = __webpack_require__(4903);
4461
+ const dom_1 = __webpack_require__(394);
3982
4462
  const opener = /^(~{3,})(?:example\/(\S+))?(?!\S)([^\n]*)(?:$|\n)/;
3983
4463
  exports.example = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.fmap)((0, combinator_1.fence)(opener, 300),
3984
4464
  // Bug: Type mismatch between outer and inner.
@@ -4032,7 +4512,7 @@ exports.example = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0,
4032
4512
 
4033
4513
  /***/ }),
4034
4514
 
4035
- /***/ 8180:
4515
+ /***/ 7396:
4036
4516
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4037
4517
 
4038
4518
  "use strict";
@@ -4042,16 +4522,16 @@ Object.defineProperty(exports, "__esModule", ({
4042
4522
  value: true
4043
4523
  }));
4044
4524
  exports.fig = exports.segment = void 0;
4045
- const combinator_1 = __webpack_require__(7436);
4046
- const source_1 = __webpack_require__(4856);
4047
- const figure_1 = __webpack_require__(2443);
4048
- const label_1 = __webpack_require__(3640);
4049
- const codeblock_1 = __webpack_require__(8912);
4050
- const mathblock_1 = __webpack_require__(8748);
4051
- const table_1 = __webpack_require__(4280);
4052
- const blockquote_1 = __webpack_require__(9848);
4053
- const placeholder_1 = __webpack_require__(5704);
4054
- const inline_1 = __webpack_require__(2716);
4525
+ const combinator_1 = __webpack_require__(3484);
4526
+ const source_1 = __webpack_require__(8745);
4527
+ const figure_1 = __webpack_require__(4248);
4528
+ const label_1 = __webpack_require__(2178);
4529
+ const codeblock_1 = __webpack_require__(9194);
4530
+ const mathblock_1 = __webpack_require__(4903);
4531
+ const table_1 = __webpack_require__(3646);
4532
+ const blockquote_1 = __webpack_require__(5885);
4533
+ const placeholder_1 = __webpack_require__(4091);
4534
+ const inline_1 = __webpack_require__(7973);
4055
4535
  exports.segment = (0, combinator_1.block)((0, combinator_1.validate)(['[$', '$'], (0, combinator_1.sequence)([(0, combinator_1.line)((0, combinator_1.close)(label_1.segment, /^(?=\s).*\n/)), (0, combinator_1.union)([codeblock_1.segment, mathblock_1.segment, table_1.segment, blockquote_1.segment, placeholder_1.segment, (0, combinator_1.some)(source_1.contentline)])])));
4056
4536
  exports.fig = (0, combinator_1.block)((0, combinator_1.rewrite)(exports.segment, (0, combinator_1.verify)((0, combinator_1.convert)((source, context) => {
4057
4537
  // Bug: TypeScript
@@ -4065,7 +4545,7 @@ const parser = (0, combinator_1.sequence)([(0, combinator_1.line)((0, combinator
4065
4545
 
4066
4546
  /***/ }),
4067
4547
 
4068
- /***/ 8828:
4548
+ /***/ 8289:
4069
4549
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4070
4550
 
4071
4551
  "use strict";
@@ -4075,9 +4555,9 @@ Object.defineProperty(exports, "__esModule", ({
4075
4555
  value: true
4076
4556
  }));
4077
4557
  exports.figbase = void 0;
4078
- const combinator_1 = __webpack_require__(7436);
4079
- const label_1 = __webpack_require__(3640);
4080
- const dom_1 = __webpack_require__(8200);
4558
+ const combinator_1 = __webpack_require__(3484);
4559
+ const label_1 = __webpack_require__(2178);
4560
+ const dom_1 = __webpack_require__(394);
4081
4561
  exports.figbase = (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^\[?\$-(?:[0-9]+\.)*0\]?[^\S\n]*(?!\S|\n[^\S\n]*\S)/, (0, combinator_1.line)((0, combinator_1.union)([label_1.label]))), ([el]) => {
4082
4562
  const label = el.getAttribute('data-label');
4083
4563
  const group = label.split('-', 1)[0];
@@ -4090,7 +4570,7 @@ exports.figbase = (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_
4090
4570
 
4091
4571
  /***/ }),
4092
4572
 
4093
- /***/ 2443:
4573
+ /***/ 4248:
4094
4574
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4095
4575
 
4096
4576
  "use strict";
@@ -4100,22 +4580,22 @@ Object.defineProperty(exports, "__esModule", ({
4100
4580
  value: true
4101
4581
  }));
4102
4582
  exports.figure = exports.segment = void 0;
4103
- const combinator_1 = __webpack_require__(7436);
4104
- const source_1 = __webpack_require__(4856);
4105
- const label_1 = __webpack_require__(3640);
4106
- const ulist_1 = __webpack_require__(4788);
4107
- const olist_1 = __webpack_require__(9585);
4108
- const table_1 = __webpack_require__(5068);
4109
- const codeblock_1 = __webpack_require__(8912);
4110
- const mathblock_1 = __webpack_require__(8748);
4111
- const example_1 = __webpack_require__(5072);
4112
- const table_2 = __webpack_require__(4280);
4113
- const blockquote_1 = __webpack_require__(9848);
4114
- const placeholder_1 = __webpack_require__(5704);
4115
- const inline_1 = __webpack_require__(2716);
4116
- const visibility_1 = __webpack_require__(5424);
4117
- const memoize_1 = __webpack_require__(276);
4118
- const dom_1 = __webpack_require__(8200);
4583
+ const combinator_1 = __webpack_require__(3484);
4584
+ const source_1 = __webpack_require__(8745);
4585
+ const label_1 = __webpack_require__(2178);
4586
+ const ulist_1 = __webpack_require__(7595);
4587
+ const olist_1 = __webpack_require__(7697);
4588
+ const table_1 = __webpack_require__(2752);
4589
+ const codeblock_1 = __webpack_require__(9194);
4590
+ const mathblock_1 = __webpack_require__(4903);
4591
+ const example_1 = __webpack_require__(6624);
4592
+ const table_2 = __webpack_require__(3646);
4593
+ const blockquote_1 = __webpack_require__(5885);
4594
+ const placeholder_1 = __webpack_require__(4091);
4595
+ const inline_1 = __webpack_require__(7973);
4596
+ const visibility_1 = __webpack_require__(6364);
4597
+ const memoize_1 = __webpack_require__(6925);
4598
+ const dom_1 = __webpack_require__(394);
4119
4599
  exports.segment = (0, combinator_1.block)((0, combinator_1.match)(/^(~{3,})(?:figure[^\S\n])?(?=\[?\$)/, (0, memoize_1.memoize)(([, fence], closer = new RegExp(String.raw`^${fence}[^\S\n]*(?:$|\n)`)) => (0, combinator_1.close)((0, combinator_1.sequence)([source_1.contentline, (0, combinator_1.inits)([
4120
4600
  // All parsers which can include closing terms.
4121
4601
  (0, combinator_1.union)([codeblock_1.segment_, mathblock_1.segment_, table_2.segment_, blockquote_1.segment, placeholder_1.segment_, (0, combinator_1.some)(source_1.contentline, closer)]), source_1.emptyline, (0, combinator_1.union)([source_1.emptyline, (0, combinator_1.some)(source_1.contentline, closer)])])]), closer), ([, fence]) => fence.length, {})));
@@ -4218,7 +4698,7 @@ function attributes(label, param, content, caption) {
4218
4698
 
4219
4699
  /***/ }),
4220
4700
 
4221
- /***/ 2080:
4701
+ /***/ 3949:
4222
4702
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4223
4703
 
4224
4704
  "use strict";
@@ -4228,22 +4708,22 @@ Object.defineProperty(exports, "__esModule", ({
4228
4708
  value: true
4229
4709
  }));
4230
4710
  exports.message = void 0;
4231
- const parser_1 = __webpack_require__(3232);
4232
- const combinator_1 = __webpack_require__(7436);
4233
- const segment_1 = __webpack_require__(1284);
4234
- const source_1 = __webpack_require__(4856);
4235
- const ulist_1 = __webpack_require__(4788);
4236
- const olist_1 = __webpack_require__(9585);
4237
- const ilist_1 = __webpack_require__(6688);
4238
- const table_1 = __webpack_require__(5068);
4239
- const codeblock_1 = __webpack_require__(8912);
4240
- const mathblock_1 = __webpack_require__(8748);
4241
- const sidefence_1 = __webpack_require__(2208);
4242
- const blockquote_1 = __webpack_require__(9848);
4243
- const mediablock_1 = __webpack_require__(468);
4244
- const paragraph_1 = __webpack_require__(4740);
4245
- const array_1 = __webpack_require__(8980);
4246
- const dom_1 = __webpack_require__(8200);
4711
+ const parser_1 = __webpack_require__(605);
4712
+ const combinator_1 = __webpack_require__(3484);
4713
+ const segment_1 = __webpack_require__(3967);
4714
+ const source_1 = __webpack_require__(8745);
4715
+ const ulist_1 = __webpack_require__(7595);
4716
+ const olist_1 = __webpack_require__(7697);
4717
+ const ilist_1 = __webpack_require__(4223);
4718
+ const table_1 = __webpack_require__(2752);
4719
+ const codeblock_1 = __webpack_require__(9194);
4720
+ const mathblock_1 = __webpack_require__(4903);
4721
+ const sidefence_1 = __webpack_require__(6500);
4722
+ const blockquote_1 = __webpack_require__(5885);
4723
+ const mediablock_1 = __webpack_require__(2583);
4724
+ const paragraph_1 = __webpack_require__(4330);
4725
+ const array_1 = __webpack_require__(6876);
4726
+ const dom_1 = __webpack_require__(394);
4247
4727
  exports.message = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.fmap)((0, combinator_1.fence)(/^(~{3,})message\/(\S+)([^\n]*)(?:$|\n)/, 300),
4248
4728
  // Bug: Type mismatch between outer and inner.
4249
4729
  ([body, overflow, closer, opener, delim, type, param], _, context) => {
@@ -4291,7 +4771,7 @@ const content = (0, combinator_1.union)([source_1.emptyline, ulist_1.ulist, olis
4291
4771
 
4292
4772
  /***/ }),
4293
4773
 
4294
- /***/ 5704:
4774
+ /***/ 4091:
4295
4775
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4296
4776
 
4297
4777
  "use strict";
@@ -4301,8 +4781,8 @@ Object.defineProperty(exports, "__esModule", ({
4301
4781
  value: true
4302
4782
  }));
4303
4783
  exports.placeholder = exports.segment_ = exports.segment = void 0;
4304
- const combinator_1 = __webpack_require__(7436);
4305
- const dom_1 = __webpack_require__(8200);
4784
+ const combinator_1 = __webpack_require__(3484);
4785
+ const dom_1 = __webpack_require__(394);
4306
4786
  const opener = /^(~{3,})(?!~)[^\n]*(?:$|\n)/;
4307
4787
  exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300))));
4308
4788
  exports.segment_ = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300, false))), false);
@@ -4314,7 +4794,7 @@ exports.placeholder = (0, combinator_1.block)((0, combinator_1.validate)('~~~',
4314
4794
 
4315
4795
  /***/ }),
4316
4796
 
4317
- /***/ 4280:
4797
+ /***/ 3646:
4318
4798
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4319
4799
 
4320
4800
  "use strict";
@@ -4324,15 +4804,15 @@ Object.defineProperty(exports, "__esModule", ({
4324
4804
  value: true
4325
4805
  }));
4326
4806
  exports.table = exports.segment_ = exports.segment = void 0;
4327
- const alias_1 = __webpack_require__(5807);
4328
- const parser_1 = __webpack_require__(3232);
4329
- const combinator_1 = __webpack_require__(7436);
4330
- const inline_1 = __webpack_require__(2716);
4331
- const source_1 = __webpack_require__(4856);
4332
- const util_1 = __webpack_require__(9224);
4333
- const visibility_1 = __webpack_require__(5424);
4334
- const array_1 = __webpack_require__(8980);
4335
- const dom_1 = __webpack_require__(8200);
4807
+ const alias_1 = __webpack_require__(5413);
4808
+ const parser_1 = __webpack_require__(605);
4809
+ const combinator_1 = __webpack_require__(3484);
4810
+ const inline_1 = __webpack_require__(7973);
4811
+ const source_1 = __webpack_require__(8745);
4812
+ const util_1 = __webpack_require__(4992);
4813
+ const visibility_1 = __webpack_require__(6364);
4814
+ const array_1 = __webpack_require__(6876);
4815
+ const dom_1 = __webpack_require__(394);
4336
4816
  const opener = /^(~{3,})table(?:\/(\S+))?(?!\S)([^\n]*)(?:$|\n)/;
4337
4817
  exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 10000))));
4338
4818
  exports.segment_ = (0, combinator_1.block)((0, combinator_1.validate)('~~~', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 10000, false))), false);
@@ -4580,7 +5060,7 @@ function format(rows) {
4580
5060
 
4581
5061
  /***/ }),
4582
5062
 
4583
- /***/ 6700:
5063
+ /***/ 2778:
4584
5064
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4585
5065
 
4586
5066
  "use strict";
@@ -4590,11 +5070,11 @@ Object.defineProperty(exports, "__esModule", ({
4590
5070
  value: true
4591
5071
  }));
4592
5072
  exports.heading = exports.segment = void 0;
4593
- const combinator_1 = __webpack_require__(7436);
4594
- const inline_1 = __webpack_require__(2716);
4595
- const source_1 = __webpack_require__(4856);
4596
- const visibility_1 = __webpack_require__(5424);
4597
- const dom_1 = __webpack_require__(8200);
5073
+ const combinator_1 = __webpack_require__(3484);
5074
+ const inline_1 = __webpack_require__(7973);
5075
+ const source_1 = __webpack_require__(8745);
5076
+ const visibility_1 = __webpack_require__(6364);
5077
+ const dom_1 = __webpack_require__(394);
4598
5078
  exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('#', (0, combinator_1.focus)(/^#+[^\S\n]+\S[^\n]*(?:\n#+(?!\S)[^\n]*)*(?:$|\n)/, (0, combinator_1.some)((0, combinator_1.line)(({
4599
5079
  source
4600
5080
  }) => [[source], ''])))));
@@ -4607,7 +5087,7 @@ exports.heading = (0, combinator_1.block)((0, combinator_1.rewrite)(exports.segm
4607
5087
 
4608
5088
  /***/ }),
4609
5089
 
4610
- /***/ 6688:
5090
+ /***/ 4223:
4611
5091
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4612
5092
 
4613
5093
  "use strict";
@@ -4617,13 +5097,13 @@ Object.defineProperty(exports, "__esModule", ({
4617
5097
  value: true
4618
5098
  }));
4619
5099
  exports.ilist_ = exports.ilist = void 0;
4620
- const combinator_1 = __webpack_require__(7436);
4621
- const ulist_1 = __webpack_require__(4788);
4622
- const olist_1 = __webpack_require__(9585);
4623
- const inline_1 = __webpack_require__(2716);
4624
- const util_1 = __webpack_require__(9224);
4625
- const visibility_1 = __webpack_require__(5424);
4626
- const dom_1 = __webpack_require__(8200);
5100
+ const combinator_1 = __webpack_require__(3484);
5101
+ const ulist_1 = __webpack_require__(7595);
5102
+ const olist_1 = __webpack_require__(7697);
5103
+ const inline_1 = __webpack_require__(7973);
5104
+ const util_1 = __webpack_require__(4992);
5105
+ const visibility_1 = __webpack_require__(6364);
5106
+ const dom_1 = __webpack_require__(394);
4627
5107
  exports.ilist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.validate)(/^[-+*](?=[^\S\n]|\n[^\S\n]*\S)/, exports.ilist_)));
4628
5108
  exports.ilist_ = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^[-+*](?:$|\s)/, (0, combinator_1.some)((0, combinator_1.creation)(1, false, (0, combinator_1.union)([(0, combinator_1.fmap)((0, combinator_1.fallback)((0, combinator_1.inits)([(0, combinator_1.line)((0, combinator_1.open)(/^[-+*](?:$|\s)/, (0, combinator_1.trim)((0, visibility_1.visualize)((0, visibility_1.trimBlank)((0, util_1.lineable)((0, combinator_1.some)(inline_1.inline))))), true)), (0, combinator_1.indent)((0, combinator_1.union)([ulist_1.ulist_, olist_1.olist_, exports.ilist_]))]), ulist_1.invalid), ns => [(0, dom_1.html)('li', (0, dom_1.defrag)((0, ulist_1.fillFirstLine)(ns)))])])))), es => [(0, dom_1.html)('ul', {
4629
5109
  class: 'invalid',
@@ -4634,7 +5114,7 @@ exports.ilist_ = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combin
4634
5114
 
4635
5115
  /***/ }),
4636
5116
 
4637
- /***/ 8748:
5117
+ /***/ 4903:
4638
5118
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4639
5119
 
4640
5120
  "use strict";
@@ -4644,8 +5124,8 @@ Object.defineProperty(exports, "__esModule", ({
4644
5124
  value: true
4645
5125
  }));
4646
5126
  exports.mathblock = exports.segment_ = exports.segment = void 0;
4647
- const combinator_1 = __webpack_require__(7436);
4648
- const dom_1 = __webpack_require__(8200);
5127
+ const combinator_1 = __webpack_require__(3484);
5128
+ const dom_1 = __webpack_require__(394);
4649
5129
  const opener = /^(\${2,})(?!\$)([^\n]*)(?:$|\n)/;
4650
5130
  exports.segment = (0, combinator_1.block)((0, combinator_1.validate)('$$', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300))));
4651
5131
  exports.segment_ = (0, combinator_1.block)((0, combinator_1.validate)('$$', (0, combinator_1.clear)((0, combinator_1.fence)(opener, 300, false))), false);
@@ -4668,7 +5148,7 @@ exports.mathblock = (0, combinator_1.block)((0, combinator_1.validate)('$$', (0,
4668
5148
 
4669
5149
  /***/ }),
4670
5150
 
4671
- /***/ 468:
5151
+ /***/ 2583:
4672
5152
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4673
5153
 
4674
5154
  "use strict";
@@ -4678,9 +5158,9 @@ Object.defineProperty(exports, "__esModule", ({
4678
5158
  value: true
4679
5159
  }));
4680
5160
  exports.mediablock = void 0;
4681
- const combinator_1 = __webpack_require__(7436);
4682
- const inline_1 = __webpack_require__(2716);
4683
- const dom_1 = __webpack_require__(8200);
5161
+ const combinator_1 = __webpack_require__(3484);
5162
+ const inline_1 = __webpack_require__(7973);
5163
+ const dom_1 = __webpack_require__(394);
4684
5164
  exports.mediablock = (0, combinator_1.block)((0, combinator_1.validate)(['[!', '!'], (0, combinator_1.fmap)((0, combinator_1.inits)([(0, combinator_1.line)((0, combinator_1.union)([inline_1.medialink, inline_1.media, inline_1.shortmedia])), (0, combinator_1.some)((0, combinator_1.line)((0, combinator_1.fallback)((0, combinator_1.union)([inline_1.medialink, inline_1.media, inline_1.shortmedia]), ({
4685
5165
  source
4686
5166
  }) => [[(0, dom_1.html)('div', [(0, dom_1.html)('span', attrs, source.replace('\n', ''))])], ''])))]), ns => [(0, dom_1.html)('div', ns)])));
@@ -4693,7 +5173,7 @@ const attrs = {
4693
5173
 
4694
5174
  /***/ }),
4695
5175
 
4696
- /***/ 9585:
5176
+ /***/ 7697:
4697
5177
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4698
5178
 
4699
5179
  "use strict";
@@ -4703,14 +5183,14 @@ Object.defineProperty(exports, "__esModule", ({
4703
5183
  value: true
4704
5184
  }));
4705
5185
  exports.olist_ = exports.olist = void 0;
4706
- const combinator_1 = __webpack_require__(7436);
4707
- const ulist_1 = __webpack_require__(4788);
4708
- const ilist_1 = __webpack_require__(6688);
4709
- const inline_1 = __webpack_require__(2716);
4710
- const util_1 = __webpack_require__(9224);
4711
- const visibility_1 = __webpack_require__(5424);
4712
- const memoize_1 = __webpack_require__(276);
4713
- const dom_1 = __webpack_require__(8200);
5186
+ const combinator_1 = __webpack_require__(3484);
5187
+ const ulist_1 = __webpack_require__(7595);
5188
+ const ilist_1 = __webpack_require__(4223);
5189
+ const inline_1 = __webpack_require__(7973);
5190
+ const util_1 = __webpack_require__(4992);
5191
+ const visibility_1 = __webpack_require__(6364);
5192
+ const memoize_1 = __webpack_require__(6925);
5193
+ const dom_1 = __webpack_require__(394);
4714
5194
  const openers = {
4715
5195
  '.': /^([0-9]+|[a-z]+|[A-Z]+)(?:-(?!-)[0-9]*)*(?![^\S\n])\.?(?:$|\s)/,
4716
5196
  '(': /^\(([0-9]*|[a-z]*)(?![^)\n])\)?(?:-(?!-)[0-9]*)*(?:$|\s)/
@@ -4820,7 +5300,7 @@ function format(list, type, form) {
4820
5300
 
4821
5301
  /***/ }),
4822
5302
 
4823
- /***/ 4904:
5303
+ /***/ 2946:
4824
5304
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4825
5305
 
4826
5306
  "use strict";
@@ -4830,13 +5310,13 @@ Object.defineProperty(exports, "__esModule", ({
4830
5310
  value: true
4831
5311
  }));
4832
5312
  exports.pagebreak = void 0;
4833
- const combinator_1 = __webpack_require__(7436);
4834
- const dom_1 = __webpack_require__(8200);
5313
+ const combinator_1 = __webpack_require__(3484);
5314
+ const dom_1 = __webpack_require__(394);
4835
5315
  exports.pagebreak = (0, combinator_1.block)((0, combinator_1.line)((0, combinator_1.focus)(/^={3,}[^\S\n]*(?:$|\n)/, () => [[(0, dom_1.html)('hr')], ''])));
4836
5316
 
4837
5317
  /***/ }),
4838
5318
 
4839
- /***/ 4740:
5319
+ /***/ 4330:
4840
5320
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4841
5321
 
4842
5322
  "use strict";
@@ -4846,16 +5326,16 @@ Object.defineProperty(exports, "__esModule", ({
4846
5326
  value: true
4847
5327
  }));
4848
5328
  exports.paragraph = void 0;
4849
- const combinator_1 = __webpack_require__(7436);
4850
- const inline_1 = __webpack_require__(2716);
4851
- const util_1 = __webpack_require__(9224);
4852
- const visibility_1 = __webpack_require__(5424);
4853
- const dom_1 = __webpack_require__(8200);
5329
+ const combinator_1 = __webpack_require__(3484);
5330
+ const inline_1 = __webpack_require__(7973);
5331
+ const util_1 = __webpack_require__(4992);
5332
+ const visibility_1 = __webpack_require__(6364);
5333
+ const dom_1 = __webpack_require__(394);
4854
5334
  exports.paragraph = (0, combinator_1.block)((0, combinator_1.fmap)((0, visibility_1.visualize)((0, util_1.lineable)((0, combinator_1.some)((0, combinator_1.union)([inline_1.inline])))), ns => [(0, dom_1.html)('p', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))]));
4855
5335
 
4856
5336
  /***/ }),
4857
5337
 
4858
- /***/ 8452:
5338
+ /***/ 3832:
4859
5339
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4860
5340
 
4861
5341
  "use strict";
@@ -4865,15 +5345,15 @@ Object.defineProperty(exports, "__esModule", ({
4865
5345
  value: true
4866
5346
  }));
4867
5347
  exports.reply = void 0;
4868
- const combinator_1 = __webpack_require__(7436);
4869
- const cite_1 = __webpack_require__(1632);
4870
- const quote_1 = __webpack_require__(6423);
4871
- const inline_1 = __webpack_require__(2716);
4872
- const source_1 = __webpack_require__(4856);
4873
- const util_1 = __webpack_require__(9224);
4874
- const visibility_1 = __webpack_require__(5424);
4875
- const array_1 = __webpack_require__(8980);
4876
- const dom_1 = __webpack_require__(8200);
5348
+ const combinator_1 = __webpack_require__(3484);
5349
+ const cite_1 = __webpack_require__(1200);
5350
+ const quote_1 = __webpack_require__(4847);
5351
+ const inline_1 = __webpack_require__(7973);
5352
+ const source_1 = __webpack_require__(8745);
5353
+ const util_1 = __webpack_require__(4992);
5354
+ const visibility_1 = __webpack_require__(6364);
5355
+ const array_1 = __webpack_require__(6876);
5356
+ const dom_1 = __webpack_require__(394);
4877
5357
  /*
4878
5358
  必ず対象指定から始まる
4879
5359
  対象がページである場合>>.を表現方法とする
@@ -4884,7 +5364,7 @@ exports.reply = (0, combinator_1.block)((0, combinator_1.validate)('>', (0, comb
4884
5364
 
4885
5365
  /***/ }),
4886
5366
 
4887
- /***/ 1632:
5367
+ /***/ 1200:
4888
5368
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4889
5369
 
4890
5370
  "use strict";
@@ -4894,10 +5374,10 @@ Object.defineProperty(exports, "__esModule", ({
4894
5374
  value: true
4895
5375
  }));
4896
5376
  exports.cite = void 0;
4897
- const combinator_1 = __webpack_require__(7436);
4898
- const anchor_1 = __webpack_require__(6508);
4899
- const source_1 = __webpack_require__(4856);
4900
- const dom_1 = __webpack_require__(8200);
5377
+ const combinator_1 = __webpack_require__(3484);
5378
+ const anchor_1 = __webpack_require__(8535);
5379
+ const source_1 = __webpack_require__(8745);
5380
+ const dom_1 = __webpack_require__(394);
4901
5381
  exports.cite = (0, combinator_1.creation)(1, false, (0, combinator_1.line)((0, combinator_1.fmap)((0, combinator_1.validate)('>>', (0, combinator_1.reverse)((0, combinator_1.tails)([(0, source_1.str)(/^>*(?=>>[^>\s]+\s*$)/), (0, combinator_1.union)([anchor_1.anchor,
4902
5382
  // Subject page representation.
4903
5383
  // リンクの実装は後で検討
@@ -4921,7 +5401,7 @@ exports.cite = (0, combinator_1.creation)(1, false, (0, combinator_1.line)((0, c
4921
5401
 
4922
5402
  /***/ }),
4923
5403
 
4924
- /***/ 6423:
5404
+ /***/ 4847:
4925
5405
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4926
5406
 
4927
5407
  "use strict";
@@ -4931,11 +5411,11 @@ Object.defineProperty(exports, "__esModule", ({
4931
5411
  value: true
4932
5412
  }));
4933
5413
  exports.quote = exports.syntax = void 0;
4934
- const combinator_1 = __webpack_require__(7436);
4935
- const math_1 = __webpack_require__(4540);
4936
- const autolink_1 = __webpack_require__(2044);
4937
- const source_1 = __webpack_require__(4856);
4938
- const dom_1 = __webpack_require__(8200);
5414
+ const combinator_1 = __webpack_require__(3484);
5415
+ const math_1 = __webpack_require__(2962);
5416
+ const autolink_1 = __webpack_require__(8072);
5417
+ const source_1 = __webpack_require__(8745);
5418
+ const dom_1 = __webpack_require__(394);
4939
5419
  exports.syntax = /^>+(?=[^\S\n])|^>(?=[^\s>])|^>+(?=[^\s>])(?![0-9a-z]+(?:-[0-9a-z]+)*(?![0-9A-Za-z@#:]))/;
4940
5420
  exports.quote = (0, combinator_1.lazy)(() => (0, combinator_1.creation)(1, false, (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)('>', (0, combinator_1.union)([(0, combinator_1.rewrite)((0, combinator_1.some)((0, combinator_1.validate)(new RegExp(exports.syntax.source.split('|')[0]), source_1.anyline)), qblock), (0, combinator_1.rewrite)((0, combinator_1.validate)(new RegExp(exports.syntax.source.split('|').slice(1).join('|')), source_1.anyline), (0, combinator_1.line)((0, combinator_1.union)([(0, source_1.str)(/^.+/)])))])), ns => [(0, dom_1.html)('span', ns.length > 1 ? {
4941
5421
  class: 'quote'
@@ -4951,7 +5431,7 @@ autolink_1.autolink, source_1.linebreak, source_1.unescsource])));
4951
5431
 
4952
5432
  /***/ }),
4953
5433
 
4954
- /***/ 2208:
5434
+ /***/ 6500:
4955
5435
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4956
5436
 
4957
5437
  "use strict";
@@ -4961,10 +5441,10 @@ Object.defineProperty(exports, "__esModule", ({
4961
5441
  value: true
4962
5442
  }));
4963
5443
  exports.sidefence = void 0;
4964
- const combinator_1 = __webpack_require__(7436);
4965
- const autolink_1 = __webpack_require__(5244);
4966
- const source_1 = __webpack_require__(4856);
4967
- const dom_1 = __webpack_require__(8200);
5444
+ const combinator_1 = __webpack_require__(3484);
5445
+ const autolink_1 = __webpack_require__(1671);
5446
+ const source_1 = __webpack_require__(8745);
5447
+ const dom_1 = __webpack_require__(394);
4968
5448
  exports.sidefence = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.focus)(/^(?=\|+(?:[^\S\n]|\n\|))(?:\|+(?:[^\S\n][^\n]*)?(?:$|\n))+$/, (0, combinator_1.union)([source])), ([el]) => [(0, dom_1.define)(el, {
4969
5449
  class: 'invalid',
4970
5450
  'data-invalid-syntax': 'sidefence',
@@ -4977,7 +5457,7 @@ const source = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combinato
4977
5457
 
4978
5458
  /***/ }),
4979
5459
 
4980
- /***/ 5068:
5460
+ /***/ 2752:
4981
5461
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
4982
5462
 
4983
5463
  "use strict";
@@ -4987,13 +5467,13 @@ Object.defineProperty(exports, "__esModule", ({
4987
5467
  value: true
4988
5468
  }));
4989
5469
  exports.table = void 0;
4990
- const combinator_1 = __webpack_require__(7436);
4991
- const inline_1 = __webpack_require__(2716);
4992
- const source_1 = __webpack_require__(4856);
4993
- const visibility_1 = __webpack_require__(5424);
4994
- const duff_1 = __webpack_require__(1444);
4995
- const array_1 = __webpack_require__(8980);
4996
- const dom_1 = __webpack_require__(8200);
5470
+ const combinator_1 = __webpack_require__(3484);
5471
+ const inline_1 = __webpack_require__(7973);
5472
+ const source_1 = __webpack_require__(8745);
5473
+ const visibility_1 = __webpack_require__(6364);
5474
+ const duff_1 = __webpack_require__(9202);
5475
+ const array_1 = __webpack_require__(6876);
5476
+ const dom_1 = __webpack_require__(394);
4997
5477
  exports.table = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^\|[^\n]*(?:\n\|[^\n]*){2}/, (0, combinator_1.sequence)([row((0, combinator_1.some)(head), true), row((0, combinator_1.some)(align), false), (0, combinator_1.some)(row((0, combinator_1.some)(data), true))])), rows => [(0, dom_1.html)('table', [(0, dom_1.html)('thead', [rows.shift()]), (0, dom_1.html)('tbody', format(rows))])])));
4998
5478
  const row = (parser, optional) => (0, combinator_1.creation)(1, false, (0, combinator_1.fallback)((0, combinator_1.fmap)((0, combinator_1.line)((0, combinator_1.surround)(/^(?=\|)/, (0, combinator_1.some)((0, combinator_1.union)([parser])), /^[|\\]?\s*$/, optional)), es => [(0, dom_1.html)('tr', es)]), (0, combinator_1.rewrite)(source_1.contentline, ({
4999
5479
  source
@@ -5023,7 +5503,7 @@ function format(rows) {
5023
5503
 
5024
5504
  /***/ }),
5025
5505
 
5026
- /***/ 4788:
5506
+ /***/ 7595:
5027
5507
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5028
5508
 
5029
5509
  "use strict";
@@ -5033,15 +5513,15 @@ Object.defineProperty(exports, "__esModule", ({
5033
5513
  value: true
5034
5514
  }));
5035
5515
  exports.fillFirstLine = exports.invalid = exports.checkbox = exports.ulist_ = exports.ulist = void 0;
5036
- const combinator_1 = __webpack_require__(7436);
5037
- const olist_1 = __webpack_require__(9585);
5038
- const ilist_1 = __webpack_require__(6688);
5039
- const inline_1 = __webpack_require__(2716);
5040
- const source_1 = __webpack_require__(4856);
5041
- const util_1 = __webpack_require__(9224);
5042
- const visibility_1 = __webpack_require__(5424);
5043
- const array_1 = __webpack_require__(8980);
5044
- const dom_1 = __webpack_require__(8200);
5516
+ const combinator_1 = __webpack_require__(3484);
5517
+ const olist_1 = __webpack_require__(7697);
5518
+ const ilist_1 = __webpack_require__(4223);
5519
+ const inline_1 = __webpack_require__(7973);
5520
+ const source_1 = __webpack_require__(8745);
5521
+ const util_1 = __webpack_require__(4992);
5522
+ const visibility_1 = __webpack_require__(6364);
5523
+ const array_1 = __webpack_require__(6876);
5524
+ const dom_1 = __webpack_require__(394);
5045
5525
  exports.ulist = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.validate)(/^-(?=[^\S\n]|\n[^\S\n]*\S)/, exports.ulist_)));
5046
5526
  exports.ulist_ = (0, combinator_1.lazy)(() => (0, combinator_1.block)((0, combinator_1.fmap)((0, combinator_1.validate)(/^-(?=$|\s)/, (0, combinator_1.some)((0, combinator_1.creation)(1, false, (0, combinator_1.union)([(0, inline_1.indexee)((0, combinator_1.fmap)((0, combinator_1.fallback)((0, combinator_1.inits)([(0, combinator_1.line)((0, combinator_1.open)(/^-(?:$|\s)/, (0, combinator_1.subsequence)([exports.checkbox, (0, combinator_1.trim)((0, visibility_1.visualize)((0, util_1.lineable)((0, visibility_1.trimBlank)((0, combinator_1.some)((0, combinator_1.union)([inline_1.indexer, inline_1.inline]))))))]), true)), (0, combinator_1.indent)((0, combinator_1.union)([exports.ulist_, olist_1.olist_, ilist_1.ilist_]))]), exports.invalid), ns => [(0, dom_1.html)('li', (0, dom_1.defrag)(fillFirstLine(ns)))]), true)])))), es => [format((0, dom_1.html)('ul', es))])));
5047
5527
  exports.checkbox = (0, combinator_1.creation)(1, false, (0, combinator_1.focus)(/^\[[xX ]\](?=$|\s)/, ({
@@ -5072,7 +5552,7 @@ function format(list) {
5072
5552
 
5073
5553
  /***/ }),
5074
5554
 
5075
- /***/ 540:
5555
+ /***/ 3009:
5076
5556
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5077
5557
 
5078
5558
  "use strict";
@@ -5082,11 +5562,11 @@ Object.defineProperty(exports, "__esModule", ({
5082
5562
  value: true
5083
5563
  }));
5084
5564
  exports.header = void 0;
5085
- const combinator_1 = __webpack_require__(7436);
5086
- const segment_1 = __webpack_require__(1284);
5087
- const source_1 = __webpack_require__(4856);
5088
- const normalize_1 = __webpack_require__(9588);
5089
- const dom_1 = __webpack_require__(8200);
5565
+ const combinator_1 = __webpack_require__(3484);
5566
+ const segment_1 = __webpack_require__(3967);
5567
+ const source_1 = __webpack_require__(8745);
5568
+ const normalize_1 = __webpack_require__(4490);
5569
+ const dom_1 = __webpack_require__(394);
5090
5570
  exports.header = (0, combinator_1.lazy)(() => (0, combinator_1.validate)(/^---+[^\S\v\f\r\n]*\r?\n[^\S\n]*(?=\S)/, (0, combinator_1.inits)([(0, combinator_1.rewrite)(({
5091
5571
  source,
5092
5572
  context
@@ -5121,7 +5601,7 @@ const field = (0, combinator_1.line)(({
5121
5601
 
5122
5602
  /***/ }),
5123
5603
 
5124
- /***/ 2716:
5604
+ /***/ 7973:
5125
5605
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5126
5606
 
5127
5607
  "use strict";
@@ -5131,57 +5611,57 @@ Object.defineProperty(exports, "__esModule", ({
5131
5611
  value: true
5132
5612
  }));
5133
5613
  exports.shortmedia = exports.media = exports.medialink = exports.indexer = exports.indexee = exports.inline = void 0;
5134
- const combinator_1 = __webpack_require__(7436);
5135
- const annotation_1 = __webpack_require__(2292);
5136
- const reference_1 = __webpack_require__(1932);
5137
- const template_1 = __webpack_require__(5872);
5138
- const remark_1 = __webpack_require__(5188);
5139
- const extension_1 = __webpack_require__(2656);
5140
- const ruby_1 = __webpack_require__(8780);
5141
- const link_1 = __webpack_require__(9596);
5142
- const html_1 = __webpack_require__(1480);
5143
- const insertion_1 = __webpack_require__(6896);
5144
- const deletion_1 = __webpack_require__(6676);
5145
- const mark_1 = __webpack_require__(1076);
5146
- const emstrong_1 = __webpack_require__(5400);
5147
- const strong_1 = __webpack_require__(8428);
5148
- const emphasis_1 = __webpack_require__(3500);
5149
- const math_1 = __webpack_require__(4540);
5150
- const code_1 = __webpack_require__(8132);
5151
- const htmlentity_1 = __webpack_require__(3740);
5152
- const autolink_1 = __webpack_require__(2044);
5153
- const bracket_1 = __webpack_require__(7376);
5154
- const source_1 = __webpack_require__(4856);
5614
+ const combinator_1 = __webpack_require__(3484);
5615
+ const annotation_1 = __webpack_require__(4045);
5616
+ const reference_1 = __webpack_require__(9047);
5617
+ const template_1 = __webpack_require__(4510);
5618
+ const remark_1 = __webpack_require__(8948);
5619
+ const extension_1 = __webpack_require__(2743);
5620
+ const ruby_1 = __webpack_require__(7304);
5621
+ const link_1 = __webpack_require__(3628);
5622
+ const html_1 = __webpack_require__(5013);
5623
+ const insertion_1 = __webpack_require__(4515);
5624
+ const deletion_1 = __webpack_require__(7066);
5625
+ const mark_1 = __webpack_require__(5381);
5626
+ const emstrong_1 = __webpack_require__(365);
5627
+ const strong_1 = __webpack_require__(6591);
5628
+ const emphasis_1 = __webpack_require__(1354);
5629
+ const math_1 = __webpack_require__(2962);
5630
+ const code_1 = __webpack_require__(3481);
5631
+ const htmlentity_1 = __webpack_require__(470);
5632
+ const autolink_1 = __webpack_require__(8072);
5633
+ const bracket_1 = __webpack_require__(4526);
5634
+ const source_1 = __webpack_require__(8745);
5155
5635
  exports.inline = (0, combinator_1.lazy)(() => (0, combinator_1.union)([annotation_1.annotation, reference_1.reference, template_1.template, remark_1.remark, extension_1.extension, ruby_1.ruby, link_1.textlink, html_1.html, insertion_1.insertion, deletion_1.deletion, mark_1.mark, emstrong_1.emstrong, strong_1.strong, emphasis_1.emphasis, math_1.math, code_1.code, htmlentity_1.htmlentity, autolink_1.autolink, bracket_1.bracket, source_1.text]));
5156
- var indexee_1 = __webpack_require__(5688);
5636
+ var indexee_1 = __webpack_require__(7610);
5157
5637
  Object.defineProperty(exports, "indexee", ({
5158
5638
  enumerable: true,
5159
5639
  get: function () {
5160
5640
  return indexee_1.indexee;
5161
5641
  }
5162
5642
  }));
5163
- var indexer_1 = __webpack_require__(3268);
5643
+ var indexer_1 = __webpack_require__(7483);
5164
5644
  Object.defineProperty(exports, "indexer", ({
5165
5645
  enumerable: true,
5166
5646
  get: function () {
5167
5647
  return indexer_1.indexer;
5168
5648
  }
5169
5649
  }));
5170
- var link_2 = __webpack_require__(9596);
5650
+ var link_2 = __webpack_require__(3628);
5171
5651
  Object.defineProperty(exports, "medialink", ({
5172
5652
  enumerable: true,
5173
5653
  get: function () {
5174
5654
  return link_2.medialink;
5175
5655
  }
5176
5656
  }));
5177
- var media_1 = __webpack_require__(1064);
5657
+ var media_1 = __webpack_require__(7478);
5178
5658
  Object.defineProperty(exports, "media", ({
5179
5659
  enumerable: true,
5180
5660
  get: function () {
5181
5661
  return media_1.media;
5182
5662
  }
5183
5663
  }));
5184
- var shortmedia_1 = __webpack_require__(8396);
5664
+ var shortmedia_1 = __webpack_require__(5902);
5185
5665
  Object.defineProperty(exports, "shortmedia", ({
5186
5666
  enumerable: true,
5187
5667
  get: function () {
@@ -5191,7 +5671,7 @@ Object.defineProperty(exports, "shortmedia", ({
5191
5671
 
5192
5672
  /***/ }),
5193
5673
 
5194
- /***/ 2292:
5674
+ /***/ 4045:
5195
5675
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5196
5676
 
5197
5677
  "use strict";
@@ -5201,17 +5681,17 @@ Object.defineProperty(exports, "__esModule", ({
5201
5681
  value: true
5202
5682
  }));
5203
5683
  exports.annotation = void 0;
5204
- const combinator_1 = __webpack_require__(7436);
5205
- const inline_1 = __webpack_require__(2716);
5206
- const visibility_1 = __webpack_require__(5424);
5207
- const dom_1 = __webpack_require__(8200);
5684
+ const combinator_1 = __webpack_require__(3484);
5685
+ const inline_1 = __webpack_require__(7973);
5686
+ const visibility_1 = __webpack_require__(6364);
5687
+ const dom_1 = __webpack_require__(394);
5208
5688
  exports.annotation = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)('((', (0, combinator_1.constraint)(256 /* State.annotation */, false, (0, combinator_1.syntax)(256 /* Syntax.annotation */, 6, 256 /* State.annotation */ | 8 /* State.media */, (0, visibility_1.trimBlankStart)((0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]), ')', [[/^\\?\n/, 9], [')', 2], ['))', 6]])))), '))', false, ([, ns], rest) => [[(0, dom_1.html)('sup', {
5209
5689
  class: 'annotation'
5210
5690
  }, [(0, dom_1.html)('span', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))])], rest])));
5211
5691
 
5212
5692
  /***/ }),
5213
5693
 
5214
- /***/ 2044:
5694
+ /***/ 8072:
5215
5695
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5216
5696
 
5217
5697
  "use strict";
@@ -5221,16 +5701,16 @@ Object.defineProperty(exports, "__esModule", ({
5221
5701
  value: true
5222
5702
  }));
5223
5703
  exports.autolink = void 0;
5224
- const combinator_1 = __webpack_require__(7436);
5225
- const url_1 = __webpack_require__(868);
5226
- const email_1 = __webpack_require__(5664);
5227
- const channel_1 = __webpack_require__(8628);
5228
- const account_1 = __webpack_require__(536);
5229
- const hashtag_1 = __webpack_require__(2916);
5230
- const hashnum_1 = __webpack_require__(4916);
5231
- const anchor_1 = __webpack_require__(6508);
5232
- const source_1 = __webpack_require__(4856);
5233
- const util_1 = __webpack_require__(9224);
5704
+ const combinator_1 = __webpack_require__(3484);
5705
+ const url_1 = __webpack_require__(2129);
5706
+ const email_1 = __webpack_require__(5836);
5707
+ const channel_1 = __webpack_require__(4639);
5708
+ const account_1 = __webpack_require__(4107);
5709
+ const hashtag_1 = __webpack_require__(5764);
5710
+ const hashnum_1 = __webpack_require__(8684);
5711
+ const anchor_1 = __webpack_require__(8535);
5712
+ const source_1 = __webpack_require__(8745);
5713
+ const util_1 = __webpack_require__(4992);
5234
5714
  exports.autolink = (0, combinator_1.lazy)(() => (0, combinator_1.validate)(/^(?:[@#>0-9a-z]|\S[#>]|[\r\n]!?https?:\/\/)/iu, (0, combinator_1.constraint)(2 /* State.autolink */, false, (0, combinator_1.syntax)(2 /* Syntax.autolink */, 1, ~1 /* State.shortcut */, (0, combinator_1.union)([(0, combinator_1.some)((0, combinator_1.union)([url_1.lineurl])), (0, combinator_1.fmap)((0, combinator_1.some)((0, combinator_1.union)([url_1.url, email_1.email,
5235
5715
  // Escape unmatched email-like strings.
5236
5716
  (0, source_1.str)(/^[0-9a-z]+(?:[_.+-][0-9a-z]+)*(?:@(?:[0-9a-z]+(?:[.-][0-9a-z]+)*)?)*/i), channel_1.channel, account_1.account,
@@ -5245,7 +5725,7 @@ exports.autolink = (0, combinator_1.lazy)(() => (0, combinator_1.validate)(/^(?:
5245
5725
 
5246
5726
  /***/ }),
5247
5727
 
5248
- /***/ 536:
5728
+ /***/ 4107:
5249
5729
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5250
5730
 
5251
5731
  "use strict";
@@ -5255,10 +5735,10 @@ Object.defineProperty(exports, "__esModule", ({
5255
5735
  value: true
5256
5736
  }));
5257
5737
  exports.account = void 0;
5258
- const combinator_1 = __webpack_require__(7436);
5259
- const link_1 = __webpack_require__(9596);
5260
- const source_1 = __webpack_require__(4856);
5261
- const dom_1 = __webpack_require__(8200);
5738
+ const combinator_1 = __webpack_require__(3484);
5739
+ const link_1 = __webpack_require__(3628);
5740
+ const source_1 = __webpack_require__(8745);
5741
+ const dom_1 = __webpack_require__(394);
5262
5742
  // https://example/@user must be a user page or a redirect page going there.
5263
5743
  exports.account = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combinator_1.rewrite)((0, combinator_1.constraint)(1 /* State.shortcut */, false, (0, combinator_1.open)('@', (0, combinator_1.tails)([(0, source_1.str)(/^[0-9a-z](?:(?:[0-9a-z]|-(?=[0-9a-z])){0,61}[0-9a-z])?(?:\.[0-9a-z](?:(?:[0-9a-z]|-(?=[0-9a-z])){0,61}[0-9a-z])?)*\//i), (0, source_1.str)(/^[a-z][0-9a-z]*(?:[-.][0-9a-z]+)*/i)]))), (0, combinator_1.convert)(source => `[${source}]{ ${source.includes('/') ? `https://${source.slice(1).replace('/', '/@')}` : `/${source}`} }`, (0, combinator_1.union)([link_1.unsafelink]))), ([el]) => [(0, dom_1.define)(el, {
5264
5744
  class: 'account'
@@ -5266,7 +5746,7 @@ exports.account = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combin
5266
5746
 
5267
5747
  /***/ }),
5268
5748
 
5269
- /***/ 6508:
5749
+ /***/ 8535:
5270
5750
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5271
5751
 
5272
5752
  "use strict";
@@ -5276,9 +5756,9 @@ Object.defineProperty(exports, "__esModule", ({
5276
5756
  value: true
5277
5757
  }));
5278
5758
  exports.anchor = void 0;
5279
- const combinator_1 = __webpack_require__(7436);
5280
- const link_1 = __webpack_require__(9596);
5281
- const dom_1 = __webpack_require__(8200);
5759
+ const combinator_1 = __webpack_require__(3484);
5760
+ const link_1 = __webpack_require__(3628);
5761
+ const dom_1 = __webpack_require__(394);
5282
5762
  // Timeline(pseudonym): user/tid
5283
5763
  // Thread(anonymous): cid
5284
5764
  // UTC
@@ -5292,7 +5772,7 @@ exports.anchor = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('>>', (
5292
5772
 
5293
5773
  /***/ }),
5294
5774
 
5295
- /***/ 8628:
5775
+ /***/ 4639:
5296
5776
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5297
5777
 
5298
5778
  "use strict";
@@ -5302,11 +5782,11 @@ Object.defineProperty(exports, "__esModule", ({
5302
5782
  value: true
5303
5783
  }));
5304
5784
  exports.channel = void 0;
5305
- const combinator_1 = __webpack_require__(7436);
5306
- const account_1 = __webpack_require__(536);
5307
- const hashtag_1 = __webpack_require__(2916);
5308
- const util_1 = __webpack_require__(9224);
5309
- const dom_1 = __webpack_require__(8200);
5785
+ const combinator_1 = __webpack_require__(3484);
5786
+ const account_1 = __webpack_require__(4107);
5787
+ const hashtag_1 = __webpack_require__(5764);
5788
+ const util_1 = __webpack_require__(4992);
5789
+ const dom_1 = __webpack_require__(394);
5310
5790
  // https://example/@user?ch=a+b must be a user channel page or a redirect page going there.
5311
5791
  exports.channel = (0, combinator_1.validate)('@', (0, combinator_1.bind)((0, combinator_1.sequence)([account_1.account, (0, combinator_1.some)(hashtag_1.hashtag)]), (es, rest) => {
5312
5792
  const source = (0, util_1.stringify)(es);
@@ -5320,7 +5800,7 @@ exports.channel = (0, combinator_1.validate)('@', (0, combinator_1.bind)((0, com
5320
5800
 
5321
5801
  /***/ }),
5322
5802
 
5323
- /***/ 5664:
5803
+ /***/ 5836:
5324
5804
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5325
5805
 
5326
5806
  "use strict";
@@ -5330,9 +5810,9 @@ Object.defineProperty(exports, "__esModule", ({
5330
5810
  value: true
5331
5811
  }));
5332
5812
  exports.email = void 0;
5333
- const combinator_1 = __webpack_require__(7436);
5334
- const source_1 = __webpack_require__(4856);
5335
- const dom_1 = __webpack_require__(8200);
5813
+ const combinator_1 = __webpack_require__(3484);
5814
+ const source_1 = __webpack_require__(8745);
5815
+ const dom_1 = __webpack_require__(394);
5336
5816
  // https://html.spec.whatwg.org/multipage/input.html
5337
5817
  exports.email = (0, combinator_1.creation)((0, combinator_1.rewrite)((0, combinator_1.verify)((0, source_1.str)(/^[0-9a-z](?:[_.+-](?=[0-9a-z])|[0-9a-z]){0,255}@[0-9a-z](?:(?:[0-9a-z]|-(?=[0-9a-z])){0,61}[0-9a-z])?(?:\.[0-9a-z](?:(?:[0-9a-z]|-(?=[0-9a-z])){0,61}[0-9a-z])?)*(?![0-9a-z])/i), ([source]) => source.length <= 255), ({
5338
5818
  source
@@ -5343,7 +5823,7 @@ exports.email = (0, combinator_1.creation)((0, combinator_1.rewrite)((0, combina
5343
5823
 
5344
5824
  /***/ }),
5345
5825
 
5346
- /***/ 4916:
5826
+ /***/ 8684:
5347
5827
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5348
5828
 
5349
5829
  "use strict";
@@ -5353,11 +5833,11 @@ Object.defineProperty(exports, "__esModule", ({
5353
5833
  value: true
5354
5834
  }));
5355
5835
  exports.hashnum = void 0;
5356
- const combinator_1 = __webpack_require__(7436);
5357
- const link_1 = __webpack_require__(9596);
5358
- const hashtag_1 = __webpack_require__(2916);
5359
- const source_1 = __webpack_require__(4856);
5360
- const dom_1 = __webpack_require__(8200);
5836
+ const combinator_1 = __webpack_require__(3484);
5837
+ const link_1 = __webpack_require__(3628);
5838
+ const hashtag_1 = __webpack_require__(5764);
5839
+ const source_1 = __webpack_require__(8745);
5840
+ const dom_1 = __webpack_require__(394);
5361
5841
  exports.hashnum = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combinator_1.rewrite)((0, combinator_1.constraint)(1 /* State.shortcut */, false, (0, combinator_1.open)('#', (0, source_1.str)(new RegExp(/^[0-9]{1,9}(?![^\p{C}\p{S}\p{P}\s]|emoji|['_])/u.source.replace(/emoji/, hashtag_1.emoji), 'u')))), (0, combinator_1.convert)(source => `[${source}]{ ${source.slice(1)} }`, (0, combinator_1.union)([link_1.unsafelink]))), ([el]) => [(0, dom_1.define)(el, {
5362
5842
  class: 'hashnum',
5363
5843
  href: null
@@ -5365,7 +5845,7 @@ exports.hashnum = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combin
5365
5845
 
5366
5846
  /***/ }),
5367
5847
 
5368
- /***/ 2916:
5848
+ /***/ 5764:
5369
5849
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5370
5850
 
5371
5851
  "use strict";
@@ -5375,10 +5855,10 @@ Object.defineProperty(exports, "__esModule", ({
5375
5855
  value: true
5376
5856
  }));
5377
5857
  exports.hashtag = exports.emoji = void 0;
5378
- const combinator_1 = __webpack_require__(7436);
5379
- const link_1 = __webpack_require__(9596);
5380
- const source_1 = __webpack_require__(4856);
5381
- const dom_1 = __webpack_require__(8200);
5858
+ const combinator_1 = __webpack_require__(3484);
5859
+ const link_1 = __webpack_require__(3628);
5860
+ const source_1 = __webpack_require__(8745);
5861
+ const dom_1 = __webpack_require__(394);
5382
5862
  // https://example/hashtags/a must be a hashtag page or a redirect page going there.
5383
5863
  // https://github.com/tc39/proposal-regexp-unicode-property-escapes#matching-emoji
5384
5864
  exports.emoji = String.raw`\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation}|\p{Emoji}\uFE0F`;
@@ -5388,7 +5868,7 @@ exports.hashtag = (0, combinator_1.lazy)(() => (0, combinator_1.fmap)((0, combin
5388
5868
 
5389
5869
  /***/ }),
5390
5870
 
5391
- /***/ 868:
5871
+ /***/ 2129:
5392
5872
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5393
5873
 
5394
5874
  "use strict";
@@ -5398,9 +5878,9 @@ Object.defineProperty(exports, "__esModule", ({
5398
5878
  value: true
5399
5879
  }));
5400
5880
  exports.lineurl = exports.url = void 0;
5401
- const combinator_1 = __webpack_require__(7436);
5402
- const link_1 = __webpack_require__(9596);
5403
- const source_1 = __webpack_require__(4856);
5881
+ const combinator_1 = __webpack_require__(3484);
5882
+ const link_1 = __webpack_require__(3628);
5883
+ const source_1 = __webpack_require__(8745);
5404
5884
  const closer = /^[-+*=~^_,.;:!?]*(?=[\\"`|\[\](){}<>]|$)/;
5405
5885
  exports.url = (0, combinator_1.lazy)(() => (0, combinator_1.validate)(['http://', 'https://'], (0, combinator_1.rewrite)((0, combinator_1.open)(/^https?:\/\/(?=[\x21-\x7E])/, (0, combinator_1.focus)(/^[\x21-\x7E]+/, (0, combinator_1.some)((0, combinator_1.union)([bracket, (0, combinator_1.some)(source_1.unescsource, closer)])))), (0, combinator_1.convert)(url => `{ ${url} }`, (0, combinator_1.union)([link_1.unsafelink])))));
5406
5886
  exports.lineurl = (0, combinator_1.lazy)(() => (0, combinator_1.open)(source_1.linebreak, (0, combinator_1.tails)([(0, source_1.str)('!'), (0, combinator_1.focus)(/^https?:\/\/\S+(?=[^\S\n]*(?:$|\n))/, (0, combinator_1.convert)(url => `{ ${url} }`, link_1.unsafelink))])));
@@ -5408,7 +5888,7 @@ const bracket = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, comb
5408
5888
 
5409
5889
  /***/ }),
5410
5890
 
5411
- /***/ 7376:
5891
+ /***/ 4526:
5412
5892
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5413
5893
 
5414
5894
  "use strict";
@@ -5418,11 +5898,11 @@ Object.defineProperty(exports, "__esModule", ({
5418
5898
  value: true
5419
5899
  }));
5420
5900
  exports.bracket = void 0;
5421
- const combinator_1 = __webpack_require__(7436);
5422
- const inline_1 = __webpack_require__(2716);
5423
- const source_1 = __webpack_require__(4856);
5424
- const array_1 = __webpack_require__(8980);
5425
- const dom_1 = __webpack_require__(8200);
5901
+ const combinator_1 = __webpack_require__(3484);
5902
+ const inline_1 = __webpack_require__(7973);
5903
+ const source_1 = __webpack_require__(8745);
5904
+ const array_1 = __webpack_require__(6876);
5905
+ const dom_1 = __webpack_require__(394);
5426
5906
  const index = /^[0-9A-Za-z]+(?:(?:[.-]|, )[0-9A-Za-z]+)*/;
5427
5907
  exports.bracket = (0, combinator_1.lazy)(() => (0, combinator_1.union)([(0, combinator_1.surround)((0, source_1.str)('('), (0, combinator_1.creation)((0, combinator_1.syntax)(0 /* Syntax.none */, 2, 0 /* State.none */, (0, source_1.str)(index))), (0, source_1.str)(')')), (0, combinator_1.surround)((0, source_1.str)('('), (0, combinator_1.creation)((0, combinator_1.syntax)(4 /* Syntax.bracket */, 2, 0 /* State.none */, (0, combinator_1.some)(inline_1.inline, ')', [[/^\\?\n/, 3], [')', 2]]))), (0, source_1.str)(')'), true, ([as, bs = [], cs], rest) => [[(0, dom_1.html)('span', {
5428
5908
  class: 'paren'
@@ -5432,7 +5912,7 @@ exports.bracket = (0, combinator_1.lazy)(() => (0, combinator_1.union)([(0, comb
5432
5912
 
5433
5913
  /***/ }),
5434
5914
 
5435
- /***/ 8132:
5915
+ /***/ 3481:
5436
5916
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5437
5917
 
5438
5918
  "use strict";
@@ -5442,8 +5922,8 @@ Object.defineProperty(exports, "__esModule", ({
5442
5922
  value: true
5443
5923
  }));
5444
5924
  exports.code = void 0;
5445
- const combinator_1 = __webpack_require__(7436);
5446
- const dom_1 = __webpack_require__(8200);
5925
+ const combinator_1 = __webpack_require__(3484);
5926
+ const dom_1 = __webpack_require__(394);
5447
5927
  exports.code = (0, combinator_1.creation)((0, combinator_1.validate)('`', (0, combinator_1.match)(/^(`+)(?!`)([^\n]*?[^`\n])\1(?!`)/, ([whole,, body]) => ({
5448
5928
  source
5449
5929
  }) => [[(0, dom_1.html)('code', {
@@ -5455,7 +5935,7 @@ function format(text) {
5455
5935
 
5456
5936
  /***/ }),
5457
5937
 
5458
- /***/ 6676:
5938
+ /***/ 7066:
5459
5939
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5460
5940
 
5461
5941
  "use strict";
@@ -5465,17 +5945,17 @@ Object.defineProperty(exports, "__esModule", ({
5465
5945
  value: true
5466
5946
  }));
5467
5947
  exports.deletion = void 0;
5468
- const combinator_1 = __webpack_require__(7436);
5469
- const inline_1 = __webpack_require__(2716);
5470
- const source_1 = __webpack_require__(4856);
5471
- const visibility_1 = __webpack_require__(5424);
5472
- const array_1 = __webpack_require__(8980);
5473
- const dom_1 = __webpack_require__(8200);
5948
+ const combinator_1 = __webpack_require__(3484);
5949
+ const inline_1 = __webpack_require__(7973);
5950
+ const source_1 = __webpack_require__(8745);
5951
+ const visibility_1 = __webpack_require__(6364);
5952
+ const array_1 = __webpack_require__(6876);
5953
+ const dom_1 = __webpack_require__(394);
5474
5954
  exports.deletion = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('~~', '~'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_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])));
5475
5955
 
5476
5956
  /***/ }),
5477
5957
 
5478
- /***/ 3500:
5958
+ /***/ 1354:
5479
5959
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5480
5960
 
5481
5961
  "use strict";
@@ -5485,19 +5965,19 @@ Object.defineProperty(exports, "__esModule", ({
5485
5965
  value: true
5486
5966
  }));
5487
5967
  exports.emphasis = void 0;
5488
- const combinator_1 = __webpack_require__(7436);
5489
- const inline_1 = __webpack_require__(2716);
5490
- const emstrong_1 = __webpack_require__(5400);
5491
- const strong_1 = __webpack_require__(8428);
5492
- const source_1 = __webpack_require__(4856);
5493
- const visibility_1 = __webpack_require__(5424);
5494
- const array_1 = __webpack_require__(8980);
5495
- const dom_1 = __webpack_require__(8200);
5968
+ const combinator_1 = __webpack_require__(3484);
5969
+ const inline_1 = __webpack_require__(7973);
5970
+ const emstrong_1 = __webpack_require__(365);
5971
+ const strong_1 = __webpack_require__(6591);
5972
+ const source_1 = __webpack_require__(8745);
5973
+ const visibility_1 = __webpack_require__(6364);
5974
+ const array_1 = __webpack_require__(6876);
5975
+ const dom_1 = __webpack_require__(394);
5496
5976
  exports.emphasis = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('*', '*'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([strong_1.strong, (0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('*'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), (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])));
5497
5977
 
5498
5978
  /***/ }),
5499
5979
 
5500
- /***/ 5400:
5980
+ /***/ 365:
5501
5981
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5502
5982
 
5503
5983
  "use strict";
@@ -5507,14 +5987,14 @@ Object.defineProperty(exports, "__esModule", ({
5507
5987
  value: true
5508
5988
  }));
5509
5989
  exports.emstrong = void 0;
5510
- const combinator_1 = __webpack_require__(7436);
5511
- const inline_1 = __webpack_require__(2716);
5512
- const strong_1 = __webpack_require__(8428);
5513
- const emphasis_1 = __webpack_require__(3500);
5514
- const source_1 = __webpack_require__(4856);
5515
- const visibility_1 = __webpack_require__(5424);
5516
- const dom_1 = __webpack_require__(8200);
5517
- const array_1 = __webpack_require__(8980);
5990
+ const combinator_1 = __webpack_require__(3484);
5991
+ const inline_1 = __webpack_require__(7973);
5992
+ const strong_1 = __webpack_require__(6591);
5993
+ const emphasis_1 = __webpack_require__(1354);
5994
+ const source_1 = __webpack_require__(8745);
5995
+ const visibility_1 = __webpack_require__(6364);
5996
+ const dom_1 = __webpack_require__(394);
5997
+ const array_1 = __webpack_require__(6876);
5518
5998
  const substrong = (0, combinator_1.lazy)(() => (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('**'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), (0, combinator_1.union)([exports.emstrong, strong_1.strong]))])));
5519
5999
  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, visibility_1.blankWith)('*'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), (0, combinator_1.union)([exports.emstrong, strong_1.strong, emphasis_1.emphasis]))])));
5520
6000
  exports.emstrong = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('***'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('*'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), inline_1.inline)])))), (0, source_1.str)(/^\*{1,3}/), false, ([, bs, cs], rest, context) => {
@@ -5536,7 +6016,7 @@ exports.emstrong = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, c
5536
6016
 
5537
6017
  /***/ }),
5538
6018
 
5539
- /***/ 2656:
6019
+ /***/ 2743:
5540
6020
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5541
6021
 
5542
6022
  "use strict";
@@ -5546,15 +6026,15 @@ Object.defineProperty(exports, "__esModule", ({
5546
6026
  value: true
5547
6027
  }));
5548
6028
  exports.extension = void 0;
5549
- const combinator_1 = __webpack_require__(7436);
5550
- const index_1 = __webpack_require__(8300);
5551
- const label_1 = __webpack_require__(3640);
5552
- const placeholder_1 = __webpack_require__(1320);
6029
+ const combinator_1 = __webpack_require__(3484);
6030
+ const index_1 = __webpack_require__(4688);
6031
+ const label_1 = __webpack_require__(2178);
6032
+ const placeholder_1 = __webpack_require__(6033);
5553
6033
  exports.extension = (0, combinator_1.validate)(['[', '$'], (0, combinator_1.union)([index_1.index, label_1.label, placeholder_1.placeholder]));
5554
6034
 
5555
6035
  /***/ }),
5556
6036
 
5557
- /***/ 8300:
6037
+ /***/ 4688:
5558
6038
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5559
6039
 
5560
6040
  "use strict";
@@ -5564,12 +6044,12 @@ Object.defineProperty(exports, "__esModule", ({
5564
6044
  value: true
5565
6045
  }));
5566
6046
  exports.signature = exports.index = void 0;
5567
- const combinator_1 = __webpack_require__(7436);
5568
- const inline_1 = __webpack_require__(2716);
5569
- const indexee_1 = __webpack_require__(5688);
5570
- const source_1 = __webpack_require__(4856);
5571
- const visibility_1 = __webpack_require__(5424);
5572
- const dom_1 = __webpack_require__(8200);
6047
+ const combinator_1 = __webpack_require__(3484);
6048
+ const inline_1 = __webpack_require__(7973);
6049
+ const indexee_1 = __webpack_require__(7610);
6050
+ const source_1 = __webpack_require__(8745);
6051
+ const visibility_1 = __webpack_require__(6364);
6052
+ const dom_1 = __webpack_require__(394);
5573
6053
  exports.index = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[#', (0, combinator_1.creation)((0, combinator_1.fmap)((0, indexee_1.indexee)((0, combinator_1.surround)('[#', (0, combinator_1.constraint)(64 /* State.index */, false, (0, combinator_1.syntax)(64 /* Syntax.index */, 2, 502 /* State.linkers */ | 8 /* State.media */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.inits)([inline_1.inline, exports.signature]), ']', [[/^\\?\n/, 9], [']', 2]])))), ']', false, ([, ns], rest) => [[(0, dom_1.html)('a', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))], rest])), ([el]) => [(0, dom_1.define)(el, {
5574
6054
  id: el.id ? null : undefined,
5575
6055
  class: 'index',
@@ -5583,7 +6063,7 @@ const bracket = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, comb
5583
6063
 
5584
6064
  /***/ }),
5585
6065
 
5586
- /***/ 5688:
6066
+ /***/ 7610:
5587
6067
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5588
6068
 
5589
6069
  "use strict";
@@ -5593,9 +6073,9 @@ Object.defineProperty(exports, "__esModule", ({
5593
6073
  value: true
5594
6074
  }));
5595
6075
  exports.text = exports.signature = exports.index = exports.identity = exports.indexee = void 0;
5596
- const combinator_1 = __webpack_require__(7436);
5597
- const memoize_1 = __webpack_require__(276);
5598
- const dom_1 = __webpack_require__(8200);
6076
+ const combinator_1 = __webpack_require__(3484);
6077
+ const memoize_1 = __webpack_require__(6925);
6078
+ const dom_1 = __webpack_require__(394);
5599
6079
  function indexee(parser, optional) {
5600
6080
  return (0, combinator_1.fmap)(parser, ([el], _, {
5601
6081
  id
@@ -5604,32 +6084,42 @@ function indexee(parser, optional) {
5604
6084
  })]);
5605
6085
  }
5606
6086
  exports.indexee = indexee;
6087
+ const MAX = 60;
6088
+ const ELLIPSIS = '...';
6089
+ const PART = (MAX - ELLIPSIS.length) / 2 | 0;
6090
+ const REM = MAX - PART * 2 - ELLIPSIS.length;
5607
6091
  function identity(id, text, type = 'index') {
5608
6092
  if (id === '') return undefined;
5609
- text &&= text.trim().replace(/\s\s+/g, ' ');
6093
+ text = text.trim();
5610
6094
  if (text === '') return undefined;
5611
- const hash = text.replace(/\s/g, '_');
5612
- if (hash.length <= 120 || type === '') return `${type}:${id ?? ''}:${hash}`;
5613
- const cs = [...text];
5614
- if (cs.length <= 120) return `${type}:${id ?? ''}:${hash}`;
5615
- const ellipsis = '...';
5616
- const len = (120 - ellipsis.length * 2) / 3 | 0;
6095
+ const str = text.replace(/\s/g, '_');
6096
+ const cs = [...str];
6097
+ if (cs.length <= MAX || type === '') return `${type}:${id ?? ''}:${str}`;
5617
6098
  switch (type) {
5618
6099
  case 'index':
5619
6100
  case 'mark':
5620
- const s1 = hash.slice(0, cs.slice(0, len).join('').trimEnd().length);
5621
- const s3 = hash.slice(-cs.slice(-len).join('').trimStart().length);
5622
- const s2 = cs.slice(cs.length / 2 - len / 2 - (len - s1.length) | 0).slice(0, len + len - s3.length).join('').trim().replace(/\s/g, '_');
5623
- return `${type}:${id ?? ''}:${s1}${ellipsis}${s2}${ellipsis}${s3}`;
6101
+ const s1 = cs.slice(0, PART + REM).join('');
6102
+ const s2 = cs.slice(-PART).join('');
6103
+ return `${type}:${id ?? ''}:${s1}${ELLIPSIS}${s2}=${hash(text).toString(36)}`;
5624
6104
  }
5625
6105
  }
5626
6106
  exports.identity = identity;
6107
+ function hash(source) {
6108
+ let x = 0;
6109
+ for (let i = 0; i < source.length; ++i) {
6110
+ x ^= source.charCodeAt(i) << 1 | 1; // 16+1bit
6111
+ x ^= x << 13; // shift <= 32-17bit
6112
+ x ^= x >>> 17;
6113
+ x ^= x << 15;
6114
+ }
6115
+ return x >>> 0;
6116
+ }
5627
6117
  function index(source, optional = false) {
5628
6118
  if (!source.firstChild) return '';
5629
6119
  const indexer = source.querySelector(':scope > .indexer');
5630
- const index = indexer?.getAttribute('data-index');
5631
- if (index) return index;
5632
- if (index === '' && optional) return '';
6120
+ const text = indexer?.getAttribute('data-index');
6121
+ if (text === '' && optional) return '';
6122
+ if (text) return [...text].length <= MAX ? text : text.replace(/=\w{1,7}$/, '');
5633
6123
  return signature(source);
5634
6124
  }
5635
6125
  exports.index = index;
@@ -5700,7 +6190,7 @@ exports.text = (0, memoize_1.reduce)(source => {
5700
6190
 
5701
6191
  /***/ }),
5702
6192
 
5703
- /***/ 3268:
6193
+ /***/ 7483:
5704
6194
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5705
6195
 
5706
6196
  "use strict";
@@ -5710,9 +6200,9 @@ Object.defineProperty(exports, "__esModule", ({
5710
6200
  value: true
5711
6201
  }));
5712
6202
  exports.indexer = void 0;
5713
- const combinator_1 = __webpack_require__(7436);
5714
- const index_1 = __webpack_require__(8300);
5715
- const dom_1 = __webpack_require__(8200);
6203
+ const combinator_1 = __webpack_require__(3484);
6204
+ const index_1 = __webpack_require__(4688);
6205
+ const dom_1 = __webpack_require__(394);
5716
6206
  exports.indexer = (0, combinator_1.surround)(/^\s+\[(?=\|\S)/, (0, combinator_1.union)([index_1.signature, (0, combinator_1.creation)((0, combinator_1.focus)(/^\|(?=\])/, () => [[(0, dom_1.html)('span', {
5717
6207
  class: 'indexer',
5718
6208
  'data-index': ''
@@ -5720,7 +6210,7 @@ exports.indexer = (0, combinator_1.surround)(/^\s+\[(?=\|\S)/, (0, combinator_1.
5720
6210
 
5721
6211
  /***/ }),
5722
6212
 
5723
- /***/ 3640:
6213
+ /***/ 2178:
5724
6214
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5725
6215
 
5726
6216
  "use strict";
@@ -5730,9 +6220,9 @@ Object.defineProperty(exports, "__esModule", ({
5730
6220
  value: true
5731
6221
  }));
5732
6222
  exports.isFixed = exports.number = exports.label = exports.segment = void 0;
5733
- const combinator_1 = __webpack_require__(7436);
5734
- const source_1 = __webpack_require__(4856);
5735
- const dom_1 = __webpack_require__(8200);
6223
+ const combinator_1 = __webpack_require__(3484);
6224
+ const source_1 = __webpack_require__(8745);
6225
+ const dom_1 = __webpack_require__(394);
5736
6226
  const body = (0, source_1.str)(/^\$[A-Za-z]*(?:(?:-[A-Za-z][0-9A-Za-z]*)+|-(?:(?:0|[1-9][0-9]*)\.)*(?:0|[1-9][0-9]*)(?![0-9A-Za-z]))/);
5737
6227
  exports.segment = (0, combinator_1.clear)((0, combinator_1.validate)(['[$', '$'], (0, combinator_1.union)([(0, combinator_1.surround)('[', body, ']'), body])));
5738
6228
  exports.label = (0, combinator_1.validate)(['[$', '$'], (0, combinator_1.creation)((0, combinator_1.fmap)((0, combinator_1.constraint)(32 /* State.label */, false, (0, combinator_1.union)([(0, combinator_1.surround)('[', body, ']'), body])), ([text]) => [(0, dom_1.html)('a', {
@@ -5759,7 +6249,7 @@ function increment(number, position) {
5759
6249
 
5760
6250
  /***/ }),
5761
6251
 
5762
- /***/ 1320:
6252
+ /***/ 6033:
5763
6253
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5764
6254
 
5765
6255
  "use strict";
@@ -5769,12 +6259,12 @@ Object.defineProperty(exports, "__esModule", ({
5769
6259
  value: true
5770
6260
  }));
5771
6261
  exports.placeholder = void 0;
5772
- const combinator_1 = __webpack_require__(7436);
5773
- const inline_1 = __webpack_require__(2716);
5774
- const source_1 = __webpack_require__(4856);
5775
- const visibility_1 = __webpack_require__(5424);
5776
- const array_1 = __webpack_require__(8980);
5777
- const dom_1 = __webpack_require__(8200);
6262
+ const combinator_1 = __webpack_require__(3484);
6263
+ const inline_1 = __webpack_require__(7973);
6264
+ const source_1 = __webpack_require__(8745);
6265
+ const visibility_1 = __webpack_require__(6364);
6266
+ const array_1 = __webpack_require__(6876);
6267
+ const dom_1 = __webpack_require__(394);
5778
6268
  // Don't use the symbols already used: !#$%@&*+~=|
5779
6269
  // All syntax surrounded by square brackets shouldn't contain line breaks.
5780
6270
  exports.placeholder = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[', (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)(/^\[[:^|]/), (0, combinator_1.syntax)(32 /* Syntax.placeholder */, 2, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([inline_1.inline]), ']', [[']', 2]]))), (0, source_1.str)(']'), false, ([, bs], rest) => [[(0, dom_1.html)('span', {
@@ -5786,7 +6276,7 @@ exports.placeholder = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[
5786
6276
 
5787
6277
  /***/ }),
5788
6278
 
5789
- /***/ 1480:
6279
+ /***/ 5013:
5790
6280
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5791
6281
 
5792
6282
  "use strict";
@@ -5796,14 +6286,14 @@ Object.defineProperty(exports, "__esModule", ({
5796
6286
  value: true
5797
6287
  }));
5798
6288
  exports.attributes = exports.attribute = exports.html = void 0;
5799
- const combinator_1 = __webpack_require__(7436);
5800
- const inline_1 = __webpack_require__(2716);
5801
- const source_1 = __webpack_require__(4856);
5802
- const visibility_1 = __webpack_require__(5424);
5803
- const memoize_1 = __webpack_require__(276);
5804
- const clock_1 = __webpack_require__(7124);
5805
- const array_1 = __webpack_require__(8980);
5806
- const dom_1 = __webpack_require__(8200);
6289
+ const combinator_1 = __webpack_require__(3484);
6290
+ const inline_1 = __webpack_require__(7973);
6291
+ const source_1 = __webpack_require__(8745);
6292
+ const visibility_1 = __webpack_require__(6364);
6293
+ const memoize_1 = __webpack_require__(6925);
6294
+ const clock_1 = __webpack_require__(8663);
6295
+ const array_1 = __webpack_require__(6876);
6296
+ const dom_1 = __webpack_require__(394);
5807
6297
  const tags = Object.freeze(['bdo', 'bdi']);
5808
6298
  const attrspecs = {
5809
6299
  bdo: {
@@ -5861,7 +6351,7 @@ exports.attributes = attributes;
5861
6351
 
5862
6352
  /***/ }),
5863
6353
 
5864
- /***/ 3740:
6354
+ /***/ 470:
5865
6355
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5866
6356
 
5867
6357
  "use strict";
@@ -5871,9 +6361,9 @@ Object.defineProperty(exports, "__esModule", ({
5871
6361
  value: true
5872
6362
  }));
5873
6363
  exports.htmlentity = exports.unsafehtmlentity = void 0;
5874
- const combinator_1 = __webpack_require__(7436);
5875
- const dom_1 = __webpack_require__(8200);
5876
- const memoize_1 = __webpack_require__(276);
6364
+ const combinator_1 = __webpack_require__(3484);
6365
+ const dom_1 = __webpack_require__(394);
6366
+ const memoize_1 = __webpack_require__(6925);
5877
6367
  exports.unsafehtmlentity = (0, combinator_1.creation)((0, combinator_1.validate)('&', (0, combinator_1.focus)(/^&[0-9A-Za-z]+;/, ({
5878
6368
  source
5879
6369
  }) => [[parse(source) ?? `\x1B${source}`], ''])));
@@ -5892,7 +6382,7 @@ const parse = (0, memoize_1.reduce)((el => entity => {
5892
6382
 
5893
6383
  /***/ }),
5894
6384
 
5895
- /***/ 6896:
6385
+ /***/ 4515:
5896
6386
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5897
6387
 
5898
6388
  "use strict";
@@ -5902,17 +6392,17 @@ Object.defineProperty(exports, "__esModule", ({
5902
6392
  value: true
5903
6393
  }));
5904
6394
  exports.insertion = void 0;
5905
- const combinator_1 = __webpack_require__(7436);
5906
- const inline_1 = __webpack_require__(2716);
5907
- const source_1 = __webpack_require__(4856);
5908
- const visibility_1 = __webpack_require__(5424);
5909
- const array_1 = __webpack_require__(8980);
5910
- const dom_1 = __webpack_require__(8200);
6395
+ const combinator_1 = __webpack_require__(3484);
6396
+ const inline_1 = __webpack_require__(7973);
6397
+ const source_1 = __webpack_require__(8745);
6398
+ const visibility_1 = __webpack_require__(6364);
6399
+ const array_1 = __webpack_require__(6876);
6400
+ const dom_1 = __webpack_require__(394);
5911
6401
  exports.insertion = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('++', '+'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_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])));
5912
6402
 
5913
6403
  /***/ }),
5914
6404
 
5915
- /***/ 9596:
6405
+ /***/ 3628:
5916
6406
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
5917
6407
 
5918
6408
  "use strict";
@@ -5922,14 +6412,14 @@ Object.defineProperty(exports, "__esModule", ({
5922
6412
  value: true
5923
6413
  }));
5924
6414
  exports.resolve = exports.option = exports.uri = exports.unsafelink = exports.linemedialink = exports.medialink = exports.textlink = exports.link = void 0;
5925
- const combinator_1 = __webpack_require__(7436);
5926
- const inline_1 = __webpack_require__(2716);
5927
- const html_1 = __webpack_require__(1480);
5928
- const source_1 = __webpack_require__(4856);
5929
- const visibility_1 = __webpack_require__(5424);
5930
- const util_1 = __webpack_require__(9224);
5931
- const url_1 = __webpack_require__(3800);
5932
- const dom_1 = __webpack_require__(8200);
6415
+ const combinator_1 = __webpack_require__(3484);
6416
+ const inline_1 = __webpack_require__(7973);
6417
+ const html_1 = __webpack_require__(5013);
6418
+ const source_1 = __webpack_require__(8745);
6419
+ const visibility_1 = __webpack_require__(6364);
6420
+ const util_1 = __webpack_require__(4992);
6421
+ const url_1 = __webpack_require__(1904);
6422
+ const dom_1 = __webpack_require__(394);
5933
6423
  const optspec = {
5934
6424
  rel: ['nofollow']
5935
6425
  };
@@ -6027,7 +6517,7 @@ function decode(uri) {
6027
6517
 
6028
6518
  /***/ }),
6029
6519
 
6030
- /***/ 1076:
6520
+ /***/ 5381:
6031
6521
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6032
6522
 
6033
6523
  "use strict";
@@ -6037,13 +6527,13 @@ Object.defineProperty(exports, "__esModule", ({
6037
6527
  value: true
6038
6528
  }));
6039
6529
  exports.mark = void 0;
6040
- const combinator_1 = __webpack_require__(7436);
6041
- const inline_1 = __webpack_require__(2716);
6042
- const indexee_1 = __webpack_require__(5688);
6043
- const source_1 = __webpack_require__(4856);
6044
- const visibility_1 = __webpack_require__(5424);
6045
- const array_1 = __webpack_require__(8980);
6046
- const dom_1 = __webpack_require__(8200);
6530
+ const combinator_1 = __webpack_require__(3484);
6531
+ const inline_1 = __webpack_require__(7973);
6532
+ const indexee_1 = __webpack_require__(7610);
6533
+ const source_1 = __webpack_require__(8745);
6534
+ const visibility_1 = __webpack_require__(6364);
6535
+ const array_1 = __webpack_require__(6876);
6536
+ const dom_1 = __webpack_require__(394);
6047
6537
  exports.mark = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('==', '='), (0, combinator_1.constraint)(4 /* State.mark */, false, (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('=='), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '=', [[/^\\?\n/, 9]]), exports.mark)]))))), (0, source_1.str)('=='), false, ([, bs], rest, {
6048
6538
  id
6049
6539
  }) => {
@@ -6057,7 +6547,7 @@ exports.mark = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combi
6057
6547
 
6058
6548
  /***/ }),
6059
6549
 
6060
- /***/ 4540:
6550
+ /***/ 2962:
6061
6551
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6062
6552
 
6063
6553
  "use strict";
@@ -6067,9 +6557,9 @@ Object.defineProperty(exports, "__esModule", ({
6067
6557
  value: true
6068
6558
  }));
6069
6559
  exports.math = void 0;
6070
- const combinator_1 = __webpack_require__(7436);
6071
- const source_1 = __webpack_require__(4856);
6072
- const dom_1 = __webpack_require__(8200);
6560
+ const combinator_1 = __webpack_require__(3484);
6561
+ const source_1 = __webpack_require__(8745);
6562
+ const dom_1 = __webpack_require__(394);
6073
6563
  const forbiddenCommand = /\\(?:begin|tiny|huge|large)(?![a-z])/i;
6074
6564
  exports.math = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('$', (0, combinator_1.creation)((0, combinator_1.rewrite)((0, combinator_1.union)([(0, combinator_1.surround)('$', (0, combinator_1.precedence)(6, bracket), '$'), (0, combinator_1.surround)(/^\$(?![\s{}])/, (0, combinator_1.precedence)(3, (0, combinator_1.some)((0, combinator_1.union)([bracket, (0, combinator_1.focus)(/^(?:[ ([](?!\$)|\\[\\{}$]?|[!#%&')\x2A-\x5A\]^_\x61-\x7A|~])+/, (0, combinator_1.some)(source_1.unescsource))]))), /^\$(?![0-9A-Za-z])/)]), ({
6075
6565
  source,
@@ -6093,7 +6583,7 @@ const bracket = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, comb
6093
6583
 
6094
6584
  /***/ }),
6095
6585
 
6096
- /***/ 1064:
6586
+ /***/ 7478:
6097
6587
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6098
6588
 
6099
6589
  "use strict";
@@ -6103,15 +6593,15 @@ Object.defineProperty(exports, "__esModule", ({
6103
6593
  value: true
6104
6594
  }));
6105
6595
  exports.linemedia = exports.media = void 0;
6106
- const combinator_1 = __webpack_require__(7436);
6107
- const link_1 = __webpack_require__(9596);
6108
- const html_1 = __webpack_require__(1480);
6109
- const htmlentity_1 = __webpack_require__(3740);
6110
- const source_1 = __webpack_require__(4856);
6111
- const util_1 = __webpack_require__(9224);
6112
- const url_1 = __webpack_require__(3800);
6113
- const array_1 = __webpack_require__(8980);
6114
- const dom_1 = __webpack_require__(8200);
6596
+ const combinator_1 = __webpack_require__(3484);
6597
+ const link_1 = __webpack_require__(3628);
6598
+ const html_1 = __webpack_require__(5013);
6599
+ const htmlentity_1 = __webpack_require__(470);
6600
+ const source_1 = __webpack_require__(8745);
6601
+ const util_1 = __webpack_require__(4992);
6602
+ const url_1 = __webpack_require__(1904);
6603
+ const array_1 = __webpack_require__(6876);
6604
+ const dom_1 = __webpack_require__(394);
6115
6605
  const optspec = {
6116
6606
  'width': [],
6117
6607
  'height': [],
@@ -6176,7 +6666,7 @@ function sanitize(target, uri, alt) {
6176
6666
 
6177
6667
  /***/ }),
6178
6668
 
6179
- /***/ 1932:
6669
+ /***/ 9047:
6180
6670
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6181
6671
 
6182
6672
  "use strict";
@@ -6186,11 +6676,11 @@ Object.defineProperty(exports, "__esModule", ({
6186
6676
  value: true
6187
6677
  }));
6188
6678
  exports.reference = void 0;
6189
- const combinator_1 = __webpack_require__(7436);
6190
- const inline_1 = __webpack_require__(2716);
6191
- const source_1 = __webpack_require__(4856);
6192
- const visibility_1 = __webpack_require__(5424);
6193
- const dom_1 = __webpack_require__(8200);
6679
+ const combinator_1 = __webpack_require__(3484);
6680
+ const inline_1 = __webpack_require__(7973);
6681
+ const source_1 = __webpack_require__(8745);
6682
+ const visibility_1 = __webpack_require__(6364);
6683
+ const dom_1 = __webpack_require__(394);
6194
6684
  exports.reference = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)('[[', (0, combinator_1.constraint)(128 /* State.reference */, false, (0, combinator_1.syntax)(128 /* Syntax.reference */, 6, 256 /* State.annotation */ | 128 /* State.reference */ | 8 /* State.media */, (0, combinator_1.subsequence)([abbr, (0, visibility_1.trimBlankStart)((0, combinator_1.some)(inline_1.inline, ']', [[/^\\?\n/, 9], [']', 2], [']]', 6]]))]))), ']]', false, ([, ns], rest) => [[(0, dom_1.html)('sup', attributes(ns), [(0, dom_1.html)('span', (0, visibility_1.trimNodeEnd)((0, dom_1.defrag)(ns)))])], rest])));
6195
6685
  // Chicago-Style
6196
6686
  const abbr = (0, combinator_1.creation)((0, combinator_1.surround)('^', (0, combinator_1.union)([(0, source_1.str)(/^(?=[A-Z])(?:[0-9A-Za-z]'?|(?:[-.:]|\.?\??,? ?)(?!['\-.:?, ]))+/)]), /^\|?(?=]])|^\|[^\S\n]*/, true, ([, ns], rest) => ns ? [['\n', ns[0].trimEnd()], rest.replace(visibility_1.blank.start, '')] : [[''], `^${rest}`], ([,, rest]) => [[''], `^${rest}`]));
@@ -6219,7 +6709,7 @@ function attributes(ns) {
6219
6709
 
6220
6710
  /***/ }),
6221
6711
 
6222
- /***/ 5188:
6712
+ /***/ 8948:
6223
6713
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6224
6714
 
6225
6715
  "use strict";
@@ -6229,12 +6719,12 @@ Object.defineProperty(exports, "__esModule", ({
6229
6719
  value: true
6230
6720
  }));
6231
6721
  exports.remark = void 0;
6232
- const combinator_1 = __webpack_require__(7436);
6233
- const inline_1 = __webpack_require__(2716);
6234
- const source_1 = __webpack_require__(4856);
6235
- const memoize_1 = __webpack_require__(276);
6236
- const array_1 = __webpack_require__(8980);
6237
- const dom_1 = __webpack_require__(8200);
6722
+ const combinator_1 = __webpack_require__(3484);
6723
+ const inline_1 = __webpack_require__(7973);
6724
+ const source_1 = __webpack_require__(8745);
6725
+ const memoize_1 = __webpack_require__(6925);
6726
+ const array_1 = __webpack_require__(6876);
6727
+ const dom_1 = __webpack_require__(394);
6238
6728
  exports.remark = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[%', (0, combinator_1.creation)((0, combinator_1.syntax)(0 /* Syntax.none */, 5, 0 /* State.none */, (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}\]`), [[new RegExp(String.raw`^\s+${fence}\]`), 5]]), (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', {
6239
6729
  class: 'remark'
6240
6730
  }, [(0, dom_1.html)('input', {
@@ -6243,7 +6733,7 @@ exports.remark = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[%', (
6243
6733
 
6244
6734
  /***/ }),
6245
6735
 
6246
- /***/ 8780:
6736
+ /***/ 7304:
6247
6737
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6248
6738
 
6249
6739
  "use strict";
@@ -6253,13 +6743,13 @@ Object.defineProperty(exports, "__esModule", ({
6253
6743
  value: true
6254
6744
  }));
6255
6745
  exports.ruby = void 0;
6256
- const parser_1 = __webpack_require__(3232);
6257
- const combinator_1 = __webpack_require__(7436);
6258
- const htmlentity_1 = __webpack_require__(3740);
6259
- const source_1 = __webpack_require__(4856);
6260
- const visibility_1 = __webpack_require__(5424);
6261
- const array_1 = __webpack_require__(8980);
6262
- const dom_1 = __webpack_require__(8200);
6746
+ const parser_1 = __webpack_require__(605);
6747
+ const combinator_1 = __webpack_require__(3484);
6748
+ const htmlentity_1 = __webpack_require__(470);
6749
+ const source_1 = __webpack_require__(8745);
6750
+ const visibility_1 = __webpack_require__(6364);
6751
+ const array_1 = __webpack_require__(6876);
6752
+ const dom_1 = __webpack_require__(394);
6263
6753
  exports.ruby = (0, combinator_1.lazy)(() => (0, combinator_1.validate)('[', (0, combinator_1.creation)((0, combinator_1.syntax)(16 /* Syntax.ruby */, 2, -1 /* State.all */, (0, combinator_1.fmap)((0, combinator_1.verify)((0, combinator_1.fmap)((0, combinator_1.sequence)([(0, combinator_1.surround)('[', (0, source_1.str)(/^(?:\\[^\n]|[^\\[\](){}"\n])+/), ']'), (0, combinator_1.surround)('(', (0, source_1.str)(/^(?:\\[^\n]|[^\\[\](){}"\n])+/), ')')]), ([texts, rubies], _, context) => [(0, parser_1.eval)(text({
6264
6754
  source: texts,
6265
6755
  context
@@ -6336,7 +6826,7 @@ function attributes(texts, rubies) {
6336
6826
 
6337
6827
  /***/ }),
6338
6828
 
6339
- /***/ 8396:
6829
+ /***/ 5902:
6340
6830
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6341
6831
 
6342
6832
  "use strict";
@@ -6346,16 +6836,16 @@ Object.defineProperty(exports, "__esModule", ({
6346
6836
  value: true
6347
6837
  }));
6348
6838
  exports.lineshortmedia = exports.shortmedia = void 0;
6349
- const combinator_1 = __webpack_require__(7436);
6350
- const url_1 = __webpack_require__(868);
6351
- const media_1 = __webpack_require__(1064);
6352
- const source_1 = __webpack_require__(4856);
6839
+ const combinator_1 = __webpack_require__(3484);
6840
+ const url_1 = __webpack_require__(2129);
6841
+ const media_1 = __webpack_require__(7478);
6842
+ const source_1 = __webpack_require__(8745);
6353
6843
  exports.shortmedia = (0, combinator_1.rewrite)((0, combinator_1.constraint)(8 /* State.media */, false, (0, combinator_1.open)('!', url_1.url)), (0, combinator_1.convert)(source => `!{ ${source.slice(1)} }`, (0, combinator_1.union)([media_1.media])));
6354
6844
  exports.lineshortmedia = (0, combinator_1.open)(source_1.linebreak, (0, combinator_1.focus)(/^!https?:\/\/\S+(?=[^\S\n]*(?:$|\n))/, (0, combinator_1.convert)(source => `!{ ${source.slice(1)} }`, (0, combinator_1.union)([media_1.media]))));
6355
6845
 
6356
6846
  /***/ }),
6357
6847
 
6358
- /***/ 8428:
6848
+ /***/ 6591:
6359
6849
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6360
6850
 
6361
6851
  "use strict";
@@ -6365,18 +6855,18 @@ Object.defineProperty(exports, "__esModule", ({
6365
6855
  value: true
6366
6856
  }));
6367
6857
  exports.strong = void 0;
6368
- const combinator_1 = __webpack_require__(7436);
6369
- const inline_1 = __webpack_require__(2716);
6370
- const emstrong_1 = __webpack_require__(5400);
6371
- const source_1 = __webpack_require__(4856);
6372
- const visibility_1 = __webpack_require__(5424);
6373
- const array_1 = __webpack_require__(8980);
6374
- const dom_1 = __webpack_require__(8200);
6858
+ const combinator_1 = __webpack_require__(3484);
6859
+ const inline_1 = __webpack_require__(7973);
6860
+ const emstrong_1 = __webpack_require__(365);
6861
+ const source_1 = __webpack_require__(8745);
6862
+ const visibility_1 = __webpack_require__(6364);
6863
+ const array_1 = __webpack_require__(6876);
6864
+ const dom_1 = __webpack_require__(394);
6375
6865
  exports.strong = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)((0, source_1.str)('**', '*'), (0, combinator_1.syntax)(0 /* Syntax.none */, 1, 0 /* State.none */, (0, visibility_1.startTight)((0, combinator_1.some)((0, combinator_1.union)([(0, combinator_1.some)(inline_1.inline, (0, visibility_1.blankWith)('**'), [[/^\\?\n/, 9]]), (0, combinator_1.open)((0, combinator_1.some)(inline_1.inline, '*', [[/^\\?\n/, 9]]), (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])));
6376
6866
 
6377
6867
  /***/ }),
6378
6868
 
6379
- /***/ 5872:
6869
+ /***/ 4510:
6380
6870
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6381
6871
 
6382
6872
  "use strict";
@@ -6386,10 +6876,10 @@ Object.defineProperty(exports, "__esModule", ({
6386
6876
  value: true
6387
6877
  }));
6388
6878
  exports.template = void 0;
6389
- const combinator_1 = __webpack_require__(7436);
6390
- const source_1 = __webpack_require__(4856);
6391
- const array_1 = __webpack_require__(8980);
6392
- const dom_1 = __webpack_require__(8200);
6879
+ const combinator_1 = __webpack_require__(3484);
6880
+ const source_1 = __webpack_require__(8745);
6881
+ const array_1 = __webpack_require__(6876);
6882
+ const dom_1 = __webpack_require__(394);
6393
6883
  exports.template = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, combinator_1.surround)('{{', (0, combinator_1.syntax)(0 /* Syntax.none */, 6, -1 /* State.all */, (0, combinator_1.some)((0, combinator_1.union)([bracket, source_1.escsource]), '}', [['}}', 6]])), '}}', true, ([, ns = []], rest) => [[(0, dom_1.html)('span', {
6394
6884
  class: 'template'
6395
6885
  }, `{{${ns.join('').replace(/\x1B/g, '')}}}`)], rest])));
@@ -6397,7 +6887,7 @@ const bracket = (0, combinator_1.lazy)(() => (0, combinator_1.creation)((0, comb
6397
6887
 
6398
6888
  /***/ }),
6399
6889
 
6400
- /***/ 5712:
6890
+ /***/ 1657:
6401
6891
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6402
6892
 
6403
6893
  "use strict";
@@ -6407,12 +6897,12 @@ Object.defineProperty(exports, "__esModule", ({
6407
6897
  value: true
6408
6898
  }));
6409
6899
  exports.figure = void 0;
6410
- const label_1 = __webpack_require__(3640);
6411
- const util_1 = __webpack_require__(9224);
6412
- const queue_1 = __webpack_require__(9556);
6413
- const array_1 = __webpack_require__(8980);
6414
- const dom_1 = __webpack_require__(8200);
6415
- const query_1 = __webpack_require__(9252);
6900
+ const label_1 = __webpack_require__(2178);
6901
+ const util_1 = __webpack_require__(4992);
6902
+ const queue_1 = __webpack_require__(4110);
6903
+ const array_1 = __webpack_require__(6876);
6904
+ const dom_1 = __webpack_require__(394);
6905
+ const query_1 = __webpack_require__(2282);
6416
6906
  function* figure(target, notes, opts = {}) {
6417
6907
  const refs = new queue_1.MultiQueue((0, array_1.push)((0, query_1.querySelectorAll)(target, 'a.label:not(.disabled)[data-label]'), notes && (0, query_1.querySelectorAll)(notes.references, 'a.label:not(.disabled)') || []).map(el => [el.getAttribute('data-label'), el]));
6418
6908
  const labels = new Set();
@@ -6535,7 +7025,7 @@ function capitalize(label) {
6535
7025
 
6536
7026
  /***/ }),
6537
7027
 
6538
- /***/ 6992:
7028
+ /***/ 165:
6539
7029
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6540
7030
 
6541
7031
  "use strict";
@@ -6545,10 +7035,10 @@ Object.defineProperty(exports, "__esModule", ({
6545
7035
  value: true
6546
7036
  }));
6547
7037
  exports.reference = exports.annotation = exports.note = void 0;
6548
- const indexee_1 = __webpack_require__(5688);
6549
- const util_1 = __webpack_require__(9224);
6550
- const memoize_1 = __webpack_require__(276);
6551
- const dom_1 = __webpack_require__(8200);
7038
+ const indexee_1 = __webpack_require__(7610);
7039
+ const util_1 = __webpack_require__(4992);
7040
+ const memoize_1 = __webpack_require__(6925);
7041
+ const dom_1 = __webpack_require__(394);
6552
7042
  function* note(target, notes, opts = {}, bottom = null) {
6553
7043
  yield* (0, exports.annotation)(target, notes?.annotations, opts, bottom);
6554
7044
  yield* (0, exports.reference)(target, notes?.references, opts, bottom);
@@ -6594,7 +7084,7 @@ function build(syntax, marker, splitter = '') {
6594
7084
  if (splitter) for (let el; el = splitters[iSplitters], el?.compareDocumentPosition(ref) & Node.DOCUMENT_POSITION_FOLLOWING; ++iSplitters) {
6595
7085
  if (~iSplitters << 32 - 8 === 0) yield;
6596
7086
  if (!scope && el.parentNode !== target) continue;
6597
- if (el.tagName === 'OL' && el.nextElementSibling !== splitters[iSplitters + 1]) {
7087
+ if (el.tagName === 'OL' && (el.nextElementSibling !== splitters[iSplitters + 1] || defs.size === 0)) {
6598
7088
  el.remove();
6599
7089
  continue;
6600
7090
  }
@@ -6704,7 +7194,7 @@ function equal(a, b) {
6704
7194
 
6705
7195
  /***/ }),
6706
7196
 
6707
- /***/ 1284:
7197
+ /***/ 3967:
6708
7198
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6709
7199
 
6710
7200
  "use strict";
@@ -6714,14 +7204,14 @@ Object.defineProperty(exports, "__esModule", ({
6714
7204
  value: true
6715
7205
  }));
6716
7206
  exports.validate = exports.segment = exports.MAX_INPUT_SIZE = exports.MAX_SEGMENT_SIZE = void 0;
6717
- const parser_1 = __webpack_require__(3232);
6718
- const combinator_1 = __webpack_require__(7436);
6719
- const heading_1 = __webpack_require__(6700);
6720
- const codeblock_1 = __webpack_require__(8912);
6721
- const mathblock_1 = __webpack_require__(8748);
6722
- const extension_1 = __webpack_require__(9536);
6723
- const source_1 = __webpack_require__(4856);
6724
- exports.MAX_SEGMENT_SIZE = 100000; // 100,000 bytes (Max value size of FDB)
7207
+ const parser_1 = __webpack_require__(605);
7208
+ const combinator_1 = __webpack_require__(3484);
7209
+ const heading_1 = __webpack_require__(2778);
7210
+ const codeblock_1 = __webpack_require__(9194);
7211
+ const mathblock_1 = __webpack_require__(4903);
7212
+ const extension_1 = __webpack_require__(6193);
7213
+ const source_1 = __webpack_require__(8745);
7214
+ exports.MAX_SEGMENT_SIZE = 100_000; // 100,000 bytes (Max value size of FDB)
6725
7215
  exports.MAX_INPUT_SIZE = exports.MAX_SEGMENT_SIZE * 10;
6726
7216
  const parser = (0, combinator_1.union)([heading_1.segment, codeblock_1.segment, mathblock_1.segment, extension_1.segment, (0, combinator_1.some)(source_1.contentline, exports.MAX_SEGMENT_SIZE * 2), (0, combinator_1.some)(source_1.emptyline, exports.MAX_SEGMENT_SIZE * 2)]);
6727
7217
  function* segment(source) {
@@ -6748,7 +7238,7 @@ exports.validate = validate;
6748
7238
 
6749
7239
  /***/ }),
6750
7240
 
6751
- /***/ 4856:
7241
+ /***/ 8745:
6752
7242
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6753
7243
 
6754
7244
  "use strict";
@@ -6758,7 +7248,7 @@ Object.defineProperty(exports, "__esModule", ({
6758
7248
  value: true
6759
7249
  }));
6760
7250
  exports.anyline = exports.emptyline = exports.contentline = exports.str = exports.unescsource = exports.escsource = exports.linebreak = exports.txt = exports.text = void 0;
6761
- var text_1 = __webpack_require__(2732);
7251
+ var text_1 = __webpack_require__(5655);
6762
7252
  Object.defineProperty(exports, "text", ({
6763
7253
  enumerable: true,
6764
7254
  get: function () {
@@ -6777,28 +7267,28 @@ Object.defineProperty(exports, "linebreak", ({
6777
7267
  return text_1.linebreak;
6778
7268
  }
6779
7269
  }));
6780
- var escapable_1 = __webpack_require__(7228);
7270
+ var escapable_1 = __webpack_require__(3770);
6781
7271
  Object.defineProperty(exports, "escsource", ({
6782
7272
  enumerable: true,
6783
7273
  get: function () {
6784
7274
  return escapable_1.escsource;
6785
7275
  }
6786
7276
  }));
6787
- var unescapable_1 = __webpack_require__(3544);
7277
+ var unescapable_1 = __webpack_require__(8407);
6788
7278
  Object.defineProperty(exports, "unescsource", ({
6789
7279
  enumerable: true,
6790
7280
  get: function () {
6791
7281
  return unescapable_1.unescsource;
6792
7282
  }
6793
7283
  }));
6794
- var str_1 = __webpack_require__(7976);
7284
+ var str_1 = __webpack_require__(4017);
6795
7285
  Object.defineProperty(exports, "str", ({
6796
7286
  enumerable: true,
6797
7287
  get: function () {
6798
7288
  return str_1.str;
6799
7289
  }
6800
7290
  }));
6801
- var line_1 = __webpack_require__(7020);
7291
+ var line_1 = __webpack_require__(702);
6802
7292
  Object.defineProperty(exports, "contentline", ({
6803
7293
  enumerable: true,
6804
7294
  get: function () {
@@ -6820,7 +7310,7 @@ Object.defineProperty(exports, "anyline", ({
6820
7310
 
6821
7311
  /***/ }),
6822
7312
 
6823
- /***/ 7228:
7313
+ /***/ 3770:
6824
7314
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6825
7315
 
6826
7316
  "use strict";
@@ -6830,8 +7320,8 @@ Object.defineProperty(exports, "__esModule", ({
6830
7320
  value: true
6831
7321
  }));
6832
7322
  exports.escsource = void 0;
6833
- const combinator_1 = __webpack_require__(7436);
6834
- const text_1 = __webpack_require__(2732);
7323
+ const combinator_1 = __webpack_require__(3484);
7324
+ const text_1 = __webpack_require__(5655);
6835
7325
  const delimiter = /[\s\x00-\x2F\x3A-\x40\x5B-\x60\x7B-\x7F]/;
6836
7326
  exports.escsource = (0, combinator_1.creation)(1, false, ({
6837
7327
  source,
@@ -6869,7 +7359,7 @@ exports.escsource = (0, combinator_1.creation)(1, false, ({
6869
7359
 
6870
7360
  /***/ }),
6871
7361
 
6872
- /***/ 7020:
7362
+ /***/ 702:
6873
7363
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6874
7364
 
6875
7365
  "use strict";
@@ -6879,14 +7369,14 @@ Object.defineProperty(exports, "__esModule", ({
6879
7369
  value: true
6880
7370
  }));
6881
7371
  exports.contentline = exports.emptyline = exports.anyline = void 0;
6882
- const combinator_1 = __webpack_require__(7436);
7372
+ const combinator_1 = __webpack_require__(3484);
6883
7373
  exports.anyline = (0, combinator_1.line)(() => [[], '']);
6884
7374
  exports.emptyline = (0, combinator_1.line)(i => (0, combinator_1.isBlank)(i.source) ? [[], ''] : undefined);
6885
7375
  exports.contentline = (0, combinator_1.line)(i => !(0, combinator_1.isBlank)(i.source) ? [[], ''] : undefined);
6886
7376
 
6887
7377
  /***/ }),
6888
7378
 
6889
- /***/ 7976:
7379
+ /***/ 4017:
6890
7380
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6891
7381
 
6892
7382
  "use strict";
@@ -6896,7 +7386,7 @@ Object.defineProperty(exports, "__esModule", ({
6896
7386
  value: true
6897
7387
  }));
6898
7388
  exports.str = void 0;
6899
- const combinator_1 = __webpack_require__(7436);
7389
+ const combinator_1 = __webpack_require__(3484);
6900
7390
  function str(pattern, not) {
6901
7391
  return typeof pattern === 'string' ? (0, combinator_1.creation)(1, false, ({
6902
7392
  source
@@ -6917,7 +7407,7 @@ exports.str = str;
6917
7407
 
6918
7408
  /***/ }),
6919
7409
 
6920
- /***/ 2732:
7410
+ /***/ 5655:
6921
7411
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6922
7412
 
6923
7413
  "use strict";
@@ -6927,9 +7417,9 @@ Object.defineProperty(exports, "__esModule", ({
6927
7417
  value: true
6928
7418
  }));
6929
7419
  exports.isAlphanumeric = exports.linebreak = exports.txt = exports.text = exports.nonAlphanumeric = exports.nonWhitespace = exports.delimiter = void 0;
6930
- const combinator_1 = __webpack_require__(7436);
6931
- const str_1 = __webpack_require__(7976);
6932
- const dom_1 = __webpack_require__(8200);
7420
+ const combinator_1 = __webpack_require__(3484);
7421
+ const str_1 = __webpack_require__(4017);
7422
+ const dom_1 = __webpack_require__(394);
6933
7423
  exports.delimiter = /[\s\x00-\x7F()[]{}“”‘’「」『』]|\S[#>]/u;
6934
7424
  exports.nonWhitespace = /[\S\n]|$/u;
6935
7425
  exports.nonAlphanumeric = /[^0-9A-Za-z]|\S[#>]|$/u;
@@ -6987,7 +7477,7 @@ exports.isAlphanumeric = isAlphanumeric;
6987
7477
 
6988
7478
  /***/ }),
6989
7479
 
6990
- /***/ 3544:
7480
+ /***/ 8407:
6991
7481
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6992
7482
 
6993
7483
  "use strict";
@@ -6997,8 +7487,8 @@ Object.defineProperty(exports, "__esModule", ({
6997
7487
  value: true
6998
7488
  }));
6999
7489
  exports.unescsource = void 0;
7000
- const combinator_1 = __webpack_require__(7436);
7001
- const text_1 = __webpack_require__(2732);
7490
+ const combinator_1 = __webpack_require__(3484);
7491
+ const text_1 = __webpack_require__(5655);
7002
7492
  exports.unescsource = (0, combinator_1.creation)(1, false, ({
7003
7493
  source,
7004
7494
  context
@@ -7026,7 +7516,7 @@ exports.unescsource = (0, combinator_1.creation)(1, false, ({
7026
7516
 
7027
7517
  /***/ }),
7028
7518
 
7029
- /***/ 9224:
7519
+ /***/ 4992:
7030
7520
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7031
7521
 
7032
7522
  "use strict";
@@ -7036,8 +7526,8 @@ Object.defineProperty(exports, "__esModule", ({
7036
7526
  value: true
7037
7527
  }));
7038
7528
  exports.stringify = exports.unmarkInvalid = exports.markInvalid = exports.lineable = void 0;
7039
- const combinator_1 = __webpack_require__(7436);
7040
- const dom_1 = __webpack_require__(8200);
7529
+ const combinator_1 = __webpack_require__(3484);
7530
+ const dom_1 = __webpack_require__(394);
7041
7531
  function lineable(parser) {
7042
7532
  return (0, combinator_1.convert)(source => `\r${source}`, parser);
7043
7533
  }
@@ -7077,7 +7567,7 @@ exports.stringify = stringify;
7077
7567
 
7078
7568
  /***/ }),
7079
7569
 
7080
- /***/ 5424:
7570
+ /***/ 6364:
7081
7571
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7082
7572
 
7083
7573
  "use strict";
@@ -7087,13 +7577,13 @@ Object.defineProperty(exports, "__esModule", ({
7087
7577
  value: true
7088
7578
  }));
7089
7579
  exports.trimNodeEnd = exports.trimBlankStart = exports.trimBlank = exports.isStartTightNodes = exports.isStartLooseNodes = exports.startTight = exports.blankWith = exports.visualize = exports.blank = void 0;
7090
- const parser_1 = __webpack_require__(3232);
7091
- const combinator_1 = __webpack_require__(7436);
7092
- const htmlentity_1 = __webpack_require__(3740);
7093
- const source_1 = __webpack_require__(4856);
7094
- const normalize_1 = __webpack_require__(9588);
7095
- const memoize_1 = __webpack_require__(276);
7096
- const array_1 = __webpack_require__(8980);
7580
+ const parser_1 = __webpack_require__(605);
7581
+ const combinator_1 = __webpack_require__(3484);
7582
+ const htmlentity_1 = __webpack_require__(470);
7583
+ const source_1 = __webpack_require__(8745);
7584
+ const normalize_1 = __webpack_require__(4490);
7585
+ const memoize_1 = __webpack_require__(6925);
7586
+ const array_1 = __webpack_require__(6876);
7097
7587
  var blank;
7098
7588
  (function (blank) {
7099
7589
  blank.line = new RegExp(/^(?:\\?[^\S\r\n]|&IHN;|<wbr[^\S\n]*>|\\$)+$/.source.replace('IHN', `(?:${normalize_1.invisibleHTMLEntityNames.join('|')})`), 'gm');
@@ -7250,7 +7740,7 @@ exports.trimNodeEnd = trimNodeEnd;
7250
7740
 
7251
7741
  /***/ }),
7252
7742
 
7253
- /***/ 4652:
7743
+ /***/ 1625:
7254
7744
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7255
7745
 
7256
7746
  "use strict";
@@ -7260,7 +7750,7 @@ Object.defineProperty(exports, "__esModule", ({
7260
7750
  value: true
7261
7751
  }));
7262
7752
  exports.render = void 0;
7263
- var render_1 = __webpack_require__(8703);
7753
+ var render_1 = __webpack_require__(3268);
7264
7754
  Object.defineProperty(exports, "render", ({
7265
7755
  enumerable: true,
7266
7756
  get: function () {
@@ -7270,7 +7760,7 @@ Object.defineProperty(exports, "render", ({
7270
7760
 
7271
7761
  /***/ }),
7272
7762
 
7273
- /***/ 8703:
7763
+ /***/ 3268:
7274
7764
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7275
7765
 
7276
7766
  "use strict";
@@ -7280,11 +7770,11 @@ Object.defineProperty(exports, "__esModule", ({
7280
7770
  value: true
7281
7771
  }));
7282
7772
  exports.render = void 0;
7283
- const code_1 = __webpack_require__(9040);
7284
- const math_1 = __webpack_require__(9856);
7285
- const media_1 = __webpack_require__(5772);
7286
- const memoize_1 = __webpack_require__(276);
7287
- const query_1 = __webpack_require__(9252);
7773
+ const code_1 = __webpack_require__(3042);
7774
+ const math_1 = __webpack_require__(3165);
7775
+ const media_1 = __webpack_require__(3567);
7776
+ const memoize_1 = __webpack_require__(6925);
7777
+ const query_1 = __webpack_require__(2282);
7288
7778
  const selector = 'img.media:not(.invalid):not([src])[data-src], a > :not(img).media:not(.invalid), pre.code:not(.invalid), .math:not(.invalid)';
7289
7779
  const extend = (0, memoize_1.reduce)(opts => ({
7290
7780
  code: code_1.code,
@@ -7328,7 +7818,7 @@ function render_(base, source, opts) {
7328
7818
 
7329
7819
  /***/ }),
7330
7820
 
7331
- /***/ 9040:
7821
+ /***/ 3042:
7332
7822
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
7333
7823
 
7334
7824
  "use strict";
@@ -7343,7 +7833,7 @@ Object.defineProperty(exports, "__esModule", ({
7343
7833
  value: true
7344
7834
  }));
7345
7835
  exports.code = void 0;
7346
- const prismjs_1 = __importDefault(__webpack_require__(9736));
7836
+ const prismjs_1 = __importDefault(__webpack_require__(293));
7347
7837
  function code(target, cache) {
7348
7838
  const source = target.textContent;
7349
7839
  prismjs_1.default.highlightElement(target, false, () => void cache?.set(`${target.getAttribute('data-lang') ?? ''}\n${source}`, target.cloneNode(true)));
@@ -7352,7 +7842,7 @@ exports.code = code;
7352
7842
 
7353
7843
  /***/ }),
7354
7844
 
7355
- /***/ 9856:
7845
+ /***/ 3165:
7356
7846
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7357
7847
 
7358
7848
  "use strict";
@@ -7362,7 +7852,7 @@ Object.defineProperty(exports, "__esModule", ({
7362
7852
  value: true
7363
7853
  }));
7364
7854
  exports.math = void 0;
7365
- const dom_1 = __webpack_require__(8200);
7855
+ const dom_1 = __webpack_require__(394);
7366
7856
  function math(target, cache) {
7367
7857
  const source = target.textContent;
7368
7858
  queue(target, () => {
@@ -7380,7 +7870,7 @@ async function queue(target, callback = () => undefined) {
7380
7870
 
7381
7871
  /***/ }),
7382
7872
 
7383
- /***/ 5772:
7873
+ /***/ 3567:
7384
7874
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7385
7875
 
7386
7876
  "use strict";
@@ -7390,14 +7880,14 @@ Object.defineProperty(exports, "__esModule", ({
7390
7880
  value: true
7391
7881
  }));
7392
7882
  exports.media = void 0;
7393
- const twitter_1 = __webpack_require__(2180);
7394
- const youtube_1 = __webpack_require__(7954);
7395
- const pdf_1 = __webpack_require__(7872);
7396
- const video_1 = __webpack_require__(1488);
7397
- const audio_1 = __webpack_require__(5323);
7398
- const image_1 = __webpack_require__(7892);
7399
- const url_1 = __webpack_require__(3800);
7400
- const memoize_1 = __webpack_require__(276);
7883
+ const twitter_1 = __webpack_require__(1231);
7884
+ const youtube_1 = __webpack_require__(6713);
7885
+ const pdf_1 = __webpack_require__(4290);
7886
+ const video_1 = __webpack_require__(6991);
7887
+ const audio_1 = __webpack_require__(7086);
7888
+ const image_1 = __webpack_require__(8673);
7889
+ const url_1 = __webpack_require__(1904);
7890
+ const memoize_1 = __webpack_require__(6925);
7401
7891
  const extend = (0, memoize_1.reduce)(opts => ({
7402
7892
  twitter: twitter_1.twitter,
7403
7893
  youtube: youtube_1.youtube,
@@ -7416,7 +7906,7 @@ exports.media = media;
7416
7906
 
7417
7907
  /***/ }),
7418
7908
 
7419
- /***/ 5323:
7909
+ /***/ 7086:
7420
7910
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7421
7911
 
7422
7912
  "use strict";
@@ -7426,7 +7916,7 @@ Object.defineProperty(exports, "__esModule", ({
7426
7916
  value: true
7427
7917
  }));
7428
7918
  exports.audio = void 0;
7429
- const dom_1 = __webpack_require__(8200);
7919
+ const dom_1 = __webpack_require__(394);
7430
7920
  const extensions = ['.oga', '.ogg'];
7431
7921
  function audio(source, url) {
7432
7922
  if (!extensions.includes(url.pathname.split(/(?=\.)/).pop())) return;
@@ -7442,7 +7932,7 @@ exports.audio = audio;
7442
7932
 
7443
7933
  /***/ }),
7444
7934
 
7445
- /***/ 7892:
7935
+ /***/ 8673:
7446
7936
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7447
7937
 
7448
7938
  "use strict";
@@ -7452,7 +7942,7 @@ Object.defineProperty(exports, "__esModule", ({
7452
7942
  value: true
7453
7943
  }));
7454
7944
  exports.image = void 0;
7455
- const dom_1 = __webpack_require__(8200);
7945
+ const dom_1 = __webpack_require__(394);
7456
7946
  function image(source, url, cache) {
7457
7947
  if (cache?.has(url.href)) return (0, dom_1.define)(cache.get(url.href).cloneNode(true), Object.fromEntries([...source.attributes].map(attr => [attr.name, attr.value])));
7458
7948
  (0, dom_1.define)(source, {
@@ -7467,7 +7957,7 @@ exports.image = image;
7467
7957
 
7468
7958
  /***/ }),
7469
7959
 
7470
- /***/ 7872:
7960
+ /***/ 4290:
7471
7961
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7472
7962
 
7473
7963
  "use strict";
@@ -7477,8 +7967,8 @@ Object.defineProperty(exports, "__esModule", ({
7477
7967
  value: true
7478
7968
  }));
7479
7969
  exports.pdf = void 0;
7480
- const parser_1 = __webpack_require__(8112);
7481
- const dom_1 = __webpack_require__(8200);
7970
+ const parser_1 = __webpack_require__(3561);
7971
+ const dom_1 = __webpack_require__(394);
7482
7972
  const extensions = ['.pdf'];
7483
7973
  function pdf(source, url) {
7484
7974
  if (!extensions.includes(url.pathname.split(/(?=\.)/).pop())) return;
@@ -7497,7 +7987,7 @@ exports.pdf = pdf;
7497
7987
 
7498
7988
  /***/ }),
7499
7989
 
7500
- /***/ 2180:
7990
+ /***/ 1231:
7501
7991
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
7502
7992
 
7503
7993
  "use strict";
@@ -7512,9 +8002,9 @@ Object.defineProperty(exports, "__esModule", ({
7512
8002
  value: true
7513
8003
  }));
7514
8004
  exports.twitter = void 0;
7515
- const parser_1 = __webpack_require__(8112);
7516
- const dom_1 = __webpack_require__(8200);
7517
- const dompurify_1 = __importDefault(__webpack_require__(2282));
8005
+ const parser_1 = __webpack_require__(3561);
8006
+ const dom_1 = __webpack_require__(394);
8007
+ const dompurify_1 = __importDefault(__webpack_require__(611));
7518
8008
  const origins = ['https://twitter.com'];
7519
8009
  function twitter(source, url) {
7520
8010
  if (!origins.includes(url.origin)) return;
@@ -7556,7 +8046,7 @@ exports.twitter = twitter;
7556
8046
 
7557
8047
  /***/ }),
7558
8048
 
7559
- /***/ 1488:
8049
+ /***/ 6991:
7560
8050
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7561
8051
 
7562
8052
  "use strict";
@@ -7566,7 +8056,7 @@ Object.defineProperty(exports, "__esModule", ({
7566
8056
  value: true
7567
8057
  }));
7568
8058
  exports.video = void 0;
7569
- const dom_1 = __webpack_require__(8200);
8059
+ const dom_1 = __webpack_require__(394);
7570
8060
  const extensions = ['.webm', '.ogv'];
7571
8061
  function video(source, url) {
7572
8062
  if (!extensions.includes(url.pathname.split(/(?=\.)/).pop())) return;
@@ -7583,7 +8073,7 @@ exports.video = video;
7583
8073
 
7584
8074
  /***/ }),
7585
8075
 
7586
- /***/ 7954:
8076
+ /***/ 6713:
7587
8077
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7588
8078
 
7589
8079
  "use strict";
@@ -7593,7 +8083,7 @@ Object.defineProperty(exports, "__esModule", ({
7593
8083
  value: true
7594
8084
  }));
7595
8085
  exports.youtube = void 0;
7596
- const dom_1 = __webpack_require__(8200);
8086
+ const dom_1 = __webpack_require__(394);
7597
8087
  function youtube(source, url) {
7598
8088
  const id = resolve(url);
7599
8089
  if (!id) return;
@@ -7620,7 +8110,7 @@ function resolve(url) {
7620
8110
 
7621
8111
  /***/ }),
7622
8112
 
7623
- /***/ 9108:
8113
+ /***/ 2570:
7624
8114
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7625
8115
 
7626
8116
  "use strict";
@@ -7630,28 +8120,28 @@ Object.defineProperty(exports, "__esModule", ({
7630
8120
  value: true
7631
8121
  }));
7632
8122
  exports.scope = exports.info = exports.toc = exports.quote = void 0;
7633
- var quote_1 = __webpack_require__(3120);
8123
+ var quote_1 = __webpack_require__(4001);
7634
8124
  Object.defineProperty(exports, "quote", ({
7635
8125
  enumerable: true,
7636
8126
  get: function () {
7637
8127
  return quote_1.quote;
7638
8128
  }
7639
8129
  }));
7640
- var toc_1 = __webpack_require__(6244);
8130
+ var toc_1 = __webpack_require__(7539);
7641
8131
  Object.defineProperty(exports, "toc", ({
7642
8132
  enumerable: true,
7643
8133
  get: function () {
7644
8134
  return toc_1.toc;
7645
8135
  }
7646
8136
  }));
7647
- var info_1 = __webpack_require__(3888);
8137
+ var info_1 = __webpack_require__(6825);
7648
8138
  Object.defineProperty(exports, "info", ({
7649
8139
  enumerable: true,
7650
8140
  get: function () {
7651
8141
  return info_1.info;
7652
8142
  }
7653
8143
  }));
7654
- var scope_1 = __webpack_require__(20);
8144
+ var scope_1 = __webpack_require__(7169);
7655
8145
  Object.defineProperty(exports, "scope", ({
7656
8146
  enumerable: true,
7657
8147
  get: function () {
@@ -7661,7 +8151,7 @@ Object.defineProperty(exports, "scope", ({
7661
8151
 
7662
8152
  /***/ }),
7663
8153
 
7664
- /***/ 3888:
8154
+ /***/ 6825:
7665
8155
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7666
8156
 
7667
8157
  "use strict";
@@ -7671,7 +8161,7 @@ Object.defineProperty(exports, "__esModule", ({
7671
8161
  value: true
7672
8162
  }));
7673
8163
  exports.info = void 0;
7674
- const scope_1 = __webpack_require__(20);
8164
+ const scope_1 = __webpack_require__(7169);
7675
8165
  function info(source) {
7676
8166
  const match = (0, scope_1.scope)(source, '.invalid');
7677
8167
  return {
@@ -7699,7 +8189,7 @@ exports.info = info;
7699
8189
 
7700
8190
  /***/ }),
7701
8191
 
7702
- /***/ 3120:
8192
+ /***/ 4001:
7703
8193
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7704
8194
 
7705
8195
  "use strict";
@@ -7709,8 +8199,8 @@ Object.defineProperty(exports, "__esModule", ({
7709
8199
  value: true
7710
8200
  }));
7711
8201
  exports.quote = void 0;
7712
- const parser_1 = __webpack_require__(3232);
7713
- const cite_1 = __webpack_require__(1632);
8202
+ const parser_1 = __webpack_require__(605);
8203
+ const cite_1 = __webpack_require__(1200);
7714
8204
  //import { url } from '../parser/inline/autolink/url';
7715
8205
  function quote(anchor, range) {
7716
8206
  if ((0, parser_1.exec)((0, cite_1.cite)({
@@ -7794,7 +8284,7 @@ function trim(node) {
7794
8284
 
7795
8285
  /***/ }),
7796
8286
 
7797
- /***/ 20:
8287
+ /***/ 7169:
7798
8288
  /***/ ((__unused_webpack_module, exports) => {
7799
8289
 
7800
8290
  "use strict";
@@ -7825,7 +8315,7 @@ exports.scope = scope;
7825
8315
 
7826
8316
  /***/ }),
7827
8317
 
7828
- /***/ 6244:
8318
+ /***/ 7539:
7829
8319
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
7830
8320
 
7831
8321
  "use strict";
@@ -7835,8 +8325,8 @@ Object.defineProperty(exports, "__esModule", ({
7835
8325
  value: true
7836
8326
  }));
7837
8327
  exports.toc = void 0;
7838
- const array_1 = __webpack_require__(8980);
7839
- const dom_1 = __webpack_require__(8200);
8328
+ const array_1 = __webpack_require__(6876);
8329
+ const dom_1 = __webpack_require__(394);
7840
8330
  const selector = ':is(h1, h2, h3, h4, h5, h6, aside.aside)[id]';
7841
8331
  function toc(source) {
7842
8332
  const hs = [];
@@ -7887,10 +8377,10 @@ function unlink(h) {
7887
8377
 
7888
8378
  /***/ }),
7889
8379
 
7890
- /***/ 8200:
8380
+ /***/ 394:
7891
8381
  /***/ (function(module) {
7892
8382
 
7893
- /*! typed-dom v0.0.348 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
8383
+ /*! typed-dom v0.0.349 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
7894
8384
  (function webpackUniversalModuleDefinition(root, factory) {
7895
8385
  if(true)
7896
8386
  module.exports = factory();
@@ -7900,7 +8390,7 @@ return /******/ (() => { // webpackBootstrap
7900
8390
  /******/ "use strict";
7901
8391
  /******/ var __webpack_modules__ = ({
7902
8392
 
7903
- /***/ 5406:
8393
+ /***/ 5413:
7904
8394
  /***/ ((__unused_webpack_module, exports) => {
7905
8395
 
7906
8396
 
@@ -7923,7 +8413,7 @@ exports.ObjectSetPrototypeOf = Object.setPrototypeOf;
7923
8413
 
7924
8414
  /***/ }),
7925
8415
 
7926
- /***/ 5529:
8416
+ /***/ 1934:
7927
8417
  /***/ ((__unused_webpack_module, exports) => {
7928
8418
 
7929
8419
 
@@ -7939,7 +8429,7 @@ exports.equal = equal;
7939
8429
 
7940
8430
  /***/ }),
7941
8431
 
7942
- /***/ 1808:
8432
+ /***/ 6925:
7943
8433
  /***/ ((__unused_webpack_module, exports, __nested_webpack_require_3150__) => {
7944
8434
 
7945
8435
 
@@ -7948,8 +8438,8 @@ Object.defineProperty(exports, "__esModule", ({
7948
8438
  value: true
7949
8439
  }));
7950
8440
  exports.reduce = exports.memoize = void 0;
7951
- const alias_1 = __nested_webpack_require_3150__(5406);
7952
- const compare_1 = __nested_webpack_require_3150__(5529);
8441
+ const alias_1 = __nested_webpack_require_3150__(5413);
8442
+ const compare_1 = __nested_webpack_require_3150__(1934);
7953
8443
  function memoize(f, identify, memory) {
7954
8444
  if (typeof identify === 'object') {
7955
8445
  memory = identify;
@@ -8016,7 +8506,7 @@ exports.reduce = reduce;
8016
8506
 
8017
8507
  /***/ }),
8018
8508
 
8019
- /***/ 7521:
8509
+ /***/ 5761:
8020
8510
  /***/ ((__unused_webpack_module, exports, __nested_webpack_require_5013__) => {
8021
8511
 
8022
8512
 
@@ -8025,8 +8515,8 @@ Object.defineProperty(exports, "__esModule", ({
8025
8515
  value: true
8026
8516
  }));
8027
8517
  exports.defrag = exports.prepend = exports.append = exports.isChildren = exports.define = exports.element = exports.text = exports.math = exports.svg = exports.html = exports.frag = exports.shadow = void 0;
8028
- const alias_1 = __nested_webpack_require_5013__(5406);
8029
- const memoize_1 = __nested_webpack_require_5013__(1808);
8518
+ const alias_1 = __nested_webpack_require_5013__(5413);
8519
+ const memoize_1 = __nested_webpack_require_5013__(6925);
8030
8520
  var caches;
8031
8521
  (function (caches) {
8032
8522
  // Closed only.
@@ -8246,7 +8736,7 @@ exports.defrag = defrag;
8246
8736
  /******/ // startup
8247
8737
  /******/ // Load entry module and return exports
8248
8738
  /******/ // This entry module is referenced by other modules so it can't be inlined
8249
- /******/ var __nested_webpack_exports__ = __nested_webpack_require_12534__(7521);
8739
+ /******/ var __nested_webpack_exports__ = __nested_webpack_require_12534__(5761);
8250
8740
  /******/
8251
8741
  /******/ return __nested_webpack_exports__;
8252
8742
  /******/ })()
@@ -8255,10 +8745,10 @@ exports.defrag = defrag;
8255
8745
 
8256
8746
  /***/ }),
8257
8747
 
8258
- /***/ 9252:
8748
+ /***/ 2282:
8259
8749
  /***/ (function(module) {
8260
8750
 
8261
- /*! typed-dom v0.0.348 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
8751
+ /*! typed-dom v0.0.349 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
8262
8752
  (function webpackUniversalModuleDefinition(root, factory) {
8263
8753
  if(true)
8264
8754
  module.exports = factory();
@@ -8308,19 +8798,19 @@ exports.querySelectorAll = querySelectorAll;
8308
8798
 
8309
8799
  /***/ }),
8310
8800
 
8311
- /***/ 2282:
8801
+ /***/ 611:
8312
8802
  /***/ ((module) => {
8313
8803
 
8314
8804
  "use strict";
8315
- module.exports = __WEBPACK_EXTERNAL_MODULE__2282__;
8805
+ module.exports = __WEBPACK_EXTERNAL_MODULE__611__;
8316
8806
 
8317
8807
  /***/ }),
8318
8808
 
8319
- /***/ 9736:
8809
+ /***/ 293:
8320
8810
  /***/ ((module) => {
8321
8811
 
8322
8812
  "use strict";
8323
- module.exports = __WEBPACK_EXTERNAL_MODULE__9736__;
8813
+ module.exports = __WEBPACK_EXTERNAL_MODULE__293__;
8324
8814
 
8325
8815
  /***/ })
8326
8816
 
@@ -8368,7 +8858,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9736__;
8368
8858
  /******/ // startup
8369
8859
  /******/ // Load entry module and return exports
8370
8860
  /******/ // This entry module is referenced by other modules so it can't be inlined
8371
- /******/ var __webpack_exports__ = __webpack_require__(8207);
8861
+ /******/ var __webpack_exports__ = __webpack_require__(8257);
8372
8862
  /******/
8373
8863
  /******/ return __webpack_exports__;
8374
8864
  /******/ })()