@getflip/swirl-components-react 0.190.0 → 0.192.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (522) hide show
  1. package/dist/file-manager.entry.c3376c83.js +57 -0
  2. package/dist/index-d280dafb.186cdb0e.js +71 -0
  3. package/dist/index.646f8b70.js +3012 -0
  4. package/dist/{maska-c5119b9a.aa658697.js → maska-4866b970.5336f9cb.js} +746 -761
  5. package/dist/stencil-generated/react-component-lib/utils/attachProps.d.ts +0 -4
  6. package/dist/{swirl-accordion-item.entry.a5d91839.js → swirl-accordion-item.entry.7642df94.js} +9 -9
  7. package/dist/{swirl-accordion.entry.b39f742e.js → swirl-accordion.entry.70f7cf07.js} +7 -7
  8. package/dist/{swirl-action-list-section.entry.7c76c543.js → swirl-action-list-section.entry.15d43f15.js} +6 -6
  9. package/dist/swirl-action-list_3.entry.795c3c74.js +103 -0
  10. package/dist/swirl-app-bar.entry.339680f7.js +45 -0
  11. package/dist/swirl-app-icon.entry.87066e60.js +23 -0
  12. package/dist/{swirl-app-layout_6.entry.6fd84618.js → swirl-app-layout_6.entry.b0d9ea2f.js} +109 -109
  13. package/dist/swirl-autocomplete.entry.72c983da.js +115 -0
  14. package/dist/{swirl-avatar-group.entry.b0b1dd62.js → swirl-avatar-group.entry.4047e3bd.js} +7 -7
  15. package/dist/{swirl-avatar.entry.d594715d.js → swirl-avatar.entry.ffcd08e3.js} +9 -9
  16. package/dist/{swirl-badge.entry.b522f992.js → swirl-badge.entry.fa985e6c.js} +6 -6
  17. package/dist/{swirl-banner.entry.21eae081.js → swirl-banner.entry.f3c1eb8d.js} +13 -13
  18. package/dist/{swirl-box.entry.316b757d.js → swirl-box.entry.be54a348.js} +6 -6
  19. package/dist/{swirl-button-group.entry.e4cbd09f.js → swirl-button-group.entry.a161ed66.js} +6 -6
  20. package/dist/{swirl-button.entry.912843e7.js → swirl-button.entry.6b2c06ea.js} +7 -7
  21. package/dist/{swirl-card.entry.34ed81bd.js → swirl-card.entry.e9d2c0c4.js} +16 -15
  22. package/dist/swirl-carousel-slide.entry.7735b59c.js +19 -0
  23. package/dist/{swirl-carousel.entry.c8de1388.js → swirl-carousel.entry.4db746cb.js} +21 -21
  24. package/dist/{swirl-checkbox.entry.377852cb.js → swirl-checkbox.entry.beb0aaa1.js} +8 -8
  25. package/dist/{swirl-chip.entry.73e76fa6.js → swirl-chip.entry.5b3c2620.js} +10 -10
  26. package/dist/{swirl-color-input.entry.e95bacba.js → swirl-color-input.entry.fa28f37e.js} +32 -32
  27. package/dist/swirl-columns.entry.fe715d08.js +18 -0
  28. package/dist/swirl-components-react.js +1 -1
  29. package/dist/swirl-components-react.umd.cjs +52 -52
  30. package/dist/swirl-console-layout.entry.bb8b69cc.js +68 -0
  31. package/dist/{swirl-date-input.entry.c8d08cd2.js → swirl-date-input.entry.a0ad3bc3.js} +21 -22
  32. package/dist/{swirl-date-picker_2.entry.15ce6e94.js → swirl-date-picker_2.entry.af763a2b.js} +11 -11
  33. package/dist/{swirl-description-list-item.entry.87085342.js → swirl-description-list-item.entry.5096ae84.js} +8 -8
  34. package/dist/swirl-description-list.entry.432b0113.js +15 -0
  35. package/dist/{swirl-dialog.entry.e673821f.js → swirl-dialog.entry.dc89c879.js} +15 -15
  36. package/dist/swirl-emoji-clap.entry.f6bece82.js +17 -0
  37. package/dist/swirl-emoji-happy.entry.bcefc4d0.js +17 -0
  38. package/dist/swirl-emoji-idea.entry.491b16b3.js +17 -0
  39. package/dist/swirl-emoji-love.entry.21d704ae.js +17 -0
  40. package/dist/swirl-emoji-sad.entry.58e0898b.js +17 -0
  41. package/dist/swirl-emoji-thumbs-up.entry.38924975.js +17 -0
  42. package/dist/swirl-emoji.entry.01ae584b.js +16 -0
  43. package/dist/{swirl-file-uploader.entry.258316c4.js → swirl-file-uploader.entry.7c8be92b.js} +7 -7
  44. package/dist/{swirl-file-viewer_7.entry.f406b7b5.js → swirl-file-viewer_7.entry.32c7e7b0.js} +908 -914
  45. package/dist/{swirl-form-control.entry.f849ba67.js → swirl-form-control.entry.f0fb500f.js} +14 -14
  46. package/dist/swirl-form-group.entry.d6d7dfa9.js +17 -0
  47. package/dist/{swirl-heading.entry.5ace0a8e.js → swirl-heading.entry.da748b09.js} +5 -5
  48. package/dist/swirl-icon-add-moderator.entry.a0058762.js +19 -0
  49. package/dist/swirl-icon-add-photo.entry.790a4fc2.js +19 -0
  50. package/dist/swirl-icon-add-reaction.entry.29a90d8b.js +19 -0
  51. package/dist/swirl-icon-add_6.entry.cf28e3a7.js +84 -0
  52. package/dist/swirl-icon-admin-panel-settings.entry.c85bd53c.js +19 -0
  53. package/dist/swirl-icon-ai.entry.e2e7af74.js +19 -0
  54. package/dist/swirl-icon-apps.entry.3b0fed26.js +19 -0
  55. package/dist/swirl-icon-arrow-back_4.entry.f844e9c5.js +58 -0
  56. package/dist/swirl-icon-arrow-downward_2.entry.08c74cdd.js +32 -0
  57. package/dist/swirl-icon-arrow-left_4.entry.06aa2b6f.js +59 -0
  58. package/dist/swirl-icon-arrow-right-small.entry.f02d0883.js +19 -0
  59. package/dist/swirl-icon-attachment.entry.0b60ec4e.js +19 -0
  60. package/dist/swirl-icon-bar-chart.entry.532e2075.js +19 -0
  61. package/dist/swirl-icon-block.entry.23f1897f.js +19 -0
  62. package/dist/swirl-icon-bookmark-filled.entry.fa7750c7.js +19 -0
  63. package/dist/swirl-icon-bookmark.entry.8d3ad349.js +19 -0
  64. package/dist/swirl-icon-cancel_4.entry.39c1ea4a.js +58 -0
  65. package/dist/swirl-icon-chat-bubble.entry.977ed569.js +19 -0
  66. package/dist/swirl-icon-chats-filled.entry.065665c5.js +19 -0
  67. package/dist/swirl-icon-chats.entry.80b54ccc.js +19 -0
  68. package/dist/swirl-icon-check-circle_2.entry.743b00a8.js +32 -0
  69. package/dist/swirl-icon-check-small_3.entry.ba35ff90.js +77 -0
  70. package/dist/swirl-icon-check-strong.entry.832b9c73.js +19 -0
  71. package/dist/swirl-icon-check.entry.bf52ab76.js +19 -0
  72. package/dist/swirl-icon-chevron-left.entry.c39e9c40.js +19 -0
  73. package/dist/swirl-icon-chevron-right.entry.ca83d518.js +19 -0
  74. package/dist/swirl-icon-close-small.entry.92cd725d.js +19 -0
  75. package/dist/swirl-icon-close.entry.e759605f.js +19 -0
  76. package/dist/swirl-icon-cloud-upload.entry.b03cd35b.js +19 -0
  77. package/dist/swirl-icon-column.entry.e3b20be1.js +19 -0
  78. package/dist/swirl-icon-comment.entry.3075d7a1.js +19 -0
  79. package/dist/swirl-icon-copy.entry.741026ab.js +19 -0
  80. package/dist/swirl-icon-dark-mode.entry.b93e3c6d.js +19 -0
  81. package/dist/swirl-icon-date-range.entry.28ff2f65.js +19 -0
  82. package/dist/swirl-icon-delete.entry.19ae465f.js +19 -0
  83. package/dist/swirl-icon-description.entry.2734abd8.js +19 -0
  84. package/dist/swirl-icon-desktop.entry.976d1e81.js +19 -0
  85. package/dist/swirl-icon-directory-filled.entry.edcecde2.js +19 -0
  86. package/dist/swirl-icon-directory.entry.ec1bfcee.js +19 -0
  87. package/dist/swirl-icon-discover.entry.e25a64cf.js +19 -0
  88. package/dist/swirl-icon-dot.entry.d0d178b8.js +19 -0
  89. package/dist/swirl-icon-double-arrow-right.entry.d95f3541.js +19 -0
  90. package/dist/swirl-icon-download.entry.f7d91cb5.js +19 -0
  91. package/dist/swirl-icon-edit.entry.a44ec82c.js +19 -0
  92. package/dist/swirl-icon-emoji-mood.entry.affdbca4.js +19 -0
  93. package/dist/swirl-icon-emoji-satisfied.entry.b7e2953e.js +19 -0
  94. package/dist/swirl-icon-error_3.entry.7999d68b.js +58 -0
  95. package/dist/swirl-icon-expand-more.entry.1c6de5a9.js +19 -0
  96. package/dist/swirl-icon-filter.entry.a97699fb.js +19 -0
  97. package/dist/swirl-icon-folder.entry.b713e345.js +19 -0
  98. package/dist/swirl-icon-format-h-one.entry.a1f9c491.js +19 -0
  99. package/dist/swirl-icon-gif.entry.9dd2aedd.js +19 -0
  100. package/dist/swirl-icon-group-add.entry.0cc07eb3.js +19 -0
  101. package/dist/swirl-icon-group-assign.entry.2feee62e.js +19 -0
  102. package/dist/swirl-icon-groups-filled.entry.21ba1731.js +19 -0
  103. package/dist/swirl-icon-groups.entry.c2e956fe.js +19 -0
  104. package/dist/swirl-icon-hamburger-menu.entry.a621d732.js +19 -0
  105. package/dist/swirl-icon-help.entry.9b555a53.js +19 -0
  106. package/dist/swirl-icon-highlight.entry.08eb0954.js +19 -0
  107. package/dist/swirl-icon-home.entry.d7a51b6b.js +19 -0
  108. package/dist/swirl-icon-image.entry.92315cd0.js +19 -0
  109. package/dist/swirl-icon-improve-text.entry.bcdeeb96.js +19 -0
  110. package/dist/swirl-icon-info.entry.850b5c97.js +19 -0
  111. package/dist/swirl-icon-insert-below.entry.7c3c1bf8.js +19 -0
  112. package/dist/swirl-icon-insert-on-top.entry.e5bbcbaf.js +19 -0
  113. package/dist/swirl-icon-inventory.entry.5778865d.js +19 -0
  114. package/dist/swirl-icon-keyboard-hide.entry.daa12636.js +19 -0
  115. package/dist/swirl-icon-light-mode.entry.88a2a385.js +19 -0
  116. package/dist/swirl-icon-like.entry.ffadb9bf.js +19 -0
  117. package/dist/swirl-icon-link.entry.c9115086.js +19 -0
  118. package/dist/swirl-icon-load.entry.ac9848ec.js +19 -0
  119. package/dist/swirl-icon-lock-open.entry.3a137a7d.js +19 -0
  120. package/dist/swirl-icon-lock-person.entry.27d73600.js +19 -0
  121. package/dist/swirl-icon-lock.entry.122df0b7.js +19 -0
  122. package/dist/swirl-icon-login.entry.c27feba8.js +19 -0
  123. package/dist/swirl-icon-logout.entry.f7dc9f49.js +19 -0
  124. package/dist/swirl-icon-long-text.entry.0557b367.js +19 -0
  125. package/dist/swirl-icon-mail.entry.c8f7039c.js +19 -0
  126. package/dist/swirl-icon-manage-accounts.entry.d3a43717.js +19 -0
  127. package/dist/swirl-icon-mark-chat-read.entry.ee24f226.js +19 -0
  128. package/dist/swirl-icon-mark-chat-unread.entry.f3c39ac2.js +19 -0
  129. package/dist/swirl-icon-mention.entry.833b7086.js +19 -0
  130. package/dist/swirl-icon-menu-filled.entry.1e95ae86.js +19 -0
  131. package/dist/swirl-icon-menu.entry.e7f3ff29.js +19 -0
  132. package/dist/swirl-icon-message.entry.6c6ff00a.js +19 -0
  133. package/dist/swirl-icon-mic.entry.4da8e81b.js +19 -0
  134. package/dist/swirl-icon-more-horizontal.entry.08555692.js +19 -0
  135. package/dist/swirl-icon-news-filled.entry.1640c88c.js +19 -0
  136. package/dist/swirl-icon-news-off.entry.ab5bbf8f.js +19 -0
  137. package/dist/swirl-icon-news.entry.ee51d687.js +19 -0
  138. package/dist/swirl-icon-notifications-active.entry.00cf9c85.js +19 -0
  139. package/dist/swirl-icon-notifications-off.entry.6142b879.js +19 -0
  140. package/dist/swirl-icon-notifications.entry.f0208f9d.js +19 -0
  141. package/dist/swirl-icon-open-in-full.entry.2843d04a.js +19 -0
  142. package/dist/swirl-icon-open-in-new.entry.c78ffc73.js +19 -0
  143. package/dist/swirl-icon-pause-circle.entry.0c89b9f2.js +19 -0
  144. package/dist/swirl-icon-pause.entry.fbab8abf.js +19 -0
  145. package/dist/swirl-icon-people-alt.entry.00d0bc99.js +19 -0
  146. package/dist/swirl-icon-person-off.entry.58682648.js +19 -0
  147. package/dist/swirl-icon-person.entry.3b0330e2.js +19 -0
  148. package/dist/swirl-icon-phone.entry.4cb36085.js +19 -0
  149. package/dist/swirl-icon-photo-camera.entry.7df9b1ae.js +19 -0
  150. package/dist/swirl-icon-place.entry.77e36869.js +19 -0
  151. package/dist/swirl-icon-play-arrow.entry.76ae5929.js +19 -0
  152. package/dist/swirl-icon-poll.entry.1a4a607f.js +19 -0
  153. package/dist/swirl-icon-print.entry.2b04d34f.js +19 -0
  154. package/dist/swirl-icon-recieved.entry.700fbfdd.js +19 -0
  155. package/dist/swirl-icon-remove-moderator.entry.46305271.js +19 -0
  156. package/dist/swirl-icon-reply.entry.b680e291.js +19 -0
  157. package/dist/swirl-icon-report.entry.05c5e462.js +19 -0
  158. package/dist/swirl-icon-roadmap.entry.4413d07a.js +19 -0
  159. package/dist/swirl-icon-search-strong.entry.5aebc26c.js +19 -0
  160. package/dist/swirl-icon-search.entry.c04cb08c.js +19 -0
  161. package/dist/swirl-icon-secure.entry.9c94f4bd.js +19 -0
  162. package/dist/swirl-icon-send.entry.74104fe8.js +19 -0
  163. package/dist/swirl-icon-settings.entry.50c625f9.js +19 -0
  164. package/dist/swirl-icon-short-text.entry.e8ac3807.js +19 -0
  165. package/dist/swirl-icon-simplify.entry.af2be4d9.js +19 -0
  166. package/dist/swirl-icon-spellcheck.entry.cd95f61f.js +19 -0
  167. package/dist/swirl-icon-stop.entry.334c7eb3.js +19 -0
  168. package/dist/swirl-icon-sync.entry.bfeaeebc.js +19 -0
  169. package/dist/swirl-icon-tasks-filled.entry.a6d8a473.js +19 -0
  170. package/dist/swirl-icon-tasks.entry.c1f94e60.js +19 -0
  171. package/dist/swirl-icon-terminal.entry.b0b627cd.js +19 -0
  172. package/dist/swirl-icon-time-filled.entry.54af15f6.js +19 -0
  173. package/dist/swirl-icon-time.entry.3d0feb2d.js +19 -0
  174. package/dist/swirl-icon-today-filled.entry.ba634fd9.js +19 -0
  175. package/dist/swirl-icon-translate.entry.25cbae77.js +19 -0
  176. package/dist/swirl-icon-tree-structure.entry.dd65a1d4.js +19 -0
  177. package/dist/swirl-icon-undo.entry.55e173fe.js +19 -0
  178. package/dist/swirl-icon-unlock-person.entry.8e497d6a.js +19 -0
  179. package/dist/swirl-icon-user-add.entry.bf8bf45c.js +19 -0
  180. package/dist/swirl-icon-user-assign.entry.e606b5ab.js +19 -0
  181. package/dist/swirl-icon-video-camera.entry.e777a873.js +19 -0
  182. package/dist/swirl-icon-video-library.entry.5bb5a5ff.js +19 -0
  183. package/dist/swirl-icon-voice.entry.78de5814.js +19 -0
  184. package/dist/swirl-icon-work.entry.3b1d4bd0.js +19 -0
  185. package/dist/swirl-icon.entry.703f8f60.js +16 -0
  186. package/dist/{swirl-image-grid-item.entry.cbb59e85.js → swirl-image-grid-item.entry.60e4907f.js} +16 -16
  187. package/dist/{swirl-image-grid.entry.0b1f368f.js → swirl-image-grid.entry.2a0fcc71.js} +6 -6
  188. package/dist/swirl-inline-notification.entry.7a948d82.js +17 -0
  189. package/dist/{swirl-inline-status.entry.defadaeb.js → swirl-inline-status.entry.c73b3b9c.js} +10 -10
  190. package/dist/swirl-lightbox.entry.b244af2f.js +136 -0
  191. package/dist/{swirl-link.entry.e9747d7e.js → swirl-link.entry.31f69ea0.js} +4 -4
  192. package/dist/{swirl-list.entry.34c88bce.js → swirl-list.entry.8c0b71f8.js} +8 -8
  193. package/dist/{swirl-menu-item.entry.cd5f4f83.js → swirl-menu-item.entry.ffa91056.js} +27 -27
  194. package/dist/{swirl-menu.entry.14f87bbe.js → swirl-menu.entry.67d9e63e.js} +17 -17
  195. package/dist/{swirl-modal.entry.357b4e60.js → swirl-modal.entry.976f9b37.js} +29 -29
  196. package/dist/{swirl-option-list-section.entry.4a33119f.js → swirl-option-list-section.entry.02e41c5f.js} +6 -6
  197. package/dist/{swirl-option-list_2.entry.30d39c81.js → swirl-option-list_2.entry.e1280630.js} +15 -15
  198. package/dist/swirl-pagination.entry.f3c3d8f6.js +38 -0
  199. package/dist/swirl-pdf-reader.entry.59123a53.js +109 -0
  200. package/dist/{swirl-popover_2.entry.67f092ba.js → swirl-popover_2.entry.38eb6026.js} +21 -21
  201. package/dist/{swirl-progress-indicator.entry.f3e53bfb.js → swirl-progress-indicator.entry.91271890.js} +7 -7
  202. package/dist/{swirl-radio-group.entry.39d29324.js → swirl-radio-group.entry.c5b7b952.js} +9 -9
  203. package/dist/{swirl-radio.entry.bc87fc9c.js → swirl-radio.entry.084cfb8a.js} +8 -8
  204. package/dist/{swirl-resource-list-file-item.entry.e02fad69.js → swirl-resource-list-file-item.entry.eab82697.js} +8 -8
  205. package/dist/{swirl-search.entry.ef5ec813.js → swirl-search.entry.b6a27913.js} +26 -26
  206. package/dist/{swirl-select.entry.962867a8.js → swirl-select.entry.d8e4d680.js} +10 -10
  207. package/dist/{swirl-shell-layout.entry.208151c0.js → swirl-shell-layout.entry.965e04b1.js} +17 -17
  208. package/dist/{swirl-shell-navigation-item.entry.51674cb2.js → swirl-shell-navigation-item.entry.6b208b04.js} +8 -8
  209. package/dist/{swirl-skeleton-box.entry.13953112.js → swirl-skeleton-box.entry.4fc97e29.js} +7 -7
  210. package/dist/{swirl-skeleton-text.entry.26a11634.js → swirl-skeleton-text.entry.452ff5e1.js} +6 -6
  211. package/dist/{swirl-stack.entry.7943e6ba.js → swirl-stack.entry.b8ce1711.js} +8 -8
  212. package/dist/{swirl-status-indicator.entry.d249d902.js → swirl-status-indicator.entry.69e70f32.js} +6 -6
  213. package/dist/{swirl-switch.entry.7f5d250a.js → swirl-switch.entry.c3bf4141.js} +8 -8
  214. package/dist/swirl-symbol-account-circle.entry.a9e7fc07.js +17 -0
  215. package/dist/swirl-symbol-alternate-email.entry.8b17822d.js +17 -0
  216. package/dist/swirl-symbol-android.entry.b59f3bcd.js +17 -0
  217. package/dist/swirl-symbol-announcement.entry.018dda0f.js +17 -0
  218. package/dist/swirl-symbol-backup.entry.04dd4bf7.js +17 -0
  219. package/dist/swirl-symbol-beach-access.entry.362890e3.js +17 -0
  220. package/dist/swirl-symbol-bookmark.entry.7f2679f1.js +17 -0
  221. package/dist/swirl-symbol-cloud.entry.32236253.js +17 -0
  222. package/dist/swirl-symbol-coronavirus.entry.d40cfd0b.js +17 -0
  223. package/dist/swirl-symbol-desktop-windows.entry.93da171d.js +17 -0
  224. package/dist/swirl-symbol-directions-car-filled.entry.f30cc503.js +17 -0
  225. package/dist/swirl-symbol-edit-calendar.entry.56905bf4.js +17 -0
  226. package/dist/swirl-symbol-email.entry.98433f61.js +17 -0
  227. package/dist/swirl-symbol-emoji-food-beverage.entry.107178a2.js +17 -0
  228. package/dist/swirl-symbol-event-menu.entry.1a3c23c9.js +17 -0
  229. package/dist/swirl-symbol-facebook.entry.1a0e3870.js +17 -0
  230. package/dist/swirl-symbol-favorite.entry.b1b20e8d.js +17 -0
  231. package/dist/swirl-symbol-fitness-center.entry.36d55190.js +17 -0
  232. package/dist/swirl-symbol-flag.entry.760854dc.js +17 -0
  233. package/dist/swirl-symbol-folder.entry.2779ed4b.js +17 -0
  234. package/dist/swirl-symbol-globe.entry.7fc449d1.js +17 -0
  235. package/dist/swirl-symbol-groups.entry.255502a0.js +17 -0
  236. package/dist/swirl-symbol-help.entry.899143a2.js +17 -0
  237. package/dist/swirl-symbol-image.entry.29a63901.js +17 -0
  238. package/dist/swirl-symbol-info-menu.entry.e36f4311.js +17 -0
  239. package/dist/swirl-symbol-instagram.entry.3afb3786.js +17 -0
  240. package/dist/swirl-symbol-ios.entry.ceefba8b.js +17 -0
  241. package/dist/swirl-symbol-language.entry.7fbac543.js +17 -0
  242. package/dist/swirl-symbol-leaderboard.entry.19525395.js +17 -0
  243. package/dist/swirl-symbol-lightbulb.entry.344a3157.js +17 -0
  244. package/dist/swirl-symbol-linkedin.entry.85758da1.js +17 -0
  245. package/dist/swirl-symbol-location-on.entry.c5d867b5.js +17 -0
  246. package/dist/swirl-symbol-loyalty.entry.3b9cb2f0.js +17 -0
  247. package/dist/swirl-symbol-maps-home-work.entry.7c2f1961.js +17 -0
  248. package/dist/swirl-symbol-notifications.entry.f4a5a133.js +17 -0
  249. package/dist/swirl-symbol-open-in-new.entry.f4746ce6.js +17 -0
  250. package/dist/swirl-symbol-pedal-bike.entry.44120e6d.js +17 -0
  251. package/dist/swirl-symbol-pinterest.entry.91eef437.js +17 -0
  252. package/dist/swirl-symbol-policy.entry.898c850c.js +17 -0
  253. package/dist/swirl-symbol-push-pin.entry.fbcd7fcc.js +17 -0
  254. package/dist/swirl-symbol-redeem.entry.ac524007.js +17 -0
  255. package/dist/swirl-symbol-report-problem.entry.22962aea.js +17 -0
  256. package/dist/swirl-symbol-restaurant.entry.ce88050d.js +17 -0
  257. package/dist/swirl-symbol-roadmap.entry.7f7e5dcc.js +17 -0
  258. package/dist/swirl-symbol-room.entry.e6928aa9.js +17 -0
  259. package/dist/swirl-symbol-savings.entry.ec3c287c.js +17 -0
  260. package/dist/swirl-symbol-settings-voice.entry.4e4352b9.js +17 -0
  261. package/dist/swirl-symbol-shopping-cart.entry.eed07a87.js +17 -0
  262. package/dist/swirl-symbol-smartphone.entry.ee43330c.js +17 -0
  263. package/dist/swirl-symbol-star.entry.03570eec.js +17 -0
  264. package/dist/swirl-symbol-supervisor-account.entry.037ff569.js +17 -0
  265. package/dist/swirl-symbol-thumbs-up-down.entry.c987102c.js +17 -0
  266. package/dist/swirl-symbol-twitter.entry.6a88482f.js +17 -0
  267. package/dist/swirl-symbol-wb-sunny.entry.a2c3c0a5.js +17 -0
  268. package/dist/swirl-symbol-wechat.entry.a8762724.js +17 -0
  269. package/dist/swirl-symbol-weibo.entry.1f24e00d.js +17 -0
  270. package/dist/swirl-symbol-work.entry.0ea60a2f.js +17 -0
  271. package/dist/swirl-symbol-xing.entry.275e84b1.js +17 -0
  272. package/dist/swirl-symbol-youtube.entry.1d5392a3.js +17 -0
  273. package/dist/swirl-symbol.entry.def02362.js +16 -0
  274. package/dist/{swirl-tab-bar.entry.a5d34386.js → swirl-tab-bar.entry.6c52422b.js} +6 -6
  275. package/dist/swirl-tab.entry.d86fa98b.js +17 -0
  276. package/dist/{swirl-table-cell.entry.d6f16fe6.js → swirl-table-cell.entry.99918d29.js} +7 -7
  277. package/dist/{swirl-table-column.entry.21cf91ec.js → swirl-table-column.entry.f26386a4.js} +11 -11
  278. package/dist/{swirl-table-row-group.entry.8eded761.js → swirl-table-row-group.entry.000fd86e.js} +7 -7
  279. package/dist/swirl-table-row.entry.a26d302b.js +27 -0
  280. package/dist/{swirl-table.entry.4b8d3844.js → swirl-table.entry.e5de618f.js} +19 -19
  281. package/dist/{swirl-tabs.entry.2d5dc609.js → swirl-tabs.entry.f211eb86.js} +6 -6
  282. package/dist/{swirl-text-input.entry.3033e2c1.js → swirl-text-input.entry.765bdf19.js} +9 -9
  283. package/dist/{swirl-text.entry.7d133592.js → swirl-text.entry.7f3addc1.js} +48 -51
  284. package/dist/{swirl-theme-provider.entry.ef1b8b87.js → swirl-theme-provider.entry.ba9105c6.js} +5 -5
  285. package/dist/{swirl-time-input.entry.c78965a9.js → swirl-time-input.entry.bac3d298.js} +27 -28
  286. package/dist/{swirl-toast-provider.entry.8e11061e.js → swirl-toast-provider.entry.fae201cc.js} +6 -6
  287. package/dist/{swirl-toast.entry.8b8e779b.js → swirl-toast.entry.27dd5ceb.js} +9 -9
  288. package/dist/{swirl-toolbar.entry.1ab69e57.js → swirl-toolbar.entry.4cad1ef4.js} +7 -7
  289. package/dist/{swirl-tooltip.entry.ee4cb966.js → swirl-tooltip.entry.73255a63.js} +11 -11
  290. package/dist/{swirl-tree-navigation-item.entry.298ab094.js → swirl-tree-navigation-item.entry.074acdc2.js} +5 -5
  291. package/dist/swirl-video-thumbnail.entry.8cd97531.js +88 -0
  292. package/dist/swirl-visually-hidden.entry.50dc2a1f.js +15 -0
  293. package/dist/{wc-datepicker.entry.fed6c9d7.js → wc-datepicker.entry.6d434c91.js} +9 -9
  294. package/package.json +2 -2
  295. package/dist/_commonjsHelpers-d20b9603.2d9b8855.js +0 -27
  296. package/dist/file-manager.entry.6df11d09.js +0 -57
  297. package/dist/index-267776a4.6beb4f4b.js +0 -38
  298. package/dist/index.d90adc50.js +0 -3179
  299. package/dist/swirl-action-list_3.entry.ef982c5d.js +0 -103
  300. package/dist/swirl-app-bar.entry.2cfd762b.js +0 -45
  301. package/dist/swirl-app-icon.entry.3025724d.js +0 -23
  302. package/dist/swirl-autocomplete.entry.9e3e885d.js +0 -115
  303. package/dist/swirl-carousel-slide.entry.110bbdb4.js +0 -19
  304. package/dist/swirl-columns.entry.dbed3083.js +0 -18
  305. package/dist/swirl-console-layout.entry.ce34f32a.js +0 -68
  306. package/dist/swirl-description-list.entry.8346d2f6.js +0 -15
  307. package/dist/swirl-emoji-clap.entry.c51e5dd2.js +0 -17
  308. package/dist/swirl-emoji-happy.entry.ab900e84.js +0 -17
  309. package/dist/swirl-emoji-idea.entry.39c749d7.js +0 -17
  310. package/dist/swirl-emoji-love.entry.48574212.js +0 -17
  311. package/dist/swirl-emoji-sad.entry.71e12957.js +0 -17
  312. package/dist/swirl-emoji-thumbs-up.entry.2c57a0f1.js +0 -17
  313. package/dist/swirl-emoji.entry.61e00603.js +0 -16
  314. package/dist/swirl-form-group.entry.a9fc5de5.js +0 -17
  315. package/dist/swirl-icon-add-moderator.entry.0b51ccb8.js +0 -19
  316. package/dist/swirl-icon-add-photo.entry.b9ede402.js +0 -19
  317. package/dist/swirl-icon-add-reaction.entry.e9eab176.js +0 -19
  318. package/dist/swirl-icon-add_6.entry.a00fc6c9.js +0 -84
  319. package/dist/swirl-icon-admin-panel-settings.entry.c6898880.js +0 -19
  320. package/dist/swirl-icon-ai.entry.40c1feb2.js +0 -19
  321. package/dist/swirl-icon-apps.entry.7e4baf68.js +0 -19
  322. package/dist/swirl-icon-arrow-back_4.entry.22e2032f.js +0 -58
  323. package/dist/swirl-icon-arrow-downward_2.entry.619ff844.js +0 -32
  324. package/dist/swirl-icon-arrow-left_4.entry.cea83fb4.js +0 -59
  325. package/dist/swirl-icon-arrow-right-small.entry.9700b93f.js +0 -19
  326. package/dist/swirl-icon-attachment.entry.ded9dcc7.js +0 -19
  327. package/dist/swirl-icon-bar-chart.entry.df259ce8.js +0 -19
  328. package/dist/swirl-icon-block.entry.ff328ff8.js +0 -19
  329. package/dist/swirl-icon-bookmark-filled.entry.2b3b8bd8.js +0 -19
  330. package/dist/swirl-icon-bookmark.entry.5fa6a803.js +0 -19
  331. package/dist/swirl-icon-cancel_4.entry.60ef65d2.js +0 -58
  332. package/dist/swirl-icon-chat-bubble.entry.d198e2c5.js +0 -19
  333. package/dist/swirl-icon-chats-filled.entry.70126ead.js +0 -19
  334. package/dist/swirl-icon-chats.entry.90249dc7.js +0 -19
  335. package/dist/swirl-icon-check-circle_2.entry.9fb661f5.js +0 -32
  336. package/dist/swirl-icon-check-small_3.entry.d91801f9.js +0 -77
  337. package/dist/swirl-icon-check-strong.entry.16ce3538.js +0 -19
  338. package/dist/swirl-icon-check.entry.34ec6a4c.js +0 -19
  339. package/dist/swirl-icon-chevron-left.entry.a6765df3.js +0 -19
  340. package/dist/swirl-icon-chevron-right.entry.f368a456.js +0 -19
  341. package/dist/swirl-icon-close-small.entry.f1351249.js +0 -19
  342. package/dist/swirl-icon-close.entry.bc4eb374.js +0 -19
  343. package/dist/swirl-icon-cloud-upload.entry.b2ee1916.js +0 -19
  344. package/dist/swirl-icon-column.entry.1fdeb739.js +0 -19
  345. package/dist/swirl-icon-comment.entry.412bd2e5.js +0 -19
  346. package/dist/swirl-icon-copy.entry.c5c415cc.js +0 -19
  347. package/dist/swirl-icon-dark-mode.entry.c22acb72.js +0 -19
  348. package/dist/swirl-icon-date-range.entry.1ec8047e.js +0 -19
  349. package/dist/swirl-icon-delete.entry.a3c4154b.js +0 -19
  350. package/dist/swirl-icon-description.entry.2a4f089c.js +0 -19
  351. package/dist/swirl-icon-desktop.entry.5eb692a4.js +0 -19
  352. package/dist/swirl-icon-directory-filled.entry.550fb2b6.js +0 -19
  353. package/dist/swirl-icon-directory.entry.2511b835.js +0 -19
  354. package/dist/swirl-icon-discover.entry.0e461f17.js +0 -19
  355. package/dist/swirl-icon-dot.entry.fdce9253.js +0 -19
  356. package/dist/swirl-icon-double-arrow-right.entry.57c6dae2.js +0 -19
  357. package/dist/swirl-icon-download.entry.ebd1bad3.js +0 -19
  358. package/dist/swirl-icon-edit.entry.5d2f4329.js +0 -19
  359. package/dist/swirl-icon-emoji-mood.entry.b445ed8e.js +0 -19
  360. package/dist/swirl-icon-emoji-satisfied.entry.318cc33e.js +0 -19
  361. package/dist/swirl-icon-error_3.entry.8156f1b9.js +0 -58
  362. package/dist/swirl-icon-expand-more.entry.a5df0dff.js +0 -19
  363. package/dist/swirl-icon-filter.entry.2e7d8694.js +0 -19
  364. package/dist/swirl-icon-folder.entry.b4a2eece.js +0 -19
  365. package/dist/swirl-icon-format-h-one.entry.178d9f8c.js +0 -19
  366. package/dist/swirl-icon-gif.entry.ef508d18.js +0 -19
  367. package/dist/swirl-icon-group-add.entry.288a4663.js +0 -19
  368. package/dist/swirl-icon-group-assign.entry.4035e1d8.js +0 -19
  369. package/dist/swirl-icon-groups-filled.entry.c285587a.js +0 -19
  370. package/dist/swirl-icon-groups.entry.56823a93.js +0 -19
  371. package/dist/swirl-icon-hamburger-menu.entry.de323443.js +0 -19
  372. package/dist/swirl-icon-help.entry.368e096d.js +0 -19
  373. package/dist/swirl-icon-highlight.entry.ff89b4ce.js +0 -19
  374. package/dist/swirl-icon-home.entry.1e3c3825.js +0 -19
  375. package/dist/swirl-icon-image.entry.f3bb3bb6.js +0 -19
  376. package/dist/swirl-icon-improve-text.entry.cca636ba.js +0 -19
  377. package/dist/swirl-icon-info.entry.41c8be01.js +0 -19
  378. package/dist/swirl-icon-insert-below.entry.dea18800.js +0 -19
  379. package/dist/swirl-icon-insert-on-top.entry.7efb2795.js +0 -19
  380. package/dist/swirl-icon-inventory.entry.d06aa28c.js +0 -19
  381. package/dist/swirl-icon-keyboard-hide.entry.3afce769.js +0 -19
  382. package/dist/swirl-icon-light-mode.entry.af5308c8.js +0 -19
  383. package/dist/swirl-icon-like.entry.e8cdf60a.js +0 -19
  384. package/dist/swirl-icon-link.entry.43f2756d.js +0 -19
  385. package/dist/swirl-icon-load.entry.3d790b8f.js +0 -19
  386. package/dist/swirl-icon-lock-open.entry.ae3db367.js +0 -19
  387. package/dist/swirl-icon-lock-person.entry.4cea786a.js +0 -19
  388. package/dist/swirl-icon-lock.entry.45eccf76.js +0 -19
  389. package/dist/swirl-icon-login.entry.1579dc52.js +0 -19
  390. package/dist/swirl-icon-logout.entry.c66b3082.js +0 -19
  391. package/dist/swirl-icon-long-text.entry.aaa0d50c.js +0 -19
  392. package/dist/swirl-icon-mail.entry.4b7f03f5.js +0 -19
  393. package/dist/swirl-icon-manage-accounts.entry.a4ed4854.js +0 -19
  394. package/dist/swirl-icon-mark-chat-read.entry.6078126e.js +0 -19
  395. package/dist/swirl-icon-mark-chat-unread.entry.f6ee3ffd.js +0 -19
  396. package/dist/swirl-icon-mention.entry.ba102e64.js +0 -19
  397. package/dist/swirl-icon-menu-filled.entry.ab0bf98c.js +0 -19
  398. package/dist/swirl-icon-menu.entry.c9c67658.js +0 -19
  399. package/dist/swirl-icon-message.entry.54e3a552.js +0 -19
  400. package/dist/swirl-icon-mic.entry.a5c00b6d.js +0 -19
  401. package/dist/swirl-icon-more-horizontal.entry.eba630ac.js +0 -19
  402. package/dist/swirl-icon-news-filled.entry.fa6c54d7.js +0 -19
  403. package/dist/swirl-icon-news-off.entry.98df2a70.js +0 -19
  404. package/dist/swirl-icon-news.entry.625d5303.js +0 -19
  405. package/dist/swirl-icon-notifications-active.entry.df8ae5d1.js +0 -19
  406. package/dist/swirl-icon-notifications-off.entry.d926ef33.js +0 -19
  407. package/dist/swirl-icon-notifications.entry.533c02fb.js +0 -19
  408. package/dist/swirl-icon-open-in-full.entry.109770d4.js +0 -19
  409. package/dist/swirl-icon-open-in-new.entry.d824c288.js +0 -19
  410. package/dist/swirl-icon-pause-circle.entry.a5f02e46.js +0 -19
  411. package/dist/swirl-icon-pause.entry.f20c8b41.js +0 -19
  412. package/dist/swirl-icon-people-alt.entry.a48ba343.js +0 -19
  413. package/dist/swirl-icon-person-off.entry.3c26134d.js +0 -19
  414. package/dist/swirl-icon-person.entry.06218285.js +0 -19
  415. package/dist/swirl-icon-phone.entry.24485594.js +0 -19
  416. package/dist/swirl-icon-photo-camera.entry.df8f355b.js +0 -19
  417. package/dist/swirl-icon-place.entry.f39d3b55.js +0 -19
  418. package/dist/swirl-icon-play-arrow.entry.d3b0c8fe.js +0 -19
  419. package/dist/swirl-icon-poll.entry.5c21a4ad.js +0 -19
  420. package/dist/swirl-icon-print.entry.28726978.js +0 -19
  421. package/dist/swirl-icon-recieved.entry.bd151dff.js +0 -19
  422. package/dist/swirl-icon-remove-moderator.entry.9a0f7a75.js +0 -19
  423. package/dist/swirl-icon-reply.entry.1c4c3da0.js +0 -19
  424. package/dist/swirl-icon-report.entry.768327ea.js +0 -19
  425. package/dist/swirl-icon-roadmap.entry.9faf3ea6.js +0 -19
  426. package/dist/swirl-icon-search-strong.entry.48ac4870.js +0 -19
  427. package/dist/swirl-icon-search.entry.e398f832.js +0 -19
  428. package/dist/swirl-icon-secure.entry.52f73b44.js +0 -19
  429. package/dist/swirl-icon-send.entry.fe116073.js +0 -19
  430. package/dist/swirl-icon-settings.entry.b8e55621.js +0 -19
  431. package/dist/swirl-icon-short-text.entry.7d721872.js +0 -19
  432. package/dist/swirl-icon-simplify.entry.ccef9109.js +0 -19
  433. package/dist/swirl-icon-spellcheck.entry.189982ef.js +0 -19
  434. package/dist/swirl-icon-stop.entry.a3bd8024.js +0 -19
  435. package/dist/swirl-icon-sync.entry.27f8dacb.js +0 -19
  436. package/dist/swirl-icon-tasks-filled.entry.244bfa33.js +0 -19
  437. package/dist/swirl-icon-tasks.entry.9e448e4f.js +0 -19
  438. package/dist/swirl-icon-terminal.entry.85de8034.js +0 -19
  439. package/dist/swirl-icon-time-filled.entry.a03d1ae1.js +0 -19
  440. package/dist/swirl-icon-time.entry.2a538c35.js +0 -19
  441. package/dist/swirl-icon-today-filled.entry.2f3152e6.js +0 -19
  442. package/dist/swirl-icon-translate.entry.a576fd5b.js +0 -19
  443. package/dist/swirl-icon-tree-structure.entry.bc0743d3.js +0 -19
  444. package/dist/swirl-icon-undo.entry.77a31b37.js +0 -19
  445. package/dist/swirl-icon-unlock-person.entry.b0f3bf71.js +0 -19
  446. package/dist/swirl-icon-user-add.entry.c55ef1ac.js +0 -19
  447. package/dist/swirl-icon-user-assign.entry.4a870c48.js +0 -19
  448. package/dist/swirl-icon-video-camera.entry.954e3cf4.js +0 -19
  449. package/dist/swirl-icon-video-library.entry.5b0aacca.js +0 -19
  450. package/dist/swirl-icon-voice.entry.31ff041d.js +0 -19
  451. package/dist/swirl-icon-work.entry.d662751b.js +0 -19
  452. package/dist/swirl-icon.entry.3b02acbc.js +0 -16
  453. package/dist/swirl-inline-notification.entry.5cd09ce8.js +0 -17
  454. package/dist/swirl-lightbox.entry.1739d020.js +0 -136
  455. package/dist/swirl-pagination.entry.ef59b274.js +0 -38
  456. package/dist/swirl-pdf-reader.entry.51f9250b.js +0 -109
  457. package/dist/swirl-symbol-account-circle.entry.ad72be12.js +0 -17
  458. package/dist/swirl-symbol-alternate-email.entry.b884d45e.js +0 -17
  459. package/dist/swirl-symbol-android.entry.c165aa0c.js +0 -17
  460. package/dist/swirl-symbol-announcement.entry.7e4e83ee.js +0 -17
  461. package/dist/swirl-symbol-backup.entry.e1f9b25c.js +0 -17
  462. package/dist/swirl-symbol-beach-access.entry.3f3322db.js +0 -17
  463. package/dist/swirl-symbol-bookmark.entry.9d67f514.js +0 -17
  464. package/dist/swirl-symbol-cloud.entry.2811fd9f.js +0 -17
  465. package/dist/swirl-symbol-coronavirus.entry.0b4ebafb.js +0 -17
  466. package/dist/swirl-symbol-desktop-windows.entry.a40d4d12.js +0 -17
  467. package/dist/swirl-symbol-directions-car-filled.entry.99374d4b.js +0 -17
  468. package/dist/swirl-symbol-edit-calendar.entry.3f71bdf7.js +0 -17
  469. package/dist/swirl-symbol-email.entry.b60ae480.js +0 -17
  470. package/dist/swirl-symbol-emoji-food-beverage.entry.77ce8107.js +0 -17
  471. package/dist/swirl-symbol-event-menu.entry.d44ac1ad.js +0 -17
  472. package/dist/swirl-symbol-facebook.entry.0f08b60a.js +0 -17
  473. package/dist/swirl-symbol-favorite.entry.1ea54fed.js +0 -17
  474. package/dist/swirl-symbol-fitness-center.entry.77c433e8.js +0 -17
  475. package/dist/swirl-symbol-flag.entry.dbcc3218.js +0 -17
  476. package/dist/swirl-symbol-folder.entry.f78171a7.js +0 -17
  477. package/dist/swirl-symbol-globe.entry.c0efad27.js +0 -17
  478. package/dist/swirl-symbol-groups.entry.3f4a5ef5.js +0 -17
  479. package/dist/swirl-symbol-help.entry.c9c14686.js +0 -17
  480. package/dist/swirl-symbol-image.entry.3822f8ce.js +0 -17
  481. package/dist/swirl-symbol-info-menu.entry.cec181a5.js +0 -17
  482. package/dist/swirl-symbol-instagram.entry.0895c275.js +0 -17
  483. package/dist/swirl-symbol-ios.entry.5e04c7a2.js +0 -17
  484. package/dist/swirl-symbol-language.entry.4bd8b416.js +0 -17
  485. package/dist/swirl-symbol-leaderboard.entry.b7edee6d.js +0 -17
  486. package/dist/swirl-symbol-lightbulb.entry.9b2c84a2.js +0 -17
  487. package/dist/swirl-symbol-linkedin.entry.9c658ee8.js +0 -17
  488. package/dist/swirl-symbol-location-on.entry.6da90a00.js +0 -17
  489. package/dist/swirl-symbol-loyalty.entry.92f56d21.js +0 -17
  490. package/dist/swirl-symbol-maps-home-work.entry.63e8c481.js +0 -17
  491. package/dist/swirl-symbol-notifications.entry.159a5b8b.js +0 -17
  492. package/dist/swirl-symbol-open-in-new.entry.3e5db571.js +0 -17
  493. package/dist/swirl-symbol-pedal-bike.entry.db57aa58.js +0 -17
  494. package/dist/swirl-symbol-pinterest.entry.105f350a.js +0 -17
  495. package/dist/swirl-symbol-policy.entry.7dc67eaa.js +0 -17
  496. package/dist/swirl-symbol-push-pin.entry.47c46972.js +0 -17
  497. package/dist/swirl-symbol-redeem.entry.314581b8.js +0 -17
  498. package/dist/swirl-symbol-report-problem.entry.402d879e.js +0 -17
  499. package/dist/swirl-symbol-restaurant.entry.9e27499f.js +0 -17
  500. package/dist/swirl-symbol-roadmap.entry.20b4565c.js +0 -17
  501. package/dist/swirl-symbol-room.entry.5164f68d.js +0 -17
  502. package/dist/swirl-symbol-savings.entry.746d7c4f.js +0 -17
  503. package/dist/swirl-symbol-settings-voice.entry.59e854fc.js +0 -17
  504. package/dist/swirl-symbol-shopping-cart.entry.e1fcdfcb.js +0 -17
  505. package/dist/swirl-symbol-smartphone.entry.c5b7b503.js +0 -17
  506. package/dist/swirl-symbol-star.entry.a24d3732.js +0 -17
  507. package/dist/swirl-symbol-supervisor-account.entry.5fb0244d.js +0 -17
  508. package/dist/swirl-symbol-thumbs-up-down.entry.5d1176c4.js +0 -17
  509. package/dist/swirl-symbol-twitter.entry.664f763a.js +0 -17
  510. package/dist/swirl-symbol-wb-sunny.entry.5eb28a60.js +0 -17
  511. package/dist/swirl-symbol-wechat.entry.1e66c284.js +0 -17
  512. package/dist/swirl-symbol-weibo.entry.6b0a0852.js +0 -17
  513. package/dist/swirl-symbol-work.entry.7589a2e8.js +0 -17
  514. package/dist/swirl-symbol-xing.entry.4b4932a8.js +0 -17
  515. package/dist/swirl-symbol-youtube.entry.db39b238.js +0 -17
  516. package/dist/swirl-symbol.entry.780a1e49.js +0 -16
  517. package/dist/swirl-tab.entry.cf0eba97.js +0 -17
  518. package/dist/swirl-table-row.entry.038a2f9c.js +0 -27
  519. package/dist/swirl-video-thumbnail.entry.5b454862.js +0 -88
  520. package/dist/swirl-visually-hidden.entry.fa0621d6.js +0 -15
  521. /package/dist/{floating-ui.dom.esm-bef21834.ec4a9cbf.js → floating-ui.dom.esm-b73e243b.647a7c7e.js} +0 -0
  522. /package/dist/{utils-aab10c80.240adddc.js → utils-c5f2f98f.af14538a.js} +0 -0
@@ -1,11 +1,9 @@
1
- import { r as zt, c as Rt, h as qe, H as jt, g as Qt } from "./index.d90adc50.js";
2
- import { c as vt, g as ea, a as qr, b as ta } from "./_commonjsHelpers-d20b9603.2d9b8855.js";
3
- import { c as ra } from "./index-267776a4.6beb4f4b.js";
4
- import { d as na, e as ia, i as aa } from "./utils-aab10c80.240adddc.js";
1
+ import { r as jt, c as Rt, h as qe, H as $t, g as Qt } from "./index.646f8b70.js";
2
+ import { a as cr, c as Qi, b as vt, g as Ji, d as qr, e as Zi } from "./index-d280dafb.186cdb0e.js";
3
+ import { d as ea, e as ta, i as ra } from "./utils-c5f2f98f.af14538a.js";
5
4
  import "react";
6
5
  import "react-dom";
7
- var Wn = { exports: {} };
8
- (function(Le, Ee) {
6
+ var na = cr(function(Le, Ee) {
9
7
  (function(Ie, Te) {
10
8
  Te();
11
9
  })(vt, function() {
@@ -75,10 +73,10 @@ var Wn = { exports: {} };
75
73
  });
76
74
  B.saveAs = n.saveAs = n, Le.exports = n;
77
75
  });
78
- })(Wn);
79
- const sa = ":host{display:block;width:100%;height:100%;pointer-events:none}:host *{box-sizing:border-box}.file-viewer{display:flex;width:100%;height:100%;justify-content:center;align-items:center}.file-viewer__file{display:inline-flex;width:100%;height:100%;justify-content:center;align-items:center}", oa = sa, la = class {
76
+ });
77
+ const ia = ":host{display:block;width:100%;height:100%;pointer-events:none}:host *{box-sizing:border-box}.file-viewer{display:flex;width:100%;height:100%;justify-content:center;align-items:center}.file-viewer__file{display:inline-flex;width:100%;height:100%;justify-content:center;align-items:center}", aa = class {
80
78
  constructor(Le) {
81
- zt(this, Le), this.activate = Rt(this, "activate", 7), this.visiblePagesChange = Rt(this, "visiblePagesChange", 7), this.onActivate = (Ee) => {
79
+ jt(this, Le), this.activate = Rt(this, "activate", 7), this.visiblePagesChange = Rt(this, "visiblePagesChange", 7), this.onActivate = (Ee) => {
82
80
  this.activate.emit(Ee.detail);
83
81
  }, this.onVisiblePagesChange = (Ee) => {
84
82
  this.visiblePagesChange.emit(Ee.detail);
@@ -86,40 +84,39 @@ const sa = ":host{display:block;width:100%;height:100%;pointer-events:none}:host
86
84
  }
87
85
  async download() {
88
86
  const Le = this.fileName || this.file.split("/").pop(), Ee = await fetch(this.file);
89
- Wn.exports.saveAs(await Ee.blob(), Le);
87
+ na.saveAs(await Ee.blob(), Le);
90
88
  }
91
89
  async print() {
92
90
  this.type === "application/pdf" && this.viewer.print();
93
91
  }
94
92
  render() {
95
93
  const Le = !Boolean(this.type) || !this.type.startsWith("image/") && !this.type.startsWith("video/") && !this.type.startsWith("audio/") && this.type !== "text/plain" && this.type !== "text/csv" && this.type !== "application/pdf";
96
- return qe(jt, { key: "133db2c893046c18843e85914e03d9c8d772ef38" }, qe("div", { key: "bac936e9f4ea6ec9136eff37fa3714c0103f66ad", class: "file-viewer" }, this.type && this.active && qe("div", { key: "a10bb274c52f27181f93768f69887e0448a24b29", class: "file-viewer__file" }, this.type.startsWith("image/") && qe("swirl-file-viewer-image", { key: "9192235bebcc4f40307c7e7f11b6e0ad7ee8a21c", description: this.description, errorMessage: this.errorMessage, file: this.file, ref: (Ee) => this.viewer = Ee }), this.type === "text/plain" && qe("swirl-file-viewer-text", { key: "9f2db120c5b64854b125f3c2832d59af24adf211", errorMessage: this.errorMessage, file: this.file, ref: (Ee) => this.viewer = Ee }), this.type === "text/csv" && qe("swirl-file-viewer-csv", { key: "d144fb5f33ac1ff9a1b04ada890fd8453541cb56", errorMessage: this.errorMessage, file: this.file, ref: (Ee) => this.viewer = Ee }), this.type === "application/pdf" && qe("swirl-file-viewer-pdf", { key: "416ca123156dd72b54d7ab712206571b8707b044", errorMessage: this.errorMessage, file: this.file, onActivate: this.onActivate, onVisiblePagesChange: this.onVisiblePagesChange, ref: (Ee) => this.viewer = Ee, viewMode: this.viewMode, workerSrc: this.pdfWorkerSrc, zoom: this.zoom }), this.type.startsWith("video/") && qe("swirl-file-viewer-video", { key: "a9911792aebb0c296a98937e1af5a68d4478fefe", autoplay: this.autoplay, file: this.file, ref: (Ee) => this.viewer = Ee, type: this.type }), this.type.startsWith("audio/") && qe("swirl-file-viewer-audio", { key: "9e5727a68243f1eb6bc7f5ace745c1d5e506f2f2", autoplay: this.autoplay, file: this.file, ref: (Ee) => this.viewer = Ee, type: this.type }), Le && qe("swirl-inline-error", { key: "1956df92ba2d0eb4ca9044b604fe995a32b39ef6", message: this.typeUnsupportedMessage }))));
94
+ return qe($t, null, qe("div", { class: "file-viewer" }, this.type && this.active && qe("div", { class: "file-viewer__file" }, this.type.startsWith("image/") && qe("swirl-file-viewer-image", { description: this.description, errorMessage: this.errorMessage, file: this.file, ref: (Ee) => this.viewer = Ee }), this.type === "text/plain" && qe("swirl-file-viewer-text", { errorMessage: this.errorMessage, file: this.file, ref: (Ee) => this.viewer = Ee }), this.type === "text/csv" && qe("swirl-file-viewer-csv", { errorMessage: this.errorMessage, file: this.file, ref: (Ee) => this.viewer = Ee }), this.type === "application/pdf" && qe("swirl-file-viewer-pdf", { errorMessage: this.errorMessage, file: this.file, onActivate: this.onActivate, onVisiblePagesChange: this.onVisiblePagesChange, ref: (Ee) => this.viewer = Ee, viewMode: this.viewMode, workerSrc: this.pdfWorkerSrc, zoom: this.zoom }), this.type.startsWith("video/") && qe("swirl-file-viewer-video", { autoplay: this.autoplay, file: this.file, ref: (Ee) => this.viewer = Ee, type: this.type }), this.type.startsWith("audio/") && qe("swirl-file-viewer-audio", { autoplay: this.autoplay, file: this.file, ref: (Ee) => this.viewer = Ee, type: this.type }), Le && qe("swirl-inline-error", { message: this.typeUnsupportedMessage }))));
97
95
  }
98
96
  };
99
- la.style = oa;
100
- const ca = ":host{display:inline-flex;width:100%;height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-audio__audio{width:100%;height:100%}", ua = ca, da = class {
97
+ aa.style = ia;
98
+ const sa = ":host{display:inline-flex;width:100%;height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-audio__audio{width:100%;height:100%}", oa = class {
101
99
  constructor(Le) {
102
- zt(this, Le), this.activate = Rt(this, "activate", 7), this.autoplay = void 0, this.file = void 0, this.type = void 0;
100
+ jt(this, Le), this.activate = Rt(this, "activate", 7), this.autoplay = void 0, this.file = void 0, this.type = void 0;
103
101
  }
104
102
  componentDidLoad() {
105
103
  this.activate.emit(this.el);
106
104
  }
107
105
  render() {
108
- return qe(jt, { key: "0e494c28b84a8e7f5bb96bb6ab5058fbcbd72a27", class: "file-viewer-audio" }, qe("audio", { key: "431b75db86c4192710a7245dc15ccc29aabfd673", autoplay: this.autoplay, class: "file-viewer-audio__audio", controls: !0 }, qe("source", { key: "7d3f05a791bc9005c6b8e1c75a99b1eff30d016c", src: this.file, type: this.type })));
106
+ return qe($t, { class: "file-viewer-audio" }, qe("audio", { autoplay: this.autoplay, class: "file-viewer-audio__audio", controls: !0 }, qe("source", { src: this.file, type: this.type })));
109
107
  }
110
108
  get el() {
111
109
  return Qt(this);
112
110
  }
113
111
  };
114
- da.style = ua;
115
- var Un = { exports: {} };
116
- /* @license
117
- Papa Parse
118
- v5.3.2
119
- https://github.com/mholt/PapaParse
120
- License: MIT
121
- */
122
- (function(Le, Ee) {
112
+ oa.style = sa;
113
+ var la = cr(function(Le, Ee) {
114
+ /* @license
115
+ Papa Parse
116
+ v5.3.2
117
+ https://github.com/mholt/PapaParse
118
+ License: MIT
119
+ */
123
120
  (function(Ie, Te) {
124
121
  Le.exports = Te();
125
122
  })(vt, function Ie() {
@@ -645,10 +642,10 @@ License: MIT
645
642
  }
646
643
  }), (T.prototype = Object.create(c.prototype)).constructor = T, (R.prototype = Object.create(c.prototype)).constructor = R, (O.prototype = Object.create(O.prototype)).constructor = O, (P.prototype = Object.create(c.prototype)).constructor = P, n;
647
644
  });
648
- })(Un);
649
- const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-csv__csv{overflow:auto;width:100%;max-height:100%;padding:var(--s-space-16);background-color:var(--s-background-default)}.file-viewer-csv__table{margin-right:auto;margin-left:auto;border-collapse:collapse;line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-csv__table{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.file-viewer-csv__cell{padding:var(--s-space-8);border:var(--s-border-width-default) solid var(--s-border-default)}.file-viewer-csv__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-csv__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", fa = ha, pa = class {
645
+ });
646
+ const ca = ":host{position:relative;display:inline-flex;width:100%;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-csv__csv{overflow:auto;width:100%;max-height:100%;padding:var(--s-space-16);background-color:var(--s-background-default)}.file-viewer-csv__table{margin-right:auto;margin-left:auto;border-collapse:collapse;line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-csv__table{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.file-viewer-csv__cell{padding:var(--s-space-8);border:var(--s-border-width-default) solid var(--s-border-default)}.file-viewer-csv__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-csv__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", ua = class {
650
647
  constructor(Le) {
651
- zt(this, Le), this.activate = Rt(this, "activate", 7), this.errorMessage = "File could not be loaded.", this.file = void 0, this.data = void 0, this.error = void 0, this.loading = void 0;
648
+ jt(this, Le), this.activate = Rt(this, "activate", 7), this.errorMessage = "File could not be loaded.", this.file = void 0, this.data = void 0, this.error = void 0, this.loading = void 0;
652
649
  }
653
650
  componentWillLoad() {
654
651
  this.updateTable();
@@ -660,7 +657,7 @@ const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:10
660
657
  var Le;
661
658
  this.error = !1, this.loading = !0;
662
659
  try {
663
- const Ee = await fetch(this.file), Ie = Un.exports.parse(await Ee.text(), {
660
+ const Ee = await fetch(this.file), Ie = la.parse(await Ee.text(), {
664
661
  dynamicTyping: !0,
665
662
  fastMode: !1,
666
663
  skipEmptyLines: !0
@@ -676,7 +673,7 @@ const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:10
676
673
  }
677
674
  render() {
678
675
  var Le;
679
- return qe(jt, { key: "0a0117ae358da0007600017d4825717ee3e9670e", class: "file-viewer-csv", exportparts: "file-viewer-csv__table" }, this.error && qe("swirl-inline-error", { key: "da5dfe7f4a6946a6376c5e5d620ba9ad4ad85519", class: "file-viewer-csv__error", message: this.errorMessage }), qe("div", { key: "2adc7ae863b4e03575c195a4e31324419bca5431", class: "file-viewer-csv__csv", tabIndex: 0 }, qe("table", { key: "af408847ea1ba3fb10037ba45d2d7b845a76f385", class: "file-viewer-csv__table", part: "file-viewer-csv__table" }, qe("tbody", { key: "fa76554c9c0f9589db29ec1900a70e86ebd62e5a" }, (Le = this.data) == null ? void 0 : Le.map((Ee, Ie) => qe("tr", { class: "file-viewer-csv__row", key: `row-${Ie}` }, Ee.map((Te, De) => qe("td", { class: "file-viewer-csv__cell", key: `cell-${Ie}-${De}` }, Te))))))), this.loading && qe("div", { key: "a7f1fd6fd349d77a4616ba85843a75a3ea4dd106", class: "file-viewer-csv__spinner" }, qe("swirl-spinner", { key: "6f6e6799af6ed55545dcbb40df9747112e849476" })));
676
+ return qe($t, { class: "file-viewer-csv", exportparts: "file-viewer-csv__table" }, this.error && qe("swirl-inline-error", { class: "file-viewer-csv__error", message: this.errorMessage }), qe("div", { class: "file-viewer-csv__csv", tabIndex: 0 }, qe("table", { class: "file-viewer-csv__table", part: "file-viewer-csv__table" }, qe("tbody", null, (Le = this.data) == null ? void 0 : Le.map((Ee, Ie) => qe("tr", { class: "file-viewer-csv__row", key: `row-${Ie}` }, Ee.map((Te, De) => qe("td", { class: "file-viewer-csv__cell", key: `cell-${Ie}-${De}` }, Te))))))), this.loading && qe("div", { class: "file-viewer-csv__spinner" }, qe("swirl-spinner", null)));
680
677
  }
681
678
  get el() {
682
679
  return Qt(this);
@@ -687,10 +684,10 @@ const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:10
687
684
  };
688
685
  }
689
686
  };
690
- pa.style = fa;
691
- const ga = ":host{position:relative;display:inline-flex;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-image__image{max-width:100%;-o-object-fit:contain;object-fit:contain}.file-viewer-image__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-image__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", ma = ga, va = class {
687
+ ua.style = ca;
688
+ const da = ":host{position:relative;display:inline-flex;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-image__image{max-width:100%;-o-object-fit:contain;object-fit:contain}.file-viewer-image__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-image__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", ha = class {
692
689
  constructor(Le) {
693
- zt(this, Le), this.activate = Rt(this, "activate", 7), this.panX = 0, this.panY = 0, this.zoom = 1, this.onError = () => {
690
+ jt(this, Le), this.activate = Rt(this, "activate", 7), this.panX = 0, this.panY = 0, this.zoom = 1, this.onError = () => {
694
691
  this.error = !0, this.loading = !1;
695
692
  }, this.onLoad = () => {
696
693
  this.error = !1, this.loading = !1;
@@ -762,7 +759,7 @@ const ga = ":host{position:relative;display:inline-flex;max-height:100%;pointer-
762
759
  return this.updateZoomAndPan(1);
763
760
  }
764
761
  render() {
765
- return qe(jt, { key: "1d84dc65eeb593e4bf470a59d1914f4a08f7ff58", class: "file-viewer-image", onDblClick: this.onDblClick, onWheel: this.onWheel, onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onTouchStart: this.onTouchStart, onTouchMove: this.onTouchMove, onTouchEnd: this.onTouchEnd }, this.error && qe("swirl-inline-error", { key: "c80ff80d4c43c4a662d9cf816b34455d1baad9d1", class: "file-viewer-image__error", message: this.errorMessage }), qe("img", { key: "a40148c10011b733ec02e0df860cf21533c3640f", alt: this.description, class: "file-viewer-image__image", onError: this.onError, onLoad: this.onLoad, ref: (Le) => this.imageEl = Le, src: this.file }), this.loading && qe("div", { key: "6c0bb33fdf1697c052981e3c73347e76612073bf", class: "file-viewer-image__spinner" }, qe("swirl-spinner", { key: "1e5694e52d06c24663d2278e64cd8b1be3f002fd" })));
762
+ return qe($t, { class: "file-viewer-image", onDblClick: this.onDblClick, onWheel: this.onWheel, onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onTouchStart: this.onTouchStart, onTouchMove: this.onTouchMove, onTouchEnd: this.onTouchEnd }, this.error && qe("swirl-inline-error", { class: "file-viewer-image__error", message: this.errorMessage }), qe("img", { alt: this.description, class: "file-viewer-image__image", onError: this.onError, onLoad: this.onLoad, ref: (Le) => this.imageEl = Le, src: this.file }), this.loading && qe("div", { class: "file-viewer-image__spinner" }, qe("swirl-spinner", null)));
766
763
  }
767
764
  get el() {
768
765
  return Qt(this);
@@ -773,14 +770,13 @@ const ga = ":host{position:relative;display:inline-flex;max-height:100%;pointer-
773
770
  };
774
771
  }
775
772
  };
776
- va.style = ma;
777
- var Or = { exports: {} }, zn = { exports: {} };
778
- /*!
779
- * DOMMatrix v1.0.3 (https://thednp.github.io/dommatrix/)
780
- * Copyright 2022 © thednp
781
- * Licensed under MIT (https://github.com/thednp/DOMMatrix/blob/master/LICENSE)
782
- */
783
- (function(Le, Ee) {
773
+ ha.style = da;
774
+ var fa = cr(function(Le, Ee) {
775
+ /*!
776
+ * DOMMatrix v1.0.3 (https://thednp.github.io/dommatrix/)
777
+ * Copyright 2022 © thednp
778
+ * Licensed under MIT (https://github.com/thednp/DOMMatrix/blob/master/LICENSE)
779
+ */
784
780
  (function(Ie, Te) {
785
781
  Le.exports = Te();
786
782
  })(vt, function() {
@@ -1068,9 +1064,7 @@ var Or = { exports: {} }, zn = { exports: {} };
1068
1064
  var y = "1.0.3", D = y;
1069
1065
  return Object.assign(P, { Version: D }), P;
1070
1066
  });
1071
- })(zn);
1072
- var Kr = { exports: {} };
1073
- (function(Le, Ee) {
1067
+ }), pa = cr(function(Le, Ee) {
1074
1068
  (function(Ie, Te) {
1075
1069
  Te(Ee);
1076
1070
  })(vt, function(Ie) {
@@ -1392,10 +1386,10 @@ var Kr = { exports: {} };
1392
1386
  }, e;
1393
1387
  }(), ze = {
1394
1388
  next: function() {
1395
- return Pe(this) ? this._asyncIteratorImpl.next() : m(H("next"));
1389
+ return Pe(this) ? this._asyncIteratorImpl.next() : m(V("next"));
1396
1390
  },
1397
1391
  return: function(e) {
1398
- return Pe(this) ? this._asyncIteratorImpl.return(e) : m(H("return"));
1392
+ return Pe(this) ? this._asyncIteratorImpl.return(e) : m(V("return"));
1399
1393
  }
1400
1394
  };
1401
1395
  Ce !== void 0 && Object.setPrototypeOf(ze, Ce);
@@ -1412,7 +1406,7 @@ var Kr = { exports: {} };
1412
1406
  return !1;
1413
1407
  }
1414
1408
  }
1415
- function H(e) {
1409
+ function V(e) {
1416
1410
  return new TypeError("ReadableStreamAsyncIterator." + e + " can only be used on a ReadableSteamAsyncIterator");
1417
1411
  }
1418
1412
  var Q = Number.isNaN || function(e) {
@@ -1421,7 +1415,7 @@ var Kr = { exports: {} };
1421
1415
  function G(e) {
1422
1416
  return e.slice();
1423
1417
  }
1424
- function V(e, i, x, K, pe) {
1418
+ function H(e, i, x, K, pe) {
1425
1419
  new Uint8Array(e).set(new Uint8Array(x, K, pe), i);
1426
1420
  }
1427
1421
  function oe(e) {
@@ -1431,7 +1425,7 @@ var Kr = { exports: {} };
1431
1425
  if (e.slice)
1432
1426
  return e.slice(i, x);
1433
1427
  var K = x - i, pe = new ArrayBuffer(K);
1434
- return V(pe, 0, e, i, K), pe;
1428
+ return H(pe, 0, e, i, K), pe;
1435
1429
  }
1436
1430
  function ke(e) {
1437
1431
  return !(typeof e != "number" || Q(e) || e < 0);
@@ -1462,20 +1456,20 @@ var Kr = { exports: {} };
1462
1456
  }
1463
1457
  return Object.defineProperty(e.prototype, "view", {
1464
1458
  get: function() {
1465
- if (!Ve(this))
1459
+ if (!He(this))
1466
1460
  throw Mr("view");
1467
1461
  return this._view;
1468
1462
  },
1469
1463
  enumerable: !1,
1470
1464
  configurable: !0
1471
1465
  }), e.prototype.respond = function(i) {
1472
- if (!Ve(this))
1466
+ if (!He(this))
1473
1467
  throw Mr("respond");
1474
1468
  if (S(i, 1, "respond"), i = _(i, "First parameter"), this._associatedReadableByteStreamController === void 0)
1475
1469
  throw new TypeError("This BYOB request has been invalidated");
1476
1470
  At(this._associatedReadableByteStreamController, i);
1477
1471
  }, e.prototype.respondWithNewView = function(i) {
1478
- if (!Ve(this))
1472
+ if (!He(this))
1479
1473
  throw Mr("respondWithNewView");
1480
1474
  if (S(i, 1, "respondWithNewView"), !ArrayBuffer.isView(i))
1481
1475
  throw new TypeError("You can only respond with array buffer views");
@@ -1548,7 +1542,7 @@ var Kr = { exports: {} };
1548
1542
  var x = this._controlledReadableByteStream;
1549
1543
  if (this._queueTotalSize > 0) {
1550
1544
  var K = this._queue.shift();
1551
- this._queueTotalSize -= K.byteLength, He(this);
1545
+ this._queueTotalSize -= K.byteLength, Ve(this);
1552
1546
  var pe = new Uint8Array(K.buffer, K.byteOffset, K.byteLength);
1553
1547
  i._chunkSteps(pe);
1554
1548
  return;
@@ -1590,7 +1584,7 @@ var Kr = { exports: {} };
1590
1584
  function We(e) {
1591
1585
  return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledReadableByteStream") ? !1 : e instanceof be;
1592
1586
  }
1593
- function Ve(e) {
1587
+ function He(e) {
1594
1588
  return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_associatedReadableByteStreamController") ? !1 : e instanceof ae;
1595
1589
  }
1596
1590
  function me(e) {
@@ -1616,7 +1610,7 @@ var Kr = { exports: {} };
1616
1610
  var x = !1;
1617
1611
  e._state === "closed" && (x = !0);
1618
1612
  var K = Ne(i);
1619
- i.readerType === "default" ? J(e, K, x) : Gn(e, K, x);
1613
+ i.readerType === "default" ? J(e, K, x) : zn(e, K, x);
1620
1614
  }
1621
1615
  function Ne(e) {
1622
1616
  var i = e.bytesFilled, x = e.elementSize;
@@ -1630,14 +1624,14 @@ var Kr = { exports: {} };
1630
1624
  Me > K && (Ue = Me - i.bytesFilled, Ke = !0);
1631
1625
  for (var Je = e._queue; Ue > 0; ) {
1632
1626
  var et = Je.peek(), rt = Math.min(Ue, et.byteLength), dt = i.byteOffset + i.bytesFilled;
1633
- V(i.buffer, dt, et.buffer, et.byteOffset, rt), et.byteLength === rt ? Je.shift() : (et.byteOffset += rt, et.byteLength -= rt), e._queueTotalSize -= rt, Xe(e, rt, i), Ue -= rt;
1627
+ H(i.buffer, dt, et.buffer, et.byteOffset, rt), et.byteLength === rt ? Je.shift() : (et.byteOffset += rt, et.byteLength -= rt), e._queueTotalSize -= rt, Xe(e, rt, i), Ue -= rt;
1634
1628
  }
1635
1629
  return Ke;
1636
1630
  }
1637
1631
  function Xe(e, i, x) {
1638
1632
  x.bytesFilled += i;
1639
1633
  }
1640
- function He(e) {
1634
+ function Ve(e) {
1641
1635
  e._queueTotalSize === 0 && e._closeRequested ? (st(e), sr(e._controlledReadableByteStream)) : me(e);
1642
1636
  }
1643
1637
  function je(e) {
@@ -1676,7 +1670,7 @@ var Kr = { exports: {} };
1676
1670
  if (e._queueTotalSize > 0) {
1677
1671
  if (Ge(e, Ue)) {
1678
1672
  var Je = Ne(Ue);
1679
- He(e), x._chunkSteps(Je);
1673
+ Ve(e), x._chunkSteps(Je);
1680
1674
  return;
1681
1675
  }
1682
1676
  if (e._closeRequested) {
@@ -1773,7 +1767,7 @@ var Kr = { exports: {} };
1773
1767
  function xt(e) {
1774
1768
  if (e._byobRequest === null && e._pendingPullIntos.length > 0) {
1775
1769
  var i = e._pendingPullIntos.peek(), x = new Uint8Array(i.buffer, i.byteOffset + i.bytesFilled, i.byteLength - i.bytesFilled), K = Object.create(ae.prototype);
1776
- $n(K, e, x), e._byobRequest = K;
1770
+ Un(K, e, x), e._byobRequest = K;
1777
1771
  }
1778
1772
  return e._byobRequest;
1779
1773
  }
@@ -1819,7 +1813,7 @@ var Kr = { exports: {} };
1819
1813
  pt(i, Ke);
1820
1814
  });
1821
1815
  }
1822
- function jn(e, i, x) {
1816
+ function Wn(e, i, x) {
1823
1817
  var K = Object.create(be.prototype), pe = function() {
1824
1818
  }, Ae = function() {
1825
1819
  return P(void 0);
@@ -1838,7 +1832,7 @@ var Kr = { exports: {} };
1838
1832
  throw new TypeError("autoAllocateChunkSize must be greater than 0");
1839
1833
  Qr(e, K, pe, Ae, Me, x, Ue);
1840
1834
  }
1841
- function $n(e, i, x) {
1835
+ function Un(e, i, x) {
1842
1836
  e._associatedReadableByteStreamController = i, e._view = x;
1843
1837
  }
1844
1838
  function Mr(e) {
@@ -1853,7 +1847,7 @@ var Kr = { exports: {} };
1853
1847
  function Zr(e, i) {
1854
1848
  e._reader._readIntoRequests.push(i);
1855
1849
  }
1856
- function Gn(e, i, x) {
1850
+ function zn(e, i, x) {
1857
1851
  var K = e._reader, pe = K._readIntoRequests.shift();
1858
1852
  x ? pe._closeSteps(i) : pe._chunkSteps(i);
1859
1853
  }
@@ -1874,15 +1868,15 @@ var Kr = { exports: {} };
1874
1868
  }
1875
1869
  return Object.defineProperty(e.prototype, "closed", {
1876
1870
  get: function() {
1877
- return Nt(this) ? this._closedPromise : m(cr("closed"));
1871
+ return Nt(this) ? this._closedPromise : m(ur("closed"));
1878
1872
  },
1879
1873
  enumerable: !1,
1880
1874
  configurable: !0
1881
1875
  }), e.prototype.cancel = function(i) {
1882
- return i === void 0 && (i = void 0), Nt(this) ? this._ownerReadableStream === void 0 ? m(g("cancel")) : a(this, i) : m(cr("cancel"));
1876
+ return i === void 0 && (i = void 0), Nt(this) ? this._ownerReadableStream === void 0 ? m(g("cancel")) : a(this, i) : m(ur("cancel"));
1883
1877
  }, e.prototype.read = function(i) {
1884
1878
  if (!Nt(this))
1885
- return m(cr("read"));
1879
+ return m(ur("read"));
1886
1880
  if (!ArrayBuffer.isView(i))
1887
1881
  return m(new TypeError("view must be an array buffer view"));
1888
1882
  if (i.byteLength === 0)
@@ -1907,7 +1901,7 @@ var Kr = { exports: {} };
1907
1901
  return tn(this, i, Ae), pe;
1908
1902
  }, e.prototype.releaseLock = function() {
1909
1903
  if (!Nt(this))
1910
- throw cr("releaseLock");
1904
+ throw ur("releaseLock");
1911
1905
  if (this._ownerReadableStream !== void 0) {
1912
1906
  if (this._readIntoRequests.length > 0)
1913
1907
  throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");
@@ -1931,7 +1925,7 @@ var Kr = { exports: {} };
1931
1925
  var K = e._ownerReadableStream;
1932
1926
  K._disturbed = !0, K._state === "errored" ? x._errorSteps(K._storedError) : ct(K._readableStreamController, i, x);
1933
1927
  }
1934
- function cr(e) {
1928
+ function ur(e) {
1935
1929
  return new TypeError("ReadableStreamBYOBReader.prototype." + e + " can only be used on a ReadableStreamBYOBReader");
1936
1930
  }
1937
1931
  function er(e, i) {
@@ -1942,61 +1936,61 @@ var Kr = { exports: {} };
1942
1936
  throw new RangeError("Invalid highWaterMark");
1943
1937
  return x;
1944
1938
  }
1945
- function ur(e) {
1939
+ function dr(e) {
1946
1940
  var i = e.size;
1947
1941
  return i || function() {
1948
1942
  return 1;
1949
1943
  };
1950
1944
  }
1951
- function dr(e, i) {
1945
+ function hr(e, i) {
1952
1946
  ye(e, i);
1953
1947
  var x = e == null ? void 0 : e.highWaterMark, K = e == null ? void 0 : e.size;
1954
1948
  return {
1955
1949
  highWaterMark: x === void 0 ? void 0 : j(x),
1956
- size: K === void 0 ? void 0 : Vn(K, i + " has member 'size' that")
1950
+ size: K === void 0 ? void 0 : jn(K, i + " has member 'size' that")
1957
1951
  };
1958
1952
  }
1959
- function Vn(e, i) {
1953
+ function jn(e, i) {
1960
1954
  return Se(e, i), function(x) {
1961
1955
  return j(e(x));
1962
1956
  };
1963
1957
  }
1964
- function Hn(e, i) {
1958
+ function $n(e, i) {
1965
1959
  ye(e, i);
1966
1960
  var x = e == null ? void 0 : e.abort, K = e == null ? void 0 : e.close, pe = e == null ? void 0 : e.start, Ae = e == null ? void 0 : e.type, Me = e == null ? void 0 : e.write;
1967
1961
  return {
1968
- abort: x === void 0 ? void 0 : Xn(x, e, i + " has member 'abort' that"),
1969
- close: K === void 0 ? void 0 : Yn(K, e, i + " has member 'close' that"),
1970
- start: pe === void 0 ? void 0 : qn(pe, e, i + " has member 'start' that"),
1971
- write: Me === void 0 ? void 0 : Kn(Me, e, i + " has member 'write' that"),
1962
+ abort: x === void 0 ? void 0 : Gn(x, e, i + " has member 'abort' that"),
1963
+ close: K === void 0 ? void 0 : Hn(K, e, i + " has member 'close' that"),
1964
+ start: pe === void 0 ? void 0 : Vn(pe, e, i + " has member 'start' that"),
1965
+ write: Me === void 0 ? void 0 : Xn(Me, e, i + " has member 'write' that"),
1972
1966
  type: Ae
1973
1967
  };
1974
1968
  }
1975
- function Xn(e, i, x) {
1969
+ function Gn(e, i, x) {
1976
1970
  return Se(e, x), function(K) {
1977
1971
  return p(e, i, [K]);
1978
1972
  };
1979
1973
  }
1980
- function Yn(e, i, x) {
1974
+ function Hn(e, i, x) {
1981
1975
  return Se(e, x), function() {
1982
1976
  return p(e, i, []);
1983
1977
  };
1984
1978
  }
1985
- function qn(e, i, x) {
1979
+ function Vn(e, i, x) {
1986
1980
  return Se(e, x), function(K) {
1987
1981
  return F(e, i, [K]);
1988
1982
  };
1989
1983
  }
1990
- function Kn(e, i, x) {
1984
+ function Xn(e, i, x) {
1991
1985
  return Se(e, x), function(K, pe) {
1992
1986
  return p(e, i, [K, pe]);
1993
1987
  };
1994
1988
  }
1995
1989
  function rn(e, i) {
1996
- if (!$t(e))
1990
+ if (!Gt(e))
1997
1991
  throw new TypeError(i + " is not a WritableStream.");
1998
1992
  }
1999
- function Qn(e) {
1993
+ function Yn(e) {
2000
1994
  if (typeof e != "object" || e === null)
2001
1995
  return !1;
2002
1996
  try {
@@ -2005,37 +1999,37 @@ var Kr = { exports: {} };
2005
1999
  return !1;
2006
2000
  }
2007
2001
  }
2008
- var Jn = typeof AbortController == "function";
2009
- function Zn() {
2010
- if (Jn)
2002
+ var qn = typeof AbortController == "function";
2003
+ function Kn() {
2004
+ if (qn)
2011
2005
  return new AbortController();
2012
2006
  }
2013
2007
  var tr = function() {
2014
2008
  function e(i, x) {
2015
2009
  i === void 0 && (i = {}), x === void 0 && (x = {}), i === void 0 ? i = null : C(i, "First parameter");
2016
- var K = dr(x, "Second parameter"), pe = Hn(i, "First parameter");
2010
+ var K = hr(x, "Second parameter"), pe = $n(i, "First parameter");
2017
2011
  an(this);
2018
2012
  var Ae = pe.type;
2019
2013
  if (Ae !== void 0)
2020
2014
  throw new RangeError("Invalid type is specified");
2021
- var Me = ur(K), Ue = er(K, 1);
2022
- fi(this, pe, Ue, Me);
2015
+ var Me = dr(K), Ue = er(K, 1);
2016
+ ui(this, pe, Ue, Me);
2023
2017
  }
2024
2018
  return Object.defineProperty(e.prototype, "locked", {
2025
2019
  get: function() {
2026
- if (!$t(this))
2027
- throw mr("locked");
2028
- return Gt(this);
2020
+ if (!Gt(this))
2021
+ throw vr("locked");
2022
+ return Ht(this);
2029
2023
  },
2030
2024
  enumerable: !1,
2031
2025
  configurable: !0
2032
2026
  }), e.prototype.abort = function(i) {
2033
- return i === void 0 && (i = void 0), $t(this) ? Gt(this) ? m(new TypeError("Cannot abort a stream that already has a writer")) : hr(this, i) : m(mr("abort"));
2027
+ return i === void 0 && (i = void 0), Gt(this) ? Ht(this) ? m(new TypeError("Cannot abort a stream that already has a writer")) : fr(this, i) : m(vr("abort"));
2034
2028
  }, e.prototype.close = function() {
2035
- return $t(this) ? Gt(this) ? m(new TypeError("Cannot close a stream that already has a writer")) : _t(this) ? m(new TypeError("Cannot close an already-closing stream")) : sn(this) : m(mr("close"));
2029
+ return Gt(this) ? Ht(this) ? m(new TypeError("Cannot close a stream that already has a writer")) : _t(this) ? m(new TypeError("Cannot close an already-closing stream")) : sn(this) : m(vr("close"));
2036
2030
  }, e.prototype.getWriter = function() {
2037
- if (!$t(this))
2038
- throw mr("getWriter");
2031
+ if (!Gt(this))
2032
+ throw vr("getWriter");
2039
2033
  return nn(this);
2040
2034
  }, e;
2041
2035
  }();
@@ -2051,7 +2045,7 @@ var Kr = { exports: {} };
2051
2045
  function nn(e) {
2052
2046
  return new rr(e);
2053
2047
  }
2054
- function ei(e, i, x, K, pe, Ae) {
2048
+ function Qn(e, i, x, K, pe, Ae) {
2055
2049
  pe === void 0 && (pe = 1), Ae === void 0 && (Ae = function() {
2056
2050
  return 1;
2057
2051
  });
@@ -2063,13 +2057,13 @@ var Kr = { exports: {} };
2063
2057
  function an(e) {
2064
2058
  e._state = "writable", e._storedError = void 0, e._writer = void 0, e._writableStreamController = void 0, e._writeRequests = new u(), e._inFlightWriteRequest = void 0, e._closeRequest = void 0, e._inFlightCloseRequest = void 0, e._pendingAbortRequest = void 0, e._backpressure = !1;
2065
2059
  }
2066
- function $t(e) {
2060
+ function Gt(e) {
2067
2061
  return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_writableStreamController") ? !1 : e instanceof tr;
2068
2062
  }
2069
- function Gt(e) {
2063
+ function Ht(e) {
2070
2064
  return e._writer !== void 0;
2071
2065
  }
2072
- function hr(e, i) {
2066
+ function fr(e, i) {
2073
2067
  var x;
2074
2068
  if (e._state === "closed" || e._state === "errored")
2075
2069
  return P(void 0);
@@ -2103,9 +2097,9 @@ var Kr = { exports: {} };
2103
2097
  };
2104
2098
  e._closeRequest = Me;
2105
2099
  }), K = e._writer;
2106
- return K !== void 0 && e._backpressure && i === "writable" && Gr(K), pi(e._writableStreamController), x;
2100
+ return K !== void 0 && e._backpressure && i === "writable" && Gr(K), di(e._writableStreamController), x;
2107
2101
  }
2108
- function ti(e) {
2102
+ function Jn(e) {
2109
2103
  var i = O(function(x, K) {
2110
2104
  var pe = {
2111
2105
  _resolve: x,
@@ -2127,7 +2121,7 @@ var Kr = { exports: {} };
2127
2121
  var x = e._writableStreamController;
2128
2122
  e._state = "erroring", e._storedError = i;
2129
2123
  var K = e._writer;
2130
- K !== void 0 && ln(K, i), !si(e) && x._started && Lr(e);
2124
+ K !== void 0 && ln(K, i), !ni(e) && x._started && Lr(e);
2131
2125
  }
2132
2126
  function Lr(e) {
2133
2127
  e._state = "errored", e._writableStreamController[z]();
@@ -2135,70 +2129,70 @@ var Kr = { exports: {} };
2135
2129
  if (e._writeRequests.forEach(function(pe) {
2136
2130
  pe._reject(i);
2137
2131
  }), e._writeRequests = new u(), e._pendingAbortRequest === void 0) {
2138
- fr(e);
2132
+ pr(e);
2139
2133
  return;
2140
2134
  }
2141
2135
  var x = e._pendingAbortRequest;
2142
2136
  if (e._pendingAbortRequest = void 0, x._wasAlreadyErroring) {
2143
- x._reject(i), fr(e);
2137
+ x._reject(i), pr(e);
2144
2138
  return;
2145
2139
  }
2146
2140
  var K = e._writableStreamController[Z](x._reason);
2147
2141
  D(K, function() {
2148
- x._resolve(), fr(e);
2142
+ x._resolve(), pr(e);
2149
2143
  }, function(pe) {
2150
- x._reject(pe), fr(e);
2144
+ x._reject(pe), pr(e);
2151
2145
  });
2152
2146
  }
2153
- function ri(e) {
2147
+ function Zn(e) {
2154
2148
  e._inFlightWriteRequest._resolve(void 0), e._inFlightWriteRequest = void 0;
2155
2149
  }
2156
- function ni(e, i) {
2150
+ function ei(e, i) {
2157
2151
  e._inFlightWriteRequest._reject(i), e._inFlightWriteRequest = void 0, Ir(e, i);
2158
2152
  }
2159
- function ii(e) {
2153
+ function ti(e) {
2160
2154
  e._inFlightCloseRequest._resolve(void 0), e._inFlightCloseRequest = void 0;
2161
2155
  var i = e._state;
2162
2156
  i === "erroring" && (e._storedError = void 0, e._pendingAbortRequest !== void 0 && (e._pendingAbortRequest._resolve(), e._pendingAbortRequest = void 0)), e._state = "closed";
2163
2157
  var x = e._writer;
2164
2158
  x !== void 0 && mn(x);
2165
2159
  }
2166
- function ai(e, i) {
2160
+ function ri(e, i) {
2167
2161
  e._inFlightCloseRequest._reject(i), e._inFlightCloseRequest = void 0, e._pendingAbortRequest !== void 0 && (e._pendingAbortRequest._reject(i), e._pendingAbortRequest = void 0), Ir(e, i);
2168
2162
  }
2169
2163
  function _t(e) {
2170
2164
  return !(e._closeRequest === void 0 && e._inFlightCloseRequest === void 0);
2171
2165
  }
2172
- function si(e) {
2166
+ function ni(e) {
2173
2167
  return !(e._inFlightWriteRequest === void 0 && e._inFlightCloseRequest === void 0);
2174
2168
  }
2175
- function oi(e) {
2169
+ function ii(e) {
2176
2170
  e._inFlightCloseRequest = e._closeRequest, e._closeRequest = void 0;
2177
2171
  }
2178
- function li(e) {
2172
+ function ai(e) {
2179
2173
  e._inFlightWriteRequest = e._writeRequests.shift();
2180
2174
  }
2181
- function fr(e) {
2175
+ function pr(e) {
2182
2176
  e._closeRequest !== void 0 && (e._closeRequest._reject(e._storedError), e._closeRequest = void 0);
2183
2177
  var i = e._writer;
2184
2178
  i !== void 0 && jr(i, e._storedError);
2185
2179
  }
2186
2180
  function Nr(e, i) {
2187
2181
  var x = e._writer;
2188
- x !== void 0 && i !== e._backpressure && (i ? Ai(x) : Gr(x)), e._backpressure = i;
2182
+ x !== void 0 && i !== e._backpressure && (i ? bi(x) : Gr(x)), e._backpressure = i;
2189
2183
  }
2190
2184
  var rr = function() {
2191
2185
  function e(i) {
2192
- if (S(i, 1, "WritableStreamDefaultWriter"), rn(i, "First parameter"), Gt(i))
2186
+ if (S(i, 1, "WritableStreamDefaultWriter"), rn(i, "First parameter"), Ht(i))
2193
2187
  throw new TypeError("This stream has already been locked for exclusive writing by another writer");
2194
2188
  this._ownerWritableStream = i, i._writer = this;
2195
2189
  var x = i._state;
2196
2190
  if (x === "writable")
2197
- !_t(i) && i._backpressure ? br(this) : vn(this), vr(this);
2191
+ !_t(i) && i._backpressure ? yr(this) : vn(this), br(this);
2198
2192
  else if (x === "erroring")
2199
- $r(this, i._storedError), vr(this);
2193
+ $r(this, i._storedError), br(this);
2200
2194
  else if (x === "closed")
2201
- vn(this), yi(this);
2195
+ vn(this), mi(this);
2202
2196
  else {
2203
2197
  var K = i._storedError;
2204
2198
  $r(this, K), gn(this, K);
@@ -2216,7 +2210,7 @@ var Kr = { exports: {} };
2216
2210
  throw Wt("desiredSize");
2217
2211
  if (this._ownerWritableStream === void 0)
2218
2212
  throw nr("desiredSize");
2219
- return hi(this);
2213
+ return ci(this);
2220
2214
  },
2221
2215
  enumerable: !1,
2222
2216
  configurable: !0
@@ -2227,7 +2221,7 @@ var Kr = { exports: {} };
2227
2221
  enumerable: !1,
2228
2222
  configurable: !0
2229
2223
  }), e.prototype.abort = function(i) {
2230
- return i === void 0 && (i = void 0), Bt(this) ? this._ownerWritableStream === void 0 ? m(nr("abort")) : ci(this, i) : m(Wt("abort"));
2224
+ return i === void 0 && (i = void 0), Bt(this) ? this._ownerWritableStream === void 0 ? m(nr("abort")) : si(this, i) : m(Wt("abort"));
2231
2225
  }, e.prototype.close = function() {
2232
2226
  if (!Bt(this))
2233
2227
  return m(Wt("close"));
@@ -2257,34 +2251,34 @@ var Kr = { exports: {} };
2257
2251
  function Bt(e) {
2258
2252
  return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_ownerWritableStream") ? !1 : e instanceof rr;
2259
2253
  }
2260
- function ci(e, i) {
2254
+ function si(e, i) {
2261
2255
  var x = e._ownerWritableStream;
2262
- return hr(x, i);
2256
+ return fr(x, i);
2263
2257
  }
2264
2258
  function on(e) {
2265
2259
  var i = e._ownerWritableStream;
2266
2260
  return sn(i);
2267
2261
  }
2268
- function ui(e) {
2262
+ function oi(e) {
2269
2263
  var i = e._ownerWritableStream, x = i._state;
2270
2264
  return _t(i) || x === "closed" ? P(void 0) : x === "errored" ? m(i._storedError) : on(e);
2271
2265
  }
2272
- function di(e, i) {
2273
- e._closedPromiseState === "pending" ? jr(e, i) : Si(e, i);
2266
+ function li(e, i) {
2267
+ e._closedPromiseState === "pending" ? jr(e, i) : vi(e, i);
2274
2268
  }
2275
2269
  function ln(e, i) {
2276
- e._readyPromiseState === "pending" ? bn(e, i) : wi(e, i);
2270
+ e._readyPromiseState === "pending" ? bn(e, i) : yi(e, i);
2277
2271
  }
2278
- function hi(e) {
2272
+ function ci(e) {
2279
2273
  var i = e._ownerWritableStream, x = i._state;
2280
2274
  return x === "errored" || x === "erroring" ? null : x === "closed" ? 0 : fn(i._writableStreamController);
2281
2275
  }
2282
2276
  function cn(e) {
2283
2277
  var i = e._ownerWritableStream, x = new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");
2284
- ln(e, x), di(e, x), i._writer = void 0, e._ownerWritableStream = void 0;
2278
+ ln(e, x), li(e, x), i._writer = void 0, e._ownerWritableStream = void 0;
2285
2279
  }
2286
2280
  function un(e, i) {
2287
- var x = e._ownerWritableStream, K = x._writableStreamController, pe = gi(K, i);
2281
+ var x = e._ownerWritableStream, K = x._writableStreamController, pe = hi(K, i);
2288
2282
  if (x !== e._ownerWritableStream)
2289
2283
  return m(nr("write to"));
2290
2284
  var Ae = x._state;
@@ -2294,8 +2288,8 @@ var Kr = { exports: {} };
2294
2288
  return m(new TypeError("The stream is closing or closed and cannot be written to"));
2295
2289
  if (Ae === "erroring")
2296
2290
  return m(x._storedError);
2297
- var Me = ti(x);
2298
- return mi(K, i, pe), Me;
2291
+ var Me = Jn(x);
2292
+ return fi(K, i, pe), Me;
2299
2293
  }
2300
2294
  var dn = {}, Vt = function() {
2301
2295
  function e() {
@@ -2326,7 +2320,7 @@ var Kr = { exports: {} };
2326
2320
  x === "writable" && pn(this, i);
2327
2321
  }, e.prototype[Z] = function(i) {
2328
2322
  var x = this._abortAlgorithm(i);
2329
- return pr(this), x;
2323
+ return gr(this), x;
2330
2324
  }, e.prototype[z] = function() {
2331
2325
  te(this);
2332
2326
  }, e;
@@ -2343,17 +2337,17 @@ var Kr = { exports: {} };
2343
2337
  return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledWritableStream") ? !1 : e instanceof Vt;
2344
2338
  }
2345
2339
  function hn(e, i, x, K, pe, Ae, Me, Ue) {
2346
- i._controlledWritableStream = e, e._writableStreamController = i, i._queue = void 0, i._queueTotalSize = void 0, te(i), i._abortReason = void 0, i._abortController = Zn(), i._started = !1, i._strategySizeAlgorithm = Ue, i._strategyHWM = Me, i._writeAlgorithm = K, i._closeAlgorithm = pe, i._abortAlgorithm = Ae;
2340
+ i._controlledWritableStream = e, e._writableStreamController = i, i._queue = void 0, i._queueTotalSize = void 0, te(i), i._abortReason = void 0, i._abortController = Kn(), i._started = !1, i._strategySizeAlgorithm = Ue, i._strategyHWM = Me, i._writeAlgorithm = K, i._closeAlgorithm = pe, i._abortAlgorithm = Ae;
2347
2341
  var Ke = Ur(i);
2348
2342
  Nr(e, Ke);
2349
2343
  var Je = x(), et = P(Je);
2350
2344
  D(et, function() {
2351
- i._started = !0, gr(i);
2345
+ i._started = !0, mr(i);
2352
2346
  }, function(rt) {
2353
2347
  i._started = !0, Ir(e, rt);
2354
2348
  });
2355
2349
  }
2356
- function fi(e, i, x, K) {
2350
+ function ui(e, i, x, K) {
2357
2351
  var pe = Object.create(Vt.prototype), Ae = function() {
2358
2352
  }, Me = function() {
2359
2353
  return P(void 0);
@@ -2372,13 +2366,13 @@ var Kr = { exports: {} };
2372
2366
  return i.abort(Je);
2373
2367
  }), hn(e, pe, Ae, Me, Ue, Ke, x, K);
2374
2368
  }
2375
- function pr(e) {
2369
+ function gr(e) {
2376
2370
  e._writeAlgorithm = void 0, e._closeAlgorithm = void 0, e._abortAlgorithm = void 0, e._strategySizeAlgorithm = void 0;
2377
2371
  }
2378
- function pi(e) {
2379
- Be(e, dn, 0), gr(e);
2372
+ function di(e) {
2373
+ Be(e, dn, 0), mr(e);
2380
2374
  }
2381
- function gi(e, i) {
2375
+ function hi(e, i) {
2382
2376
  try {
2383
2377
  return e._strategySizeAlgorithm(i);
2384
2378
  } catch (x) {
@@ -2388,7 +2382,7 @@ var Kr = { exports: {} };
2388
2382
  function fn(e) {
2389
2383
  return e._strategyHWM - e._queueTotalSize;
2390
2384
  }
2391
- function mi(e, i, x) {
2385
+ function fi(e, i, x) {
2392
2386
  try {
2393
2387
  Be(e, i, x);
2394
2388
  } catch (Ae) {
@@ -2400,9 +2394,9 @@ var Kr = { exports: {} };
2400
2394
  var pe = Ur(e);
2401
2395
  Nr(K, pe);
2402
2396
  }
2403
- gr(e);
2397
+ mr(e);
2404
2398
  }
2405
- function gr(e) {
2399
+ function mr(e) {
2406
2400
  var i = e._controlledWritableStream;
2407
2401
  if (!!e._started && i._inFlightWriteRequest === void 0) {
2408
2402
  var x = i._state;
@@ -2412,37 +2406,37 @@ var Kr = { exports: {} };
2412
2406
  }
2413
2407
  if (e._queue.length !== 0) {
2414
2408
  var K = ge(e);
2415
- K === dn ? vi(e) : bi(e, K);
2409
+ K === dn ? pi(e) : gi(e, K);
2416
2410
  }
2417
2411
  }
2418
2412
  }
2419
2413
  function Wr(e, i) {
2420
2414
  e._controlledWritableStream._state === "writable" && pn(e, i);
2421
2415
  }
2422
- function vi(e) {
2416
+ function pi(e) {
2423
2417
  var i = e._controlledWritableStream;
2424
- oi(i), Re(e);
2418
+ ii(i), Re(e);
2425
2419
  var x = e._closeAlgorithm();
2426
- pr(e), D(x, function() {
2427
- ii(i);
2420
+ gr(e), D(x, function() {
2421
+ ti(i);
2428
2422
  }, function(K) {
2429
- ai(i, K);
2423
+ ri(i, K);
2430
2424
  });
2431
2425
  }
2432
- function bi(e, i) {
2426
+ function gi(e, i) {
2433
2427
  var x = e._controlledWritableStream;
2434
- li(x);
2428
+ ai(x);
2435
2429
  var K = e._writeAlgorithm(i);
2436
2430
  D(K, function() {
2437
- ri(x);
2431
+ Zn(x);
2438
2432
  var pe = x._state;
2439
2433
  if (Re(e), !_t(x) && pe === "writable") {
2440
2434
  var Ae = Ur(e);
2441
2435
  Nr(x, Ae);
2442
2436
  }
2443
- gr(e);
2437
+ mr(e);
2444
2438
  }, function(pe) {
2445
- x._state === "writable" && pr(e), ni(x, pe);
2439
+ x._state === "writable" && gr(e), ei(x, pe);
2446
2440
  });
2447
2441
  }
2448
2442
  function Ur(e) {
@@ -2451,9 +2445,9 @@ var Kr = { exports: {} };
2451
2445
  }
2452
2446
  function pn(e, i) {
2453
2447
  var x = e._controlledWritableStream;
2454
- pr(e), Dr(x, i);
2448
+ gr(e), Dr(x, i);
2455
2449
  }
2456
- function mr(e) {
2450
+ function vr(e) {
2457
2451
  return new TypeError("WritableStream.prototype." + e + " can only be used on a WritableStream");
2458
2452
  }
2459
2453
  function zr(e) {
@@ -2465,51 +2459,51 @@ var Kr = { exports: {} };
2465
2459
  function nr(e) {
2466
2460
  return new TypeError("Cannot " + e + " a stream using a released writer");
2467
2461
  }
2468
- function vr(e) {
2462
+ function br(e) {
2469
2463
  e._closedPromise = O(function(i, x) {
2470
2464
  e._closedPromise_resolve = i, e._closedPromise_reject = x, e._closedPromiseState = "pending";
2471
2465
  });
2472
2466
  }
2473
2467
  function gn(e, i) {
2474
- vr(e), jr(e, i);
2468
+ br(e), jr(e, i);
2475
2469
  }
2476
- function yi(e) {
2477
- vr(e), mn(e);
2470
+ function mi(e) {
2471
+ br(e), mn(e);
2478
2472
  }
2479
2473
  function jr(e, i) {
2480
2474
  e._closedPromise_reject !== void 0 && (h(e._closedPromise), e._closedPromise_reject(i), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0, e._closedPromiseState = "rejected");
2481
2475
  }
2482
- function Si(e, i) {
2476
+ function vi(e, i) {
2483
2477
  gn(e, i);
2484
2478
  }
2485
2479
  function mn(e) {
2486
2480
  e._closedPromise_resolve !== void 0 && (e._closedPromise_resolve(void 0), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0, e._closedPromiseState = "resolved");
2487
2481
  }
2488
- function br(e) {
2482
+ function yr(e) {
2489
2483
  e._readyPromise = O(function(i, x) {
2490
2484
  e._readyPromise_resolve = i, e._readyPromise_reject = x;
2491
2485
  }), e._readyPromiseState = "pending";
2492
2486
  }
2493
2487
  function $r(e, i) {
2494
- br(e), bn(e, i);
2488
+ yr(e), bn(e, i);
2495
2489
  }
2496
2490
  function vn(e) {
2497
- br(e), Gr(e);
2491
+ yr(e), Gr(e);
2498
2492
  }
2499
2493
  function bn(e, i) {
2500
2494
  e._readyPromise_reject !== void 0 && (h(e._readyPromise), e._readyPromise_reject(i), e._readyPromise_resolve = void 0, e._readyPromise_reject = void 0, e._readyPromiseState = "rejected");
2501
2495
  }
2502
- function Ai(e) {
2503
- br(e);
2496
+ function bi(e) {
2497
+ yr(e);
2504
2498
  }
2505
- function wi(e, i) {
2499
+ function yi(e, i) {
2506
2500
  $r(e, i);
2507
2501
  }
2508
2502
  function Gr(e) {
2509
2503
  e._readyPromise_resolve !== void 0 && (e._readyPromise_resolve(void 0), e._readyPromise_resolve = void 0, e._readyPromise_reject = void 0, e._readyPromiseState = "fulfilled");
2510
2504
  }
2511
2505
  var yn = typeof DOMException < "u" ? DOMException : void 0;
2512
- function _i(e) {
2506
+ function Si(e) {
2513
2507
  if (!(typeof e == "function" || typeof e == "object"))
2514
2508
  return !1;
2515
2509
  try {
@@ -2518,13 +2512,13 @@ var Kr = { exports: {} };
2518
2512
  return !1;
2519
2513
  }
2520
2514
  }
2521
- function Ei() {
2515
+ function Ai() {
2522
2516
  var e = function(x, K) {
2523
2517
  this.message = x || "", this.name = K || "Error", Error.captureStackTrace && Error.captureStackTrace(this, this.constructor);
2524
2518
  };
2525
2519
  return e.prototype = Object.create(Error.prototype), Object.defineProperty(e.prototype, "constructor", { value: e, writable: !0, configurable: !0 }), e;
2526
2520
  }
2527
- var Ci = _i(yn) ? yn : Ei();
2521
+ var wi = Si(yn) ? yn : Ai();
2528
2522
  function Sn(e, i, x, K, pe, Ae) {
2529
2523
  var Me = L(e), Ue = nn(i);
2530
2524
  e._disturbed = !0;
@@ -2533,9 +2527,9 @@ var Kr = { exports: {} };
2533
2527
  var dt;
2534
2528
  if (Ae !== void 0) {
2535
2529
  if (dt = function() {
2536
- var Ye = new Ci("Aborted", "AbortError"), it = [];
2530
+ var Ye = new wi("Aborted", "AbortError"), it = [];
2537
2531
  K || it.push(function() {
2538
- return i._state === "writable" ? hr(i, Ye) : P(void 0);
2532
+ return i._state === "writable" ? fr(i, Ye) : P(void 0);
2539
2533
  }), pe || it.push(function() {
2540
2534
  return e._state === "readable" ? yt(e, Ye) : P(void 0);
2541
2535
  }), mt(function() {
@@ -2552,12 +2546,12 @@ var Kr = { exports: {} };
2552
2546
  function St() {
2553
2547
  return O(function(Ye, it) {
2554
2548
  function lt(Tt) {
2555
- Tt ? Ye() : y(Yt(), lt, it);
2549
+ Tt ? Ye() : y(qt(), lt, it);
2556
2550
  }
2557
2551
  lt(!1);
2558
2552
  });
2559
2553
  }
2560
- function Yt() {
2554
+ function qt() {
2561
2555
  return Ke ? P(!0) : y(Ue._readyPromise, function() {
2562
2556
  return O(function(Ye, it) {
2563
2557
  fe(Me, {
@@ -2574,7 +2568,7 @@ var Kr = { exports: {} };
2574
2568
  }
2575
2569
  if (ft(e, Me._closedPromise, function(Ye) {
2576
2570
  K ? Pt(!0, Ye) : mt(function() {
2577
- return hr(i, Ye);
2571
+ return fr(i, Ye);
2578
2572
  }, !0, Ye);
2579
2573
  }), ft(i, Ue._closedPromise, function(Ye) {
2580
2574
  pe ? Pt(!0, Ye) : mt(function() {
@@ -2582,7 +2576,7 @@ var Kr = { exports: {} };
2582
2576
  }, !0, Ye);
2583
2577
  }), Ct(e, Me._closedPromise, function() {
2584
2578
  x ? Pt() : mt(function() {
2585
- return ui(Ue);
2579
+ return oi(Ue);
2586
2580
  });
2587
2581
  }), _t(i) || i._state === "closed") {
2588
2582
  var It = new TypeError("the destination writable stream closed before all data could be piped to it");
@@ -2625,58 +2619,58 @@ var Kr = { exports: {} };
2625
2619
  }
2626
2620
  });
2627
2621
  }
2628
- var Ht = function() {
2622
+ var Xt = function() {
2629
2623
  function e() {
2630
2624
  throw new TypeError("Illegal constructor");
2631
2625
  }
2632
2626
  return Object.defineProperty(e.prototype, "desiredSize", {
2633
2627
  get: function() {
2634
- if (!yr(this))
2635
- throw wr("desiredSize");
2636
- return Vr(this);
2628
+ if (!Sr(this))
2629
+ throw _r("desiredSize");
2630
+ return Hr(this);
2637
2631
  },
2638
2632
  enumerable: !1,
2639
2633
  configurable: !0
2640
2634
  }), e.prototype.close = function() {
2641
- if (!yr(this))
2642
- throw wr("close");
2643
- if (!Xt(this))
2635
+ if (!Sr(this))
2636
+ throw _r("close");
2637
+ if (!Yt(this))
2644
2638
  throw new TypeError("The stream is not in a state that permits close");
2645
2639
  ar(this);
2646
2640
  }, e.prototype.enqueue = function(i) {
2647
- if (i === void 0 && (i = void 0), !yr(this))
2648
- throw wr("enqueue");
2649
- if (!Xt(this))
2641
+ if (i === void 0 && (i = void 0), !Sr(this))
2642
+ throw _r("enqueue");
2643
+ if (!Yt(this))
2650
2644
  throw new TypeError("The stream is not in a state that permits enqueue");
2651
- return Ar(this, i);
2645
+ return wr(this, i);
2652
2646
  }, e.prototype.error = function(i) {
2653
- if (i === void 0 && (i = void 0), !yr(this))
2654
- throw wr("error");
2647
+ if (i === void 0 && (i = void 0), !Sr(this))
2648
+ throw _r("error");
2655
2649
  kt(this, i);
2656
2650
  }, e.prototype[$] = function(i) {
2657
2651
  te(this);
2658
2652
  var x = this._cancelAlgorithm(i);
2659
- return Sr(this), x;
2653
+ return Ar(this), x;
2660
2654
  }, e.prototype[U] = function(i) {
2661
2655
  var x = this._controlledReadableStream;
2662
2656
  if (this._queue.length > 0) {
2663
2657
  var K = Re(this);
2664
- this._closeRequested && this._queue.length === 0 ? (Sr(this), sr(x)) : ir(this), i._chunkSteps(K);
2658
+ this._closeRequested && this._queue.length === 0 ? (Ar(this), sr(x)) : ir(this), i._chunkSteps(K);
2665
2659
  } else
2666
2660
  X(x, i), ir(this);
2667
2661
  }, e;
2668
2662
  }();
2669
- Object.defineProperties(Ht.prototype, {
2663
+ Object.defineProperties(Xt.prototype, {
2670
2664
  close: { enumerable: !0 },
2671
2665
  enqueue: { enumerable: !0 },
2672
2666
  error: { enumerable: !0 },
2673
2667
  desiredSize: { enumerable: !0 }
2674
- }), typeof Te.toStringTag == "symbol" && Object.defineProperty(Ht.prototype, Te.toStringTag, {
2668
+ }), typeof Te.toStringTag == "symbol" && Object.defineProperty(Xt.prototype, Te.toStringTag, {
2675
2669
  value: "ReadableStreamDefaultController",
2676
2670
  configurable: !0
2677
2671
  });
2678
- function yr(e) {
2679
- return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledReadableStream") ? !1 : e instanceof Ht;
2672
+ function Sr(e) {
2673
+ return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledReadableStream") ? !1 : e instanceof Xt;
2680
2674
  }
2681
2675
  function ir(e) {
2682
2676
  var i = An(e);
@@ -2696,24 +2690,24 @@ var Kr = { exports: {} };
2696
2690
  }
2697
2691
  function An(e) {
2698
2692
  var i = e._controlledReadableStream;
2699
- if (!Xt(e) || !e._started)
2693
+ if (!Yt(e) || !e._started)
2700
2694
  return !1;
2701
2695
  if (Ft(i) && ie(i) > 0)
2702
2696
  return !0;
2703
- var x = Vr(e);
2697
+ var x = Hr(e);
2704
2698
  return x > 0;
2705
2699
  }
2706
- function Sr(e) {
2700
+ function Ar(e) {
2707
2701
  e._pullAlgorithm = void 0, e._cancelAlgorithm = void 0, e._strategySizeAlgorithm = void 0;
2708
2702
  }
2709
2703
  function ar(e) {
2710
- if (!!Xt(e)) {
2704
+ if (!!Yt(e)) {
2711
2705
  var i = e._controlledReadableStream;
2712
- e._closeRequested = !0, e._queue.length === 0 && (Sr(e), sr(i));
2706
+ e._closeRequested = !0, e._queue.length === 0 && (Ar(e), sr(i));
2713
2707
  }
2714
2708
  }
2715
- function Ar(e, i) {
2716
- if (!!Xt(e)) {
2709
+ function wr(e, i) {
2710
+ if (!!Yt(e)) {
2717
2711
  var x = e._controlledReadableStream;
2718
2712
  if (Ft(x) && ie(x) > 0)
2719
2713
  J(x, i, !1);
@@ -2735,16 +2729,16 @@ var Kr = { exports: {} };
2735
2729
  }
2736
2730
  function kt(e, i) {
2737
2731
  var x = e._controlledReadableStream;
2738
- x._state === "readable" && (te(e), Sr(e), Cn(x, i));
2732
+ x._state === "readable" && (te(e), Ar(e), Cn(x, i));
2739
2733
  }
2740
- function Vr(e) {
2734
+ function Hr(e) {
2741
2735
  var i = e._controlledReadableStream._state;
2742
2736
  return i === "errored" ? null : i === "closed" ? 0 : e._strategyHWM - e._queueTotalSize;
2743
2737
  }
2744
- function Ti(e) {
2738
+ function _i(e) {
2745
2739
  return !An(e);
2746
2740
  }
2747
- function Xt(e) {
2741
+ function Yt(e) {
2748
2742
  var i = e._controlledReadableStream._state;
2749
2743
  return !e._closeRequested && i === "readable";
2750
2744
  }
@@ -2757,8 +2751,8 @@ var Kr = { exports: {} };
2757
2751
  kt(i, Ke);
2758
2752
  });
2759
2753
  }
2760
- function Pi(e, i, x, K) {
2761
- var pe = Object.create(Ht.prototype), Ae = function() {
2754
+ function Ei(e, i, x, K) {
2755
+ var pe = Object.create(Xt.prototype), Ae = function() {
2762
2756
  }, Me = function() {
2763
2757
  return P(void 0);
2764
2758
  }, Ue = function() {
@@ -2772,13 +2766,13 @@ var Kr = { exports: {} };
2772
2766
  return i.cancel(Ke);
2773
2767
  }), wn(e, pe, Ae, Me, Ue, x, K);
2774
2768
  }
2775
- function wr(e) {
2769
+ function _r(e) {
2776
2770
  return new TypeError("ReadableStreamDefaultController.prototype." + e + " can only be used on a ReadableStreamDefaultController");
2777
2771
  }
2778
- function Ri(e, i) {
2779
- return We(e._readableStreamController) ? ki(e) : xi(e);
2772
+ function Ci(e, i) {
2773
+ return We(e._readableStreamController) ? Pi(e) : Ti(e);
2780
2774
  }
2781
- function xi(e, i) {
2775
+ function Ti(e, i) {
2782
2776
  var x = L(e), K = !1, pe = !1, Ae = !1, Me = !1, Ue, Ke, Je, et, rt, dt = O(function(ft) {
2783
2777
  rt = ft;
2784
2778
  });
@@ -2791,7 +2785,7 @@ var Kr = { exports: {} };
2791
2785
  w(function() {
2792
2786
  pe = !1;
2793
2787
  var mt = Ct, Pt = Ct;
2794
- Ae || Ar(Je._readableStreamController, mt), Me || Ar(et._readableStreamController, Pt), K = !1, pe && St();
2788
+ Ae || wr(Je._readableStreamController, mt), Me || wr(et._readableStreamController, Pt), K = !1, pe && St();
2795
2789
  });
2796
2790
  },
2797
2791
  _closeSteps: function() {
@@ -2803,7 +2797,7 @@ var Kr = { exports: {} };
2803
2797
  };
2804
2798
  return fe(x, ft), P(void 0);
2805
2799
  }
2806
- function Yt(ft) {
2800
+ function qt(ft) {
2807
2801
  if (Ae = !0, Ue = ft, Me) {
2808
2802
  var Ct = G([Ue, Ke]), mt = yt(e, Ct);
2809
2803
  rt(mt);
@@ -2819,11 +2813,11 @@ var Kr = { exports: {} };
2819
2813
  }
2820
2814
  function Et() {
2821
2815
  }
2822
- return Je = Hr(Et, St, Yt), et = Hr(Et, St, It), l(x._closedPromise, function(ft) {
2816
+ return Je = Vr(Et, St, qt), et = Vr(Et, St, It), l(x._closedPromise, function(ft) {
2823
2817
  kt(Je._readableStreamController, ft), kt(et._readableStreamController, ft), (!Ae || !Me) && rt(void 0);
2824
2818
  }), [Je, et];
2825
2819
  }
2826
- function ki(e) {
2820
+ function Pi(e) {
2827
2821
  var i = L(e), x = !1, K = !1, pe = !1, Ae = !1, Me = !1, Ue, Ke, Je, et, rt, dt = O(function(ot) {
2828
2822
  rt = ot;
2829
2823
  });
@@ -2832,7 +2826,7 @@ var Kr = { exports: {} };
2832
2826
  ot === i && (pt(Je._readableStreamController, Ye), pt(et._readableStreamController, Ye), (!Ae || !Me) && rt(void 0));
2833
2827
  });
2834
2828
  }
2835
- function Yt() {
2829
+ function qt() {
2836
2830
  Nt(i) && (f(i), i = L(e), St(i));
2837
2831
  var ot = {
2838
2832
  _chunkSteps: function(Ye) {
@@ -2864,9 +2858,9 @@ var Kr = { exports: {} };
2864
2858
  _chunkSteps: function(Dt) {
2865
2859
  w(function() {
2866
2860
  K = !1, pe = !1;
2867
- var qt = Ye ? Me : Ae, lr = Ye ? Ae : Me;
2861
+ var Kt = Ye ? Me : Ae, lr = Ye ? Ae : Me;
2868
2862
  if (lr)
2869
- qt || wt(it._readableStreamController, Dt);
2863
+ Kt || wt(it._readableStreamController, Dt);
2870
2864
  else {
2871
2865
  var Bn = void 0;
2872
2866
  try {
@@ -2875,15 +2869,15 @@ var Kr = { exports: {} };
2875
2869
  pt(it._readableStreamController, Yr), pt(lt._readableStreamController, Yr), rt(yt(e, Yr));
2876
2870
  return;
2877
2871
  }
2878
- qt || wt(it._readableStreamController, Dt), bt(lt._readableStreamController, Bn);
2872
+ Kt || wt(it._readableStreamController, Dt), bt(lt._readableStreamController, Bn);
2879
2873
  }
2880
2874
  x = !1, K ? Et() : pe && ft();
2881
2875
  });
2882
2876
  },
2883
2877
  _closeSteps: function(Dt) {
2884
2878
  x = !1;
2885
- var qt = Ye ? Me : Ae, lr = Ye ? Ae : Me;
2886
- qt || gt(it._readableStreamController), lr || gt(lt._readableStreamController), Dt !== void 0 && (qt || wt(it._readableStreamController, Dt), !lr && lt._readableStreamController._pendingPullIntos.length > 0 && At(lt._readableStreamController, 0)), (!qt || !lr) && rt(void 0);
2879
+ var Kt = Ye ? Me : Ae, lr = Ye ? Ae : Me;
2880
+ Kt || gt(it._readableStreamController), lr || gt(lt._readableStreamController), Dt !== void 0 && (Kt || wt(it._readableStreamController, Dt), !lr && lt._readableStreamController._pendingPullIntos.length > 0 && At(lt._readableStreamController, 0)), (!Kt || !lr) && rt(void 0);
2887
2881
  },
2888
2882
  _errorSteps: function() {
2889
2883
  x = !1;
@@ -2896,14 +2890,14 @@ var Kr = { exports: {} };
2896
2890
  return K = !0, P(void 0);
2897
2891
  x = !0;
2898
2892
  var ot = xt(Je._readableStreamController);
2899
- return ot === null ? Yt() : It(ot._view, !1), P(void 0);
2893
+ return ot === null ? qt() : It(ot._view, !1), P(void 0);
2900
2894
  }
2901
2895
  function ft() {
2902
2896
  if (x)
2903
2897
  return pe = !0, P(void 0);
2904
2898
  x = !0;
2905
2899
  var ot = xt(et._readableStreamController);
2906
- return ot === null ? Yt() : It(ot._view, !0), P(void 0);
2900
+ return ot === null ? qt() : It(ot._view, !0), P(void 0);
2907
2901
  }
2908
2902
  function Ct(ot) {
2909
2903
  if (Ae = !0, Ue = ot, Me) {
@@ -2923,50 +2917,50 @@ var Kr = { exports: {} };
2923
2917
  }
2924
2918
  return Je = En(Pt, Et, Ct), et = En(Pt, ft, mt), St(i), [Je, et];
2925
2919
  }
2926
- function Oi(e, i) {
2920
+ function Ri(e, i) {
2927
2921
  ye(e, i);
2928
2922
  var x = e, K = x == null ? void 0 : x.autoAllocateChunkSize, pe = x == null ? void 0 : x.cancel, Ae = x == null ? void 0 : x.pull, Me = x == null ? void 0 : x.start, Ue = x == null ? void 0 : x.type;
2929
2923
  return {
2930
2924
  autoAllocateChunkSize: K === void 0 ? void 0 : _(K, i + " has member 'autoAllocateChunkSize' that"),
2931
- cancel: pe === void 0 ? void 0 : Mi(pe, x, i + " has member 'cancel' that"),
2932
- pull: Ae === void 0 ? void 0 : Fi(Ae, x, i + " has member 'pull' that"),
2933
- start: Me === void 0 ? void 0 : Ii(Me, x, i + " has member 'start' that"),
2934
- type: Ue === void 0 ? void 0 : Di(Ue, i + " has member 'type' that")
2925
+ cancel: pe === void 0 ? void 0 : xi(pe, x, i + " has member 'cancel' that"),
2926
+ pull: Ae === void 0 ? void 0 : ki(Ae, x, i + " has member 'pull' that"),
2927
+ start: Me === void 0 ? void 0 : Oi(Me, x, i + " has member 'start' that"),
2928
+ type: Ue === void 0 ? void 0 : Mi(Ue, i + " has member 'type' that")
2935
2929
  };
2936
2930
  }
2937
- function Mi(e, i, x) {
2931
+ function xi(e, i, x) {
2938
2932
  return Se(e, x), function(K) {
2939
2933
  return p(e, i, [K]);
2940
2934
  };
2941
2935
  }
2942
- function Fi(e, i, x) {
2936
+ function ki(e, i, x) {
2943
2937
  return Se(e, x), function(K) {
2944
2938
  return p(e, i, [K]);
2945
2939
  };
2946
2940
  }
2947
- function Ii(e, i, x) {
2941
+ function Oi(e, i, x) {
2948
2942
  return Se(e, x), function(K) {
2949
2943
  return F(e, i, [K]);
2950
2944
  };
2951
2945
  }
2952
- function Di(e, i) {
2946
+ function Mi(e, i) {
2953
2947
  if (e = "" + e, e !== "bytes")
2954
2948
  throw new TypeError(i + " '" + e + "' is not a valid enumeration value for ReadableStreamType");
2955
2949
  return e;
2956
2950
  }
2957
- function Li(e, i) {
2951
+ function Fi(e, i) {
2958
2952
  ye(e, i);
2959
2953
  var x = e == null ? void 0 : e.mode;
2960
2954
  return {
2961
- mode: x === void 0 ? void 0 : Ni(x, i + " has member 'mode' that")
2955
+ mode: x === void 0 ? void 0 : Ii(x, i + " has member 'mode' that")
2962
2956
  };
2963
2957
  }
2964
- function Ni(e, i) {
2958
+ function Ii(e, i) {
2965
2959
  if (e = "" + e, e !== "byob")
2966
2960
  throw new TypeError(i + " '" + e + "' is not a valid enumeration value for ReadableStreamReaderMode");
2967
2961
  return e;
2968
2962
  }
2969
- function Bi(e, i) {
2963
+ function Di(e, i) {
2970
2964
  ye(e, i);
2971
2965
  var x = e == null ? void 0 : e.preventCancel;
2972
2966
  return { preventCancel: Boolean(x) };
@@ -2974,18 +2968,18 @@ var Kr = { exports: {} };
2974
2968
  function _n(e, i) {
2975
2969
  ye(e, i);
2976
2970
  var x = e == null ? void 0 : e.preventAbort, K = e == null ? void 0 : e.preventCancel, pe = e == null ? void 0 : e.preventClose, Ae = e == null ? void 0 : e.signal;
2977
- return Ae !== void 0 && Wi(Ae, i + " has member 'signal' that"), {
2971
+ return Ae !== void 0 && Li(Ae, i + " has member 'signal' that"), {
2978
2972
  preventAbort: Boolean(x),
2979
2973
  preventCancel: Boolean(K),
2980
2974
  preventClose: Boolean(pe),
2981
2975
  signal: Ae
2982
2976
  };
2983
2977
  }
2984
- function Wi(e, i) {
2985
- if (!Qn(e))
2978
+ function Li(e, i) {
2979
+ if (!Yn(e))
2986
2980
  throw new TypeError(i + " is not an AbortSignal.");
2987
2981
  }
2988
- function Ui(e, i) {
2982
+ function Ni(e, i) {
2989
2983
  ye(e, i);
2990
2984
  var x = e == null ? void 0 : e.readable;
2991
2985
  N(x, "readable", "ReadableWritablePair"), M(x, i + " has member 'readable' that");
@@ -2995,15 +2989,15 @@ var Kr = { exports: {} };
2995
2989
  var Ot = function() {
2996
2990
  function e(i, x) {
2997
2991
  i === void 0 && (i = {}), x === void 0 && (x = {}), i === void 0 ? i = null : C(i, "First parameter");
2998
- var K = dr(x, "Second parameter"), pe = Oi(i, "First parameter");
2992
+ var K = hr(x, "Second parameter"), pe = Ri(i, "First parameter");
2999
2993
  if (Xr(this), pe.type === "bytes") {
3000
2994
  if (K.size !== void 0)
3001
2995
  throw new RangeError("The strategy for a byte stream cannot have a size function");
3002
2996
  var Ae = er(K, 0);
3003
- jn(this, pe, Ae);
2997
+ Wn(this, pe, Ae);
3004
2998
  } else {
3005
- var Me = ur(K), Ae = er(K, 1);
3006
- Pi(this, pe, Ae, Me);
2999
+ var Me = dr(K), Ae = er(K, 1);
3000
+ Ei(this, pe, Ae, Me);
3007
3001
  }
3008
3002
  }
3009
3003
  return Object.defineProperty(e.prototype, "locked", {
@@ -3019,16 +3013,16 @@ var Kr = { exports: {} };
3019
3013
  }, e.prototype.getReader = function(i) {
3020
3014
  if (i === void 0 && (i = void 0), !Mt(this))
3021
3015
  throw Ut("getReader");
3022
- var x = Li(i, "First parameter");
3016
+ var x = Fi(i, "First parameter");
3023
3017
  return x.mode === void 0 ? L(this) : Jr(this);
3024
3018
  }, e.prototype.pipeThrough = function(i, x) {
3025
3019
  if (x === void 0 && (x = {}), !Mt(this))
3026
3020
  throw Ut("pipeThrough");
3027
3021
  S(i, 1, "pipeThrough");
3028
- var K = Ui(i, "First parameter"), pe = _n(x, "Second parameter");
3022
+ var K = Ni(i, "First parameter"), pe = _n(x, "Second parameter");
3029
3023
  if (Ft(this))
3030
3024
  throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");
3031
- if (Gt(K.writable))
3025
+ if (Ht(K.writable))
3032
3026
  throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");
3033
3027
  var Ae = Sn(this, K.writable, pe.preventClose, pe.preventAbort, pe.preventCancel, pe.signal);
3034
3028
  return h(Ae), K.readable;
@@ -3037,7 +3031,7 @@ var Kr = { exports: {} };
3037
3031
  return m(Ut("pipeTo"));
3038
3032
  if (i === void 0)
3039
3033
  return m("Parameter 1 is required in 'pipeTo'.");
3040
- if (!$t(i))
3034
+ if (!Gt(i))
3041
3035
  return m(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));
3042
3036
  var K;
3043
3037
  try {
@@ -3045,16 +3039,16 @@ var Kr = { exports: {} };
3045
3039
  } catch (pe) {
3046
3040
  return m(pe);
3047
3041
  }
3048
- return Ft(this) ? m(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")) : Gt(i) ? m(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")) : Sn(this, i, K.preventClose, K.preventAbort, K.preventCancel, K.signal);
3042
+ return Ft(this) ? m(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")) : Ht(i) ? m(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")) : Sn(this, i, K.preventClose, K.preventAbort, K.preventCancel, K.signal);
3049
3043
  }, e.prototype.tee = function() {
3050
3044
  if (!Mt(this))
3051
3045
  throw Ut("tee");
3052
- var i = Ri(this);
3046
+ var i = Ci(this);
3053
3047
  return G(i);
3054
3048
  }, e.prototype.values = function(i) {
3055
3049
  if (i === void 0 && (i = void 0), !Mt(this))
3056
3050
  throw Ut("values");
3057
- var x = Bi(i, "First parameter");
3051
+ var x = Di(i, "First parameter");
3058
3052
  return Fe(this, x.preventCancel);
3059
3053
  }, e;
3060
3054
  }();
@@ -3074,13 +3068,13 @@ var Kr = { exports: {} };
3074
3068
  writable: !0,
3075
3069
  configurable: !0
3076
3070
  });
3077
- function Hr(e, i, x, K, pe) {
3071
+ function Vr(e, i, x, K, pe) {
3078
3072
  K === void 0 && (K = 1), pe === void 0 && (pe = function() {
3079
3073
  return 1;
3080
3074
  });
3081
3075
  var Ae = Object.create(Ot.prototype);
3082
3076
  Xr(Ae);
3083
- var Me = Object.create(Ht.prototype);
3077
+ var Me = Object.create(Xt.prototype);
3084
3078
  return wn(Ae, Me, e, i, x, K, pe), Ae;
3085
3079
  }
3086
3080
  function En(e, i, x) {
@@ -3147,7 +3141,7 @@ var Kr = { exports: {} };
3147
3141
  });
3148
3142
  } catch {
3149
3143
  }
3150
- var _r = function() {
3144
+ var Er = function() {
3151
3145
  function e(i) {
3152
3146
  S(i, 1, "ByteLengthQueuingStrategy"), i = Tn(i, "First parameter"), this._byteLengthQueuingStrategyHighWaterMark = i.highWaterMark;
3153
3147
  }
@@ -3169,10 +3163,10 @@ var Kr = { exports: {} };
3169
3163
  configurable: !0
3170
3164
  }), e;
3171
3165
  }();
3172
- Object.defineProperties(_r.prototype, {
3166
+ Object.defineProperties(Er.prototype, {
3173
3167
  highWaterMark: { enumerable: !0 },
3174
3168
  size: { enumerable: !0 }
3175
- }), typeof Te.toStringTag == "symbol" && Object.defineProperty(_r.prototype, Te.toStringTag, {
3169
+ }), typeof Te.toStringTag == "symbol" && Object.defineProperty(Er.prototype, Te.toStringTag, {
3176
3170
  value: "ByteLengthQueuingStrategy",
3177
3171
  configurable: !0
3178
3172
  });
@@ -3180,7 +3174,7 @@ var Kr = { exports: {} };
3180
3174
  return new TypeError("ByteLengthQueuingStrategy.prototype." + e + " can only be used on a ByteLengthQueuingStrategy");
3181
3175
  }
3182
3176
  function xn(e) {
3183
- return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_byteLengthQueuingStrategyHighWaterMark") ? !1 : e instanceof _r;
3177
+ return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_byteLengthQueuingStrategyHighWaterMark") ? !1 : e instanceof Er;
3184
3178
  }
3185
3179
  var kn = function() {
3186
3180
  return 1;
@@ -3192,7 +3186,7 @@ var Kr = { exports: {} };
3192
3186
  });
3193
3187
  } catch {
3194
3188
  }
3195
- var Er = function() {
3189
+ var Cr = function() {
3196
3190
  function e(i) {
3197
3191
  S(i, 1, "CountQueuingStrategy"), i = Tn(i, "First parameter"), this._countQueuingStrategyHighWaterMark = i.highWaterMark;
3198
3192
  }
@@ -3214,10 +3208,10 @@ var Kr = { exports: {} };
3214
3208
  configurable: !0
3215
3209
  }), e;
3216
3210
  }();
3217
- Object.defineProperties(Er.prototype, {
3211
+ Object.defineProperties(Cr.prototype, {
3218
3212
  highWaterMark: { enumerable: !0 },
3219
3213
  size: { enumerable: !0 }
3220
- }), typeof Te.toStringTag == "symbol" && Object.defineProperty(Er.prototype, Te.toStringTag, {
3214
+ }), typeof Te.toStringTag == "symbol" && Object.defineProperty(Cr.prototype, Te.toStringTag, {
3221
3215
  value: "CountQueuingStrategy",
3222
3216
  configurable: !0
3223
3217
  });
@@ -3225,46 +3219,46 @@ var Kr = { exports: {} };
3225
3219
  return new TypeError("CountQueuingStrategy.prototype." + e + " can only be used on a CountQueuingStrategy");
3226
3220
  }
3227
3221
  function Mn(e) {
3228
- return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_countQueuingStrategyHighWaterMark") ? !1 : e instanceof Er;
3222
+ return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_countQueuingStrategyHighWaterMark") ? !1 : e instanceof Cr;
3229
3223
  }
3230
- function zi(e, i) {
3224
+ function Bi(e, i) {
3231
3225
  ye(e, i);
3232
3226
  var x = e == null ? void 0 : e.flush, K = e == null ? void 0 : e.readableType, pe = e == null ? void 0 : e.start, Ae = e == null ? void 0 : e.transform, Me = e == null ? void 0 : e.writableType;
3233
3227
  return {
3234
- flush: x === void 0 ? void 0 : ji(x, e, i + " has member 'flush' that"),
3228
+ flush: x === void 0 ? void 0 : Wi(x, e, i + " has member 'flush' that"),
3235
3229
  readableType: K,
3236
- start: pe === void 0 ? void 0 : $i(pe, e, i + " has member 'start' that"),
3237
- transform: Ae === void 0 ? void 0 : Gi(Ae, e, i + " has member 'transform' that"),
3230
+ start: pe === void 0 ? void 0 : Ui(pe, e, i + " has member 'start' that"),
3231
+ transform: Ae === void 0 ? void 0 : zi(Ae, e, i + " has member 'transform' that"),
3238
3232
  writableType: Me
3239
3233
  };
3240
3234
  }
3241
- function ji(e, i, x) {
3235
+ function Wi(e, i, x) {
3242
3236
  return Se(e, x), function(K) {
3243
3237
  return p(e, i, [K]);
3244
3238
  };
3245
3239
  }
3246
- function $i(e, i, x) {
3240
+ function Ui(e, i, x) {
3247
3241
  return Se(e, x), function(K) {
3248
3242
  return F(e, i, [K]);
3249
3243
  };
3250
3244
  }
3251
- function Gi(e, i, x) {
3245
+ function zi(e, i, x) {
3252
3246
  return Se(e, x), function(K, pe) {
3253
3247
  return p(e, i, [K, pe]);
3254
3248
  };
3255
3249
  }
3256
- var Cr = function() {
3250
+ var Tr = function() {
3257
3251
  function e(i, x, K) {
3258
3252
  i === void 0 && (i = {}), x === void 0 && (x = {}), K === void 0 && (K = {}), i === void 0 && (i = null);
3259
- var pe = dr(x, "Second parameter"), Ae = dr(K, "Third parameter"), Me = zi(i, "First parameter");
3253
+ var pe = hr(x, "Second parameter"), Ae = hr(K, "Third parameter"), Me = Bi(i, "First parameter");
3260
3254
  if (Me.readableType !== void 0)
3261
3255
  throw new RangeError("Invalid readableType specified");
3262
3256
  if (Me.writableType !== void 0)
3263
3257
  throw new RangeError("Invalid writableType specified");
3264
- var Ue = er(Ae, 0), Ke = ur(Ae), Je = er(pe, 1), et = ur(pe), rt, dt = O(function(St) {
3258
+ var Ue = er(Ae, 0), Ke = dr(Ae), Je = er(pe, 1), et = dr(pe), rt, dt = O(function(St) {
3265
3259
  rt = St;
3266
3260
  });
3267
- Vi(this, dt, Je, et, Ue, Ke), Xi(this, Me), Me.start !== void 0 ? rt(Me.start(this._transformStreamController)) : rt(void 0);
3261
+ ji(this, dt, Je, et, Ue, Ke), Gi(this, Me), Me.start !== void 0 ? rt(Me.start(this._transformStreamController)) : rt(void 0);
3268
3262
  }
3269
3263
  return Object.defineProperty(e.prototype, "readable", {
3270
3264
  get: function() {
@@ -3284,45 +3278,45 @@ var Kr = { exports: {} };
3284
3278
  configurable: !0
3285
3279
  }), e;
3286
3280
  }();
3287
- Object.defineProperties(Cr.prototype, {
3281
+ Object.defineProperties(Tr.prototype, {
3288
3282
  readable: { enumerable: !0 },
3289
3283
  writable: { enumerable: !0 }
3290
- }), typeof Te.toStringTag == "symbol" && Object.defineProperty(Cr.prototype, Te.toStringTag, {
3284
+ }), typeof Te.toStringTag == "symbol" && Object.defineProperty(Tr.prototype, Te.toStringTag, {
3291
3285
  value: "TransformStream",
3292
3286
  configurable: !0
3293
3287
  });
3294
- function Vi(e, i, x, K, pe, Ae) {
3288
+ function ji(e, i, x, K, pe, Ae) {
3295
3289
  function Me() {
3296
3290
  return i;
3297
3291
  }
3298
3292
  function Ue(dt) {
3299
- return Ki(e, dt);
3293
+ return Xi(e, dt);
3300
3294
  }
3301
3295
  function Ke(dt) {
3302
- return Qi(e, dt);
3296
+ return Yi(e, dt);
3303
3297
  }
3304
3298
  function Je() {
3305
- return Ji(e);
3299
+ return qi(e);
3306
3300
  }
3307
- e._writable = ei(Me, Ue, Je, Ke, x, K);
3301
+ e._writable = Qn(Me, Ue, Je, Ke, x, K);
3308
3302
  function et() {
3309
- return Zi(e);
3303
+ return Ki(e);
3310
3304
  }
3311
3305
  function rt(dt) {
3312
- return Pr(e, dt), P(void 0);
3306
+ return Rr(e, dt), P(void 0);
3313
3307
  }
3314
- e._readable = Hr(Me, et, rt, pe, Ae), e._backpressure = void 0, e._backpressureChangePromise = void 0, e._backpressureChangePromise_resolve = void 0, Rr(e, !0), e._transformStreamController = void 0;
3308
+ e._readable = Vr(Me, et, rt, pe, Ae), e._backpressure = void 0, e._backpressureChangePromise = void 0, e._backpressureChangePromise_resolve = void 0, xr(e, !0), e._transformStreamController = void 0;
3315
3309
  }
3316
3310
  function Fn(e) {
3317
- return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_transformStreamController") ? !1 : e instanceof Cr;
3318
- }
3319
- function Tr(e, i) {
3320
- kt(e._readable._readableStreamController, i), Pr(e, i);
3311
+ return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_transformStreamController") ? !1 : e instanceof Tr;
3321
3312
  }
3322
3313
  function Pr(e, i) {
3323
- In(e._transformStreamController), Wr(e._writable._writableStreamController, i), e._backpressure && Rr(e, !1);
3314
+ kt(e._readable._readableStreamController, i), Rr(e, i);
3324
3315
  }
3325
3316
  function Rr(e, i) {
3317
+ In(e._transformStreamController), Wr(e._writable._writableStreamController, i), e._backpressure && xr(e, !1);
3318
+ }
3319
+ function xr(e, i) {
3326
3320
  e._backpressureChangePromise !== void 0 && e._backpressureChangePromise_resolve(), e._backpressureChangePromise = O(function(x) {
3327
3321
  e._backpressureChangePromise_resolve = x;
3328
3322
  }), e._backpressure = i;
@@ -3333,25 +3327,25 @@ var Kr = { exports: {} };
3333
3327
  }
3334
3328
  return Object.defineProperty(e.prototype, "desiredSize", {
3335
3329
  get: function() {
3336
- if (!xr(this))
3337
- throw kr("desiredSize");
3330
+ if (!kr(this))
3331
+ throw Or("desiredSize");
3338
3332
  var i = this._controlledTransformStream._readable._readableStreamController;
3339
- return Vr(i);
3333
+ return Hr(i);
3340
3334
  },
3341
3335
  enumerable: !1,
3342
3336
  configurable: !0
3343
3337
  }), e.prototype.enqueue = function(i) {
3344
- if (i === void 0 && (i = void 0), !xr(this))
3345
- throw kr("enqueue");
3338
+ if (i === void 0 && (i = void 0), !kr(this))
3339
+ throw Or("enqueue");
3346
3340
  Dn(this, i);
3347
3341
  }, e.prototype.error = function(i) {
3348
- if (i === void 0 && (i = void 0), !xr(this))
3349
- throw kr("error");
3350
- Yi(this, i);
3342
+ if (i === void 0 && (i = void 0), !kr(this))
3343
+ throw Or("error");
3344
+ Hi(this, i);
3351
3345
  }, e.prototype.terminate = function() {
3352
- if (!xr(this))
3353
- throw kr("terminate");
3354
- qi(this);
3346
+ if (!kr(this))
3347
+ throw Or("terminate");
3348
+ Vi(this);
3355
3349
  }, e;
3356
3350
  }();
3357
3351
  Object.defineProperties(or.prototype, {
@@ -3363,13 +3357,13 @@ var Kr = { exports: {} };
3363
3357
  value: "TransformStreamDefaultController",
3364
3358
  configurable: !0
3365
3359
  });
3366
- function xr(e) {
3360
+ function kr(e) {
3367
3361
  return !v(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledTransformStream") ? !1 : e instanceof or;
3368
3362
  }
3369
- function Hi(e, i, x, K) {
3363
+ function $i(e, i, x, K) {
3370
3364
  i._controlledTransformStream = e, e._transformStreamController = i, i._transformAlgorithm = x, i._flushAlgorithm = K;
3371
3365
  }
3372
- function Xi(e, i) {
3366
+ function Gi(e, i) {
3373
3367
  var x = Object.create(or.prototype), K = function(Ae) {
3374
3368
  try {
3375
3369
  return Dn(x, Ae), P(void 0);
@@ -3383,39 +3377,39 @@ var Kr = { exports: {} };
3383
3377
  return i.transform(Ae, x);
3384
3378
  }), i.flush !== void 0 && (pe = function() {
3385
3379
  return i.flush(x);
3386
- }), Hi(e, x, K, pe);
3380
+ }), $i(e, x, K, pe);
3387
3381
  }
3388
3382
  function In(e) {
3389
3383
  e._transformAlgorithm = void 0, e._flushAlgorithm = void 0;
3390
3384
  }
3391
3385
  function Dn(e, i) {
3392
3386
  var x = e._controlledTransformStream, K = x._readable._readableStreamController;
3393
- if (!Xt(K))
3387
+ if (!Yt(K))
3394
3388
  throw new TypeError("Readable side is not in a state that permits enqueue");
3395
3389
  try {
3396
- Ar(K, i);
3390
+ wr(K, i);
3397
3391
  } catch (Ae) {
3398
- throw Pr(x, Ae), x._readable._storedError;
3392
+ throw Rr(x, Ae), x._readable._storedError;
3399
3393
  }
3400
- var pe = Ti(K);
3401
- pe !== x._backpressure && Rr(x, !0);
3394
+ var pe = _i(K);
3395
+ pe !== x._backpressure && xr(x, !0);
3402
3396
  }
3403
- function Yi(e, i) {
3404
- Tr(e._controlledTransformStream, i);
3397
+ function Hi(e, i) {
3398
+ Pr(e._controlledTransformStream, i);
3405
3399
  }
3406
3400
  function Ln(e, i) {
3407
3401
  var x = e._transformAlgorithm(i);
3408
3402
  return A(x, void 0, function(K) {
3409
- throw Tr(e._controlledTransformStream, K), K;
3403
+ throw Pr(e._controlledTransformStream, K), K;
3410
3404
  });
3411
3405
  }
3412
- function qi(e) {
3406
+ function Vi(e) {
3413
3407
  var i = e._controlledTransformStream, x = i._readable._readableStreamController;
3414
3408
  ar(x);
3415
3409
  var K = new TypeError("TransformStream terminated");
3416
- Pr(i, K);
3410
+ Rr(i, K);
3417
3411
  }
3418
- function Ki(e, i) {
3412
+ function Xi(e, i) {
3419
3413
  var x = e._transformStreamController;
3420
3414
  if (e._backpressure) {
3421
3415
  var K = e._backpressureChangePromise;
@@ -3428,36 +3422,36 @@ var Kr = { exports: {} };
3428
3422
  }
3429
3423
  return Ln(x, i);
3430
3424
  }
3431
- function Qi(e, i) {
3432
- return Tr(e, i), P(void 0);
3425
+ function Yi(e, i) {
3426
+ return Pr(e, i), P(void 0);
3433
3427
  }
3434
- function Ji(e) {
3428
+ function qi(e) {
3435
3429
  var i = e._readable, x = e._transformStreamController, K = x._flushAlgorithm();
3436
3430
  return In(x), A(K, function() {
3437
3431
  if (i._state === "errored")
3438
3432
  throw i._storedError;
3439
3433
  ar(i._readableStreamController);
3440
3434
  }, function(pe) {
3441
- throw Tr(e, pe), i._storedError;
3435
+ throw Pr(e, pe), i._storedError;
3442
3436
  });
3443
3437
  }
3444
- function Zi(e) {
3445
- return Rr(e, !1), e._backpressureChangePromise;
3438
+ function Ki(e) {
3439
+ return xr(e, !1), e._backpressureChangePromise;
3446
3440
  }
3447
- function kr(e) {
3441
+ function Or(e) {
3448
3442
  return new TypeError("TransformStreamDefaultController.prototype." + e + " can only be used on a TransformStreamDefaultController");
3449
3443
  }
3450
3444
  function Nn(e) {
3451
3445
  return new TypeError("TransformStream.prototype." + e + " can only be used on a TransformStream");
3452
3446
  }
3453
- Ie.ByteLengthQueuingStrategy = _r, Ie.CountQueuingStrategy = Er, Ie.ReadableByteStreamController = be, Ie.ReadableStream = Ot, Ie.ReadableStreamBYOBReader = Zt, Ie.ReadableStreamBYOBRequest = ae, Ie.ReadableStreamDefaultController = Ht, Ie.ReadableStreamDefaultReader = he, Ie.TransformStream = Cr, Ie.TransformStreamDefaultController = or, Ie.WritableStream = tr, Ie.WritableStreamDefaultController = Vt, Ie.WritableStreamDefaultWriter = rr, Object.defineProperty(Ie, "__esModule", { value: !0 });
3447
+ Ie.ByteLengthQueuingStrategy = Er, Ie.CountQueuingStrategy = Cr, Ie.ReadableByteStreamController = be, Ie.ReadableStream = Ot, Ie.ReadableStreamBYOBReader = Zt, Ie.ReadableStreamBYOBRequest = ae, Ie.ReadableStreamDefaultController = Xt, Ie.ReadableStreamDefaultReader = he, Ie.TransformStream = Tr, Ie.TransformStreamDefaultController = or, Ie.WritableStream = tr, Ie.WritableStreamDefaultController = Vt, Ie.WritableStreamDefaultWriter = rr, Object.defineProperty(Ie, "__esModule", { value: !0 });
3454
3448
  });
3455
- })(Kr, Kr.exports);
3456
- const ba = {}, ya = /* @__PURE__ */ Object.freeze({
3449
+ });
3450
+ const ga = {}, ma = /* @__PURE__ */ Object.freeze({
3457
3451
  __proto__: null,
3458
- default: ba
3459
- }), Kt = /* @__PURE__ */ ta(ya);
3460
- (function(Le, Ee) {
3452
+ default: ga
3453
+ }), zt = /* @__PURE__ */ Zi(ma);
3454
+ var Kr = cr(function(Le, Ee) {
3461
3455
  (function(Te, De) {
3462
3456
  Le.exports = De();
3463
3457
  })(globalThis, () => (() => {
@@ -3466,7 +3460,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
3466
3460
  (B, v, n) => {
3467
3461
  Object.defineProperty(v, "__esModule", {
3468
3462
  value: !0
3469
- }), v.VerbosityLevel = v.Util = v.UnknownErrorException = v.UnexpectedResponseException = v.UNSUPPORTED_FEATURES = v.TextRenderingMode = v.StreamType = v.RenderingIntentFlag = v.PermissionFlag = v.PasswordResponses = v.PasswordException = v.PageActionEventType = v.OPS = v.MissingPDFException = v.LINE_FACTOR = v.LINE_DESCENT_FACTOR = v.InvalidPDFException = v.ImageKind = v.IDENTITY_MATRIX = v.FormatError = v.FontType = v.FeatureTest = v.FONT_IDENTITY_MATRIX = v.DocumentActionEventType = v.CMapCompressionType = v.BaseException = v.AnnotationType = v.AnnotationStateModelType = v.AnnotationReviewState = v.AnnotationReplyType = v.AnnotationMode = v.AnnotationMarkedState = v.AnnotationFlag = v.AnnotationFieldFlag = v.AnnotationEditorType = v.AnnotationEditorPrefix = v.AnnotationEditorParamsType = v.AnnotationBorderStyleType = v.AnnotationActionEventType = v.AbortException = void 0, v.arrayByteLength = se, v.arraysToBytes = he, v.assert = Se, v.bytesToString = J, v.createPromiseCapability = Be, v.createValidAbsoluteUrl = C, v.escapeString = Q, v.getModificationDate = Re, v.getVerbosityLevel = I, v.info = ee, v.isArrayBuffer = ke, v.isArrayEqual = ce, v.isAscii = G, v.objectFromMap = ve, v.objectSize = fe, v.setVerbosityLevel = U, v.shadow = S, v.string32 = le, v.stringToBytes = ie, v.stringToPDFString = H, v.stringToUTF16BEString = V, v.stringToUTF8String = oe, v.unreachable = ye, v.utf8StringToString = _e, v.warn = de, n(2);
3463
+ }), v.VerbosityLevel = v.Util = v.UnknownErrorException = v.UnexpectedResponseException = v.UNSUPPORTED_FEATURES = v.TextRenderingMode = v.StreamType = v.RenderingIntentFlag = v.PermissionFlag = v.PasswordResponses = v.PasswordException = v.PageActionEventType = v.OPS = v.MissingPDFException = v.LINE_FACTOR = v.LINE_DESCENT_FACTOR = v.InvalidPDFException = v.ImageKind = v.IDENTITY_MATRIX = v.FormatError = v.FontType = v.FeatureTest = v.FONT_IDENTITY_MATRIX = v.DocumentActionEventType = v.CMapCompressionType = v.BaseException = v.AnnotationType = v.AnnotationStateModelType = v.AnnotationReviewState = v.AnnotationReplyType = v.AnnotationMode = v.AnnotationMarkedState = v.AnnotationFlag = v.AnnotationFieldFlag = v.AnnotationEditorType = v.AnnotationEditorPrefix = v.AnnotationEditorParamsType = v.AnnotationBorderStyleType = v.AnnotationActionEventType = v.AbortException = void 0, v.arrayByteLength = se, v.arraysToBytes = he, v.assert = Se, v.bytesToString = J, v.createPromiseCapability = Be, v.createValidAbsoluteUrl = C, v.escapeString = Q, v.getModificationDate = Re, v.getVerbosityLevel = I, v.info = ee, v.isArrayBuffer = ke, v.isArrayEqual = ce, v.isAscii = G, v.objectFromMap = ve, v.objectSize = fe, v.setVerbosityLevel = U, v.shadow = S, v.string32 = le, v.stringToBytes = ie, v.stringToPDFString = V, v.stringToUTF16BEString = H, v.stringToUTF8String = oe, v.unreachable = ye, v.utf8StringToString = _e, v.warn = de, n(2);
3470
3464
  const o = [1, 0, 0, 1, 0, 0];
3471
3465
  v.IDENTITY_MATRIX = o;
3472
3466
  const c = [1e-3, 0, 0, 1e-3, 0, 0];
@@ -3949,7 +3943,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
3949
3943
  return String.fromCharCode.apply(null, ge);
3950
3944
  const be = [];
3951
3945
  for (let We = 0; We < te; We += ae) {
3952
- const Ve = Math.min(We + ae, te), me = ge.subarray(We, Ve);
3946
+ const He = Math.min(We + ae, te), me = ge.subarray(We, He);
3953
3947
  be.push(String.fromCharCode.apply(null, me));
3954
3948
  }
3955
3949
  return be.join("");
@@ -3973,12 +3967,12 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
3973
3967
  if (te === 1 && ge[0] instanceof Uint8Array)
3974
3968
  return ge[0];
3975
3969
  let ae = 0;
3976
- for (let Ve = 0; Ve < te; Ve++)
3977
- ae += se(ge[Ve]);
3970
+ for (let He = 0; He < te; He++)
3971
+ ae += se(ge[He]);
3978
3972
  let be = 0;
3979
3973
  const We = new Uint8Array(ae);
3980
- for (let Ve = 0; Ve < te; Ve++) {
3981
- let me = ge[Ve];
3974
+ for (let He = 0; He < te; He++) {
3975
+ let me = ge[He];
3982
3976
  me instanceof Uint8Array || (typeof me == "string" ? me = ie(me) : me = new Uint8Array(me));
3983
3977
  const ue = me.byteLength;
3984
3978
  We.set(me, be), be += ue;
@@ -4033,12 +4027,12 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
4033
4027
  return [be, We];
4034
4028
  }
4035
4029
  static applyInverseTransform(te, ae) {
4036
- const be = ae[0] * ae[3] - ae[1] * ae[2], We = (te[0] * ae[3] - te[1] * ae[2] + ae[2] * ae[5] - ae[4] * ae[3]) / be, Ve = (-te[0] * ae[1] + te[1] * ae[0] + ae[4] * ae[1] - ae[5] * ae[0]) / be;
4037
- return [We, Ve];
4030
+ const be = ae[0] * ae[3] - ae[1] * ae[2], We = (te[0] * ae[3] - te[1] * ae[2] + ae[2] * ae[5] - ae[4] * ae[3]) / be, He = (-te[0] * ae[1] + te[1] * ae[0] + ae[4] * ae[1] - ae[5] * ae[0]) / be;
4031
+ return [We, He];
4038
4032
  }
4039
4033
  static getAxialAlignedBoundingBox(te, ae) {
4040
- const be = Fe.applyTransform(te, ae), We = Fe.applyTransform(te.slice(2, 4), ae), Ve = Fe.applyTransform([te[0], te[3]], ae), me = Fe.applyTransform([te[2], te[1]], ae);
4041
- return [Math.min(be[0], We[0], Ve[0], me[0]), Math.min(be[1], We[1], Ve[1], me[1]), Math.max(be[0], We[0], Ve[0], me[0]), Math.max(be[1], We[1], Ve[1], me[1])];
4034
+ const be = Fe.applyTransform(te, ae), We = Fe.applyTransform(te.slice(2, 4), ae), He = Fe.applyTransform([te[0], te[3]], ae), me = Fe.applyTransform([te[2], te[1]], ae);
4035
+ return [Math.min(be[0], We[0], He[0], me[0]), Math.min(be[1], We[1], He[1], me[1]), Math.max(be[0], We[0], He[0], me[0]), Math.max(be[1], We[1], He[1], me[1])];
4042
4036
  }
4043
4037
  static inverseTransform(te) {
4044
4038
  const ae = te[0] * te[3] - te[1] * te[2];
@@ -4048,7 +4042,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
4048
4042
  return [te[0] * ae[0] + te[1] * ae[1] + te[2] * ae[2], te[3] * ae[0] + te[4] * ae[1] + te[5] * ae[2], te[6] * ae[0] + te[7] * ae[1] + te[8] * ae[2]];
4049
4043
  }
4050
4044
  static singularValueDecompose2dScale(te) {
4051
- const ae = [te[0], te[2], te[1], te[3]], be = te[0] * ae[0] + te[1] * ae[2], We = te[0] * ae[1] + te[1] * ae[3], Ve = te[2] * ae[0] + te[3] * ae[2], me = te[2] * ae[1] + te[3] * ae[3], ue = (be + me) / 2, xe = Math.sqrt((be + me) ** 2 - 4 * (be * me - Ve * We)) / 2, Ne = ue + xe || 1, $e = ue - xe || 1;
4045
+ const ae = [te[0], te[2], te[1], te[3]], be = te[0] * ae[0] + te[1] * ae[2], We = te[0] * ae[1] + te[1] * ae[3], He = te[2] * ae[0] + te[3] * ae[2], me = te[2] * ae[1] + te[3] * ae[3], ue = (be + me) / 2, xe = Math.sqrt((be + me) ** 2 - 4 * (be * me - He * We)) / 2, Ne = ue + xe || 1, $e = ue - xe || 1;
4052
4046
  return [Math.sqrt(Ne), Math.sqrt($e)];
4053
4047
  }
4054
4048
  static normalizeRect(te) {
@@ -4059,31 +4053,31 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
4059
4053
  const be = Math.max(Math.min(te[0], te[2]), Math.min(ae[0], ae[2])), We = Math.min(Math.max(te[0], te[2]), Math.max(ae[0], ae[2]));
4060
4054
  if (be > We)
4061
4055
  return null;
4062
- const Ve = Math.max(Math.min(te[1], te[3]), Math.min(ae[1], ae[3])), me = Math.min(Math.max(te[1], te[3]), Math.max(ae[1], ae[3]));
4063
- return Ve > me ? null : [be, Ve, We, me];
4056
+ const He = Math.max(Math.min(te[1], te[3]), Math.min(ae[1], ae[3])), me = Math.min(Math.max(te[1], te[3]), Math.max(ae[1], ae[3]));
4057
+ return He > me ? null : [be, He, We, me];
4064
4058
  }
4065
- static bezierBoundingBox(te, ae, be, We, Ve, me, ue, xe) {
4059
+ static bezierBoundingBox(te, ae, be, We, He, me, ue, xe) {
4066
4060
  const Ne = [], $e = [[], []];
4067
- let Ge, Xe, He, je, Ze, ct, tt, at;
4061
+ let Ge, Xe, Ve, je, Ze, ct, tt, at;
4068
4062
  for (let st = 0; st < 2; ++st) {
4069
- if (st === 0 ? (Xe = 6 * te - 12 * be + 6 * Ve, Ge = -3 * te + 9 * be - 9 * Ve + 3 * ue, He = 3 * be - 3 * te) : (Xe = 6 * ae - 12 * We + 6 * me, Ge = -3 * ae + 9 * We - 9 * me + 3 * xe, He = 3 * We - 3 * ae), Math.abs(Ge) < 1e-12) {
4063
+ if (st === 0 ? (Xe = 6 * te - 12 * be + 6 * He, Ge = -3 * te + 9 * be - 9 * He + 3 * ue, Ve = 3 * be - 3 * te) : (Xe = 6 * ae - 12 * We + 6 * me, Ge = -3 * ae + 9 * We - 9 * me + 3 * xe, Ve = 3 * We - 3 * ae), Math.abs(Ge) < 1e-12) {
4070
4064
  if (Math.abs(Xe) < 1e-12)
4071
4065
  continue;
4072
- je = -He / Xe, 0 < je && je < 1 && Ne.push(je);
4066
+ je = -Ve / Xe, 0 < je && je < 1 && Ne.push(je);
4073
4067
  continue;
4074
4068
  }
4075
- tt = Xe * Xe - 4 * He * Ge, at = Math.sqrt(tt), !(tt < 0) && (Ze = (-Xe + at) / (2 * Ge), 0 < Ze && Ze < 1 && Ne.push(Ze), ct = (-Xe - at) / (2 * Ge), 0 < ct && ct < 1 && Ne.push(ct));
4069
+ tt = Xe * Xe - 4 * Ve * Ge, at = Math.sqrt(tt), !(tt < 0) && (Ze = (-Xe + at) / (2 * Ge), 0 < Ze && Ze < 1 && Ne.push(Ze), ct = (-Xe - at) / (2 * Ge), 0 < ct && ct < 1 && Ne.push(ct));
4076
4070
  }
4077
4071
  let ut = Ne.length, nt;
4078
4072
  const ht = ut;
4079
4073
  for (; ut--; )
4080
- je = Ne[ut], nt = 1 - je, $e[0][ut] = nt * nt * nt * te + 3 * nt * nt * je * be + 3 * nt * je * je * Ve + je * je * je * ue, $e[1][ut] = nt * nt * nt * ae + 3 * nt * nt * je * We + 3 * nt * je * je * me + je * je * je * xe;
4074
+ je = Ne[ut], nt = 1 - je, $e[0][ut] = nt * nt * nt * te + 3 * nt * nt * je * be + 3 * nt * je * je * He + je * je * je * ue, $e[1][ut] = nt * nt * nt * ae + 3 * nt * nt * je * We + 3 * nt * je * je * me + je * je * je * xe;
4081
4075
  return $e[0][ht] = te, $e[1][ht] = ae, $e[0][ht + 1] = ue, $e[1][ht + 1] = xe, $e[0].length = $e[1].length = ht + 2, [Math.min(...$e[0]), Math.min(...$e[1]), Math.max(...$e[0]), Math.max(...$e[1])];
4082
4076
  }
4083
4077
  }
4084
4078
  v.Util = Fe;
4085
4079
  const Pe = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 728, 711, 710, 729, 733, 731, 730, 732, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8226, 8224, 8225, 8230, 8212, 8211, 402, 8260, 8249, 8250, 8722, 8240, 8222, 8220, 8221, 8216, 8217, 8218, 8482, 64257, 64258, 321, 338, 352, 376, 381, 305, 322, 339, 353, 382, 0, 8364];
4086
- function H(ge) {
4080
+ function V(ge) {
4087
4081
  if (ge[0] >= "\xEF") {
4088
4082
  let ae;
4089
4083
  if (ge[0] === "\xFE" && ge[1] === "\xFF" ? ae = "utf-16be" : ge[0] === "\xFF" && ge[1] === "\xFE" ? ae = "utf-16le" : ge[0] === "\xEF" && ge[1] === "\xBB" && ge[2] === "\xBF" && (ae = "utf-8"), ae)
@@ -4110,7 +4104,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
4110
4104
  function G(ge) {
4111
4105
  return /^[\x00-\x7F]*$/.test(ge);
4112
4106
  }
4113
- function V(ge) {
4107
+ function H(ge) {
4114
4108
  const te = ["\xFE\xFF"];
4115
4109
  for (let ae = 0, be = ge.length; ae < be; ae++) {
4116
4110
  const We = ge.charCodeAt(ae);
@@ -4166,9 +4160,9 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
4166
4160
  return Buffer.from(T, "base64").toString("binary");
4167
4161
  });
4168
4162
  }(), function() {
4169
- globalThis.DOMMatrix || !o.isNodeJS || (globalThis.DOMMatrix = zn.exports);
4163
+ globalThis.DOMMatrix || !o.isNodeJS || (globalThis.DOMMatrix = fa);
4170
4164
  }(), function() {
4171
- globalThis.ReadableStream || !o.isNodeJS || (globalThis.ReadableStream = Kr.exports.ReadableStream);
4165
+ globalThis.ReadableStream || !o.isNodeJS || (globalThis.ReadableStream = pa.ReadableStream);
4172
4166
  }(), function() {
4173
4167
  Array.prototype.at || n(4);
4174
4168
  }(), function() {
@@ -5612,11 +5606,11 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5612
5606
  var Re = ce(new T.AggregateError([1], fe, { cause: 3 }));
5613
5607
  return Re.name != "AggregateError" || Re.errors[0] != 1 || Re.message != fe || Re.cause != 3;
5614
5608
  });
5615
- }, Fe = T.structuredClone, Pe = o || !Oe(Fe, re) || !Oe(Fe, S) || !ze(Fe), H = !Fe && Ce(function(ce) {
5609
+ }, Fe = T.structuredClone, Pe = o || !Oe(Fe, re) || !Oe(Fe, S) || !ze(Fe), V = !Fe && Ce(function(ce) {
5616
5610
  return new de(fe, { detail: ce }).detail;
5617
- }), Q = Ce(Fe) || H, G = function(ce) {
5611
+ }), Q = Ce(Fe) || V, G = function(ce) {
5618
5612
  throw new S("Uncloneable type: " + ce, ve);
5619
- }, V = function(ce, Re) {
5613
+ }, H = function(ce, Re) {
5620
5614
  throw new S((Re || "Cloning") + " of " + ce + " cannot be properly polyfilled in this engine", ve);
5621
5615
  }, oe = function(ce, Re) {
5622
5616
  if (l(ce) && G("Symbol"), !r(ce))
@@ -5626,7 +5620,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5626
5620
  return _(Re, ce);
5627
5621
  } else
5628
5622
  Re = new j();
5629
- var Be = w(ce), ge = !1, te, ae, be, We, Ve, me, ue, xe, Ne, $e;
5623
+ var Be = w(ce), ge = !1, te, ae, be, We, He, me, ue, xe, Ne, $e;
5630
5624
  switch (Be) {
5631
5625
  case "Array":
5632
5626
  be = [], ge = !0;
@@ -5695,28 +5689,28 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5695
5689
  case "Float64Array":
5696
5690
  case "BigInt64Array":
5697
5691
  case "BigUint64Array":
5698
- te = T[Be], r(te) || V(Be), be = new te(oe(ce.buffer, Re), ce.byteOffset, Be === "DataView" ? ce.byteLength : ce.length);
5692
+ te = T[Be], r(te) || H(Be), be = new te(oe(ce.buffer, Re), ce.byteOffset, Be === "DataView" ? ce.byteLength : ce.length);
5699
5693
  break;
5700
5694
  case "DOMQuad":
5701
5695
  try {
5702
5696
  be = new DOMQuad(oe(ce.p1, Re), oe(ce.p2, Re), oe(ce.p3, Re), oe(ce.p4, Re));
5703
5697
  } catch {
5704
- Q ? be = Q(ce) : V(Be);
5698
+ Q ? be = Q(ce) : H(Be);
5705
5699
  }
5706
5700
  break;
5707
5701
  case "FileList":
5708
5702
  if (te = T.DataTransfer, D(te)) {
5709
- for (We = new te(), Ve = 0, me = u(ce); Ve < me; Ve++)
5710
- We.items.add(oe(ce[Ve], Re));
5703
+ for (We = new te(), He = 0, me = u(ce); He < me; He++)
5704
+ We.items.add(oe(ce[He], Re));
5711
5705
  be = We.files;
5712
5706
  } else
5713
- Q ? be = Q(ce) : V(Be);
5707
+ Q ? be = Q(ce) : H(Be);
5714
5708
  break;
5715
5709
  case "ImageData":
5716
5710
  try {
5717
5711
  be = new ImageData(oe(ce.data, Re), ce.width, ce.height, { colorSpace: ce.colorSpace });
5718
5712
  } catch {
5719
- Q ? be = Q(ce) : V(Be);
5713
+ Q ? be = Q(ce) : H(Be);
5720
5714
  }
5721
5715
  break;
5722
5716
  default:
@@ -5740,13 +5734,13 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5740
5734
  be = new q(le(ce));
5741
5735
  break;
5742
5736
  case "ArrayBuffer":
5743
- te = T.DataView, !te && typeof ce.slice != "function" && V(Be);
5737
+ te = T.DataView, !te && typeof ce.slice != "function" && H(Be);
5744
5738
  try {
5745
5739
  if (typeof ce.slice == "function")
5746
5740
  be = ce.slice(0);
5747
5741
  else
5748
- for (me = ce.byteLength, be = new ArrayBuffer(me), Ne = new te(ce), $e = new te(be), Ve = 0; Ve < me; Ve++)
5749
- $e.setUint8(Ve, Ne.getUint8(Ve));
5742
+ for (me = ce.byteLength, be = new ArrayBuffer(me), Ne = new te(ce), $e = new te(be), He = 0; He < me; He++)
5743
+ $e.setUint8(He, Ne.getUint8(He));
5750
5744
  } catch {
5751
5745
  throw new S("ArrayBuffer is detached", ve);
5752
5746
  }
@@ -5758,7 +5752,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5758
5752
  try {
5759
5753
  be = ce.slice(0, ce.size, ce.type);
5760
5754
  } catch {
5761
- V(Be);
5755
+ H(Be);
5762
5756
  }
5763
5757
  break;
5764
5758
  case "DOMPoint":
@@ -5767,7 +5761,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5767
5761
  try {
5768
5762
  be = te.fromPoint ? te.fromPoint(ce) : new te(ce.x, ce.y, ce.z, ce.w);
5769
5763
  } catch {
5770
- V(Be);
5764
+ H(Be);
5771
5765
  }
5772
5766
  break;
5773
5767
  case "DOMRect":
@@ -5776,7 +5770,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5776
5770
  try {
5777
5771
  be = te.fromRect ? te.fromRect(ce) : new te(ce.x, ce.y, ce.width, ce.height);
5778
5772
  } catch {
5779
- V(Be);
5773
+ H(Be);
5780
5774
  }
5781
5775
  break;
5782
5776
  case "DOMMatrix":
@@ -5785,12 +5779,12 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5785
5779
  try {
5786
5780
  be = te.fromMatrix ? te.fromMatrix(ce) : new te(ce);
5787
5781
  } catch {
5788
- V(Be);
5782
+ H(Be);
5789
5783
  }
5790
5784
  break;
5791
5785
  case "AudioData":
5792
5786
  case "VideoFrame":
5793
- y(ce.clone) || V(Be);
5787
+ y(ce.clone) || H(Be);
5794
5788
  try {
5795
5789
  be = ce.clone();
5796
5790
  } catch {
@@ -5801,7 +5795,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5801
5795
  try {
5802
5796
  be = new File([ce], ce.name, ce);
5803
5797
  } catch {
5804
- V(Be);
5798
+ H(Be);
5805
5799
  }
5806
5800
  break;
5807
5801
  case "CryptoKey":
@@ -5810,7 +5804,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5810
5804
  case "ImageBitmap":
5811
5805
  case "RTCCertificate":
5812
5806
  case "WebAssembly.Module":
5813
- V(Be);
5807
+ H(Be);
5814
5808
  default:
5815
5809
  G(Be);
5816
5810
  }
@@ -5819,8 +5813,8 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5819
5813
  switch (Be) {
5820
5814
  case "Array":
5821
5815
  case "Object":
5822
- for (ue = X(ce), Ve = 0, me = u(ue); Ve < me; Ve++)
5823
- xe = ue[Ve], p(be, xe, oe(ce[xe], Re));
5816
+ for (ue = X(ce), He = 0, me = u(ue); He < me; He++)
5817
+ xe = ue[He], p(be, xe, oe(ce[xe], Re));
5824
5818
  break;
5825
5819
  case "Map":
5826
5820
  ce.forEach(function(Ge, Xe) {
@@ -5850,17 +5844,17 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5850
5844
  A(ce, function(Ne) {
5851
5845
  J(Be, h(Ne));
5852
5846
  });
5853
- var ge = 0, te = u(Be), ae, be, We, Ve, me, ue, xe;
5847
+ var ge = 0, te = u(Be), ae, be, We, He, me, ue, xe;
5854
5848
  if (_e)
5855
- for (Ve = Fe(Be, { transfer: Be }); ge < te; )
5856
- M(Re, Be[ge], Ve[ge++]);
5849
+ for (He = Fe(Be, { transfer: Be }); ge < te; )
5850
+ M(Re, Be[ge], He[ge++]);
5857
5851
  else
5858
5852
  for (; ge < te; ) {
5859
5853
  if (ae = Be[ge++], d(Re, ae))
5860
5854
  throw new S("Duplicate transferable", ve);
5861
5855
  switch (be = w(ae), be) {
5862
5856
  case "ImageBitmap":
5863
- We = T.OffscreenCanvas, D(We) || V(be, we);
5857
+ We = T.OffscreenCanvas, D(We) || H(be, we);
5864
5858
  try {
5865
5859
  ue = new We(ae.width, ae.height), xe = ue.getContext("bitmaprenderer"), xe.transferFromImageBitmap(ae), me = ue.transferToImageBitmap();
5866
5860
  } catch {
@@ -5868,7 +5862,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5868
5862
  break;
5869
5863
  case "AudioData":
5870
5864
  case "VideoFrame":
5871
- (!y(ae.clone) || !y(ae.close)) && V(be, we);
5865
+ (!y(ae.clone) || !y(ae.close)) && H(be, we);
5872
5866
  try {
5873
5867
  me = ae.clone(), ae.close();
5874
5868
  } catch {
@@ -5880,7 +5874,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5880
5874
  case "ReadableStream":
5881
5875
  case "TransformStream":
5882
5876
  case "WritableStream":
5883
- V(be, we);
5877
+ H(be, we);
5884
5878
  }
5885
5879
  if (me === void 0)
5886
5880
  throw new S("This object cannot be transferred: " + be, ve);
@@ -5980,59 +5974,59 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
5980
5974
  value: !0
5981
5975
  }), v.build = v.RenderTask = v.PDFWorkerUtil = v.PDFWorker = v.PDFPageProxy = v.PDFDocumentProxy = v.PDFDocumentLoadingTask = v.PDFDataRangeTransport = v.LoopbackPort = v.DefaultStandardFontDataFactory = v.DefaultCanvasFactory = v.DefaultCMapReaderFactory = void 0, v.getDocument = I, v.setPDFNetworkStreamFactory = U, v.version = void 0;
5982
5976
  var o = n(1), c = n(130), T = n(133), R = n(136), O = n(137), P = n(140), m = n(3), y = n(141), D = n(142), r = n(143), l = n(144), A = n(145);
5983
- function h(Pe, H) {
5984
- p(Pe, H), H.add(Pe);
5977
+ function h(Pe, V) {
5978
+ p(Pe, V), V.add(Pe);
5985
5979
  }
5986
- function w(Pe, H, Q) {
5987
- if (!H.has(Pe))
5980
+ function w(Pe, V, Q) {
5981
+ if (!V.has(Pe))
5988
5982
  throw new TypeError("attempted to get private field on non-instance");
5989
5983
  return Q;
5990
5984
  }
5991
- function F(Pe, H, Q) {
5992
- p(Pe, H), H.set(Pe, Q);
5985
+ function F(Pe, V, Q) {
5986
+ p(Pe, V), V.set(Pe, Q);
5993
5987
  }
5994
- function p(Pe, H) {
5995
- if (H.has(Pe))
5988
+ function p(Pe, V) {
5989
+ if (V.has(Pe))
5996
5990
  throw new TypeError("Cannot initialize the same private elements twice on an object");
5997
5991
  }
5998
- function b(Pe, H, Q) {
5999
- var G = t(Pe, H, "set");
5992
+ function b(Pe, V, Q) {
5993
+ var G = t(Pe, V, "set");
6000
5994
  return f(Pe, G, Q), Q;
6001
5995
  }
6002
- function u(Pe, H) {
6003
- var Q = t(Pe, H, "get");
5996
+ function u(Pe, V) {
5997
+ var Q = t(Pe, V, "get");
6004
5998
  return k(Pe, Q);
6005
5999
  }
6006
- function t(Pe, H, Q) {
6007
- if (!H.has(Pe))
6000
+ function t(Pe, V, Q) {
6001
+ if (!V.has(Pe))
6008
6002
  throw new TypeError("attempted to " + Q + " private field on non-instance");
6009
- return H.get(Pe);
6003
+ return V.get(Pe);
6010
6004
  }
6011
- function a(Pe, H, Q, G) {
6012
- return W(Pe, H), E(Q, "set"), f(Pe, Q, G), G;
6005
+ function a(Pe, V, Q, G) {
6006
+ return W(Pe, V), E(Q, "set"), f(Pe, Q, G), G;
6013
6007
  }
6014
- function f(Pe, H, Q) {
6015
- if (H.set)
6016
- H.set.call(Pe, Q);
6008
+ function f(Pe, V, Q) {
6009
+ if (V.set)
6010
+ V.set.call(Pe, Q);
6017
6011
  else {
6018
- if (!H.writable)
6012
+ if (!V.writable)
6019
6013
  throw new TypeError("attempted to set read only private field");
6020
- H.value = Q;
6014
+ V.value = Q;
6021
6015
  }
6022
6016
  }
6023
- function g(Pe, H, Q) {
6024
- return W(Pe, H), E(Q, "get"), k(Pe, Q);
6017
+ function g(Pe, V, Q) {
6018
+ return W(Pe, V), E(Q, "get"), k(Pe, Q);
6025
6019
  }
6026
- function E(Pe, H) {
6020
+ function E(Pe, V) {
6027
6021
  if (Pe === void 0)
6028
- throw new TypeError("attempted to " + H + " private static field before its declaration");
6022
+ throw new TypeError("attempted to " + V + " private static field before its declaration");
6029
6023
  }
6030
- function W(Pe, H) {
6031
- if (Pe !== H)
6024
+ function W(Pe, V) {
6025
+ if (Pe !== V)
6032
6026
  throw new TypeError("Private static access of wrong provenance");
6033
6027
  }
6034
- function k(Pe, H) {
6035
- return H.get ? H.get.call(Pe) : H.value;
6028
+ function k(Pe, V) {
6029
+ return V.get ? V.get.call(Pe) : V.value;
6036
6030
  }
6037
6031
  const ne = 65536, q = 100;
6038
6032
  let re = T.DOMCanvasFactory;
@@ -6043,17 +6037,17 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6043
6037
  if (v.DefaultStandardFontDataFactory = z, m.isNodeJS) {
6044
6038
  const {
6045
6039
  NodeCanvasFactory: Pe,
6046
- NodeCMapReaderFactory: H,
6040
+ NodeCMapReaderFactory: V,
6047
6041
  NodeStandardFontDataFactory: Q
6048
6042
  } = n(146);
6049
- v.DefaultCanvasFactory = re = Pe, v.DefaultCMapReaderFactory = Z = H, v.DefaultStandardFontDataFactory = z = Q;
6043
+ v.DefaultCanvasFactory = re = Pe, v.DefaultCMapReaderFactory = Z = V, v.DefaultStandardFontDataFactory = z = Q;
6050
6044
  }
6051
6045
  let $;
6052
6046
  function U(Pe) {
6053
6047
  $ = Pe;
6054
6048
  }
6055
6049
  function I(Pe) {
6056
- const H = new de();
6050
+ const V = new de();
6057
6051
  let Q;
6058
6052
  if (typeof Pe == "string" || Pe instanceof URL)
6059
6053
  Q = {
@@ -6075,7 +6069,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6075
6069
  Q = Pe;
6076
6070
  }
6077
6071
  const G = /* @__PURE__ */ Object.create(null);
6078
- let V = null, oe = null;
6072
+ let H = null, oe = null;
6079
6073
  for (const ke in Q) {
6080
6074
  const ce = Q[ke];
6081
6075
  switch (ke) {
@@ -6093,7 +6087,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6093
6087
  }
6094
6088
  throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");
6095
6089
  case "range":
6096
- V = ce;
6090
+ H = ce;
6097
6091
  continue;
6098
6092
  case "worker":
6099
6093
  oe = ce;
@@ -6122,22 +6116,22 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6122
6116
  verbosity: G.verbosity,
6123
6117
  port: P.GlobalWorkerOptions.workerPort
6124
6118
  };
6125
- oe = ke.port ? d.fromPort(ke) : new d(ke), H._worker = oe;
6119
+ oe = ke.port ? d.fromPort(ke) : new d(ke), V._worker = oe;
6126
6120
  }
6127
- const _e = H.docId;
6121
+ const _e = V.docId;
6128
6122
  return oe.promise.then(function() {
6129
- if (H.destroyed)
6123
+ if (V.destroyed)
6130
6124
  throw new Error("Loading aborted");
6131
- const ke = ee(oe, G, V, _e), ce = new Promise(function(Re) {
6125
+ const ke = ee(oe, G, H, _e), ce = new Promise(function(Re) {
6132
6126
  let Be;
6133
- V ? Be = new l.PDFDataTransportStream({
6127
+ H ? Be = new l.PDFDataTransportStream({
6134
6128
  length: G.length,
6135
6129
  initialData: G.initialData,
6136
6130
  progressiveDone: G.progressiveDone,
6137
6131
  contentDispositionFilename: G.contentDispositionFilename,
6138
6132
  disableRange: G.disableRange,
6139
6133
  disableStream: G.disableStream
6140
- }, V) : G.data || (Be = $({
6134
+ }, H) : G.data || (Be = $({
6141
6135
  url: G.url,
6142
6136
  length: G.length,
6143
6137
  httpHeaders: G.httpHeaders,
@@ -6149,54 +6143,54 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6149
6143
  });
6150
6144
  return Promise.all([ke, ce]).then(function(Re) {
6151
6145
  let [Be, ge] = Re;
6152
- if (H.destroyed)
6146
+ if (V.destroyed)
6153
6147
  throw new Error("Loading aborted");
6154
- const te = new y.MessageHandler(_e, Be, oe.port), ae = new ie(te, H, ge, G);
6155
- H._transport = ae, te.send("Ready", null);
6148
+ const te = new y.MessageHandler(_e, Be, oe.port), ae = new ie(te, V, ge, G);
6149
+ V._transport = ae, te.send("Ready", null);
6156
6150
  });
6157
- }).catch(H._capability.reject), H;
6151
+ }).catch(V._capability.reject), V;
6158
6152
  }
6159
- async function ee(Pe, H, Q, G) {
6153
+ async function ee(Pe, V, Q, G) {
6160
6154
  if (Pe.destroyed)
6161
6155
  throw new Error("Worker was destroyed");
6162
- Q && (H.length = Q.length, H.initialData = Q.initialData, H.progressiveDone = Q.progressiveDone, H.contentDispositionFilename = Q.contentDispositionFilename);
6163
- const V = await Pe.messageHandler.sendWithPromise("GetDocRequest", {
6156
+ Q && (V.length = Q.length, V.initialData = Q.initialData, V.progressiveDone = Q.progressiveDone, V.contentDispositionFilename = Q.contentDispositionFilename);
6157
+ const H = await Pe.messageHandler.sendWithPromise("GetDocRequest", {
6164
6158
  docId: G,
6165
6159
  apiVersion: "2.16.105",
6166
6160
  source: {
6167
- data: H.data,
6168
- url: H.url,
6169
- password: H.password,
6170
- disableAutoFetch: H.disableAutoFetch,
6171
- rangeChunkSize: H.rangeChunkSize,
6172
- length: H.length
6161
+ data: V.data,
6162
+ url: V.url,
6163
+ password: V.password,
6164
+ disableAutoFetch: V.disableAutoFetch,
6165
+ rangeChunkSize: V.rangeChunkSize,
6166
+ length: V.length
6173
6167
  },
6174
- maxImageSize: H.maxImageSize,
6175
- disableFontFace: H.disableFontFace,
6176
- docBaseUrl: H.docBaseUrl,
6177
- ignoreErrors: H.ignoreErrors,
6178
- isEvalSupported: H.isEvalSupported,
6179
- fontExtraProperties: H.fontExtraProperties,
6180
- enableXfa: H.enableXfa,
6181
- useSystemFonts: H.useSystemFonts,
6182
- cMapUrl: H.useWorkerFetch ? H.cMapUrl : null,
6183
- standardFontDataUrl: H.useWorkerFetch ? H.standardFontDataUrl : null
6168
+ maxImageSize: V.maxImageSize,
6169
+ disableFontFace: V.disableFontFace,
6170
+ docBaseUrl: V.docBaseUrl,
6171
+ ignoreErrors: V.ignoreErrors,
6172
+ isEvalSupported: V.isEvalSupported,
6173
+ fontExtraProperties: V.fontExtraProperties,
6174
+ enableXfa: V.enableXfa,
6175
+ useSystemFonts: V.useSystemFonts,
6176
+ cMapUrl: V.useWorkerFetch ? V.cMapUrl : null,
6177
+ standardFontDataUrl: V.useWorkerFetch ? V.standardFontDataUrl : null
6184
6178
  });
6185
- if (H.data && (H.data = null), Pe.destroyed)
6179
+ if (V.data && (V.data = null), Pe.destroyed)
6186
6180
  throw new Error("Worker was destroyed");
6187
- return V;
6181
+ return H;
6188
6182
  }
6189
6183
  class de {
6190
6184
  constructor() {
6191
- var H, Q;
6192
- this._capability = (0, o.createPromiseCapability)(), this._transport = null, this._worker = null, this.docId = `d${a(de, de, ye, (H = g(de, de, ye), Q = H++, H)), Q}`, this.destroyed = !1, this.onPassword = null, this.onProgress = null, this.onUnsupportedFeature = null;
6185
+ var V, Q;
6186
+ this._capability = (0, o.createPromiseCapability)(), this._transport = null, this._worker = null, this.docId = `d${a(de, de, ye, (V = g(de, de, ye), Q = V++, V)), Q}`, this.destroyed = !1, this.onPassword = null, this.onProgress = null, this.onUnsupportedFeature = null;
6193
6187
  }
6194
6188
  get promise() {
6195
6189
  return this._capability.promise;
6196
6190
  }
6197
6191
  async destroy() {
6198
- var H;
6199
- this.destroyed = !0, await ((H = this._transport) === null || H === void 0 ? void 0 : H.destroy()), this._transport = null, this._worker && (this._worker.destroy(), this._worker = null);
6192
+ var V;
6193
+ this.destroyed = !0, await ((V = this._transport) === null || V === void 0 ? void 0 : V.destroy()), this._transport = null, this._worker && (this._worker.destroy(), this._worker = null);
6200
6194
  }
6201
6195
  }
6202
6196
  v.PDFDocumentLoadingTask = de;
@@ -6205,48 +6199,48 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6205
6199
  value: 0
6206
6200
  };
6207
6201
  class Se {
6208
- constructor(H, Q) {
6209
- let G = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, V = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
6210
- this.length = H, this.initialData = Q, this.progressiveDone = G, this.contentDispositionFilename = V, this._rangeListeners = [], this._progressListeners = [], this._progressiveReadListeners = [], this._progressiveDoneListeners = [], this._readyCapability = (0, o.createPromiseCapability)();
6202
+ constructor(V, Q) {
6203
+ let G = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, H = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
6204
+ this.length = V, this.initialData = Q, this.progressiveDone = G, this.contentDispositionFilename = H, this._rangeListeners = [], this._progressListeners = [], this._progressiveReadListeners = [], this._progressiveDoneListeners = [], this._readyCapability = (0, o.createPromiseCapability)();
6211
6205
  }
6212
- addRangeListener(H) {
6213
- this._rangeListeners.push(H);
6206
+ addRangeListener(V) {
6207
+ this._rangeListeners.push(V);
6214
6208
  }
6215
- addProgressListener(H) {
6216
- this._progressListeners.push(H);
6209
+ addProgressListener(V) {
6210
+ this._progressListeners.push(V);
6217
6211
  }
6218
- addProgressiveReadListener(H) {
6219
- this._progressiveReadListeners.push(H);
6212
+ addProgressiveReadListener(V) {
6213
+ this._progressiveReadListeners.push(V);
6220
6214
  }
6221
- addProgressiveDoneListener(H) {
6222
- this._progressiveDoneListeners.push(H);
6215
+ addProgressiveDoneListener(V) {
6216
+ this._progressiveDoneListeners.push(V);
6223
6217
  }
6224
- onDataRange(H, Q) {
6218
+ onDataRange(V, Q) {
6225
6219
  for (const G of this._rangeListeners)
6226
- G(H, Q);
6220
+ G(V, Q);
6227
6221
  }
6228
- onDataProgress(H, Q) {
6222
+ onDataProgress(V, Q) {
6229
6223
  this._readyCapability.promise.then(() => {
6230
6224
  for (const G of this._progressListeners)
6231
- G(H, Q);
6225
+ G(V, Q);
6232
6226
  });
6233
6227
  }
6234
- onDataProgressiveRead(H) {
6228
+ onDataProgressiveRead(V) {
6235
6229
  this._readyCapability.promise.then(() => {
6236
6230
  for (const Q of this._progressiveReadListeners)
6237
- Q(H);
6231
+ Q(V);
6238
6232
  });
6239
6233
  }
6240
6234
  onDataProgressiveDone() {
6241
6235
  this._readyCapability.promise.then(() => {
6242
- for (const H of this._progressiveDoneListeners)
6243
- H();
6236
+ for (const V of this._progressiveDoneListeners)
6237
+ V();
6244
6238
  });
6245
6239
  }
6246
6240
  transportReady() {
6247
6241
  this._readyCapability.resolve();
6248
6242
  }
6249
- requestDataRange(H, Q) {
6243
+ requestDataRange(V, Q) {
6250
6244
  (0, o.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange");
6251
6245
  }
6252
6246
  abort() {
@@ -6254,8 +6248,8 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6254
6248
  }
6255
6249
  v.PDFDataRangeTransport = Se;
6256
6250
  class Y {
6257
- constructor(H, Q) {
6258
- this._pdfInfo = H, this._transport = Q, Object.defineProperty(this, "fingerprint", {
6251
+ constructor(V, Q) {
6252
+ this._pdfInfo = V, this._transport = Q, Object.defineProperty(this, "fingerprint", {
6259
6253
  get() {
6260
6254
  return (0, T.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."), this.fingerprints[0];
6261
6255
  }
@@ -6284,17 +6278,17 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6284
6278
  get allXfaHtml() {
6285
6279
  return this._transport._htmlForXfa;
6286
6280
  }
6287
- getPage(H) {
6288
- return this._transport.getPage(H);
6281
+ getPage(V) {
6282
+ return this._transport.getPage(V);
6289
6283
  }
6290
- getPageIndex(H) {
6291
- return this._transport.getPageIndex(H);
6284
+ getPageIndex(V) {
6285
+ return this._transport.getPageIndex(V);
6292
6286
  }
6293
6287
  getDestinations() {
6294
6288
  return this._transport.getDestinations();
6295
6289
  }
6296
- getDestination(H) {
6297
- return this._transport.getDestination(H);
6290
+ getDestination(V) {
6291
+ return this._transport.getDestination(V);
6298
6292
  }
6299
6293
  getPageLabels() {
6300
6294
  return this._transport.getPageLabels();
@@ -6342,8 +6336,8 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6342
6336
  return this._transport.downloadInfoCapability.promise;
6343
6337
  }
6344
6338
  cleanup() {
6345
- let H = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
6346
- return this._transport.startCleanup(H || this.isPureXfa);
6339
+ let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
6340
+ return this._transport.startCleanup(V || this.isPureXfa);
6347
6341
  }
6348
6342
  destroy() {
6349
6343
  return this.loadingTask.destroy();
@@ -6369,9 +6363,9 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6369
6363
  }
6370
6364
  v.PDFDocumentProxy = Y;
6371
6365
  class C {
6372
- constructor(H, Q, G, V) {
6366
+ constructor(V, Q, G, H) {
6373
6367
  let oe = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
6374
- this._pageIndex = H, this._pageInfo = Q, this._ownerDocument = V, this._transport = G, this._stats = oe ? new T.StatTimer() : null, this._pdfBug = oe, this.commonObjs = G.commonObjs, this.objs = new le(), this._bitmaps = /* @__PURE__ */ new Set(), this.cleanupAfterRender = !1, this.pendingCleanup = !1, this._intentStates = /* @__PURE__ */ new Map(), this._annotationPromises = /* @__PURE__ */ new Map(), this.destroyed = !1;
6368
+ this._pageIndex = V, this._pageInfo = Q, this._ownerDocument = H, this._transport = G, this._stats = oe ? new T.StatTimer() : null, this._pdfBug = oe, this.commonObjs = G.commonObjs, this.objs = new le(), this._bitmaps = /* @__PURE__ */ new Set(), this.cleanupAfterRender = !1, this.pendingCleanup = !1, this._intentStates = /* @__PURE__ */ new Map(), this._annotationPromises = /* @__PURE__ */ new Map(), this.destroyed = !1;
6375
6369
  }
6376
6370
  get pageNumber() {
6377
6371
  return this._pageIndex + 1;
@@ -6390,29 +6384,29 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6390
6384
  }
6391
6385
  getViewport() {
6392
6386
  let {
6393
- scale: H,
6387
+ scale: V,
6394
6388
  rotation: Q = this.rotate,
6395
6389
  offsetX: G = 0,
6396
- offsetY: V = 0,
6390
+ offsetY: H = 0,
6397
6391
  dontFlip: oe = !1
6398
6392
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6399
6393
  return new T.PageViewport({
6400
6394
  viewBox: this.view,
6401
- scale: H,
6395
+ scale: V,
6402
6396
  rotation: Q,
6403
6397
  offsetX: G,
6404
- offsetY: V,
6398
+ offsetY: H,
6405
6399
  dontFlip: oe
6406
6400
  });
6407
6401
  }
6408
6402
  getAnnotations() {
6409
6403
  let {
6410
- intent: H = "display"
6404
+ intent: V = "display"
6411
6405
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6412
- const Q = this._transport.getRenderingIntent(H);
6406
+ const Q = this._transport.getRenderingIntent(V);
6413
6407
  let G = this._annotationPromises.get(Q.cacheKey);
6414
- return G || (G = this._transport.getAnnotations(this._pageIndex, Q.renderingIntent), this._annotationPromises.set(Q.cacheKey, G), G = G.then((V) => {
6415
- for (const oe of V)
6408
+ return G || (G = this._transport.getAnnotations(this._pageIndex, Q.renderingIntent), this._annotationPromises.set(Q.cacheKey, G), G = G.then((H) => {
6409
+ for (const oe of H)
6416
6410
  oe.titleObj !== void 0 && Object.defineProperty(oe, "title", {
6417
6411
  get() {
6418
6412
  return (0, T.deprecated)("`title`-property on annotation, please use `titleObj` instead."), oe.titleObj.str;
@@ -6422,18 +6416,18 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6422
6416
  return (0, T.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."), oe.contentsObj.str;
6423
6417
  }
6424
6418
  });
6425
- return V;
6419
+ return H;
6426
6420
  })), G;
6427
6421
  }
6428
6422
  getJSActions() {
6429
6423
  return this._jsActionsPromise || (this._jsActionsPromise = this._transport.getPageJSActions(this._pageIndex));
6430
6424
  }
6431
6425
  async getXfa() {
6432
- var H;
6433
- return ((H = this._transport._htmlForXfa) === null || H === void 0 ? void 0 : H.children[this._pageIndex]) || null;
6426
+ var V;
6427
+ return ((V = this._transport._htmlForXfa) === null || V === void 0 ? void 0 : V.children[this._pageIndex]) || null;
6434
6428
  }
6435
- render(H) {
6436
- var Q, G, V;
6429
+ render(V) {
6430
+ var Q, G, H;
6437
6431
  let {
6438
6432
  canvasContext: oe,
6439
6433
  viewport: _e,
@@ -6446,10 +6440,10 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6446
6440
  optionalContentConfigPromise: ae = null,
6447
6441
  annotationCanvasMap: be = null,
6448
6442
  pageColors: We = null,
6449
- printAnnotationStorage: Ve = null
6450
- } = H;
6443
+ printAnnotationStorage: He = null
6444
+ } = V;
6451
6445
  ((Q = arguments[0]) === null || Q === void 0 ? void 0 : Q.renderInteractiveForms) !== void 0 && ((0, T.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."), arguments[0].renderInteractiveForms === !0 && ce === o.AnnotationMode.ENABLE && (ce = o.AnnotationMode.ENABLE_FORMS)), ((G = arguments[0]) === null || G === void 0 ? void 0 : G.includeAnnotationStorage) !== void 0 && ((0, T.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."), arguments[0].includeAnnotationStorage === !0 && ce === o.AnnotationMode.ENABLE && (ce = o.AnnotationMode.ENABLE_STORAGE)), this._stats && this._stats.time("Overall");
6452
- const me = this._transport.getRenderingIntent(ke, ce, Ve);
6446
+ const me = this._transport.getRenderingIntent(ke, ce, He);
6453
6447
  this.pendingCleanup = !1, ae || (ae = this._transport.getOptionalContentConfig());
6454
6448
  let ue = this._intentStates.get(me.cacheKey);
6455
6449
  ue || (ue = /* @__PURE__ */ Object.create(null), this._intentStates.set(me.cacheKey, ue)), ue.streamReaderCancelTimeout && (clearTimeout(ue.streamReaderCancelTimeout), ue.streamReaderCancelTimeout = null);
@@ -6462,10 +6456,10 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6462
6456
  lastChunk: !1,
6463
6457
  separateAnnots: null
6464
6458
  }, this._stats && this._stats.time("Page Request"), this._pumpOperatorList(me));
6465
- const $e = (He) => {
6466
- ue.renderTasks.delete(Ge), (this.cleanupAfterRender || Ne) && (this.pendingCleanup = !0), this._tryCleanup(), He ? (Ge.capability.reject(He), this._abortOperatorList({
6459
+ const $e = (Ve) => {
6460
+ ue.renderTasks.delete(Ge), (this.cleanupAfterRender || Ne) && (this.pendingCleanup = !0), this._tryCleanup(), Ve ? (Ge.capability.reject(Ve), this._abortOperatorList({
6467
6461
  intentState: ue,
6468
- reason: He instanceof Error ? He : new Error(He)
6462
+ reason: Ve instanceof Error ? Ve : new Error(Ve)
6469
6463
  })) : Ge.capability.resolve(), this._stats && (this._stats.timeEnd("Rendering"), this._stats.timeEnd("Overall"));
6470
6464
  }, Ge = new Ce({
6471
6465
  callback: $e,
@@ -6486,10 +6480,10 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6486
6480
  pdfBug: this._pdfBug,
6487
6481
  pageColors: We
6488
6482
  });
6489
- ((V = ue).renderTasks || (V.renderTasks = /* @__PURE__ */ new Set())).add(Ge);
6483
+ ((H = ue).renderTasks || (H.renderTasks = /* @__PURE__ */ new Set())).add(Ge);
6490
6484
  const Xe = Ge.task;
6491
- return Promise.all([ue.displayReadyCapability.promise, ae]).then((He) => {
6492
- let [je, Ze] = He;
6485
+ return Promise.all([ue.displayReadyCapability.promise, ae]).then((Ve) => {
6486
+ let [je, Ze] = Ve;
6493
6487
  if (this.pendingCleanup) {
6494
6488
  $e();
6495
6489
  return;
@@ -6502,20 +6496,20 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6502
6496
  }
6503
6497
  getOperatorList() {
6504
6498
  let {
6505
- intent: H = "display",
6499
+ intent: V = "display",
6506
6500
  annotationMode: Q = o.AnnotationMode.ENABLE,
6507
6501
  printAnnotationStorage: G = null
6508
6502
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6509
- function V() {
6503
+ function H() {
6510
6504
  _e.operatorList.lastChunk && (_e.opListReadCapability.resolve(_e.operatorList), _e.renderTasks.delete(ke));
6511
6505
  }
6512
- const oe = this._transport.getRenderingIntent(H, Q, G, !0);
6506
+ const oe = this._transport.getRenderingIntent(V, Q, G, !0);
6513
6507
  let _e = this._intentStates.get(oe.cacheKey);
6514
6508
  _e || (_e = /* @__PURE__ */ Object.create(null), this._intentStates.set(oe.cacheKey, _e));
6515
6509
  let ke;
6516
6510
  if (!_e.opListReadCapability) {
6517
6511
  var ce;
6518
- ke = /* @__PURE__ */ Object.create(null), ke.operatorListChanged = V, _e.opListReadCapability = (0, o.createPromiseCapability)(), ((ce = _e).renderTasks || (ce.renderTasks = /* @__PURE__ */ new Set())).add(ke), _e.operatorList = {
6512
+ ke = /* @__PURE__ */ Object.create(null), ke.operatorListChanged = H, _e.opListReadCapability = (0, o.createPromiseCapability)(), ((ce = _e).renderTasks || (ce.renderTasks = /* @__PURE__ */ new Set())).add(ke), _e.operatorList = {
6519
6513
  fnArray: [],
6520
6514
  argsArray: [],
6521
6515
  lastChunk: !1,
@@ -6526,27 +6520,27 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6526
6520
  }
6527
6521
  streamTextContent() {
6528
6522
  let {
6529
- disableCombineTextItems: H = !1,
6523
+ disableCombineTextItems: V = !1,
6530
6524
  includeMarkedContent: Q = !1
6531
6525
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6532
6526
  const G = 100;
6533
6527
  return this._transport.messageHandler.sendWithStream("GetTextContent", {
6534
6528
  pageIndex: this._pageIndex,
6535
- combineTextItems: H !== !0,
6529
+ combineTextItems: V !== !0,
6536
6530
  includeMarkedContent: Q === !0
6537
6531
  }, {
6538
6532
  highWaterMark: G,
6539
- size(V) {
6540
- return V.items.length;
6533
+ size(H) {
6534
+ return H.items.length;
6541
6535
  }
6542
6536
  });
6543
6537
  }
6544
6538
  getTextContent() {
6545
- let H = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6539
+ let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6546
6540
  if (this._transport._htmlForXfa)
6547
6541
  return this.getXfa().then((G) => A.XfaText.textContent(G));
6548
- const Q = this.streamTextContent(H);
6549
- return new Promise(function(G, V) {
6542
+ const Q = this.streamTextContent(V);
6543
+ return new Promise(function(G, H) {
6550
6544
  function oe() {
6551
6545
  _e.read().then(function(ce) {
6552
6546
  let {
@@ -6558,7 +6552,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6558
6552
  return;
6559
6553
  }
6560
6554
  Object.assign(ke.styles, Re.styles), ke.items.push(...Re.items), oe();
6561
- }, V);
6555
+ }, H);
6562
6556
  }
6563
6557
  const _e = Q.getReader(), ke = {
6564
6558
  items: [],
@@ -6572,7 +6566,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6572
6566
  }
6573
6567
  _destroy() {
6574
6568
  this.destroyed = !0;
6575
- const H = [];
6569
+ const V = [];
6576
6570
  for (const Q of this._intentStates.values())
6577
6571
  if (this._abortOperatorList({
6578
6572
  intentState: Q,
@@ -6580,18 +6574,18 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6580
6574
  force: !0
6581
6575
  }), !Q.opListReadCapability)
6582
6576
  for (const G of Q.renderTasks)
6583
- H.push(G.completed), G.cancel();
6577
+ V.push(G.completed), G.cancel();
6584
6578
  this.objs.clear();
6585
6579
  for (const Q of this._bitmaps)
6586
6580
  Q.close();
6587
- return this._bitmaps.clear(), this._annotationPromises.clear(), this._jsActionsPromise = null, this._structTreePromise = null, this.pendingCleanup = !1, Promise.all(H);
6581
+ return this._bitmaps.clear(), this._annotationPromises.clear(), this._jsActionsPromise = null, this._structTreePromise = null, this.pendingCleanup = !1, Promise.all(V);
6588
6582
  }
6589
6583
  cleanup() {
6590
- let H = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
6591
- return this.pendingCleanup = !0, this._tryCleanup(H);
6584
+ let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
6585
+ return this.pendingCleanup = !0, this._tryCleanup(V);
6592
6586
  }
6593
6587
  _tryCleanup() {
6594
- let H = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
6588
+ let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
6595
6589
  if (!this.pendingCleanup)
6596
6590
  return !1;
6597
6591
  for (const {
@@ -6600,34 +6594,34 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6600
6594
  } of this._intentStates.values())
6601
6595
  if (Q.size > 0 || !G.lastChunk)
6602
6596
  return !1;
6603
- this._intentStates.clear(), this.objs.clear(), this._annotationPromises.clear(), this._jsActionsPromise = null, this._structTreePromise = null, H && this._stats && (this._stats = new T.StatTimer());
6597
+ this._intentStates.clear(), this.objs.clear(), this._annotationPromises.clear(), this._jsActionsPromise = null, this._structTreePromise = null, V && this._stats && (this._stats = new T.StatTimer());
6604
6598
  for (const Q of this._bitmaps)
6605
6599
  Q.close();
6606
6600
  return this._bitmaps.clear(), this.pendingCleanup = !1, !0;
6607
6601
  }
6608
- _startRenderPage(H, Q) {
6602
+ _startRenderPage(V, Q) {
6609
6603
  const G = this._intentStates.get(Q);
6610
- !G || (this._stats && this._stats.timeEnd("Page Request"), G.displayReadyCapability && G.displayReadyCapability.resolve(H));
6604
+ !G || (this._stats && this._stats.timeEnd("Page Request"), G.displayReadyCapability && G.displayReadyCapability.resolve(V));
6611
6605
  }
6612
- _renderPageChunk(H, Q) {
6613
- for (let G = 0, V = H.length; G < V; G++)
6614
- Q.operatorList.fnArray.push(H.fnArray[G]), Q.operatorList.argsArray.push(H.argsArray[G]);
6615
- Q.operatorList.lastChunk = H.lastChunk, Q.operatorList.separateAnnots = H.separateAnnots;
6606
+ _renderPageChunk(V, Q) {
6607
+ for (let G = 0, H = V.length; G < H; G++)
6608
+ Q.operatorList.fnArray.push(V.fnArray[G]), Q.operatorList.argsArray.push(V.argsArray[G]);
6609
+ Q.operatorList.lastChunk = V.lastChunk, Q.operatorList.separateAnnots = V.separateAnnots;
6616
6610
  for (const G of Q.renderTasks)
6617
6611
  G.operatorListChanged();
6618
- H.lastChunk && this._tryCleanup();
6612
+ V.lastChunk && this._tryCleanup();
6619
6613
  }
6620
- _pumpOperatorList(H) {
6614
+ _pumpOperatorList(V) {
6621
6615
  let {
6622
6616
  renderingIntent: Q,
6623
6617
  cacheKey: G,
6624
- annotationStorageMap: V
6625
- } = H;
6618
+ annotationStorageMap: H
6619
+ } = V;
6626
6620
  const _e = this._transport.messageHandler.sendWithStream("GetOperatorList", {
6627
6621
  pageIndex: this._pageIndex,
6628
6622
  intent: Q,
6629
6623
  cacheKey: G,
6630
- annotationStorage: V
6624
+ annotationStorage: H
6631
6625
  }).getReader(), ke = this._intentStates.get(G);
6632
6626
  ke.streamReader = _e;
6633
6627
  const ce = () => {
@@ -6660,14 +6654,14 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6660
6654
  };
6661
6655
  ce();
6662
6656
  }
6663
- _abortOperatorList(H) {
6657
+ _abortOperatorList(V) {
6664
6658
  let {
6665
6659
  intentState: Q,
6666
6660
  reason: G,
6667
- force: V = !1
6668
- } = H;
6661
+ force: H = !1
6662
+ } = V;
6669
6663
  if (!!Q.streamReader) {
6670
- if (!V) {
6664
+ if (!H) {
6671
6665
  if (Q.renderTasks.size > 0)
6672
6666
  return;
6673
6667
  if (G instanceof T.RenderingCancelledException) {
@@ -6701,19 +6695,19 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6701
6695
  constructor() {
6702
6696
  this._listeners = [], this._deferred = Promise.resolve();
6703
6697
  }
6704
- postMessage(H, Q) {
6698
+ postMessage(V, Q) {
6705
6699
  const G = {
6706
- data: structuredClone(H, Q)
6700
+ data: structuredClone(V, Q)
6707
6701
  };
6708
6702
  this._deferred.then(() => {
6709
- for (const V of this._listeners)
6710
- V.call(this, G);
6703
+ for (const H of this._listeners)
6704
+ H.call(this, G);
6711
6705
  });
6712
6706
  }
6713
- addEventListener(H, Q) {
6707
+ addEventListener(V, Q) {
6714
6708
  this._listeners.push(Q);
6715
6709
  }
6716
- removeEventListener(H, Q) {
6710
+ removeEventListener(V, Q) {
6717
6711
  const G = this._listeners.indexOf(Q);
6718
6712
  this._listeners.splice(G, 1);
6719
6713
  }
@@ -6736,7 +6730,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6736
6730
  const Pe = (j = document) === null || j === void 0 || (s = j.currentScript) === null || s === void 0 ? void 0 : s.src;
6737
6731
  Pe && (N.fallbackWorkerSrc = Pe.replace(/(\.(?:min\.)?js)(\?.*)?$/i, ".worker$1$2"));
6738
6732
  }
6739
- N.isSameOrigin = function(Pe, H) {
6733
+ N.isSameOrigin = function(Pe, V) {
6740
6734
  let Q;
6741
6735
  try {
6742
6736
  if (Q = new URL(Pe), !Q.origin || Q.origin === "null")
@@ -6744,23 +6738,23 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6744
6738
  } catch {
6745
6739
  return !1;
6746
6740
  }
6747
- const G = new URL(H, Q);
6741
+ const G = new URL(V, Q);
6748
6742
  return Q.origin === G.origin;
6749
6743
  }, N.createCDNWrapper = function(Pe) {
6750
- const H = `importScripts("${Pe}");`;
6751
- return URL.createObjectURL(new Blob([H]));
6744
+ const V = `importScripts("${Pe}");`;
6745
+ return URL.createObjectURL(new Blob([V]));
6752
6746
  };
6753
6747
  }
6754
6748
  class d {
6755
6749
  constructor() {
6756
6750
  let {
6757
- name: H = null,
6751
+ name: V = null,
6758
6752
  port: Q = null,
6759
6753
  verbosity: G = (0, o.getVerbosityLevel)()
6760
6754
  } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6761
6755
  if (Q && g(d, d, _).has(Q))
6762
6756
  throw new Error("Cannot use more than one PDFWorker per port.");
6763
- if (this.name = H, this.destroyed = !1, this.verbosity = G, this._readyCapability = (0, o.createPromiseCapability)(), this._port = null, this._webWorker = null, this._messageHandler = null, Q) {
6757
+ if (this.name = V, this.destroyed = !1, this.verbosity = G, this._readyCapability = (0, o.createPromiseCapability)(), this._port = null, this._webWorker = null, this._messageHandler = null, Q) {
6764
6758
  g(d, d, _).set(Q, this), this._initializeFromPort(Q);
6765
6759
  return;
6766
6760
  }
@@ -6775,25 +6769,25 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6775
6769
  get messageHandler() {
6776
6770
  return this._messageHandler;
6777
6771
  }
6778
- _initializeFromPort(H) {
6779
- this._port = H, this._messageHandler = new y.MessageHandler("main", "worker", H), this._messageHandler.on("ready", function() {
6772
+ _initializeFromPort(V) {
6773
+ this._port = V, this._messageHandler = new y.MessageHandler("main", "worker", V), this._messageHandler.on("ready", function() {
6780
6774
  }), this._readyCapability.resolve();
6781
6775
  }
6782
6776
  _initialize() {
6783
6777
  if (!N.isWorkerDisabled && !d._mainThreadWorkerMessageHandler) {
6784
6778
  let {
6785
- workerSrc: H
6779
+ workerSrc: V
6786
6780
  } = d;
6787
6781
  try {
6788
- N.isSameOrigin(window.location.href, H) || (H = N.createCDNWrapper(new URL(H, window.location).href));
6789
- const Q = new Worker(H), G = new y.MessageHandler("main", "worker", Q), V = () => {
6782
+ N.isSameOrigin(window.location.href, V) || (V = N.createCDNWrapper(new URL(V, window.location).href));
6783
+ const Q = new Worker(V), G = new y.MessageHandler("main", "worker", Q), H = () => {
6790
6784
  Q.removeEventListener("error", oe), G.destroy(), Q.terminate(), this.destroyed ? this._readyCapability.reject(new Error("Worker was destroyed")) : this._setupFakeWorker();
6791
6785
  }, oe = () => {
6792
- this._webWorker || V();
6786
+ this._webWorker || H();
6793
6787
  };
6794
6788
  Q.addEventListener("error", oe), G.on("test", (ke) => {
6795
6789
  if (Q.removeEventListener("error", oe), this.destroyed) {
6796
- V();
6790
+ H();
6797
6791
  return;
6798
6792
  }
6799
6793
  ke ? (this._messageHandler = G, this._port = Q, this._webWorker = Q, this._readyCapability.resolve(), G.send("configure", {
@@ -6801,7 +6795,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6801
6795
  })) : (this._setupFakeWorker(), G.destroy(), Q.terminate());
6802
6796
  }), G.on("ready", (ke) => {
6803
6797
  if (Q.removeEventListener("error", oe), this.destroyed) {
6804
- V();
6798
+ H();
6805
6799
  return;
6806
6800
  }
6807
6801
  try {
@@ -6823,30 +6817,30 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6823
6817
  this._setupFakeWorker();
6824
6818
  }
6825
6819
  _setupFakeWorker() {
6826
- N.isWorkerDisabled || ((0, o.warn)("Setting up fake worker."), N.isWorkerDisabled = !0), d._setupFakeWorkerGlobal.then((H) => {
6820
+ N.isWorkerDisabled || ((0, o.warn)("Setting up fake worker."), N.isWorkerDisabled = !0), d._setupFakeWorkerGlobal.then((V) => {
6827
6821
  if (this.destroyed) {
6828
6822
  this._readyCapability.reject(new Error("Worker was destroyed"));
6829
6823
  return;
6830
6824
  }
6831
6825
  const Q = new S();
6832
6826
  this._port = Q;
6833
- const G = `fake${N.fakeWorkerId++}`, V = new y.MessageHandler(G + "_worker", G, Q);
6834
- H.setup(V, Q);
6827
+ const G = `fake${N.fakeWorkerId++}`, H = new y.MessageHandler(G + "_worker", G, Q);
6828
+ V.setup(H, Q);
6835
6829
  const oe = new y.MessageHandler(G, G + "_worker", Q);
6836
6830
  this._messageHandler = oe, this._readyCapability.resolve(), oe.send("configure", {
6837
6831
  verbosity: this.verbosity
6838
6832
  });
6839
- }).catch((H) => {
6840
- this._readyCapability.reject(new Error(`Setting up fake worker failed: "${H.message}".`));
6833
+ }).catch((V) => {
6834
+ this._readyCapability.reject(new Error(`Setting up fake worker failed: "${V.message}".`));
6841
6835
  });
6842
6836
  }
6843
6837
  destroy() {
6844
6838
  this.destroyed = !0, this._webWorker && (this._webWorker.terminate(), this._webWorker = null), g(d, d, _).delete(this._port), this._port = null, this._messageHandler && (this._messageHandler.destroy(), this._messageHandler = null);
6845
6839
  }
6846
- static fromPort(H) {
6847
- if (!(H != null && H.port))
6840
+ static fromPort(V) {
6841
+ if (!(V != null && V.port))
6848
6842
  throw new Error("PDFWorker.fromPort - invalid method signature.");
6849
- return g(this, d, _).has(H.port) ? g(this, d, _).get(H.port) : new d(H);
6843
+ return g(this, d, _).has(V.port) ? g(this, d, _).get(V.port) : new d(V);
6850
6844
  }
6851
6845
  static get workerSrc() {
6852
6846
  if (P.GlobalWorkerOptions.workerSrc)
@@ -6857,18 +6851,18 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6857
6851
  }
6858
6852
  static get _mainThreadWorkerMessageHandler() {
6859
6853
  try {
6860
- var H;
6861
- return ((H = globalThis.pdfjsWorker) === null || H === void 0 ? void 0 : H.WorkerMessageHandler) || null;
6854
+ var V;
6855
+ return ((V = globalThis.pdfjsWorker) === null || V === void 0 ? void 0 : V.WorkerMessageHandler) || null;
6862
6856
  } catch {
6863
6857
  return null;
6864
6858
  }
6865
6859
  }
6866
6860
  static get _setupFakeWorkerGlobal() {
6867
- const H = async () => {
6861
+ const V = async () => {
6868
6862
  const Q = this._mainThreadWorkerMessageHandler;
6869
- return Q || (m.isNodeJS && typeof qr == "function" ? qr(this.workerSrc).WorkerMessageHandler : (await (0, T.loadScript)(this.workerSrc), window.pdfjsWorker.WorkerMessageHandler));
6863
+ return Q || (m.isNodeJS && typeof qr == "function" ? qr().WorkerMessageHandler : (await (0, T.loadScript)(this.workerSrc), window.pdfjsWorker.WorkerMessageHandler));
6870
6864
  };
6871
- return (0, o.shadow)(this, "_setupFakeWorkerGlobal", H());
6865
+ return (0, o.shadow)(this, "_setupFakeWorkerGlobal", V());
6872
6866
  }
6873
6867
  }
6874
6868
  v.PDFWorker = d;
@@ -6881,7 +6875,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6881
6875
  };
6882
6876
  var M = /* @__PURE__ */ new WeakMap(), L = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap();
6883
6877
  class ie {
6884
- constructor(H, Q, G, V) {
6878
+ constructor(V, Q, G, H) {
6885
6879
  F(this, M, {
6886
6880
  writable: !0,
6887
6881
  value: null
@@ -6894,16 +6888,16 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6894
6888
  }), F(this, J, {
6895
6889
  writable: !0,
6896
6890
  value: null
6897
- }), this.messageHandler = H, this.loadingTask = Q, this.commonObjs = new le(), this.fontLoader = new R.FontLoader({
6891
+ }), this.messageHandler = V, this.loadingTask = Q, this.commonObjs = new le(), this.fontLoader = new R.FontLoader({
6898
6892
  docId: Q.docId,
6899
6893
  onUnsupportedFeature: this._onUnsupportedFeature.bind(this),
6900
- ownerDocument: V.ownerDocument,
6901
- styleElement: V.styleElement
6902
- }), this._params = V, V.useWorkerFetch || (this.CMapReaderFactory = new V.CMapReaderFactory({
6903
- baseUrl: V.cMapUrl,
6904
- isCompressed: V.cMapPacked
6905
- }), this.StandardFontDataFactory = new V.StandardFontDataFactory({
6906
- baseUrl: V.standardFontDataUrl
6894
+ ownerDocument: H.ownerDocument,
6895
+ styleElement: H.styleElement
6896
+ }), this._params = H, H.useWorkerFetch || (this.CMapReaderFactory = new H.CMapReaderFactory({
6897
+ baseUrl: H.cMapUrl,
6898
+ isCompressed: H.cMapPacked
6899
+ }), this.StandardFontDataFactory = new H.StandardFontDataFactory({
6900
+ baseUrl: H.standardFontDataUrl
6907
6901
  })), this.destroyed = !1, this.destroyCapability = null, this._passwordCapability = null, this._networkStream = G, this._fullReader = null, this._lastProgress = null, this.downloadInfoCapability = (0, o.createPromiseCapability)(), this.setupMessageHandler();
6908
6902
  }
6909
6903
  get annotationStorage() {
@@ -6912,9 +6906,9 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6912
6906
  get stats() {
6913
6907
  return u(this, M);
6914
6908
  }
6915
- getRenderingIntent(H) {
6916
- let Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : o.AnnotationMode.ENABLE, G = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, V = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1, oe = o.RenderingIntentFlag.DISPLAY, _e = null;
6917
- switch (H) {
6909
+ getRenderingIntent(V) {
6910
+ let Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : o.AnnotationMode.ENABLE, G = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, H = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : !1, oe = o.RenderingIntentFlag.DISPLAY, _e = null;
6911
+ switch (V) {
6918
6912
  case "any":
6919
6913
  oe = o.RenderingIntentFlag.ANY;
6920
6914
  break;
@@ -6924,7 +6918,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6924
6918
  oe = o.RenderingIntentFlag.PRINT;
6925
6919
  break;
6926
6920
  default:
6927
- (0, o.warn)(`getRenderingIntent - invalid intent: ${H}`);
6921
+ (0, o.warn)(`getRenderingIntent - invalid intent: ${V}`);
6928
6922
  }
6929
6923
  switch (Q) {
6930
6924
  case o.AnnotationMode.DISABLE:
@@ -6941,7 +6935,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6941
6935
  default:
6942
6936
  (0, o.warn)(`getRenderingIntent - invalid annotationMode: ${Q}`);
6943
6937
  }
6944
- return V && (oe += o.RenderingIntentFlag.OPLIST), {
6938
+ return H && (oe += o.RenderingIntentFlag.OPLIST), {
6945
6939
  renderingIntent: oe,
6946
6940
  cacheKey: `${oe}_${c.AnnotationStorage.getHash(_e)}`,
6947
6941
  annotationStorageMap: _e
@@ -6951,48 +6945,48 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
6951
6945
  if (this.destroyCapability)
6952
6946
  return this.destroyCapability.promise;
6953
6947
  this.destroyed = !0, this.destroyCapability = (0, o.createPromiseCapability)(), this._passwordCapability && this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));
6954
- const H = [];
6948
+ const V = [];
6955
6949
  for (const G of u(this, L).values())
6956
- H.push(G._destroy());
6950
+ V.push(G._destroy());
6957
6951
  u(this, L).clear(), u(this, X).clear(), this.hasOwnProperty("annotationStorage") && this.annotationStorage.resetModified();
6958
6952
  const Q = this.messageHandler.sendWithPromise("Terminate", null);
6959
- return H.push(Q), Promise.all(H).then(() => {
6953
+ return V.push(Q), Promise.all(V).then(() => {
6960
6954
  this.commonObjs.clear(), this.fontLoader.clear(), b(this, J, null), this._getFieldObjectsPromise = null, this._hasJSActionsPromise = null, this._networkStream && this._networkStream.cancelAllRequests(new o.AbortException("Worker was terminated.")), this.messageHandler && (this.messageHandler.destroy(), this.messageHandler = null), this.destroyCapability.resolve();
6961
6955
  }, this.destroyCapability.reject), this.destroyCapability.promise;
6962
6956
  }
6963
6957
  setupMessageHandler() {
6964
6958
  const {
6965
- messageHandler: H,
6959
+ messageHandler: V,
6966
6960
  loadingTask: Q
6967
6961
  } = this;
6968
- H.on("GetReader", (G, V) => {
6962
+ V.on("GetReader", (G, H) => {
6969
6963
  (0, o.assert)(this._networkStream, "GetReader - no `IPDFStream` instance available."), this._fullReader = this._networkStream.getFullReader(), this._fullReader.onProgress = (oe) => {
6970
6964
  this._lastProgress = {
6971
6965
  loaded: oe.loaded,
6972
6966
  total: oe.total
6973
6967
  };
6974
- }, V.onPull = () => {
6968
+ }, H.onPull = () => {
6975
6969
  this._fullReader.read().then(function(oe) {
6976
6970
  let {
6977
6971
  value: _e,
6978
6972
  done: ke
6979
6973
  } = oe;
6980
6974
  if (ke) {
6981
- V.close();
6975
+ H.close();
6982
6976
  return;
6983
6977
  }
6984
- (0, o.assert)((0, o.isArrayBuffer)(_e), "GetReader - expected an ArrayBuffer."), V.enqueue(new Uint8Array(_e), 1, [_e]);
6978
+ (0, o.assert)((0, o.isArrayBuffer)(_e), "GetReader - expected an ArrayBuffer."), H.enqueue(new Uint8Array(_e), 1, [_e]);
6985
6979
  }).catch((oe) => {
6986
- V.error(oe);
6980
+ H.error(oe);
6987
6981
  });
6988
- }, V.onCancel = (oe) => {
6989
- this._fullReader.cancel(oe), V.ready.catch((_e) => {
6982
+ }, H.onCancel = (oe) => {
6983
+ this._fullReader.cancel(oe), H.ready.catch((_e) => {
6990
6984
  if (!this.destroyed)
6991
6985
  throw _e;
6992
6986
  });
6993
6987
  };
6994
- }), H.on("ReaderHeadersReady", (G) => {
6995
- const V = (0, o.createPromiseCapability)(), oe = this._fullReader;
6988
+ }), V.on("ReaderHeadersReady", (G) => {
6989
+ const H = (0, o.createPromiseCapability)(), oe = this._fullReader;
6996
6990
  return oe.headersReady.then(() => {
6997
6991
  if (!oe.isStreamingSupported || !oe.isRangeSupported) {
6998
6992
  if (this._lastProgress) {
@@ -7007,93 +7001,93 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7007
7001
  });
7008
7002
  };
7009
7003
  }
7010
- V.resolve({
7004
+ H.resolve({
7011
7005
  isStreamingSupported: oe.isStreamingSupported,
7012
7006
  isRangeSupported: oe.isRangeSupported,
7013
7007
  contentLength: oe.contentLength
7014
7008
  });
7015
- }, V.reject), V.promise;
7016
- }), H.on("GetRangeReader", (G, V) => {
7009
+ }, H.reject), H.promise;
7010
+ }), V.on("GetRangeReader", (G, H) => {
7017
7011
  (0, o.assert)(this._networkStream, "GetRangeReader - no `IPDFStream` instance available.");
7018
7012
  const oe = this._networkStream.getRangeReader(G.begin, G.end);
7019
7013
  if (!oe) {
7020
- V.close();
7014
+ H.close();
7021
7015
  return;
7022
7016
  }
7023
- V.onPull = () => {
7017
+ H.onPull = () => {
7024
7018
  oe.read().then(function(_e) {
7025
7019
  let {
7026
7020
  value: ke,
7027
7021
  done: ce
7028
7022
  } = _e;
7029
7023
  if (ce) {
7030
- V.close();
7024
+ H.close();
7031
7025
  return;
7032
7026
  }
7033
- (0, o.assert)((0, o.isArrayBuffer)(ke), "GetRangeReader - expected an ArrayBuffer."), V.enqueue(new Uint8Array(ke), 1, [ke]);
7027
+ (0, o.assert)((0, o.isArrayBuffer)(ke), "GetRangeReader - expected an ArrayBuffer."), H.enqueue(new Uint8Array(ke), 1, [ke]);
7034
7028
  }).catch((_e) => {
7035
- V.error(_e);
7029
+ H.error(_e);
7036
7030
  });
7037
- }, V.onCancel = (_e) => {
7038
- oe.cancel(_e), V.ready.catch((ke) => {
7031
+ }, H.onCancel = (_e) => {
7032
+ oe.cancel(_e), H.ready.catch((ke) => {
7039
7033
  if (!this.destroyed)
7040
7034
  throw ke;
7041
7035
  });
7042
7036
  };
7043
- }), H.on("GetDoc", (G) => {
7037
+ }), V.on("GetDoc", (G) => {
7044
7038
  let {
7045
- pdfInfo: V
7039
+ pdfInfo: H
7046
7040
  } = G;
7047
- this._numPages = V.numPages, this._htmlForXfa = V.htmlForXfa, delete V.htmlForXfa, Q._capability.resolve(new Y(V, this));
7048
- }), H.on("DocException", function(G) {
7049
- let V;
7041
+ this._numPages = H.numPages, this._htmlForXfa = H.htmlForXfa, delete H.htmlForXfa, Q._capability.resolve(new Y(H, this));
7042
+ }), V.on("DocException", function(G) {
7043
+ let H;
7050
7044
  switch (G.name) {
7051
7045
  case "PasswordException":
7052
- V = new o.PasswordException(G.message, G.code);
7046
+ H = new o.PasswordException(G.message, G.code);
7053
7047
  break;
7054
7048
  case "InvalidPDFException":
7055
- V = new o.InvalidPDFException(G.message);
7049
+ H = new o.InvalidPDFException(G.message);
7056
7050
  break;
7057
7051
  case "MissingPDFException":
7058
- V = new o.MissingPDFException(G.message);
7052
+ H = new o.MissingPDFException(G.message);
7059
7053
  break;
7060
7054
  case "UnexpectedResponseException":
7061
- V = new o.UnexpectedResponseException(G.message, G.status);
7055
+ H = new o.UnexpectedResponseException(G.message, G.status);
7062
7056
  break;
7063
7057
  case "UnknownErrorException":
7064
- V = new o.UnknownErrorException(G.message, G.details);
7058
+ H = new o.UnknownErrorException(G.message, G.details);
7065
7059
  break;
7066
7060
  default:
7067
7061
  (0, o.unreachable)("DocException - expected a valid Error.");
7068
7062
  }
7069
- Q._capability.reject(V);
7070
- }), H.on("PasswordRequest", (G) => {
7063
+ Q._capability.reject(H);
7064
+ }), V.on("PasswordRequest", (G) => {
7071
7065
  if (this._passwordCapability = (0, o.createPromiseCapability)(), Q.onPassword) {
7072
- const V = (oe) => {
7066
+ const H = (oe) => {
7073
7067
  oe instanceof Error ? this._passwordCapability.reject(oe) : this._passwordCapability.resolve({
7074
7068
  password: oe
7075
7069
  });
7076
7070
  };
7077
7071
  try {
7078
- Q.onPassword(V, G.code);
7072
+ Q.onPassword(H, G.code);
7079
7073
  } catch (oe) {
7080
7074
  this._passwordCapability.reject(oe);
7081
7075
  }
7082
7076
  } else
7083
7077
  this._passwordCapability.reject(new o.PasswordException(G.message, G.code));
7084
7078
  return this._passwordCapability.promise;
7085
- }), H.on("DataLoaded", (G) => {
7086
- var V;
7087
- (V = Q.onProgress) === null || V === void 0 || V.call(Q, {
7079
+ }), V.on("DataLoaded", (G) => {
7080
+ var H;
7081
+ (H = Q.onProgress) === null || H === void 0 || H.call(Q, {
7088
7082
  loaded: G.length,
7089
7083
  total: G.length
7090
7084
  }), this.downloadInfoCapability.resolve(G);
7091
- }), H.on("StartRenderPage", (G) => {
7085
+ }), V.on("StartRenderPage", (G) => {
7092
7086
  if (this.destroyed)
7093
7087
  return;
7094
7088
  u(this, L).get(G.pageIndex)._startRenderPage(G.transparency, G.cacheKey);
7095
- }), H.on("commonobj", (G) => {
7096
- var V;
7089
+ }), V.on("commonobj", (G) => {
7090
+ var H;
7097
7091
  let [oe, _e, ke] = G;
7098
7092
  if (!this.destroyed && !this.commonObjs.has(oe))
7099
7093
  switch (_e) {
@@ -7105,7 +7099,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7105
7099
  break;
7106
7100
  }
7107
7101
  let Re = null;
7108
- ce.pdfBug && (V = globalThis.FontInspector) !== null && V !== void 0 && V.enabled && (Re = {
7102
+ ce.pdfBug && (H = globalThis.FontInspector) !== null && H !== void 0 && H.enabled && (Re = {
7109
7103
  registerFont(ge, te) {
7110
7104
  globalThis.FontInspector.fontAdded(ge, te);
7111
7105
  }
@@ -7117,7 +7111,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7117
7111
  onUnsupportedFeature: this._onUnsupportedFeature.bind(this),
7118
7112
  fontRegistry: Re
7119
7113
  });
7120
- this.fontLoader.bind(Be).catch((ge) => H.sendWithPromise("FontFallback", {
7114
+ this.fontLoader.bind(Be).catch((ge) => V.sendWithPromise("FontFallback", {
7121
7115
  id: oe
7122
7116
  })).finally(() => {
7123
7117
  !ce.fontExtraProperties && Be.data && (Be.data = null), this.commonObjs.resolve(oe, Be);
@@ -7130,15 +7124,15 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7130
7124
  default:
7131
7125
  throw new Error(`Got unknown common object type ${_e}`);
7132
7126
  }
7133
- }), H.on("obj", (G) => {
7134
- let [V, oe, _e, ke] = G;
7127
+ }), V.on("obj", (G) => {
7128
+ let [H, oe, _e, ke] = G;
7135
7129
  if (this.destroyed)
7136
7130
  return;
7137
7131
  const ce = u(this, L).get(oe);
7138
- if (!ce.objs.has(V))
7132
+ if (!ce.objs.has(H))
7139
7133
  switch (_e) {
7140
7134
  case "Image":
7141
- ce.objs.resolve(V, ke);
7135
+ ce.objs.resolve(H, ke);
7142
7136
  const Be = 8e6;
7143
7137
  if (ke) {
7144
7138
  let ge;
@@ -7157,41 +7151,41 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7157
7151
  }
7158
7152
  break;
7159
7153
  case "Pattern":
7160
- ce.objs.resolve(V, ke);
7154
+ ce.objs.resolve(H, ke);
7161
7155
  break;
7162
7156
  default:
7163
7157
  throw new Error(`Got unknown object type ${_e}`);
7164
7158
  }
7165
- }), H.on("DocProgress", (G) => {
7166
- var V;
7167
- this.destroyed || (V = Q.onProgress) === null || V === void 0 || V.call(Q, {
7159
+ }), V.on("DocProgress", (G) => {
7160
+ var H;
7161
+ this.destroyed || (H = Q.onProgress) === null || H === void 0 || H.call(Q, {
7168
7162
  loaded: G.loaded,
7169
7163
  total: G.total
7170
7164
  });
7171
- }), H.on("DocStats", (G) => {
7165
+ }), V.on("DocStats", (G) => {
7172
7166
  this.destroyed || b(this, M, Object.freeze({
7173
7167
  streamTypes: Object.freeze(G.streamTypes),
7174
7168
  fontTypes: Object.freeze(G.fontTypes)
7175
7169
  }));
7176
- }), H.on("UnsupportedFeature", this._onUnsupportedFeature.bind(this)), H.on("FetchBuiltInCMap", (G) => this.destroyed ? Promise.reject(new Error("Worker was destroyed.")) : this.CMapReaderFactory ? this.CMapReaderFactory.fetch(G) : Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))), H.on("FetchStandardFontData", (G) => this.destroyed ? Promise.reject(new Error("Worker was destroyed.")) : this.StandardFontDataFactory ? this.StandardFontDataFactory.fetch(G) : Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")));
7170
+ }), V.on("UnsupportedFeature", this._onUnsupportedFeature.bind(this)), V.on("FetchBuiltInCMap", (G) => this.destroyed ? Promise.reject(new Error("Worker was destroyed.")) : this.CMapReaderFactory ? this.CMapReaderFactory.fetch(G) : Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))), V.on("FetchStandardFontData", (G) => this.destroyed ? Promise.reject(new Error("Worker was destroyed.")) : this.StandardFontDataFactory ? this.StandardFontDataFactory.fetch(G) : Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")));
7177
7171
  }
7178
- _onUnsupportedFeature(H) {
7172
+ _onUnsupportedFeature(V) {
7179
7173
  var Q, G;
7180
7174
  let {
7181
- featureId: V
7182
- } = H;
7183
- this.destroyed || (Q = (G = this.loadingTask).onUnsupportedFeature) === null || Q === void 0 || Q.call(G, V);
7175
+ featureId: H
7176
+ } = V;
7177
+ this.destroyed || (Q = (G = this.loadingTask).onUnsupportedFeature) === null || Q === void 0 || Q.call(G, H);
7184
7178
  }
7185
7179
  getData() {
7186
7180
  return this.messageHandler.sendWithPromise("GetData", null);
7187
7181
  }
7188
- getPage(H) {
7189
- if (!Number.isInteger(H) || H <= 0 || H > this._numPages)
7182
+ getPage(V) {
7183
+ if (!Number.isInteger(V) || V <= 0 || V > this._numPages)
7190
7184
  return Promise.reject(new Error("Invalid page request."));
7191
- const Q = H - 1, G = u(this, X).get(Q);
7185
+ const Q = V - 1, G = u(this, X).get(Q);
7192
7186
  if (G)
7193
7187
  return G;
7194
- const V = this.messageHandler.sendWithPromise("GetPage", {
7188
+ const H = this.messageHandler.sendWithPromise("GetPage", {
7195
7189
  pageIndex: Q
7196
7190
  }).then((oe) => {
7197
7191
  if (this.destroyed)
@@ -7199,27 +7193,27 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7199
7193
  const _e = new C(Q, oe, this, this._params.ownerDocument, this._params.pdfBug);
7200
7194
  return u(this, L).set(Q, _e), _e;
7201
7195
  });
7202
- return u(this, X).set(Q, V), V;
7196
+ return u(this, X).set(Q, H), H;
7203
7197
  }
7204
- getPageIndex(H) {
7205
- return typeof H != "object" || H === null || !Number.isInteger(H.num) || H.num < 0 || !Number.isInteger(H.gen) || H.gen < 0 ? Promise.reject(new Error("Invalid pageIndex request.")) : this.messageHandler.sendWithPromise("GetPageIndex", {
7206
- num: H.num,
7207
- gen: H.gen
7198
+ getPageIndex(V) {
7199
+ return typeof V != "object" || V === null || !Number.isInteger(V.num) || V.num < 0 || !Number.isInteger(V.gen) || V.gen < 0 ? Promise.reject(new Error("Invalid pageIndex request.")) : this.messageHandler.sendWithPromise("GetPageIndex", {
7200
+ num: V.num,
7201
+ gen: V.gen
7208
7202
  });
7209
7203
  }
7210
- getAnnotations(H, Q) {
7204
+ getAnnotations(V, Q) {
7211
7205
  return this.messageHandler.sendWithPromise("GetAnnotations", {
7212
- pageIndex: H,
7206
+ pageIndex: V,
7213
7207
  intent: Q
7214
7208
  });
7215
7209
  }
7216
7210
  saveDocument() {
7217
- var H, Q;
7211
+ var V, Q;
7218
7212
  return this.messageHandler.sendWithPromise("SaveDocument", {
7219
7213
  isPureXfa: !!this._htmlForXfa,
7220
7214
  numPages: this._numPages,
7221
7215
  annotationStorage: this.annotationStorage.serializable,
7222
- filename: (H = (Q = this._fullReader) === null || Q === void 0 ? void 0 : Q.filename) !== null && H !== void 0 ? H : null
7216
+ filename: (V = (Q = this._fullReader) === null || Q === void 0 ? void 0 : Q.filename) !== null && V !== void 0 ? V : null
7223
7217
  }).finally(() => {
7224
7218
  this.annotationStorage.resetModified();
7225
7219
  });
@@ -7236,9 +7230,9 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7236
7230
  getDestinations() {
7237
7231
  return this.messageHandler.sendWithPromise("GetDestinations", null);
7238
7232
  }
7239
- getDestination(H) {
7240
- return typeof H != "string" ? Promise.reject(new Error("Invalid destination request.")) : this.messageHandler.sendWithPromise("GetDestination", {
7241
- id: H
7233
+ getDestination(V) {
7234
+ return typeof V != "string" ? Promise.reject(new Error("Invalid destination request.")) : this.messageHandler.sendWithPromise("GetDestination", {
7235
+ id: V
7242
7236
  });
7243
7237
  }
7244
7238
  getPageLabels() {
@@ -7265,33 +7259,33 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7265
7259
  getDocJSActions() {
7266
7260
  return this.messageHandler.sendWithPromise("GetDocJSActions", null);
7267
7261
  }
7268
- getPageJSActions(H) {
7262
+ getPageJSActions(V) {
7269
7263
  return this.messageHandler.sendWithPromise("GetPageJSActions", {
7270
- pageIndex: H
7264
+ pageIndex: V
7271
7265
  });
7272
7266
  }
7273
- getStructTree(H) {
7267
+ getStructTree(V) {
7274
7268
  return this.messageHandler.sendWithPromise("GetStructTree", {
7275
- pageIndex: H
7269
+ pageIndex: V
7276
7270
  });
7277
7271
  }
7278
7272
  getOutline() {
7279
7273
  return this.messageHandler.sendWithPromise("GetOutline", null);
7280
7274
  }
7281
7275
  getOptionalContentConfig() {
7282
- return this.messageHandler.sendWithPromise("GetOptionalContentConfig", null).then((H) => new r.OptionalContentConfig(H));
7276
+ return this.messageHandler.sendWithPromise("GetOptionalContentConfig", null).then((V) => new r.OptionalContentConfig(V));
7283
7277
  }
7284
7278
  getPermissions() {
7285
7279
  return this.messageHandler.sendWithPromise("GetPermissions", null);
7286
7280
  }
7287
7281
  getMetadata() {
7288
- return u(this, J) || b(this, J, this.messageHandler.sendWithPromise("GetMetadata", null).then((H) => {
7289
- var Q, G, V, oe;
7282
+ return u(this, J) || b(this, J, this.messageHandler.sendWithPromise("GetMetadata", null).then((V) => {
7283
+ var Q, G, H, oe;
7290
7284
  return {
7291
- info: H[0],
7292
- metadata: H[1] ? new D.Metadata(H[1]) : null,
7285
+ info: V[0],
7286
+ metadata: V[1] ? new D.Metadata(V[1]) : null,
7293
7287
  contentDispositionFilename: (Q = (G = this._fullReader) === null || G === void 0 ? void 0 : G.filename) !== null && Q !== void 0 ? Q : null,
7294
- contentLength: (V = (oe = this._fullReader) === null || oe === void 0 ? void 0 : oe.contentLength) !== null && V !== void 0 ? V : null
7288
+ contentLength: (H = (oe = this._fullReader) === null || oe === void 0 ? void 0 : oe.contentLength) !== null && H !== void 0 ? H : null
7295
7289
  };
7296
7290
  }));
7297
7291
  }
@@ -7299,19 +7293,19 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7299
7293
  return this.messageHandler.sendWithPromise("GetMarkInfo", null);
7300
7294
  }
7301
7295
  async startCleanup() {
7302
- let H = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
7296
+ let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
7303
7297
  if (await this.messageHandler.sendWithPromise("Cleanup", null), !this.destroyed) {
7304
7298
  for (const Q of u(this, L).values())
7305
7299
  if (!Q.cleanup())
7306
7300
  throw new Error(`startCleanup: Page ${Q.pageNumber} is currently rendering.`);
7307
- this.commonObjs.clear(), H || this.fontLoader.clear(), b(this, J, null), this._getFieldObjectsPromise = null, this._hasJSActionsPromise = null;
7301
+ this.commonObjs.clear(), V || this.fontLoader.clear(), b(this, J, null), this._getFieldObjectsPromise = null, this._hasJSActionsPromise = null;
7308
7302
  }
7309
7303
  }
7310
7304
  get loadingParams() {
7311
- const H = this._params;
7305
+ const V = this._params;
7312
7306
  return (0, o.shadow)(this, "loadingParams", {
7313
- disableAutoFetch: H.disableAutoFetch,
7314
- enableXfa: H.enableXfa
7307
+ disableAutoFetch: V.disableAutoFetch,
7308
+ enableXfa: V.enableXfa
7315
7309
  });
7316
7310
  }
7317
7311
  }
@@ -7323,24 +7317,24 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7323
7317
  value: /* @__PURE__ */ Object.create(null)
7324
7318
  });
7325
7319
  }
7326
- get(H) {
7320
+ get(V) {
7327
7321
  let Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
7328
7322
  if (Q) {
7329
- const V = w(this, he, fe).call(this, H);
7330
- return V.capability.promise.then(() => Q(V.data)), null;
7323
+ const H = w(this, he, fe).call(this, V);
7324
+ return H.capability.promise.then(() => Q(H.data)), null;
7331
7325
  }
7332
- const G = u(this, se)[H];
7326
+ const G = u(this, se)[V];
7333
7327
  if (!(G != null && G.capability.settled))
7334
- throw new Error(`Requesting object that isn't resolved yet ${H}.`);
7328
+ throw new Error(`Requesting object that isn't resolved yet ${V}.`);
7335
7329
  return G.data;
7336
7330
  }
7337
- has(H) {
7338
- const Q = u(this, se)[H];
7331
+ has(V) {
7332
+ const Q = u(this, se)[V];
7339
7333
  return (Q == null ? void 0 : Q.capability.settled) || !1;
7340
7334
  }
7341
- resolve(H) {
7335
+ resolve(V) {
7342
7336
  let Q = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
7343
- const G = w(this, he, fe).call(this, H);
7337
+ const G = w(this, he, fe).call(this, V);
7344
7338
  G.data = Q, G.capability.resolve();
7345
7339
  }
7346
7340
  clear() {
@@ -7348,19 +7342,19 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7348
7342
  }
7349
7343
  }
7350
7344
  function fe(Pe) {
7351
- const H = u(this, se)[Pe];
7352
- return H || (u(this, se)[Pe] = {
7345
+ const V = u(this, se)[Pe];
7346
+ return V || (u(this, se)[Pe] = {
7353
7347
  capability: (0, o.createPromiseCapability)(),
7354
7348
  data: null
7355
7349
  });
7356
7350
  }
7357
7351
  var ve = /* @__PURE__ */ new WeakMap();
7358
7352
  class we {
7359
- constructor(H) {
7353
+ constructor(V) {
7360
7354
  F(this, ve, {
7361
7355
  writable: !0,
7362
7356
  value: null
7363
- }), b(this, ve, H), this.onContinue = null;
7357
+ }), b(this, ve, V), this.onContinue = null;
7364
7358
  }
7365
7359
  get promise() {
7366
7360
  return u(this, ve).capability.promise;
@@ -7370,23 +7364,23 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7370
7364
  }
7371
7365
  get separateAnnots() {
7372
7366
  const {
7373
- separateAnnots: H
7367
+ separateAnnots: V
7374
7368
  } = u(this, ve).operatorList;
7375
- if (!H)
7369
+ if (!V)
7376
7370
  return !1;
7377
7371
  const {
7378
7372
  annotationCanvasMap: Q
7379
7373
  } = u(this, ve);
7380
- return H.form || H.canvas && (Q == null ? void 0 : Q.size) > 0;
7374
+ return V.form || V.canvas && (Q == null ? void 0 : Q.size) > 0;
7381
7375
  }
7382
7376
  }
7383
7377
  v.RenderTask = we;
7384
7378
  class Ce {
7385
- constructor(H) {
7379
+ constructor(V) {
7386
7380
  let {
7387
7381
  callback: Q,
7388
7382
  params: G,
7389
- objs: V,
7383
+ objs: H,
7390
7384
  commonObjs: oe,
7391
7385
  annotationCanvasMap: _e,
7392
7386
  operatorList: ke,
@@ -7395,19 +7389,19 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7395
7389
  useRequestAnimationFrame: Be = !1,
7396
7390
  pdfBug: ge = !1,
7397
7391
  pageColors: te = null
7398
- } = H;
7399
- this.callback = Q, this.params = G, this.objs = V, this.commonObjs = oe, this.annotationCanvasMap = _e, this.operatorListIdx = null, this.operatorList = ke, this._pageIndex = ce, this.canvasFactory = Re, this._pdfBug = ge, this.pageColors = te, this.running = !1, this.graphicsReadyCallback = null, this.graphicsReady = !1, this._useRequestAnimationFrame = Be === !0 && typeof window < "u", this.cancelled = !1, this.capability = (0, o.createPromiseCapability)(), this.task = new we(this), this._cancelBound = this.cancel.bind(this), this._continueBound = this._continue.bind(this), this._scheduleNextBound = this._scheduleNext.bind(this), this._nextBound = this._next.bind(this), this._canvas = G.canvasContext.canvas;
7392
+ } = V;
7393
+ this.callback = Q, this.params = G, this.objs = H, this.commonObjs = oe, this.annotationCanvasMap = _e, this.operatorListIdx = null, this.operatorList = ke, this._pageIndex = ce, this.canvasFactory = Re, this._pdfBug = ge, this.pageColors = te, this.running = !1, this.graphicsReadyCallback = null, this.graphicsReady = !1, this._useRequestAnimationFrame = Be === !0 && typeof window < "u", this.cancelled = !1, this.capability = (0, o.createPromiseCapability)(), this.task = new we(this), this._cancelBound = this.cancel.bind(this), this._continueBound = this._continue.bind(this), this._scheduleNextBound = this._scheduleNext.bind(this), this._nextBound = this._next.bind(this), this._canvas = G.canvasContext.canvas;
7400
7394
  }
7401
7395
  get completed() {
7402
7396
  return this.capability.promise.catch(function() {
7403
7397
  });
7404
7398
  }
7405
- initializeGraphics(H) {
7399
+ initializeGraphics(V) {
7406
7400
  var Q;
7407
7401
  let {
7408
7402
  transparency: G = !1,
7409
- optionalContentConfig: V
7410
- } = H;
7403
+ optionalContentConfig: H
7404
+ } = V;
7411
7405
  if (this.cancelled)
7412
7406
  return;
7413
7407
  if (this._canvas) {
@@ -7423,7 +7417,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7423
7417
  imageLayer: ce,
7424
7418
  background: Re
7425
7419
  } = this.params;
7426
- this.gfx = new O.CanvasGraphics(oe, this.commonObjs, this.objs, this.canvasFactory, ce, V, this.annotationCanvasMap, this.pageColors), this.gfx.beginDrawing({
7420
+ this.gfx = new O.CanvasGraphics(oe, this.commonObjs, this.objs, this.canvasFactory, ce, H, this.annotationCanvasMap, this.pageColors), this.gfx.beginDrawing({
7427
7421
  transform: ke,
7428
7422
  viewport: _e,
7429
7423
  transparency: G,
@@ -7431,8 +7425,8 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7431
7425
  }), this.operatorListIdx = 0, this.graphicsReady = !0, this.graphicsReadyCallback && this.graphicsReadyCallback();
7432
7426
  }
7433
7427
  cancel() {
7434
- let H = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
7435
- this.running = !1, this.cancelled = !0, this.gfx && this.gfx.endDrawing(), this._canvas && g(Ce, Ce, Oe).delete(this._canvas), this.callback(H || new T.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex + 1}`, "canvas"));
7428
+ let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
7429
+ this.running = !1, this.cancelled = !0, this.gfx && this.gfx.endDrawing(), this._canvas && g(Ce, Ce, Oe).delete(this._canvas), this.callback(V || new T.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex + 1}`, "canvas"));
7436
7430
  }
7437
7431
  operatorListChanged() {
7438
7432
  if (!this.graphicsReady) {
@@ -7831,52 +7825,52 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7831
7825
  value: !0
7832
7826
  }), v.KeyboardManager = v.CommandManager = v.ColorManager = v.AnnotationEditorUIManager = void 0, v.bindEvents = h, v.opacityToHex = w;
7833
7827
  var o = n(1), c = n(133);
7834
- function T(G, V, oe) {
7835
- return V in G ? Object.defineProperty(G, V, { value: oe, enumerable: !0, configurable: !0, writable: !0 }) : G[V] = oe, G;
7828
+ function T(G, H, oe) {
7829
+ return H in G ? Object.defineProperty(G, H, { value: oe, enumerable: !0, configurable: !0, writable: !0 }) : G[H] = oe, G;
7836
7830
  }
7837
- function R(G, V) {
7838
- m(G, V), V.add(G);
7831
+ function R(G, H) {
7832
+ m(G, H), H.add(G);
7839
7833
  }
7840
- function O(G, V, oe) {
7841
- if (!V.has(G))
7834
+ function O(G, H, oe) {
7835
+ if (!H.has(G))
7842
7836
  throw new TypeError("attempted to get private field on non-instance");
7843
7837
  return oe;
7844
7838
  }
7845
- function P(G, V, oe) {
7846
- m(G, V), V.set(G, oe);
7839
+ function P(G, H, oe) {
7840
+ m(G, H), H.set(G, oe);
7847
7841
  }
7848
- function m(G, V) {
7849
- if (V.has(G))
7842
+ function m(G, H) {
7843
+ if (H.has(G))
7850
7844
  throw new TypeError("Cannot initialize the same private elements twice on an object");
7851
7845
  }
7852
- function y(G, V, oe) {
7853
- var _e = l(G, V, "set");
7846
+ function y(G, H, oe) {
7847
+ var _e = l(G, H, "set");
7854
7848
  return D(G, _e, oe), oe;
7855
7849
  }
7856
- function D(G, V, oe) {
7857
- if (V.set)
7858
- V.set.call(G, oe);
7850
+ function D(G, H, oe) {
7851
+ if (H.set)
7852
+ H.set.call(G, oe);
7859
7853
  else {
7860
- if (!V.writable)
7854
+ if (!H.writable)
7861
7855
  throw new TypeError("attempted to set read only private field");
7862
- V.value = oe;
7856
+ H.value = oe;
7863
7857
  }
7864
7858
  }
7865
- function r(G, V) {
7866
- var oe = l(G, V, "get");
7859
+ function r(G, H) {
7860
+ var oe = l(G, H, "get");
7867
7861
  return A(G, oe);
7868
7862
  }
7869
- function l(G, V, oe) {
7870
- if (!V.has(G))
7863
+ function l(G, H, oe) {
7864
+ if (!H.has(G))
7871
7865
  throw new TypeError("attempted to " + oe + " private field on non-instance");
7872
- return V.get(G);
7866
+ return H.get(G);
7873
7867
  }
7874
- function A(G, V) {
7875
- return V.get ? V.get.call(G) : V.value;
7868
+ function A(G, H) {
7869
+ return H.get ? H.get.call(G) : H.value;
7876
7870
  }
7877
- function h(G, V, oe) {
7871
+ function h(G, H, oe) {
7878
7872
  for (const _e of oe)
7879
- V.addEventListener(_e, G[_e].bind(G));
7873
+ H.addEventListener(_e, G[_e].bind(G));
7880
7874
  }
7881
7875
  function w(G) {
7882
7876
  return Math.round(Math.min(255, Math.max(1, 255 * G))).toString(16).padStart(2, "0");
@@ -7890,14 +7884,14 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7890
7884
  });
7891
7885
  }
7892
7886
  getId() {
7893
- var V, oe;
7894
- return `${o.AnnotationEditorPrefix}${y(this, F, (V = r(this, F), oe = V++, V)), oe}`;
7887
+ var H, oe;
7888
+ return `${o.AnnotationEditorPrefix}${y(this, F, (H = r(this, F), oe = H++, H)), oe}`;
7895
7889
  }
7896
7890
  }
7897
7891
  var b = /* @__PURE__ */ new WeakMap(), u = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap();
7898
7892
  class f {
7899
7893
  constructor() {
7900
- let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 128;
7894
+ let H = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 128;
7901
7895
  P(this, b, {
7902
7896
  writable: !0,
7903
7897
  value: []
@@ -7910,9 +7904,9 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7910
7904
  }), P(this, a, {
7911
7905
  writable: !0,
7912
7906
  value: -1
7913
- }), y(this, t, V);
7907
+ }), y(this, t, H);
7914
7908
  }
7915
- add(V) {
7909
+ add(H) {
7916
7910
  let {
7917
7911
  cmd: oe,
7918
7912
  undo: _e,
@@ -7920,7 +7914,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7920
7914
  type: ce = NaN,
7921
7915
  overwriteIfSameType: Re = !1,
7922
7916
  keepUndo: Be = !1
7923
- } = V;
7917
+ } = H;
7924
7918
  if (ke && oe(), r(this, u))
7925
7919
  return;
7926
7920
  const ge = {
@@ -7958,34 +7952,34 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7958
7952
  v.CommandManager = f;
7959
7953
  var g = /* @__PURE__ */ new WeakSet();
7960
7954
  class E {
7961
- constructor(V) {
7955
+ constructor(H) {
7962
7956
  R(this, g), this.buffer = [], this.callbacks = /* @__PURE__ */ new Map(), this.allKeys = /* @__PURE__ */ new Set();
7963
7957
  const oe = E.platform.isMac;
7964
- for (const [_e, ke] of V)
7958
+ for (const [_e, ke] of H)
7965
7959
  for (const ce of _e) {
7966
7960
  const Re = ce.startsWith("mac+");
7967
7961
  oe && Re ? (this.callbacks.set(ce.slice(4), ke), this.allKeys.add(ce.split("+").at(-1))) : !oe && !Re && (this.callbacks.set(ce, ke), this.allKeys.add(ce.split("+").at(-1)));
7968
7962
  }
7969
7963
  }
7970
7964
  static get platform() {
7971
- const V = typeof navigator < "u" ? navigator.platform : "";
7965
+ const H = typeof navigator < "u" ? navigator.platform : "";
7972
7966
  return (0, o.shadow)(this, "platform", {
7973
- isWin: V.includes("Win"),
7974
- isMac: V.includes("Mac")
7967
+ isWin: H.includes("Win"),
7968
+ isMac: H.includes("Mac")
7975
7969
  });
7976
7970
  }
7977
- exec(V, oe) {
7971
+ exec(H, oe) {
7978
7972
  if (!this.allKeys.has(oe.key))
7979
7973
  return;
7980
7974
  const _e = this.callbacks.get(O(this, g, W).call(this, oe));
7981
- !_e || (_e.bind(V)(), oe.stopPropagation(), oe.preventDefault());
7975
+ !_e || (_e.bind(H)(), oe.stopPropagation(), oe.preventDefault());
7982
7976
  }
7983
7977
  }
7984
7978
  v.KeyboardManager = E;
7985
7979
  function W(G) {
7986
7980
  G.altKey && this.buffer.push("alt"), G.ctrlKey && this.buffer.push("ctrl"), G.metaKey && this.buffer.push("meta"), G.shiftKey && this.buffer.push("shift"), this.buffer.push(G.key);
7987
- const V = this.buffer.join("+");
7988
- return this.buffer.length = 0, V;
7981
+ const H = this.buffer.join("+");
7982
+ return this.buffer.length = 0, H;
7989
7983
  }
7990
7984
  var k = /* @__PURE__ */ new WeakMap();
7991
7985
  class ne {
@@ -7995,8 +7989,8 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
7995
7989
  value: null
7996
7990
  });
7997
7991
  }
7998
- copy(V) {
7999
- !V || (Array.isArray(V) ? y(this, k, V.map((oe) => oe.serialize())) : y(this, k, [V.serialize()]), y(this, k, r(this, k).filter((oe) => !!oe)), r(this, k).length === 0 && y(this, k, null));
7992
+ copy(H) {
7993
+ !H || (Array.isArray(H) ? y(this, k, H.map((oe) => oe.serialize())) : y(this, k, [H.serialize()]), y(this, k, r(this, k).filter((oe) => !!oe)), r(this, k).length === 0 && y(this, k, null));
8000
7994
  }
8001
7995
  paste() {
8002
7996
  return r(this, k);
@@ -8010,11 +8004,11 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8010
8004
  }
8011
8005
  class q {
8012
8006
  get _colors() {
8013
- const V = /* @__PURE__ */ new Map([["CanvasText", null], ["Canvas", null]]);
8014
- return (0, c.getColorValues)(V), (0, o.shadow)(this, "_colors", V);
8007
+ const H = /* @__PURE__ */ new Map([["CanvasText", null], ["Canvas", null]]);
8008
+ return (0, c.getColorValues)(H), (0, o.shadow)(this, "_colors", H);
8015
8009
  }
8016
- convert(V) {
8017
- const oe = (0, c.getRGB)(V);
8010
+ convert(H) {
8011
+ const oe = (0, c.getRGB)(H);
8018
8012
  if (!window.matchMedia("(forced-colors: active)").matches)
8019
8013
  return oe;
8020
8014
  for (const [_e, ke] of this._colors)
@@ -8022,15 +8016,15 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8022
8016
  return q._colorsMapping.get(_e);
8023
8017
  return oe;
8024
8018
  }
8025
- getHexCode(V) {
8026
- const oe = this._colors.get(V);
8027
- return oe ? o.Util.makeHexColor(...oe) : V;
8019
+ getHexCode(H) {
8020
+ const oe = this._colors.get(H);
8021
+ return oe ? o.Util.makeHexColor(...oe) : H;
8028
8022
  }
8029
8023
  }
8030
8024
  v.ColorManager = q, T(q, "_colorsMapping", /* @__PURE__ */ new Map([["CanvasText", [0, 0, 0]], ["Canvas", [255, 255, 255]]]));
8031
8025
  var re = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), $ = /* @__PURE__ */ new WeakMap(), U = /* @__PURE__ */ new WeakMap(), I = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), de = /* @__PURE__ */ new WeakMap(), ye = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), C = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakMap(), j = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakSet(), M = /* @__PURE__ */ new WeakSet(), L = /* @__PURE__ */ new WeakSet(), X = /* @__PURE__ */ new WeakSet(), J = /* @__PURE__ */ new WeakSet(), ie = /* @__PURE__ */ new WeakSet(), se = /* @__PURE__ */ new WeakSet(), he = /* @__PURE__ */ new WeakSet(), le = /* @__PURE__ */ new WeakSet();
8032
8026
  class fe {
8033
- constructor(V, oe) {
8027
+ constructor(H, oe) {
8034
8028
  R(this, le), R(this, he), R(this, se), R(this, ie), R(this, J), R(this, X), R(this, L), R(this, M), R(this, _), P(this, re, {
8035
8029
  writable: !0,
8036
8030
  value: null
@@ -8089,34 +8083,34 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8089
8083
  }), P(this, d, {
8090
8084
  writable: !0,
8091
8085
  value: null
8092
- }), y(this, d, V), y(this, de, oe), r(this, de)._on("editingaction", r(this, N)), r(this, de)._on("pagechanging", r(this, j));
8086
+ }), y(this, d, H), y(this, de, oe), r(this, de)._on("editingaction", r(this, N)), r(this, de)._on("pagechanging", r(this, j));
8093
8087
  }
8094
8088
  destroy() {
8095
8089
  O(this, M, we).call(this), r(this, de)._off("editingaction", r(this, N)), r(this, de)._off("pagechanging", r(this, j));
8096
- for (const V of r(this, z).values())
8097
- V.destroy();
8090
+ for (const H of r(this, z).values())
8091
+ H.destroy();
8098
8092
  r(this, z).clear(), r(this, Z).clear(), y(this, re, null), r(this, C).clear(), r(this, $).destroy(), r(this, U).destroy();
8099
8093
  }
8100
- onPageChanging(V) {
8094
+ onPageChanging(H) {
8101
8095
  let {
8102
8096
  pageNumber: oe
8103
- } = V;
8097
+ } = H;
8104
8098
  y(this, I, oe - 1);
8105
8099
  }
8106
8100
  focusMainContainer() {
8107
8101
  r(this, d).focus();
8108
8102
  }
8109
- keydown(V) {
8103
+ keydown(H) {
8110
8104
  var oe;
8111
- (oe = this.getActive()) !== null && oe !== void 0 && oe.shouldGetKeyboardEvents() || fe._keyboardManager.exec(this, V);
8105
+ (oe = this.getActive()) !== null && oe !== void 0 && oe.shouldGetKeyboardEvents() || fe._keyboardManager.exec(this, H);
8112
8106
  }
8113
- onEditingAction(V) {
8114
- ["undo", "redo", "cut", "copy", "paste", "delete", "selectAll"].includes(V.name) && this[V.name]();
8107
+ onEditingAction(H) {
8108
+ ["undo", "redo", "cut", "copy", "paste", "delete", "selectAll"].includes(H.name) && this[H.name]();
8115
8109
  }
8116
- setEditingState(V) {
8117
- V ? (O(this, _, ve).call(this), O(this, L, Ce).call(this, {
8110
+ setEditingState(H) {
8111
+ H ? (O(this, _, ve).call(this), O(this, L, Ce).call(this, {
8118
8112
  isEditing: r(this, Y) !== o.AnnotationEditorType.NONE,
8119
- isEmpty: O(this, he, H).call(this),
8113
+ isEmpty: O(this, he, V).call(this),
8120
8114
  hasSomethingToUndo: r(this, U).hasSomethingToUndo(),
8121
8115
  hasSomethingToRedo: r(this, U).hasSomethingToRedo(),
8122
8116
  hasSelectedEditor: !1,
@@ -8125,82 +8119,82 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8125
8119
  isEditing: !1
8126
8120
  }));
8127
8121
  }
8128
- registerEditorTypes(V) {
8129
- y(this, ee, V);
8122
+ registerEditorTypes(H) {
8123
+ y(this, ee, H);
8130
8124
  for (const oe of r(this, ee))
8131
8125
  O(this, X, Oe).call(this, oe.defaultPropertiesToUpdate);
8132
8126
  }
8133
8127
  getId() {
8134
8128
  return r(this, ye).getId();
8135
8129
  }
8136
- addLayer(V) {
8137
- r(this, z).set(V.pageIndex, V), r(this, Se) ? V.enable() : V.disable();
8130
+ addLayer(H) {
8131
+ r(this, z).set(H.pageIndex, H), r(this, Se) ? H.enable() : H.disable();
8138
8132
  }
8139
- removeLayer(V) {
8140
- r(this, z).delete(V.pageIndex);
8133
+ removeLayer(H) {
8134
+ r(this, z).delete(H.pageIndex);
8141
8135
  }
8142
- updateMode(V) {
8143
- if (y(this, Y, V), V === o.AnnotationEditorType.NONE)
8136
+ updateMode(H) {
8137
+ if (y(this, Y, H), H === o.AnnotationEditorType.NONE)
8144
8138
  this.setEditingState(!1), O(this, ie, Fe).call(this);
8145
8139
  else {
8146
8140
  this.setEditingState(!0), O(this, J, ze).call(this);
8147
8141
  for (const oe of r(this, z).values())
8148
- oe.updateMode(V);
8142
+ oe.updateMode(H);
8149
8143
  }
8150
8144
  }
8151
- updateToolbar(V) {
8152
- V !== r(this, Y) && r(this, de).dispatch("switchannotationeditormode", {
8145
+ updateToolbar(H) {
8146
+ H !== r(this, Y) && r(this, de).dispatch("switchannotationeditormode", {
8153
8147
  source: this,
8154
- mode: V
8148
+ mode: H
8155
8149
  });
8156
8150
  }
8157
- updateParams(V, oe) {
8151
+ updateParams(H, oe) {
8158
8152
  for (const _e of r(this, C))
8159
- _e.updateParams(V, oe);
8153
+ _e.updateParams(H, oe);
8160
8154
  for (const _e of r(this, ee))
8161
- _e.updateDefaultParams(V, oe);
8155
+ _e.updateDefaultParams(H, oe);
8162
8156
  }
8163
- getEditors(V) {
8157
+ getEditors(H) {
8164
8158
  const oe = [];
8165
8159
  for (const _e of r(this, Z).values())
8166
- _e.pageIndex === V && oe.push(_e);
8160
+ _e.pageIndex === H && oe.push(_e);
8167
8161
  return oe;
8168
8162
  }
8169
- getEditor(V) {
8170
- return r(this, Z).get(V);
8163
+ getEditor(H) {
8164
+ return r(this, Z).get(H);
8171
8165
  }
8172
- addEditor(V) {
8173
- r(this, Z).set(V.id, V);
8166
+ addEditor(H) {
8167
+ r(this, Z).set(H.id, H);
8174
8168
  }
8175
- removeEditor(V) {
8176
- r(this, Z).delete(V.id), this.unselect(V);
8169
+ removeEditor(H) {
8170
+ r(this, Z).delete(H.id), this.unselect(H);
8177
8171
  }
8178
- setActiveEditor(V) {
8179
- r(this, re) !== V && (y(this, re, V), V && O(this, X, Oe).call(this, V.propertiesToUpdate));
8172
+ setActiveEditor(H) {
8173
+ r(this, re) !== H && (y(this, re, H), H && O(this, X, Oe).call(this, H.propertiesToUpdate));
8180
8174
  }
8181
- toggleSelected(V) {
8182
- if (r(this, C).has(V)) {
8183
- r(this, C).delete(V), V.unselect(), O(this, L, Ce).call(this, {
8175
+ toggleSelected(H) {
8176
+ if (r(this, C).has(H)) {
8177
+ r(this, C).delete(H), H.unselect(), O(this, L, Ce).call(this, {
8184
8178
  hasSelectedEditor: this.hasSelection
8185
8179
  });
8186
8180
  return;
8187
8181
  }
8188
- r(this, C).add(V), V.select(), O(this, X, Oe).call(this, V.propertiesToUpdate), O(this, L, Ce).call(this, {
8182
+ r(this, C).add(H), H.select(), O(this, X, Oe).call(this, H.propertiesToUpdate), O(this, L, Ce).call(this, {
8189
8183
  hasSelectedEditor: !0
8190
8184
  });
8191
8185
  }
8192
- setSelected(V) {
8186
+ setSelected(H) {
8193
8187
  for (const oe of r(this, C))
8194
- oe !== V && oe.unselect();
8195
- r(this, C).clear(), r(this, C).add(V), V.select(), O(this, X, Oe).call(this, V.propertiesToUpdate), O(this, L, Ce).call(this, {
8188
+ oe !== H && oe.unselect();
8189
+ r(this, C).clear(), r(this, C).add(H), H.select(), O(this, X, Oe).call(this, H.propertiesToUpdate), O(this, L, Ce).call(this, {
8196
8190
  hasSelectedEditor: !0
8197
8191
  });
8198
8192
  }
8199
- isSelected(V) {
8200
- return r(this, C).has(V);
8193
+ isSelected(H) {
8194
+ return r(this, C).has(H);
8201
8195
  }
8202
- unselect(V) {
8203
- V.unselect(), r(this, C).delete(V), O(this, L, Ce).call(this, {
8196
+ unselect(H) {
8197
+ H.unselect(), r(this, C).delete(H), O(this, L, Ce).call(this, {
8204
8198
  hasSelectedEditor: this.hasSelection
8205
8199
  });
8206
8200
  }
@@ -8211,31 +8205,31 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8211
8205
  r(this, U).undo(), O(this, L, Ce).call(this, {
8212
8206
  hasSomethingToUndo: r(this, U).hasSomethingToUndo(),
8213
8207
  hasSomethingToRedo: !0,
8214
- isEmpty: O(this, he, H).call(this)
8208
+ isEmpty: O(this, he, V).call(this)
8215
8209
  });
8216
8210
  }
8217
8211
  redo() {
8218
8212
  r(this, U).redo(), O(this, L, Ce).call(this, {
8219
8213
  hasSomethingToUndo: !0,
8220
8214
  hasSomethingToRedo: r(this, U).hasSomethingToRedo(),
8221
- isEmpty: O(this, he, H).call(this)
8215
+ isEmpty: O(this, he, V).call(this)
8222
8216
  });
8223
8217
  }
8224
- addCommands(V) {
8225
- r(this, U).add(V), O(this, L, Ce).call(this, {
8218
+ addCommands(H) {
8219
+ r(this, U).add(H), O(this, L, Ce).call(this, {
8226
8220
  hasSomethingToUndo: !0,
8227
8221
  hasSomethingToRedo: !1,
8228
- isEmpty: O(this, he, H).call(this)
8222
+ isEmpty: O(this, he, V).call(this)
8229
8223
  });
8230
8224
  }
8231
8225
  delete() {
8232
8226
  if (r(this, re) && r(this, re).commitOrRemove(), !this.hasSelection)
8233
8227
  return;
8234
- const V = [...r(this, C)], oe = () => {
8235
- for (const ke of V)
8228
+ const H = [...r(this, C)], oe = () => {
8229
+ for (const ke of H)
8236
8230
  ke.remove();
8237
8231
  }, _e = () => {
8238
- for (const ke of V)
8232
+ for (const ke of H)
8239
8233
  O(this, se, Pe).call(this, ke);
8240
8234
  };
8241
8235
  this.addCommands({
@@ -8246,12 +8240,12 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8246
8240
  }
8247
8241
  copy() {
8248
8242
  if (r(this, re) && r(this, re).commitOrRemove(), this.hasSelection) {
8249
- const V = [];
8243
+ const H = [];
8250
8244
  for (const oe of r(this, C))
8251
- oe.isEmpty() || V.push(oe);
8252
- if (V.length === 0)
8245
+ oe.isEmpty() || H.push(oe);
8246
+ if (H.length === 0)
8253
8247
  return;
8254
- r(this, $).copy(V), O(this, L, Ce).call(this, {
8248
+ r(this, $).copy(H), O(this, L, Ce).call(this, {
8255
8249
  hasEmptyClipboard: !1
8256
8250
  });
8257
8251
  }
@@ -8263,7 +8257,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8263
8257
  if (r(this, $).isEmpty())
8264
8258
  return;
8265
8259
  this.unselectAll();
8266
- const V = r(this, z).get(r(this, I)), oe = r(this, $).paste().map((ce) => V.deserialize(ce)), _e = () => {
8260
+ const H = r(this, z).get(r(this, I)), oe = r(this, $).paste().map((ce) => H.deserialize(ce)), _e = () => {
8267
8261
  for (const ce of oe)
8268
8262
  O(this, se, Pe).call(this, ce);
8269
8263
  O(this, le, Q).call(this, oe);
@@ -8278,8 +8272,8 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8278
8272
  });
8279
8273
  }
8280
8274
  selectAll() {
8281
- for (const V of r(this, C))
8282
- V.commit();
8275
+ for (const H of r(this, C))
8276
+ H.commit();
8283
8277
  O(this, le, Q).call(this, r(this, Z).values());
8284
8278
  }
8285
8279
  unselectAll() {
@@ -8288,15 +8282,15 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8288
8282
  return;
8289
8283
  }
8290
8284
  if (O(this, le, Q).size !== 0) {
8291
- for (const V of r(this, C))
8292
- V.unselect();
8285
+ for (const H of r(this, C))
8286
+ H.unselect();
8293
8287
  r(this, C).clear(), O(this, L, Ce).call(this, {
8294
8288
  hasSelectedEditor: !1
8295
8289
  });
8296
8290
  }
8297
8291
  }
8298
- isActive(V) {
8299
- return r(this, re) === V;
8292
+ isActive(H) {
8293
+ return r(this, re) === H;
8300
8294
  }
8301
8295
  getActive() {
8302
8296
  return r(this, re);
@@ -8342,10 +8336,10 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8342
8336
  }
8343
8337
  }
8344
8338
  function Pe(G) {
8345
- const V = r(this, z).get(G.pageIndex);
8346
- V ? V.addOrRebuild(G) : this.addEditor(G);
8339
+ const H = r(this, z).get(G.pageIndex);
8340
+ H ? H.addOrRebuild(G) : this.addEditor(G);
8347
8341
  }
8348
- function H() {
8342
+ function V() {
8349
8343
  if (r(this, Z).size === 0)
8350
8344
  return !0;
8351
8345
  if (r(this, Z).size === 1)
@@ -8355,8 +8349,8 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
8355
8349
  }
8356
8350
  function Q(G) {
8357
8351
  r(this, C).clear();
8358
- for (const V of G)
8359
- V.isEmpty() || (r(this, C).add(V), V.select());
8352
+ for (const H of G)
8353
+ H.isEmpty() || (r(this, C).add(H), H.select());
8360
8354
  O(this, L, Ce).call(this, {
8361
8355
  hasSelectedEditor: !0
8362
8356
  });
@@ -9123,11 +9117,11 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
9123
9117
  function u(Y, C, S, N, j, s, d, _, M, L) {
9124
9118
  const [X, J, ie, se, he, le] = (0, o.getCurrentTransform)(Y);
9125
9119
  if (J === 0 && ie === 0) {
9126
- const we = d * X + he, Ce = Math.round(we), Oe = _ * se + le, ze = Math.round(Oe), Fe = (d + M) * X + he, Pe = Math.abs(Math.round(Fe) - Ce) || 1, H = (_ + L) * se + le, Q = Math.abs(Math.round(H) - ze) || 1;
9120
+ const we = d * X + he, Ce = Math.round(we), Oe = _ * se + le, ze = Math.round(Oe), Fe = (d + M) * X + he, Pe = Math.abs(Math.round(Fe) - Ce) || 1, V = (_ + L) * se + le, Q = Math.abs(Math.round(V) - ze) || 1;
9127
9121
  return Y.setTransform(Math.sign(X), 0, 0, Math.sign(se), Ce, ze), Y.drawImage(C, S, N, j, s, 0, 0, Pe, Q), Y.setTransform(X, J, ie, se, he, le), [Pe, Q];
9128
9122
  }
9129
9123
  if (X === 0 && se === 0) {
9130
- const we = _ * ie + he, Ce = Math.round(we), Oe = d * J + le, ze = Math.round(Oe), Fe = (_ + L) * ie + he, Pe = Math.abs(Math.round(Fe) - Ce) || 1, H = (d + M) * J + le, Q = Math.abs(Math.round(H) - ze) || 1;
9124
+ const we = _ * ie + he, Ce = Math.round(we), Oe = d * J + le, ze = Math.round(Oe), Fe = (_ + L) * ie + he, Pe = Math.abs(Math.round(Fe) - Ce) || 1, V = (d + M) * J + le, Q = Math.abs(Math.round(V) - ze) || 1;
9131
9125
  return Y.setTransform(0, Math.sign(J), Math.sign(ie), 0, Ce, ze), Y.drawImage(C, S, N, j, s, 0, 0, Q, Pe), Y.setTransform(X, J, ie, se, he, le), [Q, Pe];
9132
9126
  }
9133
9127
  Y.drawImage(C, S, N, j, s, d, _, M, L);
@@ -9264,13 +9258,13 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
9264
9258
  break;
9265
9259
  }
9266
9260
  if (C.kind === c.ImageKind.GRAYSCALE_1BPP) {
9267
- const ze = J.byteLength, Fe = new Uint32Array(ie.buffer, 0, ie.byteLength >> 2), Pe = Fe.length, H = j + 7 >> 3;
9261
+ const ze = J.byteLength, Fe = new Uint32Array(ie.buffer, 0, ie.byteLength >> 2), Pe = Fe.length, V = j + 7 >> 3;
9268
9262
  let Q = 4294967295, G = c.FeatureTest.isLittleEndian ? 4278190080 : 255;
9269
9263
  for (Oe && Oe[0] === 255 && Oe[255] === 0 && ([Q, G] = [G, Q]), se = 0; se < _; se++) {
9270
9264
  for (le = se < d ? F : s, X = 0, he = 0; he < le; he++) {
9271
- const V = ze - L;
9265
+ const H = ze - L;
9272
9266
  let oe = 0;
9273
- const _e = V > H ? j : V * 8 - 7, ke = _e & -8;
9267
+ const _e = H > V ? j : H * 8 - 7, ke = _e & -8;
9274
9268
  let ce = 0, Re = 0;
9275
9269
  for (; oe < ke; oe += 8)
9276
9270
  Re = J[L++], Fe[X++] = Re & 128 ? Q : G, Fe[X++] = Re & 64 ? Q : G, Fe[X++] = Re & 32 ? Q : G, Fe[X++] = Re & 16 ? Q : G, Fe[X++] = Re & 8 ? Q : G, Fe[X++] = Re & 4 ? Q : G, Fe[X++] = Re & 2 ? Q : G, Fe[X++] = Re & 1 ? Q : G;
@@ -9485,15 +9479,15 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
9485
9479
  } = C, s = this.current.fillColor, d = this.current.patternFill, _ = (0, o.getCurrentTransform)(S);
9486
9480
  let M, L, X, J;
9487
9481
  if ((C.bitmap || C.data) && C.count > 1) {
9488
- const Pe = C.bitmap || C.data.buffer, H = _.slice(0, 4);
9489
- L = JSON.stringify(d ? H : [H, s]), M = this._cachedBitmapsMap.get(Pe), M || (M = /* @__PURE__ */ new Map(), this._cachedBitmapsMap.set(Pe, M));
9482
+ const Pe = C.bitmap || C.data.buffer, V = _.slice(0, 4);
9483
+ L = JSON.stringify(d ? V : [V, s]), M = this._cachedBitmapsMap.get(Pe), M || (M = /* @__PURE__ */ new Map(), this._cachedBitmapsMap.set(Pe, M));
9490
9484
  const Q = M.get(L);
9491
9485
  if (Q && !d) {
9492
- const G = Math.round(Math.min(_[0], _[2]) + _[4]), V = Math.round(Math.min(_[1], _[3]) + _[5]);
9486
+ const G = Math.round(Math.min(_[0], _[2]) + _[4]), H = Math.round(Math.min(_[1], _[3]) + _[5]);
9493
9487
  return {
9494
9488
  canvas: Q,
9495
9489
  offsetX: G,
9496
- offsetY: V
9490
+ offsetY: H
9497
9491
  };
9498
9492
  }
9499
9493
  X = Q;
@@ -9801,31 +9795,31 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
9801
9795
  continue;
9802
9796
  }
9803
9797
  let Pe = !1;
9804
- const H = (Fe.isSpace ? M : 0) + _, Q = Fe.fontChar, G = Fe.accent;
9805
- let V, oe, _e = Fe.width;
9798
+ const V = (Fe.isSpace ? M : 0) + _, Q = Fe.fontChar, G = Fe.accent;
9799
+ let H, oe, _e = Fe.width;
9806
9800
  if (ie) {
9807
9801
  const ce = Fe.vmetric || he, Re = -(Fe.vmetric ? ce[1] : _e * 0.5) * le, Be = ce[2] * le;
9808
- _e = ce ? -ce[0] : _e, V = Re / d, oe = (Oe + Be) / d;
9802
+ _e = ce ? -ce[0] : _e, H = Re / d, oe = (Oe + Be) / d;
9809
9803
  } else
9810
- V = Oe / d, oe = 0;
9804
+ H = Oe / d, oe = 0;
9811
9805
  if (N.remeasure && _e > 0) {
9812
9806
  const ce = s.measureText(Q).width * 1e3 / j * d;
9813
9807
  if (_e < ce && this.isFontSubpixelAAEnabled) {
9814
9808
  const Re = _e / ce;
9815
- Pe = !0, s.save(), s.scale(Re, 1), V /= Re;
9809
+ Pe = !0, s.save(), s.scale(Re, 1), H /= Re;
9816
9810
  } else
9817
- _e !== ce && (V += (_e - ce) / 2e3 * j / d);
9811
+ _e !== ce && (H += (_e - ce) / 2e3 * j / d);
9818
9812
  }
9819
9813
  if (this.contentVisible && (Fe.isInFont || N.missingFile)) {
9820
9814
  if (fe && !G)
9821
- s.fillText(Q, V, oe);
9822
- else if (this.paintChar(Q, V, oe, ve), G) {
9823
- const ce = V + j * G.offset.x / d, Re = oe - j * G.offset.y / d;
9815
+ s.fillText(Q, H, oe);
9816
+ else if (this.paintChar(Q, H, oe, ve), G) {
9817
+ const ce = H + j * G.offset.x / d, Re = oe - j * G.offset.y / d;
9824
9818
  this.paintChar(G.fontChar, ce, Re, ve);
9825
9819
  }
9826
9820
  }
9827
9821
  let ke;
9828
- ie ? ke = _e * le - H * L : ke = _e * le + H * L, Oe += ke, Pe && s.restore();
9822
+ ie ? ke = _e * le - V * L : ke = _e * le + V * L, Oe += ke, Pe && s.restore();
9829
9823
  }
9830
9824
  ie ? S.y -= Oe : S.x += Oe * X, s.restore(), this.compose();
9831
9825
  }
@@ -11293,7 +11287,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
11293
11287
  var o = n(134);
11294
11288
  const c = function(P) {
11295
11289
  return new Promise((m, y) => {
11296
- Kt.readFile(P, (r, l) => {
11290
+ zt.readFile(P, (r, l) => {
11297
11291
  if (r || !l) {
11298
11292
  y(new Error(r));
11299
11293
  return;
@@ -11304,7 +11298,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
11304
11298
  };
11305
11299
  class T extends o.BaseCanvasFactory {
11306
11300
  _createCanvas(m, y) {
11307
- return Kt.createCanvas(m, y);
11301
+ return zt.createCanvas(m, y);
11308
11302
  }
11309
11303
  }
11310
11304
  v.NodeCanvasFactory = T;
@@ -12034,7 +12028,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
12034
12028
  return [[o.AnnotationEditorParamsType.INK_THICKNESS, this.thickness || fe._defaultThickness], [o.AnnotationEditorParamsType.INK_COLOR, this.color || fe._defaultColor || c.AnnotationEditor._defaultLineColor], [o.AnnotationEditorParamsType.INK_OPACITY, Math.round(100 * ((ue = this.opacity) !== null && ue !== void 0 ? ue : fe._defaultOpacity))]];
12035
12029
  }
12036
12030
  rebuild() {
12037
- super.rebuild(), this.div !== null && (this.canvas || (p(this, j, V).call(this), p(this, s, oe).call(this)), this.isAttachedToDOM || (this.parent.add(this), p(this, d, _e).call(this)), p(this, he, We).call(this));
12031
+ super.rebuild(), this.div !== null && (this.canvas || (p(this, j, H).call(this), p(this, s, oe).call(this)), this.isAttachedToDOM || (this.parent.add(this), p(this, d, _e).call(this)), p(this, he, We).call(this));
12038
12032
  }
12039
12033
  remove() {
12040
12034
  this.canvas !== null && (this.isEmpty() || this.commit(), this.canvas.width = this.canvas.height = 0, this.canvas.remove(), this.canvas = null, h(this, re).disconnect(), l(this, re, null), super.remove());
@@ -12073,14 +12067,14 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
12073
12067
  if (this.div)
12074
12068
  return this.div;
12075
12069
  let ue, xe;
12076
- this.width && (ue = this.x, xe = this.y), super.render(), fe._l10nPromise.get("editor_ink_aria_label").then((He) => {
12070
+ this.width && (ue = this.x, xe = this.y), super.render(), fe._l10nPromise.get("editor_ink_aria_label").then((Ve) => {
12077
12071
  var je;
12078
- return (je = this.div) === null || je === void 0 ? void 0 : je.setAttribute("aria-label", He);
12072
+ return (je = this.div) === null || je === void 0 ? void 0 : je.setAttribute("aria-label", Ve);
12079
12073
  });
12080
12074
  const [Ne, $e, Ge, Xe] = p(this, de, Oe).call(this);
12081
- if (this.setAt(Ne, $e, 0, 0), this.setDims(Ge, Xe), p(this, j, V).call(this), this.width) {
12082
- const [He, je] = this.parent.viewportBaseDimensions;
12083
- this.setAt(ue * He, xe * je, this.width * He, this.height * je), l(this, ne, !0), p(this, d, _e).call(this), this.setDims(this.width * He, this.height * je), p(this, S, Q).call(this), p(this, le, Ve).call(this), this.div.classList.add("disabled");
12075
+ if (this.setAt(Ne, $e, 0, 0), this.setDims(Ge, Xe), p(this, j, H).call(this), this.width) {
12076
+ const [Ve, je] = this.parent.viewportBaseDimensions;
12077
+ this.setAt(ue * Ve, xe * je, this.width * Ve, this.height * je), l(this, ne, !0), p(this, d, _e).call(this), this.setDims(this.width * Ve, this.height * je), p(this, S, Q).call(this), p(this, le, He).call(this), this.div.classList.add("disabled");
12084
12078
  } else
12085
12079
  this.div.classList.add("editing"), this.enableEditMode();
12086
12080
  return p(this, s, oe).call(this), this.div;
@@ -12096,23 +12090,23 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
12096
12090
  static deserialize(ue, xe) {
12097
12091
  const Ne = super.deserialize(ue, xe);
12098
12092
  Ne.thickness = ue.thickness, Ne.color = o.Util.makeHexColor(...ue.color), Ne.opacity = ue.opacity;
12099
- const [$e, Ge] = xe.pageDimensions, Xe = Ne.width * $e, He = Ne.height * Ge, je = xe.scaleFactor, Ze = ue.thickness / 2;
12100
- l(Ne, u, Xe / He), l(Ne, k, !0), l(Ne, Z, Math.round(Xe)), l(Ne, z, Math.round(He));
12093
+ const [$e, Ge] = xe.pageDimensions, Xe = Ne.width * $e, Ve = Ne.height * Ge, je = xe.scaleFactor, Ze = ue.thickness / 2;
12094
+ l(Ne, u, Xe / Ve), l(Ne, k, !0), l(Ne, Z, Math.round(Xe)), l(Ne, z, Math.round(Ve));
12101
12095
  for (const {
12102
12096
  bezier: tt
12103
12097
  } of ue.paths) {
12104
12098
  const at = [];
12105
12099
  Ne.paths.push(at);
12106
- let ut = je * (tt[0] - Ze), nt = je * (He - tt[1] - Ze);
12100
+ let ut = je * (tt[0] - Ze), nt = je * (Ve - tt[1] - Ze);
12107
12101
  for (let st = 2, gt = tt.length; st < gt; st += 6) {
12108
- const bt = je * (tt[st] - Ze), pt = je * (He - tt[st + 1] - Ze), xt = je * (tt[st + 2] - Ze), Lt = je * (He - tt[st + 3] - Ze), At = je * (tt[st + 4] - Ze), wt = je * (He - tt[st + 5] - Ze);
12102
+ const bt = je * (tt[st] - Ze), pt = je * (Ve - tt[st + 1] - Ze), xt = je * (tt[st + 2] - Ze), Lt = je * (Ve - tt[st + 3] - Ze), At = je * (tt[st + 4] - Ze), wt = je * (Ve - tt[st + 5] - Ze);
12109
12103
  at.push([[ut, nt], [bt, pt], [xt, Lt], [At, wt]]), ut = At, nt = wt;
12110
12104
  }
12111
12105
  const ht = D(this, fe, Re).call(this, at);
12112
12106
  Ne.bezierPath2D.push(ht);
12113
12107
  }
12114
12108
  const ct = p(Ne, ie, ae).call(Ne);
12115
- return l(Ne, a, Math.max(b, ct[2] - ct[0])), l(Ne, t, Math.max(b, ct[3] - ct[1])), p(Ne, _, ke).call(Ne, Xe, He), Ne;
12109
+ return l(Ne, a, Math.max(b, ct[2] - ct[0])), l(Ne, t, Math.max(b, ct[3] - ct[1])), p(Ne, _, ke).call(Ne, Xe, Ve), Ne;
12116
12110
  }
12117
12111
  serialize() {
12118
12112
  if (this.isEmpty())
@@ -12210,7 +12204,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
12210
12204
  const [xe, Ne] = this.currentPath.at(-1);
12211
12205
  me === xe && ue === Ne || (this.currentPath.push([me, ue]), l(this, q, [me, ue]));
12212
12206
  }
12213
- function H(me, ue) {
12207
+ function V(me, ue) {
12214
12208
  this.ctx.closePath(), l(this, $, null), me = Math.min(Math.max(me, 0), this.canvas.width), ue = Math.min(Math.max(ue, 0), this.canvas.height);
12215
12209
  const [xe, Ne] = this.currentPath.at(-1);
12216
12210
  (me !== xe || ue !== Ne) && this.currentPath.push([me, ue]);
@@ -12225,12 +12219,12 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
12225
12219
  this.currentPath.length = 0;
12226
12220
  const Xe = () => {
12227
12221
  this.paths.push($e), this.bezierPath2D.push(Ge), this.rebuild();
12228
- }, He = () => {
12229
- this.paths.pop(), this.bezierPath2D.pop(), this.paths.length === 0 ? this.remove() : (this.canvas || (p(this, j, V).call(this), p(this, s, oe).call(this)), p(this, he, We).call(this));
12222
+ }, Ve = () => {
12223
+ this.paths.pop(), this.bezierPath2D.pop(), this.paths.length === 0 ? this.remove() : (this.canvas || (p(this, j, H).call(this), p(this, s, oe).call(this)), p(this, he, We).call(this));
12230
12224
  };
12231
12225
  this.parent.addCommands({
12232
12226
  cmd: Xe,
12233
- undo: He,
12227
+ undo: Ve,
12234
12228
  mustExec: !0
12235
12229
  });
12236
12230
  }
@@ -12249,9 +12243,9 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
12249
12243
  ue.stroke(xe);
12250
12244
  }
12251
12245
  function G(me) {
12252
- p(this, C, H).call(this, me.offsetX, me.offsetY), this.canvas.removeEventListener("pointerleave", h(this, g)), this.canvas.removeEventListener("pointermove", h(this, f)), this.parent.addToAnnotationStorage(this);
12246
+ p(this, C, V).call(this, me.offsetX, me.offsetY), this.canvas.removeEventListener("pointerleave", h(this, g)), this.canvas.removeEventListener("pointermove", h(this, f)), this.parent.addToAnnotationStorage(this);
12253
12247
  }
12254
- function V() {
12248
+ function H() {
12255
12249
  this.canvas = document.createElement("canvas"), this.canvas.width = this.canvas.height = 0, this.canvas.className = "inkEditorCanvas", fe._l10nPromise.get("editor_ink_canvas_aria_label").then((me) => {
12256
12250
  var ue;
12257
12251
  return (ue = this.canvas) === null || ue === void 0 ? void 0 : ue.setAttribute("aria-label", me);
@@ -12280,49 +12274,49 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
12280
12274
  function Re(me) {
12281
12275
  const ue = new Path2D();
12282
12276
  for (let xe = 0, Ne = me.length; xe < Ne; xe++) {
12283
- const [$e, Ge, Xe, He] = me[xe];
12284
- xe === 0 && ue.moveTo(...$e), ue.bezierCurveTo(Ge[0], Ge[1], Xe[0], Xe[1], He[0], He[1]);
12277
+ const [$e, Ge, Xe, Ve] = me[xe];
12278
+ xe === 0 && ue.moveTo(...$e), ue.bezierCurveTo(Ge[0], Ge[1], Xe[0], Xe[1], Ve[0], Ve[1]);
12285
12279
  }
12286
12280
  return ue;
12287
12281
  }
12288
12282
  function Be(me, ue, xe, Ne) {
12289
12283
  const Ge = [], Xe = this.thickness / 2;
12290
- let He, je;
12284
+ let Ve, je;
12291
12285
  for (const Ze of this.paths) {
12292
- He = [], je = [];
12286
+ Ve = [], je = [];
12293
12287
  for (let ct = 0, tt = Ze.length; ct < tt; ct++) {
12294
12288
  const [at, ut, nt, ht] = Ze[ct], st = me * (at[0] + ue) + Xe, gt = Ne - me * (at[1] + xe) - Xe, bt = me * (ut[0] + ue) + Xe, pt = Ne - me * (ut[1] + xe) - Xe, xt = me * (nt[0] + ue) + Xe, Lt = Ne - me * (nt[1] + xe) - Xe, At = me * (ht[0] + ue) + Xe, wt = Ne - me * (ht[1] + xe) - Xe;
12295
- ct === 0 && (He.push(st, gt), je.push(st, gt)), He.push(bt, pt, xt, Lt, At, wt), p(this, X, ge).call(this, st, gt, bt, pt, xt, Lt, At, wt, 4, je);
12289
+ ct === 0 && (Ve.push(st, gt), je.push(st, gt)), Ve.push(bt, pt, xt, Lt, At, wt), p(this, X, ge).call(this, st, gt, bt, pt, xt, Lt, At, wt, 4, je);
12296
12290
  }
12297
12291
  Ge.push({
12298
- bezier: He,
12292
+ bezier: Ve,
12299
12293
  points: je
12300
12294
  });
12301
12295
  }
12302
12296
  return Ge;
12303
12297
  }
12304
- function ge(me, ue, xe, Ne, $e, Ge, Xe, He, je, Ze) {
12305
- if (p(this, J, te).call(this, me, ue, xe, Ne, $e, Ge, Xe, He)) {
12306
- Ze.push(Xe, He);
12298
+ function ge(me, ue, xe, Ne, $e, Ge, Xe, Ve, je, Ze) {
12299
+ if (p(this, J, te).call(this, me, ue, xe, Ne, $e, Ge, Xe, Ve)) {
12300
+ Ze.push(Xe, Ve);
12307
12301
  return;
12308
12302
  }
12309
12303
  for (let ct = 1; ct < je - 1; ct++) {
12310
12304
  const tt = ct / je, at = 1 - tt;
12311
12305
  let ut = tt * me + at * xe, nt = tt * ue + at * Ne, ht = tt * xe + at * $e, st = tt * Ne + at * Ge;
12312
- const gt = tt * $e + at * Xe, bt = tt * Ge + at * He;
12306
+ const gt = tt * $e + at * Xe, bt = tt * Ge + at * Ve;
12313
12307
  ut = tt * ut + at * ht, nt = tt * nt + at * st, ht = tt * ht + at * gt, st = tt * st + at * bt, ut = tt * ut + at * ht, nt = tt * nt + at * st, Ze.push(ut, nt);
12314
12308
  }
12315
- Ze.push(Xe, He);
12309
+ Ze.push(Xe, Ve);
12316
12310
  }
12317
- function te(me, ue, xe, Ne, $e, Ge, Xe, He) {
12318
- const Ze = (3 * xe - 2 * me - Xe) ** 2, ct = (3 * Ne - 2 * ue - He) ** 2, tt = (3 * $e - me - 2 * Xe) ** 2, at = (3 * Ge - ue - 2 * He) ** 2;
12311
+ function te(me, ue, xe, Ne, $e, Ge, Xe, Ve) {
12312
+ const Ze = (3 * xe - 2 * me - Xe) ** 2, ct = (3 * Ne - 2 * ue - Ve) ** 2, tt = (3 * $e - me - 2 * Xe) ** 2, at = (3 * Ge - ue - 2 * Ve) ** 2;
12319
12313
  return Math.max(Ze, tt) + Math.max(ct, at) <= 10;
12320
12314
  }
12321
12315
  function ae() {
12322
12316
  let me = 1 / 0, ue = -1 / 0, xe = 1 / 0, Ne = -1 / 0;
12323
12317
  for (const $e of this.paths)
12324
- for (const [Ge, Xe, He, je] of $e) {
12325
- const Ze = o.Util.bezierBoundingBox(...Ge, ...Xe, ...He, ...je);
12318
+ for (const [Ge, Xe, Ve, je] of $e) {
12319
+ const Ze = o.Util.bezierBoundingBox(...Ge, ...Xe, ...Ve, ...je);
12326
12320
  me = Math.min(me, Ze[0]), xe = Math.min(xe, Ze[1]), ue = Math.max(ue, Ze[2]), Ne = Math.max(Ne, Ze[3]);
12327
12321
  }
12328
12322
  return [me, xe, ue, Ne];
@@ -12341,13 +12335,13 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
12341
12335
  const ue = p(this, ie, ae).call(this), xe = p(this, se, be).call(this);
12342
12336
  l(this, a, Math.max(b, ue[2] - ue[0])), l(this, t, Math.max(b, ue[3] - ue[1]));
12343
12337
  const Ne = Math.ceil(xe + h(this, a) * this.scaleFactor), $e = Math.ceil(xe + h(this, t) * this.scaleFactor), [Ge, Xe] = this.parent.viewportBaseDimensions;
12344
- this.width = Ne / Ge, this.height = $e / Xe, l(this, u, Ne / $e), p(this, le, Ve).call(this);
12345
- const He = this.translationX, je = this.translationY;
12338
+ this.width = Ne / Ge, this.height = $e / Xe, l(this, u, Ne / $e), p(this, le, He).call(this);
12339
+ const Ve = this.translationX, je = this.translationY;
12346
12340
  this.translationX = -ue[0], this.translationY = -ue[1], p(this, d, _e).call(this), p(this, S, Q).call(this), l(this, Z, Ne), l(this, z, $e), this.setDims(Ne, $e);
12347
12341
  const Ze = me ? xe / this.scaleFactor / 2 : 0;
12348
- this.translate(He - this.translationX - Ze, je - this.translationY - Ze);
12342
+ this.translate(Ve - this.translationX - Ze, je - this.translationY - Ze);
12349
12343
  }
12350
- function Ve() {
12344
+ function He() {
12351
12345
  const {
12352
12346
  style: me
12353
12347
  } = this.div;
@@ -13174,13 +13168,13 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
13174
13168
  let Fe = Oe, Pe = ze;
13175
13169
  switch (le.inputType) {
13176
13170
  case "deleteWordBackward": {
13177
- const H = Ce.substring(0, Oe).match(/\w*[^\w]*$/);
13178
- H && (Fe -= H[0].length);
13171
+ const V = Ce.substring(0, Oe).match(/\w*[^\w]*$/);
13172
+ V && (Fe -= V[0].length);
13179
13173
  break;
13180
13174
  }
13181
13175
  case "deleteWordForward": {
13182
- const H = Ce.substring(Oe).match(/^[^\w]*\w*/);
13183
- H && (Pe += H[0].length);
13176
+ const V = Ce.substring(Oe).match(/^[^\w]*\w*/);
13177
+ V && (Pe += V[0].length);
13184
13178
  break;
13185
13179
  }
13186
13180
  case "deleteContentBackward":
@@ -14530,7 +14524,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
14530
14524
  try {
14531
14525
  let Z;
14532
14526
  parseInt(process.versions.node) >= 8 ? Z = re : Z = Buffer.from(re);
14533
- const z = require("zlib").deflateSync(Z, {
14527
+ const z = zt.deflateSync(Z, {
14534
14528
  level: 9
14535
14529
  });
14536
14530
  return z instanceof Uint8Array ? z : new Uint8Array(z);
@@ -15180,7 +15174,7 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
15180
15174
  value: !0
15181
15175
  }), v.PDFNodeStream = void 0;
15182
15176
  var o = n(1), c = n(158);
15183
- const T = Kt, R = Kt, O = Kt, P = Kt, m = /^file:\/\/\/[a-zA-Z]:\//;
15177
+ const T = zt, R = zt, O = zt, P = zt, m = /^file:\/\/\/[a-zA-Z]:\//;
15184
15178
  function y(b) {
15185
15179
  const u = P.parse(b);
15186
15180
  return u.protocol === "file:" || u.host ? u : /^[a-z]:[/\\]/i.test(b) ? P.parse(`file:///${b}`) : (u.host || (u.protocol = "file:"), u);
@@ -16168,12 +16162,12 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
16168
16162
  }
16169
16163
  })(), Qe;
16170
16164
  })());
16171
- })(Or);
16172
- const Sa = /* @__PURE__ */ ea(Or.exports), Aa = ":host{position:relative;display:inline-flex;width:100%;height:100%;pointer-events:auto}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__pages{display:grid;grid-template-columns:repeat(2, 1fr);grid-row-gap:var(--s-space-8);grid-column-gap:var(--s-space-8);grid-auto-rows:auto}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__page{margin:0}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__page:nth-child(odd){justify-self:end}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__page:nth-child(even){justify-self:start}:host *{box-sizing:border-box}.file-viewer-pdf__pages{overflow:auto;width:100%;height:100%}@media (min-width: 768px){.file-viewer-pdf__pages{padding:var(--s-space-16)}}.file-viewer-pdf__page{position:relative;margin-right:auto;margin-left:auto;border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:#fff}@media (min-width: 768px){.file-viewer-pdf__page{border:var(--s-border-width-default) solid var(--s-border-default)}.file-viewer-pdf__page:not(:last-of-type){margin-bottom:var(--s-space-8)}}.file-viewer-pdf__page-spinner{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}.file-viewer-pdf__canvas{display:flex;width:100%;height:100%;margin-right:auto;margin-left:auto}.file-viewer-pdf__text-container{position:absolute;overflow:hidden;line-height:1;text-align:initial;-webkit-user-select:none;-moz-user-select:none;user-select:none;inset:0;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.file-viewer-pdf__text-container>*{position:absolute;color:transparent;white-space:pre;cursor:text;transform-origin:0% 0%}.file-viewer-pdf__text-container>*.markedContent{top:0;height:0}.file-viewer-pdf__text-container>*.highlight{margin:-1px;padding:1px;border-radius:4px;background-color:rgba(180, 0, 170, 1)}.file-viewer-pdf__text-container>*.highlight.appended{position:initial}.file-viewer-pdf__text-container>*.highlight.begin{border-radius:4px 0 0 4px}.file-viewer-pdf__text-container>*.highlight.end{border-radius:0 4px 4px 0}.file-viewer-pdf__text-container>*.highlight.middle{border-radius:0}.file-viewer-pdf__text-container>*.highlight.selected{background-color:rgba(0, 100, 0, 1)}.file-viewer-pdf__text-container>*.endOfContent{position:absolute;z-index:-1;top:100%;right:0;bottom:0;left:0;display:block;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.file-viewer-pdf__text-container>*.endOfContent.active{top:0}.file-viewer-pdf__text-container>br::-moz-selection{background:transparent}.file-viewer-pdf__text-container>br::selection{background:transparent}@media (min-width: 768px){.file-viewer-pdf__text-container{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}}.file-viewer-pdf__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-pdf__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}.file-viewer-pdf__pagination{position:absolute;bottom:var(--s-space-16);left:50%;padding:var(--s-space-4) var(--s-space-12);border-radius:var(--s-border-radius-base);color:var(--s-text-on-image);background-color:rgba(0, 0, 0, 0.6);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);transform:translateX(-50%);pointer-events:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-pdf__pagination{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", wa = Aa;
16173
- window.pdf = Sa;
16174
- const _a = class {
16165
+ });
16166
+ const va = /* @__PURE__ */ Ji(Kr), ba = ":host{position:relative;display:inline-flex;width:100%;height:100%;pointer-events:auto}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__pages{display:grid;grid-template-columns:repeat(2, 1fr);grid-row-gap:var(--s-space-8);grid-column-gap:var(--s-space-8);grid-auto-rows:auto}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__page{margin:0}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__page:nth-child(odd){justify-self:end}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__page:nth-child(even){justify-self:start}:host *{box-sizing:border-box}.file-viewer-pdf__pages{overflow:auto;width:100%;height:100%}@media (min-width: 768px){.file-viewer-pdf__pages{padding:var(--s-space-16)}}.file-viewer-pdf__page{position:relative;margin-right:auto;margin-left:auto;border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:#fff}@media (min-width: 768px){.file-viewer-pdf__page{border:var(--s-border-width-default) solid var(--s-border-default)}.file-viewer-pdf__page:not(:last-of-type){margin-bottom:var(--s-space-8)}}.file-viewer-pdf__page-spinner{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}.file-viewer-pdf__canvas{display:flex;width:100%;height:100%;margin-right:auto;margin-left:auto}.file-viewer-pdf__text-container{position:absolute;overflow:hidden;line-height:1;text-align:initial;-webkit-user-select:none;-moz-user-select:none;user-select:none;inset:0;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.file-viewer-pdf__text-container>*{position:absolute;color:transparent;white-space:pre;cursor:text;transform-origin:0% 0%}.file-viewer-pdf__text-container>*.markedContent{top:0;height:0}.file-viewer-pdf__text-container>*.highlight{margin:-1px;padding:1px;border-radius:4px;background-color:rgba(180, 0, 170, 1)}.file-viewer-pdf__text-container>*.highlight.appended{position:initial}.file-viewer-pdf__text-container>*.highlight.begin{border-radius:4px 0 0 4px}.file-viewer-pdf__text-container>*.highlight.end{border-radius:0 4px 4px 0}.file-viewer-pdf__text-container>*.highlight.middle{border-radius:0}.file-viewer-pdf__text-container>*.highlight.selected{background-color:rgba(0, 100, 0, 1)}.file-viewer-pdf__text-container>*.endOfContent{position:absolute;z-index:-1;top:100%;right:0;bottom:0;left:0;display:block;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.file-viewer-pdf__text-container>*.endOfContent.active{top:0}.file-viewer-pdf__text-container>br::-moz-selection{background:transparent}.file-viewer-pdf__text-container>br::selection{background:transparent}@media (min-width: 768px){.file-viewer-pdf__text-container{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}}.file-viewer-pdf__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-pdf__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}.file-viewer-pdf__pagination{position:absolute;bottom:var(--s-space-16);left:50%;padding:var(--s-space-4) var(--s-space-12);border-radius:var(--s-border-radius-base);color:var(--s-text-on-image);background-color:rgba(0, 0, 0, 0.6);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);transform:translateX(-50%);pointer-events:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-pdf__pagination{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}";
16167
+ window.pdf = va;
16168
+ const ya = class {
16175
16169
  constructor(Le) {
16176
- zt(this, Le), this.activate = Rt(this, "activate", 7), this.visiblePagesChange = Rt(this, "visiblePagesChange", 7), this.pages = [], this.renderingPageNumbers = [], this.recentScrollPosition = { x: 0, y: 0 }, this.determineScrollStatus = () => {
16170
+ jt(this, Le), this.activate = Rt(this, "activate", 7), this.visiblePagesChange = Rt(this, "visiblePagesChange", 7), this.pages = [], this.renderingPageNumbers = [], this.recentScrollPosition = { x: 0, y: 0 }, this.determineScrollStatus = () => {
16177
16171
  var Ie, Te, De;
16178
16172
  const Ee = Math.ceil(((Ie = this.scrollContainer) == null ? void 0 : Ie.scrollTop) + ((Te = this.scrollContainer) == null ? void 0 : Te.offsetHeight)) >= ((De = this.scrollContainer) == null ? void 0 : De.scrollHeight);
16179
16173
  Ee !== this.scrolledDown && (this.scrolledDown = Ee);
@@ -16183,7 +16177,7 @@ const _a = class {
16183
16177
  x: Math.round(((Ee = this.scrollContainer) == null ? void 0 : Ee.scrollLeft) / ((Ie = this.scrollContainer) == null ? void 0 : Ie.scrollWidth) * 100) / 100,
16184
16178
  y: Math.round(((Te = this.scrollContainer) == null ? void 0 : Te.scrollTop) / ((De = this.scrollContainer) == null ? void 0 : De.scrollHeight) * 100) / 100
16185
16179
  };
16186
- }, this.onScroll = na(() => {
16180
+ }, this.onScroll = ea(() => {
16187
16181
  this.updateVisiblePages(), this.determineScrollStatus(), this.storeRecentScrollPosition();
16188
16182
  }, 60), this.errorMessage = "File could not be loaded.", this.file = void 0, this.singlePageMode = void 0, this.viewMode = "single", this.workerSrc = "/pdfjs/pdf.worker.min.js", this.zoom = 1, this.doc = void 0, this.error = void 0, this.loading = !0, this.renderedPages = [], this.scrolledDown = !1, this.singlePageModePage = 1, this.visiblePages = [];
16189
16183
  }
@@ -16244,7 +16238,7 @@ const _a = class {
16244
16238
  async getPages() {
16245
16239
  this.error = !1, this.loading = !0;
16246
16240
  try {
16247
- Boolean(this.doc) && this.doc.destroy(), this.doc = await Or.exports.getDocument(this.file).promise;
16241
+ Boolean(this.doc) && this.doc.destroy(), this.doc = await Kr.getDocument(this.file).promise;
16248
16242
  const Le = [];
16249
16243
  for (let Ee = 1; Ee <= this.doc.numPages; Ee++)
16250
16244
  Le.push(this.doc.getPage(Ee));
@@ -16295,12 +16289,12 @@ const _a = class {
16295
16289
  let Ie = [];
16296
16290
  if (this.singlePageMode)
16297
16291
  Ie = [this.singlePageModePage];
16298
- else if (Ie = Le ? Ee.map((De) => +De.dataset.pageNumber) : Ee.filter((De) => ia(De, this.scrollContainer) > 0).map((De) => +De.dataset.pageNumber), this.visiblePages.length === Ie.length && this.visiblePages.every((De) => Ie.includes(De)))
16292
+ else if (Ie = Le ? Ee.map((De) => +De.dataset.pageNumber) : Ee.filter((De) => ta(De, this.scrollContainer) > 0).map((De) => +De.dataset.pageNumber), this.visiblePages.length === Ie.length && this.visiblePages.every((De) => Ie.includes(De)))
16299
16293
  return;
16300
16294
  this.visiblePages = Ie, await this.renderVisiblePages(Le), this.visiblePagesChange.emit(this.visiblePages);
16301
16295
  }
16302
16296
  async renderTextLayer(Le, Ee) {
16303
- Or.exports.renderTextLayer({
16297
+ Kr.renderTextLayer({
16304
16298
  container: Ee,
16305
16299
  textContent: await Le.getTextContent(),
16306
16300
  viewport: Le.getViewport({
@@ -16361,7 +16355,7 @@ const _a = class {
16361
16355
  }
16362
16356
  getScale(Le) {
16363
16357
  var Ie;
16364
- const Ee = aa() ? 0 : 32;
16358
+ const Ee = ra() ? 0 : 32;
16365
16359
  return this.zoom === "auto" ? (((Ie = this.scrollContainer) == null ? void 0 : Ie.clientWidth) - Ee) / Le.view[2] : isNaN(this.zoom) ? 1 : this.zoom;
16366
16360
  }
16367
16361
  restoreScrollPosition() {
@@ -16369,8 +16363,8 @@ const _a = class {
16369
16363
  this.scrollContainer.scrollTop = this.recentScrollPosition.y * ((Le = this.scrollContainer) == null ? void 0 : Le.scrollHeight), this.scrollContainer.scrollLeft = this.recentScrollPosition.x * ((Ee = this.scrollContainer) == null ? void 0 : Ee.scrollWidth);
16370
16364
  }
16371
16365
  render() {
16372
- const Le = !this.error && !this.loading && this.visiblePages.length > 0, Ee = this.scrolledDown && !this.singlePageMode ? this.pages.length - 1 : this.visiblePages[0], Ie = this.loading, Te = ra("file-viewer-pdf", `file-viewer-pdf--view-mode-${this.viewMode}`);
16373
- return qe(jt, { key: "6ccf46d3db4c76590b065368391ff2abd079d7b7", class: Te, exportparts: "file-viewer-pdf__pagination" }, this.error && qe("swirl-inline-error", { key: "a166e4eb06679d9dbcfd22dd03b719bfc2ffc8ec", class: "file-viewer-pdf__error", message: this.errorMessage }), qe("div", { key: "3e7a7fed4f7719b503c7a902961cf9661d630e9b", "aria-describedby": "pagination", class: "file-viewer-pdf__pages", onScroll: this.onScroll, ref: (De) => this.scrollContainer = De }, this.pages.map((De) => {
16366
+ const Le = !this.error && !this.loading && this.visiblePages.length > 0, Ee = this.scrolledDown && !this.singlePageMode ? this.pages.length - 1 : this.visiblePages[0], Ie = this.loading, Te = Qi("file-viewer-pdf", `file-viewer-pdf--view-mode-${this.viewMode}`);
16367
+ return qe($t, { class: Te, exportparts: "file-viewer-pdf__pagination" }, this.error && qe("swirl-inline-error", { class: "file-viewer-pdf__error", message: this.errorMessage }), qe("div", { "aria-describedby": "pagination", class: "file-viewer-pdf__pages", onScroll: this.onScroll, ref: (De) => this.scrollContainer = De }, this.pages.map((De) => {
16374
16368
  const Qe = De.getViewport({
16375
16369
  scale: this.getScale(De)
16376
16370
  }), B = Qe.height, v = Qe.width, n = this.renderedPages.includes(De.pageNumber);
@@ -16378,7 +16372,7 @@ const _a = class {
16378
16372
  width: `${v}px`,
16379
16373
  height: `${B}px`
16380
16374
  }, tabIndex: 0 }, !n && qe("swirl-spinner", { class: "file-viewer-pdf__page-spinner" }), qe("canvas", { class: "file-viewer-pdf__canvas", style: { opacity: n ? "1" : "0" } }), qe("div", { class: "file-viewer-pdf__text-container" }));
16381
- })), Le && qe("span", { key: "8692c798388467ed2107e9376cf38d698445975a", class: "file-viewer-pdf__pagination", id: "pagination", part: "file-viewer-pdf__pagination" }, qe("span", { key: "3836196311a83e27b12f23196e4e3d658cc523d8", "aria-current": "page" }, Ee), " / ", this.doc.numPages), Ie && qe("div", { key: "7176ad8ef04d6db12f98b553ffff705213cb0a5e", class: "file-viewer-pdf__spinner" }, qe("swirl-spinner", { key: "a3bbe57b319fe8e4ebc15b47b37eddb5c1110aa0" })));
16375
+ })), Le && qe("span", { class: "file-viewer-pdf__pagination", id: "pagination", part: "file-viewer-pdf__pagination" }, qe("span", { "aria-current": "page" }, Ee), " / ", this.doc.numPages), Ie && qe("div", { class: "file-viewer-pdf__spinner" }, qe("swirl-spinner", null)));
16382
16376
  }
16383
16377
  get el() {
16384
16378
  return Qt(this);
@@ -16391,10 +16385,10 @@ const _a = class {
16391
16385
  };
16392
16386
  }
16393
16387
  };
16394
- _a.style = wa;
16395
- const Ea = ":host{position:relative;display:inline-flex;width:100%;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-text__text{overflow:auto;width:100%;max-height:100%;margin:0;padding:0;padding:var(--s-space-16);background-color:var(--s-background-default);font-family:var(--s-font-family-code)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-text__text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.file-viewer-text__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-text__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", Ca = Ea, Ta = class {
16388
+ ya.style = ba;
16389
+ const Sa = ":host{position:relative;display:inline-flex;width:100%;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-text__text{overflow:auto;width:100%;max-height:100%;margin:0;padding:0;padding:var(--s-space-16);background-color:var(--s-background-default);font-family:var(--s-font-family-code)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-text__text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.file-viewer-text__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-text__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", Aa = class {
16396
16390
  constructor(Le) {
16397
- zt(this, Le), this.activate = Rt(this, "activate", 7), this.errorMessage = "File could not be loaded.", this.file = void 0, this.error = void 0, this.loading = void 0, this.text = void 0;
16391
+ jt(this, Le), this.activate = Rt(this, "activate", 7), this.errorMessage = "File could not be loaded.", this.file = void 0, this.error = void 0, this.loading = void 0, this.text = void 0;
16398
16392
  }
16399
16393
  componentWillLoad() {
16400
16394
  this.updateText();
@@ -16412,7 +16406,7 @@ const Ea = ":host{position:relative;display:inline-flex;width:100%;max-height:10
16412
16406
  }
16413
16407
  }
16414
16408
  render() {
16415
- return qe(jt, { key: "5b94b8687020d5546d7c6b56ab014a114b774183", class: "file-viewer-text", exportparts: "file-viewer-text__text" }, this.error && qe("swirl-inline-error", { key: "a8d3d8c8157c541aca358d5f44c24296478b2312", class: "file-viewer-text__error", message: this.errorMessage }), qe("pre", { key: "925d4b18057fe1d32e7e8ca89cbd76e1cb3e1497", class: "file-viewer-text__text", part: "file-viewer-text__text", tabIndex: 0 }, this.text), this.loading && qe("div", { key: "890c3d75f79c011fb83ef56ae570e3f9093c2098", class: "file-viewer-text__spinner" }, qe("swirl-spinner", { key: "85d02073d86bc911be5db964b7b0dd36be4e9d22" })));
16409
+ return qe($t, { class: "file-viewer-text", exportparts: "file-viewer-text__text" }, this.error && qe("swirl-inline-error", { class: "file-viewer-text__error", message: this.errorMessage }), qe("pre", { class: "file-viewer-text__text", part: "file-viewer-text__text", tabIndex: 0 }, this.text), this.loading && qe("div", { class: "file-viewer-text__spinner" }, qe("swirl-spinner", null)));
16416
16410
  }
16417
16411
  get el() {
16418
16412
  return Qt(this);
@@ -16423,28 +16417,28 @@ const Ea = ":host{position:relative;display:inline-flex;width:100%;max-height:10
16423
16417
  };
16424
16418
  }
16425
16419
  };
16426
- Ta.style = Ca;
16427
- const Pa = ":host{display:inline-flex;width:100%;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-video__video{width:100%;background-color:rgba(0, 0, 0, 1)}", Ra = Pa, xa = class {
16420
+ Aa.style = Sa;
16421
+ const wa = ":host{display:inline-flex;width:100%;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-video__video{width:100%;background-color:rgba(0, 0, 0, 1)}", _a = class {
16428
16422
  constructor(Le) {
16429
- zt(this, Le), this.activate = Rt(this, "activate", 7), this.autoplay = void 0, this.file = void 0, this.type = void 0;
16423
+ jt(this, Le), this.activate = Rt(this, "activate", 7), this.autoplay = void 0, this.file = void 0, this.type = void 0;
16430
16424
  }
16431
16425
  componentDidLoad() {
16432
16426
  this.activate.emit(this.el);
16433
16427
  }
16434
16428
  render() {
16435
- return qe(jt, { key: "f3d8017d2fa62115553971a829584ab476add0df", class: "file-viewer-video" }, qe("video", { key: "b62e5359db16d0dcf69854183fb6da48e46c0aed", autoplay: this.autoplay, class: "file-viewer-video__video", controls: !0 }, qe("source", { key: "7975956ecb3278544e183863258758621204e127", src: this.file, type: this.type })));
16429
+ return qe($t, { class: "file-viewer-video" }, qe("video", { autoplay: this.autoplay, class: "file-viewer-video__video", controls: !0 }, qe("source", { src: this.file, type: this.type })));
16436
16430
  }
16437
16431
  get el() {
16438
16432
  return Qt(this);
16439
16433
  }
16440
16434
  };
16441
- xa.style = Ra;
16435
+ _a.style = wa;
16442
16436
  export {
16443
- la as swirl_file_viewer,
16444
- da as swirl_file_viewer_audio,
16445
- pa as swirl_file_viewer_csv,
16446
- va as swirl_file_viewer_image,
16447
- _a as swirl_file_viewer_pdf,
16448
- Ta as swirl_file_viewer_text,
16449
- xa as swirl_file_viewer_video
16437
+ aa as swirl_file_viewer,
16438
+ oa as swirl_file_viewer_audio,
16439
+ ua as swirl_file_viewer_csv,
16440
+ ha as swirl_file_viewer_image,
16441
+ ya as swirl_file_viewer_pdf,
16442
+ Aa as swirl_file_viewer_text,
16443
+ _a as swirl_file_viewer_video
16450
16444
  };