create-swdg-frontend 0.1.6 → 0.2.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 (469) hide show
  1. package/README.md +31 -13
  2. package/bin/index.js +3 -244
  3. package/lib/argv.js +43 -0
  4. package/lib/cli.js +141 -0
  5. package/lib/constants.js +24 -0
  6. package/lib/gis.js +92 -0
  7. package/lib/manifest.js +23 -0
  8. package/lib/prompts.js +55 -0
  9. package/lib/scaffold.js +118 -0
  10. package/package.json +6 -2
  11. package/scripts/sync-template.js +120 -0
  12. package/scripts/validate-template.mjs +74 -0
  13. package/stubs/tsconfig.node.json +11 -0
  14. package/stubs/types-env.d.ts +9 -0
  15. package/stubs/vite.config.ts +64 -0
  16. package/template/.env.example +6 -0
  17. package/template/.github/workflows/ci.yml +23 -0
  18. package/template/.github/workflows/release.yml +69 -0
  19. package/template/.husky/commit-msg +42 -42
  20. package/template/.husky/pre-commit +2 -2
  21. package/template/.husky/prepare-commit-msg +0 -0
  22. package/template/.lintstagedrc +5 -5
  23. package/template/.prettierignore +26 -26
  24. package/template/.prettierrc.cjs +10 -10
  25. package/template/.stylelintignore +1 -1
  26. package/template/.stylelintrc.json +12 -6
  27. package/template/README.md +99 -36
  28. package/template/auto-imports.d.ts +10 -0
  29. package/template/commitlint.config.cjs +64 -64
  30. package/template/docs/MAINTAINER.md +77 -0
  31. package/template/docs/ONBOARDING.md +284 -0
  32. package/template/docs/TESTING.md +104 -0
  33. package/template/eslint.config.js +97 -96
  34. package/template/index.html +17 -17
  35. package/template/interface/user.ts +5 -5
  36. package/template/package.json +88 -86
  37. package/template/pnpm-lock.yaml +6360 -0
  38. package/template/postcss.config.js +5 -0
  39. package/template/scripts/gen-api.cjs +280 -230
  40. package/template/scripts/release.mjs +53 -59
  41. package/template/scripts/set-release-version.mjs +46 -0
  42. package/template/scripts/test-pipeline.mjs +85 -0
  43. package/template/scripts/test-scaffold.mjs +197 -0
  44. package/template/scripts/test-template.mjs +52 -0
  45. package/template/scripts/verify.mjs +28 -0
  46. package/template/scripts/vite-plugin-cesium-dev.ts +56 -0
  47. package/template/src/App.vue +6 -6
  48. package/template/src/api/README.md +7 -3
  49. package/template/src/assets/favicon.svg +49 -49
  50. package/template/src/components/Body/index.vue +80 -16
  51. package/template/src/components/CesiumViewer/index.vue +36 -0
  52. package/template/src/components/Header/index.vue +19 -8
  53. package/template/src/components/OnboardingDeck/index.vue +449 -0
  54. package/template/src/data/onboardingSlides.ts +208 -0
  55. package/template/src/directive/focus.ts +9 -9
  56. package/template/src/layout/BasicLayout.vue +28 -28
  57. package/template/src/main.ts +25 -33
  58. package/template/src/router/index.ts +30 -24
  59. package/template/src/router/routeUtils.ts +13 -0
  60. package/template/src/stores/README.md +3 -3
  61. package/template/src/stores/useCounter.ts +12 -12
  62. package/template/src/styles/alerts.less +85 -85
  63. package/template/src/styles/global.css +326 -326
  64. package/template/src/styles/shell.css +232 -0
  65. package/template/src/utils/alert.ts +58 -58
  66. package/template/src/utils/axios-middleware.js +180 -0
  67. package/template/src/utils/cesium/index.ts +71 -0
  68. package/template/src/utils/components.ts +21 -21
  69. package/template/src/utils/composables/useAlert.ts +14 -14
  70. package/template/src/utils/composables/useFeatureGis.ts +24 -0
  71. package/template/src/utils/http.ts +5 -0
  72. package/template/src/views/examples/cesium/index.vue +85 -0
  73. package/template/src/views/examples/guide/index.vue +42 -0
  74. package/template/src/views/examples/test/index.vue +63 -0
  75. package/template/src/views/index.vue +8 -9
  76. package/template/src/vite-env.d.ts +1 -1
  77. package/template/tests/README.md +7 -6
  78. package/template/tests/e2e/README.md +3 -3
  79. package/template/tests/setup.ts +1 -1
  80. package/template/tests/unit/onboardingSlides.test.ts +20 -0
  81. package/template/tests/unit/router.utils.test.ts +21 -0
  82. package/template/tests/unit/scaffold.lib.test.ts +44 -0
  83. package/template/tests/unit/useFeatureGis.test.ts +14 -0
  84. package/template/tests/utils/helpers.ts +1 -1
  85. package/template/tsconfig.json +51 -51
  86. package/template/tsconfig.node.json +11 -11
  87. package/template/types/README.md +3 -3
  88. package/template/types/env.d.ts +13 -0
  89. package/template/types/global.d.ts +9 -9
  90. package/template/vite.config.ts +89 -75
  91. package/template/vitest.config.ts +22 -9
  92. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +0 -1012
  93. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +0 -1012
  94. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +0 -1012
  95. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +0 -1012
  96. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +0 -1012
  97. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +0 -1012
  98. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +0 -1012
  99. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +0 -1012
  100. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +0 -1012
  101. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +0 -1012
  102. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +0 -1012
  103. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +0 -1012
  104. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +0 -1012
  105. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +0 -1012
  106. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +0 -1012
  107. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +0 -1012
  108. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +0 -1012
  109. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +0 -1012
  110. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +0 -1012
  111. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +0 -1012
  112. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +0 -438
  113. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +0 -1012
  114. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +0 -1012
  115. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +0 -1012
  116. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +0 -1012
  117. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +0 -1012
  118. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +0 -1012
  119. package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +0 -1012
  120. package/template/public/Cesium1.119/Assets/Images/bing_maps_credit.png +0 -0
  121. package/template/public/Cesium1.119/Assets/Images/cesium_credit.png +0 -0
  122. package/template/public/Cesium1.119/Assets/Images/google_earth_credit.png +0 -0
  123. package/template/public/Cesium1.119/Assets/Images/ion-credit.png +0 -0
  124. package/template/public/Cesium1.119/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
  125. package/template/public/Cesium1.119/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
  126. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  127. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  128. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  129. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  130. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  131. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  132. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  133. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  134. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  135. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  136. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  137. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  138. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  139. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  140. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  141. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  142. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  143. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  144. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  145. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  146. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  147. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  148. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  149. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  150. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  151. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  152. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  153. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  154. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  155. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  156. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  157. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  158. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  159. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  160. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  161. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  162. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  163. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  164. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  165. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  166. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  167. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  168. package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/tilemapresource.xml +0 -14
  169. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  170. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  171. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  172. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  173. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  174. package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  175. package/template/public/Cesium1.119/Assets/Textures/maki/airfield.png +0 -0
  176. package/template/public/Cesium1.119/Assets/Textures/maki/airport.png +0 -0
  177. package/template/public/Cesium1.119/Assets/Textures/maki/alcohol-shop.png +0 -0
  178. package/template/public/Cesium1.119/Assets/Textures/maki/america-football.png +0 -0
  179. package/template/public/Cesium1.119/Assets/Textures/maki/art-gallery.png +0 -0
  180. package/template/public/Cesium1.119/Assets/Textures/maki/bakery.png +0 -0
  181. package/template/public/Cesium1.119/Assets/Textures/maki/bank.png +0 -0
  182. package/template/public/Cesium1.119/Assets/Textures/maki/bar.png +0 -0
  183. package/template/public/Cesium1.119/Assets/Textures/maki/baseball.png +0 -0
  184. package/template/public/Cesium1.119/Assets/Textures/maki/basketball.png +0 -0
  185. package/template/public/Cesium1.119/Assets/Textures/maki/beer.png +0 -0
  186. package/template/public/Cesium1.119/Assets/Textures/maki/bicycle.png +0 -0
  187. package/template/public/Cesium1.119/Assets/Textures/maki/building.png +0 -0
  188. package/template/public/Cesium1.119/Assets/Textures/maki/bus.png +0 -0
  189. package/template/public/Cesium1.119/Assets/Textures/maki/cafe.png +0 -0
  190. package/template/public/Cesium1.119/Assets/Textures/maki/camera.png +0 -0
  191. package/template/public/Cesium1.119/Assets/Textures/maki/campsite.png +0 -0
  192. package/template/public/Cesium1.119/Assets/Textures/maki/car.png +0 -0
  193. package/template/public/Cesium1.119/Assets/Textures/maki/cemetery.png +0 -0
  194. package/template/public/Cesium1.119/Assets/Textures/maki/cesium.png +0 -0
  195. package/template/public/Cesium1.119/Assets/Textures/maki/chemist.png +0 -0
  196. package/template/public/Cesium1.119/Assets/Textures/maki/cinema.png +0 -0
  197. package/template/public/Cesium1.119/Assets/Textures/maki/circle-stroked.png +0 -0
  198. package/template/public/Cesium1.119/Assets/Textures/maki/circle.png +0 -0
  199. package/template/public/Cesium1.119/Assets/Textures/maki/city.png +0 -0
  200. package/template/public/Cesium1.119/Assets/Textures/maki/clothing-store.png +0 -0
  201. package/template/public/Cesium1.119/Assets/Textures/maki/college.png +0 -0
  202. package/template/public/Cesium1.119/Assets/Textures/maki/commercial.png +0 -0
  203. package/template/public/Cesium1.119/Assets/Textures/maki/cricket.png +0 -0
  204. package/template/public/Cesium1.119/Assets/Textures/maki/cross.png +0 -0
  205. package/template/public/Cesium1.119/Assets/Textures/maki/dam.png +0 -0
  206. package/template/public/Cesium1.119/Assets/Textures/maki/danger.png +0 -0
  207. package/template/public/Cesium1.119/Assets/Textures/maki/disability.png +0 -0
  208. package/template/public/Cesium1.119/Assets/Textures/maki/dog-park.png +0 -0
  209. package/template/public/Cesium1.119/Assets/Textures/maki/embassy.png +0 -0
  210. package/template/public/Cesium1.119/Assets/Textures/maki/emergency-telephone.png +0 -0
  211. package/template/public/Cesium1.119/Assets/Textures/maki/entrance.png +0 -0
  212. package/template/public/Cesium1.119/Assets/Textures/maki/farm.png +0 -0
  213. package/template/public/Cesium1.119/Assets/Textures/maki/fast-food.png +0 -0
  214. package/template/public/Cesium1.119/Assets/Textures/maki/ferry.png +0 -0
  215. package/template/public/Cesium1.119/Assets/Textures/maki/fire-station.png +0 -0
  216. package/template/public/Cesium1.119/Assets/Textures/maki/fuel.png +0 -0
  217. package/template/public/Cesium1.119/Assets/Textures/maki/garden.png +0 -0
  218. package/template/public/Cesium1.119/Assets/Textures/maki/gift.png +0 -0
  219. package/template/public/Cesium1.119/Assets/Textures/maki/golf.png +0 -0
  220. package/template/public/Cesium1.119/Assets/Textures/maki/grocery.png +0 -0
  221. package/template/public/Cesium1.119/Assets/Textures/maki/hairdresser.png +0 -0
  222. package/template/public/Cesium1.119/Assets/Textures/maki/harbor.png +0 -0
  223. package/template/public/Cesium1.119/Assets/Textures/maki/heart.png +0 -0
  224. package/template/public/Cesium1.119/Assets/Textures/maki/heliport.png +0 -0
  225. package/template/public/Cesium1.119/Assets/Textures/maki/hospital.png +0 -0
  226. package/template/public/Cesium1.119/Assets/Textures/maki/ice-cream.png +0 -0
  227. package/template/public/Cesium1.119/Assets/Textures/maki/industrial.png +0 -0
  228. package/template/public/Cesium1.119/Assets/Textures/maki/land-use.png +0 -0
  229. package/template/public/Cesium1.119/Assets/Textures/maki/laundry.png +0 -0
  230. package/template/public/Cesium1.119/Assets/Textures/maki/library.png +0 -0
  231. package/template/public/Cesium1.119/Assets/Textures/maki/lighthouse.png +0 -0
  232. package/template/public/Cesium1.119/Assets/Textures/maki/lodging.png +0 -0
  233. package/template/public/Cesium1.119/Assets/Textures/maki/logging.png +0 -0
  234. package/template/public/Cesium1.119/Assets/Textures/maki/london-underground.png +0 -0
  235. package/template/public/Cesium1.119/Assets/Textures/maki/marker-stroked.png +0 -0
  236. package/template/public/Cesium1.119/Assets/Textures/maki/marker.png +0 -0
  237. package/template/public/Cesium1.119/Assets/Textures/maki/minefield.png +0 -0
  238. package/template/public/Cesium1.119/Assets/Textures/maki/mobilephone.png +0 -0
  239. package/template/public/Cesium1.119/Assets/Textures/maki/monument.png +0 -0
  240. package/template/public/Cesium1.119/Assets/Textures/maki/museum.png +0 -0
  241. package/template/public/Cesium1.119/Assets/Textures/maki/music.png +0 -0
  242. package/template/public/Cesium1.119/Assets/Textures/maki/oil-well.png +0 -0
  243. package/template/public/Cesium1.119/Assets/Textures/maki/park.png +0 -0
  244. package/template/public/Cesium1.119/Assets/Textures/maki/park2.png +0 -0
  245. package/template/public/Cesium1.119/Assets/Textures/maki/parking-garage.png +0 -0
  246. package/template/public/Cesium1.119/Assets/Textures/maki/parking.png +0 -0
  247. package/template/public/Cesium1.119/Assets/Textures/maki/pharmacy.png +0 -0
  248. package/template/public/Cesium1.119/Assets/Textures/maki/pitch.png +0 -0
  249. package/template/public/Cesium1.119/Assets/Textures/maki/place-of-worship.png +0 -0
  250. package/template/public/Cesium1.119/Assets/Textures/maki/playground.png +0 -0
  251. package/template/public/Cesium1.119/Assets/Textures/maki/police.png +0 -0
  252. package/template/public/Cesium1.119/Assets/Textures/maki/polling-place.png +0 -0
  253. package/template/public/Cesium1.119/Assets/Textures/maki/post.png +0 -0
  254. package/template/public/Cesium1.119/Assets/Textures/maki/prison.png +0 -0
  255. package/template/public/Cesium1.119/Assets/Textures/maki/rail-above.png +0 -0
  256. package/template/public/Cesium1.119/Assets/Textures/maki/rail-light.png +0 -0
  257. package/template/public/Cesium1.119/Assets/Textures/maki/rail-metro.png +0 -0
  258. package/template/public/Cesium1.119/Assets/Textures/maki/rail-underground.png +0 -0
  259. package/template/public/Cesium1.119/Assets/Textures/maki/rail.png +0 -0
  260. package/template/public/Cesium1.119/Assets/Textures/maki/religious-christian.png +0 -0
  261. package/template/public/Cesium1.119/Assets/Textures/maki/religious-jewish.png +0 -0
  262. package/template/public/Cesium1.119/Assets/Textures/maki/religious-muslim.png +0 -0
  263. package/template/public/Cesium1.119/Assets/Textures/maki/restaurant.png +0 -0
  264. package/template/public/Cesium1.119/Assets/Textures/maki/roadblock.png +0 -0
  265. package/template/public/Cesium1.119/Assets/Textures/maki/rocket.png +0 -0
  266. package/template/public/Cesium1.119/Assets/Textures/maki/school.png +0 -0
  267. package/template/public/Cesium1.119/Assets/Textures/maki/scooter.png +0 -0
  268. package/template/public/Cesium1.119/Assets/Textures/maki/shop.png +0 -0
  269. package/template/public/Cesium1.119/Assets/Textures/maki/skiing.png +0 -0
  270. package/template/public/Cesium1.119/Assets/Textures/maki/slaughterhouse.png +0 -0
  271. package/template/public/Cesium1.119/Assets/Textures/maki/soccer.png +0 -0
  272. package/template/public/Cesium1.119/Assets/Textures/maki/square-stroked.png +0 -0
  273. package/template/public/Cesium1.119/Assets/Textures/maki/square.png +0 -0
  274. package/template/public/Cesium1.119/Assets/Textures/maki/star-stroked.png +0 -0
  275. package/template/public/Cesium1.119/Assets/Textures/maki/star.png +0 -0
  276. package/template/public/Cesium1.119/Assets/Textures/maki/suitcase.png +0 -0
  277. package/template/public/Cesium1.119/Assets/Textures/maki/swimming.png +0 -0
  278. package/template/public/Cesium1.119/Assets/Textures/maki/telephone.png +0 -0
  279. package/template/public/Cesium1.119/Assets/Textures/maki/tennis.png +0 -0
  280. package/template/public/Cesium1.119/Assets/Textures/maki/theatre.png +0 -0
  281. package/template/public/Cesium1.119/Assets/Textures/maki/toilets.png +0 -0
  282. package/template/public/Cesium1.119/Assets/Textures/maki/town-hall.png +0 -0
  283. package/template/public/Cesium1.119/Assets/Textures/maki/town.png +0 -0
  284. package/template/public/Cesium1.119/Assets/Textures/maki/triangle-stroked.png +0 -0
  285. package/template/public/Cesium1.119/Assets/Textures/maki/triangle.png +0 -0
  286. package/template/public/Cesium1.119/Assets/Textures/maki/village.png +0 -0
  287. package/template/public/Cesium1.119/Assets/Textures/maki/warehouse.png +0 -0
  288. package/template/public/Cesium1.119/Assets/Textures/maki/waste-basket.png +0 -0
  289. package/template/public/Cesium1.119/Assets/Textures/maki/water.png +0 -0
  290. package/template/public/Cesium1.119/Assets/Textures/maki/wetland.png +0 -0
  291. package/template/public/Cesium1.119/Assets/Textures/maki/zoo.png +0 -0
  292. package/template/public/Cesium1.119/Assets/Textures/moonSmall.jpg +0 -0
  293. package/template/public/Cesium1.119/Assets/Textures/pin.svg +0 -1
  294. package/template/public/Cesium1.119/Assets/Textures/waterNormals.jpg +0 -0
  295. package/template/public/Cesium1.119/Assets/Textures/waterNormalsSmall.jpg +0 -0
  296. package/template/public/Cesium1.119/Assets/approximateTerrainHeights.json +0 -10924
  297. package/template/public/Cesium1.119/Cesium.js +0 -185772
  298. package/template/public/Cesium1.119/ThirdParty/Workers/package.json +0 -3
  299. package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +0 -1681
  300. package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +0 -1489
  301. package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +0 -1070
  302. package/template/public/Cesium1.119/ThirdParty/basis_transcoder.wasm +0 -0
  303. package/template/public/Cesium1.119/ThirdParty/draco_decoder.wasm +0 -0
  304. package/template/public/Cesium1.119/ThirdParty/google-earth-dbroot-parser.js +0 -11424
  305. package/template/public/Cesium1.119/Widgets/Animation/Animation.css +0 -127
  306. package/template/public/Cesium1.119/Widgets/Animation/lighter.css +0 -78
  307. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +0 -112
  308. package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +0 -28
  309. package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -104
  310. package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +0 -115
  311. package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +0 -119
  312. package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +0 -14
  313. package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +0 -8
  314. package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +0 -72
  315. package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +0 -17
  316. package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -27
  317. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  318. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  319. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  320. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
  321. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
  322. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
  323. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
  324. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
  325. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  326. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
  327. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
  328. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
  329. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
  330. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
  331. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
  332. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  333. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  334. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
  335. package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
  336. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Mouse.svg +0 -84
  337. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +0 -76
  338. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +0 -76
  339. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +0 -76
  340. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +0 -120
  341. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +0 -129
  342. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +0 -76
  343. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +0 -135
  344. package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +0 -74
  345. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  346. package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
  347. package/template/public/Cesium1.119/Widgets/Images/TimelineIcons.png +0 -0
  348. package/template/public/Cesium1.119/Widgets/Images/info-loading.gif +0 -0
  349. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBox.css +0 -94
  350. package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +0 -178
  351. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +0 -95
  352. package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +0 -38
  353. package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +0 -15
  354. package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +0 -46
  355. package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +0 -72
  356. package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +0 -22
  357. package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +0 -103
  358. package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +0 -18
  359. package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +0 -8
  360. package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +0 -107
  361. package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +0 -18
  362. package/template/public/Cesium1.119/Widgets/lighter.css +0 -246
  363. package/template/public/Cesium1.119/Widgets/lighterShared.css +0 -46
  364. package/template/public/Cesium1.119/Widgets/shared.css +0 -103
  365. package/template/public/Cesium1.119/Widgets/widgets.css +0 -1376
  366. package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +0 -611
  367. package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +0 -166
  368. package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +0 -264
  369. package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +0 -128
  370. package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +0 -8046
  371. package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +0 -341
  372. package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +0 -269
  373. package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +0 -28
  374. package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +0 -199
  375. package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +0 -1102
  376. package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +0 -485
  377. package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +0 -76
  378. package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +0 -91
  379. package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +0 -42
  380. package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +0 -2678
  381. package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +0 -516
  382. package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +0 -399
  383. package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +0 -65
  384. package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +0 -92
  385. package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +0 -672
  386. package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +0 -287
  387. package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +0 -50
  388. package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +0 -28
  389. package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +0 -124
  390. package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +0 -31
  391. package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +0 -331
  392. package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +0 -258
  393. package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +0 -162
  394. package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +0 -773
  395. package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +0 -162
  396. package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +0 -857
  397. package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +0 -183
  398. package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +0 -85
  399. package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +0 -108
  400. package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +0 -73
  401. package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +0 -2372
  402. package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +0 -73
  403. package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +0 -538
  404. package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +0 -1670
  405. package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +0 -392
  406. package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +0 -57
  407. package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +0 -72
  408. package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +0 -37
  409. package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +0 -814
  410. package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +0 -579
  411. package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +0 -376
  412. package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +0 -111
  413. package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +0 -573
  414. package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +0 -633
  415. package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +0 -271
  416. package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +0 -173
  417. package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +0 -217
  418. package/template/public/Cesium1.119/Workers/combineGeometry.js +0 -53
  419. package/template/public/Cesium1.119/Workers/createBoxGeometry.js +0 -45
  420. package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +0 -189
  421. package/template/public/Cesium1.119/Workers/createCircleGeometry.js +0 -148
  422. package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +0 -105
  423. package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +0 -293
  424. package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +0 -143
  425. package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +0 -830
  426. package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +0 -417
  427. package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +0 -47
  428. package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +0 -170
  429. package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +0 -58
  430. package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +0 -51
  431. package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +0 -46
  432. package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +0 -45
  433. package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +0 -45
  434. package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +0 -164
  435. package/template/public/Cesium1.119/Workers/createGeometry.js +0 -159
  436. package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +0 -911
  437. package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +0 -185
  438. package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +0 -93
  439. package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +0 -884
  440. package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +0 -359
  441. package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +0 -349
  442. package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +0 -262
  443. package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +0 -177
  444. package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +0 -787
  445. package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +0 -299
  446. package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +0 -294
  447. package/template/public/Cesium1.119/Workers/createSphereGeometry.js +0 -84
  448. package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +0 -83
  449. package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +0 -28
  450. package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +0 -289
  451. package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +0 -258
  452. package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +0 -79
  453. package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +0 -275
  454. package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +0 -176
  455. package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +0 -375
  456. package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +0 -1772
  457. package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -425
  458. package/template/public/Cesium1.119/Workers/createWallGeometry.js +0 -320
  459. package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +0 -229
  460. package/template/public/Cesium1.119/Workers/decodeDraco.js +0 -227
  461. package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +0 -1836
  462. package/template/public/Cesium1.119/Workers/decodeI3S.js +0 -924
  463. package/template/public/Cesium1.119/Workers/transcodeKTX2.js +0 -3180
  464. package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +0 -34
  465. package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +0 -534
  466. package/template/public/Cesium1.119/index.cjs +0 -185632
  467. package/template/public/Cesium1.119/index.js +0 -182874
  468. package/template/src/views/Test/index.vue +0 -23
  469. package/template/tests/unit/example.test.ts +0 -7
@@ -1,1489 +0,0 @@
1
- /*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */ (function (
2
- O,
3
- I,
4
- ) {
5
- typeof exports == "object" && typeof module < "u"
6
- ? I(exports)
7
- : typeof define == "function" && define.amd
8
- ? define(["exports"], I)
9
- : I(((O = typeof globalThis < "u" ? globalThis : O || self).pako = {}));
10
- })(this, function (O) {
11
- "use strict";
12
- var I = (e, i, t, o) => {
13
- let s = (65535 & e) | 0,
14
- r = ((e >>> 16) & 65535) | 0,
15
- h = 0;
16
- for (; t !== 0; ) {
17
- ((h = t > 2e3 ? 2e3 : t), (t -= h));
18
- do ((s = (s + i[o++]) | 0), (r = (r + s) | 0));
19
- while (--h);
20
- ((s %= 65521), (r %= 65521));
21
- }
22
- return s | (r << 16) | 0;
23
- };
24
- const Zt = new Uint32Array(
25
- (() => {
26
- let e,
27
- i = [];
28
- for (var t = 0; t < 256; t++) {
29
- e = t;
30
- for (var o = 0; o < 8; o++)
31
- e = 1 & e ? 3988292384 ^ (e >>> 1) : e >>> 1;
32
- i[t] = e;
33
- }
34
- return i;
35
- })(),
36
- );
37
- var U = (e, i, t, o) => {
38
- const s = Zt,
39
- r = o + t;
40
- e ^= -1;
41
- for (let h = o; h < r; h++) e = (e >>> 8) ^ s[255 & (e ^ i[h])];
42
- return -1 ^ e;
43
- };
44
- const j = 16209;
45
- var St = function (e, i) {
46
- let t, o, s, r, h, l, p, n, a, A, w, d, Z, v, u, y, k, f, g, E, c, x, m, b;
47
- const _ = e.state;
48
- ((t = e.next_in),
49
- (m = e.input),
50
- (o = t + (e.avail_in - 5)),
51
- (s = e.next_out),
52
- (b = e.output),
53
- (r = s - (i - e.avail_out)),
54
- (h = s + (e.avail_out - 257)),
55
- (l = _.dmax),
56
- (p = _.wsize),
57
- (n = _.whave),
58
- (a = _.wnext),
59
- (A = _.window),
60
- (w = _.hold),
61
- (d = _.bits),
62
- (Z = _.lencode),
63
- (v = _.distcode),
64
- (u = (1 << _.lenbits) - 1),
65
- (y = (1 << _.distbits) - 1));
66
- t: do {
67
- (d < 15 && ((w += m[t++] << d), (d += 8), (w += m[t++] << d), (d += 8)),
68
- (k = Z[w & u]));
69
- e: for (;;) {
70
- if (
71
- ((f = k >>> 24),
72
- (w >>>= f),
73
- (d -= f),
74
- (f = (k >>> 16) & 255),
75
- f === 0)
76
- )
77
- b[s++] = 65535 & k;
78
- else {
79
- if (!(16 & f)) {
80
- if (!(64 & f)) {
81
- k = Z[(65535 & k) + (w & ((1 << f) - 1))];
82
- continue e;
83
- }
84
- if (32 & f) {
85
- _.mode = 16191;
86
- break t;
87
- }
88
- ((e.msg = "invalid literal/length code"), (_.mode = j));
89
- break t;
90
- }
91
- ((g = 65535 & k),
92
- (f &= 15),
93
- f &&
94
- (d < f && ((w += m[t++] << d), (d += 8)),
95
- (g += w & ((1 << f) - 1)),
96
- (w >>>= f),
97
- (d -= f)),
98
- d < 15 &&
99
- ((w += m[t++] << d), (d += 8), (w += m[t++] << d), (d += 8)),
100
- (k = v[w & y]));
101
- i: for (;;) {
102
- if (
103
- ((f = k >>> 24),
104
- (w >>>= f),
105
- (d -= f),
106
- (f = (k >>> 16) & 255),
107
- !(16 & f))
108
- ) {
109
- if (!(64 & f)) {
110
- k = v[(65535 & k) + (w & ((1 << f) - 1))];
111
- continue i;
112
- }
113
- ((e.msg = "invalid distance code"), (_.mode = j));
114
- break t;
115
- }
116
- if (
117
- ((E = 65535 & k),
118
- (f &= 15),
119
- d < f &&
120
- ((w += m[t++] << d),
121
- (d += 8),
122
- d < f && ((w += m[t++] << d), (d += 8))),
123
- (E += w & ((1 << f) - 1)),
124
- E > l)
125
- ) {
126
- ((e.msg = "invalid distance too far back"), (_.mode = j));
127
- break t;
128
- }
129
- if (((w >>>= f), (d -= f), (f = s - r), E > f)) {
130
- if (((f = E - f), f > n && _.sane)) {
131
- ((e.msg = "invalid distance too far back"), (_.mode = j));
132
- break t;
133
- }
134
- if (((c = 0), (x = A), a === 0)) {
135
- if (((c += p - f), f < g)) {
136
- g -= f;
137
- do b[s++] = A[c++];
138
- while (--f);
139
- ((c = s - E), (x = b));
140
- }
141
- } else if (a < f) {
142
- if (((c += p + a - f), (f -= a), f < g)) {
143
- g -= f;
144
- do b[s++] = A[c++];
145
- while (--f);
146
- if (((c = 0), a < g)) {
147
- ((f = a), (g -= f));
148
- do b[s++] = A[c++];
149
- while (--f);
150
- ((c = s - E), (x = b));
151
- }
152
- }
153
- } else if (((c += a - f), f < g)) {
154
- g -= f;
155
- do b[s++] = A[c++];
156
- while (--f);
157
- ((c = s - E), (x = b));
158
- }
159
- for (; g > 2; )
160
- ((b[s++] = x[c++]),
161
- (b[s++] = x[c++]),
162
- (b[s++] = x[c++]),
163
- (g -= 3));
164
- g && ((b[s++] = x[c++]), g > 1 && (b[s++] = x[c++]));
165
- } else {
166
- c = s - E;
167
- do
168
- ((b[s++] = b[c++]),
169
- (b[s++] = b[c++]),
170
- (b[s++] = b[c++]),
171
- (g -= 3));
172
- while (g > 2);
173
- g && ((b[s++] = b[c++]), g > 1 && (b[s++] = b[c++]));
174
- }
175
- break;
176
- }
177
- }
178
- break;
179
- }
180
- } while (t < o && s < h);
181
- ((g = d >> 3),
182
- (t -= g),
183
- (d -= g << 3),
184
- (w &= (1 << d) - 1),
185
- (e.next_in = t),
186
- (e.next_out = s),
187
- (e.avail_in = t < o ? o - t + 5 : 5 - (t - o)),
188
- (e.avail_out = s < h ? h - s + 257 : 257 - (s - h)),
189
- (_.hold = w),
190
- (_.bits = d));
191
- };
192
- const K = 15,
193
- Tt = new Uint16Array([
194
- 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59,
195
- 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0,
196
- ]),
197
- Ot = new Uint8Array([
198
- 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19,
199
- 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78,
200
- ]),
201
- Ut = new Uint16Array([
202
- 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513,
203
- 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0,
204
- ]),
205
- Dt = new Uint8Array([
206
- 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23,
207
- 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64,
208
- ]);
209
- var z = (e, i, t, o, s, r, h, l) => {
210
- const p = l.bits;
211
- let n,
212
- a,
213
- A,
214
- w,
215
- d,
216
- Z,
217
- v = 0,
218
- u = 0,
219
- y = 0,
220
- k = 0,
221
- f = 0,
222
- g = 0,
223
- E = 0,
224
- c = 0,
225
- x = 0,
226
- m = 0,
227
- b = null;
228
- const _ = new Uint16Array(16),
229
- S = new Uint16Array(16);
230
- let H,
231
- q,
232
- J,
233
- Q = null;
234
- for (v = 0; v <= K; v++) _[v] = 0;
235
- for (u = 0; u < o; u++) _[i[t + u]]++;
236
- for (f = p, k = K; k >= 1 && _[k] === 0; k--);
237
- if ((f > k && (f = k), k === 0))
238
- return ((s[r++] = 20971520), (s[r++] = 20971520), (l.bits = 1), 0);
239
- for (y = 1; y < k && _[y] === 0; y++);
240
- for (f < y && (f = y), c = 1, v = 1; v <= K; v++)
241
- if (((c <<= 1), (c -= _[v]), c < 0)) return -1;
242
- if (c > 0 && (e === 0 || k !== 1)) return -1;
243
- for (S[1] = 0, v = 1; v < K; v++) S[v + 1] = S[v] + _[v];
244
- for (u = 0; u < o; u++) i[t + u] !== 0 && (h[S[i[t + u]]++] = u);
245
- if (
246
- (e === 0
247
- ? ((b = Q = h), (Z = 20))
248
- : e === 1
249
- ? ((b = Tt), (Q = Ot), (Z = 257))
250
- : ((b = Ut), (Q = Dt), (Z = 0)),
251
- (m = 0),
252
- (u = 0),
253
- (v = y),
254
- (d = r),
255
- (g = f),
256
- (E = 0),
257
- (A = -1),
258
- (x = 1 << f),
259
- (w = x - 1),
260
- (e === 1 && x > 852) || (e === 2 && x > 592))
261
- )
262
- return 1;
263
- for (;;) {
264
- ((H = v - E),
265
- h[u] + 1 < Z
266
- ? ((q = 0), (J = h[u]))
267
- : h[u] >= Z
268
- ? ((q = Q[h[u] - Z]), (J = b[h[u] - Z]))
269
- : ((q = 96), (J = 0)),
270
- (n = 1 << (v - E)),
271
- (a = 1 << g),
272
- (y = a));
273
- do ((a -= n), (s[d + (m >> E) + a] = (H << 24) | (q << 16) | J | 0));
274
- while (a !== 0);
275
- for (n = 1 << (v - 1); m & n; ) n >>= 1;
276
- if ((n !== 0 ? ((m &= n - 1), (m += n)) : (m = 0), u++, --_[v] == 0)) {
277
- if (v === k) break;
278
- v = i[t + h[u]];
279
- }
280
- if (v > f && (m & w) !== A) {
281
- for (
282
- E === 0 && (E = f), d += y, g = v - E, c = 1 << g;
283
- g + E < k && ((c -= _[g + E]), !(c <= 0));
284
- )
285
- (g++, (c <<= 1));
286
- if (((x += 1 << g), (e === 1 && x > 852) || (e === 2 && x > 592)))
287
- return 1;
288
- ((A = m & w), (s[A] = (f << 24) | (g << 16) | (d - r) | 0));
289
- }
290
- }
291
- return (
292
- m !== 0 && (s[d + m] = ((v - E) << 24) | (64 << 16) | 0),
293
- (l.bits = f),
294
- 0
295
- );
296
- },
297
- V = {
298
- Z_NO_FLUSH: 0,
299
- Z_PARTIAL_FLUSH: 1,
300
- Z_SYNC_FLUSH: 2,
301
- Z_FULL_FLUSH: 3,
302
- Z_FINISH: 4,
303
- Z_BLOCK: 5,
304
- Z_TREES: 6,
305
- Z_OK: 0,
306
- Z_STREAM_END: 1,
307
- Z_NEED_DICT: 2,
308
- Z_ERRNO: -1,
309
- Z_STREAM_ERROR: -2,
310
- Z_DATA_ERROR: -3,
311
- Z_MEM_ERROR: -4,
312
- Z_BUF_ERROR: -5,
313
- Z_NO_COMPRESSION: 0,
314
- Z_BEST_SPEED: 1,
315
- Z_BEST_COMPRESSION: 9,
316
- Z_DEFAULT_COMPRESSION: -1,
317
- Z_FILTERED: 1,
318
- Z_HUFFMAN_ONLY: 2,
319
- Z_RLE: 3,
320
- Z_FIXED: 4,
321
- Z_DEFAULT_STRATEGY: 0,
322
- Z_BINARY: 0,
323
- Z_TEXT: 1,
324
- Z_UNKNOWN: 2,
325
- Z_DEFLATED: 8,
326
- };
327
- const {
328
- Z_FINISH: lt,
329
- Z_BLOCK: Bt,
330
- Z_TREES: P,
331
- Z_OK: C,
332
- Z_STREAM_END: It,
333
- Z_NEED_DICT: Ct,
334
- Z_STREAM_ERROR: T,
335
- Z_DATA_ERROR: dt,
336
- Z_MEM_ERROR: ft,
337
- Z_BUF_ERROR: Nt,
338
- Z_DEFLATED: ht,
339
- } = V,
340
- Y = 16180,
341
- G = 16190,
342
- D = 16191,
343
- $ = 16192,
344
- tt = 16194,
345
- X = 16199,
346
- W = 16200,
347
- et = 16206,
348
- R = 16209,
349
- ct = (e) =>
350
- ((e >>> 24) & 255) +
351
- ((e >>> 8) & 65280) +
352
- ((65280 & e) << 8) +
353
- ((255 & e) << 24);
354
- function zt() {
355
- ((this.strm = null),
356
- (this.mode = 0),
357
- (this.last = !1),
358
- (this.wrap = 0),
359
- (this.havedict = !1),
360
- (this.flags = 0),
361
- (this.dmax = 0),
362
- (this.check = 0),
363
- (this.total = 0),
364
- (this.head = null),
365
- (this.wbits = 0),
366
- (this.wsize = 0),
367
- (this.whave = 0),
368
- (this.wnext = 0),
369
- (this.window = null),
370
- (this.hold = 0),
371
- (this.bits = 0),
372
- (this.length = 0),
373
- (this.offset = 0),
374
- (this.extra = 0),
375
- (this.lencode = null),
376
- (this.distcode = null),
377
- (this.lenbits = 0),
378
- (this.distbits = 0),
379
- (this.ncode = 0),
380
- (this.nlen = 0),
381
- (this.ndist = 0),
382
- (this.have = 0),
383
- (this.next = null),
384
- (this.lens = new Uint16Array(320)),
385
- (this.work = new Uint16Array(288)),
386
- (this.lendyn = null),
387
- (this.distdyn = null),
388
- (this.sane = 0),
389
- (this.back = 0),
390
- (this.was = 0));
391
- }
392
- const N = (e) => {
393
- if (!e) return 1;
394
- const i = e.state;
395
- return !i || i.strm !== e || i.mode < Y || i.mode > 16211 ? 1 : 0;
396
- },
397
- ut = (e) => {
398
- if (N(e)) return T;
399
- const i = e.state;
400
- return (
401
- (e.total_in = e.total_out = i.total = 0),
402
- (e.msg = ""),
403
- i.wrap && (e.adler = 1 & i.wrap),
404
- (i.mode = Y),
405
- (i.last = 0),
406
- (i.havedict = 0),
407
- (i.flags = -1),
408
- (i.dmax = 32768),
409
- (i.head = null),
410
- (i.hold = 0),
411
- (i.bits = 0),
412
- (i.lencode = i.lendyn = new Int32Array(852)),
413
- (i.distcode = i.distdyn = new Int32Array(592)),
414
- (i.sane = 1),
415
- (i.back = -1),
416
- C
417
- );
418
- },
419
- wt = (e) => {
420
- if (N(e)) return T;
421
- const i = e.state;
422
- return ((i.wsize = 0), (i.whave = 0), (i.wnext = 0), ut(e));
423
- },
424
- bt = (e, i) => {
425
- let t;
426
- if (N(e)) return T;
427
- const o = e.state;
428
- return (
429
- i < 0 ? ((t = 0), (i = -i)) : ((t = 5 + (i >> 4)), i < 48 && (i &= 15)),
430
- i && (i < 8 || i > 15)
431
- ? T
432
- : (o.window !== null && o.wbits !== i && (o.window = null),
433
- (o.wrap = t),
434
- (o.wbits = i),
435
- wt(e))
436
- );
437
- },
438
- mt = (e, i) => {
439
- if (!e) return T;
440
- const t = new zt();
441
- ((e.state = t), (t.strm = e), (t.window = null), (t.mode = Y));
442
- const o = bt(e, i);
443
- return (o !== C && (e.state = null), o);
444
- };
445
- let it,
446
- nt,
447
- kt = !0;
448
- const Ft = (e) => {
449
- if (kt) {
450
- ((it = new Int32Array(512)), (nt = new Int32Array(32)));
451
- let i = 0;
452
- for (; i < 144; ) e.lens[i++] = 8;
453
- for (; i < 256; ) e.lens[i++] = 9;
454
- for (; i < 280; ) e.lens[i++] = 7;
455
- for (; i < 288; ) e.lens[i++] = 8;
456
- for (z(1, e.lens, 0, 288, it, 0, e.work, { bits: 9 }), i = 0; i < 32; )
457
- e.lens[i++] = 5;
458
- (z(2, e.lens, 0, 32, nt, 0, e.work, { bits: 5 }), (kt = !1));
459
- }
460
- ((e.lencode = it), (e.lenbits = 9), (e.distcode = nt), (e.distbits = 5));
461
- },
462
- _t = (e, i, t, o) => {
463
- let s;
464
- const r = e.state;
465
- return (
466
- r.window === null &&
467
- ((r.wsize = 1 << r.wbits),
468
- (r.wnext = 0),
469
- (r.whave = 0),
470
- (r.window = new Uint8Array(r.wsize))),
471
- o >= r.wsize
472
- ? (r.window.set(i.subarray(t - r.wsize, t), 0),
473
- (r.wnext = 0),
474
- (r.whave = r.wsize))
475
- : ((s = r.wsize - r.wnext),
476
- s > o && (s = o),
477
- r.window.set(i.subarray(t - o, t - o + s), r.wnext),
478
- (o -= s)
479
- ? (r.window.set(i.subarray(t - o, t), 0),
480
- (r.wnext = o),
481
- (r.whave = r.wsize))
482
- : ((r.wnext += s),
483
- r.wnext === r.wsize && (r.wnext = 0),
484
- r.whave < r.wsize && (r.whave += s))),
485
- 0
486
- );
487
- };
488
- var B = {
489
- inflateReset: wt,
490
- inflateReset2: bt,
491
- inflateResetKeep: ut,
492
- inflateInit: (e) => mt(e, 15),
493
- inflateInit2: mt,
494
- inflate: (e, i) => {
495
- let t,
496
- o,
497
- s,
498
- r,
499
- h,
500
- l,
501
- p,
502
- n,
503
- a,
504
- A,
505
- w,
506
- d,
507
- Z,
508
- v,
509
- u,
510
- y,
511
- k,
512
- f,
513
- g,
514
- E,
515
- c,
516
- x,
517
- m = 0;
518
- const b = new Uint8Array(4);
519
- let _, S;
520
- const H = new Uint8Array([
521
- 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15,
522
- ]);
523
- if (N(e) || !e.output || (!e.input && e.avail_in !== 0)) return T;
524
- ((t = e.state),
525
- t.mode === D && (t.mode = $),
526
- (h = e.next_out),
527
- (s = e.output),
528
- (p = e.avail_out),
529
- (r = e.next_in),
530
- (o = e.input),
531
- (l = e.avail_in),
532
- (n = t.hold),
533
- (a = t.bits),
534
- (A = l),
535
- (w = p),
536
- (x = C));
537
- t: for (;;)
538
- switch (t.mode) {
539
- case Y:
540
- if (t.wrap === 0) {
541
- t.mode = $;
542
- break;
543
- }
544
- for (; a < 16; ) {
545
- if (l === 0) break t;
546
- (l--, (n += o[r++] << a), (a += 8));
547
- }
548
- if (2 & t.wrap && n === 35615) {
549
- (t.wbits === 0 && (t.wbits = 15),
550
- (t.check = 0),
551
- (b[0] = 255 & n),
552
- (b[1] = (n >>> 8) & 255),
553
- (t.check = U(t.check, b, 2, 0)),
554
- (n = 0),
555
- (a = 0),
556
- (t.mode = 16181));
557
- break;
558
- }
559
- if (
560
- (t.head && (t.head.done = !1),
561
- !(1 & t.wrap) || (((255 & n) << 8) + (n >> 8)) % 31)
562
- ) {
563
- ((e.msg = "incorrect header check"), (t.mode = R));
564
- break;
565
- }
566
- if ((15 & n) !== ht) {
567
- ((e.msg = "unknown compression method"), (t.mode = R));
568
- break;
569
- }
570
- if (
571
- ((n >>>= 4),
572
- (a -= 4),
573
- (c = 8 + (15 & n)),
574
- t.wbits === 0 && (t.wbits = c),
575
- c > 15 || c > t.wbits)
576
- ) {
577
- ((e.msg = "invalid window size"), (t.mode = R));
578
- break;
579
- }
580
- ((t.dmax = 1 << t.wbits),
581
- (t.flags = 0),
582
- (e.adler = t.check = 1),
583
- (t.mode = 512 & n ? 16189 : D),
584
- (n = 0),
585
- (a = 0));
586
- break;
587
- case 16181:
588
- for (; a < 16; ) {
589
- if (l === 0) break t;
590
- (l--, (n += o[r++] << a), (a += 8));
591
- }
592
- if (((t.flags = n), (255 & t.flags) !== ht)) {
593
- ((e.msg = "unknown compression method"), (t.mode = R));
594
- break;
595
- }
596
- if (57344 & t.flags) {
597
- ((e.msg = "unknown header flags set"), (t.mode = R));
598
- break;
599
- }
600
- (t.head && (t.head.text = (n >> 8) & 1),
601
- 512 & t.flags &&
602
- 4 & t.wrap &&
603
- ((b[0] = 255 & n),
604
- (b[1] = (n >>> 8) & 255),
605
- (t.check = U(t.check, b, 2, 0))),
606
- (n = 0),
607
- (a = 0),
608
- (t.mode = 16182));
609
- case 16182:
610
- for (; a < 32; ) {
611
- if (l === 0) break t;
612
- (l--, (n += o[r++] << a), (a += 8));
613
- }
614
- (t.head && (t.head.time = n),
615
- 512 & t.flags &&
616
- 4 & t.wrap &&
617
- ((b[0] = 255 & n),
618
- (b[1] = (n >>> 8) & 255),
619
- (b[2] = (n >>> 16) & 255),
620
- (b[3] = (n >>> 24) & 255),
621
- (t.check = U(t.check, b, 4, 0))),
622
- (n = 0),
623
- (a = 0),
624
- (t.mode = 16183));
625
- case 16183:
626
- for (; a < 16; ) {
627
- if (l === 0) break t;
628
- (l--, (n += o[r++] << a), (a += 8));
629
- }
630
- (t.head && ((t.head.xflags = 255 & n), (t.head.os = n >> 8)),
631
- 512 & t.flags &&
632
- 4 & t.wrap &&
633
- ((b[0] = 255 & n),
634
- (b[1] = (n >>> 8) & 255),
635
- (t.check = U(t.check, b, 2, 0))),
636
- (n = 0),
637
- (a = 0),
638
- (t.mode = 16184));
639
- case 16184:
640
- if (1024 & t.flags) {
641
- for (; a < 16; ) {
642
- if (l === 0) break t;
643
- (l--, (n += o[r++] << a), (a += 8));
644
- }
645
- ((t.length = n),
646
- t.head && (t.head.extra_len = n),
647
- 512 & t.flags &&
648
- 4 & t.wrap &&
649
- ((b[0] = 255 & n),
650
- (b[1] = (n >>> 8) & 255),
651
- (t.check = U(t.check, b, 2, 0))),
652
- (n = 0),
653
- (a = 0));
654
- } else t.head && (t.head.extra = null);
655
- t.mode = 16185;
656
- case 16185:
657
- if (
658
- 1024 & t.flags &&
659
- ((d = t.length),
660
- d > l && (d = l),
661
- d &&
662
- (t.head &&
663
- ((c = t.head.extra_len - t.length),
664
- t.head.extra ||
665
- (t.head.extra = new Uint8Array(t.head.extra_len)),
666
- t.head.extra.set(o.subarray(r, r + d), c)),
667
- 512 & t.flags && 4 & t.wrap && (t.check = U(t.check, o, d, r)),
668
- (l -= d),
669
- (r += d),
670
- (t.length -= d)),
671
- t.length)
672
- )
673
- break t;
674
- ((t.length = 0), (t.mode = 16186));
675
- case 16186:
676
- if (2048 & t.flags) {
677
- if (l === 0) break t;
678
- d = 0;
679
- do
680
- ((c = o[r + d++]),
681
- t.head &&
682
- c &&
683
- t.length < 65536 &&
684
- (t.head.name += String.fromCharCode(c)));
685
- while (c && d < l);
686
- if (
687
- (512 & t.flags && 4 & t.wrap && (t.check = U(t.check, o, d, r)),
688
- (l -= d),
689
- (r += d),
690
- c)
691
- )
692
- break t;
693
- } else t.head && (t.head.name = null);
694
- ((t.length = 0), (t.mode = 16187));
695
- case 16187:
696
- if (4096 & t.flags) {
697
- if (l === 0) break t;
698
- d = 0;
699
- do
700
- ((c = o[r + d++]),
701
- t.head &&
702
- c &&
703
- t.length < 65536 &&
704
- (t.head.comment += String.fromCharCode(c)));
705
- while (c && d < l);
706
- if (
707
- (512 & t.flags && 4 & t.wrap && (t.check = U(t.check, o, d, r)),
708
- (l -= d),
709
- (r += d),
710
- c)
711
- )
712
- break t;
713
- } else t.head && (t.head.comment = null);
714
- t.mode = 16188;
715
- case 16188:
716
- if (512 & t.flags) {
717
- for (; a < 16; ) {
718
- if (l === 0) break t;
719
- (l--, (n += o[r++] << a), (a += 8));
720
- }
721
- if (4 & t.wrap && n !== (65535 & t.check)) {
722
- ((e.msg = "header crc mismatch"), (t.mode = R));
723
- break;
724
- }
725
- ((n = 0), (a = 0));
726
- }
727
- (t.head && ((t.head.hcrc = (t.flags >> 9) & 1), (t.head.done = !0)),
728
- (e.adler = t.check = 0),
729
- (t.mode = D));
730
- break;
731
- case 16189:
732
- for (; a < 32; ) {
733
- if (l === 0) break t;
734
- (l--, (n += o[r++] << a), (a += 8));
735
- }
736
- ((e.adler = t.check = ct(n)), (n = 0), (a = 0), (t.mode = G));
737
- case G:
738
- if (t.havedict === 0)
739
- return (
740
- (e.next_out = h),
741
- (e.avail_out = p),
742
- (e.next_in = r),
743
- (e.avail_in = l),
744
- (t.hold = n),
745
- (t.bits = a),
746
- Ct
747
- );
748
- ((e.adler = t.check = 1), (t.mode = D));
749
- case D:
750
- if (i === Bt || i === P) break t;
751
- case $:
752
- if (t.last) {
753
- ((n >>>= 7 & a), (a -= 7 & a), (t.mode = et));
754
- break;
755
- }
756
- for (; a < 3; ) {
757
- if (l === 0) break t;
758
- (l--, (n += o[r++] << a), (a += 8));
759
- }
760
- switch (((t.last = 1 & n), (n >>>= 1), (a -= 1), 3 & n)) {
761
- case 0:
762
- t.mode = 16193;
763
- break;
764
- case 1:
765
- if ((Ft(t), (t.mode = X), i === P)) {
766
- ((n >>>= 2), (a -= 2));
767
- break t;
768
- }
769
- break;
770
- case 2:
771
- t.mode = 16196;
772
- break;
773
- case 3:
774
- ((e.msg = "invalid block type"), (t.mode = R));
775
- }
776
- ((n >>>= 2), (a -= 2));
777
- break;
778
- case 16193:
779
- for (n >>>= 7 & a, a -= 7 & a; a < 32; ) {
780
- if (l === 0) break t;
781
- (l--, (n += o[r++] << a), (a += 8));
782
- }
783
- if ((65535 & n) != ((n >>> 16) ^ 65535)) {
784
- ((e.msg = "invalid stored block lengths"), (t.mode = R));
785
- break;
786
- }
787
- if (
788
- ((t.length = 65535 & n), (n = 0), (a = 0), (t.mode = tt), i === P)
789
- )
790
- break t;
791
- case tt:
792
- t.mode = 16195;
793
- case 16195:
794
- if (((d = t.length), d)) {
795
- if ((d > l && (d = l), d > p && (d = p), d === 0)) break t;
796
- (s.set(o.subarray(r, r + d), h),
797
- (l -= d),
798
- (r += d),
799
- (p -= d),
800
- (h += d),
801
- (t.length -= d));
802
- break;
803
- }
804
- t.mode = D;
805
- break;
806
- case 16196:
807
- for (; a < 14; ) {
808
- if (l === 0) break t;
809
- (l--, (n += o[r++] << a), (a += 8));
810
- }
811
- if (
812
- ((t.nlen = 257 + (31 & n)),
813
- (n >>>= 5),
814
- (a -= 5),
815
- (t.ndist = 1 + (31 & n)),
816
- (n >>>= 5),
817
- (a -= 5),
818
- (t.ncode = 4 + (15 & n)),
819
- (n >>>= 4),
820
- (a -= 4),
821
- t.nlen > 286 || t.ndist > 30)
822
- ) {
823
- ((e.msg = "too many length or distance symbols"), (t.mode = R));
824
- break;
825
- }
826
- ((t.have = 0), (t.mode = 16197));
827
- case 16197:
828
- for (; t.have < t.ncode; ) {
829
- for (; a < 3; ) {
830
- if (l === 0) break t;
831
- (l--, (n += o[r++] << a), (a += 8));
832
- }
833
- ((t.lens[H[t.have++]] = 7 & n), (n >>>= 3), (a -= 3));
834
- }
835
- for (; t.have < 19; ) t.lens[H[t.have++]] = 0;
836
- if (
837
- ((t.lencode = t.lendyn),
838
- (t.lenbits = 7),
839
- (_ = { bits: t.lenbits }),
840
- (x = z(0, t.lens, 0, 19, t.lencode, 0, t.work, _)),
841
- (t.lenbits = _.bits),
842
- x)
843
- ) {
844
- ((e.msg = "invalid code lengths set"), (t.mode = R));
845
- break;
846
- }
847
- ((t.have = 0), (t.mode = 16198));
848
- case 16198:
849
- for (; t.have < t.nlen + t.ndist; ) {
850
- for (
851
- ;
852
- (m = t.lencode[n & ((1 << t.lenbits) - 1)]),
853
- (u = m >>> 24),
854
- (y = (m >>> 16) & 255),
855
- (k = 65535 & m),
856
- !(u <= a);
857
- ) {
858
- if (l === 0) break t;
859
- (l--, (n += o[r++] << a), (a += 8));
860
- }
861
- if (k < 16) ((n >>>= u), (a -= u), (t.lens[t.have++] = k));
862
- else {
863
- if (k === 16) {
864
- for (S = u + 2; a < S; ) {
865
- if (l === 0) break t;
866
- (l--, (n += o[r++] << a), (a += 8));
867
- }
868
- if (((n >>>= u), (a -= u), t.have === 0)) {
869
- ((e.msg = "invalid bit length repeat"), (t.mode = R));
870
- break;
871
- }
872
- ((c = t.lens[t.have - 1]),
873
- (d = 3 + (3 & n)),
874
- (n >>>= 2),
875
- (a -= 2));
876
- } else if (k === 17) {
877
- for (S = u + 3; a < S; ) {
878
- if (l === 0) break t;
879
- (l--, (n += o[r++] << a), (a += 8));
880
- }
881
- ((n >>>= u),
882
- (a -= u),
883
- (c = 0),
884
- (d = 3 + (7 & n)),
885
- (n >>>= 3),
886
- (a -= 3));
887
- } else {
888
- for (S = u + 7; a < S; ) {
889
- if (l === 0) break t;
890
- (l--, (n += o[r++] << a), (a += 8));
891
- }
892
- ((n >>>= u),
893
- (a -= u),
894
- (c = 0),
895
- (d = 11 + (127 & n)),
896
- (n >>>= 7),
897
- (a -= 7));
898
- }
899
- if (t.have + d > t.nlen + t.ndist) {
900
- ((e.msg = "invalid bit length repeat"), (t.mode = R));
901
- break;
902
- }
903
- for (; d--; ) t.lens[t.have++] = c;
904
- }
905
- }
906
- if (t.mode === R) break;
907
- if (t.lens[256] === 0) {
908
- ((e.msg = "invalid code -- missing end-of-block"), (t.mode = R));
909
- break;
910
- }
911
- if (
912
- ((t.lenbits = 9),
913
- (_ = { bits: t.lenbits }),
914
- (x = z(1, t.lens, 0, t.nlen, t.lencode, 0, t.work, _)),
915
- (t.lenbits = _.bits),
916
- x)
917
- ) {
918
- ((e.msg = "invalid literal/lengths set"), (t.mode = R));
919
- break;
920
- }
921
- if (
922
- ((t.distbits = 6),
923
- (t.distcode = t.distdyn),
924
- (_ = { bits: t.distbits }),
925
- (x = z(2, t.lens, t.nlen, t.ndist, t.distcode, 0, t.work, _)),
926
- (t.distbits = _.bits),
927
- x)
928
- ) {
929
- ((e.msg = "invalid distances set"), (t.mode = R));
930
- break;
931
- }
932
- if (((t.mode = X), i === P)) break t;
933
- case X:
934
- t.mode = W;
935
- case W:
936
- if (l >= 6 && p >= 258) {
937
- ((e.next_out = h),
938
- (e.avail_out = p),
939
- (e.next_in = r),
940
- (e.avail_in = l),
941
- (t.hold = n),
942
- (t.bits = a),
943
- St(e, w),
944
- (h = e.next_out),
945
- (s = e.output),
946
- (p = e.avail_out),
947
- (r = e.next_in),
948
- (o = e.input),
949
- (l = e.avail_in),
950
- (n = t.hold),
951
- (a = t.bits),
952
- t.mode === D && (t.back = -1));
953
- break;
954
- }
955
- for (
956
- t.back = 0;
957
- (m = t.lencode[n & ((1 << t.lenbits) - 1)]),
958
- (u = m >>> 24),
959
- (y = (m >>> 16) & 255),
960
- (k = 65535 & m),
961
- !(u <= a);
962
- ) {
963
- if (l === 0) break t;
964
- (l--, (n += o[r++] << a), (a += 8));
965
- }
966
- if (y && !(240 & y)) {
967
- for (
968
- f = u, g = y, E = k;
969
- (m = t.lencode[E + ((n & ((1 << (f + g)) - 1)) >> f)]),
970
- (u = m >>> 24),
971
- (y = (m >>> 16) & 255),
972
- (k = 65535 & m),
973
- !(f + u <= a);
974
- ) {
975
- if (l === 0) break t;
976
- (l--, (n += o[r++] << a), (a += 8));
977
- }
978
- ((n >>>= f), (a -= f), (t.back += f));
979
- }
980
- if (
981
- ((n >>>= u), (a -= u), (t.back += u), (t.length = k), y === 0)
982
- ) {
983
- t.mode = 16205;
984
- break;
985
- }
986
- if (32 & y) {
987
- ((t.back = -1), (t.mode = D));
988
- break;
989
- }
990
- if (64 & y) {
991
- ((e.msg = "invalid literal/length code"), (t.mode = R));
992
- break;
993
- }
994
- ((t.extra = 15 & y), (t.mode = 16201));
995
- case 16201:
996
- if (t.extra) {
997
- for (S = t.extra; a < S; ) {
998
- if (l === 0) break t;
999
- (l--, (n += o[r++] << a), (a += 8));
1000
- }
1001
- ((t.length += n & ((1 << t.extra) - 1)),
1002
- (n >>>= t.extra),
1003
- (a -= t.extra),
1004
- (t.back += t.extra));
1005
- }
1006
- ((t.was = t.length), (t.mode = 16202));
1007
- case 16202:
1008
- for (
1009
- ;
1010
- (m = t.distcode[n & ((1 << t.distbits) - 1)]),
1011
- (u = m >>> 24),
1012
- (y = (m >>> 16) & 255),
1013
- (k = 65535 & m),
1014
- !(u <= a);
1015
- ) {
1016
- if (l === 0) break t;
1017
- (l--, (n += o[r++] << a), (a += 8));
1018
- }
1019
- if (!(240 & y)) {
1020
- for (
1021
- f = u, g = y, E = k;
1022
- (m = t.distcode[E + ((n & ((1 << (f + g)) - 1)) >> f)]),
1023
- (u = m >>> 24),
1024
- (y = (m >>> 16) & 255),
1025
- (k = 65535 & m),
1026
- !(f + u <= a);
1027
- ) {
1028
- if (l === 0) break t;
1029
- (l--, (n += o[r++] << a), (a += 8));
1030
- }
1031
- ((n >>>= f), (a -= f), (t.back += f));
1032
- }
1033
- if (((n >>>= u), (a -= u), (t.back += u), 64 & y)) {
1034
- ((e.msg = "invalid distance code"), (t.mode = R));
1035
- break;
1036
- }
1037
- ((t.offset = k), (t.extra = 15 & y), (t.mode = 16203));
1038
- case 16203:
1039
- if (t.extra) {
1040
- for (S = t.extra; a < S; ) {
1041
- if (l === 0) break t;
1042
- (l--, (n += o[r++] << a), (a += 8));
1043
- }
1044
- ((t.offset += n & ((1 << t.extra) - 1)),
1045
- (n >>>= t.extra),
1046
- (a -= t.extra),
1047
- (t.back += t.extra));
1048
- }
1049
- if (t.offset > t.dmax) {
1050
- ((e.msg = "invalid distance too far back"), (t.mode = R));
1051
- break;
1052
- }
1053
- t.mode = 16204;
1054
- case 16204:
1055
- if (p === 0) break t;
1056
- if (((d = w - p), t.offset > d)) {
1057
- if (((d = t.offset - d), d > t.whave && t.sane)) {
1058
- ((e.msg = "invalid distance too far back"), (t.mode = R));
1059
- break;
1060
- }
1061
- (d > t.wnext
1062
- ? ((d -= t.wnext), (Z = t.wsize - d))
1063
- : (Z = t.wnext - d),
1064
- d > t.length && (d = t.length),
1065
- (v = t.window));
1066
- } else ((v = s), (Z = h - t.offset), (d = t.length));
1067
- (d > p && (d = p), (p -= d), (t.length -= d));
1068
- do s[h++] = v[Z++];
1069
- while (--d);
1070
- t.length === 0 && (t.mode = W);
1071
- break;
1072
- case 16205:
1073
- if (p === 0) break t;
1074
- ((s[h++] = t.length), p--, (t.mode = W));
1075
- break;
1076
- case et:
1077
- if (t.wrap) {
1078
- for (; a < 32; ) {
1079
- if (l === 0) break t;
1080
- (l--, (n |= o[r++] << a), (a += 8));
1081
- }
1082
- if (
1083
- ((w -= p),
1084
- (e.total_out += w),
1085
- (t.total += w),
1086
- 4 & t.wrap &&
1087
- w &&
1088
- (e.adler = t.check =
1089
- t.flags
1090
- ? U(t.check, s, w, h - w)
1091
- : I(t.check, s, w, h - w)),
1092
- (w = p),
1093
- 4 & t.wrap && (t.flags ? n : ct(n)) !== t.check)
1094
- ) {
1095
- ((e.msg = "incorrect data check"), (t.mode = R));
1096
- break;
1097
- }
1098
- ((n = 0), (a = 0));
1099
- }
1100
- t.mode = 16207;
1101
- case 16207:
1102
- if (t.wrap && t.flags) {
1103
- for (; a < 32; ) {
1104
- if (l === 0) break t;
1105
- (l--, (n += o[r++] << a), (a += 8));
1106
- }
1107
- if (4 & t.wrap && n !== (4294967295 & t.total)) {
1108
- ((e.msg = "incorrect length check"), (t.mode = R));
1109
- break;
1110
- }
1111
- ((n = 0), (a = 0));
1112
- }
1113
- t.mode = 16208;
1114
- case 16208:
1115
- x = It;
1116
- break t;
1117
- case R:
1118
- x = dt;
1119
- break t;
1120
- case 16210:
1121
- return ft;
1122
- default:
1123
- return T;
1124
- }
1125
- return (
1126
- (e.next_out = h),
1127
- (e.avail_out = p),
1128
- (e.next_in = r),
1129
- (e.avail_in = l),
1130
- (t.hold = n),
1131
- (t.bits = a),
1132
- (t.wsize ||
1133
- (w !== e.avail_out && t.mode < R && (t.mode < et || i !== lt))) &&
1134
- _t(e, e.output, e.next_out, w - e.avail_out),
1135
- (A -= e.avail_in),
1136
- (w -= e.avail_out),
1137
- (e.total_in += A),
1138
- (e.total_out += w),
1139
- (t.total += w),
1140
- 4 & t.wrap &&
1141
- w &&
1142
- (e.adler = t.check =
1143
- t.flags
1144
- ? U(t.check, s, w, e.next_out - w)
1145
- : I(t.check, s, w, e.next_out - w)),
1146
- (e.data_type =
1147
- t.bits +
1148
- (t.last ? 64 : 0) +
1149
- (t.mode === D ? 128 : 0) +
1150
- (t.mode === X || t.mode === tt ? 256 : 0)),
1151
- ((A === 0 && w === 0) || i === lt) && x === C && (x = Nt),
1152
- x
1153
- );
1154
- },
1155
- inflateEnd: (e) => {
1156
- if (N(e)) return T;
1157
- let i = e.state;
1158
- return (i.window && (i.window = null), (e.state = null), C);
1159
- },
1160
- inflateGetHeader: (e, i) => {
1161
- if (N(e)) return T;
1162
- const t = e.state;
1163
- return 2 & t.wrap ? ((t.head = i), (i.done = !1), C) : T;
1164
- },
1165
- inflateSetDictionary: (e, i) => {
1166
- const t = i.length;
1167
- let o, s, r;
1168
- return N(e)
1169
- ? T
1170
- : ((o = e.state),
1171
- o.wrap !== 0 && o.mode !== G
1172
- ? T
1173
- : o.mode === G && ((s = 1), (s = I(s, i, t, 0)), s !== o.check)
1174
- ? dt
1175
- : ((r = _t(e, i, t, t)),
1176
- r ? ((o.mode = 16210), ft) : ((o.havedict = 1), C)));
1177
- },
1178
- inflateInfo: "pako inflate (from Nodeca project)",
1179
- };
1180
- const Lt = (e, i) => Object.prototype.hasOwnProperty.call(e, i);
1181
- var Mt = function (e) {
1182
- const i = Array.prototype.slice.call(arguments, 1);
1183
- for (; i.length; ) {
1184
- const t = i.shift();
1185
- if (t) {
1186
- if (typeof t != "object")
1187
- throw new TypeError(t + "must be non-object");
1188
- for (const o in t) Lt(t, o) && (e[o] = t[o]);
1189
- }
1190
- }
1191
- return e;
1192
- },
1193
- Ht = (e) => {
1194
- let i = 0;
1195
- for (let o = 0, s = e.length; o < s; o++) i += e[o].length;
1196
- const t = new Uint8Array(i);
1197
- for (let o = 0, s = 0, r = e.length; o < r; o++) {
1198
- let h = e[o];
1199
- (t.set(h, s), (s += h.length));
1200
- }
1201
- return t;
1202
- };
1203
- let gt = !0;
1204
- try {
1205
- String.fromCharCode.apply(null, new Uint8Array(1));
1206
- } catch {
1207
- gt = !1;
1208
- }
1209
- const F = new Uint8Array(256);
1210
- for (let e = 0; e < 256; e++)
1211
- F[e] =
1212
- e >= 252
1213
- ? 6
1214
- : e >= 248
1215
- ? 5
1216
- : e >= 240
1217
- ? 4
1218
- : e >= 224
1219
- ? 3
1220
- : e >= 192
1221
- ? 2
1222
- : 1;
1223
- F[254] = F[254] = 1;
1224
- var jt = (e) => {
1225
- if (typeof TextEncoder == "function" && TextEncoder.prototype.encode)
1226
- return new TextEncoder().encode(e);
1227
- let i,
1228
- t,
1229
- o,
1230
- s,
1231
- r,
1232
- h = e.length,
1233
- l = 0;
1234
- for (s = 0; s < h; s++)
1235
- ((t = e.charCodeAt(s)),
1236
- (64512 & t) == 55296 &&
1237
- s + 1 < h &&
1238
- ((o = e.charCodeAt(s + 1)),
1239
- (64512 & o) == 56320 &&
1240
- ((t = 65536 + ((t - 55296) << 10) + (o - 56320)), s++)),
1241
- (l += t < 128 ? 1 : t < 2048 ? 2 : t < 65536 ? 3 : 4));
1242
- for (i = new Uint8Array(l), r = 0, s = 0; r < l; s++)
1243
- ((t = e.charCodeAt(s)),
1244
- (64512 & t) == 55296 &&
1245
- s + 1 < h &&
1246
- ((o = e.charCodeAt(s + 1)),
1247
- (64512 & o) == 56320 &&
1248
- ((t = 65536 + ((t - 55296) << 10) + (o - 56320)), s++)),
1249
- t < 128
1250
- ? (i[r++] = t)
1251
- : t < 2048
1252
- ? ((i[r++] = 192 | (t >>> 6)), (i[r++] = 128 | (63 & t)))
1253
- : t < 65536
1254
- ? ((i[r++] = 224 | (t >>> 12)),
1255
- (i[r++] = 128 | ((t >>> 6) & 63)),
1256
- (i[r++] = 128 | (63 & t)))
1257
- : ((i[r++] = 240 | (t >>> 18)),
1258
- (i[r++] = 128 | ((t >>> 12) & 63)),
1259
- (i[r++] = 128 | ((t >>> 6) & 63)),
1260
- (i[r++] = 128 | (63 & t))));
1261
- return i;
1262
- },
1263
- Kt = (e, i) => {
1264
- const t = i || e.length;
1265
- if (typeof TextDecoder == "function" && TextDecoder.prototype.decode)
1266
- return new TextDecoder().decode(e.subarray(0, i));
1267
- let o, s;
1268
- const r = new Array(2 * t);
1269
- for (s = 0, o = 0; o < t; ) {
1270
- let h = e[o++];
1271
- if (h < 128) {
1272
- r[s++] = h;
1273
- continue;
1274
- }
1275
- let l = F[h];
1276
- if (l > 4) ((r[s++] = 65533), (o += l - 1));
1277
- else {
1278
- for (h &= l === 2 ? 31 : l === 3 ? 15 : 7; l > 1 && o < t; )
1279
- ((h = (h << 6) | (63 & e[o++])), l--);
1280
- l > 1
1281
- ? (r[s++] = 65533)
1282
- : h < 65536
1283
- ? (r[s++] = h)
1284
- : ((h -= 65536),
1285
- (r[s++] = 55296 | ((h >> 10) & 1023)),
1286
- (r[s++] = 56320 | (1023 & h)));
1287
- }
1288
- }
1289
- return ((h, l) => {
1290
- if (l < 65534 && h.subarray && gt)
1291
- return String.fromCharCode.apply(
1292
- null,
1293
- h.length === l ? h : h.subarray(0, l),
1294
- );
1295
- let p = "";
1296
- for (let n = 0; n < l; n++) p += String.fromCharCode(h[n]);
1297
- return p;
1298
- })(r, s);
1299
- },
1300
- Pt = (e, i) => {
1301
- (i = i || e.length) > e.length && (i = e.length);
1302
- let t = i - 1;
1303
- for (; t >= 0 && (192 & e[t]) == 128; ) t--;
1304
- return t < 0 || t === 0 ? i : t + F[e[t]] > i ? t : i;
1305
- },
1306
- at = {
1307
- 2: "need dictionary",
1308
- 1: "stream end",
1309
- 0: "",
1310
- "-1": "file error",
1311
- "-2": "stream error",
1312
- "-3": "data error",
1313
- "-4": "insufficient memory",
1314
- "-5": "buffer error",
1315
- "-6": "incompatible version",
1316
- },
1317
- Yt = function () {
1318
- ((this.input = null),
1319
- (this.next_in = 0),
1320
- (this.avail_in = 0),
1321
- (this.total_in = 0),
1322
- (this.output = null),
1323
- (this.next_out = 0),
1324
- (this.avail_out = 0),
1325
- (this.total_out = 0),
1326
- (this.msg = ""),
1327
- (this.state = null),
1328
- (this.data_type = 2),
1329
- (this.adler = 0));
1330
- },
1331
- Gt = function () {
1332
- ((this.text = 0),
1333
- (this.time = 0),
1334
- (this.xflags = 0),
1335
- (this.os = 0),
1336
- (this.extra = null),
1337
- (this.extra_len = 0),
1338
- (this.name = ""),
1339
- (this.comment = ""),
1340
- (this.hcrc = 0),
1341
- (this.done = !1));
1342
- };
1343
- const pt = Object.prototype.toString,
1344
- {
1345
- Z_NO_FLUSH: Xt,
1346
- Z_FINISH: Wt,
1347
- Z_OK: L,
1348
- Z_STREAM_END: rt,
1349
- Z_NEED_DICT: ot,
1350
- Z_STREAM_ERROR: qt,
1351
- Z_DATA_ERROR: vt,
1352
- Z_MEM_ERROR: Jt,
1353
- } = V;
1354
- function M(e) {
1355
- this.options = Mt({ chunkSize: 65536, windowBits: 15, to: "" }, e || {});
1356
- const i = this.options;
1357
- (i.raw &&
1358
- i.windowBits >= 0 &&
1359
- i.windowBits < 16 &&
1360
- ((i.windowBits = -i.windowBits),
1361
- i.windowBits === 0 && (i.windowBits = -15)),
1362
- !(i.windowBits >= 0 && i.windowBits < 16) ||
1363
- (e && e.windowBits) ||
1364
- (i.windowBits += 32),
1365
- i.windowBits > 15 &&
1366
- i.windowBits < 48 &&
1367
- !(15 & i.windowBits) &&
1368
- (i.windowBits |= 15),
1369
- (this.err = 0),
1370
- (this.msg = ""),
1371
- (this.ended = !1),
1372
- (this.chunks = []),
1373
- (this.strm = new Yt()),
1374
- (this.strm.avail_out = 0));
1375
- let t = B.inflateInit2(this.strm, i.windowBits);
1376
- if (t !== L) throw new Error(at[t]);
1377
- if (
1378
- ((this.header = new Gt()),
1379
- B.inflateGetHeader(this.strm, this.header),
1380
- i.dictionary &&
1381
- (typeof i.dictionary == "string"
1382
- ? (i.dictionary = jt(i.dictionary))
1383
- : pt.call(i.dictionary) === "[object ArrayBuffer]" &&
1384
- (i.dictionary = new Uint8Array(i.dictionary)),
1385
- i.raw &&
1386
- ((t = B.inflateSetDictionary(this.strm, i.dictionary)), t !== L)))
1387
- )
1388
- throw new Error(at[t]);
1389
- }
1390
- function st(e, i) {
1391
- const t = new M(i);
1392
- if ((t.push(e), t.err)) throw t.msg || at[t.err];
1393
- return t.result;
1394
- }
1395
- ((M.prototype.push = function (e, i) {
1396
- const t = this.strm,
1397
- o = this.options.chunkSize,
1398
- s = this.options.dictionary;
1399
- let r, h, l;
1400
- if (this.ended) return !1;
1401
- for (
1402
- h = i === ~~i ? i : i === !0 ? Wt : Xt,
1403
- pt.call(e) === "[object ArrayBuffer]"
1404
- ? (t.input = new Uint8Array(e))
1405
- : (t.input = e),
1406
- t.next_in = 0,
1407
- t.avail_in = t.input.length;
1408
- ;
1409
- ) {
1410
- for (
1411
- t.avail_out === 0 &&
1412
- ((t.output = new Uint8Array(o)), (t.next_out = 0), (t.avail_out = o)),
1413
- r = B.inflate(t, h),
1414
- r === ot &&
1415
- s &&
1416
- ((r = B.inflateSetDictionary(t, s)),
1417
- r === L ? (r = B.inflate(t, h)) : r === vt && (r = ot));
1418
- t.avail_in > 0 && r === rt && t.state.wrap > 0 && e[t.next_in] !== 0;
1419
- )
1420
- (B.inflateReset(t), (r = B.inflate(t, h)));
1421
- switch (r) {
1422
- case qt:
1423
- case vt:
1424
- case ot:
1425
- case Jt:
1426
- return (this.onEnd(r), (this.ended = !0), !1);
1427
- }
1428
- if (((l = t.avail_out), t.next_out && (t.avail_out === 0 || r === rt)))
1429
- if (this.options.to === "string") {
1430
- let p = Pt(t.output, t.next_out),
1431
- n = t.next_out - p,
1432
- a = Kt(t.output, p);
1433
- ((t.next_out = n),
1434
- (t.avail_out = o - n),
1435
- n && t.output.set(t.output.subarray(p, p + n), 0),
1436
- this.onData(a));
1437
- } else
1438
- this.onData(
1439
- t.output.length === t.next_out
1440
- ? t.output
1441
- : t.output.subarray(0, t.next_out),
1442
- );
1443
- if (r !== L || l !== 0) {
1444
- if (r === rt)
1445
- return (
1446
- (r = B.inflateEnd(this.strm)),
1447
- this.onEnd(r),
1448
- (this.ended = !0),
1449
- !0
1450
- );
1451
- if (t.avail_in === 0) break;
1452
- }
1453
- }
1454
- return !0;
1455
- }),
1456
- (M.prototype.onData = function (e) {
1457
- this.chunks.push(e);
1458
- }),
1459
- (M.prototype.onEnd = function (e) {
1460
- (e === L &&
1461
- (this.options.to === "string"
1462
- ? (this.result = this.chunks.join(""))
1463
- : (this.result = Ht(this.chunks))),
1464
- (this.chunks = []),
1465
- (this.err = e),
1466
- (this.msg = this.strm.msg));
1467
- }));
1468
- var xt = M,
1469
- yt = st,
1470
- Et = function (e, i) {
1471
- return (((i = i || {}).raw = !0), st(e, i));
1472
- },
1473
- Rt = st,
1474
- At = V,
1475
- Qt = {
1476
- Inflate: xt,
1477
- inflate: yt,
1478
- inflateRaw: Et,
1479
- ungzip: Rt,
1480
- constants: At,
1481
- };
1482
- ((O.Inflate = xt),
1483
- (O.constants = At),
1484
- (O.default = Qt),
1485
- (O.inflate = yt),
1486
- (O.inflateRaw = Et),
1487
- (O.ungzip = Rt),
1488
- Object.defineProperty(O, "__esModule", { value: !0 }));
1489
- });