pdf-factory 0.8.6 → 0.8.8

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.
Files changed (184) hide show
  1. package/dist/__tests__/fixtureGuard.d.ts.map +1 -0
  2. package/dist/comparison/visualCompare.d.ts.map +1 -0
  3. package/dist/composition/composeOrderOfPlayOptions.d.ts.map +1 -0
  4. package/dist/composition/editorTypes.d.ts.map +1 -0
  5. package/dist/composition/footerLayouts.d.ts.map +1 -0
  6. package/dist/composition/headerLayouts.d.ts.map +1 -0
  7. package/dist/composition/page.d.ts.map +1 -0
  8. package/dist/composition/printDispatcher.d.ts.map +1 -0
  9. package/dist/composition/printModalTypes.d.ts.map +1 -0
  10. package/dist/composition/resolveCompositionConfig.d.ts.map +1 -0
  11. package/dist/composition/seedingsFooter.d.ts.map +1 -0
  12. package/dist/composition/tournamentBridge.d.ts.map +1 -0
  13. package/dist/config/compositionCatalog.d.ts.map +1 -0
  14. package/dist/config/factSheetCatalog.d.ts.map +1 -0
  15. package/dist/config/formatPresets.d.ts.map +1 -0
  16. package/dist/config/types.d.ts.map +1 -0
  17. package/dist/core/drawsDataToDrawData.d.ts.map +1 -0
  18. package/dist/core/extractCompassData.d.ts.map +1 -0
  19. package/dist/core/extractCourtCardData.d.ts.map +1 -0
  20. package/dist/core/extractDrawData.d.ts.map +1 -0
  21. package/dist/core/extractParticipantData.d.ts.map +1 -0
  22. package/dist/core/extractRoundRobinData.d.ts.map +1 -0
  23. package/dist/core/extractScheduleData.d.ts.map +1 -0
  24. package/dist/generators/courtCard.d.ts.map +1 -0
  25. package/dist/generators/drawPDF.d.ts.map +1 -0
  26. package/dist/generators/drawSheet.d.ts.map +1 -0
  27. package/dist/generators/factSheet.d.ts.map +1 -0
  28. package/dist/generators/generateFromEventData.d.ts.map +1 -0
  29. package/dist/generators/matchCard.d.ts.map +1 -0
  30. package/dist/generators/orderOfPlay.d.ts.map +1 -0
  31. package/dist/generators/playerList.d.ts.map +1 -0
  32. package/dist/generators/report.d.ts.map +1 -0
  33. package/dist/generators/schedule.d.ts.map +1 -0
  34. package/dist/generators/sequentialOOP.d.ts.map +1 -0
  35. package/dist/generators/signInSheet.d.ts.map +1 -0
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/layout/brackets.d.ts.map +1 -0
  38. package/dist/layout/fonts.d.ts.map +1 -0
  39. package/dist/layout/headers.d.ts.map +1 -0
  40. package/dist/layout/tables.d.ts.map +1 -0
  41. package/dist/parser/coordinateClustering.d.ts.map +1 -0
  42. package/dist/parser/drawExtractor.d.ts.map +1 -0
  43. package/dist/parser/pdfExtractor.d.ts.map +1 -0
  44. package/dist/parser/regionDetector.d.ts.map +1 -0
  45. package/dist/parser/textAnalyzer.d.ts.map +1 -0
  46. package/dist/parser/textMerger.d.ts.map +1 -0
  47. package/dist/parser.cjs +5 -5
  48. package/dist/parser.cjs.map +1 -1
  49. package/dist/parser.d.ts.map +1 -0
  50. package/dist/parser.js +71 -72
  51. package/dist/parser.js.map +1 -1
  52. package/dist/pdf-factory.cjs +2 -2
  53. package/dist/pdf-factory.cjs.map +1 -1
  54. package/dist/pdf-factory.js +4 -2
  55. package/dist/pdf-factory.js.map +1 -1
  56. package/dist/renderers/backdrawDraw.d.ts.map +1 -0
  57. package/dist/renderers/compassDraw.d.ts.map +1 -0
  58. package/dist/renderers/consolationDraw.d.ts.map +1 -0
  59. package/dist/renderers/doubleEliminationDraw.d.ts.map +1 -0
  60. package/dist/renderers/drawSplitter.d.ts.map +1 -0
  61. package/dist/renderers/formatEntry.d.ts.map +1 -0
  62. package/dist/renderers/luckyDraw.d.ts.map +1 -0
  63. package/dist/renderers/mirroredDraw.d.ts.map +1 -0
  64. package/dist/renderers/roundRobinDraw.d.ts.map +1 -0
  65. package/dist/renderers/traditionalDraw.d.ts.map +1 -0
  66. package/dist/utils/primitives.d.ts.map +1 -0
  67. package/package.json +6 -6
  68. package/dist/src/__tests__/fixtureGuard.d.ts.map +0 -1
  69. package/dist/src/comparison/visualCompare.d.ts.map +0 -1
  70. package/dist/src/composition/composeOrderOfPlayOptions.d.ts.map +0 -1
  71. package/dist/src/composition/editorTypes.d.ts.map +0 -1
  72. package/dist/src/composition/footerLayouts.d.ts.map +0 -1
  73. package/dist/src/composition/headerLayouts.d.ts.map +0 -1
  74. package/dist/src/composition/page.d.ts.map +0 -1
  75. package/dist/src/composition/printDispatcher.d.ts.map +0 -1
  76. package/dist/src/composition/printModalTypes.d.ts.map +0 -1
  77. package/dist/src/composition/resolveCompositionConfig.d.ts.map +0 -1
  78. package/dist/src/composition/seedingsFooter.d.ts.map +0 -1
  79. package/dist/src/composition/tournamentBridge.d.ts.map +0 -1
  80. package/dist/src/config/compositionCatalog.d.ts.map +0 -1
  81. package/dist/src/config/factSheetCatalog.d.ts.map +0 -1
  82. package/dist/src/config/formatPresets.d.ts.map +0 -1
  83. package/dist/src/config/types.d.ts.map +0 -1
  84. package/dist/src/core/drawsDataToDrawData.d.ts.map +0 -1
  85. package/dist/src/core/extractCompassData.d.ts.map +0 -1
  86. package/dist/src/core/extractCourtCardData.d.ts.map +0 -1
  87. package/dist/src/core/extractDrawData.d.ts.map +0 -1
  88. package/dist/src/core/extractParticipantData.d.ts.map +0 -1
  89. package/dist/src/core/extractRoundRobinData.d.ts.map +0 -1
  90. package/dist/src/core/extractScheduleData.d.ts.map +0 -1
  91. package/dist/src/generators/courtCard.d.ts.map +0 -1
  92. package/dist/src/generators/drawPDF.d.ts.map +0 -1
  93. package/dist/src/generators/drawSheet.d.ts.map +0 -1
  94. package/dist/src/generators/factSheet.d.ts.map +0 -1
  95. package/dist/src/generators/generateFromEventData.d.ts.map +0 -1
  96. package/dist/src/generators/matchCard.d.ts.map +0 -1
  97. package/dist/src/generators/orderOfPlay.d.ts.map +0 -1
  98. package/dist/src/generators/playerList.d.ts.map +0 -1
  99. package/dist/src/generators/report.d.ts.map +0 -1
  100. package/dist/src/generators/schedule.d.ts.map +0 -1
  101. package/dist/src/generators/sequentialOOP.d.ts.map +0 -1
  102. package/dist/src/generators/signInSheet.d.ts.map +0 -1
  103. package/dist/src/index.d.ts.map +0 -1
  104. package/dist/src/layout/brackets.d.ts.map +0 -1
  105. package/dist/src/layout/fonts.d.ts.map +0 -1
  106. package/dist/src/layout/headers.d.ts.map +0 -1
  107. package/dist/src/layout/tables.d.ts.map +0 -1
  108. package/dist/src/parser/coordinateClustering.d.ts.map +0 -1
  109. package/dist/src/parser/drawExtractor.d.ts.map +0 -1
  110. package/dist/src/parser/pdfExtractor.d.ts.map +0 -1
  111. package/dist/src/parser/regionDetector.d.ts.map +0 -1
  112. package/dist/src/parser/textAnalyzer.d.ts.map +0 -1
  113. package/dist/src/parser/textMerger.d.ts.map +0 -1
  114. package/dist/src/parser.d.ts.map +0 -1
  115. package/dist/src/renderers/backdrawDraw.d.ts.map +0 -1
  116. package/dist/src/renderers/compassDraw.d.ts.map +0 -1
  117. package/dist/src/renderers/consolationDraw.d.ts.map +0 -1
  118. package/dist/src/renderers/doubleEliminationDraw.d.ts.map +0 -1
  119. package/dist/src/renderers/drawSplitter.d.ts.map +0 -1
  120. package/dist/src/renderers/formatEntry.d.ts.map +0 -1
  121. package/dist/src/renderers/luckyDraw.d.ts.map +0 -1
  122. package/dist/src/renderers/mirroredDraw.d.ts.map +0 -1
  123. package/dist/src/renderers/roundRobinDraw.d.ts.map +0 -1
  124. package/dist/src/renderers/traditionalDraw.d.ts.map +0 -1
  125. package/dist/src/utils/primitives.d.ts.map +0 -1
  126. /package/dist/{src/__tests__ → __tests__}/fixtureGuard.d.ts +0 -0
  127. /package/dist/{src/comparison → comparison}/visualCompare.d.ts +0 -0
  128. /package/dist/{src/composition → composition}/composeOrderOfPlayOptions.d.ts +0 -0
  129. /package/dist/{src/composition → composition}/editorTypes.d.ts +0 -0
  130. /package/dist/{src/composition → composition}/footerLayouts.d.ts +0 -0
  131. /package/dist/{src/composition → composition}/headerLayouts.d.ts +0 -0
  132. /package/dist/{src/composition → composition}/page.d.ts +0 -0
  133. /package/dist/{src/composition → composition}/printDispatcher.d.ts +0 -0
  134. /package/dist/{src/composition → composition}/printModalTypes.d.ts +0 -0
  135. /package/dist/{src/composition → composition}/resolveCompositionConfig.d.ts +0 -0
  136. /package/dist/{src/composition → composition}/seedingsFooter.d.ts +0 -0
  137. /package/dist/{src/composition → composition}/tournamentBridge.d.ts +0 -0
  138. /package/dist/{src/config → config}/compositionCatalog.d.ts +0 -0
  139. /package/dist/{src/config → config}/factSheetCatalog.d.ts +0 -0
  140. /package/dist/{src/config → config}/formatPresets.d.ts +0 -0
  141. /package/dist/{src/config → config}/types.d.ts +0 -0
  142. /package/dist/{src/core → core}/drawsDataToDrawData.d.ts +0 -0
  143. /package/dist/{src/core → core}/extractCompassData.d.ts +0 -0
  144. /package/dist/{src/core → core}/extractCourtCardData.d.ts +0 -0
  145. /package/dist/{src/core → core}/extractDrawData.d.ts +0 -0
  146. /package/dist/{src/core → core}/extractParticipantData.d.ts +0 -0
  147. /package/dist/{src/core → core}/extractRoundRobinData.d.ts +0 -0
  148. /package/dist/{src/core → core}/extractScheduleData.d.ts +0 -0
  149. /package/dist/{src/generators → generators}/courtCard.d.ts +0 -0
  150. /package/dist/{src/generators → generators}/drawPDF.d.ts +0 -0
  151. /package/dist/{src/generators → generators}/drawSheet.d.ts +0 -0
  152. /package/dist/{src/generators → generators}/factSheet.d.ts +0 -0
  153. /package/dist/{src/generators → generators}/generateFromEventData.d.ts +0 -0
  154. /package/dist/{src/generators → generators}/matchCard.d.ts +0 -0
  155. /package/dist/{src/generators → generators}/orderOfPlay.d.ts +0 -0
  156. /package/dist/{src/generators → generators}/playerList.d.ts +0 -0
  157. /package/dist/{src/generators → generators}/report.d.ts +0 -0
  158. /package/dist/{src/generators → generators}/schedule.d.ts +0 -0
  159. /package/dist/{src/generators → generators}/sequentialOOP.d.ts +0 -0
  160. /package/dist/{src/generators → generators}/signInSheet.d.ts +0 -0
  161. /package/dist/{src/index.d.ts → index.d.ts} +0 -0
  162. /package/dist/{src/layout → layout}/brackets.d.ts +0 -0
  163. /package/dist/{src/layout → layout}/fonts.d.ts +0 -0
  164. /package/dist/{src/layout → layout}/headers.d.ts +0 -0
  165. /package/dist/{src/layout → layout}/tables.d.ts +0 -0
  166. /package/dist/{src/parser → parser}/coordinateClustering.d.ts +0 -0
  167. /package/dist/{src/parser → parser}/drawExtractor.d.ts +0 -0
  168. /package/dist/{src/parser → parser}/pdfExtractor.d.ts +0 -0
  169. /package/dist/{src/parser → parser}/regionDetector.d.ts +0 -0
  170. /package/dist/{src/parser → parser}/textAnalyzer.d.ts +0 -0
  171. /package/dist/{src/parser → parser}/textMerger.d.ts +0 -0
  172. /package/dist/{src/parser.d.ts → parser.d.ts} +0 -0
  173. /package/dist/{src/renderers → renderers}/backdrawDraw.d.ts +0 -0
  174. /package/dist/{src/renderers → renderers}/compassDraw.d.ts +0 -0
  175. /package/dist/{src/renderers → renderers}/consolationDraw.d.ts +0 -0
  176. /package/dist/{src/renderers → renderers}/doubleEliminationDraw.d.ts +0 -0
  177. /package/dist/{src/renderers → renderers}/drawSplitter.d.ts +0 -0
  178. /package/dist/{src/renderers → renderers}/formatEntry.d.ts +0 -0
  179. /package/dist/{src/renderers → renderers}/luckyDraw.d.ts +0 -0
  180. /package/dist/{src/renderers → renderers}/mirroredDraw.d.ts +0 -0
  181. /package/dist/{src/renderers → renderers}/roundRobinDraw.d.ts +0 -0
  182. /package/dist/{src/renderers → renderers}/traditionalDraw.d.ts +0 -0
  183. /package/dist/{chunk-C6qsp3rV.cjs → rolldown-runtime-C6qsp3rV.cjs} +0 -0
  184. /package/dist/{src/utils → utils}/primitives.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../src/parser.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACnF,YAAY,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAClE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC3E,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACtE,YAAY,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGxG,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC/F,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC"}
package/dist/parser.js CHANGED
@@ -2251,7 +2251,7 @@ var q = function() {
2251
2251
  }
2252
2252
  return e.prototype = {
2253
2253
  getRgb: function(e, t) {
2254
- var n = new Uint8Array(3);
2254
+ var n = /* @__PURE__ */ new Uint8Array(3);
2255
2255
  return this.getRgbItem(e, t, n, 0), n;
2256
2256
  },
2257
2257
  getRgbItem: function(e, t, n, r) {
@@ -2328,7 +2328,7 @@ var q = function() {
2328
2328
  }
2329
2329
  return e.prototype = {
2330
2330
  getRgb: function(e, t) {
2331
- var n = new Uint8Array(3);
2331
+ var n = /* @__PURE__ */ new Uint8Array(3);
2332
2332
  return this.getRgbItem(e, t, n, 0), n;
2333
2333
  },
2334
2334
  getRgbItem: function(e, t, n, r) {
@@ -2361,7 +2361,7 @@ var q = function() {
2361
2361
  }
2362
2362
  return e.prototype = {
2363
2363
  getRgb: function(e, t) {
2364
- var n = new Uint8Array(3);
2364
+ var n = /* @__PURE__ */ new Uint8Array(3);
2365
2365
  return this.getRgbItem(e, t, n, 0), n;
2366
2366
  },
2367
2367
  getRgbItem: function(e, t, n, r) {
@@ -2400,7 +2400,7 @@ var q = function() {
2400
2400
  }
2401
2401
  return t.prototype = {
2402
2402
  getRgb: function(t, n) {
2403
- var r = new Uint8Array(3);
2403
+ var r = /* @__PURE__ */ new Uint8Array(3);
2404
2404
  return e(t, n, 1, r, 0), r;
2405
2405
  },
2406
2406
  getRgbItem: function(t, n, r, i) {
@@ -2433,7 +2433,7 @@ var q = function() {
2433
2433
  }
2434
2434
  return e.prototype = {
2435
2435
  getRgb: function(e, t) {
2436
- var n = new Uint8Array(3);
2436
+ var n = /* @__PURE__ */ new Uint8Array(3);
2437
2437
  return this.getRgbItem(e, t, n, 0), n;
2438
2438
  },
2439
2439
  getRgbItem: function(e, t, n, r) {
@@ -2487,7 +2487,7 @@ var q = function() {
2487
2487
  }
2488
2488
  return e.prototype = {
2489
2489
  getRgb: function(e, t) {
2490
- var n = new Uint8Array(3);
2490
+ var n = /* @__PURE__ */ new Uint8Array(3);
2491
2491
  return r(this, e, t, !1, n, 0), n;
2492
2492
  },
2493
2493
  getRgbItem: function(e, t, n, i) {
@@ -2610,8 +2610,7 @@ lt.RadialAxial = function() {
2610
2610
  } }, e;
2611
2611
  }();
2612
2612
  var ut = function() {
2613
- var e = 1, t = 2;
2614
- function n(e, t, n, r, i, a) {
2613
+ function e(e, t, n, r, i, a) {
2615
2614
  this.name = e[1][0].name, this.operatorList = e[2], this.matrix = e[3] || [
2616
2615
  1,
2617
2616
  0,
@@ -2621,7 +2620,7 @@ var ut = function() {
2621
2620
  0
2622
2621
  ], this.bbox = e[4], this.xstep = e[5], this.ystep = e[6], this.paintType = e[7], this.tilingType = e[8], this.color = t, this.objs = r, this.commonObjs = i, this.baseTransform = a, this.type = "Pattern", this.ctx = n;
2623
2622
  }
2624
- return n.getIR = function(e, t, n) {
2623
+ return e.getIR = function(e, t, n) {
2625
2624
  return [
2626
2625
  "TilingPattern",
2627
2626
  n,
@@ -2633,7 +2632,7 @@ var ut = function() {
2633
2632
  t.get("PaintType"),
2634
2633
  t.get("TilingType")
2635
2634
  ];
2636
- }, n.prototype = {
2635
+ }, e.prototype = {
2637
2636
  createPatternCanvas: function(e) {
2638
2637
  var t = this.operatorList, n = this.bbox, r = this.xstep, i = this.ystep, a = this.paintType, o = this.tilingType, s = this.color, c = this.objs, l = this.commonObjs;
2639
2638
  this.ctx, ye("TilingType: " + o);
@@ -2675,24 +2674,24 @@ var ut = function() {
2675
2674
  e.rectangle(n, r, o, s), e.clip(), e.endPath();
2676
2675
  }
2677
2676
  },
2678
- setFillAndStrokeStyleToContext: function(n, r, i) {
2679
- switch (r) {
2680
- case e:
2681
- var a = this.ctx;
2682
- n.fillStyle = a.fillStyle, n.strokeStyle = a.strokeStyle;
2677
+ setFillAndStrokeStyleToContext: function(e, t, n) {
2678
+ switch (t) {
2679
+ case 1:
2680
+ var r = this.ctx;
2681
+ e.fillStyle = r.fillStyle, e.strokeStyle = r.strokeStyle;
2683
2682
  break;
2684
- case t:
2685
- var o = q.singletons.rgb.getRgb(i, 0), s = U.makeCssRgb(o);
2686
- n.fillStyle = s, n.strokeStyle = s;
2683
+ case 2:
2684
+ var i = q.singletons.rgb.getRgb(n, 0), a = U.makeCssRgb(i);
2685
+ e.fillStyle = a, e.strokeStyle = a;
2687
2686
  break;
2688
- default: H("Unsupported paint type: " + r);
2687
+ default: H("Unsupported paint type: " + t);
2689
2688
  }
2690
2689
  },
2691
2690
  getPattern: function(e, t) {
2692
2691
  var n = this.createPatternCanvas(t);
2693
2692
  return (e = this.ctx).setTransform.apply(e, this.baseTransform), e.transform.apply(e, this.matrix), this.scaleToContext(), e.createPattern(n, "repeat");
2694
2693
  }
2695
- }, n;
2694
+ }, e;
2696
2695
  }(), dt = {
2697
2696
  getSampleArray: function(e, t, n, r) {
2698
2697
  for (var i = 1, a = 0, o = e.length; a < o; a++) i *= e[a];
@@ -4293,7 +4292,7 @@ var bt, xt, St, Ct = function() {
4293
4292
  }(), zt = /* @__PURE__ */ ".notdef,space,exclam,quotedbl,numbersign,dollar,percent,ampersand,quoteright,parenleft,parenright,asterisk,plus,comma,hyphen,period,slash,zero,one,two,three,four,five,six,seven,eight,nine,colon,semicolon,less,equal,greater,question,at,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,bracketleft,backslash,bracketright,asciicircum,underscore,quoteleft,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,braceleft,bar,braceright,asciitilde,exclamdown,cent,sterling,fraction,yen,florin,section,currency,quotesingle,quotedblleft,guillemotleft,guilsinglleft,guilsinglright,fi,fl,endash,dagger,daggerdbl,periodcentered,paragraph,bullet,quotesinglbase,quotedblbase,quotedblright,guillemotright,ellipsis,perthousand,questiondown,grave,acute,circumflex,tilde,macron,breve,dotaccent,dieresis,ring,cedilla,hungarumlaut,ogonek,caron,emdash,AE,ordfeminine,Lslash,Oslash,OE,ordmasculine,ae,dotlessi,lslash,oslash,oe,germandbls,onesuperior,logicalnot,mu,trademark,Eth,onehalf,plusminus,Thorn,onequarter,divide,brokenbar,degree,thorn,threequarters,twosuperior,registered,minus,eth,multiply,threesuperior,copyright,Aacute,Acircumflex,Adieresis,Agrave,Aring,Atilde,Ccedilla,Eacute,Ecircumflex,Edieresis,Egrave,Iacute,Icircumflex,Idieresis,Igrave,Ntilde,Oacute,Ocircumflex,Odieresis,Ograve,Otilde,Scaron,Uacute,Ucircumflex,Udieresis,Ugrave,Yacute,Ydieresis,Zcaron,aacute,acircumflex,adieresis,agrave,aring,atilde,ccedilla,eacute,ecircumflex,edieresis,egrave,iacute,icircumflex,idieresis,igrave,ntilde,oacute,ocircumflex,odieresis,ograve,otilde,scaron,uacute,ucircumflex,udieresis,ugrave,yacute,ydieresis,zcaron".split(","), Bt = /* @__PURE__ */ ".notdef,space,exclamsmall,Hungarumlautsmall,dollaroldstyle,dollarsuperior,ampersandsmall,Acutesmall,parenleftsuperior,parenrightsuperior,twodotenleader,onedotenleader,comma,hyphen,period,fraction,zerooldstyle,oneoldstyle,twooldstyle,threeoldstyle,fouroldstyle,fiveoldstyle,sixoldstyle,sevenoldstyle,eightoldstyle,nineoldstyle,colon,semicolon,commasuperior,threequartersemdash,periodsuperior,questionsmall,asuperior,bsuperior,centsuperior,dsuperior,esuperior,isuperior,lsuperior,msuperior,nsuperior,osuperior,rsuperior,ssuperior,tsuperior,ff,fi,fl,ffi,ffl,parenleftinferior,parenrightinferior,Circumflexsmall,hyphensuperior,Gravesmall,Asmall,Bsmall,Csmall,Dsmall,Esmall,Fsmall,Gsmall,Hsmall,Ismall,Jsmall,Ksmall,Lsmall,Msmall,Nsmall,Osmall,Psmall,Qsmall,Rsmall,Ssmall,Tsmall,Usmall,Vsmall,Wsmall,Xsmall,Ysmall,Zsmall,colonmonetary,onefitted,rupiah,Tildesmall,exclamdownsmall,centoldstyle,Lslashsmall,Scaronsmall,Zcaronsmall,Dieresissmall,Brevesmall,Caronsmall,Dotaccentsmall,Macronsmall,figuredash,hypheninferior,Ogoneksmall,Ringsmall,Cedillasmall,onequarter,onehalf,threequarters,questiondownsmall,oneeighth,threeeighths,fiveeighths,seveneighths,onethird,twothirds,zerosuperior,onesuperior,twosuperior,threesuperior,foursuperior,fivesuperior,sixsuperior,sevensuperior,eightsuperior,ninesuperior,zeroinferior,oneinferior,twoinferior,threeinferior,fourinferior,fiveinferior,sixinferior,seveninferior,eightinferior,nineinferior,centinferior,dollarinferior,periodinferior,commainferior,Agravesmall,Aacutesmall,Acircumflexsmall,Atildesmall,Adieresissmall,Aringsmall,AEsmall,Ccedillasmall,Egravesmall,Eacutesmall,Ecircumflexsmall,Edieresissmall,Igravesmall,Iacutesmall,Icircumflexsmall,Idieresissmall,Ethsmall,Ntildesmall,Ogravesmall,Oacutesmall,Ocircumflexsmall,Otildesmall,Odieresissmall,OEsmall,Oslashsmall,Ugravesmall,Uacutesmall,Ucircumflexsmall,Udieresissmall,Yacutesmall,Thornsmall,Ydieresissmall".split(","), Vt = /* @__PURE__ */ ".notdef,space,dollaroldstyle,dollarsuperior,parenleftsuperior,parenrightsuperior,twodotenleader,onedotenleader,comma,hyphen,period,fraction,zerooldstyle,oneoldstyle,twooldstyle,threeoldstyle,fouroldstyle,fiveoldstyle,sixoldstyle,sevenoldstyle,eightoldstyle,nineoldstyle,colon,semicolon,commasuperior,threequartersemdash,periodsuperior,asuperior,bsuperior,centsuperior,dsuperior,esuperior,isuperior,lsuperior,msuperior,nsuperior,osuperior,rsuperior,ssuperior,tsuperior,ff,fi,fl,ffi,ffl,parenleftinferior,parenrightinferior,hyphensuperior,colonmonetary,onefitted,rupiah,centoldstyle,figuredash,hypheninferior,onequarter,onehalf,threequarters,oneeighth,threeeighths,fiveeighths,seveneighths,onethird,twothirds,zerosuperior,onesuperior,twosuperior,threesuperior,foursuperior,fivesuperior,sixsuperior,sevensuperior,eightsuperior,ninesuperior,zeroinferior,oneinferior,twoinferior,threeinferior,fourinferior,fiveinferior,sixinferior,seveninferior,eightinferior,nineinferior,centinferior,dollarinferior,periodinferior,commainferior".split(","), Ht = function() {
4294
4293
  function e(e) {
4295
4294
  this.a = 0, this.b = 0;
4296
- var t, n, r = new Uint8Array(256), i = 0, a = e.length;
4295
+ var t, n, r = /* @__PURE__ */ new Uint8Array(256), i = 0, a = e.length;
4297
4296
  for (t = 0; t < 256; ++t) r[t] = t;
4298
4297
  for (t = 0; t < 256; ++t) i = i + (n = r[t]) + e[t % a] & 255, r[t] = r[i], r[i] = n;
4299
4298
  this.s = r;
@@ -4438,7 +4437,7 @@ var bt, xt, St, Ct = function() {
4438
4437
  for (r = 0; r < n; ++r) d[r] = e[t++];
4439
4438
  for (d[r++] = 128, a = u - 8; r < a;) d[r++] = 0;
4440
4439
  d[r++] = n << 3 & 255, d[r++] = n >> 5 & 255, d[r++] = n >> 13 & 255, d[r++] = n >> 21 & 255, d[r++] = n >>> 29 & 255, d[r++] = 0, d[r++] = 0, d[r++] = 0;
4441
- var f = new Int32Array(16);
4440
+ var f = /* @__PURE__ */ new Int32Array(16);
4442
4441
  for (r = 0; r < u;) {
4443
4442
  for (i = 0; i < 16; ++i, r += 4) f[i] = d[r] | d[r + 1] << 8 | d[r + 2] << 16 | d[r + 3] << 24;
4444
4443
  var p, m, h = o, g = s, _ = c, v = l;
@@ -5503,7 +5502,7 @@ var bt, xt, St, Ct = function() {
5503
5502
  2370213795
5504
5503
  ]);
5505
5504
  function i(e, t) {
5506
- var i, a, o, s, c, l, u = new Uint8Array(16);
5505
+ var i, a, o, s, c, l, u = /* @__PURE__ */ new Uint8Array(16);
5507
5506
  for (u.set(e), a = 0, o = 160; a < 16; ++a, ++o) u[a] ^= t[o];
5508
5507
  for (i = 9; i >= 1; --i) {
5509
5508
  for (s = u[13], u[13] = u[9], u[9] = u[5], u[5] = u[1], u[1] = s, s = u[14], c = u[10], u[14] = u[6], u[10] = u[2], u[6] = s, u[2] = c, s = u[15], c = u[11], l = u[7], u[15] = u[3], u[11] = s, u[7] = c, u[3] = l, a = 0; a < 16; ++a) u[a] = n[u[a]];
@@ -5518,7 +5517,7 @@ var bt, xt, St, Ct = function() {
5518
5517
  }
5519
5518
  function a(n) {
5520
5519
  this.key = function(n) {
5521
- var r = new Uint8Array(176);
5520
+ var r = /* @__PURE__ */ new Uint8Array(176);
5522
5521
  r.set(n);
5523
5522
  for (var i = 16, a = 1; i < 176; ++a) {
5524
5523
  var o = r[i - 3], s = r[i - 2], c = r[i - 1], l = r[i - 4];
@@ -5526,14 +5525,14 @@ var bt, xt, St, Ct = function() {
5526
5525
  for (var u = 0; u < 4; ++u) r[i] = o ^= r[i - 16], r[++i] = s ^= r[i - 16], r[++i] = c ^= r[i - 16], r[++i] = l ^= r[i - 16], i++;
5527
5526
  }
5528
5527
  return r;
5529
- }(n), this.buffer = new Uint8Array(16), this.bufferPosition = 0;
5528
+ }(n), this.buffer = /* @__PURE__ */ new Uint8Array(16), this.bufferPosition = 0;
5530
5529
  }
5531
5530
  function o(e, t) {
5532
5531
  var n, r, a, o = e.length, s = this.buffer, c = this.bufferPosition, l = [], u = this.iv;
5533
5532
  for (n = 0; n < o; ++n) if (s[c] = e[n], !(++c < 16)) {
5534
5533
  var d = i(s, this.key);
5535
5534
  for (r = 0; r < 16; ++r) d[r] ^= u[r];
5536
- u = s, l.push(d), s = new Uint8Array(16), c = 0;
5535
+ u = s, l.push(d), s = /* @__PURE__ */ new Uint8Array(16), c = 0;
5537
5536
  }
5538
5537
  if (this.buffer = s, this.bufferLength = c, this.iv = u, l.length === 0) return new Uint8Array([]);
5539
5538
  var f = 16 * l.length;
@@ -5548,7 +5547,7 @@ var bt, xt, St, Ct = function() {
5548
5547
  return a.prototype = { decryptBlock: function(e, t) {
5549
5548
  var n, r = e.length, i = this.buffer, a = this.bufferPosition;
5550
5549
  for (n = 0; a < 16 && n < r; ++n, ++a) i[a] = e[n];
5551
- return a < 16 ? (this.bufferLength = a, new Uint8Array([])) : (this.iv = i, this.buffer = new Uint8Array(16), this.bufferLength = 0, this.decryptBlock = o, this.decryptBlock(e.subarray(16), t));
5550
+ return a < 16 ? (this.bufferLength = a, new Uint8Array([])) : (this.iv = i, this.buffer = /* @__PURE__ */ new Uint8Array(16), this.bufferLength = 0, this.decryptBlock = o, this.decryptBlock(e.subarray(16), t));
5552
5551
  } }, a;
5553
5552
  }(), Kt = function() {
5554
5553
  function e(e, t) {
@@ -5640,7 +5639,7 @@ var bt, xt, St, Ct = function() {
5640
5639
  var g = t(h, m, l, u, d, f, c, p);
5641
5640
  if (!g && !a) throw new De("No password given", Ee.NEED_PASSWORD);
5642
5641
  if (!g && a && (g = t(h, function(t, n, r, i) {
5643
- var a, o, s = new Uint8Array(32), c = 0;
5642
+ var a, o, s = /* @__PURE__ */ new Uint8Array(32), c = 0;
5644
5643
  for (o = Math.min(32, t.length); c < o; ++c) s[c] = t[c];
5645
5644
  for (a = 0; c < 32;) s[c++] = e[a++];
5646
5645
  var l, u = Ut(s, 0, c), d = i >> 3;
@@ -6729,7 +6728,7 @@ var bt, xt, St, Ct = function() {
6729
6728
  }, e;
6730
6729
  }(), Yt = function() {
6731
6730
  function e(e, t) {
6732
- this.messageHandler = e, this.fnArray = e ? new Uint8Array(100) : [], this.argsArray = [], this.dependencies = {}, this.pageIndex = t, this.fnIndex = 0;
6731
+ this.messageHandler = e, this.fnArray = e ? /* @__PURE__ */ new Uint8Array(100) : [], this.argsArray = [], this.dependencies = {}, this.pageIndex = t, this.fnIndex = 0;
6733
6732
  }
6734
6733
  return e.prototype = {
6735
6734
  get length() {
@@ -20058,7 +20057,7 @@ var Jn = function() {
20058
20057
  t > r && (t = r);
20059
20058
  } else {
20060
20059
  for (; !this.eof;) this.readBlock();
20061
- (t = this.bufferLength) || (this.buffer = new Uint8Array());
20060
+ (t = this.bufferLength) || (this.buffer = /* @__PURE__ */ new Uint8Array());
20062
20061
  }
20063
20062
  return this.pos = t, this.buffer.subarray(n, t);
20064
20063
  },
@@ -20987,7 +20986,7 @@ var Jn = function() {
20987
20986
  }, e;
20988
20987
  }(), or = function() {
20989
20988
  function e(e) {
20990
- this.str = e, this.dict = e.dict, this.input = new Uint8Array(5), Qn.call(this);
20989
+ this.str = e, this.dict = e.dict, this.input = /* @__PURE__ */ new Uint8Array(5), Qn.call(this);
20991
20990
  }
20992
20991
  return e.prototype = Object.create(Qn.prototype), e.prototype.readBlock = function() {
20993
20992
  for (var e = this.str, t = e.getByte(); Yn.isSpace(t);) t = e.getByte();
@@ -22354,7 +22353,7 @@ var Jn = function() {
22354
22353
  }, e;
22355
22354
  }(), dr = function() {
22356
22355
  function e() {
22357
- Zn.call(this, new Uint8Array());
22356
+ Zn.call(this, /* @__PURE__ */ new Uint8Array());
22358
22357
  }
22359
22358
  return e.prototype = Zn.prototype, e;
22360
22359
  }();
@@ -24187,7 +24186,7 @@ var gr = function() {
24187
24186
  return n < 31 ? i & (1 << n) - 1 : i - 2 ** n;
24188
24187
  }
24189
24188
  t.prototype = { getContexts: function(e) {
24190
- return e in this ? this[e] : this[e] = new Int8Array(65536);
24189
+ return e in this ? this[e] : this[e] = /* @__PURE__ */ new Int8Array(65536);
24191
24190
  } }, n.prototype = {
24192
24191
  get decoder() {
24193
24192
  return Te(this, "decoder", new e(this.data, this.start, this.end));
@@ -24615,7 +24614,7 @@ var gr = function() {
24615
24614
  g.push(v), u += h;
24616
24615
  }
24617
24616
  if (n.referredTo = g, o ? (n.pageAssociation = f(e, u), u += 4) : n.pageAssociation = e[u++], n.length = f(e, u), u += 4, n.length == 4294967295) if (i === 38) {
24618
- var x = y(e, u), S = !!(1 & e[u + b]), C = new Uint8Array(6);
24617
+ var x = y(e, u), S = !!(1 & e[u + b]), C = /* @__PURE__ */ new Uint8Array(6);
24619
24618
  S || (C[0] = 255, C[1] = 172), C[2] = x.height >>> 24 & 255, C[3] = x.height >> 16 & 255, C[4] = x.height >> 8 & 255, C[5] = 255 & x.height, _ = u;
24620
24619
  for (var w = e.length; _ < w; _++) {
24621
24620
  for (var T = 0; T < 6 && C[T] === e[_ + T];) T++;
@@ -25142,7 +25141,7 @@ var gr = function() {
25142
25141
  return n - f;
25143
25142
  }
25144
25143
  function f(e, l) {
25145
- var u, d, f = [], p = l.blocksPerLine, m = l.blocksPerColumn, h = p << 3, g = new Int32Array(64), _ = new Uint8Array(64);
25144
+ var u, d, f = [], p = l.blocksPerLine, m = l.blocksPerColumn, h = p << 3, g = /* @__PURE__ */ new Int32Array(64), _ = /* @__PURE__ */ new Uint8Array(64);
25146
25145
  function v(e, u, d) {
25147
25146
  var f, p, m, h, g, _, v, y, b, x, S = l.quantizationTable, C = d;
25148
25147
  for (x = 0; x < 64; x++) C[x] = e[x] * S[x];
@@ -25199,7 +25198,7 @@ var gr = function() {
25199
25198
  for (n in e.components) if (e.components.hasOwnProperty(n)) {
25200
25199
  t = e.components[n];
25201
25200
  for (var s = Math.ceil(Math.ceil(e.samplesPerLine / 8) * t.h / r), c = Math.ceil(Math.ceil(e.scanLines / 8) * t.v / i), l = a * t.h, u = o * t.v, d = [], f = 0; f < u; f++) {
25202
- for (var p = [], m = 0; m < l; m++) p.push(new Int32Array(64));
25201
+ for (var p = [], m = 0; m < l; m++) p.push(/* @__PURE__ */ new Int32Array(64));
25203
25202
  d.push(p);
25204
25203
  }
25205
25204
  t.blocksPerLine = s, t.blocksPerColumn = c, t.blocks = d;
@@ -25249,7 +25248,7 @@ var gr = function() {
25249
25248
  break;
25250
25249
  case 65499:
25251
25250
  for (var b = r() + n - 2; n < b;) {
25252
- var x = t[n++], S = new Int32Array(64);
25251
+ var x = t[n++], S = /* @__PURE__ */ new Int32Array(64);
25253
25252
  if (x >> 4) {
25254
25253
  if (x >> 4 != 1) throw "DQT: invalid table spec";
25255
25254
  for (v = 0; v < 64; v++) S[e[v]] = r();
@@ -25275,7 +25274,7 @@ var gr = function() {
25275
25274
  case 65476:
25276
25275
  var O = r();
25277
25276
  for (re = 2; re < O;) {
25278
- var k = t[n++], A = new Uint8Array(16), j = 0;
25277
+ var k = t[n++], A = /* @__PURE__ */ new Uint8Array(16), j = 0;
25279
25278
  for (v = 0; v < 16; v++, n++) j += A[v] = t[n];
25280
25279
  var M = new Uint8Array(j);
25281
25280
  for (v = 0; v < j; v++, n++) M[v] = t[n];
@@ -98980,7 +98979,7 @@ function Li() {
98980
98979
  }
98981
98980
  //#endregion
98982
98981
  //#region src/parser/textAnalyzer.ts
98983
- var Ri = "player-name", zi = /^[A-Z]{3}$/, Bi = /^\d[/-]\d(\(\d+\))?\s+\d[/-]\d(\(\d+\))?(\s+\d[/-]\d(\(\d+\))?)?$/, Vi = /^\d[/-]\d(\(\d+\))?$/, Hi = /^\[(\d{1,2})\]$/, Ui = /^\((\d{1,2})\)$/, Wi = /^\(?([A-Z]{1,3})\)?$|^-([A-Z]{1,3})$/, Gi = /^\d{1,3}\.?$/, Ki = /^[A-Z][A-Z'-]+[,\s]+[A-Za-z][A-Za-z'-]+/, qi = /^[A-Z]{2,}[,\s]+[A-Z][a-z]+/, Ji = new Set(/* @__PURE__ */ "First Round.Second Round.Third Round.Fourth Round.Round 1.Round 2.Round 3.Round 4.Round of 16.Round of 32.Round of 64.Round of 128.Quarter-Finals.Quarter-finals.Quarterfinals.QF.Semi-Finals.Semi-finals.Semifinals.SF.Final.Finals.F.1er TOUR.2eme TOUR.3eme TOUR.1/8 FINALE.1/4 FINALE.1/2 FINALE.FINALE.R16.R32.R64.R128".split(".")), Yi = new Set([
98982
+ var Ri = "player-name", zi = /^[A-Z]{3}$/, Bi = /^\d[/-]\d(\(\d+\))?\s+\d[/-]\d(\(\d+\))?(\s+\d[/-]\d(\(\d+\))?)?$/, Vi = /^\d[/-]\d(\(\d+\))?$/, Hi = /^\[(\d{1,2})\]$/, Ui = /^\((\d{1,2})\)$/, Wi = /^\(?([A-Z]{1,3})\)?$|^-([A-Z]{1,3})$/, Gi = /^\d{1,3}\.?$/, Ki = /^[A-Z][A-Z'-]+[,\s]+[A-Za-z][A-Za-z'-]+/, qi = /^[A-Z]{2,}[,\s]+[A-Z][a-z]+/, Ji = /* @__PURE__ */ new Set(/* @__PURE__ */ "First Round.Second Round.Third Round.Fourth Round.Round 1.Round 2.Round 3.Round 4.Round of 16.Round of 32.Round of 64.Round of 128.Quarter-Finals.Quarter-finals.Quarterfinals.QF.Semi-Finals.Semi-finals.Semifinals.SF.Final.Finals.F.1er TOUR.2eme TOUR.3eme TOUR.1/8 FINALE.1/4 FINALE.1/2 FINALE.FINALE.R16.R32.R64.R128".split(".")), Yi = /* @__PURE__ */ new Set([
98984
98983
  "WC",
98985
98984
  "Q",
98986
98985
  "LL",
@@ -98991,14 +98990,14 @@ var Ri = "player-name", zi = /^[A-Z]{3}$/, Bi = /^\d[/-]\d(\(\d+\))?\s+\d[/-]\d(
98991
98990
  "L",
98992
98991
  "DA",
98993
98992
  "PR"
98994
- ]), Xi = new Set([
98993
+ ]), Xi = /* @__PURE__ */ new Set([
98995
98994
  "Ret.",
98996
98995
  "RET",
98997
98996
  "Ab",
98998
98997
  "Ab.",
98999
98998
  "ret.",
99000
98999
  "Retired"
99001
- ]), Zi = new Set([
99000
+ ]), Zi = /* @__PURE__ */ new Set([
99002
99001
  "w/o",
99003
99002
  "W/O",
99004
99003
  "w.o.",
@@ -101286,7 +101285,7 @@ var pa = {
101286
101285
  var r = n(6518), i = n(9565), a = n(9306), o = n(8551), s = n(1767), c = n(8646), l = n(9462), u = n(9539), d = n(6395), f = n(684), p = n(4549);
101287
101286
  function m() {
101288
101287
  try {
101289
- var e = Iterator.prototype.flatMap.call(new Map([[4, 5]]).entries(), function(e) {
101288
+ var e = Iterator.prototype.flatMap.call((/* @__PURE__ */ new Map([[4, 5]])).entries(), function(e) {
101290
101289
  return e;
101291
101290
  });
101292
101291
  e.next(), e.return();
@@ -101740,7 +101739,7 @@ var pa = {
101740
101739
  };
101741
101740
  } };
101742
101741
  }
101743
- }, t = new Set([
101742
+ }, t = /* @__PURE__ */ new Set([
101744
101743
  1,
101745
101744
  2,
101746
101745
  3,
@@ -101759,11 +101758,11 @@ var pa = {
101759
101758
  forced: !n(4916)("intersection", function(e) {
101760
101759
  return e.size === 2 && e.has(1) && e.has(2);
101761
101760
  }) || i(function() {
101762
- return String(Array.from(new Set([
101761
+ return String(Array.from((/* @__PURE__ */ new Set([
101763
101762
  1,
101764
101763
  2,
101765
101764
  3
101766
- ]).intersection(new Set([3, 2])))) !== "3,2";
101765
+ ])).intersection(/* @__PURE__ */ new Set([3, 2])))) !== "3,2";
101767
101766
  })
101768
101767
  }, { intersection: a });
101769
101768
  },
@@ -101821,7 +101820,7 @@ var pa = {
101821
101820
  9577(e, t, n) {
101822
101821
  var r = n(4644), i = n(1108), a = n(6198), o = n(1291), s = n(5854), c = r.aTypedArray, l = r.getTypedArrayConstructor, u = r.exportTypedArrayMethod, d = RangeError, f = function() {
101823
101822
  try {
101824
- new Int8Array(1).with(2, { valueOf: function() {
101823
+ (/* @__PURE__ */ new Int8Array(1)).with(2, { valueOf: function() {
101825
101824
  throw 8;
101826
101825
  } });
101827
101826
  } catch (e) {
@@ -101829,7 +101828,7 @@ var pa = {
101829
101828
  }
101830
101829
  }(), p = f && function() {
101831
101830
  try {
101832
- new Int8Array(1).with(-.5, 1);
101831
+ (/* @__PURE__ */ new Int8Array(1)).with(-.5, 1);
101833
101832
  } catch {
101834
101833
  return !0;
101835
101834
  }
@@ -102410,7 +102409,7 @@ function Za(e) {
102410
102409
  return String.fromCharCode(e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, e & 255);
102411
102410
  }
102412
102411
  function Qa() {
102413
- let e = new Uint8Array(4);
102412
+ let e = /* @__PURE__ */ new Uint8Array(4);
102414
102413
  return e[0] = 1, new Uint32Array(e.buffer, 0, 1)[0] === 1;
102415
102414
  }
102416
102415
  function $a() {
@@ -102573,11 +102572,11 @@ function no(e) {
102573
102572
  }
102574
102573
  var ro = null, io = null;
102575
102574
  function ao(e) {
102576
- return ro || (ro = /([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu, io = new Map([["ſt", "ſt"]])), e.replaceAll(ro, (e, t, n) => t ? t.normalize("NFKC") : io.get(n));
102575
+ return ro || (ro = /([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu, io = /* @__PURE__ */ new Map([["ſt", "ſt"]])), e.replaceAll(ro, (e, t, n) => t ? t.normalize("NFKC") : io.get(n));
102577
102576
  }
102578
102577
  function oo() {
102579
102578
  if (typeof crypto.randomUUID == "function") return crypto.randomUUID();
102580
- let e = new Uint8Array(32);
102579
+ let e = /* @__PURE__ */ new Uint8Array(32);
102581
102580
  return crypto.getRandomValues(e), Ya(e);
102582
102581
  }
102583
102582
  var so = "pdfjs_internal_id_";
@@ -103164,7 +103163,7 @@ var Ko = /* @__PURE__ */ new Map();
103164
103163
  function qo(e, t) {
103165
103164
  let n = e[0] + e[1] * 256 + e[2] * 65536 + t[0] * 16777216 + t[1] * 4294967296 + t[2] * 1099511627776, r = Ko.get(n);
103166
103165
  if (r) return r;
103167
- let i = new Float32Array(9), a = i.subarray(0, 3), o = i.subarray(3, 6);
103166
+ let i = /* @__PURE__ */ new Float32Array(9), a = i.subarray(0, 3), o = i.subarray(3, 6);
103168
103167
  Ho(e, o);
103169
103168
  let s = i.subarray(6, 9);
103170
103169
  Ho(t, s);
@@ -103630,7 +103629,7 @@ var $o = class e {
103630
103629
  o && !o(e, t) || (r.bind(e, ...a, t)(), i || Oo(t));
103631
103630
  }
103632
103631
  }, is = class e {
103633
- static _colorsMapping = new Map([["CanvasText", [
103632
+ static _colorsMapping = /* @__PURE__ */ new Map([["CanvasText", [
103634
103633
  0,
103635
103634
  0,
103636
103635
  0
@@ -103640,7 +103639,7 @@ var $o = class e {
103640
103639
  255
103641
103640
  ]]]);
103642
103641
  get _colors() {
103643
- let e = new Map([["CanvasText", null], ["Canvas", null]]);
103642
+ let e = /* @__PURE__ */ new Map([["CanvasText", null], ["Canvas", null]]);
103644
103643
  return No(e), Z(this, "_colors", e);
103645
103644
  }
103646
103645
  convert(t) {
@@ -108290,7 +108289,7 @@ var hc = class {
108290
108289
  else if (this._type === "radial") {
108291
108290
  let a = this._r0, o = this._r1;
108292
108291
  if (t) {
108293
- let e = new Float32Array(2);
108292
+ let e = /* @__PURE__ */ new Float32Array(2);
108294
108293
  Q.singularValueDecompose2dScale(t, e), a *= e[0], o *= e[0];
108295
108294
  }
108296
108295
  n = e.createRadialGradient(r[0], r[1], a, i[0], i[1], o);
@@ -108303,7 +108302,7 @@ var hc = class {
108303
108302
  t && (n = n.slice(), r = r.slice(), Q.applyTransform(n, t), Q.applyTransform(r, t));
108304
108303
  let i = this._r1, a = this._r0;
108305
108304
  if (t) {
108306
- let e = new Float32Array(2);
108305
+ let e = /* @__PURE__ */ new Float32Array(2);
108307
108306
  Q.singularValueDecompose2dScale(t, e), i *= e[0], a *= e[0];
108308
108307
  }
108309
108308
  let o = e.createRadialGradient(n[0], n[1], i, r[0], r[1], a), s = this._colorStops.map(([e, t]) => [1 - e, t]).reverse();
@@ -108413,7 +108412,7 @@ var yc = class extends hc {
108413
108412
  }
108414
108413
  getPattern(e, t, n, r) {
108415
108414
  mc(e, this._bbox);
108416
- let i = new Float32Array(2);
108415
+ let i = /* @__PURE__ */ new Float32Array(2);
108417
108416
  if (r === pc.SHADING) Q.singularValueDecompose2dScale(Po(e), i);
108418
108417
  else if (this.matrix) {
108419
108418
  Q.singularValueDecompose2dScale(this.matrix, i);
@@ -108449,7 +108448,7 @@ var Sc = {
108449
108448
  createPatternCanvas(e, t) {
108450
108449
  let { bbox: n, operatorList: r, paintType: i, tilingType: a, color: o, canvasGraphicsFactory: s } = this, { xstep: c, ystep: l } = this;
108451
108450
  c = Math.abs(c), l = Math.abs(l), Fa("TilingType: " + a);
108452
- let u = n[0], d = n[1], f = n[2], p = n[3], m = f - u, h = p - d, g = new Float32Array(2);
108451
+ let u = n[0], d = n[1], f = n[2], p = n[3], m = f - u, h = p - d, g = /* @__PURE__ */ new Float32Array(2);
108453
108452
  Q.singularValueDecompose2dScale(this.matrix, g);
108454
108453
  let [_, v] = g;
108455
108454
  Q.singularValueDecompose2dScale(this.baseTransform, g);
@@ -108538,7 +108537,7 @@ function wc({ src: e, srcPos: t = 0, dest: n, width: r, height: i, nonBlackColor
108538
108537
  destPos: m
108539
108538
  };
108540
108539
  }
108541
- var Tc = 16, Ec = 100, Dc = 15, Oc = 10, kc = 16, Ac = new DOMMatrix(), jc = new Float32Array(2), Mc = new Float32Array([
108540
+ var Tc = 16, Ec = 100, Dc = 15, Oc = 10, kc = 16, Ac = new DOMMatrix(), jc = /* @__PURE__ */ new Float32Array(2), Mc = new Float32Array([
108542
108541
  Infinity,
108543
108542
  Infinity,
108544
108543
  -Infinity,
@@ -110677,7 +110676,7 @@ var wl = class {
110677
110676
  }
110678
110677
  static get fontFamilyMap() {
110679
110678
  let { isWindows: e, isFirefox: t } = eo.platform;
110680
- return Z(this, "fontFamilyMap", new Map([["sans-serif", `${e && t ? "Calibri, " : ""}sans-serif`], ["monospace", `${e && t ? "Lucida Console, " : ""}monospace`]]));
110679
+ return Z(this, "fontFamilyMap", /* @__PURE__ */ new Map([["sans-serif", `${e && t ? "Calibri, " : ""}sans-serif`], ["monospace", `${e && t ? "Lucida Console, " : ""}monospace`]]));
110681
110680
  }
110682
110681
  render() {
110683
110682
  this.#i && this.#t.append(this.#i.render());
@@ -110894,8 +110893,8 @@ function Ll(e = {}) {
110894
110893
  return e.then((e) => {
110895
110894
  if (t.destroyed) throw Error("Loading aborted");
110896
110895
  if (u.destroyed) throw Error("Worker was destroyed");
110897
- let r = new Zs(n, e, u.port);
110898
- t._transport = new Ul(r, t, s, oe, ie, te), r.send("Ready", null);
110896
+ let r = new Zs(n, e, u.port), i = new Ul(r, t, s, oe, ie, te);
110897
+ t._transport = i, r.send("Ready", null);
110899
110898
  });
110900
110899
  }).catch(t._capability.reject), t;
110901
110900
  }
@@ -111397,7 +111396,7 @@ var Rl = class e {
111397
111396
  }
111398
111397
  });
111399
111398
  let o = () => {
111400
- let e = new Uint8Array();
111399
+ let e = /* @__PURE__ */ new Uint8Array();
111401
111400
  r.send("test", e, [e.buffer]);
111402
111401
  };
111403
111402
  o();
@@ -112568,7 +112567,7 @@ var Ql = class {
112568
112567
  }
112569
112568
  _bindJSAction(e, t) {
112570
112569
  e.href = this.linkService.getAnchorUrl("");
112571
- let n = new Map([
112570
+ let n = /* @__PURE__ */ new Map([
112572
112571
  ["Action", "onclick"],
112573
112572
  ["Mouse Up", "onmouseup"],
112574
112573
  ["Mouse Down", "onmousedown"]
@@ -114321,7 +114320,7 @@ var Ql = class {
114321
114320
  #n;
114322
114321
  #r;
114323
114322
  #i = [];
114324
- #a = new Float32Array(18);
114323
+ #a = /* @__PURE__ */ new Float32Array(18);
114325
114324
  #o;
114326
114325
  #s;
114327
114326
  #c;
@@ -114426,7 +114425,7 @@ var Ql = class {
114426
114425
  return this.#x(c, l), this.newFreeDrawOutline(c, s, this.#e, this.#u, this.#n, this.#r);
114427
114426
  }
114428
114427
  #b(e) {
114429
- let t = this.#a, [n, r, i, a] = this.#e, [o, s, c, l] = this.#g(), u = new Float32Array(36);
114428
+ let t = this.#a, [n, r, i, a] = this.#e, [o, s, c, l] = this.#g(), u = /* @__PURE__ */ new Float32Array(36);
114430
114429
  return u.set([
114431
114430
  NaN,
114432
114431
  NaN,
@@ -114508,7 +114507,7 @@ var Ql = class {
114508
114507
  }
114509
114508
  }, Iu = class extends $ {
114510
114509
  #e;
114511
- #t = new Float32Array(4);
114510
+ #t = /* @__PURE__ */ new Float32Array(4);
114512
114511
  #n;
114513
114512
  #r;
114514
114513
  #i;
@@ -114558,7 +114557,7 @@ var Ql = class {
114558
114557
  r,
114559
114558
  n,
114560
114559
  r
114561
- ], a = n, o = r, s = n, c = r, l = e ? Math.max : Math.min, u = new Float32Array(4);
114560
+ ], a = n, o = r, s = n, c = r, l = e ? Math.max : Math.min, u = /* @__PURE__ */ new Float32Array(4);
114562
114561
  for (let e = 6, d = t.length; e < d; e += 6) {
114563
114562
  let d = t[e + 4], f = t[e + 5];
114564
114563
  isNaN(t[e]) ? (Q.pointBoundingBox(d, f, i), o > f ? (a = d, o = f) : o === f && (a = l(a, d)), c < f ? (s = d, c = f) : c === f && (s = l(s, d))) : (u[0] = u[1] = Infinity, u[2] = u[3] = -Infinity, Q.bezierBoundingBox(n, r, ...t.slice(e, e + 6), u), Q.rectBoundingBox(u[0], u[1], u[2], u[3], i), o > u[1] ? (a = u[0], o = u[1]) : o === u[1] && (a = l(a, u[0])), c < u[3] ? (s = u[2], c = u[3]) : c === u[3] && (s = l(s, u[2]))), n = d, r = f;
@@ -115745,7 +115744,7 @@ var Ql = class {
115745
115744
  return !1;
115746
115745
  }
115747
115746
  }, Wu = class {
115748
- #e = new Float64Array(6);
115747
+ #e = /* @__PURE__ */ new Float64Array(6);
115749
115748
  #t;
115750
115749
  #n;
115751
115750
  #r;
@@ -116206,7 +116205,7 @@ var Ql = class {
116206
116205
  return !0;
116207
116206
  }
116208
116207
  static get typesMap() {
116209
- return Z(this, "typesMap", new Map([
116208
+ return Z(this, "typesMap", /* @__PURE__ */ new Map([
116210
116209
  [xa.INK_THICKNESS, "stroke-width"],
116211
116210
  [xa.INK_COLOR, "stroke"],
116212
116211
  [xa.INK_OPACITY, "stroke-opacity"]
@@ -116429,9 +116428,9 @@ var Yu = 8, Xu = 3, Zu = class {
116429
116428
  let t = (e - c) ** 2;
116430
116429
  for (let n = 0; n < a; n++) o[e * a + n] = Math.exp((t + (n - c) ** 2) / s);
116431
116430
  }
116432
- let l = new Float32Array(256), u = -2 * i ** 2;
116431
+ let l = /* @__PURE__ */ new Float32Array(256), u = -2 * i ** 2;
116433
116432
  for (let e = 0; e < 256; e++) l[e] = Math.exp(e ** 2 / u);
116434
- let d = e.length, f = new Uint8Array(d), p = new Uint32Array(256);
116433
+ let d = e.length, f = new Uint8Array(d), p = /* @__PURE__ */ new Uint32Array(256);
116435
116434
  for (let r = 0; r < n; r++) for (let i = 0; i < t; i++) {
116436
116435
  let s = r * t + i, u = e[s], d = 0, m = 0;
116437
116436
  for (let s = 0; s < a; s++) {
@@ -116449,7 +116448,7 @@ var Yu = 8, Xu = 3, Zu = class {
116449
116448
  return [f, p];
116450
116449
  }
116451
116450
  static #l(e) {
116452
- let t = new Uint32Array(256);
116451
+ let t = /* @__PURE__ */ new Uint32Array(256);
116453
116452
  for (let n of e) t[n]++;
116454
116453
  return t;
116455
116454
  }