@ifc-lite/viewer 1.21.0 → 1.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (598) hide show
  1. package/.turbo/turbo-build.log +91 -57
  2. package/CHANGELOG.md +33 -0
  3. package/dist/assets/__vite-browser-external-B1O5LaIO.js +1 -0
  4. package/dist/assets/arrow-CXWhTnNT.js +20 -0
  5. package/dist/assets/ascii-points-source-bTjLVmUX.js +1 -0
  6. package/dist/assets/{basketViewActivator-Bzw51jhm.js → basketViewActivator--cFpU2Q9.js} +14 -15
  7. package/dist/assets/bcf-Ba2CjHib.js +281 -0
  8. package/dist/assets/browser-DXS29_v9.js +695 -0
  9. package/dist/assets/cesium-BoVuJvTC.js +17850 -0
  10. package/dist/assets/decode-worker-CgM1iNSK.js +172 -0
  11. package/dist/assets/deflate-DCLbV4UE.js +1 -0
  12. package/dist/assets/{drawing-2d-Bjy8YPrg.js → drawing-2d-C71b8Ugx.js} +1 -1
  13. package/dist/assets/e57-source-CQHxE8n3.js +1 -0
  14. package/dist/assets/emscripten-module-B1g2L2eS.wasm +0 -0
  15. package/dist/assets/emscripten-module-DHbYPfAp.wasm +0 -0
  16. package/dist/assets/emscripten-module-ZrHFMo7O.wasm +0 -0
  17. package/dist/assets/emscripten-module-uFzwHH0Y.wasm +0 -0
  18. package/dist/assets/emscripten-module.browser-BLJD5hhE.js +1 -0
  19. package/dist/assets/{esbuild-Cpd5nU_H.wasm → esbuild-CzsZLPr0.wasm} +0 -0
  20. package/dist/assets/esbuild-FgU11_Eg.js +1 -0
  21. package/dist/assets/event-B0kAzHa-.js +1 -0
  22. package/dist/assets/exporters-Bf6PTtdW.js +5723 -0
  23. package/dist/assets/ffi-Boa1QuFa.js +1 -0
  24. package/dist/assets/geometry-controller.worker-CEr00X3X.js +7 -0
  25. package/dist/assets/geometry.worker-B4VPDkmL.js +1 -0
  26. package/dist/assets/geotiff-BN4J8Vt9.js +3354 -0
  27. package/dist/assets/{ids-B7AXEv7h.js → ids-XwxE1tK3.js} +7 -7
  28. package/dist/assets/ifc-lite-DNzkEkIb.js +7 -0
  29. package/dist/assets/ifc-lite_bg-1IiJN0Zg.wasm +0 -0
  30. package/dist/assets/ifc-lite_bg-B_eUD1Wy.wasm +0 -0
  31. package/dist/assets/index-DMho-JA0.js +6 -0
  32. package/dist/assets/index-DS_xJQfP.css +1 -0
  33. package/dist/assets/{index-DVNSvEMh.js → index-j2x5R7fb.js} +86695 -74779
  34. package/dist/assets/inline-worker-BpBzlmd6.js +1 -0
  35. package/dist/assets/jpeg-BUTmr0Bp.js +1 -0
  36. package/dist/assets/las-BW6LIc_j.js +1 -0
  37. package/dist/assets/las-source-C_IGrgRq.js +1 -0
  38. package/dist/assets/{laz-perf-DnSyzVYH.wasm → laz-perf-CFJp03W6.wasm} +0 -0
  39. package/dist/assets/laz-perf-DgUOSLeU.js +1 -0
  40. package/dist/assets/laz-source-BWjza0Iw.js +125 -0
  41. package/dist/assets/{lens-CSASnhAL.js → lens-CpjUdqpw.js} +1 -1
  42. package/dist/assets/lerc-DmzRHXn3.js +1 -0
  43. package/dist/assets/lzw-CgyIIzii.js +1 -0
  44. package/dist/assets/maplibre-gl-Do6O5tDc.js +800 -0
  45. package/dist/assets/{native-bridge-BiD01jI9.js → native-bridge-Q5ACp4QY.js} +6 -9
  46. package/dist/assets/packbits-C1r4AzHj.js +1 -0
  47. package/dist/assets/pako.esm-Cram60i4.js +1 -0
  48. package/dist/assets/parquet_wasm_bg-DcKVfvto.wasm +0 -0
  49. package/dist/assets/{parser.worker-Bnbrl6gy.js → parser.worker-Cl6XQcXA.js} +2 -2
  50. package/dist/assets/pcd-source-Ck0UnVDn.js +3 -0
  51. package/dist/assets/ply-source-C8jjyzxE.js +4 -0
  52. package/dist/assets/raw-ZqLh7kVQ.js +1 -0
  53. package/dist/assets/{exporters-u0sz2Upj.js → sandbox-Bju6ZKJK.js} +11869 -7414
  54. package/dist/assets/{server-client-DP8fMPY9.js → server-client-B8wi3CGx.js} +4 -4
  55. package/dist/assets/three-CQBzFWY2.js +4104 -0
  56. package/dist/assets/wasm-bridge-X-mWRA9Z.js +1 -0
  57. package/dist/assets/webimage-D0MbRMkU.js +1 -0
  58. package/dist/assets/{workerHelpers-CBbWSJmd.js → workerHelpers-DnNedVRr.js} +1 -1
  59. package/dist/assets/zip-BJqVbRkU.js +2 -0
  60. package/dist/assets/zstd-DA4VQ-ji.js +1 -0
  61. package/dist/cesium/{Workers/chunk-V7QEYVP3.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-236YIEYT.js} +2 -2
  62. package/dist/cesium/{Workers/chunk-5TJMAQVL.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-2ZYB3DYT.js} +2 -2
  63. package/dist/cesium/{Workers/chunk-UBOGZS7F.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-4M56RRIL.js} +2 -2
  64. package/dist/cesium/{Workers/chunk-OCWJRAXS.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-5BC2Q3QW.js} +2 -2
  65. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-5XHUDY37.js +26 -0
  66. package/dist/cesium/{Workers/chunk-Z3QF2EHT.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-6WMLAJJP.js} +2 -2
  67. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-72KUXMWU.js +26 -0
  68. package/dist/cesium/{Workers/chunk-EQ4YRVWL.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-7NQYTTAU.js} +2 -2
  69. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-A35GG5WJ.js +26 -0
  70. package/dist/cesium/{Workers/chunk-FC4ZZ65J.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-AXNBHUAG.js} +2 -2
  71. package/dist/cesium/{Workers/chunk-BTSYJ5XU.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-DC3K7YTH.js} +2 -2
  72. package/dist/cesium/{Workers/chunk-SLT4J352.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-DRBPXGI7.js} +2 -2
  73. package/dist/cesium/{Workers/chunk-2MJIIVP4.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-EARRZPMO.js} +2 -2
  74. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-EHC3BDVP.js +26 -0
  75. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-EYZUSGKM.js +26 -0
  76. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-EZSKHVA2.js +26 -0
  77. package/dist/cesium/{Workers/chunk-ICALLYLG.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-F3WJIFOO.js} +2 -2
  78. package/dist/cesium/{Workers/chunk-LSLE2RL4.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-FB7UV5BI.js} +2 -2
  79. package/dist/cesium/{Workers/chunk-CUUSNIVQ.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-FC6IYMYF.js} +2 -2
  80. package/dist/cesium/{Workers/chunk-TNSUQXWK.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-GF67PEXE.js} +2 -2
  81. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-GXEQRH2R.js +26 -0
  82. package/dist/cesium/{Workers/chunk-M4HLDBCG.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-I5NKQIWE.js} +2 -2
  83. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-IH7GXIUB.js +26 -0
  84. package/dist/cesium/{Workers/chunk-OIT7J4IC.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-IPP3UFGH.js} +2 -2
  85. package/dist/cesium/{Workers/chunk-WWWZVEEH.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-IYRGNBSH.js} +2 -2
  86. package/dist/cesium/{Workers/chunk-WPMZLB3Y.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-J6BM74AD.js} +2 -2
  87. package/dist/cesium/{Workers/chunk-QFM5DCMQ.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-KG2GJUJT.js} +1 -1
  88. package/dist/cesium/{Workers/chunk-XQHLGIO7.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-L7UE5MMF.js} +2 -2
  89. package/dist/cesium/{Workers/chunk-EFBN7QNX.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-LBZ34MHQ.js} +2 -2
  90. package/dist/cesium/{Workers/chunk-YP7I5QBZ.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-LOQDTQMX.js} +2 -2
  91. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-LYLRYC4L.js +29 -0
  92. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-MGPRMLLW.js +26 -0
  93. package/dist/cesium/{Workers/chunk-LI2ZSORM.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-NP26LKQA.js} +2 -2
  94. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-OMUAZ3NM.js +26 -0
  95. package/dist/cesium/{Workers/chunk-S44JILQT.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-PPFUDJN4.js} +2 -2
  96. package/dist/cesium/{Workers/chunk-EDVBB7SS.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-PQ3V63XF.js} +2 -2
  97. package/dist/cesium/{Workers/chunk-Q5BPHJQF.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-PWBQN4GK.js} +2 -2
  98. package/dist/cesium/{Workers/chunk-E7KYDCM5.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-QOTMLO2T.js} +2 -2
  99. package/dist/cesium/{Workers/chunk-XUSCFAVF.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-SP35IT73.js} +2 -2
  100. package/dist/cesium/{Workers/chunk-6BD4U3VO.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-T3ZGSZKA.js} +2 -2
  101. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-TM6SYYHO.js +28 -0
  102. package/dist/cesium/{Workers/chunk-VUKYSU4H.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-TSGIJVWH.js} +2 -2
  103. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-U3YGOX3C.js +63 -0
  104. package/dist/cesium/{Workers/chunk-7TVGLKQF.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-VBYOXOSM.js} +2 -2
  105. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-VCOHJNKB.js +26 -0
  106. package/dist/cesium/{Workers/chunk-WBOV35NL.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-VXAZXMUX.js} +2 -2
  107. package/dist/cesium/{Workers/chunk-IX4VMHEV.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-VXCJOT4W.js} +2 -2
  108. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-WPD3MB6X.js +26 -0
  109. package/dist/cesium/{Workers/chunk-V3OSTMM6.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-X4D5KUN5.js} +2 -2
  110. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XEC656IT.js +26 -0
  111. package/dist/cesium/{Workers/chunk-MJHHSGEH.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XR53QRQS.js} +2 -2
  112. package/dist/cesium/{Workers/chunk-XFIQ5DEQ.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XR7MN4PJ.js} +2 -2
  113. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XU6O4MRS.js +26 -0
  114. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-XZBHEBLF.js +29 -0
  115. package/dist/cesium/{Workers/chunk-OLZ3FYUM.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-Z2M4BF4E.js} +2 -2
  116. package/dist/cesium/{Workers/chunk-2ZBHLJST.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-Z4ERBZFB.js} +2 -2
  117. package/dist/cesium/{Workers/chunk-W37FE5GR.js → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/chunk-ZY2KCIWI.js} +2 -2
  118. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/combineGeometry.js +2 -2
  119. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createBoxGeometry.js +2 -2
  120. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createBoxOutlineGeometry.js +2 -2
  121. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCircleGeometry.js +2 -2
  122. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCircleOutlineGeometry.js +2 -2
  123. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCoplanarPolygonGeometry.js +2 -2
  124. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +26 -0
  125. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCorridorGeometry.js +2 -2
  126. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCorridorOutlineGeometry.js +2 -2
  127. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCylinderGeometry.js +2 -2
  128. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createCylinderOutlineGeometry.js +2 -2
  129. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createEllipseGeometry.js +2 -2
  130. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createEllipseOutlineGeometry.js +2 -2
  131. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createEllipsoidGeometry.js +2 -2
  132. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createEllipsoidOutlineGeometry.js +2 -2
  133. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createFrustumGeometry.js +2 -2
  134. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createFrustumOutlineGeometry.js +2 -2
  135. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createGeometry.js +2 -2
  136. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/createGroundPolylineGeometry.js +26 -0
  137. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPlaneGeometry.js +2 -2
  138. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPlaneOutlineGeometry.js +2 -2
  139. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolygonGeometry.js +2 -2
  140. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolygonOutlineGeometry.js +2 -2
  141. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolylineGeometry.js +2 -2
  142. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolylineVolumeGeometry.js +2 -2
  143. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createPolylineVolumeOutlineGeometry.js +2 -2
  144. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createRectangleGeometry.js +2 -2
  145. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createRectangleOutlineGeometry.js +2 -2
  146. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createSimplePolylineGeometry.js +2 -2
  147. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createSphereGeometry.js +2 -2
  148. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createSphereOutlineGeometry.js +2 -2
  149. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createTaskProcessorWorker.js +2 -2
  150. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTileClampedPolylines.js +2 -2
  151. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTileGeometries.js +2 -2
  152. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTilePoints.js +2 -2
  153. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTilePolygons.js +2 -2
  154. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVectorTilePolylines.js +2 -2
  155. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVerticesFromCesium3DTilesTerrain.js +2 -2
  156. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
  157. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVerticesFromHeightmap.js +2 -2
  158. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createVerticesFromQuantizedTerrainMesh.js +2 -2
  159. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createWallGeometry.js +2 -2
  160. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/createWallOutlineGeometry.js +2 -2
  161. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/decodeDraco.js +2 -2
  162. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/decodeGoogleEarthEnterprisePacket.js +2 -2
  163. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/decodeI3S.js +2 -2
  164. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/gaussianSplatSorter.js +2 -2
  165. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/gaussianSplatTextureGenerator.js +2 -2
  166. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/incrementallyBuildTerrainPicker.js +2 -2
  167. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/transcodeKTX2.js +56 -0
  168. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/transferTypedArrayTest.js +1 -1
  169. package/dist/cesium/node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +26 -0
  170. package/dist/cesium/{Workers → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Workers}/upsampleVerticesFromCesium3DTilesTerrain.js +2 -2
  171. package/dist/index.html +12 -14
  172. package/package.json +52 -45
  173. package/src/components/mcp/McpLanding.tsx +1 -1
  174. package/src/components/mcp/McpPlayground.tsx +1 -1
  175. package/src/components/mcp/PlaygroundChat.tsx +90 -52
  176. package/src/components/viewer/AddElementPanel.tsx +2 -2
  177. package/src/components/viewer/BasepointOverlay.tsx +239 -0
  178. package/src/components/viewer/CesiumOverlay.tsx +130 -115
  179. package/src/components/viewer/CesiumPlacementEditor.tsx +1024 -0
  180. package/src/components/viewer/ChatPanel.tsx +76 -93
  181. package/src/components/viewer/CommandPalette.tsx +25 -0
  182. package/src/components/viewer/EntityContextMenu.tsx +68 -10
  183. package/src/components/viewer/GeometryAxisRow.tsx +54 -0
  184. package/src/components/viewer/GeometryEditCard.tsx +392 -0
  185. package/src/components/viewer/HierarchyPanel.tsx +2 -2
  186. package/src/components/viewer/IDSAuditSummary.tsx +2 -2
  187. package/src/components/viewer/KeyboardShortcutsDialog.tsx +58 -4
  188. package/src/components/viewer/MainToolbar.tsx +308 -7
  189. package/src/components/viewer/PropertiesPanel.tsx +28 -31
  190. package/src/components/viewer/StatusBar.tsx +12 -0
  191. package/src/components/viewer/ToolOverlays.tsx +36 -0
  192. package/src/components/viewer/ViewerLayout.tsx +27 -0
  193. package/src/components/viewer/Viewport.tsx +49 -4
  194. package/src/components/viewer/ViewportContainer.tsx +158 -33
  195. package/src/components/viewer/ViewportOverlays.tsx +49 -106
  196. package/src/components/viewer/chat/ByokKeyModal.tsx +338 -0
  197. package/src/components/viewer/chat/ByokStreamingPill.tsx +62 -0
  198. package/src/components/viewer/chat/ByokTrustDiagram.tsx +192 -0
  199. package/src/components/viewer/properties/FederationAlignmentControls.tsx +180 -0
  200. package/src/components/viewer/properties/GeoreferencingPanel.tsx +55 -52
  201. package/src/components/viewer/properties/ModelMetadataPanel.tsx +55 -44
  202. package/src/components/viewer/properties/PrecisionGridBadge.tsx +125 -0
  203. package/src/components/viewer/properties/raw-step-format.ts +5 -3
  204. package/src/components/viewer/selectionHandlers.ts +308 -11
  205. package/src/components/viewer/tools/GizmoOverlay.tsx +322 -0
  206. package/src/components/viewer/tools/SplitNumericInput.tsx +225 -0
  207. package/src/components/viewer/tools/SplitOverlay.tsx +242 -0
  208. package/src/components/viewer/tools/WallEndpointOverlay.tsx +252 -0
  209. package/src/components/viewer/useGeometryStreaming.ts +100 -1
  210. package/src/components/viewer/useMouseControls.ts +8 -1
  211. package/src/hooks/useBCF.ts +6 -6
  212. package/src/hooks/useCameraTickSubscription.ts +62 -0
  213. package/src/hooks/useIfc.ts +4 -0
  214. package/src/hooks/useIfcFederation.ts +368 -20
  215. package/src/hooks/useKeyboardShortcuts.ts +86 -0
  216. package/src/hooks/useLevelDisplayEffect.ts +160 -0
  217. package/src/hooks/useViewerSelectors.ts +8 -0
  218. package/src/lib/__test__/stubs.ts +110 -0
  219. package/src/lib/geo/cesium-bridge.ts +86 -50
  220. package/src/lib/geo/cesium-placement.test.ts +260 -0
  221. package/src/lib/geo/cesium-placement.ts +237 -0
  222. package/src/lib/geo/effective-georef.test.ts +97 -8
  223. package/src/lib/geo/effective-georef.ts +40 -93
  224. package/src/lib/geo/geo-scale.ts +160 -0
  225. package/src/lib/geo/ifc-origin.test.ts +176 -0
  226. package/src/lib/geo/ifc-origin.ts +144 -0
  227. package/src/lib/geo/precision-grids.ts +444 -0
  228. package/src/lib/geo/reproject.test.ts +218 -0
  229. package/src/lib/geo/reproject.ts +199 -42
  230. package/src/lib/geo/terrain-elevation.ts +198 -89
  231. package/src/lib/lens/adapter.ts +52 -6
  232. package/src/lib/level-offsets.test.ts +153 -0
  233. package/src/lib/level-offsets.ts +140 -0
  234. package/src/lib/linear-element-edit.test.ts +220 -0
  235. package/src/lib/linear-element-edit.ts +327 -0
  236. package/src/lib/llm/clipboard-detect.test.ts +150 -0
  237. package/src/lib/llm/clipboard-detect.ts +90 -0
  238. package/src/lib/llm/models.ts +28 -0
  239. package/src/lib/llm/stream-direct.ts +16 -4
  240. package/src/lib/llm/types.ts +8 -0
  241. package/src/lib/metadata-clone.test.ts +173 -0
  242. package/src/lib/metadata-clone.ts +124 -0
  243. package/src/lib/placement-core.ts +340 -0
  244. package/src/lib/placement-edit.boot.ts +21 -0
  245. package/src/lib/placement-edit.test.ts +464 -0
  246. package/src/lib/placement-edit.ts +47 -0
  247. package/src/lib/polygon-clip.test.ts +193 -0
  248. package/src/lib/polygon-clip.ts +199 -0
  249. package/src/lib/slab-edit.test.ts +169 -0
  250. package/src/lib/slab-edit.ts +312 -0
  251. package/src/lib/wall-edit.ts +342 -0
  252. package/src/lib/wall-opening-reassign.test.ts +291 -0
  253. package/src/lib/wall-opening-reassign.ts +241 -0
  254. package/src/main.tsx +4 -0
  255. package/src/services/playground-model.ts +55 -0
  256. package/src/store/index.ts +11 -5
  257. package/src/store/slices/cesiumSlice.ts +154 -20
  258. package/src/store/slices/dataSlice.ts +80 -0
  259. package/src/store/slices/levelDisplaySlice.ts +105 -0
  260. package/src/store/slices/modelSlice.test.ts +19 -0
  261. package/src/store/slices/mutationSlice.ts +1138 -1
  262. package/src/store/slices/splitToolSlice.ts +165 -0
  263. package/src/store/slices/uiSlice.edit-mode.test.ts +210 -0
  264. package/src/store/slices/uiSlice.ts +78 -1
  265. package/src/store/types.ts +57 -2
  266. package/src/store.ts +3 -0
  267. package/src/utils/createBlankIfc.ts +37 -0
  268. package/tsconfig.json +1 -0
  269. package/.turbo/turbo-typecheck.log +0 -4
  270. package/dist/assets/arrow-CZ5kQ26f.js +0 -20
  271. package/dist/assets/arrow2_bg-BoXCojjR.wasm +0 -0
  272. package/dist/assets/bcf-4K724hw0.js +0 -281
  273. package/dist/assets/browser-C5TFR7sH.js +0 -694
  274. package/dist/assets/cesium-DUOzBlqv.js +0 -17817
  275. package/dist/assets/decode-worker-t2EGKAxO.js +0 -1708
  276. package/dist/assets/emscripten-module-BTRCZGcB.wasm +0 -0
  277. package/dist/assets/emscripten-module-CGIn_cMh.wasm +0 -0
  278. package/dist/assets/emscripten-module-DYvzWiHh.wasm +0 -0
  279. package/dist/assets/emscripten-module-NWak2PoB.wasm +0 -0
  280. package/dist/assets/emscripten-module.browser-CY5t0Vfq.js +0 -1
  281. package/dist/assets/esbuild-COv63sf-.js +0 -1
  282. package/dist/assets/event-DIOks52T.js +0 -1
  283. package/dist/assets/ffi-DlhRHxHv.js +0 -1
  284. package/dist/assets/geometry-controller.worker-NH8pZmrU.js +0 -7
  285. package/dist/assets/geometry.worker-Bp4rW_R1.js +0 -1
  286. package/dist/assets/ifc-lite-DfZHk36-.js +0 -7
  287. package/dist/assets/ifc-lite_bg-DlKs5-yM.wasm +0 -0
  288. package/dist/assets/ifc-lite_bg-PqmRe3Ph.wasm +0 -0
  289. package/dist/assets/index-CSWgTe1s.css +0 -1
  290. package/dist/assets/index-XwKzDuw6.js +0 -22
  291. package/dist/assets/laz-perf-Cvr_Lepg.js +0 -1
  292. package/dist/assets/maplibre-gl-CGLcoNXc.js +0 -811
  293. package/dist/assets/sandbox-DPD1ROr0.js +0 -9700
  294. package/dist/assets/three-CDRZThFA.js +0 -4057
  295. package/dist/assets/wasm-bridge-CErti6zX.js +0 -1
  296. package/dist/assets/zip-DBEtpeu6.js +0 -12
  297. package/dist/cesium/Workers/chunk-23ZQ2IVV.js +0 -29
  298. package/dist/cesium/Workers/chunk-2EQO3Q56.js +0 -26
  299. package/dist/cesium/Workers/chunk-2TE5NTVD.js +0 -26
  300. package/dist/cesium/Workers/chunk-BXMEEOCS.js +0 -63
  301. package/dist/cesium/Workers/chunk-BYLCY7GP.js +0 -29
  302. package/dist/cesium/Workers/chunk-CTHM3W6I.js +0 -26
  303. package/dist/cesium/Workers/chunk-E3JOOS3S.js +0 -26
  304. package/dist/cesium/Workers/chunk-F6PRE7D6.js +0 -26
  305. package/dist/cesium/Workers/chunk-FFBVWF2L.js +0 -26
  306. package/dist/cesium/Workers/chunk-GBAA6GVX.js +0 -26
  307. package/dist/cesium/Workers/chunk-ILRYTWTP.js +0 -26
  308. package/dist/cesium/Workers/chunk-IRNLBSEJ.js +0 -26
  309. package/dist/cesium/Workers/chunk-L6QHHACZ.js +0 -26
  310. package/dist/cesium/Workers/chunk-NMVKML6W.js +0 -26
  311. package/dist/cesium/Workers/chunk-OIRKANTH.js +0 -26
  312. package/dist/cesium/Workers/chunk-QKUIYMGC.js +0 -28
  313. package/dist/cesium/Workers/chunk-SQMIIXB7.js +0 -26
  314. package/dist/cesium/Workers/chunk-TJ4XLGBQ.js +0 -26
  315. package/dist/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +0 -26
  316. package/dist/cesium/Workers/createGroundPolylineGeometry.js +0 -26
  317. package/dist/cesium/Workers/transcodeKTX2.js +0 -56
  318. package/dist/cesium/Workers/upsampleQuantizedTerrainMesh.js +0 -26
  319. package/src/components/viewer/CesiumSettingsDialog.tsx +0 -100
  320. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_0.json +0 -0
  321. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_1.json +0 -0
  322. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_10.json +0 -0
  323. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_11.json +0 -0
  324. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_12.json +0 -0
  325. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_13.json +0 -0
  326. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_14.json +0 -0
  327. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_15.json +0 -0
  328. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_16.json +0 -0
  329. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_17.json +0 -0
  330. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_18.json +0 -0
  331. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_19.json +0 -0
  332. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_2.json +0 -0
  333. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_20.json +0 -0
  334. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_21.json +0 -0
  335. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_22.json +0 -0
  336. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_23.json +0 -0
  337. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_24.json +0 -0
  338. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_25.json +0 -0
  339. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_26.json +0 -0
  340. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_27.json +0 -0
  341. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_3.json +0 -0
  342. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_4.json +0 -0
  343. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_5.json +0 -0
  344. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_6.json +0 -0
  345. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_7.json +0 -0
  346. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_8.json +0 -0
  347. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/IAU2006_XYS/IAU2006_XYS_9.json +0 -0
  348. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Images/bing_maps_credit.png +0 -0
  349. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Images/cesium_credit.png +0 -0
  350. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Images/google_earth_credit.png +0 -0
  351. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Images/ion-credit.png +0 -0
  352. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/LensFlare/DirtMask.jpg +0 -0
  353. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/LensFlare/StarBurst.jpg +0 -0
  354. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/0/0/0.jpg +0 -0
  355. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/0/1/0.jpg +0 -0
  356. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/0/0.jpg +0 -0
  357. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/0/1.jpg +0 -0
  358. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/1/0.jpg +0 -0
  359. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/1/1.jpg +0 -0
  360. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/2/0.jpg +0 -0
  361. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/2/1.jpg +0 -0
  362. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/3/0.jpg +0 -0
  363. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/1/3/1.jpg +0 -0
  364. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/0/0.jpg +0 -0
  365. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/0/1.jpg +0 -0
  366. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/0/2.jpg +0 -0
  367. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/0/3.jpg +0 -0
  368. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/1/0.jpg +0 -0
  369. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/1/1.jpg +0 -0
  370. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/1/2.jpg +0 -0
  371. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/1/3.jpg +0 -0
  372. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/2/0.jpg +0 -0
  373. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/2/1.jpg +0 -0
  374. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/2/2.jpg +0 -0
  375. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/2/3.jpg +0 -0
  376. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/3/0.jpg +0 -0
  377. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/3/1.jpg +0 -0
  378. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/3/2.jpg +0 -0
  379. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/3/3.jpg +0 -0
  380. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/4/0.jpg +0 -0
  381. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/4/1.jpg +0 -0
  382. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/4/2.jpg +0 -0
  383. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/4/3.jpg +0 -0
  384. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/5/0.jpg +0 -0
  385. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/5/1.jpg +0 -0
  386. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/5/2.jpg +0 -0
  387. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/5/3.jpg +0 -0
  388. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/6/0.jpg +0 -0
  389. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/6/1.jpg +0 -0
  390. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/6/2.jpg +0 -0
  391. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/6/3.jpg +0 -0
  392. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/7/0.jpg +0 -0
  393. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/7/1.jpg +0 -0
  394. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/7/2.jpg +0 -0
  395. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/2/7/3.jpg +0 -0
  396. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/NaturalEarthII/tilemapresource.xml +0 -0
  397. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
  398. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
  399. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
  400. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
  401. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
  402. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
  403. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/airfield.png +0 -0
  404. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/airport.png +0 -0
  405. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/alcohol-shop.png +0 -0
  406. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/america-football.png +0 -0
  407. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/art-gallery.png +0 -0
  408. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bakery.png +0 -0
  409. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bank.png +0 -0
  410. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bar.png +0 -0
  411. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/baseball.png +0 -0
  412. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/basketball.png +0 -0
  413. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/beer.png +0 -0
  414. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bicycle.png +0 -0
  415. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/building.png +0 -0
  416. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/bus.png +0 -0
  417. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cafe.png +0 -0
  418. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/camera.png +0 -0
  419. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/campsite.png +0 -0
  420. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/car.png +0 -0
  421. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cemetery.png +0 -0
  422. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cesium.png +0 -0
  423. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/chemist.png +0 -0
  424. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cinema.png +0 -0
  425. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/circle-stroked.png +0 -0
  426. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/circle.png +0 -0
  427. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/city.png +0 -0
  428. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/clothing-store.png +0 -0
  429. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/college.png +0 -0
  430. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/commercial.png +0 -0
  431. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cricket.png +0 -0
  432. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/cross.png +0 -0
  433. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/dam.png +0 -0
  434. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/danger.png +0 -0
  435. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/disability.png +0 -0
  436. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/dog-park.png +0 -0
  437. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/embassy.png +0 -0
  438. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/emergency-telephone.png +0 -0
  439. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/entrance.png +0 -0
  440. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/farm.png +0 -0
  441. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/fast-food.png +0 -0
  442. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/ferry.png +0 -0
  443. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/fire-station.png +0 -0
  444. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/fuel.png +0 -0
  445. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/garden.png +0 -0
  446. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/gift.png +0 -0
  447. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/golf.png +0 -0
  448. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/grocery.png +0 -0
  449. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/hairdresser.png +0 -0
  450. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/harbor.png +0 -0
  451. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/heart.png +0 -0
  452. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/heliport.png +0 -0
  453. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/hospital.png +0 -0
  454. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/ice-cream.png +0 -0
  455. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/industrial.png +0 -0
  456. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/land-use.png +0 -0
  457. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/laundry.png +0 -0
  458. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/library.png +0 -0
  459. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/lighthouse.png +0 -0
  460. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/lodging.png +0 -0
  461. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/logging.png +0 -0
  462. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/london-underground.png +0 -0
  463. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/marker-stroked.png +0 -0
  464. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/marker.png +0 -0
  465. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/minefield.png +0 -0
  466. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/mobilephone.png +0 -0
  467. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/monument.png +0 -0
  468. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/museum.png +0 -0
  469. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/music.png +0 -0
  470. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/oil-well.png +0 -0
  471. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/park.png +0 -0
  472. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/park2.png +0 -0
  473. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/parking-garage.png +0 -0
  474. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/parking.png +0 -0
  475. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/pharmacy.png +0 -0
  476. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/pitch.png +0 -0
  477. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/place-of-worship.png +0 -0
  478. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/playground.png +0 -0
  479. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/police.png +0 -0
  480. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/polling-place.png +0 -0
  481. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/post.png +0 -0
  482. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/prison.png +0 -0
  483. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail-above.png +0 -0
  484. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail-light.png +0 -0
  485. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail-metro.png +0 -0
  486. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail-underground.png +0 -0
  487. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rail.png +0 -0
  488. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/religious-christian.png +0 -0
  489. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/religious-jewish.png +0 -0
  490. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/religious-muslim.png +0 -0
  491. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/restaurant.png +0 -0
  492. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/roadblock.png +0 -0
  493. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/rocket.png +0 -0
  494. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/school.png +0 -0
  495. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/scooter.png +0 -0
  496. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/shop.png +0 -0
  497. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/skiing.png +0 -0
  498. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/slaughterhouse.png +0 -0
  499. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/soccer.png +0 -0
  500. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/square-stroked.png +0 -0
  501. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/square.png +0 -0
  502. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/star-stroked.png +0 -0
  503. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/star.png +0 -0
  504. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/suitcase.png +0 -0
  505. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/swimming.png +0 -0
  506. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/telephone.png +0 -0
  507. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/tennis.png +0 -0
  508. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/theatre.png +0 -0
  509. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/toilets.png +0 -0
  510. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/town-hall.png +0 -0
  511. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/town.png +0 -0
  512. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/triangle-stroked.png +0 -0
  513. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/triangle.png +0 -0
  514. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/village.png +0 -0
  515. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/warehouse.png +0 -0
  516. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/waste-basket.png +0 -0
  517. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/water.png +0 -0
  518. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/wetland.png +0 -0
  519. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/maki/zoo.png +0 -0
  520. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/moonSmall.jpg +0 -0
  521. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/pin.svg +0 -0
  522. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/waterNormals.jpg +0 -0
  523. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/Textures/waterNormalsSmall.jpg +0 -0
  524. /package/dist/cesium/{Assets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Assets}/approximateTerrainHeights.json +0 -0
  525. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/Workers/package.json +0 -0
  526. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/Workers/zip-web-worker.js +0 -0
  527. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/basis_transcoder.wasm +0 -0
  528. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/draco_decoder.wasm +0 -0
  529. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/google-earth-dbroot-parser.js +0 -0
  530. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/wasm_splats_bg.wasm +0 -0
  531. /package/dist/cesium/{ThirdParty → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/ThirdParty}/zip-module.wasm +0 -0
  532. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Animation/Animation.css +0 -0
  533. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Animation/lighter.css +0 -0
  534. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/BaseLayerPicker/BaseLayerPicker.css +0 -0
  535. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/BaseLayerPicker/lighter.css +0 -0
  536. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Cesium3DTilesInspector/Cesium3DTilesInspector.css +0 -0
  537. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/CesiumInspector/CesiumInspector.css +0 -0
  538. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/CesiumWidget/CesiumWidget.css +0 -0
  539. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/CesiumWidget/lighter.css +0 -0
  540. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/FullscreenButton/FullscreenButton.css +0 -0
  541. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Geocoder/Geocoder.css +0 -0
  542. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Geocoder/lighter.css +0 -0
  543. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +0 -0
  544. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
  545. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
  546. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
  547. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/azureAerial.png +0 -0
  548. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/azureRoads.png +0 -0
  549. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/bingAerial.png +0 -0
  550. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/bingAerialLabels.png +0 -0
  551. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/bingRoads.png +0 -0
  552. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/blueMarble.png +0 -0
  553. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/earthAtNight.png +0 -0
  554. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/googleContour.png +0 -0
  555. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/googleRoadmap.png +0 -0
  556. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/googleSatellite.png +0 -0
  557. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/googleSatelliteLabels.png +0 -0
  558. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
  559. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/mapboxSatellite.png +0 -0
  560. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/mapboxStreets.png +0 -0
  561. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/mapboxTerrain.png +0 -0
  562. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/naturalEarthII.png +0 -0
  563. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/openStreetMap.png +0 -0
  564. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/sentinel-2.png +0 -0
  565. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
  566. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
  567. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/stamenToner.png +0 -0
  568. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/ImageryProviders/stamenWatercolor.png +0 -0
  569. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/Mouse.svg +0 -0
  570. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/MouseLeft.svg +0 -0
  571. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/MouseMiddle.svg +0 -0
  572. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/MouseRight.svg +0 -0
  573. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/Touch.svg +0 -0
  574. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/TouchDrag.svg +0 -0
  575. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/TouchRotate.svg +0 -0
  576. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/TouchTilt.svg +0 -0
  577. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/NavigationHelp/TouchZoom.svg +0 -0
  578. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
  579. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/TerrainProviders/Ellipsoid.png +0 -0
  580. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/TimelineIcons.png +0 -0
  581. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Images/info-loading.gif +0 -0
  582. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/InfoBox/InfoBox.css +0 -0
  583. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/InfoBox/InfoBoxDescription.css +0 -0
  584. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/NavigationHelpButton/NavigationHelpButton.css +0 -0
  585. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/NavigationHelpButton/lighter.css +0 -0
  586. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/PerformanceWatchdog/PerformanceWatchdog.css +0 -0
  587. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/ProjectionPicker/ProjectionPicker.css +0 -0
  588. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/SceneModePicker/SceneModePicker.css +0 -0
  589. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/SelectionIndicator/SelectionIndicator.css +0 -0
  590. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Timeline/Timeline.css +0 -0
  591. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Timeline/lighter.css +0 -0
  592. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/VRButton/VRButton.css +0 -0
  593. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/Viewer/Viewer.css +0 -0
  594. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/VoxelInspector/VoxelInspector.css +0 -0
  595. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/lighter.css +0 -0
  596. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/lighterShared.css +0 -0
  597. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/shared.css +0 -0
  598. /package/dist/cesium/{Widgets → node_modules/.pnpm/cesium@1.141.0/node_modules/cesium/Build/Cesium/Widgets}/widgets.css +0 -0
@@ -1 +0,0 @@
1
- import{I as f,u as m}from"./exporters-u0sz2Upj.js";import"./bcf-4K724hw0.js";import"./zip-DBEtpeu6.js";import"./cesium-DUOzBlqv.js";import"./arrow-CZ5kQ26f.js";class b{bridge;initialized=!1;constructor(){this.bridge=new f}async init(){this.initialized||(await this.bridge.init(),this.initialized=!0)}isInitialized(){return this.initialized}toIfcContent(e){return typeof e=="string"?e:new TextDecoder().decode(e)}async processGeometry(e){this.initialized||await this.init(),performance.now();const i=new m(this.bridge.getApi(),this.toIfcContent(e)),r=i.collectMeshes(),s=i.getBuildingRotation();performance.now();let o=0,n=0;for(const a of r)o+=a.positions.length/3,n+=a.indices.length/3;return{meshes:r,totalVertices:o,totalTriangles:n,coordinateInfo:{originShift:{x:0,y:0,z:0},originalBounds:{min:{x:0,y:0,z:0},max:{x:0,y:0,z:0}},shiftedBounds:{min:{x:0,y:0,z:0},max:{x:0,y:0,z:0}},hasLargeCoordinates:!1,buildingRotation:s}}}async processGeometryStreaming(e,i){this.initialized||await this.init();const r=performance.now(),s=new m(this.bridge.getApi(),this.toIfcContent(e));let o=0,n=0,c=0;try{for await(const t of s.collectMeshesStreaming(50)){if(t&&typeof t=="object"&&"type"in t&&t.type==="colorUpdate")continue;const l=t;o+=l.length;for(const g of l)n+=g.positions.length/3,c+=g.indices.length/3;i.onBatch?.({meshes:l,progress:{processed:o,total:o,currentType:"processing"}})}}catch(t){throw i.onError?.(t instanceof Error?t:new Error(String(t))),t}const d=performance.now()-r,h={totalMeshes:o,totalVertices:n,totalTriangles:c,parseTimeMs:d*.3,geometryTimeMs:d*.7};return i.onComplete?.(h),h}getApi(){return this.bridge.getApi()}}export{b as WasmBridge};
@@ -1,12 +0,0 @@
1
- import{c as bt,g as At}from"./cesium-DUOzBlqv.js";function vt(yt){throw new Error('Could not dynamically require "'+yt+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var St={exports:{}};/*!
2
-
3
- JSZip v3.10.1 - A JavaScript class for generating and reading zip files
4
- <http://stuartk.com/jszip>
5
-
6
- (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
7
- Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
8
-
9
- JSZip uses the library pako released under the MIT license :
10
- https://github.com/nodeca/pako/blob/main/LICENSE
11
- */(function(yt,Ot){(function(b){yt.exports=b()})(function(){return function b(U,k,l){function o(_,y){if(!k[_]){if(!U[_]){var p=typeof vt=="function"&&vt;if(!y&&p)return p(_,!0);if(n)return n(_,!0);var g=new Error("Cannot find module '"+_+"'");throw g.code="MODULE_NOT_FOUND",g}var i=k[_]={exports:{}};U[_][0].call(i.exports,function(d){var e=U[_][1][d];return o(e||d)},i,i.exports,b,U,k,l)}return k[_].exports}for(var n=typeof vt=="function"&&vt,h=0;h<l.length;h++)o(l[h]);return o}({1:[function(b,U,k){var l=b("./utils"),o=b("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";k.encode=function(h){for(var _,y,p,g,i,d,e,u=[],a=0,c=h.length,v=c,S=l.getTypeOf(h)!=="string";a<h.length;)v=c-a,p=S?(_=h[a++],y=a<c?h[a++]:0,a<c?h[a++]:0):(_=h.charCodeAt(a++),y=a<c?h.charCodeAt(a++):0,a<c?h.charCodeAt(a++):0),g=_>>2,i=(3&_)<<4|y>>4,d=1<v?(15&y)<<2|p>>6:64,e=2<v?63&p:64,u.push(n.charAt(g)+n.charAt(i)+n.charAt(d)+n.charAt(e));return u.join("")},k.decode=function(h){var _,y,p,g,i,d,e=0,u=0,a="data:";if(h.substr(0,a.length)===a)throw new Error("Invalid base64 input, it looks like a data url.");var c,v=3*(h=h.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(h.charAt(h.length-1)===n.charAt(64)&&v--,h.charAt(h.length-2)===n.charAt(64)&&v--,v%1!=0)throw new Error("Invalid base64 input, bad content length.");for(c=o.uint8array?new Uint8Array(0|v):new Array(0|v);e<h.length;)_=n.indexOf(h.charAt(e++))<<2|(g=n.indexOf(h.charAt(e++)))>>4,y=(15&g)<<4|(i=n.indexOf(h.charAt(e++)))>>2,p=(3&i)<<6|(d=n.indexOf(h.charAt(e++))),c[u++]=_,i!==64&&(c[u++]=y),d!==64&&(c[u++]=p);return c}},{"./support":30,"./utils":32}],2:[function(b,U,k){var l=b("./external"),o=b("./stream/DataWorker"),n=b("./stream/Crc32Probe"),h=b("./stream/DataLengthProbe");function _(y,p,g,i,d){this.compressedSize=y,this.uncompressedSize=p,this.crc32=g,this.compression=i,this.compressedContent=d}_.prototype={getContentWorker:function(){var y=new o(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new h("data_length")),p=this;return y.on("end",function(){if(this.streamInfo.data_length!==p.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),y},getCompressedWorker:function(){return new o(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},_.createWorkerFrom=function(y,p,g){return y.pipe(new n).pipe(new h("uncompressedSize")).pipe(p.compressWorker(g)).pipe(new h("compressedSize")).withStreamInfo("compression",p)},U.exports=_},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(b,U,k){var l=b("./stream/GenericWorker");k.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},k.DEFLATE=b("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(b,U,k){var l=b("./utils"),o=function(){for(var n,h=[],_=0;_<256;_++){n=_;for(var y=0;y<8;y++)n=1&n?3988292384^n>>>1:n>>>1;h[_]=n}return h}();U.exports=function(n,h){return n!==void 0&&n.length?l.getTypeOf(n)!=="string"?function(_,y,p,g){var i=o,d=g+p;_^=-1;for(var e=g;e<d;e++)_=_>>>8^i[255&(_^y[e])];return-1^_}(0|h,n,n.length,0):function(_,y,p,g){var i=o,d=g+p;_^=-1;for(var e=g;e<d;e++)_=_>>>8^i[255&(_^y.charCodeAt(e))];return-1^_}(0|h,n,n.length,0):0}},{"./utils":32}],5:[function(b,U,k){k.base64=!1,k.binary=!1,k.dir=!1,k.createFolders=!0,k.date=null,k.compression=null,k.compressionOptions=null,k.comment=null,k.unixPermissions=null,k.dosPermissions=null},{}],6:[function(b,U,k){var l=null;l=typeof Promise<"u"?Promise:b("lie"),U.exports={Promise:l}},{lie:37}],7:[function(b,U,k){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=b("pako"),n=b("./utils"),h=b("./stream/GenericWorker"),_=l?"uint8array":"array";function y(p,g){h.call(this,"FlateWorker/"+p),this._pako=null,this._pakoAction=p,this._pakoOptions=g,this.meta={}}k.magic="\b\0",n.inherits(y,h),y.prototype.processChunk=function(p){this.meta=p.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(_,p.data),!1)},y.prototype.flush=function(){h.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},y.prototype.cleanUp=function(){h.prototype.cleanUp.call(this),this._pako=null},y.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var p=this;this._pako.onData=function(g){p.push({data:g,meta:p.meta})}},k.compressWorker=function(p){return new y("Deflate",p)},k.uncompressWorker=function(){return new y("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(b,U,k){function l(i,d){var e,u="";for(e=0;e<d;e++)u+=String.fromCharCode(255&i),i>>>=8;return u}function o(i,d,e,u,a,c){var v,S,x=i.file,D=i.compression,O=c!==_.utf8encode,L=n.transformTo("string",c(x.name)),I=n.transformTo("string",_.utf8encode(x.name)),W=x.comment,V=n.transformTo("string",c(W)),m=n.transformTo("string",_.utf8encode(W)),B=I.length!==x.name.length,r=m.length!==W.length,T="",J="",P="",$=x.dir,j=x.date,q={crc32:0,compressedSize:0,uncompressedSize:0};d&&!e||(q.crc32=i.crc32,q.compressedSize=i.compressedSize,q.uncompressedSize=i.uncompressedSize);var E=0;d&&(E|=8),O||!B&&!r||(E|=2048);var C=0,X=0;$&&(C|=16),a==="UNIX"?(X=798,C|=function(H,nt){var ot=H;return H||(ot=nt?16893:33204),(65535&ot)<<16}(x.unixPermissions,$)):(X=20,C|=function(H){return 63&(H||0)}(x.dosPermissions)),v=j.getUTCHours(),v<<=6,v|=j.getUTCMinutes(),v<<=5,v|=j.getUTCSeconds()/2,S=j.getUTCFullYear()-1980,S<<=4,S|=j.getUTCMonth()+1,S<<=5,S|=j.getUTCDate(),B&&(J=l(1,1)+l(y(L),4)+I,T+="up"+l(J.length,2)+J),r&&(P=l(1,1)+l(y(V),4)+m,T+="uc"+l(P.length,2)+P);var G="";return G+=`
12
- \0`,G+=l(E,2),G+=D.magic,G+=l(v,2),G+=l(S,2),G+=l(q.crc32,4),G+=l(q.compressedSize,4),G+=l(q.uncompressedSize,4),G+=l(L.length,2),G+=l(T.length,2),{fileRecord:p.LOCAL_FILE_HEADER+G+L+T,dirRecord:p.CENTRAL_FILE_HEADER+l(X,2)+G+l(V.length,2)+"\0\0\0\0"+l(C,4)+l(u,4)+L+T+V}}var n=b("../utils"),h=b("../stream/GenericWorker"),_=b("../utf8"),y=b("../crc32"),p=b("../signature");function g(i,d,e,u){h.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=d,this.zipPlatform=e,this.encodeFileName=u,this.streamFiles=i,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(g,h),g.prototype.push=function(i){var d=i.meta.percent||0,e=this.entriesCount,u=this._sources.length;this.accumulate?this.contentBuffer.push(i):(this.bytesWritten+=i.data.length,h.prototype.push.call(this,{data:i.data,meta:{currentFile:this.currentFile,percent:e?(d+100*(e-u-1))/e:100}}))},g.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var d=this.streamFiles&&!i.file.dir;if(d){var e=o(i,d,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:e.fileRecord,meta:{percent:0}})}else this.accumulate=!0},g.prototype.closedSource=function(i){this.accumulate=!1;var d=this.streamFiles&&!i.file.dir,e=o(i,d,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(e.dirRecord),d)this.push({data:function(u){return p.DATA_DESCRIPTOR+l(u.crc32,4)+l(u.compressedSize,4)+l(u.uncompressedSize,4)}(i),meta:{percent:100}});else for(this.push({data:e.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},g.prototype.flush=function(){for(var i=this.bytesWritten,d=0;d<this.dirRecords.length;d++)this.push({data:this.dirRecords[d],meta:{percent:100}});var e=this.bytesWritten-i,u=function(a,c,v,S,x){var D=n.transformTo("string",x(S));return p.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(a,2)+l(a,2)+l(c,4)+l(v,4)+l(D.length,2)+D}(this.dirRecords.length,e,i,this.zipComment,this.encodeFileName);this.push({data:u,meta:{percent:100}})},g.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},g.prototype.registerPrevious=function(i){this._sources.push(i);var d=this;return i.on("data",function(e){d.processChunk(e)}),i.on("end",function(){d.closedSource(d.previous.streamInfo),d._sources.length?d.prepareNextSource():d.end()}),i.on("error",function(e){d.error(e)}),this},g.prototype.resume=function(){return!!h.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},g.prototype.error=function(i){var d=this._sources;if(!h.prototype.error.call(this,i))return!1;for(var e=0;e<d.length;e++)try{d[e].error(i)}catch{}return!0},g.prototype.lock=function(){h.prototype.lock.call(this);for(var i=this._sources,d=0;d<i.length;d++)i[d].lock()},U.exports=g},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(b,U,k){var l=b("../compressions"),o=b("./ZipFileWorker");k.generateWorker=function(n,h,_){var y=new o(h.streamFiles,_,h.platform,h.encodeFileName),p=0;try{n.forEach(function(g,i){p++;var d=function(c,v){var S=c||v,x=l[S];if(!x)throw new Error(S+" is not a valid compression method !");return x}(i.options.compression,h.compression),e=i.options.compressionOptions||h.compressionOptions||{},u=i.dir,a=i.date;i._compressWorker(d,e).withStreamInfo("file",{name:g,dir:u,date:a,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(y)}),y.entriesCount=p}catch(g){y.error(g)}return y}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(b,U,k){function l(){if(!(this instanceof l))return new l;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var o=new l;for(var n in this)typeof this[n]!="function"&&(o[n]=this[n]);return o}}(l.prototype=b("./object")).loadAsync=b("./load"),l.support=b("./support"),l.defaults=b("./defaults"),l.version="3.10.1",l.loadAsync=function(o,n){return new l().loadAsync(o,n)},l.external=b("./external"),U.exports=l},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(b,U,k){var l=b("./utils"),o=b("./external"),n=b("./utf8"),h=b("./zipEntries"),_=b("./stream/Crc32Probe"),y=b("./nodejsUtils");function p(g){return new o.Promise(function(i,d){var e=g.decompressed.getContentWorker().pipe(new _);e.on("error",function(u){d(u)}).on("end",function(){e.streamInfo.crc32!==g.decompressed.crc32?d(new Error("Corrupted zip : CRC32 mismatch")):i()}).resume()})}U.exports=function(g,i){var d=this;return i=l.extend(i||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),y.isNode&&y.isStream(g)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):l.prepareContent("the loaded zip file",g,!0,i.optimizedBinaryString,i.base64).then(function(e){var u=new h(i);return u.load(e),u}).then(function(e){var u=[o.Promise.resolve(e)],a=e.files;if(i.checkCRC32)for(var c=0;c<a.length;c++)u.push(p(a[c]));return o.Promise.all(u)}).then(function(e){for(var u=e.shift(),a=u.files,c=0;c<a.length;c++){var v=a[c],S=v.fileNameStr,x=l.resolve(v.fileNameStr);d.file(x,v.decompressed,{binary:!0,optimizedBinaryString:!0,date:v.date,dir:v.dir,comment:v.fileCommentStr.length?v.fileCommentStr:null,unixPermissions:v.unixPermissions,dosPermissions:v.dosPermissions,createFolders:i.createFolders}),v.dir||(d.file(x).unsafeOriginalName=S)}return u.zipComment.length&&(d.comment=u.zipComment),d})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(b,U,k){var l=b("../utils"),o=b("../stream/GenericWorker");function n(h,_){o.call(this,"Nodejs stream input adapter for "+h),this._upstreamEnded=!1,this._bindStream(_)}l.inherits(n,o),n.prototype._bindStream=function(h){var _=this;(this._stream=h).pause(),h.on("data",function(y){_.push({data:y,meta:{percent:0}})}).on("error",function(y){_.isPaused?this.generatedError=y:_.error(y)}).on("end",function(){_.isPaused?_._upstreamEnded=!0:_.end()})},n.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},U.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(b,U,k){var l=b("readable-stream").Readable;function o(n,h,_){l.call(this,h),this._helper=n;var y=this;n.on("data",function(p,g){y.push(p)||y._helper.pause(),_&&_(g)}).on("error",function(p){y.emit("error",p)}).on("end",function(){y.push(null)})}b("../utils").inherits(o,l),o.prototype._read=function(){this._helper.resume()},U.exports=o},{"../utils":32,"readable-stream":16}],14:[function(b,U,k){U.exports={isNode:typeof Buffer<"u",newBufferFrom:function(l,o){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(l,o);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new Buffer(l,o)},allocBuffer:function(l){if(Buffer.alloc)return Buffer.alloc(l);var o=new Buffer(l);return o.fill(0),o},isBuffer:function(l){return Buffer.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(b,U,k){function l(x,D,O){var L,I=n.getTypeOf(D),W=n.extend(O||{},y);W.date=W.date||new Date,W.compression!==null&&(W.compression=W.compression.toUpperCase()),typeof W.unixPermissions=="string"&&(W.unixPermissions=parseInt(W.unixPermissions,8)),W.unixPermissions&&16384&W.unixPermissions&&(W.dir=!0),W.dosPermissions&&16&W.dosPermissions&&(W.dir=!0),W.dir&&(x=a(x)),W.createFolders&&(L=u(x))&&c.call(this,L,!0);var V=I==="string"&&W.binary===!1&&W.base64===!1;O&&O.binary!==void 0||(W.binary=!V),(D instanceof p&&D.uncompressedSize===0||W.dir||!D||D.length===0)&&(W.base64=!1,W.binary=!0,D="",W.compression="STORE",I="string");var m=null;m=D instanceof p||D instanceof h?D:d.isNode&&d.isStream(D)?new e(x,D):n.prepareContent(x,D,W.binary,W.optimizedBinaryString,W.base64);var B=new g(x,m,W);this.files[x]=B}var o=b("./utf8"),n=b("./utils"),h=b("./stream/GenericWorker"),_=b("./stream/StreamHelper"),y=b("./defaults"),p=b("./compressedObject"),g=b("./zipObject"),i=b("./generate"),d=b("./nodejsUtils"),e=b("./nodejs/NodejsStreamInputAdapter"),u=function(x){x.slice(-1)==="/"&&(x=x.substring(0,x.length-1));var D=x.lastIndexOf("/");return 0<D?x.substring(0,D):""},a=function(x){return x.slice(-1)!=="/"&&(x+="/"),x},c=function(x,D){return D=D!==void 0?D:y.createFolders,x=a(x),this.files[x]||l.call(this,x,null,{dir:!0,createFolders:D}),this.files[x]};function v(x){return Object.prototype.toString.call(x)==="[object RegExp]"}var S={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(x){var D,O,L;for(D in this.files)L=this.files[D],(O=D.slice(this.root.length,D.length))&&D.slice(0,this.root.length)===this.root&&x(O,L)},filter:function(x){var D=[];return this.forEach(function(O,L){x(O,L)&&D.push(L)}),D},file:function(x,D,O){if(arguments.length!==1)return x=this.root+x,l.call(this,x,D,O),this;if(v(x)){var L=x;return this.filter(function(W,V){return!V.dir&&L.test(W)})}var I=this.files[this.root+x];return I&&!I.dir?I:null},folder:function(x){if(!x)return this;if(v(x))return this.filter(function(I,W){return W.dir&&x.test(I)});var D=this.root+x,O=c.call(this,D),L=this.clone();return L.root=O.name,L},remove:function(x){x=this.root+x;var D=this.files[x];if(D||(x.slice(-1)!=="/"&&(x+="/"),D=this.files[x]),D&&!D.dir)delete this.files[x];else for(var O=this.filter(function(I,W){return W.name.slice(0,x.length)===x}),L=0;L<O.length;L++)delete this.files[O[L].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(x){var D,O={};try{if((O=n.extend(x||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=O.type.toLowerCase(),O.compression=O.compression.toUpperCase(),O.type==="binarystring"&&(O.type="string"),!O.type)throw new Error("No output type specified.");n.checkSupport(O.type),O.platform!=="darwin"&&O.platform!=="freebsd"&&O.platform!=="linux"&&O.platform!=="sunos"||(O.platform="UNIX"),O.platform==="win32"&&(O.platform="DOS");var L=O.comment||this.comment||"";D=i.generateWorker(this,O,L)}catch(I){(D=new h("error")).error(I)}return new _(D,O.type||"string",O.mimeType)},generateAsync:function(x,D){return this.generateInternalStream(x).accumulate(D)},generateNodeStream:function(x,D){return(x=x||{}).type||(x.type="nodebuffer"),this.generateInternalStream(x).toNodejsStream(D)}};U.exports=S},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(b,U,k){U.exports=b("stream")},{stream:void 0}],17:[function(b,U,k){var l=b("./DataReader");function o(n){l.call(this,n);for(var h=0;h<this.data.length;h++)n[h]=255&n[h]}b("../utils").inherits(o,l),o.prototype.byteAt=function(n){return this.data[this.zero+n]},o.prototype.lastIndexOfSignature=function(n){for(var h=n.charCodeAt(0),_=n.charCodeAt(1),y=n.charCodeAt(2),p=n.charCodeAt(3),g=this.length-4;0<=g;--g)if(this.data[g]===h&&this.data[g+1]===_&&this.data[g+2]===y&&this.data[g+3]===p)return g-this.zero;return-1},o.prototype.readAndCheckSignature=function(n){var h=n.charCodeAt(0),_=n.charCodeAt(1),y=n.charCodeAt(2),p=n.charCodeAt(3),g=this.readData(4);return h===g[0]&&_===g[1]&&y===g[2]&&p===g[3]},o.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var h=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},U.exports=o},{"../utils":32,"./DataReader":18}],18:[function(b,U,k){var l=b("../utils");function o(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var h,_=0;for(this.checkOffset(n),h=this.index+n-1;h>=this.index;h--)_=(_<<8)+this.byteAt(h);return this.index+=n,_},readString:function(n){return l.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},U.exports=o},{"../utils":32}],19:[function(b,U,k){var l=b("./Uint8ArrayReader");function o(n){l.call(this,n)}b("../utils").inherits(o,l),o.prototype.readData=function(n){this.checkOffset(n);var h=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},U.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(b,U,k){var l=b("./DataReader");function o(n){l.call(this,n)}b("../utils").inherits(o,l),o.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},o.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},o.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},o.prototype.readData=function(n){this.checkOffset(n);var h=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},U.exports=o},{"../utils":32,"./DataReader":18}],21:[function(b,U,k){var l=b("./ArrayReader");function o(n){l.call(this,n)}b("../utils").inherits(o,l),o.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var h=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},U.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(b,U,k){var l=b("../utils"),o=b("../support"),n=b("./ArrayReader"),h=b("./StringReader"),_=b("./NodeBufferReader"),y=b("./Uint8ArrayReader");U.exports=function(p){var g=l.getTypeOf(p);return l.checkSupport(g),g!=="string"||o.uint8array?g==="nodebuffer"?new _(p):o.uint8array?new y(l.transformTo("uint8array",p)):new n(l.transformTo("array",p)):new h(p)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(b,U,k){k.LOCAL_FILE_HEADER="PK",k.CENTRAL_FILE_HEADER="PK",k.CENTRAL_DIRECTORY_END="PK",k.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",k.ZIP64_CENTRAL_DIRECTORY_END="PK",k.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(b,U,k){var l=b("./GenericWorker"),o=b("../utils");function n(h){l.call(this,"ConvertWorker to "+h),this.destType=h}o.inherits(n,l),n.prototype.processChunk=function(h){this.push({data:o.transformTo(this.destType,h.data),meta:h.meta})},U.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(b,U,k){var l=b("./GenericWorker"),o=b("../crc32");function n(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}b("../utils").inherits(n,l),n.prototype.processChunk=function(h){this.streamInfo.crc32=o(h.data,this.streamInfo.crc32||0),this.push(h)},U.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(b,U,k){var l=b("../utils"),o=b("./GenericWorker");function n(h){o.call(this,"DataLengthProbe for "+h),this.propName=h,this.withStreamInfo(h,0)}l.inherits(n,o),n.prototype.processChunk=function(h){if(h){var _=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=_+h.data.length}o.prototype.processChunk.call(this,h)},U.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(b,U,k){var l=b("../utils"),o=b("./GenericWorker");function n(h){o.call(this,"DataWorker");var _=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,h.then(function(y){_.dataIsReady=!0,_.data=y,_.max=y&&y.length||0,_.type=l.getTypeOf(y),_.isPaused||_._tickAndRepeat()},function(y){_.error(y)})}l.inherits(n,o),n.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var h=null,_=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":h=this.data.substring(this.index,_);break;case"uint8array":h=this.data.subarray(this.index,_);break;case"array":case"nodebuffer":h=this.data.slice(this.index,_)}return this.index=_,this.push({data:h,meta:{percent:this.max?this.index/this.max*100:0}})},U.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(b,U,k){function l(o){this.name=o||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}l.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,n){return this._listeners[o].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,n){if(this._listeners[o])for(var h=0;h<this._listeners[o].length;h++)this._listeners[o][h].call(this,n)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var n=this;return o.on("data",function(h){n.processChunk(h)}),o.on("end",function(){n.end()}),o.on("error",function(h){n.error(h)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,n){return this.extraStreamInfo[o]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},U.exports=l},{}],29:[function(b,U,k){var l=b("../utils"),o=b("./ConvertWorker"),n=b("./GenericWorker"),h=b("../base64"),_=b("../support"),y=b("../external"),p=null;if(_.nodestream)try{p=b("../nodejs/NodejsStreamOutputAdapter")}catch{}function g(d,e){return new y.Promise(function(u,a){var c=[],v=d._internalType,S=d._outputType,x=d._mimeType;d.on("data",function(D,O){c.push(D),e&&e(O)}).on("error",function(D){c=[],a(D)}).on("end",function(){try{var D=function(O,L,I){switch(O){case"blob":return l.newBlob(l.transformTo("arraybuffer",L),I);case"base64":return h.encode(L);default:return l.transformTo(O,L)}}(S,function(O,L){var I,W=0,V=null,m=0;for(I=0;I<L.length;I++)m+=L[I].length;switch(O){case"string":return L.join("");case"array":return Array.prototype.concat.apply([],L);case"uint8array":for(V=new Uint8Array(m),I=0;I<L.length;I++)V.set(L[I],W),W+=L[I].length;return V;case"nodebuffer":return Buffer.concat(L);default:throw new Error("concat : unsupported type '"+O+"'")}}(v,c),x);u(D)}catch(O){a(O)}c=[]}).resume()})}function i(d,e,u){var a=e;switch(e){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=e,this._mimeType=u,l.checkSupport(a),this._worker=d.pipe(new o(a)),d.lock()}catch(c){this._worker=new n("error"),this._worker.error(c)}}i.prototype={accumulate:function(d){return g(this,d)},on:function(d,e){var u=this;return d==="data"?this._worker.on(d,function(a){e.call(u,a.data,a.meta)}):this._worker.on(d,function(){l.delay(e,arguments,u)}),this},resume:function(){return l.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(d){if(l.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new p(this,{objectMode:this._outputType!=="nodebuffer"},d)}},U.exports=i},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(b,U,k){if(k.base64=!0,k.array=!0,k.string=!0,k.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",k.nodebuffer=typeof Buffer<"u",k.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")k.blob=!1;else{var l=new ArrayBuffer(0);try{k.blob=new Blob([l],{type:"application/zip"}).size===0}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(l),k.blob=o.getBlob("application/zip").size===0}catch{k.blob=!1}}}try{k.nodestream=!!b("readable-stream").Readable}catch{k.nodestream=!1}},{"readable-stream":16}],31:[function(b,U,k){for(var l=b("./utils"),o=b("./support"),n=b("./nodejsUtils"),h=b("./stream/GenericWorker"),_=new Array(256),y=0;y<256;y++)_[y]=252<=y?6:248<=y?5:240<=y?4:224<=y?3:192<=y?2:1;_[254]=_[254]=1;function p(){h.call(this,"utf-8 decode"),this.leftOver=null}function g(){h.call(this,"utf-8 encode")}k.utf8encode=function(i){return o.nodebuffer?n.newBufferFrom(i,"utf-8"):function(d){var e,u,a,c,v,S=d.length,x=0;for(c=0;c<S;c++)(64512&(u=d.charCodeAt(c)))==55296&&c+1<S&&(64512&(a=d.charCodeAt(c+1)))==56320&&(u=65536+(u-55296<<10)+(a-56320),c++),x+=u<128?1:u<2048?2:u<65536?3:4;for(e=o.uint8array?new Uint8Array(x):new Array(x),c=v=0;v<x;c++)(64512&(u=d.charCodeAt(c)))==55296&&c+1<S&&(64512&(a=d.charCodeAt(c+1)))==56320&&(u=65536+(u-55296<<10)+(a-56320),c++),u<128?e[v++]=u:(u<2048?e[v++]=192|u>>>6:(u<65536?e[v++]=224|u>>>12:(e[v++]=240|u>>>18,e[v++]=128|u>>>12&63),e[v++]=128|u>>>6&63),e[v++]=128|63&u);return e}(i)},k.utf8decode=function(i){return o.nodebuffer?l.transformTo("nodebuffer",i).toString("utf-8"):function(d){var e,u,a,c,v=d.length,S=new Array(2*v);for(e=u=0;e<v;)if((a=d[e++])<128)S[u++]=a;else if(4<(c=_[a]))S[u++]=65533,e+=c-1;else{for(a&=c===2?31:c===3?15:7;1<c&&e<v;)a=a<<6|63&d[e++],c--;1<c?S[u++]=65533:a<65536?S[u++]=a:(a-=65536,S[u++]=55296|a>>10&1023,S[u++]=56320|1023&a)}return S.length!==u&&(S.subarray?S=S.subarray(0,u):S.length=u),l.applyFromCharCode(S)}(i=l.transformTo(o.uint8array?"uint8array":"array",i))},l.inherits(p,h),p.prototype.processChunk=function(i){var d=l.transformTo(o.uint8array?"uint8array":"array",i.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var e=d;(d=new Uint8Array(e.length+this.leftOver.length)).set(this.leftOver,0),d.set(e,this.leftOver.length)}else d=this.leftOver.concat(d);this.leftOver=null}var u=function(c,v){var S;for((v=v||c.length)>c.length&&(v=c.length),S=v-1;0<=S&&(192&c[S])==128;)S--;return S<0||S===0?v:S+_[c[S]]>v?S:v}(d),a=d;u!==d.length&&(o.uint8array?(a=d.subarray(0,u),this.leftOver=d.subarray(u,d.length)):(a=d.slice(0,u),this.leftOver=d.slice(u,d.length))),this.push({data:k.utf8decode(a),meta:i.meta})},p.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:k.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},k.Utf8DecodeWorker=p,l.inherits(g,h),g.prototype.processChunk=function(i){this.push({data:k.utf8encode(i.data),meta:i.meta})},k.Utf8EncodeWorker=g},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(b,U,k){var l=b("./support"),o=b("./base64"),n=b("./nodejsUtils"),h=b("./external");function _(e){return e}function y(e,u){for(var a=0;a<e.length;++a)u[a]=255&e.charCodeAt(a);return u}b("setimmediate"),k.newBlob=function(e,u){k.checkSupport("blob");try{return new Blob([e],{type:u})}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return a.append(e),a.getBlob(u)}catch{throw new Error("Bug : can't construct the Blob.")}}};var p={stringifyByChunk:function(e,u,a){var c=[],v=0,S=e.length;if(S<=a)return String.fromCharCode.apply(null,e);for(;v<S;)u==="array"||u==="nodebuffer"?c.push(String.fromCharCode.apply(null,e.slice(v,Math.min(v+a,S)))):c.push(String.fromCharCode.apply(null,e.subarray(v,Math.min(v+a,S)))),v+=a;return c.join("")},stringifyByChar:function(e){for(var u="",a=0;a<e.length;a++)u+=String.fromCharCode(e[a]);return u},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}}()}};function g(e){var u=65536,a=k.getTypeOf(e),c=!0;if(a==="uint8array"?c=p.applyCanBeUsed.uint8array:a==="nodebuffer"&&(c=p.applyCanBeUsed.nodebuffer),c)for(;1<u;)try{return p.stringifyByChunk(e,a,u)}catch{u=Math.floor(u/2)}return p.stringifyByChar(e)}function i(e,u){for(var a=0;a<e.length;a++)u[a]=e[a];return u}k.applyFromCharCode=g;var d={};d.string={string:_,array:function(e){return y(e,new Array(e.length))},arraybuffer:function(e){return d.string.uint8array(e).buffer},uint8array:function(e){return y(e,new Uint8Array(e.length))},nodebuffer:function(e){return y(e,n.allocBuffer(e.length))}},d.array={string:g,array:_,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(e)}},d.arraybuffer={string:function(e){return g(new Uint8Array(e))},array:function(e){return i(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:_,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return n.newBufferFrom(new Uint8Array(e))}},d.uint8array={string:g,array:function(e){return i(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:_,nodebuffer:function(e){return n.newBufferFrom(e)}},d.nodebuffer={string:g,array:function(e){return i(e,new Array(e.length))},arraybuffer:function(e){return d.nodebuffer.uint8array(e).buffer},uint8array:function(e){return i(e,new Uint8Array(e.length))},nodebuffer:_},k.transformTo=function(e,u){if(u=u||"",!e)return u;k.checkSupport(e);var a=k.getTypeOf(u);return d[a][e](u)},k.resolve=function(e){for(var u=e.split("/"),a=[],c=0;c<u.length;c++){var v=u[c];v==="."||v===""&&c!==0&&c!==u.length-1||(v===".."?a.pop():a.push(v))}return a.join("/")},k.getTypeOf=function(e){return typeof e=="string"?"string":Object.prototype.toString.call(e)==="[object Array]"?"array":l.nodebuffer&&n.isBuffer(e)?"nodebuffer":l.uint8array&&e instanceof Uint8Array?"uint8array":l.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},k.checkSupport=function(e){if(!l[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},k.MAX_VALUE_16BITS=65535,k.MAX_VALUE_32BITS=-1,k.pretty=function(e){var u,a,c="";for(a=0;a<(e||"").length;a++)c+="\\x"+((u=e.charCodeAt(a))<16?"0":"")+u.toString(16).toUpperCase();return c},k.delay=function(e,u,a){setImmediate(function(){e.apply(a||null,u||[])})},k.inherits=function(e,u){function a(){}a.prototype=u.prototype,e.prototype=new a},k.extend=function(){var e,u,a={};for(e=0;e<arguments.length;e++)for(u in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],u)&&a[u]===void 0&&(a[u]=arguments[e][u]);return a},k.prepareContent=function(e,u,a,c,v){return h.Promise.resolve(u).then(function(S){return l.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader<"u"?new h.Promise(function(x,D){var O=new FileReader;O.onload=function(L){x(L.target.result)},O.onerror=function(L){D(L.target.error)},O.readAsArrayBuffer(S)}):S}).then(function(S){var x=k.getTypeOf(S);return x?(x==="arraybuffer"?S=k.transformTo("uint8array",S):x==="string"&&(v?S=o.decode(S):a&&c!==!0&&(S=function(D){return y(D,l.uint8array?new Uint8Array(D.length):new Array(D.length))}(S))),S):h.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(b,U,k){var l=b("./reader/readerFor"),o=b("./utils"),n=b("./signature"),h=b("./zipEntry"),_=b("./support");function y(p){this.files=[],this.loadOptions=p}y.prototype={checkSignature:function(p){if(!this.reader.readAndCheckSignature(p)){this.reader.index-=4;var g=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(g)+", expected "+o.pretty(p)+")")}},isSignature:function(p,g){var i=this.reader.index;this.reader.setIndex(p);var d=this.reader.readString(4)===g;return this.reader.setIndex(i),d},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var p=this.reader.readData(this.zipCommentLength),g=_.uint8array?"uint8array":"array",i=o.transformTo(g,p);this.zipComment=this.loadOptions.decodeFileName(i)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var p,g,i,d=this.zip64EndOfCentralSize-44;0<d;)p=this.reader.readInt(2),g=this.reader.readInt(4),i=this.reader.readData(g),this.zip64ExtensibleData[p]={id:p,length:g,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var p,g;for(p=0;p<this.files.length;p++)g=this.files[p],this.reader.setIndex(g.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),g.readLocalPart(this.reader),g.handleUTF8(),g.processAttributes()},readCentralDir:function(){var p;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(p=new h({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(p);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var p=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(p<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(p);var g=p;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(p=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(p),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var d=g-i;if(0<d)this.isSignature(g,n.CENTRAL_FILE_HEADER)||(this.reader.zero=d);else if(d<0)throw new Error("Corrupted zip: missing "+Math.abs(d)+" bytes.")},prepareReader:function(p){this.reader=l(p)},load:function(p){this.prepareReader(p),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},U.exports=y},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(b,U,k){var l=b("./reader/readerFor"),o=b("./utils"),n=b("./compressedObject"),h=b("./crc32"),_=b("./utf8"),y=b("./compressions"),p=b("./support");function g(i,d){this.options=i,this.loadOptions=d}g.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(i){var d,e;if(i.skip(22),this.fileNameLength=i.readInt(2),e=i.readInt(2),this.fileName=i.readData(this.fileNameLength),i.skip(e),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((d=function(u){for(var a in y)if(Object.prototype.hasOwnProperty.call(y,a)&&y[a].magic===u)return y[a];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,d,i.readData(this.compressedSize))},readCentralPart:function(i){this.versionMadeBy=i.readInt(2),i.skip(2),this.bitFlag=i.readInt(2),this.compressionMethod=i.readString(2),this.date=i.readDate(),this.crc32=i.readInt(4),this.compressedSize=i.readInt(4),this.uncompressedSize=i.readInt(4);var d=i.readInt(2);if(this.extraFieldsLength=i.readInt(2),this.fileCommentLength=i.readInt(2),this.diskNumberStart=i.readInt(2),this.internalFileAttributes=i.readInt(2),this.externalFileAttributes=i.readInt(4),this.localHeaderOffset=i.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");i.skip(d),this.readExtraFields(i),this.parseZIP64ExtraField(i),this.fileComment=i.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var i=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),i==0&&(this.dosPermissions=63&this.externalFileAttributes),i==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var i=l(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=i.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=i.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=i.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=i.readInt(4))}},readExtraFields:function(i){var d,e,u,a=i.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});i.index+4<a;)d=i.readInt(2),e=i.readInt(2),u=i.readData(e),this.extraFields[d]={id:d,length:e,value:u};i.setIndex(a)},handleUTF8:function(){var i=p.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=_.utf8decode(this.fileName),this.fileCommentStr=_.utf8decode(this.fileComment);else{var d=this.findExtraFieldUnicodePath();if(d!==null)this.fileNameStr=d;else{var e=o.transformTo(i,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(e)}var u=this.findExtraFieldUnicodeComment();if(u!==null)this.fileCommentStr=u;else{var a=o.transformTo(i,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var i=this.extraFields[28789];if(i){var d=l(i.value);return d.readInt(1)!==1||h(this.fileName)!==d.readInt(4)?null:_.utf8decode(d.readData(i.length-5))}return null},findExtraFieldUnicodeComment:function(){var i=this.extraFields[25461];if(i){var d=l(i.value);return d.readInt(1)!==1||h(this.fileComment)!==d.readInt(4)?null:_.utf8decode(d.readData(i.length-5))}return null}},U.exports=g},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(b,U,k){function l(d,e,u){this.name=d,this.dir=u.dir,this.date=u.date,this.comment=u.comment,this.unixPermissions=u.unixPermissions,this.dosPermissions=u.dosPermissions,this._data=e,this._dataBinary=u.binary,this.options={compression:u.compression,compressionOptions:u.compressionOptions}}var o=b("./stream/StreamHelper"),n=b("./stream/DataWorker"),h=b("./utf8"),_=b("./compressedObject"),y=b("./stream/GenericWorker");l.prototype={internalStream:function(d){var e=null,u="string";try{if(!d)throw new Error("No output type specified.");var a=(u=d.toLowerCase())==="string"||u==="text";u!=="binarystring"&&u!=="text"||(u="string"),e=this._decompressWorker();var c=!this._dataBinary;c&&!a&&(e=e.pipe(new h.Utf8EncodeWorker)),!c&&a&&(e=e.pipe(new h.Utf8DecodeWorker))}catch(v){(e=new y("error")).error(v)}return new o(e,u,"")},async:function(d,e){return this.internalStream(d).accumulate(e)},nodeStream:function(d,e){return this.internalStream(d||"nodebuffer").toNodejsStream(e)},_compressWorker:function(d,e){if(this._data instanceof _&&this._data.compression.magic===d.magic)return this._data.getCompressedWorker();var u=this._decompressWorker();return this._dataBinary||(u=u.pipe(new h.Utf8EncodeWorker)),_.createWorkerFrom(u,d,e)},_decompressWorker:function(){return this._data instanceof _?this._data.getContentWorker():this._data instanceof y?this._data:new n(this._data)}};for(var p=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],g=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},i=0;i<p.length;i++)l.prototype[p[i]]=g;U.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(b,U,k){(function(l){var o,n,h=l.MutationObserver||l.WebKitMutationObserver;if(h){var _=0,y=new h(d),p=l.document.createTextNode("");y.observe(p,{characterData:!0}),o=function(){p.data=_=++_%2}}else if(l.setImmediate||l.MessageChannel===void 0)o="document"in l&&"onreadystatechange"in l.document.createElement("script")?function(){var e=l.document.createElement("script");e.onreadystatechange=function(){d(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},l.document.documentElement.appendChild(e)}:function(){setTimeout(d,0)};else{var g=new l.MessageChannel;g.port1.onmessage=d,o=function(){g.port2.postMessage(0)}}var i=[];function d(){var e,u;n=!0;for(var a=i.length;a;){for(u=i,i=[],e=-1;++e<a;)u[e]();a=i.length}n=!1}U.exports=function(e){i.push(e)!==1||n||o()}}).call(this,typeof bt<"u"?bt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(b,U,k){var l=b("immediate");function o(){}var n={},h=["REJECTED"],_=["FULFILLED"],y=["PENDING"];function p(a){if(typeof a!="function")throw new TypeError("resolver must be a function");this.state=y,this.queue=[],this.outcome=void 0,a!==o&&e(this,a)}function g(a,c,v){this.promise=a,typeof c=="function"&&(this.onFulfilled=c,this.callFulfilled=this.otherCallFulfilled),typeof v=="function"&&(this.onRejected=v,this.callRejected=this.otherCallRejected)}function i(a,c,v){l(function(){var S;try{S=c(v)}catch(x){return n.reject(a,x)}S===a?n.reject(a,new TypeError("Cannot resolve promise with itself")):n.resolve(a,S)})}function d(a){var c=a&&a.then;if(a&&(typeof a=="object"||typeof a=="function")&&typeof c=="function")return function(){c.apply(a,arguments)}}function e(a,c){var v=!1;function S(O){v||(v=!0,n.reject(a,O))}function x(O){v||(v=!0,n.resolve(a,O))}var D=u(function(){c(x,S)});D.status==="error"&&S(D.value)}function u(a,c){var v={};try{v.value=a(c),v.status="success"}catch(S){v.status="error",v.value=S}return v}(U.exports=p).prototype.finally=function(a){if(typeof a!="function")return this;var c=this.constructor;return this.then(function(v){return c.resolve(a()).then(function(){return v})},function(v){return c.resolve(a()).then(function(){throw v})})},p.prototype.catch=function(a){return this.then(null,a)},p.prototype.then=function(a,c){if(typeof a!="function"&&this.state===_||typeof c!="function"&&this.state===h)return this;var v=new this.constructor(o);return this.state!==y?i(v,this.state===_?a:c,this.outcome):this.queue.push(new g(v,a,c)),v},g.prototype.callFulfilled=function(a){n.resolve(this.promise,a)},g.prototype.otherCallFulfilled=function(a){i(this.promise,this.onFulfilled,a)},g.prototype.callRejected=function(a){n.reject(this.promise,a)},g.prototype.otherCallRejected=function(a){i(this.promise,this.onRejected,a)},n.resolve=function(a,c){var v=u(d,c);if(v.status==="error")return n.reject(a,v.value);var S=v.value;if(S)e(a,S);else{a.state=_,a.outcome=c;for(var x=-1,D=a.queue.length;++x<D;)a.queue[x].callFulfilled(c)}return a},n.reject=function(a,c){a.state=h,a.outcome=c;for(var v=-1,S=a.queue.length;++v<S;)a.queue[v].callRejected(c);return a},p.resolve=function(a){return a instanceof this?a:n.resolve(new this(o),a)},p.reject=function(a){var c=new this(o);return n.reject(c,a)},p.all=function(a){var c=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=a.length,S=!1;if(!v)return this.resolve([]);for(var x=new Array(v),D=0,O=-1,L=new this(o);++O<v;)I(a[O],O);return L;function I(W,V){c.resolve(W).then(function(m){x[V]=m,++D!==v||S||(S=!0,n.resolve(L,x))},function(m){S||(S=!0,n.reject(L,m))})}},p.race=function(a){var c=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=a.length,S=!1;if(!v)return this.resolve([]);for(var x=-1,D=new this(o);++x<v;)O=a[x],c.resolve(O).then(function(L){S||(S=!0,n.resolve(D,L))},function(L){S||(S=!0,n.reject(D,L))});var O;return D}},{immediate:36}],38:[function(b,U,k){var l={};(0,b("./lib/utils/common").assign)(l,b("./lib/deflate"),b("./lib/inflate"),b("./lib/zlib/constants")),U.exports=l},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(b,U,k){var l=b("./zlib/deflate"),o=b("./utils/common"),n=b("./utils/strings"),h=b("./zlib/messages"),_=b("./zlib/zstream"),y=Object.prototype.toString,p=0,g=-1,i=0,d=8;function e(a){if(!(this instanceof e))return new e(a);this.options=o.assign({level:g,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:i,to:""},a||{});var c=this.options;c.raw&&0<c.windowBits?c.windowBits=-c.windowBits:c.gzip&&0<c.windowBits&&c.windowBits<16&&(c.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new _,this.strm.avail_out=0;var v=l.deflateInit2(this.strm,c.level,c.method,c.windowBits,c.memLevel,c.strategy);if(v!==p)throw new Error(h[v]);if(c.header&&l.deflateSetHeader(this.strm,c.header),c.dictionary){var S;if(S=typeof c.dictionary=="string"?n.string2buf(c.dictionary):y.call(c.dictionary)==="[object ArrayBuffer]"?new Uint8Array(c.dictionary):c.dictionary,(v=l.deflateSetDictionary(this.strm,S))!==p)throw new Error(h[v]);this._dict_set=!0}}function u(a,c){var v=new e(c);if(v.push(a,!0),v.err)throw v.msg||h[v.err];return v.result}e.prototype.push=function(a,c){var v,S,x=this.strm,D=this.options.chunkSize;if(this.ended)return!1;S=c===~~c?c:c===!0?4:0,typeof a=="string"?x.input=n.string2buf(a):y.call(a)==="[object ArrayBuffer]"?x.input=new Uint8Array(a):x.input=a,x.next_in=0,x.avail_in=x.input.length;do{if(x.avail_out===0&&(x.output=new o.Buf8(D),x.next_out=0,x.avail_out=D),(v=l.deflate(x,S))!==1&&v!==p)return this.onEnd(v),!(this.ended=!0);x.avail_out!==0&&(x.avail_in!==0||S!==4&&S!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(o.shrinkBuf(x.output,x.next_out))):this.onData(o.shrinkBuf(x.output,x.next_out)))}while((0<x.avail_in||x.avail_out===0)&&v!==1);return S===4?(v=l.deflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===p):S!==2||(this.onEnd(p),!(x.avail_out=0))},e.prototype.onData=function(a){this.chunks.push(a)},e.prototype.onEnd=function(a){a===p&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},k.Deflate=e,k.deflate=u,k.deflateRaw=function(a,c){return(c=c||{}).raw=!0,u(a,c)},k.gzip=function(a,c){return(c=c||{}).gzip=!0,u(a,c)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(b,U,k){var l=b("./zlib/inflate"),o=b("./utils/common"),n=b("./utils/strings"),h=b("./zlib/constants"),_=b("./zlib/messages"),y=b("./zlib/zstream"),p=b("./zlib/gzheader"),g=Object.prototype.toString;function i(e){if(!(this instanceof i))return new i(e);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},e||{});var u=this.options;u.raw&&0<=u.windowBits&&u.windowBits<16&&(u.windowBits=-u.windowBits,u.windowBits===0&&(u.windowBits=-15)),!(0<=u.windowBits&&u.windowBits<16)||e&&e.windowBits||(u.windowBits+=32),15<u.windowBits&&u.windowBits<48&&!(15&u.windowBits)&&(u.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new y,this.strm.avail_out=0;var a=l.inflateInit2(this.strm,u.windowBits);if(a!==h.Z_OK)throw new Error(_[a]);this.header=new p,l.inflateGetHeader(this.strm,this.header)}function d(e,u){var a=new i(u);if(a.push(e,!0),a.err)throw a.msg||_[a.err];return a.result}i.prototype.push=function(e,u){var a,c,v,S,x,D,O=this.strm,L=this.options.chunkSize,I=this.options.dictionary,W=!1;if(this.ended)return!1;c=u===~~u?u:u===!0?h.Z_FINISH:h.Z_NO_FLUSH,typeof e=="string"?O.input=n.binstring2buf(e):g.call(e)==="[object ArrayBuffer]"?O.input=new Uint8Array(e):O.input=e,O.next_in=0,O.avail_in=O.input.length;do{if(O.avail_out===0&&(O.output=new o.Buf8(L),O.next_out=0,O.avail_out=L),(a=l.inflate(O,h.Z_NO_FLUSH))===h.Z_NEED_DICT&&I&&(D=typeof I=="string"?n.string2buf(I):g.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,a=l.inflateSetDictionary(this.strm,D)),a===h.Z_BUF_ERROR&&W===!0&&(a=h.Z_OK,W=!1),a!==h.Z_STREAM_END&&a!==h.Z_OK)return this.onEnd(a),!(this.ended=!0);O.next_out&&(O.avail_out!==0&&a!==h.Z_STREAM_END&&(O.avail_in!==0||c!==h.Z_FINISH&&c!==h.Z_SYNC_FLUSH)||(this.options.to==="string"?(v=n.utf8border(O.output,O.next_out),S=O.next_out-v,x=n.buf2string(O.output,v),O.next_out=S,O.avail_out=L-S,S&&o.arraySet(O.output,O.output,v,S,0),this.onData(x)):this.onData(o.shrinkBuf(O.output,O.next_out)))),O.avail_in===0&&O.avail_out===0&&(W=!0)}while((0<O.avail_in||O.avail_out===0)&&a!==h.Z_STREAM_END);return a===h.Z_STREAM_END&&(c=h.Z_FINISH),c===h.Z_FINISH?(a=l.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===h.Z_OK):c!==h.Z_SYNC_FLUSH||(this.onEnd(h.Z_OK),!(O.avail_out=0))},i.prototype.onData=function(e){this.chunks.push(e)},i.prototype.onEnd=function(e){e===h.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},k.Inflate=i,k.inflate=d,k.inflateRaw=function(e,u){return(u=u||{}).raw=!0,d(e,u)},k.ungzip=d},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(b,U,k){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";k.assign=function(h){for(var _=Array.prototype.slice.call(arguments,1);_.length;){var y=_.shift();if(y){if(typeof y!="object")throw new TypeError(y+"must be non-object");for(var p in y)y.hasOwnProperty(p)&&(h[p]=y[p])}}return h},k.shrinkBuf=function(h,_){return h.length===_?h:h.subarray?h.subarray(0,_):(h.length=_,h)};var o={arraySet:function(h,_,y,p,g){if(_.subarray&&h.subarray)h.set(_.subarray(y,y+p),g);else for(var i=0;i<p;i++)h[g+i]=_[y+i]},flattenChunks:function(h){var _,y,p,g,i,d;for(_=p=0,y=h.length;_<y;_++)p+=h[_].length;for(d=new Uint8Array(p),_=g=0,y=h.length;_<y;_++)i=h[_],d.set(i,g),g+=i.length;return d}},n={arraySet:function(h,_,y,p,g){for(var i=0;i<p;i++)h[g+i]=_[y+i]},flattenChunks:function(h){return[].concat.apply([],h)}};k.setTyped=function(h){h?(k.Buf8=Uint8Array,k.Buf16=Uint16Array,k.Buf32=Int32Array,k.assign(k,o)):(k.Buf8=Array,k.Buf16=Array,k.Buf32=Array,k.assign(k,n))},k.setTyped(l)},{}],42:[function(b,U,k){var l=b("./common"),o=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var h=new l.Buf8(256),_=0;_<256;_++)h[_]=252<=_?6:248<=_?5:240<=_?4:224<=_?3:192<=_?2:1;function y(p,g){if(g<65537&&(p.subarray&&n||!p.subarray&&o))return String.fromCharCode.apply(null,l.shrinkBuf(p,g));for(var i="",d=0;d<g;d++)i+=String.fromCharCode(p[d]);return i}h[254]=h[254]=1,k.string2buf=function(p){var g,i,d,e,u,a=p.length,c=0;for(e=0;e<a;e++)(64512&(i=p.charCodeAt(e)))==55296&&e+1<a&&(64512&(d=p.charCodeAt(e+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),e++),c+=i<128?1:i<2048?2:i<65536?3:4;for(g=new l.Buf8(c),e=u=0;u<c;e++)(64512&(i=p.charCodeAt(e)))==55296&&e+1<a&&(64512&(d=p.charCodeAt(e+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),e++),i<128?g[u++]=i:(i<2048?g[u++]=192|i>>>6:(i<65536?g[u++]=224|i>>>12:(g[u++]=240|i>>>18,g[u++]=128|i>>>12&63),g[u++]=128|i>>>6&63),g[u++]=128|63&i);return g},k.buf2binstring=function(p){return y(p,p.length)},k.binstring2buf=function(p){for(var g=new l.Buf8(p.length),i=0,d=g.length;i<d;i++)g[i]=p.charCodeAt(i);return g},k.buf2string=function(p,g){var i,d,e,u,a=g||p.length,c=new Array(2*a);for(i=d=0;i<a;)if((e=p[i++])<128)c[d++]=e;else if(4<(u=h[e]))c[d++]=65533,i+=u-1;else{for(e&=u===2?31:u===3?15:7;1<u&&i<a;)e=e<<6|63&p[i++],u--;1<u?c[d++]=65533:e<65536?c[d++]=e:(e-=65536,c[d++]=55296|e>>10&1023,c[d++]=56320|1023&e)}return y(c,d)},k.utf8border=function(p,g){var i;for((g=g||p.length)>p.length&&(g=p.length),i=g-1;0<=i&&(192&p[i])==128;)i--;return i<0||i===0?g:i+h[p[i]]>g?i:g}},{"./common":41}],43:[function(b,U,k){U.exports=function(l,o,n,h){for(var _=65535&l|0,y=l>>>16&65535|0,p=0;n!==0;){for(n-=p=2e3<n?2e3:n;y=y+(_=_+o[h++]|0)|0,--p;);_%=65521,y%=65521}return _|y<<16|0}},{}],44:[function(b,U,k){U.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(b,U,k){var l=function(){for(var o,n=[],h=0;h<256;h++){o=h;for(var _=0;_<8;_++)o=1&o?3988292384^o>>>1:o>>>1;n[h]=o}return n}();U.exports=function(o,n,h,_){var y=l,p=_+h;o^=-1;for(var g=_;g<p;g++)o=o>>>8^y[255&(o^n[g])];return-1^o}},{}],46:[function(b,U,k){var l,o=b("../utils/common"),n=b("./trees"),h=b("./adler32"),_=b("./crc32"),y=b("./messages"),p=0,g=4,i=0,d=-2,e=-1,u=4,a=2,c=8,v=9,S=286,x=30,D=19,O=2*S+1,L=15,I=3,W=258,V=W+I+1,m=42,B=113,r=1,T=2,J=3,P=4;function $(t,R){return t.msg=y[R],R}function j(t){return(t<<1)-(4<t?9:0)}function q(t){for(var R=t.length;0<=--R;)t[R]=0}function E(t){var R=t.state,A=R.pending;A>t.avail_out&&(A=t.avail_out),A!==0&&(o.arraySet(t.output,R.pending_buf,R.pending_out,A,t.next_out),t.next_out+=A,R.pending_out+=A,t.total_out+=A,t.avail_out-=A,R.pending-=A,R.pending===0&&(R.pending_out=0))}function C(t,R){n._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,R),t.block_start=t.strstart,E(t.strm)}function X(t,R){t.pending_buf[t.pending++]=R}function G(t,R){t.pending_buf[t.pending++]=R>>>8&255,t.pending_buf[t.pending++]=255&R}function H(t,R){var A,f,s=t.max_chain_length,w=t.strstart,F=t.prev_length,N=t.nice_match,z=t.strstart>t.w_size-V?t.strstart-(t.w_size-V):0,Z=t.window,K=t.w_mask,M=t.prev,Y=t.strstart+W,et=Z[w+F-1],tt=Z[w+F];t.prev_length>=t.good_match&&(s>>=2),N>t.lookahead&&(N=t.lookahead);do if(Z[(A=R)+F]===tt&&Z[A+F-1]===et&&Z[A]===Z[w]&&Z[++A]===Z[w+1]){w+=2,A++;do;while(Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&Z[++w]===Z[++A]&&w<Y);if(f=W-(Y-w),w=Y-W,F<f){if(t.match_start=R,N<=(F=f))break;et=Z[w+F-1],tt=Z[w+F]}}while((R=M[R&K])>z&&--s!=0);return F<=t.lookahead?F:t.lookahead}function nt(t){var R,A,f,s,w,F,N,z,Z,K,M=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=M+(M-V)){for(o.arraySet(t.window,t.window,M,M,0),t.match_start-=M,t.strstart-=M,t.block_start-=M,R=A=t.hash_size;f=t.head[--R],t.head[R]=M<=f?f-M:0,--A;);for(R=A=M;f=t.prev[--R],t.prev[R]=M<=f?f-M:0,--A;);s+=M}if(t.strm.avail_in===0)break;if(F=t.strm,N=t.window,z=t.strstart+t.lookahead,Z=s,K=void 0,K=F.avail_in,Z<K&&(K=Z),A=K===0?0:(F.avail_in-=K,o.arraySet(N,F.input,F.next_in,K,z),F.state.wrap===1?F.adler=h(F.adler,N,K,z):F.state.wrap===2&&(F.adler=_(F.adler,N,K,z)),F.next_in+=K,F.total_in+=K,K),t.lookahead+=A,t.lookahead+t.insert>=I)for(w=t.strstart-t.insert,t.ins_h=t.window[w],t.ins_h=(t.ins_h<<t.hash_shift^t.window[w+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[w+I-1])&t.hash_mask,t.prev[w&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=w,w++,t.insert--,!(t.lookahead+t.insert<I)););}while(t.lookahead<V&&t.strm.avail_in!==0)}function ot(t,R){for(var A,f;;){if(t.lookahead<V){if(nt(t),t.lookahead<V&&R===p)return r;if(t.lookahead===0)break}if(A=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),A!==0&&t.strstart-A<=t.w_size-V&&(t.match_length=H(t,A)),t.match_length>=I)if(f=n._tr_tally(t,t.strstart-t.match_start,t.match_length-I),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=I){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else f=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(f&&(C(t,!1),t.strm.avail_out===0))return r}return t.insert=t.strstart<I-1?t.strstart:I-1,R===g?(C(t,!0),t.strm.avail_out===0?J:P):t.last_lit&&(C(t,!1),t.strm.avail_out===0)?r:T}function Q(t,R){for(var A,f,s;;){if(t.lookahead<V){if(nt(t),t.lookahead<V&&R===p)return r;if(t.lookahead===0)break}if(A=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=I-1,A!==0&&t.prev_length<t.max_lazy_match&&t.strstart-A<=t.w_size-V&&(t.match_length=H(t,A),t.match_length<=5&&(t.strategy===1||t.match_length===I&&4096<t.strstart-t.match_start)&&(t.match_length=I-1)),t.prev_length>=I&&t.match_length<=t.prev_length){for(s=t.strstart+t.lookahead-I,f=n._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-I),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=s&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,A=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=I-1,t.strstart++,f&&(C(t,!1),t.strm.avail_out===0))return r}else if(t.match_available){if((f=n._tr_tally(t,0,t.window[t.strstart-1]))&&C(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return r}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(f=n._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<I-1?t.strstart:I-1,R===g?(C(t,!0),t.strm.avail_out===0?J:P):t.last_lit&&(C(t,!1),t.strm.avail_out===0)?r:T}function rt(t,R,A,f,s){this.good_length=t,this.max_lazy=R,this.nice_length=A,this.max_chain=f,this.func=s}function st(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=c,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*O),this.dyn_dtree=new o.Buf16(2*(2*x+1)),this.bl_tree=new o.Buf16(2*(2*D+1)),q(this.dyn_ltree),q(this.dyn_dtree),q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(L+1),this.heap=new o.Buf16(2*S+1),q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*S+1),q(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function it(t){var R;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=a,(R=t.state).pending=0,R.pending_out=0,R.wrap<0&&(R.wrap=-R.wrap),R.status=R.wrap?m:B,t.adler=R.wrap===2?0:1,R.last_flush=p,n._tr_init(R),i):$(t,d)}function lt(t){var R=it(t);return R===i&&function(A){A.window_size=2*A.w_size,q(A.head),A.max_lazy_match=l[A.level].max_lazy,A.good_match=l[A.level].good_length,A.nice_match=l[A.level].nice_length,A.max_chain_length=l[A.level].max_chain,A.strstart=0,A.block_start=0,A.lookahead=0,A.insert=0,A.match_length=A.prev_length=I-1,A.match_available=0,A.ins_h=0}(t.state),R}function ut(t,R,A,f,s,w){if(!t)return d;var F=1;if(R===e&&(R=6),f<0?(F=0,f=-f):15<f&&(F=2,f-=16),s<1||v<s||A!==c||f<8||15<f||R<0||9<R||w<0||u<w)return $(t,d);f===8&&(f=9);var N=new st;return(t.state=N).strm=t,N.wrap=F,N.gzhead=null,N.w_bits=f,N.w_size=1<<N.w_bits,N.w_mask=N.w_size-1,N.hash_bits=s+7,N.hash_size=1<<N.hash_bits,N.hash_mask=N.hash_size-1,N.hash_shift=~~((N.hash_bits+I-1)/I),N.window=new o.Buf8(2*N.w_size),N.head=new o.Buf16(N.hash_size),N.prev=new o.Buf16(N.w_size),N.lit_bufsize=1<<s+6,N.pending_buf_size=4*N.lit_bufsize,N.pending_buf=new o.Buf8(N.pending_buf_size),N.d_buf=1*N.lit_bufsize,N.l_buf=3*N.lit_bufsize,N.level=R,N.strategy=w,N.method=A,lt(t)}l=[new rt(0,0,0,0,function(t,R){var A=65535;for(A>t.pending_buf_size-5&&(A=t.pending_buf_size-5);;){if(t.lookahead<=1){if(nt(t),t.lookahead===0&&R===p)return r;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var f=t.block_start+A;if((t.strstart===0||t.strstart>=f)&&(t.lookahead=t.strstart-f,t.strstart=f,C(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-V&&(C(t,!1),t.strm.avail_out===0))return r}return t.insert=0,R===g?(C(t,!0),t.strm.avail_out===0?J:P):(t.strstart>t.block_start&&(C(t,!1),t.strm.avail_out),r)}),new rt(4,4,8,4,ot),new rt(4,5,16,8,ot),new rt(4,6,32,32,ot),new rt(4,4,16,16,Q),new rt(8,16,32,32,Q),new rt(8,16,128,128,Q),new rt(8,32,128,256,Q),new rt(32,128,258,1024,Q),new rt(32,258,258,4096,Q)],k.deflateInit=function(t,R){return ut(t,R,c,15,8,0)},k.deflateInit2=ut,k.deflateReset=lt,k.deflateResetKeep=it,k.deflateSetHeader=function(t,R){return t&&t.state?t.state.wrap!==2?d:(t.state.gzhead=R,i):d},k.deflate=function(t,R){var A,f,s,w;if(!t||!t.state||5<R||R<0)return t?$(t,d):d;if(f=t.state,!t.output||!t.input&&t.avail_in!==0||f.status===666&&R!==g)return $(t,t.avail_out===0?-5:d);if(f.strm=t,A=f.last_flush,f.last_flush=R,f.status===m)if(f.wrap===2)t.adler=0,X(f,31),X(f,139),X(f,8),f.gzhead?(X(f,(f.gzhead.text?1:0)+(f.gzhead.hcrc?2:0)+(f.gzhead.extra?4:0)+(f.gzhead.name?8:0)+(f.gzhead.comment?16:0)),X(f,255&f.gzhead.time),X(f,f.gzhead.time>>8&255),X(f,f.gzhead.time>>16&255),X(f,f.gzhead.time>>24&255),X(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),X(f,255&f.gzhead.os),f.gzhead.extra&&f.gzhead.extra.length&&(X(f,255&f.gzhead.extra.length),X(f,f.gzhead.extra.length>>8&255)),f.gzhead.hcrc&&(t.adler=_(t.adler,f.pending_buf,f.pending,0)),f.gzindex=0,f.status=69):(X(f,0),X(f,0),X(f,0),X(f,0),X(f,0),X(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),X(f,3),f.status=B);else{var F=c+(f.w_bits-8<<4)<<8;F|=(2<=f.strategy||f.level<2?0:f.level<6?1:f.level===6?2:3)<<6,f.strstart!==0&&(F|=32),F+=31-F%31,f.status=B,G(f,F),f.strstart!==0&&(G(f,t.adler>>>16),G(f,65535&t.adler)),t.adler=1}if(f.status===69)if(f.gzhead.extra){for(s=f.pending;f.gzindex<(65535&f.gzhead.extra.length)&&(f.pending!==f.pending_buf_size||(f.gzhead.hcrc&&f.pending>s&&(t.adler=_(t.adler,f.pending_buf,f.pending-s,s)),E(t),s=f.pending,f.pending!==f.pending_buf_size));)X(f,255&f.gzhead.extra[f.gzindex]),f.gzindex++;f.gzhead.hcrc&&f.pending>s&&(t.adler=_(t.adler,f.pending_buf,f.pending-s,s)),f.gzindex===f.gzhead.extra.length&&(f.gzindex=0,f.status=73)}else f.status=73;if(f.status===73)if(f.gzhead.name){s=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>s&&(t.adler=_(t.adler,f.pending_buf,f.pending-s,s)),E(t),s=f.pending,f.pending===f.pending_buf_size)){w=1;break}w=f.gzindex<f.gzhead.name.length?255&f.gzhead.name.charCodeAt(f.gzindex++):0,X(f,w)}while(w!==0);f.gzhead.hcrc&&f.pending>s&&(t.adler=_(t.adler,f.pending_buf,f.pending-s,s)),w===0&&(f.gzindex=0,f.status=91)}else f.status=91;if(f.status===91)if(f.gzhead.comment){s=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>s&&(t.adler=_(t.adler,f.pending_buf,f.pending-s,s)),E(t),s=f.pending,f.pending===f.pending_buf_size)){w=1;break}w=f.gzindex<f.gzhead.comment.length?255&f.gzhead.comment.charCodeAt(f.gzindex++):0,X(f,w)}while(w!==0);f.gzhead.hcrc&&f.pending>s&&(t.adler=_(t.adler,f.pending_buf,f.pending-s,s)),w===0&&(f.status=103)}else f.status=103;if(f.status===103&&(f.gzhead.hcrc?(f.pending+2>f.pending_buf_size&&E(t),f.pending+2<=f.pending_buf_size&&(X(f,255&t.adler),X(f,t.adler>>8&255),t.adler=0,f.status=B)):f.status=B),f.pending!==0){if(E(t),t.avail_out===0)return f.last_flush=-1,i}else if(t.avail_in===0&&j(R)<=j(A)&&R!==g)return $(t,-5);if(f.status===666&&t.avail_in!==0)return $(t,-5);if(t.avail_in!==0||f.lookahead!==0||R!==p&&f.status!==666){var N=f.strategy===2?function(z,Z){for(var K;;){if(z.lookahead===0&&(nt(z),z.lookahead===0)){if(Z===p)return r;break}if(z.match_length=0,K=n._tr_tally(z,0,z.window[z.strstart]),z.lookahead--,z.strstart++,K&&(C(z,!1),z.strm.avail_out===0))return r}return z.insert=0,Z===g?(C(z,!0),z.strm.avail_out===0?J:P):z.last_lit&&(C(z,!1),z.strm.avail_out===0)?r:T}(f,R):f.strategy===3?function(z,Z){for(var K,M,Y,et,tt=z.window;;){if(z.lookahead<=W){if(nt(z),z.lookahead<=W&&Z===p)return r;if(z.lookahead===0)break}if(z.match_length=0,z.lookahead>=I&&0<z.strstart&&(M=tt[Y=z.strstart-1])===tt[++Y]&&M===tt[++Y]&&M===tt[++Y]){et=z.strstart+W;do;while(M===tt[++Y]&&M===tt[++Y]&&M===tt[++Y]&&M===tt[++Y]&&M===tt[++Y]&&M===tt[++Y]&&M===tt[++Y]&&M===tt[++Y]&&Y<et);z.match_length=W-(et-Y),z.match_length>z.lookahead&&(z.match_length=z.lookahead)}if(z.match_length>=I?(K=n._tr_tally(z,1,z.match_length-I),z.lookahead-=z.match_length,z.strstart+=z.match_length,z.match_length=0):(K=n._tr_tally(z,0,z.window[z.strstart]),z.lookahead--,z.strstart++),K&&(C(z,!1),z.strm.avail_out===0))return r}return z.insert=0,Z===g?(C(z,!0),z.strm.avail_out===0?J:P):z.last_lit&&(C(z,!1),z.strm.avail_out===0)?r:T}(f,R):l[f.level].func(f,R);if(N!==J&&N!==P||(f.status=666),N===r||N===J)return t.avail_out===0&&(f.last_flush=-1),i;if(N===T&&(R===1?n._tr_align(f):R!==5&&(n._tr_stored_block(f,0,0,!1),R===3&&(q(f.head),f.lookahead===0&&(f.strstart=0,f.block_start=0,f.insert=0))),E(t),t.avail_out===0))return f.last_flush=-1,i}return R!==g?i:f.wrap<=0?1:(f.wrap===2?(X(f,255&t.adler),X(f,t.adler>>8&255),X(f,t.adler>>16&255),X(f,t.adler>>24&255),X(f,255&t.total_in),X(f,t.total_in>>8&255),X(f,t.total_in>>16&255),X(f,t.total_in>>24&255)):(G(f,t.adler>>>16),G(f,65535&t.adler)),E(t),0<f.wrap&&(f.wrap=-f.wrap),f.pending!==0?i:1)},k.deflateEnd=function(t){var R;return t&&t.state?(R=t.state.status)!==m&&R!==69&&R!==73&&R!==91&&R!==103&&R!==B&&R!==666?$(t,d):(t.state=null,R===B?$(t,-3):i):d},k.deflateSetDictionary=function(t,R){var A,f,s,w,F,N,z,Z,K=R.length;if(!t||!t.state||(w=(A=t.state).wrap)===2||w===1&&A.status!==m||A.lookahead)return d;for(w===1&&(t.adler=h(t.adler,R,K,0)),A.wrap=0,K>=A.w_size&&(w===0&&(q(A.head),A.strstart=0,A.block_start=0,A.insert=0),Z=new o.Buf8(A.w_size),o.arraySet(Z,R,K-A.w_size,A.w_size,0),R=Z,K=A.w_size),F=t.avail_in,N=t.next_in,z=t.input,t.avail_in=K,t.next_in=0,t.input=R,nt(A);A.lookahead>=I;){for(f=A.strstart,s=A.lookahead-(I-1);A.ins_h=(A.ins_h<<A.hash_shift^A.window[f+I-1])&A.hash_mask,A.prev[f&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=f,f++,--s;);A.strstart=f,A.lookahead=I-1,nt(A)}return A.strstart+=A.lookahead,A.block_start=A.strstart,A.insert=A.lookahead,A.lookahead=0,A.match_length=A.prev_length=I-1,A.match_available=0,t.next_in=N,t.input=z,t.avail_in=F,A.wrap=w,i},k.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(b,U,k){U.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(b,U,k){U.exports=function(l,o){var n,h,_,y,p,g,i,d,e,u,a,c,v,S,x,D,O,L,I,W,V,m,B,r,T;n=l.state,h=l.next_in,r=l.input,_=h+(l.avail_in-5),y=l.next_out,T=l.output,p=y-(o-l.avail_out),g=y+(l.avail_out-257),i=n.dmax,d=n.wsize,e=n.whave,u=n.wnext,a=n.window,c=n.hold,v=n.bits,S=n.lencode,x=n.distcode,D=(1<<n.lenbits)-1,O=(1<<n.distbits)-1;t:do{v<15&&(c+=r[h++]<<v,v+=8,c+=r[h++]<<v,v+=8),L=S[c&D];r:for(;;){if(c>>>=I=L>>>24,v-=I,(I=L>>>16&255)===0)T[y++]=65535&L;else{if(!(16&I)){if(!(64&I)){L=S[(65535&L)+(c&(1<<I)-1)];continue r}if(32&I){n.mode=12;break t}l.msg="invalid literal/length code",n.mode=30;break t}W=65535&L,(I&=15)&&(v<I&&(c+=r[h++]<<v,v+=8),W+=c&(1<<I)-1,c>>>=I,v-=I),v<15&&(c+=r[h++]<<v,v+=8,c+=r[h++]<<v,v+=8),L=x[c&O];e:for(;;){if(c>>>=I=L>>>24,v-=I,!(16&(I=L>>>16&255))){if(!(64&I)){L=x[(65535&L)+(c&(1<<I)-1)];continue e}l.msg="invalid distance code",n.mode=30;break t}if(V=65535&L,v<(I&=15)&&(c+=r[h++]<<v,(v+=8)<I&&(c+=r[h++]<<v,v+=8)),i<(V+=c&(1<<I)-1)){l.msg="invalid distance too far back",n.mode=30;break t}if(c>>>=I,v-=I,(I=y-p)<V){if(e<(I=V-I)&&n.sane){l.msg="invalid distance too far back",n.mode=30;break t}if(B=a,(m=0)===u){if(m+=d-I,I<W){for(W-=I;T[y++]=a[m++],--I;);m=y-V,B=T}}else if(u<I){if(m+=d+u-I,(I-=u)<W){for(W-=I;T[y++]=a[m++],--I;);if(m=0,u<W){for(W-=I=u;T[y++]=a[m++],--I;);m=y-V,B=T}}}else if(m+=u-I,I<W){for(W-=I;T[y++]=a[m++],--I;);m=y-V,B=T}for(;2<W;)T[y++]=B[m++],T[y++]=B[m++],T[y++]=B[m++],W-=3;W&&(T[y++]=B[m++],1<W&&(T[y++]=B[m++]))}else{for(m=y-V;T[y++]=T[m++],T[y++]=T[m++],T[y++]=T[m++],2<(W-=3););W&&(T[y++]=T[m++],1<W&&(T[y++]=T[m++]))}break}}break}}while(h<_&&y<g);h-=W=v>>3,c&=(1<<(v-=W<<3))-1,l.next_in=h,l.next_out=y,l.avail_in=h<_?_-h+5:5-(h-_),l.avail_out=y<g?g-y+257:257-(y-g),n.hold=c,n.bits=v}},{}],49:[function(b,U,k){var l=b("../utils/common"),o=b("./adler32"),n=b("./crc32"),h=b("./inffast"),_=b("./inftrees"),y=1,p=2,g=0,i=-2,d=1,e=852,u=592;function a(m){return(m>>>24&255)+(m>>>8&65280)+((65280&m)<<8)+((255&m)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(m){var B;return m&&m.state?(B=m.state,m.total_in=m.total_out=B.total=0,m.msg="",B.wrap&&(m.adler=1&B.wrap),B.mode=d,B.last=0,B.havedict=0,B.dmax=32768,B.head=null,B.hold=0,B.bits=0,B.lencode=B.lendyn=new l.Buf32(e),B.distcode=B.distdyn=new l.Buf32(u),B.sane=1,B.back=-1,g):i}function S(m){var B;return m&&m.state?((B=m.state).wsize=0,B.whave=0,B.wnext=0,v(m)):i}function x(m,B){var r,T;return m&&m.state?(T=m.state,B<0?(r=0,B=-B):(r=1+(B>>4),B<48&&(B&=15)),B&&(B<8||15<B)?i:(T.window!==null&&T.wbits!==B&&(T.window=null),T.wrap=r,T.wbits=B,S(m))):i}function D(m,B){var r,T;return m?(T=new c,(m.state=T).window=null,(r=x(m,B))!==g&&(m.state=null),r):i}var O,L,I=!0;function W(m){if(I){var B;for(O=new l.Buf32(512),L=new l.Buf32(32),B=0;B<144;)m.lens[B++]=8;for(;B<256;)m.lens[B++]=9;for(;B<280;)m.lens[B++]=7;for(;B<288;)m.lens[B++]=8;for(_(y,m.lens,0,288,O,0,m.work,{bits:9}),B=0;B<32;)m.lens[B++]=5;_(p,m.lens,0,32,L,0,m.work,{bits:5}),I=!1}m.lencode=O,m.lenbits=9,m.distcode=L,m.distbits=5}function V(m,B,r,T){var J,P=m.state;return P.window===null&&(P.wsize=1<<P.wbits,P.wnext=0,P.whave=0,P.window=new l.Buf8(P.wsize)),T>=P.wsize?(l.arraySet(P.window,B,r-P.wsize,P.wsize,0),P.wnext=0,P.whave=P.wsize):(T<(J=P.wsize-P.wnext)&&(J=T),l.arraySet(P.window,B,r-T,J,P.wnext),(T-=J)?(l.arraySet(P.window,B,r-T,T,0),P.wnext=T,P.whave=P.wsize):(P.wnext+=J,P.wnext===P.wsize&&(P.wnext=0),P.whave<P.wsize&&(P.whave+=J))),0}k.inflateReset=S,k.inflateReset2=x,k.inflateResetKeep=v,k.inflateInit=function(m){return D(m,15)},k.inflateInit2=D,k.inflate=function(m,B){var r,T,J,P,$,j,q,E,C,X,G,H,nt,ot,Q,rt,st,it,lt,ut,t,R,A,f,s=0,w=new l.Buf8(4),F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!m||!m.state||!m.output||!m.input&&m.avail_in!==0)return i;(r=m.state).mode===12&&(r.mode=13),$=m.next_out,J=m.output,q=m.avail_out,P=m.next_in,T=m.input,j=m.avail_in,E=r.hold,C=r.bits,X=j,G=q,R=g;t:for(;;)switch(r.mode){case d:if(r.wrap===0){r.mode=13;break}for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(2&r.wrap&&E===35615){w[r.check=0]=255&E,w[1]=E>>>8&255,r.check=n(r.check,w,2,0),C=E=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&E)<<8)+(E>>8))%31){m.msg="incorrect header check",r.mode=30;break}if((15&E)!=8){m.msg="unknown compression method",r.mode=30;break}if(C-=4,t=8+(15&(E>>>=4)),r.wbits===0)r.wbits=t;else if(t>r.wbits){m.msg="invalid window size",r.mode=30;break}r.dmax=1<<t,m.adler=r.check=1,r.mode=512&E?10:12,C=E=0;break;case 2:for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(r.flags=E,(255&r.flags)!=8){m.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){m.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=E>>8&1),512&r.flags&&(w[0]=255&E,w[1]=E>>>8&255,r.check=n(r.check,w,2,0)),C=E=0,r.mode=3;case 3:for(;C<32;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.head&&(r.head.time=E),512&r.flags&&(w[0]=255&E,w[1]=E>>>8&255,w[2]=E>>>16&255,w[3]=E>>>24&255,r.check=n(r.check,w,4,0)),C=E=0,r.mode=4;case 4:for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.head&&(r.head.xflags=255&E,r.head.os=E>>8),512&r.flags&&(w[0]=255&E,w[1]=E>>>8&255,r.check=n(r.check,w,2,0)),C=E=0,r.mode=5;case 5:if(1024&r.flags){for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.length=E,r.head&&(r.head.extra_len=E),512&r.flags&&(w[0]=255&E,w[1]=E>>>8&255,r.check=n(r.check,w,2,0)),C=E=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(j<(H=r.length)&&(H=j),H&&(r.head&&(t=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),l.arraySet(r.head.extra,T,P,H,t)),512&r.flags&&(r.check=n(r.check,T,H,P)),j-=H,P+=H,r.length-=H),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(j===0)break t;for(H=0;t=T[P+H++],r.head&&t&&r.length<65536&&(r.head.name+=String.fromCharCode(t)),t&&H<j;);if(512&r.flags&&(r.check=n(r.check,T,H,P)),j-=H,P+=H,t)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(j===0)break t;for(H=0;t=T[P+H++],r.head&&t&&r.length<65536&&(r.head.comment+=String.fromCharCode(t)),t&&H<j;);if(512&r.flags&&(r.check=n(r.check,T,H,P)),j-=H,P+=H,t)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;C<16;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(E!==(65535&r.check)){m.msg="header crc mismatch",r.mode=30;break}C=E=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),m.adler=r.check=0,r.mode=12;break;case 10:for(;C<32;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}m.adler=r.check=a(E),C=E=0,r.mode=11;case 11:if(r.havedict===0)return m.next_out=$,m.avail_out=q,m.next_in=P,m.avail_in=j,r.hold=E,r.bits=C,2;m.adler=r.check=1,r.mode=12;case 12:if(B===5||B===6)break t;case 13:if(r.last){E>>>=7&C,C-=7&C,r.mode=27;break}for(;C<3;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}switch(r.last=1&E,C-=1,3&(E>>>=1)){case 0:r.mode=14;break;case 1:if(W(r),r.mode=20,B!==6)break;E>>>=2,C-=2;break t;case 2:r.mode=17;break;case 3:m.msg="invalid block type",r.mode=30}E>>>=2,C-=2;break;case 14:for(E>>>=7&C,C-=7&C;C<32;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if((65535&E)!=(E>>>16^65535)){m.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&E,C=E=0,r.mode=15,B===6)break t;case 15:r.mode=16;case 16:if(H=r.length){if(j<H&&(H=j),q<H&&(H=q),H===0)break t;l.arraySet(J,T,P,H,$),j-=H,P+=H,q-=H,$+=H,r.length-=H;break}r.mode=12;break;case 17:for(;C<14;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(r.nlen=257+(31&E),E>>>=5,C-=5,r.ndist=1+(31&E),E>>>=5,C-=5,r.ncode=4+(15&E),E>>>=4,C-=4,286<r.nlen||30<r.ndist){m.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;C<3;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.lens[F[r.have++]]=7&E,E>>>=3,C-=3}for(;r.have<19;)r.lens[F[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,A={bits:r.lenbits},R=_(0,r.lens,0,19,r.lencode,0,r.work,A),r.lenbits=A.bits,R){m.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;rt=(s=r.lencode[E&(1<<r.lenbits)-1])>>>16&255,st=65535&s,!((Q=s>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(st<16)E>>>=Q,C-=Q,r.lens[r.have++]=st;else{if(st===16){for(f=Q+2;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(E>>>=Q,C-=Q,r.have===0){m.msg="invalid bit length repeat",r.mode=30;break}t=r.lens[r.have-1],H=3+(3&E),E>>>=2,C-=2}else if(st===17){for(f=Q+3;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}C-=Q,t=0,H=3+(7&(E>>>=Q)),E>>>=3,C-=3}else{for(f=Q+7;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}C-=Q,t=0,H=11+(127&(E>>>=Q)),E>>>=7,C-=7}if(r.have+H>r.nlen+r.ndist){m.msg="invalid bit length repeat",r.mode=30;break}for(;H--;)r.lens[r.have++]=t}}if(r.mode===30)break;if(r.lens[256]===0){m.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,A={bits:r.lenbits},R=_(y,r.lens,0,r.nlen,r.lencode,0,r.work,A),r.lenbits=A.bits,R){m.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,A={bits:r.distbits},R=_(p,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,A),r.distbits=A.bits,R){m.msg="invalid distances set",r.mode=30;break}if(r.mode=20,B===6)break t;case 20:r.mode=21;case 21:if(6<=j&&258<=q){m.next_out=$,m.avail_out=q,m.next_in=P,m.avail_in=j,r.hold=E,r.bits=C,h(m,G),$=m.next_out,J=m.output,q=m.avail_out,P=m.next_in,T=m.input,j=m.avail_in,E=r.hold,C=r.bits,r.mode===12&&(r.back=-1);break}for(r.back=0;rt=(s=r.lencode[E&(1<<r.lenbits)-1])>>>16&255,st=65535&s,!((Q=s>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(rt&&!(240&rt)){for(it=Q,lt=rt,ut=st;rt=(s=r.lencode[ut+((E&(1<<it+lt)-1)>>it)])>>>16&255,st=65535&s,!(it+(Q=s>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}E>>>=it,C-=it,r.back+=it}if(E>>>=Q,C-=Q,r.back+=Q,r.length=st,rt===0){r.mode=26;break}if(32&rt){r.back=-1,r.mode=12;break}if(64&rt){m.msg="invalid literal/length code",r.mode=30;break}r.extra=15&rt,r.mode=22;case 22:if(r.extra){for(f=r.extra;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.length+=E&(1<<r.extra)-1,E>>>=r.extra,C-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;rt=(s=r.distcode[E&(1<<r.distbits)-1])>>>16&255,st=65535&s,!((Q=s>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(!(240&rt)){for(it=Q,lt=rt,ut=st;rt=(s=r.distcode[ut+((E&(1<<it+lt)-1)>>it)])>>>16&255,st=65535&s,!(it+(Q=s>>>24)<=C);){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}E>>>=it,C-=it,r.back+=it}if(E>>>=Q,C-=Q,r.back+=Q,64&rt){m.msg="invalid distance code",r.mode=30;break}r.offset=st,r.extra=15&rt,r.mode=24;case 24:if(r.extra){for(f=r.extra;C<f;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}r.offset+=E&(1<<r.extra)-1,E>>>=r.extra,C-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){m.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(q===0)break t;if(H=G-q,r.offset>H){if((H=r.offset-H)>r.whave&&r.sane){m.msg="invalid distance too far back",r.mode=30;break}nt=H>r.wnext?(H-=r.wnext,r.wsize-H):r.wnext-H,H>r.length&&(H=r.length),ot=r.window}else ot=J,nt=$-r.offset,H=r.length;for(q<H&&(H=q),q-=H,r.length-=H;J[$++]=ot[nt++],--H;);r.length===0&&(r.mode=21);break;case 26:if(q===0)break t;J[$++]=r.length,q--,r.mode=21;break;case 27:if(r.wrap){for(;C<32;){if(j===0)break t;j--,E|=T[P++]<<C,C+=8}if(G-=q,m.total_out+=G,r.total+=G,G&&(m.adler=r.check=r.flags?n(r.check,J,G,$-G):o(r.check,J,G,$-G)),G=q,(r.flags?E:a(E))!==r.check){m.msg="incorrect data check",r.mode=30;break}C=E=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;C<32;){if(j===0)break t;j--,E+=T[P++]<<C,C+=8}if(E!==(4294967295&r.total)){m.msg="incorrect length check",r.mode=30;break}C=E=0}r.mode=29;case 29:R=1;break t;case 30:R=-3;break t;case 31:return-4;case 32:default:return i}return m.next_out=$,m.avail_out=q,m.next_in=P,m.avail_in=j,r.hold=E,r.bits=C,(r.wsize||G!==m.avail_out&&r.mode<30&&(r.mode<27||B!==4))&&V(m,m.output,m.next_out,G-m.avail_out)?(r.mode=31,-4):(X-=m.avail_in,G-=m.avail_out,m.total_in+=X,m.total_out+=G,r.total+=G,r.wrap&&G&&(m.adler=r.check=r.flags?n(r.check,J,G,m.next_out-G):o(r.check,J,G,m.next_out-G)),m.data_type=r.bits+(r.last?64:0)+(r.mode===12?128:0)+(r.mode===20||r.mode===15?256:0),(X==0&&G===0||B===4)&&R===g&&(R=-5),R)},k.inflateEnd=function(m){if(!m||!m.state)return i;var B=m.state;return B.window&&(B.window=null),m.state=null,g},k.inflateGetHeader=function(m,B){var r;return m&&m.state&&2&(r=m.state).wrap?((r.head=B).done=!1,g):i},k.inflateSetDictionary=function(m,B){var r,T=B.length;return m&&m.state?(r=m.state).wrap!==0&&r.mode!==11?i:r.mode===11&&o(1,B,T,0)!==r.check?-3:V(m,B,T,T)?(r.mode=31,-4):(r.havedict=1,g):i},k.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(b,U,k){var l=b("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],h=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],_=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];U.exports=function(y,p,g,i,d,e,u,a){var c,v,S,x,D,O,L,I,W,V=a.bits,m=0,B=0,r=0,T=0,J=0,P=0,$=0,j=0,q=0,E=0,C=null,X=0,G=new l.Buf16(16),H=new l.Buf16(16),nt=null,ot=0;for(m=0;m<=15;m++)G[m]=0;for(B=0;B<i;B++)G[p[g+B]]++;for(J=V,T=15;1<=T&&G[T]===0;T--);if(T<J&&(J=T),T===0)return d[e++]=20971520,d[e++]=20971520,a.bits=1,0;for(r=1;r<T&&G[r]===0;r++);for(J<r&&(J=r),m=j=1;m<=15;m++)if(j<<=1,(j-=G[m])<0)return-1;if(0<j&&(y===0||T!==1))return-1;for(H[1]=0,m=1;m<15;m++)H[m+1]=H[m]+G[m];for(B=0;B<i;B++)p[g+B]!==0&&(u[H[p[g+B]]++]=B);if(O=y===0?(C=nt=u,19):y===1?(C=o,X-=257,nt=n,ot-=257,256):(C=h,nt=_,-1),m=r,D=e,$=B=E=0,S=-1,x=(q=1<<(P=J))-1,y===1&&852<q||y===2&&592<q)return 1;for(;;){for(L=m-$,W=u[B]<O?(I=0,u[B]):u[B]>O?(I=nt[ot+u[B]],C[X+u[B]]):(I=96,0),c=1<<m-$,r=v=1<<P;d[D+(E>>$)+(v-=c)]=L<<24|I<<16|W|0,v!==0;);for(c=1<<m-1;E&c;)c>>=1;if(c!==0?(E&=c-1,E+=c):E=0,B++,--G[m]==0){if(m===T)break;m=p[g+u[B]]}if(J<m&&(E&x)!==S){for($===0&&($=J),D+=r,j=1<<(P=m-$);P+$<T&&!((j-=G[P+$])<=0);)P++,j<<=1;if(q+=1<<P,y===1&&852<q||y===2&&592<q)return 1;d[S=E&x]=J<<24|P<<16|D-e|0}}return E!==0&&(d[D+E]=m-$<<24|64<<16|0),a.bits=J,0}},{"../utils/common":41}],51:[function(b,U,k){U.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(b,U,k){var l=b("../utils/common"),o=0,n=1;function h(s){for(var w=s.length;0<=--w;)s[w]=0}var _=0,y=29,p=256,g=p+1+y,i=30,d=19,e=2*g+1,u=15,a=16,c=7,v=256,S=16,x=17,D=18,O=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],L=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],W=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],V=new Array(2*(g+2));h(V);var m=new Array(2*i);h(m);var B=new Array(512);h(B);var r=new Array(256);h(r);var T=new Array(y);h(T);var J,P,$,j=new Array(i);function q(s,w,F,N,z){this.static_tree=s,this.extra_bits=w,this.extra_base=F,this.elems=N,this.max_length=z,this.has_stree=s&&s.length}function E(s,w){this.dyn_tree=s,this.max_code=0,this.stat_desc=w}function C(s){return s<256?B[s]:B[256+(s>>>7)]}function X(s,w){s.pending_buf[s.pending++]=255&w,s.pending_buf[s.pending++]=w>>>8&255}function G(s,w,F){s.bi_valid>a-F?(s.bi_buf|=w<<s.bi_valid&65535,X(s,s.bi_buf),s.bi_buf=w>>a-s.bi_valid,s.bi_valid+=F-a):(s.bi_buf|=w<<s.bi_valid&65535,s.bi_valid+=F)}function H(s,w,F){G(s,F[2*w],F[2*w+1])}function nt(s,w){for(var F=0;F|=1&s,s>>>=1,F<<=1,0<--w;);return F>>>1}function ot(s,w,F){var N,z,Z=new Array(u+1),K=0;for(N=1;N<=u;N++)Z[N]=K=K+F[N-1]<<1;for(z=0;z<=w;z++){var M=s[2*z+1];M!==0&&(s[2*z]=nt(Z[M]++,M))}}function Q(s){var w;for(w=0;w<g;w++)s.dyn_ltree[2*w]=0;for(w=0;w<i;w++)s.dyn_dtree[2*w]=0;for(w=0;w<d;w++)s.bl_tree[2*w]=0;s.dyn_ltree[2*v]=1,s.opt_len=s.static_len=0,s.last_lit=s.matches=0}function rt(s){8<s.bi_valid?X(s,s.bi_buf):0<s.bi_valid&&(s.pending_buf[s.pending++]=s.bi_buf),s.bi_buf=0,s.bi_valid=0}function st(s,w,F,N){var z=2*w,Z=2*F;return s[z]<s[Z]||s[z]===s[Z]&&N[w]<=N[F]}function it(s,w,F){for(var N=s.heap[F],z=F<<1;z<=s.heap_len&&(z<s.heap_len&&st(w,s.heap[z+1],s.heap[z],s.depth)&&z++,!st(w,N,s.heap[z],s.depth));)s.heap[F]=s.heap[z],F=z,z<<=1;s.heap[F]=N}function lt(s,w,F){var N,z,Z,K,M=0;if(s.last_lit!==0)for(;N=s.pending_buf[s.d_buf+2*M]<<8|s.pending_buf[s.d_buf+2*M+1],z=s.pending_buf[s.l_buf+M],M++,N===0?H(s,z,w):(H(s,(Z=r[z])+p+1,w),(K=O[Z])!==0&&G(s,z-=T[Z],K),H(s,Z=C(--N),F),(K=L[Z])!==0&&G(s,N-=j[Z],K)),M<s.last_lit;);H(s,v,w)}function ut(s,w){var F,N,z,Z=w.dyn_tree,K=w.stat_desc.static_tree,M=w.stat_desc.has_stree,Y=w.stat_desc.elems,et=-1;for(s.heap_len=0,s.heap_max=e,F=0;F<Y;F++)Z[2*F]!==0?(s.heap[++s.heap_len]=et=F,s.depth[F]=0):Z[2*F+1]=0;for(;s.heap_len<2;)Z[2*(z=s.heap[++s.heap_len]=et<2?++et:0)]=1,s.depth[z]=0,s.opt_len--,M&&(s.static_len-=K[2*z+1]);for(w.max_code=et,F=s.heap_len>>1;1<=F;F--)it(s,Z,F);for(z=Y;F=s.heap[1],s.heap[1]=s.heap[s.heap_len--],it(s,Z,1),N=s.heap[1],s.heap[--s.heap_max]=F,s.heap[--s.heap_max]=N,Z[2*z]=Z[2*F]+Z[2*N],s.depth[z]=(s.depth[F]>=s.depth[N]?s.depth[F]:s.depth[N])+1,Z[2*F+1]=Z[2*N+1]=z,s.heap[1]=z++,it(s,Z,1),2<=s.heap_len;);s.heap[--s.heap_max]=s.heap[1],function(tt,ht){var ct,ft,pt,at,_t,wt,dt=ht.dyn_tree,kt=ht.max_code,zt=ht.stat_desc.static_tree,Ct=ht.stat_desc.has_stree,Et=ht.stat_desc.extra_bits,xt=ht.stat_desc.extra_base,mt=ht.stat_desc.max_length,gt=0;for(at=0;at<=u;at++)tt.bl_count[at]=0;for(dt[2*tt.heap[tt.heap_max]+1]=0,ct=tt.heap_max+1;ct<e;ct++)mt<(at=dt[2*dt[2*(ft=tt.heap[ct])+1]+1]+1)&&(at=mt,gt++),dt[2*ft+1]=at,kt<ft||(tt.bl_count[at]++,_t=0,xt<=ft&&(_t=Et[ft-xt]),wt=dt[2*ft],tt.opt_len+=wt*(at+_t),Ct&&(tt.static_len+=wt*(zt[2*ft+1]+_t)));if(gt!==0){do{for(at=mt-1;tt.bl_count[at]===0;)at--;tt.bl_count[at]--,tt.bl_count[at+1]+=2,tt.bl_count[mt]--,gt-=2}while(0<gt);for(at=mt;at!==0;at--)for(ft=tt.bl_count[at];ft!==0;)kt<(pt=tt.heap[--ct])||(dt[2*pt+1]!==at&&(tt.opt_len+=(at-dt[2*pt+1])*dt[2*pt],dt[2*pt+1]=at),ft--)}}(s,w),ot(Z,et,s.bl_count)}function t(s,w,F){var N,z,Z=-1,K=w[1],M=0,Y=7,et=4;for(K===0&&(Y=138,et=3),w[2*(F+1)+1]=65535,N=0;N<=F;N++)z=K,K=w[2*(N+1)+1],++M<Y&&z===K||(M<et?s.bl_tree[2*z]+=M:z!==0?(z!==Z&&s.bl_tree[2*z]++,s.bl_tree[2*S]++):M<=10?s.bl_tree[2*x]++:s.bl_tree[2*D]++,Z=z,et=(M=0)===K?(Y=138,3):z===K?(Y=6,3):(Y=7,4))}function R(s,w,F){var N,z,Z=-1,K=w[1],M=0,Y=7,et=4;for(K===0&&(Y=138,et=3),N=0;N<=F;N++)if(z=K,K=w[2*(N+1)+1],!(++M<Y&&z===K)){if(M<et)for(;H(s,z,s.bl_tree),--M!=0;);else z!==0?(z!==Z&&(H(s,z,s.bl_tree),M--),H(s,S,s.bl_tree),G(s,M-3,2)):M<=10?(H(s,x,s.bl_tree),G(s,M-3,3)):(H(s,D,s.bl_tree),G(s,M-11,7));Z=z,et=(M=0)===K?(Y=138,3):z===K?(Y=6,3):(Y=7,4)}}h(j);var A=!1;function f(s,w,F,N){G(s,(_<<1)+(N?1:0),3),function(z,Z,K,M){rt(z),X(z,K),X(z,~K),l.arraySet(z.pending_buf,z.window,Z,K,z.pending),z.pending+=K}(s,w,F)}k._tr_init=function(s){A||(function(){var w,F,N,z,Z,K=new Array(u+1);for(z=N=0;z<y-1;z++)for(T[z]=N,w=0;w<1<<O[z];w++)r[N++]=z;for(r[N-1]=z,z=Z=0;z<16;z++)for(j[z]=Z,w=0;w<1<<L[z];w++)B[Z++]=z;for(Z>>=7;z<i;z++)for(j[z]=Z<<7,w=0;w<1<<L[z]-7;w++)B[256+Z++]=z;for(F=0;F<=u;F++)K[F]=0;for(w=0;w<=143;)V[2*w+1]=8,w++,K[8]++;for(;w<=255;)V[2*w+1]=9,w++,K[9]++;for(;w<=279;)V[2*w+1]=7,w++,K[7]++;for(;w<=287;)V[2*w+1]=8,w++,K[8]++;for(ot(V,g+1,K),w=0;w<i;w++)m[2*w+1]=5,m[2*w]=nt(w,5);J=new q(V,O,p+1,g,u),P=new q(m,L,0,i,u),$=new q(new Array(0),I,0,d,c)}(),A=!0),s.l_desc=new E(s.dyn_ltree,J),s.d_desc=new E(s.dyn_dtree,P),s.bl_desc=new E(s.bl_tree,$),s.bi_buf=0,s.bi_valid=0,Q(s)},k._tr_stored_block=f,k._tr_flush_block=function(s,w,F,N){var z,Z,K=0;0<s.level?(s.strm.data_type===2&&(s.strm.data_type=function(M){var Y,et=4093624447;for(Y=0;Y<=31;Y++,et>>>=1)if(1&et&&M.dyn_ltree[2*Y]!==0)return o;if(M.dyn_ltree[18]!==0||M.dyn_ltree[20]!==0||M.dyn_ltree[26]!==0)return n;for(Y=32;Y<p;Y++)if(M.dyn_ltree[2*Y]!==0)return n;return o}(s)),ut(s,s.l_desc),ut(s,s.d_desc),K=function(M){var Y;for(t(M,M.dyn_ltree,M.l_desc.max_code),t(M,M.dyn_dtree,M.d_desc.max_code),ut(M,M.bl_desc),Y=d-1;3<=Y&&M.bl_tree[2*W[Y]+1]===0;Y--);return M.opt_len+=3*(Y+1)+5+5+4,Y}(s),z=s.opt_len+3+7>>>3,(Z=s.static_len+3+7>>>3)<=z&&(z=Z)):z=Z=F+5,F+4<=z&&w!==-1?f(s,w,F,N):s.strategy===4||Z===z?(G(s,2+(N?1:0),3),lt(s,V,m)):(G(s,4+(N?1:0),3),function(M,Y,et,tt){var ht;for(G(M,Y-257,5),G(M,et-1,5),G(M,tt-4,4),ht=0;ht<tt;ht++)G(M,M.bl_tree[2*W[ht]+1],3);R(M,M.dyn_ltree,Y-1),R(M,M.dyn_dtree,et-1)}(s,s.l_desc.max_code+1,s.d_desc.max_code+1,K+1),lt(s,s.dyn_ltree,s.dyn_dtree)),Q(s),N&&rt(s)},k._tr_tally=function(s,w,F){return s.pending_buf[s.d_buf+2*s.last_lit]=w>>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&w,s.pending_buf[s.l_buf+s.last_lit]=255&F,s.last_lit++,w===0?s.dyn_ltree[2*F]++:(s.matches++,w--,s.dyn_ltree[2*(r[F]+p+1)]++,s.dyn_dtree[2*C(w)]++),s.last_lit===s.lit_bufsize-1},k._tr_align=function(s){G(s,2,3),H(s,v,V),function(w){w.bi_valid===16?(X(w,w.bi_buf),w.bi_buf=0,w.bi_valid=0):8<=w.bi_valid&&(w.pending_buf[w.pending++]=255&w.bi_buf,w.bi_buf>>=8,w.bi_valid-=8)}(s)}},{"../utils/common":41}],53:[function(b,U,k){U.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(b,U,k){(function(l){(function(o,n){if(!o.setImmediate){var h,_,y,p,g=1,i={},d=!1,e=o.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(o);u=u&&u.setTimeout?u:o,h={}.toString.call(o.process)==="[object process]"?function(S){process.nextTick(function(){c(S)})}:function(){if(o.postMessage&&!o.importScripts){var S=!0,x=o.onmessage;return o.onmessage=function(){S=!1},o.postMessage("","*"),o.onmessage=x,S}}()?(p="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",v,!1):o.attachEvent("onmessage",v),function(S){o.postMessage(p+S,"*")}):o.MessageChannel?((y=new MessageChannel).port1.onmessage=function(S){c(S.data)},function(S){y.port2.postMessage(S)}):e&&"onreadystatechange"in e.createElement("script")?(_=e.documentElement,function(S){var x=e.createElement("script");x.onreadystatechange=function(){c(S),x.onreadystatechange=null,_.removeChild(x),x=null},_.appendChild(x)}):function(S){setTimeout(c,0,S)},u.setImmediate=function(S){typeof S!="function"&&(S=new Function(""+S));for(var x=new Array(arguments.length-1),D=0;D<x.length;D++)x[D]=arguments[D+1];var O={callback:S,args:x};return i[g]=O,h(g),g++},u.clearImmediate=a}function a(S){delete i[S]}function c(S){if(d)setTimeout(c,0,S);else{var x=i[S];if(x){d=!0;try{(function(D){var O=D.callback,L=D.args;switch(L.length){case 0:O();break;case 1:O(L[0]);break;case 2:O(L[0],L[1]);break;case 3:O(L[0],L[1],L[2]);break;default:O.apply(n,L)}})(x)}finally{a(S),d=!1}}}}function v(S){S.source===o&&typeof S.data=="string"&&S.data.indexOf(p)===0&&c(+S.data.slice(p.length))}})(typeof self>"u"?l===void 0?this:l:self)}).call(this,typeof bt<"u"?bt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(St);var It=St.exports;const Rt=At(It);export{Rt as J};
@@ -1,29 +0,0 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.140.0
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
-
26
- import{a as z1}from"./chunk-EDVBB7SS.js";import{a as L,b as u,c as j1}from"./chunk-QKUIYMGC.js";import{a as F}from"./chunk-WBOV35NL.js";import{a as g,b as p}from"./chunk-TNSUQXWK.js";import{e as U}from"./chunk-ILRYTWTP.js";var P=class c{constructor(n,o,y,O){this.x=n??0,this.y=o??0,this.z=y??0,this.w=O??0}static fromElements(n,o,y,O,f){return U(f)?(f.x=n,f.y=o,f.z=y,f.w=O,f):new c(n,o,y,O)}static fromColor(n,o){return p.typeOf.object("color",n),U(o)?(o.x=n.red,o.y=n.green,o.z=n.blue,o.w=n.alpha,o):new c(n.red,n.green,n.blue,n.alpha)}static clone(n,o){if(U(n))return U(o)?(o.x=n.x,o.y=n.y,o.z=n.z,o.w=n.w,o):new c(n.x,n.y,n.z,n.w)}static pack(n,o,y){return p.typeOf.object("value",n),p.defined("array",o),y=y??0,o[y++]=n.x,o[y++]=n.y,o[y++]=n.z,o[y]=n.w,o}static unpack(n,o,y){return p.defined("array",n),o=o??0,U(y)||(y=new c),y.x=n[o++],y.y=n[o++],y.z=n[o++],y.w=n[o],y}static packArray(n,o){p.defined("array",n);let y=n.length,O=y*4;if(!U(o))o=new Array(O);else{if(!Array.isArray(o)&&o.length!==O)throw new g("If result is a typed array, it must have exactly array.length * 4 elements");o.length!==O&&(o.length=O)}for(let f=0;f<y;++f)c.pack(n[f],o,f*4);return o}static unpackArray(n,o){if(p.defined("array",n),p.typeOf.number.greaterThanOrEquals("array.length",n.length,4),n.length%4!==0)throw new g("array length must be a multiple of 4.");let y=n.length;U(o)?o.length=y/4:o=new Array(y/4);for(let O=0;O<y;O+=4){let f=O/4;o[f]=c.unpack(n,O,o[f])}return o}static maximumComponent(n){return p.typeOf.object("cartesian",n),Math.max(n.x,n.y,n.z,n.w)}static minimumComponent(n){return p.typeOf.object("cartesian",n),Math.min(n.x,n.y,n.z,n.w)}static minimumByComponent(n,o,y){return p.typeOf.object("first",n),p.typeOf.object("second",o),p.typeOf.object("result",y),y.x=Math.min(n.x,o.x),y.y=Math.min(n.y,o.y),y.z=Math.min(n.z,o.z),y.w=Math.min(n.w,o.w),y}static maximumByComponent(n,o,y){return p.typeOf.object("first",n),p.typeOf.object("second",o),p.typeOf.object("result",y),y.x=Math.max(n.x,o.x),y.y=Math.max(n.y,o.y),y.z=Math.max(n.z,o.z),y.w=Math.max(n.w,o.w),y}static clamp(n,o,y,O){p.typeOf.object("value",n),p.typeOf.object("min",o),p.typeOf.object("max",y),p.typeOf.object("result",O);let f=F.clamp(n.x,o.x,y.x),w=F.clamp(n.y,o.y,y.y),j=F.clamp(n.z,o.z,y.z),z=F.clamp(n.w,o.w,y.w);return O.x=f,O.y=w,O.z=j,O.w=z,O}static magnitudeSquared(n){return p.typeOf.object("cartesian",n),n.x*n.x+n.y*n.y+n.z*n.z+n.w*n.w}static magnitude(n){return Math.sqrt(c.magnitudeSquared(n))}static distance(n,o){return p.typeOf.object("left",n),p.typeOf.object("right",o),c.subtract(n,o,l),c.magnitude(l)}static distanceSquared(n,o){return p.typeOf.object("left",n),p.typeOf.object("right",o),c.subtract(n,o,l),c.magnitudeSquared(l)}static normalize(n,o){p.typeOf.object("cartesian",n),p.typeOf.object("result",o);let y=c.magnitude(n);if(o.x=n.x/y,o.y=n.y/y,o.z=n.z/y,o.w=n.w/y,isNaN(o.x)||isNaN(o.y)||isNaN(o.z)||isNaN(o.w))throw new g("normalized result is not a number");return o}static dot(n,o){return p.typeOf.object("left",n),p.typeOf.object("right",o),n.x*o.x+n.y*o.y+n.z*o.z+n.w*o.w}static multiplyComponents(n,o,y){return p.typeOf.object("left",n),p.typeOf.object("right",o),p.typeOf.object("result",y),y.x=n.x*o.x,y.y=n.y*o.y,y.z=n.z*o.z,y.w=n.w*o.w,y}static divideComponents(n,o,y){return p.typeOf.object("left",n),p.typeOf.object("right",o),p.typeOf.object("result",y),y.x=n.x/o.x,y.y=n.y/o.y,y.z=n.z/o.z,y.w=n.w/o.w,y}static add(n,o,y){return p.typeOf.object("left",n),p.typeOf.object("right",o),p.typeOf.object("result",y),y.x=n.x+o.x,y.y=n.y+o.y,y.z=n.z+o.z,y.w=n.w+o.w,y}static subtract(n,o,y){return p.typeOf.object("left",n),p.typeOf.object("right",o),p.typeOf.object("result",y),y.x=n.x-o.x,y.y=n.y-o.y,y.z=n.z-o.z,y.w=n.w-o.w,y}static multiplyByScalar(n,o,y){return p.typeOf.object("cartesian",n),p.typeOf.number("scalar",o),p.typeOf.object("result",y),y.x=n.x*o,y.y=n.y*o,y.z=n.z*o,y.w=n.w*o,y}static divideByScalar(n,o,y){return p.typeOf.object("cartesian",n),p.typeOf.number("scalar",o),p.typeOf.object("result",y),y.x=n.x/o,y.y=n.y/o,y.z=n.z/o,y.w=n.w/o,y}static negate(n,o){return p.typeOf.object("cartesian",n),p.typeOf.object("result",o),o.x=-n.x,o.y=-n.y,o.z=-n.z,o.w=-n.w,o}static abs(n,o){return p.typeOf.object("cartesian",n),p.typeOf.object("result",o),o.x=Math.abs(n.x),o.y=Math.abs(n.y),o.z=Math.abs(n.z),o.w=Math.abs(n.w),o}static lerp(n,o,y,O){return p.typeOf.object("start",n),p.typeOf.object("end",o),p.typeOf.number("t",y),p.typeOf.object("result",O),c.multiplyByScalar(o,y,h1),O=c.multiplyByScalar(n,1-y,O),c.add(h1,O,O)}static mostOrthogonalAxis(n,o){p.typeOf.object("cartesian",n),p.typeOf.object("result",o);let y=c.normalize(n,E1);return c.abs(y,y),y.x<=y.y?y.x<=y.z?y.x<=y.w?o=c.clone(c.UNIT_X,o):o=c.clone(c.UNIT_W,o):y.z<=y.w?o=c.clone(c.UNIT_Z,o):o=c.clone(c.UNIT_W,o):y.y<=y.z?y.y<=y.w?o=c.clone(c.UNIT_Y,o):o=c.clone(c.UNIT_W,o):y.z<=y.w?o=c.clone(c.UNIT_Z,o):o=c.clone(c.UNIT_W,o),o}static equals(n,o){return n===o||U(n)&&U(o)&&n.x===o.x&&n.y===o.y&&n.z===o.z&&n.w===o.w}static equalsArray(n,o,y){return n.x===o[y]&&n.y===o[y+1]&&n.z===o[y+2]&&n.w===o[y+3]}static equalsEpsilon(n,o,y,O){return n===o||U(n)&&U(o)&&F.equalsEpsilon(n.x,o.x,y,O)&&F.equalsEpsilon(n.y,o.y,y,O)&&F.equalsEpsilon(n.z,o.z,y,O)&&F.equalsEpsilon(n.w,o.w,y,O)}clone(n){return c.clone(this,n)}equals(n){return c.equals(this,n)}equalsEpsilon(n,o,y){return c.equalsEpsilon(this,n,o,y)}toString(){return`(${this.x}, ${this.y}, ${this.z}, ${this.w})`}static packFloat(n,o){return p.typeOf.number("value",n),U(o)||(o=new c),b1[0]=n,R1?(o.x=D[0],o.y=D[1],o.z=D[2],o.w=D[3]):(o.x=D[3],o.y=D[2],o.z=D[1],o.w=D[0]),o}static unpackFloat(n){return p.typeOf.object("packedFloat",n),R1?(D[0]=n.x,D[1]=n.y,D[2]=n.z,D[3]=n.w):(D[0]=n.w,D[1]=n.z,D[2]=n.y,D[3]=n.x),b1[0]}};P.packedLength=4;P.fromArray=P.unpack;var l=new P,h1=new P,E1=new P;P.ZERO=Object.freeze(new P(0,0,0,0));P.ONE=Object.freeze(new P(1,1,1,1));P.UNIT_X=Object.freeze(new P(1,0,0,0));P.UNIT_Y=Object.freeze(new P(0,1,0,0));P.UNIT_Z=Object.freeze(new P(0,0,1,0));P.UNIT_W=Object.freeze(new P(0,0,0,1));var b1=new Float32Array(1),D=new Uint8Array(b1.buffer),U1=new Uint32Array([287454020]),S1=new Uint8Array(U1.buffer),R1=S1[0]===68,r=P;function b(c,n,o,y,O,f,w,j,z,h,R,M,T,C,q,N){this[0]=c??0,this[1]=O??0,this[2]=z??0,this[3]=T??0,this[4]=n??0,this[5]=f??0,this[6]=h??0,this[7]=C??0,this[8]=o??0,this[9]=w??0,this[10]=R??0,this[11]=q??0,this[12]=y??0,this[13]=j??0,this[14]=M??0,this[15]=N??0}b.packedLength=16;b.pack=function(c,n,o){return p.typeOf.object("value",c),p.defined("array",n),o=o??0,n[o++]=c[0],n[o++]=c[1],n[o++]=c[2],n[o++]=c[3],n[o++]=c[4],n[o++]=c[5],n[o++]=c[6],n[o++]=c[7],n[o++]=c[8],n[o++]=c[9],n[o++]=c[10],n[o++]=c[11],n[o++]=c[12],n[o++]=c[13],n[o++]=c[14],n[o]=c[15],n};b.unpack=function(c,n,o){return p.defined("array",c),n=n??0,U(o)||(o=new b),o[0]=c[n++],o[1]=c[n++],o[2]=c[n++],o[3]=c[n++],o[4]=c[n++],o[5]=c[n++],o[6]=c[n++],o[7]=c[n++],o[8]=c[n++],o[9]=c[n++],o[10]=c[n++],o[11]=c[n++],o[12]=c[n++],o[13]=c[n++],o[14]=c[n++],o[15]=c[n],o};b.packArray=function(c,n){p.defined("array",c);let o=c.length,y=o*16;if(!U(n))n=new Array(y);else{if(!Array.isArray(n)&&n.length!==y)throw new g("If result is a typed array, it must have exactly array.length * 16 elements");n.length!==y&&(n.length=y)}for(let O=0;O<o;++O)b.pack(c[O],n,O*16);return n};b.unpackArray=function(c,n){if(p.defined("array",c),p.typeOf.number.greaterThanOrEquals("array.length",c.length,16),c.length%16!==0)throw new g("array length must be a multiple of 16.");let o=c.length;U(n)?n.length=o/16:n=new Array(o/16);for(let y=0;y<o;y+=16){let O=y/16;n[O]=b.unpack(c,y,n[O])}return n};b.clone=function(c,n){if(U(c))return U(n)?(n[0]=c[0],n[1]=c[1],n[2]=c[2],n[3]=c[3],n[4]=c[4],n[5]=c[5],n[6]=c[6],n[7]=c[7],n[8]=c[8],n[9]=c[9],n[10]=c[10],n[11]=c[11],n[12]=c[12],n[13]=c[13],n[14]=c[14],n[15]=c[15],n):new b(c[0],c[4],c[8],c[12],c[1],c[5],c[9],c[13],c[2],c[6],c[10],c[14],c[3],c[7],c[11],c[15])};b.fromArray=b.unpack;b.fromColumnMajorArray=function(c,n){return p.defined("values",c),b.clone(c,n)};b.fromRowMajorArray=function(c,n){return p.defined("values",c),U(n)?(n[0]=c[0],n[1]=c[4],n[2]=c[8],n[3]=c[12],n[4]=c[1],n[5]=c[5],n[6]=c[9],n[7]=c[13],n[8]=c[2],n[9]=c[6],n[10]=c[10],n[11]=c[14],n[12]=c[3],n[13]=c[7],n[14]=c[11],n[15]=c[15],n):new b(c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7],c[8],c[9],c[10],c[11],c[12],c[13],c[14],c[15])};b.fromRotationTranslation=function(c,n,o){return p.typeOf.object("rotation",c),n=n??L.ZERO,U(o)?(o[0]=c[0],o[1]=c[1],o[2]=c[2],o[3]=0,o[4]=c[3],o[5]=c[4],o[6]=c[5],o[7]=0,o[8]=c[6],o[9]=c[7],o[10]=c[8],o[11]=0,o[12]=n.x,o[13]=n.y,o[14]=n.z,o[15]=1,o):new b(c[0],c[3],c[6],n.x,c[1],c[4],c[7],n.y,c[2],c[5],c[8],n.z,0,0,0,1)};b.fromTranslationQuaternionRotationScale=function(c,n,o,y){p.typeOf.object("translation",c),p.typeOf.object("rotation",n),p.typeOf.object("scale",o),U(y)||(y=new b);let O=o.x,f=o.y,w=o.z,j=n.x*n.x,z=n.x*n.y,h=n.x*n.z,R=n.x*n.w,M=n.y*n.y,T=n.y*n.z,C=n.y*n.w,q=n.z*n.z,N=n.z*n.w,E=n.w*n.w,S=j-M-q+E,d=2*(z-N),A=2*(h+C),W=2*(z+N),$=-j+M-q+E,Z=2*(T-R),B=2*(h-C),Y=2*(T+R),k=-j-M+q+E;return y[0]=S*O,y[1]=W*O,y[2]=B*O,y[3]=0,y[4]=d*f,y[5]=$*f,y[6]=Y*f,y[7]=0,y[8]=A*w,y[9]=Z*w,y[10]=k*w,y[11]=0,y[12]=c.x,y[13]=c.y,y[14]=c.z,y[15]=1,y};b.fromTranslationRotationScale=function(c,n){return p.typeOf.object("translationRotationScale",c),b.fromTranslationQuaternionRotationScale(c.translation,c.rotation,c.scale,n)};b.fromTranslation=function(c,n){return p.typeOf.object("translation",c),b.fromRotationTranslation(u.IDENTITY,c,n)};b.fromScale=function(c,n){return p.typeOf.object("scale",c),U(n)?(n[0]=c.x,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=c.y,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[10]=c.z,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n):new b(c.x,0,0,0,0,c.y,0,0,0,0,c.z,0,0,0,0,1)};b.fromUniformScale=function(c,n){return p.typeOf.number("scale",c),U(n)?(n[0]=c,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=c,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[10]=c,n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n):new b(c,0,0,0,0,c,0,0,0,0,c,0,0,0,0,1)};b.fromRotation=function(c,n){return p.typeOf.object("rotation",c),U(n)||(n=new b),n[0]=c[0],n[1]=c[1],n[2]=c[2],n[3]=0,n[4]=c[3],n[5]=c[4],n[6]=c[5],n[7]=0,n[8]=c[6],n[9]=c[7],n[10]=c[8],n[11]=0,n[12]=0,n[13]=0,n[14]=0,n[15]=1,n};var m=new L,e=new L,a=new L;b.fromCamera=function(c,n){p.typeOf.object("camera",c);let o=c.position,y=c.direction,O=c.up;p.typeOf.object("camera.position",o),p.typeOf.object("camera.direction",y),p.typeOf.object("camera.up",O),L.normalize(y,m),L.normalize(L.cross(m,O,e),e),L.normalize(L.cross(e,m,a),a);let f=e.x,w=e.y,j=e.z,z=m.x,h=m.y,R=m.z,M=a.x,T=a.y,C=a.z,q=o.x,N=o.y,E=o.z,S=f*-q+w*-N+j*-E,d=M*-q+T*-N+C*-E,A=z*q+h*N+R*E;return U(n)?(n[0]=f,n[1]=M,n[2]=-z,n[3]=0,n[4]=w,n[5]=T,n[6]=-h,n[7]=0,n[8]=j,n[9]=C,n[10]=-R,n[11]=0,n[12]=S,n[13]=d,n[14]=A,n[15]=1,n):new b(f,w,j,S,M,T,C,d,-z,-h,-R,A,0,0,0,1)};b.computePerspectiveFieldOfView=function(c,n,o,y,O){p.typeOf.number.greaterThan("fovY",c,0),p.typeOf.number.lessThan("fovY",c,Math.PI),p.typeOf.number.greaterThan("near",o,0),p.typeOf.number.greaterThan("far",y,0),p.typeOf.object("result",O);let w=1/Math.tan(c*.5),j=w/n,z=(y+o)/(o-y),h=2*y*o/(o-y);return O[0]=j,O[1]=0,O[2]=0,O[3]=0,O[4]=0,O[5]=w,O[6]=0,O[7]=0,O[8]=0,O[9]=0,O[10]=z,O[11]=-1,O[12]=0,O[13]=0,O[14]=h,O[15]=0,O};b.computeOrthographicOffCenter=function(c,n,o,y,O,f,w){p.typeOf.number("left",c),p.typeOf.number("right",n),p.typeOf.number("bottom",o),p.typeOf.number("top",y),p.typeOf.number("near",O),p.typeOf.number("far",f),p.typeOf.object("result",w);let j=1/(n-c),z=1/(y-o),h=1/(f-O),R=-(n+c)*j,M=-(y+o)*z,T=-(f+O)*h;return j*=2,z*=2,h*=-2,w[0]=j,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=z,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=h,w[11]=0,w[12]=R,w[13]=M,w[14]=T,w[15]=1,w};b.computePerspectiveOffCenter=function(c,n,o,y,O,f,w){p.typeOf.number("left",c),p.typeOf.number("right",n),p.typeOf.number("bottom",o),p.typeOf.number("top",y),p.typeOf.number("near",O),p.typeOf.number("far",f),p.typeOf.object("result",w);let j=2*O/(n-c),z=2*O/(y-o),h=(n+c)/(n-c),R=(y+o)/(y-o),M=-(f+O)/(f-O),T=-1,C=-2*f*O/(f-O);return w[0]=j,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=z,w[6]=0,w[7]=0,w[8]=h,w[9]=R,w[10]=M,w[11]=T,w[12]=0,w[13]=0,w[14]=C,w[15]=0,w};b.computeInfinitePerspectiveOffCenter=function(c,n,o,y,O,f){p.typeOf.number("left",c),p.typeOf.number("right",n),p.typeOf.number("bottom",o),p.typeOf.number("top",y),p.typeOf.number("near",O),p.typeOf.object("result",f);let w=2*O/(n-c),j=2*O/(y-o),z=(n+c)/(n-c),h=(y+o)/(y-o),R=-1,M=-1,T=-2*O;return f[0]=w,f[1]=0,f[2]=0,f[3]=0,f[4]=0,f[5]=j,f[6]=0,f[7]=0,f[8]=z,f[9]=h,f[10]=R,f[11]=M,f[12]=0,f[13]=0,f[14]=T,f[15]=0,f};b.computeViewportTransformation=function(c,n,o,y){U(y)||(y=new b),c=c??j1.EMPTY_OBJECT;let O=c.x??0,f=c.y??0,w=c.width??0,j=c.height??0;n=n??0,o=o??1;let z=w*.5,h=j*.5,R=(o-n)*.5,M=z,T=h,C=R,q=O+z,N=f+h,E=n+R,S=1;return y[0]=M,y[1]=0,y[2]=0,y[3]=0,y[4]=0,y[5]=T,y[6]=0,y[7]=0,y[8]=0,y[9]=0,y[10]=C,y[11]=0,y[12]=q,y[13]=N,y[14]=E,y[15]=S,y};b.computeView=function(c,n,o,y,O){return p.typeOf.object("position",c),p.typeOf.object("direction",n),p.typeOf.object("up",o),p.typeOf.object("right",y),p.typeOf.object("result",O),O[0]=y.x,O[1]=o.x,O[2]=-n.x,O[3]=0,O[4]=y.y,O[5]=o.y,O[6]=-n.y,O[7]=0,O[8]=y.z,O[9]=o.z,O[10]=-n.z,O[11]=0,O[12]=-L.dot(y,c),O[13]=-L.dot(o,c),O[14]=L.dot(n,c),O[15]=1,O};b.toArray=function(c,n){return p.typeOf.object("matrix",c),U(n)?(n[0]=c[0],n[1]=c[1],n[2]=c[2],n[3]=c[3],n[4]=c[4],n[5]=c[5],n[6]=c[6],n[7]=c[7],n[8]=c[8],n[9]=c[9],n[10]=c[10],n[11]=c[11],n[12]=c[12],n[13]=c[13],n[14]=c[14],n[15]=c[15],n):[c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7],c[8],c[9],c[10],c[11],c[12],c[13],c[14],c[15]]};b.getElementIndex=function(c,n){return p.typeOf.number.greaterThanOrEquals("row",n,0),p.typeOf.number.lessThanOrEquals("row",n,3),p.typeOf.number.greaterThanOrEquals("column",c,0),p.typeOf.number.lessThanOrEquals("column",c,3),c*4+n};b.getColumn=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.number.greaterThanOrEquals("index",n,0),p.typeOf.number.lessThanOrEquals("index",n,3),p.typeOf.object("result",o);let y=n*4,O=c[y],f=c[y+1],w=c[y+2],j=c[y+3];return o.x=O,o.y=f,o.z=w,o.w=j,o};b.setColumn=function(c,n,o,y){p.typeOf.object("matrix",c),p.typeOf.number.greaterThanOrEquals("index",n,0),p.typeOf.number.lessThanOrEquals("index",n,3),p.typeOf.object("cartesian",o),p.typeOf.object("result",y),y=b.clone(c,y);let O=n*4;return y[O]=o.x,y[O+1]=o.y,y[O+2]=o.z,y[O+3]=o.w,y};b.getRow=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.number.greaterThanOrEquals("index",n,0),p.typeOf.number.lessThanOrEquals("index",n,3),p.typeOf.object("result",o);let y=c[n],O=c[n+4],f=c[n+8],w=c[n+12];return o.x=y,o.y=O,o.z=f,o.w=w,o};b.setRow=function(c,n,o,y){return p.typeOf.object("matrix",c),p.typeOf.number.greaterThanOrEquals("index",n,0),p.typeOf.number.lessThanOrEquals("index",n,3),p.typeOf.object("cartesian",o),p.typeOf.object("result",y),y=b.clone(c,y),y[n]=o.x,y[n+4]=o.y,y[n+8]=o.z,y[n+12]=o.w,y};b.setTranslation=function(c,n,o){return p.typeOf.object("matrix",c),p.typeOf.object("translation",n),p.typeOf.object("result",o),o[0]=c[0],o[1]=c[1],o[2]=c[2],o[3]=c[3],o[4]=c[4],o[5]=c[5],o[6]=c[6],o[7]=c[7],o[8]=c[8],o[9]=c[9],o[10]=c[10],o[11]=c[11],o[12]=n.x,o[13]=n.y,o[14]=n.z,o[15]=c[15],o};var d1=new L;b.setScale=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.object("scale",n),p.typeOf.object("result",o);let y=b.getScale(c,d1),O=n.x/y.x,f=n.y/y.y,w=n.z/y.z;return o[0]=c[0]*O,o[1]=c[1]*O,o[2]=c[2]*O,o[3]=c[3],o[4]=c[4]*f,o[5]=c[5]*f,o[6]=c[6]*f,o[7]=c[7],o[8]=c[8]*w,o[9]=c[9]*w,o[10]=c[10]*w,o[11]=c[11],o[12]=c[12],o[13]=c[13],o[14]=c[14],o[15]=c[15],o};var A1=new L;b.setUniformScale=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.number("scale",n),p.typeOf.object("result",o);let y=b.getScale(c,A1),O=n/y.x,f=n/y.y,w=n/y.z;return o[0]=c[0]*O,o[1]=c[1]*O,o[2]=c[2]*O,o[3]=c[3],o[4]=c[4]*f,o[5]=c[5]*f,o[6]=c[6]*f,o[7]=c[7],o[8]=c[8]*w,o[9]=c[9]*w,o[10]=c[10]*w,o[11]=c[11],o[12]=c[12],o[13]=c[13],o[14]=c[14],o[15]=c[15],o};var w1=new L;b.getScale=function(c,n){return p.typeOf.object("matrix",c),p.typeOf.object("result",n),n.x=L.magnitude(L.fromElements(c[0],c[1],c[2],w1)),n.y=L.magnitude(L.fromElements(c[4],c[5],c[6],w1)),n.z=L.magnitude(L.fromElements(c[8],c[9],c[10],w1)),n};var M1=new L;b.getMaximumScale=function(c){return b.getScale(c,M1),L.maximumComponent(M1)};var L1=new L;b.setRotation=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.object("result",o);let y=b.getScale(c,L1);return o[0]=n[0]*y.x,o[1]=n[1]*y.x,o[2]=n[2]*y.x,o[3]=c[3],o[4]=n[3]*y.y,o[5]=n[4]*y.y,o[6]=n[5]*y.y,o[7]=c[7],o[8]=n[6]*y.z,o[9]=n[7]*y.z,o[10]=n[8]*y.z,o[11]=c[11],o[12]=c[12],o[13]=c[13],o[14]=c[14],o[15]=c[15],o};var W1=new L;b.getRotation=function(c,n){p.typeOf.object("matrix",c),p.typeOf.object("result",n);let o=b.getScale(c,W1);return n[0]=c[0]/o.x,n[1]=c[1]/o.x,n[2]=c[2]/o.x,n[3]=c[4]/o.y,n[4]=c[5]/o.y,n[5]=c[6]/o.y,n[6]=c[8]/o.z,n[7]=c[9]/o.z,n[8]=c[10]/o.z,n};b.multiply=function(c,n,o){p.typeOf.object("left",c),p.typeOf.object("right",n),p.typeOf.object("result",o);let y=c[0],O=c[1],f=c[2],w=c[3],j=c[4],z=c[5],h=c[6],R=c[7],M=c[8],T=c[9],C=c[10],q=c[11],N=c[12],E=c[13],S=c[14],d=c[15],A=n[0],W=n[1],$=n[2],Z=n[3],B=n[4],Y=n[5],k=n[6],V=n[7],Q=n[8],H=n[9],J=n[10],G=n[11],K=n[12],I=n[13],_=n[14],v=n[15],t=y*A+j*W+M*$+N*Z,x=O*A+z*W+T*$+E*Z,i=f*A+h*W+C*$+S*Z,s=w*A+R*W+q*$+d*Z,n1=y*B+j*Y+M*k+N*V,c1=O*B+z*Y+T*k+E*V,o1=f*B+h*Y+C*k+S*V,y1=w*B+R*Y+q*k+d*V,p1=y*Q+j*H+M*J+N*G,O1=O*Q+z*H+T*J+E*G,f1=f*Q+h*H+C*J+S*G,X=w*Q+R*H+q*J+d*G,T1=y*K+j*I+M*_+N*v,C1=O*K+z*I+T*_+E*v,N1=f*K+h*I+C*_+S*v,q1=w*K+R*I+q*_+d*v;return o[0]=t,o[1]=x,o[2]=i,o[3]=s,o[4]=n1,o[5]=c1,o[6]=o1,o[7]=y1,o[8]=p1,o[9]=O1,o[10]=f1,o[11]=X,o[12]=T1,o[13]=C1,o[14]=N1,o[15]=q1,o};b.add=function(c,n,o){return p.typeOf.object("left",c),p.typeOf.object("right",n),p.typeOf.object("result",o),o[0]=c[0]+n[0],o[1]=c[1]+n[1],o[2]=c[2]+n[2],o[3]=c[3]+n[3],o[4]=c[4]+n[4],o[5]=c[5]+n[5],o[6]=c[6]+n[6],o[7]=c[7]+n[7],o[8]=c[8]+n[8],o[9]=c[9]+n[9],o[10]=c[10]+n[10],o[11]=c[11]+n[11],o[12]=c[12]+n[12],o[13]=c[13]+n[13],o[14]=c[14]+n[14],o[15]=c[15]+n[15],o};b.subtract=function(c,n,o){return p.typeOf.object("left",c),p.typeOf.object("right",n),p.typeOf.object("result",o),o[0]=c[0]-n[0],o[1]=c[1]-n[1],o[2]=c[2]-n[2],o[3]=c[3]-n[3],o[4]=c[4]-n[4],o[5]=c[5]-n[5],o[6]=c[6]-n[6],o[7]=c[7]-n[7],o[8]=c[8]-n[8],o[9]=c[9]-n[9],o[10]=c[10]-n[10],o[11]=c[11]-n[11],o[12]=c[12]-n[12],o[13]=c[13]-n[13],o[14]=c[14]-n[14],o[15]=c[15]-n[15],o};b.multiplyTransformation=function(c,n,o){p.typeOf.object("left",c),p.typeOf.object("right",n),p.typeOf.object("result",o);let y=c[0],O=c[1],f=c[2],w=c[4],j=c[5],z=c[6],h=c[8],R=c[9],M=c[10],T=c[12],C=c[13],q=c[14],N=n[0],E=n[1],S=n[2],d=n[4],A=n[5],W=n[6],$=n[8],Z=n[9],B=n[10],Y=n[12],k=n[13],V=n[14],Q=y*N+w*E+h*S,H=O*N+j*E+R*S,J=f*N+z*E+M*S,G=y*d+w*A+h*W,K=O*d+j*A+R*W,I=f*d+z*A+M*W,_=y*$+w*Z+h*B,v=O*$+j*Z+R*B,t=f*$+z*Z+M*B,x=y*Y+w*k+h*V+T,i=O*Y+j*k+R*V+C,s=f*Y+z*k+M*V+q;return o[0]=Q,o[1]=H,o[2]=J,o[3]=0,o[4]=G,o[5]=K,o[6]=I,o[7]=0,o[8]=_,o[9]=v,o[10]=t,o[11]=0,o[12]=x,o[13]=i,o[14]=s,o[15]=1,o};b.multiplyByMatrix3=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.object("rotation",n),p.typeOf.object("result",o);let y=c[0],O=c[1],f=c[2],w=c[4],j=c[5],z=c[6],h=c[8],R=c[9],M=c[10],T=n[0],C=n[1],q=n[2],N=n[3],E=n[4],S=n[5],d=n[6],A=n[7],W=n[8],$=y*T+w*C+h*q,Z=O*T+j*C+R*q,B=f*T+z*C+M*q,Y=y*N+w*E+h*S,k=O*N+j*E+R*S,V=f*N+z*E+M*S,Q=y*d+w*A+h*W,H=O*d+j*A+R*W,J=f*d+z*A+M*W;return o[0]=$,o[1]=Z,o[2]=B,o[3]=0,o[4]=Y,o[5]=k,o[6]=V,o[7]=0,o[8]=Q,o[9]=H,o[10]=J,o[11]=0,o[12]=c[12],o[13]=c[13],o[14]=c[14],o[15]=c[15],o};b.multiplyByTranslation=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.object("translation",n),p.typeOf.object("result",o);let y=n.x,O=n.y,f=n.z,w=y*c[0]+O*c[4]+f*c[8]+c[12],j=y*c[1]+O*c[5]+f*c[9]+c[13],z=y*c[2]+O*c[6]+f*c[10]+c[14];return o[0]=c[0],o[1]=c[1],o[2]=c[2],o[3]=c[3],o[4]=c[4],o[5]=c[5],o[6]=c[6],o[7]=c[7],o[8]=c[8],o[9]=c[9],o[10]=c[10],o[11]=c[11],o[12]=w,o[13]=j,o[14]=z,o[15]=c[15],o};b.multiplyByScale=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.object("scale",n),p.typeOf.object("result",o);let y=n.x,O=n.y,f=n.z;return y===1&&O===1&&f===1?b.clone(c,o):(o[0]=y*c[0],o[1]=y*c[1],o[2]=y*c[2],o[3]=c[3],o[4]=O*c[4],o[5]=O*c[5],o[6]=O*c[6],o[7]=c[7],o[8]=f*c[8],o[9]=f*c[9],o[10]=f*c[10],o[11]=c[11],o[12]=c[12],o[13]=c[13],o[14]=c[14],o[15]=c[15],o)};b.multiplyByUniformScale=function(c,n,o){return p.typeOf.object("matrix",c),p.typeOf.number("scale",n),p.typeOf.object("result",o),o[0]=c[0]*n,o[1]=c[1]*n,o[2]=c[2]*n,o[3]=c[3],o[4]=c[4]*n,o[5]=c[5]*n,o[6]=c[6]*n,o[7]=c[7],o[8]=c[8]*n,o[9]=c[9]*n,o[10]=c[10]*n,o[11]=c[11],o[12]=c[12],o[13]=c[13],o[14]=c[14],o[15]=c[15],o};b.multiplyByVector=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.object("cartesian",n),p.typeOf.object("result",o);let y=n.x,O=n.y,f=n.z,w=n.w,j=c[0]*y+c[4]*O+c[8]*f+c[12]*w,z=c[1]*y+c[5]*O+c[9]*f+c[13]*w,h=c[2]*y+c[6]*O+c[10]*f+c[14]*w,R=c[3]*y+c[7]*O+c[11]*f+c[15]*w;return o.x=j,o.y=z,o.z=h,o.w=R,o};b.multiplyByPointAsVector=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.object("cartesian",n),p.typeOf.object("result",o);let y=n.x,O=n.y,f=n.z,w=c[0]*y+c[4]*O+c[8]*f,j=c[1]*y+c[5]*O+c[9]*f,z=c[2]*y+c[6]*O+c[10]*f;return o.x=w,o.y=j,o.z=z,o};b.multiplyByPoint=function(c,n,o){p.typeOf.object("matrix",c),p.typeOf.object("cartesian",n),p.typeOf.object("result",o);let y=n.x,O=n.y,f=n.z,w=c[0]*y+c[4]*O+c[8]*f+c[12],j=c[1]*y+c[5]*O+c[9]*f+c[13],z=c[2]*y+c[6]*O+c[10]*f+c[14];return o.x=w,o.y=j,o.z=z,o};b.multiplyByScalar=function(c,n,o){return p.typeOf.object("matrix",c),p.typeOf.number("scalar",n),p.typeOf.object("result",o),o[0]=c[0]*n,o[1]=c[1]*n,o[2]=c[2]*n,o[3]=c[3]*n,o[4]=c[4]*n,o[5]=c[5]*n,o[6]=c[6]*n,o[7]=c[7]*n,o[8]=c[8]*n,o[9]=c[9]*n,o[10]=c[10]*n,o[11]=c[11]*n,o[12]=c[12]*n,o[13]=c[13]*n,o[14]=c[14]*n,o[15]=c[15]*n,o};b.negate=function(c,n){return p.typeOf.object("matrix",c),p.typeOf.object("result",n),n[0]=-c[0],n[1]=-c[1],n[2]=-c[2],n[3]=-c[3],n[4]=-c[4],n[5]=-c[5],n[6]=-c[6],n[7]=-c[7],n[8]=-c[8],n[9]=-c[9],n[10]=-c[10],n[11]=-c[11],n[12]=-c[12],n[13]=-c[13],n[14]=-c[14],n[15]=-c[15],n};b.transpose=function(c,n){p.typeOf.object("matrix",c),p.typeOf.object("result",n);let o=c[1],y=c[2],O=c[3],f=c[6],w=c[7],j=c[11];return n[0]=c[0],n[1]=c[4],n[2]=c[8],n[3]=c[12],n[4]=o,n[5]=c[5],n[6]=c[9],n[7]=c[13],n[8]=y,n[9]=f,n[10]=c[10],n[11]=c[14],n[12]=O,n[13]=w,n[14]=j,n[15]=c[15],n};b.abs=function(c,n){return p.typeOf.object("matrix",c),p.typeOf.object("result",n),n[0]=Math.abs(c[0]),n[1]=Math.abs(c[1]),n[2]=Math.abs(c[2]),n[3]=Math.abs(c[3]),n[4]=Math.abs(c[4]),n[5]=Math.abs(c[5]),n[6]=Math.abs(c[6]),n[7]=Math.abs(c[7]),n[8]=Math.abs(c[8]),n[9]=Math.abs(c[9]),n[10]=Math.abs(c[10]),n[11]=Math.abs(c[11]),n[12]=Math.abs(c[12]),n[13]=Math.abs(c[13]),n[14]=Math.abs(c[14]),n[15]=Math.abs(c[15]),n};b.equals=function(c,n){return c===n||U(c)&&U(n)&&c[12]===n[12]&&c[13]===n[13]&&c[14]===n[14]&&c[0]===n[0]&&c[1]===n[1]&&c[2]===n[2]&&c[4]===n[4]&&c[5]===n[5]&&c[6]===n[6]&&c[8]===n[8]&&c[9]===n[9]&&c[10]===n[10]&&c[3]===n[3]&&c[7]===n[7]&&c[11]===n[11]&&c[15]===n[15]};b.equalsEpsilon=function(c,n,o){return o=o??0,c===n||U(c)&&U(n)&&Math.abs(c[0]-n[0])<=o&&Math.abs(c[1]-n[1])<=o&&Math.abs(c[2]-n[2])<=o&&Math.abs(c[3]-n[3])<=o&&Math.abs(c[4]-n[4])<=o&&Math.abs(c[5]-n[5])<=o&&Math.abs(c[6]-n[6])<=o&&Math.abs(c[7]-n[7])<=o&&Math.abs(c[8]-n[8])<=o&&Math.abs(c[9]-n[9])<=o&&Math.abs(c[10]-n[10])<=o&&Math.abs(c[11]-n[11])<=o&&Math.abs(c[12]-n[12])<=o&&Math.abs(c[13]-n[13])<=o&&Math.abs(c[14]-n[14])<=o&&Math.abs(c[15]-n[15])<=o};b.getTranslation=function(c,n){return p.typeOf.object("matrix",c),p.typeOf.object("result",n),n.x=c[12],n.y=c[13],n.z=c[14],n};b.getMatrix3=function(c,n){return p.typeOf.object("matrix",c),p.typeOf.object("result",n),n[0]=c[0],n[1]=c[1],n[2]=c[2],n[3]=c[4],n[4]=c[5],n[5]=c[6],n[6]=c[8],n[7]=c[9],n[8]=c[10],n};var $1=new u,Z1=new u,B1=new r,Y1=new r(0,0,0,1);b.inverse=function(c,n){p.typeOf.object("matrix",c),p.typeOf.object("result",n);let o=c[0],y=c[4],O=c[8],f=c[12],w=c[1],j=c[5],z=c[9],h=c[13],R=c[2],M=c[6],T=c[10],C=c[14],q=c[3],N=c[7],E=c[11],S=c[15],d=T*S,A=C*E,W=M*S,$=C*N,Z=M*E,B=T*N,Y=R*S,k=C*q,V=R*E,Q=T*q,H=R*N,J=M*q,G=d*j+$*z+Z*h-(A*j+W*z+B*h),K=A*w+Y*z+Q*h-(d*w+k*z+V*h),I=W*w+k*j+H*h-($*w+Y*j+J*h),_=B*w+V*j+J*z-(Z*w+Q*j+H*z),v=A*y+W*O+B*f-(d*y+$*O+Z*f),t=d*o+k*O+V*f-(A*o+Y*O+Q*f),x=$*o+Y*y+J*f-(W*o+k*y+H*f),i=Z*o+Q*y+H*O-(B*o+V*y+J*O);d=O*h,A=f*z,W=y*h,$=f*j,Z=y*z,B=O*j,Y=o*h,k=f*w,V=o*z,Q=O*w,H=o*j,J=y*w;let s=d*N+$*E+Z*S-(A*N+W*E+B*S),n1=A*q+Y*E+Q*S-(d*q+k*E+V*S),c1=W*q+k*N+H*S-($*q+Y*N+J*S),o1=B*q+V*N+J*E-(Z*q+Q*N+H*E),y1=W*T+B*C+A*M-(Z*C+d*M+$*T),p1=V*C+d*R+k*T-(Y*T+Q*C+A*R),O1=Y*M+J*C+$*R-(H*C+W*R+k*M),f1=H*T+Z*R+Q*M-(V*M+J*T+B*R),X=o*G+y*K+O*I+f*_;if(Math.abs(X)<F.EPSILON21){if(u.equalsEpsilon(b.getMatrix3(c,$1),Z1,F.EPSILON7)&&r.equals(b.getRow(c,3,B1),Y1))return n[0]=0,n[1]=0,n[2]=0,n[3]=0,n[4]=0,n[5]=0,n[6]=0,n[7]=0,n[8]=0,n[9]=0,n[10]=0,n[11]=0,n[12]=-c[12],n[13]=-c[13],n[14]=-c[14],n[15]=1,n;throw new z1("matrix is not invertible because its determinate is zero.")}return X=1/X,n[0]=G*X,n[1]=K*X,n[2]=I*X,n[3]=_*X,n[4]=v*X,n[5]=t*X,n[6]=x*X,n[7]=i*X,n[8]=s*X,n[9]=n1*X,n[10]=c1*X,n[11]=o1*X,n[12]=y1*X,n[13]=p1*X,n[14]=O1*X,n[15]=f1*X,n};b.inverseTransformation=function(c,n){p.typeOf.object("matrix",c),p.typeOf.object("result",n);let o=c[0],y=c[1],O=c[2],f=c[4],w=c[5],j=c[6],z=c[8],h=c[9],R=c[10],M=c[12],T=c[13],C=c[14],q=-o*M-y*T-O*C,N=-f*M-w*T-j*C,E=-z*M-h*T-R*C;return n[0]=o,n[1]=f,n[2]=z,n[3]=0,n[4]=y,n[5]=w,n[6]=h,n[7]=0,n[8]=O,n[9]=j,n[10]=R,n[11]=0,n[12]=q,n[13]=N,n[14]=E,n[15]=1,n};var k1=new b;b.inverseTranspose=function(c,n){return p.typeOf.object("matrix",c),p.typeOf.object("result",n),b.inverse(b.transpose(c,k1),n)};b.IDENTITY=Object.freeze(new b(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1));b.ZERO=Object.freeze(new b(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0));b.COLUMN0ROW0=0;b.COLUMN0ROW1=1;b.COLUMN0ROW2=2;b.COLUMN0ROW3=3;b.COLUMN1ROW0=4;b.COLUMN1ROW1=5;b.COLUMN1ROW2=6;b.COLUMN1ROW3=7;b.COLUMN2ROW0=8;b.COLUMN2ROW1=9;b.COLUMN2ROW2=10;b.COLUMN2ROW3=11;b.COLUMN3ROW0=12;b.COLUMN3ROW1=13;b.COLUMN3ROW2=14;b.COLUMN3ROW3=15;Object.defineProperties(b.prototype,{length:{get:function(){return b.packedLength}}});b.prototype.clone=function(c){return b.clone(this,c)};b.prototype.equals=function(c){return b.equals(this,c)};b.equalsArray=function(c,n,o){return c[0]===n[o]&&c[1]===n[o+1]&&c[2]===n[o+2]&&c[3]===n[o+3]&&c[4]===n[o+4]&&c[5]===n[o+5]&&c[6]===n[o+6]&&c[7]===n[o+7]&&c[8]===n[o+8]&&c[9]===n[o+9]&&c[10]===n[o+10]&&c[11]===n[o+11]&&c[12]===n[o+12]&&c[13]===n[o+13]&&c[14]===n[o+14]&&c[15]===n[o+15]};b.prototype.equalsEpsilon=function(c,n){return b.equalsEpsilon(this,c,n)};b.prototype.toString=function(){return`(${this[0]}, ${this[4]}, ${this[8]}, ${this[12]})
27
- (${this[1]}, ${this[5]}, ${this[9]}, ${this[13]})
28
- (${this[2]}, ${this[6]}, ${this[10]}, ${this[14]})
29
- (${this[3]}, ${this[7]}, ${this[11]}, ${this[15]})`};var m1=b;export{r as a,m1 as b};
@@ -1,26 +0,0 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.140.0
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
-
26
- import{a as tt}from"./chunk-SQMIIXB7.js";import{a as jt}from"./chunk-M4HLDBCG.js";import{b as Lt}from"./chunk-CTHM3W6I.js";import{a as Et}from"./chunk-5TJMAQVL.js";import{a as j}from"./chunk-W37FE5GR.js";import{a as dt,b as D,c as B,d as U}from"./chunk-NMVKML6W.js";import{a as _t,c as ot}from"./chunk-2TE5NTVD.js";import{a as Ut}from"./chunk-CUUSNIVQ.js";import{a as pt,b as H}from"./chunk-23ZQ2IVV.js";import{a as F}from"./chunk-XUSCFAVF.js";import{a as Mt,b as V}from"./chunk-FFBVWF2L.js";import{a as r,b as gt,c as Ot}from"./chunk-QKUIYMGC.js";import{a as N}from"./chunk-WBOV35NL.js";import{a as I,b as ft}from"./chunk-TNSUQXWK.js";import{e as f}from"./chunk-ILRYTWTP.js";var Yt=new r,Zt=new r,Xt=new r;function pe(t,e,n,s,i){ft.defined("point",t),ft.defined("p0",e),ft.defined("p1",n),ft.defined("p2",s),f(i)||(i=new r);let c,o,a,p,u,d,m,l;if(f(e.z)){if(r.equalsEpsilon(t,e,N.EPSILON14))return r.clone(r.UNIT_X,i);if(r.equalsEpsilon(t,n,N.EPSILON14))return r.clone(r.UNIT_Y,i);if(r.equalsEpsilon(t,s,N.EPSILON14))return r.clone(r.UNIT_Z,i);c=r.subtract(n,e,Yt),o=r.subtract(s,e,Zt),a=r.subtract(t,e,Xt),p=r.dot(c,c),u=r.dot(c,o),d=r.dot(c,a),m=r.dot(o,o),l=r.dot(o,a)}else{if(V.equalsEpsilon(t,e,N.EPSILON14))return r.clone(r.UNIT_X,i);if(V.equalsEpsilon(t,n,N.EPSILON14))return r.clone(r.UNIT_Y,i);if(V.equalsEpsilon(t,s,N.EPSILON14))return r.clone(r.UNIT_Z,i);c=V.subtract(n,e,Yt),o=V.subtract(s,e,Zt),a=V.subtract(t,e,Xt),p=V.dot(c,c),u=V.dot(c,o),d=V.dot(c,a),m=V.dot(o,o),l=V.dot(o,a)}i.y=m*d-u*l,i.z=p*l-u*d;let h=p*m-u*u;if(h!==0)return i.y/=h,i.z/=h,i.x=1-i.y-i.z,i}var Ht=pe;var Nt={};Nt.calculateACMR=function(t){t=t??Ot.EMPTY_OBJECT;let e=t.indices,n=t.maximumIndex,s=t.cacheSize??24;if(!f(e))throw new I("indices is required.");let i=e.length;if(i<3||i%3!==0)throw new I("indices length must be a multiple of three.");if(n<=0)throw new I("maximumIndex must be greater than zero.");if(s<3)throw new I("cacheSize must be greater than two.");if(!f(n)){n=0;let a=0,p=e[a];for(;a<i;)p>n&&(n=p),++a,p=e[a]}let c=[];for(let a=0;a<n+1;a++)c[a]=0;let o=s+1;for(let a=0;a<i;++a)o-c[e[a]]>s&&(c[e[a]]=o,++o);return(o-s+1)/(i/3)};Nt.tipsify=function(t){t=t??Ot.EMPTY_OBJECT;let e=t.indices,n=t.maximumIndex,s=t.cacheSize??24,i;function c(C,z,q,R){for(;z.length>=1;){let G=z[z.length-1];if(z.splice(z.length-1,1),C[G].numLiveTriangles>0)return G}for(;i<R;){if(C[i].numLiveTriangles>0)return++i,i-1;++i}return-1}function o(C,z,q,R,G,M,J){let Y=-1,_,St=-1,Pt=0;for(;Pt<q.length;){let lt=q[Pt];R[lt].numLiveTriangles&&(_=0,G-R[lt].timeStamp+2*R[lt].numLiveTriangles<=z&&(_=G-R[lt].timeStamp),(_>St||St===-1)&&(St=_,Y=lt)),++Pt}return Y===-1?c(R,M,C,J):Y}if(!f(e))throw new I("indices is required.");let a=e.length;if(a<3||a%3!==0)throw new I("indices length must be a multiple of three.");if(n<=0)throw new I("maximumIndex must be greater than zero.");if(s<3)throw new I("cacheSize must be greater than two.");let p=0,u=0,d=e[u],m=a;if(f(n))p=n+1;else{for(;u<m;)d>p&&(p=d),++u,d=e[u];if(p===-1)return 0;++p}let l=[],h;for(h=0;h<p;h++)l[h]={numLiveTriangles:0,timeStamp:0,vertexTriangles:[]};u=0;let y=0;for(;u<m;)l[e[u]].vertexTriangles.push(y),++l[e[u]].numLiveTriangles,l[e[u+1]].vertexTriangles.push(y),++l[e[u+1]].numLiveTriangles,l[e[u+2]].vertexTriangles.push(y),++l[e[u+2]].numLiveTriangles,++y,u+=3;let v=0,b=s+1;i=1;let S=[],x=[],w,A,E=0,P=[],O=a/3,L=[];for(h=0;h<O;h++)L[h]=!1;let g,T;for(;v!==-1;){S=[],A=l[v],T=A.vertexTriangles.length;for(let C=0;C<T;++C)if(y=A.vertexTriangles[C],!L[y]){L[y]=!0,u=y+y+y;for(let z=0;z<3;++z)g=e[u],S.push(g),x.push(g),P[E]=g,++E,w=l[g],--w.numLiveTriangles,b-w.timeStamp>s&&(w.timeStamp=b,++b),++u}v=o(e,s,S,l,b,x,p)}return P};var Wt=Nt;var k={};function It(t,e,n,s,i){t[e++]=n,t[e++]=s,t[e++]=s,t[e++]=i,t[e++]=i,t[e]=n}function de(t){let e=t.length,n=e/3*6,s=j.createTypedArray(e,n),i=0;for(let c=0;c<e;c+=3,i+=6)It(s,i,t[c],t[c+1],t[c+2]);return s}function me(t){let e=t.length;if(e>=3){let n=(e-2)*6,s=j.createTypedArray(e,n);It(s,0,t[0],t[1],t[2]);let i=6;for(let c=3;c<e;++c,i+=6)It(s,i,t[c-1],t[c],t[c-2]);return s}return new Uint16Array}function he(t){if(t.length>0){let e=t.length-1,n=(e-1)*6,s=j.createTypedArray(e,n),i=t[0],c=0;for(let o=1;o<e;++o,c+=6)It(s,c,i,t[o],t[o+1]);return s}return new Uint16Array}k.toWireframe=function(t){if(!f(t))throw new I("geometry is required.");let e=t.indices;if(f(e)){switch(t.primitiveType){case D.TRIANGLES:t.indices=de(e);break;case D.TRIANGLE_STRIP:t.indices=me(e);break;case D.TRIANGLE_FAN:t.indices=he(e);break;default:throw new I("geometry.primitiveType must be TRIANGLES, TRIANGLE_STRIP, or TRIANGLE_FAN.")}t.primitiveType=D.LINES}return t};k.createLineSegmentsForVectors=function(t,e,n){if(e=e??"normal",!f(t))throw new I("geometry is required.");if(!f(t.attributes.position))throw new I("geometry.attributes.position is required.");if(!f(t.attributes[e]))throw new I(`geometry.attributes must have an attribute with the same name as the attributeName parameter, ${e}.`);n=n??1e4;let s=t.attributes.position.values,i=t.attributes[e].values,c=s.length,o=new Float64Array(2*c),a=0;for(let d=0;d<c;d+=3)o[a++]=s[d],o[a++]=s[d+1],o[a++]=s[d+2],o[a++]=s[d]+i[d]*n,o[a++]=s[d+1]+i[d+1]*n,o[a++]=s[d+2]+i[d+2]*n;let p,u=t.boundingSphere;return f(u)&&(p=new ot(u.center,u.radius+n)),new B({attributes:{position:new U({componentDatatype:F.DOUBLE,componentsPerAttribute:3,values:o})},primitiveType:D.LINES,boundingSphere:p})};k.createAttributeLocations=function(t){if(!f(t))throw new I("geometry is required.");let e=["position","positionHigh","positionLow","position3DHigh","position3DLow","position2DHigh","position2DLow","pickColor","normal","st","tangent","bitangent","extrudeDirection","compressedAttributes"],n=t.attributes,s={},i=0,c,o=e.length;for(c=0;c<o;++c){let a=e[c];f(n[a])&&(s[a]=i++)}for(let a in n)n.hasOwnProperty(a)&&!f(s[a])&&(s[a]=i++);return s};k.reorderForPreVertexCache=function(t){if(!f(t))throw new I("geometry is required.");let e=B.computeNumberOfVertices(t),n=t.indices;if(f(n)){let s=new Int32Array(e);for(let l=0;l<e;l++)s[l]=-1;let i=n,c=i.length,o=j.createTypedArray(e,c),a=0,p=0,u=0,d;for(;a<c;)d=s[i[a]],d!==-1?o[p]=d:(d=i[a],s[d]=u,o[p]=u,++u),++a,++p;t.indices=o;let m=t.attributes;for(let l in m)if(m.hasOwnProperty(l)&&f(m[l])&&f(m[l].values)){let h=m[l],y=h.values,v=0,b=h.componentsPerAttribute,S=F.createTypedArray(h.componentDatatype,u*b);for(;v<e;){let x=s[v];if(x!==-1)for(let w=0;w<b;w++)S[b*x+w]=y[b*v+w];++v}h.values=S}}return t};k.reorderForPostVertexCache=function(t,e){if(!f(t))throw new I("geometry is required.");let n=t.indices;if(t.primitiveType===D.TRIANGLES&&f(n)){let s=n.length,i=0;for(let c=0;c<s;c++)n[c]>i&&(i=n[c]);t.indices=Wt.tipsify({indices:n,maximumIndex:i,cacheSize:e})}return t};function $t(t){let e={};for(let n in t)if(t.hasOwnProperty(n)&&f(t[n])&&f(t[n].values)){let s=t[n];e[n]=new U({componentDatatype:s.componentDatatype,componentsPerAttribute:s.componentsPerAttribute,normalize:s.normalize,values:[]})}return e}function be(t,e,n){for(let s in e)if(e.hasOwnProperty(s)&&f(e[s])&&f(e[s].values)){let i=e[s];for(let c=0;c<i.componentsPerAttribute;++c)t[s].values.push(i.values[n*i.componentsPerAttribute+c])}}k.fitToUnsignedShortIndices=function(t){if(!f(t))throw new I("geometry is required.");if(f(t.indices)&&t.primitiveType!==D.TRIANGLES&&t.primitiveType!==D.LINES&&t.primitiveType!==D.POINTS)throw new I("geometry.primitiveType must equal to PrimitiveType.TRIANGLES, PrimitiveType.LINES, or PrimitiveType.POINTS.");let e=[],n=B.computeNumberOfVertices(t);if(f(t.indices)&&n>=N.SIXTY_FOUR_KILOBYTES){let s=[],i=[],c=0,o=$t(t.attributes),a=t.indices,p=a.length,u;t.primitiveType===D.TRIANGLES?u=3:t.primitiveType===D.LINES?u=2:t.primitiveType===D.POINTS&&(u=1);for(let d=0;d<p;d+=u){for(let m=0;m<u;++m){let l=a[d+m],h=s[l];f(h)||(h=c++,s[l]=h,be(o,t.attributes,l)),i.push(h)}c+u>=N.SIXTY_FOUR_KILOBYTES&&(e.push(new B({attributes:o,indices:i,primitiveType:t.primitiveType,boundingSphere:t.boundingSphere,boundingSphereCV:t.boundingSphereCV})),s=[],i=[],c=0,o=$t(t.attributes))}i.length!==0&&e.push(new B({attributes:o,indices:i,primitiveType:t.primitiveType,boundingSphere:t.boundingSphere,boundingSphereCV:t.boundingSphereCV}))}else e.push(t);return e};var Jt=new r,we=new Mt;k.projectTo2D=function(t,e,n,s,i){if(!f(t))throw new I("geometry is required.");if(!f(e))throw new I("attributeName is required.");if(!f(n))throw new I("attributeName3D is required.");if(!f(s))throw new I("attributeName2D is required.");if(!f(t.attributes[e]))throw new I(`geometry must have attribute matching the attributeName argument: ${e}.`);if(t.attributes[e].componentDatatype!==F.DOUBLE)throw new I("The attribute componentDatatype must be ComponentDatatype.DOUBLE.");let c=t.attributes[e];i=f(i)?i:new _t;let o=i.ellipsoid,a=c.values,p=new Float64Array(a.length),u=0;for(let d=0;d<a.length;d+=3){let m=r.fromArray(a,d,Jt),l=o.cartesianToCartographic(m,we);if(!f(l))throw new I(`Could not project point (${m.x}, ${m.y}, ${m.z}) to 2D.`);let h=i.project(l,Jt);p[u++]=h.x,p[u++]=h.y,p[u++]=h.z}return t.attributes[n]=c,t.attributes[s]=new U({componentDatatype:F.DOUBLE,componentsPerAttribute:3,values:p}),delete t.attributes[e],t};var zt={high:0,low:0};k.encodeAttribute=function(t,e,n,s){if(!f(t))throw new I("geometry is required.");if(!f(e))throw new I("attributeName is required.");if(!f(n))throw new I("attributeHighName is required.");if(!f(s))throw new I("attributeLowName is required.");if(!f(t.attributes[e]))throw new I(`geometry must have attribute matching the attributeName argument: ${e}.`);if(t.attributes[e].componentDatatype!==F.DOUBLE)throw new I("The attribute componentDatatype must be ComponentDatatype.DOUBLE.");let i=t.attributes[e],c=i.values,o=c.length,a=new Float32Array(o),p=new Float32Array(o);for(let d=0;d<o;++d)jt.encode(c[d],zt),a[d]=zt.high,p[d]=zt.low;let u=i.componentsPerAttribute;return t.attributes[n]=new U({componentDatatype:F.FLOAT,componentsPerAttribute:u,values:a}),t.attributes[s]=new U({componentDatatype:F.FLOAT,componentsPerAttribute:u,values:p}),delete t.attributes[e],t};var $=new r;function Dt(t,e){if(f(e)){let n=e.values,s=n.length;for(let i=0;i<s;i+=3)r.unpack(n,i,$),H.multiplyByPoint(t,$,$),r.pack($,n,i)}}function qt(t,e){if(f(e)){let n=e.values,s=n.length;for(let i=0;i<s;i+=3)r.unpack(n,i,$),gt.multiplyByVector(t,$,$),$=r.normalize($,$),r.pack($,n,i)}}var wt=new H,vt=new gt;k.transformToWorldCoordinates=function(t){if(!f(t))throw new I("instance is required.");let e=t.modelMatrix;if(H.equals(e,H.IDENTITY))return t;let n=t.geometry.attributes;Dt(e,n.position),Dt(e,n.prevPosition),Dt(e,n.nextPosition),(f(n.normal)||f(n.tangent)||f(n.bitangent))&&(H.inverse(e,wt),H.transpose(wt,wt),H.getMatrix3(wt,vt),qt(vt,n.normal),qt(vt,n.tangent),qt(vt,n.bitangent));let s=t.geometry.boundingSphere;return f(s)&&(t.geometry.boundingSphere=ot.transform(s,e,s)),t.modelMatrix=H.clone(H.IDENTITY),t};function ve(t,e){let n=t.length,s={},i=t[0][e].attributes,c;for(c in i)if(i.hasOwnProperty(c)&&f(i[c])&&f(i[c].values)){let o=i[c],a=o.values.length,p=!0;for(let u=1;u<n;++u){let d=t[u][e].attributes[c];if(!f(d)||o.componentDatatype!==d.componentDatatype||o.componentsPerAttribute!==d.componentsPerAttribute||o.normalize!==d.normalize){p=!1;break}a+=d.values.length}p&&(s[c]=new U({componentDatatype:o.componentDatatype,componentsPerAttribute:o.componentsPerAttribute,normalize:o.normalize,values:F.createTypedArray(o.componentDatatype,a)}))}return s}var ye=new r;function Rt(t,e){let n=t.length,s,i,c,o,a=t[0].modelMatrix,p=f(t[0][e].indices),u=t[0][e].primitiveType;for(i=1;i<n;++i){if(!H.equals(t[i].modelMatrix,a))throw new I("All instances must have the same modelMatrix.");if(f(t[i][e].indices)!==p)throw new I("All instance geometries must have an indices or not have one.");if(t[i][e].primitiveType!==u)throw new I("All instance geometries must have the same primitiveType.")}let d=ve(t,e),m,l,h;for(s in d)if(d.hasOwnProperty(s))for(m=d[s].values,o=0,i=0;i<n;++i)for(l=t[i][e].attributes[s].values,h=l.length,c=0;c<h;++c)m[o++]=l[c];let y;if(p){let x=0;for(i=0;i<n;++i)x+=t[i][e].indices.length;let w=B.computeNumberOfVertices(new B({attributes:d,primitiveType:D.POINTS})),A=j.createTypedArray(w,x),E=0,P=0;for(i=0;i<n;++i){let O=t[i][e].indices,L=O.length;for(o=0;o<L;++o)A[E++]=P+O[o];P+=B.computeNumberOfVertices(t[i][e])}y=A}let v=new r,b=0,S;for(i=0;i<n;++i){if(S=t[i][e].boundingSphere,!f(S)){v=void 0;break}r.add(S.center,v,v)}if(f(v))for(r.divideByScalar(v,n,v),i=0;i<n;++i){S=t[i][e].boundingSphere;let x=r.magnitude(r.subtract(S.center,v,ye))+S.radius;x>b&&(b=x)}return new B({attributes:d,indices:y,primitiveType:u,boundingSphere:f(v)?new ot(v,b):void 0})}k.combineInstances=function(t){if(!f(t)||t.length<1)throw new I("instances is required and must have length greater than zero.");let e=[],n=[],s=t.length;for(let c=0;c<s;++c){let o=t[c];f(o.geometry)?e.push(o):f(o.westHemisphereGeometry)&&f(o.eastHemisphereGeometry)&&n.push(o)}let i=[];return e.length>0&&i.push(Rt(e,"geometry")),n.length>0&&(i.push(Rt(n,"westHemisphereGeometry")),i.push(Rt(n,"eastHemisphereGeometry"))),i};var Z=new r,mt=new r,rt=new r,ct=new r;k.computeNormal=function(t){if(!f(t))throw new I("geometry is required.");if(!f(t.attributes.position)||!f(t.attributes.position.values))throw new I("geometry.attributes.position.values is required.");if(!f(t.indices))throw new I("geometry.indices is required.");if(t.indices.length<2||t.indices.length%3!==0)throw new I("geometry.indices length must be greater than 0 and be a multiple of 3.");if(t.primitiveType!==D.TRIANGLES)throw new I("geometry.primitiveType must be PrimitiveType.TRIANGLES.");let e=t.indices,n=t.attributes,s=n.position.values,i=n.position.values.length/3,c=e.length,o=new Array(i),a=new Array(c/3),p=new Array(c),u;for(u=0;u<i;u++)o[u]={indexOffset:0,count:0,currentCount:0};let d=0;for(u=0;u<c;u+=3){let y=e[u],v=e[u+1],b=e[u+2],S=y*3,x=v*3,w=b*3;mt.x=s[S],mt.y=s[S+1],mt.z=s[S+2],rt.x=s[x],rt.y=s[x+1],rt.z=s[x+2],ct.x=s[w],ct.y=s[w+1],ct.z=s[w+2],o[y].count++,o[v].count++,o[b].count++,r.subtract(rt,mt,rt),r.subtract(ct,mt,ct),a[d]=r.cross(rt,ct,new r),d++}let m=0;for(u=0;u<i;u++)o[u].indexOffset+=m,m+=o[u].count;d=0;let l;for(u=0;u<c;u+=3){l=o[e[u]];let y=l.indexOffset+l.currentCount;p[y]=d,l.currentCount++,l=o[e[u+1]],y=l.indexOffset+l.currentCount,p[y]=d,l.currentCount++,l=o[e[u+2]],y=l.indexOffset+l.currentCount,p[y]=d,l.currentCount++,d++}let h=new Float32Array(i*3);for(u=0;u<i;u++){let y=u*3;if(l=o[u],r.clone(r.ZERO,Z),l.count>0){for(d=0;d<l.count;d++)r.add(Z,a[p[l.indexOffset+d]],Z);r.equalsEpsilon(r.ZERO,Z,N.EPSILON10)&&r.clone(a[p[l.indexOffset]],Z)}r.equalsEpsilon(r.ZERO,Z,N.EPSILON10)&&(Z.z=1),r.normalize(Z,Z),h[y]=Z.x,h[y+1]=Z.y,h[y+2]=Z.z}return t.attributes.normal=new U({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:h}),t};var xe=new r,Kt=new r,Te=new r;k.computeTangentAndBitangent=function(t){if(!f(t))throw new I("geometry is required.");let e=t.attributes,n=t.indices;if(!f(e.position)||!f(e.position.values))throw new I("geometry.attributes.position.values is required.");if(!f(e.normal)||!f(e.normal.values))throw new I("geometry.attributes.normal.values is required.");if(!f(e.st)||!f(e.st.values))throw new I("geometry.attributes.st.values is required.");if(!f(n))throw new I("geometry.indices is required.");if(n.length<2||n.length%3!==0)throw new I("geometry.indices length must be greater than 0 and be a multiple of 3.");if(t.primitiveType!==D.TRIANGLES)throw new I("geometry.primitiveType must be PrimitiveType.TRIANGLES.");let s=t.attributes.position.values,i=t.attributes.normal.values,c=t.attributes.st.values,o=t.attributes.position.values.length/3,a=n.length,p=new Array(o*3),u;for(u=0;u<p.length;u++)p[u]=0;let d,m,l;for(u=0;u<a;u+=3){let v=n[u],b=n[u+1],S=n[u+2];d=v*3,m=b*3,l=S*3;let x=v*2,w=b*2,A=S*2,E=s[d],P=s[d+1],O=s[d+2],L=c[x],g=c[x+1],T=c[w+1]-g,C=c[A+1]-g,z=1/((c[w]-L)*C-(c[A]-L)*T),q=(C*(s[m]-E)-T*(s[l]-E))*z,R=(C*(s[m+1]-P)-T*(s[l+1]-P))*z,G=(C*(s[m+2]-O)-T*(s[l+2]-O))*z;p[d]+=q,p[d+1]+=R,p[d+2]+=G,p[m]+=q,p[m+1]+=R,p[m+2]+=G,p[l]+=q,p[l+1]+=R,p[l+2]+=G}let h=new Float32Array(o*3),y=new Float32Array(o*3);for(u=0;u<o;u++){d=u*3,m=d+1,l=d+2;let v=r.fromArray(i,d,xe),b=r.fromArray(p,d,Te),S=r.dot(v,b);r.multiplyByScalar(v,S,Kt),r.normalize(r.subtract(b,Kt,b),b),h[d]=b.x,h[m]=b.y,h[l]=b.z,r.normalize(r.cross(v,b,b),b),y[d]=b.x,y[m]=b.y,y[l]=b.z}return t.attributes.tangent=new U({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:h}),t.attributes.bitangent=new U({componentDatatype:F.FLOAT,componentsPerAttribute:3,values:y}),t};var ht=new V,W=new r,Qt=new r,te=new r,yt=new V;k.compressVertices=function(t){if(!f(t))throw new I("geometry is required.");let e=t.attributes.extrudeDirection,n,s;if(f(e)){let P=e.values;s=P.length/3;let O=new Float32Array(s*2),L=0;for(n=0;n<s;++n){if(r.fromArray(P,n*3,W),r.equals(W,r.ZERO)){L+=2;continue}yt=tt.octEncodeInRange(W,65535,yt),O[L++]=yt.x,O[L++]=yt.y}return t.attributes.compressedAttributes=new U({componentDatatype:F.FLOAT,componentsPerAttribute:2,values:O}),delete t.attributes.extrudeDirection,t}let i=t.attributes.normal,c=t.attributes.st,o=f(i),a=f(c);if(!o&&!a)return t;let p=t.attributes.tangent,u=t.attributes.bitangent,d=f(p),m=f(u),l,h,y,v;o&&(l=i.values),a&&(h=c.values),d&&(y=p.values),m&&(v=u.values),s=(o?l.length:h.length)/(o?3:2);let x=s,w=a&&o?2:1;w+=d||m?1:0,x*=w;let A=new Float32Array(x),E=0;for(n=0;n<s;++n){a&&(V.fromArray(h,n*2,ht),A[E++]=tt.compressTextureCoordinates(ht));let P=n*3;o&&f(y)&&f(v)?(r.fromArray(l,P,W),r.fromArray(y,P,Qt),r.fromArray(v,P,te),tt.octPack(W,Qt,te,ht),A[E++]=ht.x,A[E++]=ht.y):(o&&(r.fromArray(l,P,W),A[E++]=tt.octEncodeFloat(W)),d&&(r.fromArray(y,P,W),A[E++]=tt.octEncodeFloat(W)),m&&(r.fromArray(v,P,W),A[E++]=tt.octEncodeFloat(W)))}return t.attributes.compressedAttributes=new U({componentDatatype:F.FLOAT,componentsPerAttribute:w,values:A}),o&&delete t.attributes.normal,a&&delete t.attributes.st,m&&delete t.attributes.bitangent,d&&delete t.attributes.tangent,t};function Ae(t){if(f(t.indices))return t;let e=B.computeNumberOfVertices(t);if(e<3)throw new I("The number of vertices must be at least three.");if(e%3!==0)throw new I("The number of vertices must be a multiple of three.");let n=j.createTypedArray(e,e);for(let s=0;s<e;++s)n[s]=s;return t.indices=n,t}function Ie(t){let e=B.computeNumberOfVertices(t);if(e<3)throw new I("The number of vertices must be at least three.");let n=j.createTypedArray(e,(e-2)*3);n[0]=1,n[1]=0,n[2]=2;let s=3;for(let i=3;i<e;++i)n[s++]=i-1,n[s++]=0,n[s++]=i;return t.indices=n,t.primitiveType=D.TRIANGLES,t}function Se(t){let e=B.computeNumberOfVertices(t);if(e<3)throw new I("The number of vertices must be at least 3.");let n=j.createTypedArray(e,(e-2)*3);n[0]=0,n[1]=1,n[2]=2,e>3&&(n[3]=0,n[4]=2,n[5]=3);let s=6;for(let i=3;i<e-1;i+=2)n[s++]=i,n[s++]=i-1,n[s++]=i+1,i+2<e&&(n[s++]=i,n[s++]=i+1,n[s++]=i+2);return t.indices=n,t.primitiveType=D.TRIANGLES,t}function Pe(t){if(f(t.indices))return t;let e=B.computeNumberOfVertices(t);if(e<2)throw new I("The number of vertices must be at least two.");if(e%2!==0)throw new I("The number of vertices must be a multiple of 2.");let n=j.createTypedArray(e,e);for(let s=0;s<e;++s)n[s]=s;return t.indices=n,t}function ge(t){let e=B.computeNumberOfVertices(t);if(e<2)throw new I("The number of vertices must be at least two.");let n=j.createTypedArray(e,(e-1)*2);n[0]=0,n[1]=1;let s=2;for(let i=2;i<e;++i)n[s++]=i-1,n[s++]=i;return t.indices=n,t.primitiveType=D.LINES,t}function Oe(t){let e=B.computeNumberOfVertices(t);if(e<2)throw new I("The number of vertices must be at least two.");let n=j.createTypedArray(e,e*2);n[0]=0,n[1]=1;let s=2;for(let i=2;i<e;++i)n[s++]=i-1,n[s++]=i;return n[s++]=e-1,n[s]=0,t.indices=n,t.primitiveType=D.LINES,t}function Le(t){switch(t.primitiveType){case D.TRIANGLE_FAN:return Ie(t);case D.TRIANGLE_STRIP:return Se(t);case D.TRIANGLES:return Ae(t);case D.LINE_STRIP:return ge(t);case D.LINE_LOOP:return Oe(t);case D.LINES:return Pe(t)}return t}function Q(t,e){Math.abs(t.y)<N.EPSILON6&&(e?t.y=-N.EPSILON6:t.y=N.EPSILON6)}function Ee(t,e,n){if(t.y!==0&&e.y!==0&&n.y!==0){Q(t,t.y<0),Q(e,e.y<0),Q(n,n.y<0);return}let s=Math.abs(t.y),i=Math.abs(e.y),c=Math.abs(n.y),o;s>i?s>c?o=N.sign(t.y):o=N.sign(n.y):i>c?o=N.sign(e.y):o=N.sign(n.y);let a=o<0;Q(t,a),Q(e,a),Q(n,a)}var ee=new r;function X(t,e,n,s){r.add(t,r.multiplyByScalar(r.subtract(e,t,ee),t.y/(t.y-e.y),ee),n),r.clone(n,s),Q(n,!0),Q(s,!1)}var et=new r,nt=new r,it=new r,st=new r,Vt={positions:new Array(7),indices:new Array(9)};function Ne(t,e,n){if(t.x>=0||e.x>=0||n.x>=0)return;Ee(t,e,n);let s=t.y<0,i=e.y<0,c=n.y<0,o=0;o+=s?1:0,o+=i?1:0,o+=c?1:0;let a=Vt.indices;o===1?(a[1]=3,a[2]=4,a[5]=6,a[7]=6,a[8]=5,s?(X(t,e,et,it),X(t,n,nt,st),a[0]=0,a[3]=1,a[4]=2,a[6]=1):i?(X(e,n,et,it),X(e,t,nt,st),a[0]=1,a[3]=2,a[4]=0,a[6]=2):c&&(X(n,t,et,it),X(n,e,nt,st),a[0]=2,a[3]=0,a[4]=1,a[6]=0)):o===2&&(a[2]=4,a[4]=4,a[5]=3,a[7]=5,a[8]=6,s?i?c||(X(n,t,et,it),X(n,e,nt,st),a[0]=0,a[1]=1,a[3]=0,a[6]=2):(X(e,n,et,it),X(e,t,nt,st),a[0]=2,a[1]=0,a[3]=2,a[6]=1):(X(t,e,et,it),X(t,n,nt,st),a[0]=1,a[1]=2,a[3]=1,a[6]=0));let p=Vt.positions;return p[0]=t,p[1]=e,p[2]=n,p.length=3,(o===1||o===2)&&(p[3]=et,p[4]=nt,p[5]=it,p[6]=st,p.length=7),Vt}function ne(t,e){let n=t.attributes;if(n.position.values.length===0)return;for(let i in n)if(n.hasOwnProperty(i)&&f(n[i])&&f(n[i].values)){let c=n[i];c.values=F.createTypedArray(c.componentDatatype,c.values)}let s=B.computeNumberOfVertices(t);return t.indices=j.createTypedArray(s,t.indices),e&&(t.boundingSphere=ot.fromVertices(n.position.values)),t}function ut(t){let e=t.attributes,n={};for(let s in e)if(e.hasOwnProperty(s)&&f(e[s])&&f(e[s].values)){let i=e[s];n[s]=new U({componentDatatype:i.componentDatatype,componentsPerAttribute:i.componentsPerAttribute,normalize:i.normalize,values:[]})}return new B({attributes:n,indices:[],primitiveType:t.primitiveType})}function Ft(t,e,n){let s=f(t.geometry.boundingSphere);e=ne(e,s),n=ne(n,s),f(n)&&!f(e)?t.geometry=n:!f(n)&&f(e)?t.geometry=e:(t.westHemisphereGeometry=e,t.eastHemisphereGeometry=n,t.geometry=void 0)}function kt(t,e){let n=new t,s=new t,i=new t;return function(c,o,a,p,u,d,m,l){let h=t.fromArray(u,c*e,n),y=t.fromArray(u,o*e,s),v=t.fromArray(u,a*e,i);t.multiplyByScalar(h,p.x,h),t.multiplyByScalar(y,p.y,y),t.multiplyByScalar(v,p.z,v);let b=t.add(h,y,h);t.add(b,v,b),l&&t.normalize(b,b),t.pack(b,d,m*e)}}var ze=kt(pt,4),At=kt(r,3),ae=kt(V,2),De=function(t,e,n,s,i,c,o){let a=i[t]*s.x,p=i[e]*s.y,u=i[n]*s.z;c[o]=a+p+u>N.EPSILON6?1:0},bt=new r,Gt=new r,Ct=new r,qe=new r;function xt(t,e,n,s,i,c,o,a,p,u,d,m,l,h,y,v){if(!f(c)&&!f(o)&&!f(a)&&!f(p)&&!f(u)&&h===0)return;let b=r.fromArray(i,t*3,bt),S=r.fromArray(i,e*3,Gt),x=r.fromArray(i,n*3,Ct),w=Ht(s,b,S,x,qe);if(f(w)){if(f(c)&&At(t,e,n,w,c,m.normal.values,v,!0),f(u)){let A=r.fromArray(u,t*3,bt),E=r.fromArray(u,e*3,Gt),P=r.fromArray(u,n*3,Ct);r.multiplyByScalar(A,w.x,A),r.multiplyByScalar(E,w.y,E),r.multiplyByScalar(P,w.z,P);let O;!r.equals(A,r.ZERO)||!r.equals(E,r.ZERO)||!r.equals(P,r.ZERO)?(O=r.add(A,E,A),r.add(O,P,O),r.normalize(O,O)):(O=bt,O.x=0,O.y=0,O.z=0),r.pack(O,m.extrudeDirection.values,v*3)}if(f(d)&&De(t,e,n,w,d,m.applyOffset.values,v),f(o)&&At(t,e,n,w,o,m.tangent.values,v,!0),f(a)&&At(t,e,n,w,a,m.bitangent.values,v,!0),f(p)&&ae(t,e,n,w,p,m.st.values,v),h>0)for(let A=0;A<h;A++){let E=l[A];Re(t,e,n,w,v,y[E],m[E])}}}function Re(t,e,n,s,i,c,o){let a=c.componentsPerAttribute,p=c.values,u=o.values;switch(a){case 4:ze(t,e,n,s,p,u,i,!1);break;case 3:At(t,e,n,s,p,u,i,!1);break;case 2:ae(t,e,n,s,p,u,i,!1);break;default:u[i]=p[t]*s.x+p[e]*s.y+p[n]*s.z}}function K(t,e,n,s,i,c){let o=t.position.values.length/3;if(i!==-1){let a=s[i],p=n[a];return p===-1?(n[a]=o,t.position.values.push(c.x,c.y,c.z),e.push(o),o):(e.push(p),p)}return t.position.values.push(c.x,c.y,c.z),e.push(o),o}var Ve={position:!0,normal:!0,bitangent:!0,tangent:!0,st:!0,extrudeDirection:!0,applyOffset:!0};function ie(t){let e=t.geometry,n=e.attributes,s=n.position.values,i=f(n.normal)?n.normal.values:void 0,c=f(n.bitangent)?n.bitangent.values:void 0,o=f(n.tangent)?n.tangent.values:void 0,a=f(n.st)?n.st.values:void 0,p=f(n.extrudeDirection)?n.extrudeDirection.values:void 0,u=f(n.applyOffset)?n.applyOffset.values:void 0,d=e.indices,m=[];for(let O in n)n.hasOwnProperty(O)&&!Ve[O]&&f(n[O])&&m.push(O);let l=m.length,h=ut(e),y=ut(e),v,b,S,x,w,A=[];A.length=s.length/3;let E=[];for(E.length=s.length/3,w=0;w<A.length;++w)A[w]=-1,E[w]=-1;let P=d.length;for(w=0;w<P;w+=3){let O=d[w],L=d[w+1],g=d[w+2],T=r.fromArray(s,O*3),C=r.fromArray(s,L*3),z=r.fromArray(s,g*3),q=Ne(T,C,z);if(f(q)&&q.positions.length>3){let R=q.positions,G=q.indices,M=G.length;for(let J=0;J<M;++J){let Y=G[J],_=R[Y];_.y<0?(v=y.attributes,b=y.indices,S=A):(v=h.attributes,b=h.indices,S=E),x=K(v,b,S,d,Y<3?w+Y:-1,_),xt(O,L,g,_,s,i,o,c,a,p,u,v,m,l,n,x)}}else f(q)&&(T=q.positions[0],C=q.positions[1],z=q.positions[2]),T.y<0?(v=y.attributes,b=y.indices,S=A):(v=h.attributes,b=h.indices,S=E),x=K(v,b,S,d,w,T),xt(O,L,g,T,s,i,o,c,a,p,u,v,m,l,n,x),x=K(v,b,S,d,w+1,C),xt(O,L,g,C,s,i,o,c,a,p,u,v,m,l,n,x),x=K(v,b,S,d,w+2,z),xt(O,L,g,z,s,i,o,c,a,p,u,v,m,l,n,x)}Ft(t,y,h)}var ue=Et.fromPointNormal(r.ZERO,r.UNIT_Y),Ge=new r,Ce=new r;function at(t,e,n,s,i,c,o){if(!f(o))return;let a=r.fromArray(s,t*3,bt);r.equalsEpsilon(a,n,N.EPSILON10)?c.applyOffset.values[i]=o[t]:c.applyOffset.values[i]=o[e]}function se(t){let e=t.geometry,n=e.attributes,s=n.position.values,i=f(n.applyOffset)?n.applyOffset.values:void 0,c=e.indices,o=ut(e),a=ut(e),p,u=c.length,d=[];d.length=s.length/3;let m=[];for(m.length=s.length/3,p=0;p<d.length;++p)d[p]=-1,m[p]=-1;for(p=0;p<u;p+=2){let l=c[p],h=c[p+1],y=r.fromArray(s,l*3,bt),v=r.fromArray(s,h*3,Gt),b;Math.abs(y.y)<N.EPSILON6&&(y.y<0?y.y=-N.EPSILON6:y.y=N.EPSILON6),Math.abs(v.y)<N.EPSILON6&&(v.y<0?v.y=-N.EPSILON6:v.y=N.EPSILON6);let S=o.attributes,x=o.indices,w=m,A=a.attributes,E=a.indices,P=d,O=Lt.lineSegmentPlane(y,v,ue,Ct);if(f(O)){let L=r.multiplyByScalar(r.UNIT_Y,5*N.EPSILON9,Ge);y.y<0&&(r.negate(L,L),S=a.attributes,x=a.indices,w=d,A=o.attributes,E=o.indices,P=m);let g=r.add(O,L,Ce);b=K(S,x,w,c,p,y),at(l,h,y,s,b,S,i),b=K(S,x,w,c,-1,g),at(l,h,g,s,b,S,i),r.negate(L,L),r.add(O,L,g),b=K(A,E,P,c,-1,g),at(l,h,g,s,b,A,i),b=K(A,E,P,c,p+1,v),at(l,h,v,s,b,A,i)}else{let L,g,T;y.y<0?(L=a.attributes,g=a.indices,T=d):(L=o.attributes,g=o.indices,T=m),b=K(L,g,T,c,p,y),at(l,h,y,s,b,L,i),b=K(L,g,T,c,p+1,v),at(l,h,v,s,b,L,i)}}Ft(t,a,o)}var oe=new V,Be=new V,le=new r,fe=new r,Bt=new r,Fe=new r,ke=new r,Me=new r,re=new pt;function ce(t){let e=t.attributes,n=e.position.values,s=e.prevPosition.values,i=e.nextPosition.values,c=n.length;for(let o=0;o<c;o+=3){let a=r.unpack(n,o,le);if(a.x>0)continue;let p=r.unpack(s,o,fe);(a.y<0&&p.y>0||a.y>0&&p.y<0)&&(o-3>0?(s[o]=n[o-3],s[o+1]=n[o-2],s[o+2]=n[o-1]):r.pack(a,s,o));let u=r.unpack(i,o,Bt);(a.y<0&&u.y>0||a.y>0&&u.y<0)&&(o+3<c?(i[o]=n[o+3],i[o+1]=n[o+4],i[o+2]=n[o+5]):r.pack(a,i,o))}}var _e=5*N.EPSILON9,Tt=N.EPSILON6;function Ue(t){let e=t.geometry,n=e.attributes,s=n.position.values,i=n.prevPosition.values,c=n.nextPosition.values,o=n.expandAndWidth.values,a=f(n.st)?n.st.values:void 0,p=f(n.color)?n.color.values:void 0,u=ut(e),d=ut(e),m,l,h,y=!1,v=s.length/3;for(m=0;m<v;m+=4){let b=m,S=m+2,x=r.fromArray(s,b*3,le),w=r.fromArray(s,S*3,fe);if(Math.abs(x.y)<Tt)for(x.y=Tt*(w.y<0?-1:1),s[m*3+1]=x.y,s[(m+1)*3+1]=x.y,l=b*3;l<b*3+12;l+=3)i[l]=s[m*3],i[l+1]=s[m*3+1],i[l+2]=s[m*3+2];if(Math.abs(w.y)<Tt)for(w.y=Tt*(x.y<0?-1:1),s[(m+2)*3+1]=w.y,s[(m+3)*3+1]=w.y,l=b*3;l<b*3+12;l+=3)c[l]=s[(m+2)*3],c[l+1]=s[(m+2)*3+1],c[l+2]=s[(m+2)*3+2];let A=u.attributes,E=u.indices,P=d.attributes,O=d.indices,L=Lt.lineSegmentPlane(x,w,ue,Fe);if(f(L)){y=!0;let g=r.multiplyByScalar(r.UNIT_Y,_e,ke);x.y<0&&(r.negate(g,g),A=d.attributes,E=d.indices,P=u.attributes,O=u.indices);let T=r.add(L,g,Me);A.position.values.push(x.x,x.y,x.z,x.x,x.y,x.z),A.position.values.push(T.x,T.y,T.z),A.position.values.push(T.x,T.y,T.z),A.prevPosition.values.push(i[b*3],i[b*3+1],i[b*3+2]),A.prevPosition.values.push(i[b*3+3],i[b*3+4],i[b*3+5]),A.prevPosition.values.push(x.x,x.y,x.z,x.x,x.y,x.z),A.nextPosition.values.push(T.x,T.y,T.z),A.nextPosition.values.push(T.x,T.y,T.z),A.nextPosition.values.push(T.x,T.y,T.z),A.nextPosition.values.push(T.x,T.y,T.z),r.negate(g,g),r.add(L,g,T),P.position.values.push(T.x,T.y,T.z),P.position.values.push(T.x,T.y,T.z),P.position.values.push(w.x,w.y,w.z,w.x,w.y,w.z),P.prevPosition.values.push(T.x,T.y,T.z),P.prevPosition.values.push(T.x,T.y,T.z),P.prevPosition.values.push(T.x,T.y,T.z),P.prevPosition.values.push(T.x,T.y,T.z),P.nextPosition.values.push(w.x,w.y,w.z,w.x,w.y,w.z),P.nextPosition.values.push(c[S*3],c[S*3+1],c[S*3+2]),P.nextPosition.values.push(c[S*3+3],c[S*3+4],c[S*3+5]);let C=V.fromArray(o,b*2,oe),z=Math.abs(C.y);A.expandAndWidth.values.push(-1,z,1,z),A.expandAndWidth.values.push(-1,-z,1,-z),P.expandAndWidth.values.push(-1,z,1,z),P.expandAndWidth.values.push(-1,-z,1,-z);let q=r.magnitudeSquared(r.subtract(L,x,Bt));if(q/=r.magnitudeSquared(r.subtract(w,x,Bt)),f(p)){let R=pt.fromArray(p,b*4,re),G=pt.fromArray(p,S*4,re),M=N.lerp(R.x,G.x,q),J=N.lerp(R.y,G.y,q),Y=N.lerp(R.z,G.z,q),_=N.lerp(R.w,G.w,q);for(l=b*4;l<b*4+8;++l)A.color.values.push(p[l]);for(A.color.values.push(M,J,Y,_),A.color.values.push(M,J,Y,_),P.color.values.push(M,J,Y,_),P.color.values.push(M,J,Y,_),l=S*4;l<S*4+8;++l)P.color.values.push(p[l])}if(f(a)){let R=V.fromArray(a,b*2,oe),G=V.fromArray(a,(m+3)*2,Be),M=N.lerp(R.x,G.x,q);for(l=b*2;l<b*2+4;++l)A.st.values.push(a[l]);for(A.st.values.push(M,R.y),A.st.values.push(M,G.y),P.st.values.push(M,R.y),P.st.values.push(M,G.y),l=S*2;l<S*2+4;++l)P.st.values.push(a[l])}h=A.position.values.length/3-4,E.push(h,h+2,h+1),E.push(h+1,h+2,h+3),h=P.position.values.length/3-4,O.push(h,h+2,h+1),O.push(h+1,h+2,h+3)}else{let g,T;for(x.y<0?(g=d.attributes,T=d.indices):(g=u.attributes,T=u.indices),g.position.values.push(x.x,x.y,x.z),g.position.values.push(x.x,x.y,x.z),g.position.values.push(w.x,w.y,w.z),g.position.values.push(w.x,w.y,w.z),l=m*3;l<m*3+12;++l)g.prevPosition.values.push(i[l]),g.nextPosition.values.push(c[l]);for(l=m*2;l<m*2+8;++l)g.expandAndWidth.values.push(o[l]),f(a)&&g.st.values.push(a[l]);if(f(p))for(l=m*4;l<m*4+16;++l)g.color.values.push(p[l]);h=g.position.values.length/3-4,T.push(h,h+2,h+1),T.push(h+1,h+2,h+3)}}y&&(ce(d),ce(u)),Ft(t,d,u)}k.splitLongitude=function(t){if(!f(t))throw new I("instance is required.");let e=t.geometry,n=e.boundingSphere;if(f(n)&&(n.center.x-n.radius>0||ot.intersectPlane(n,Et.ORIGIN_ZX_PLANE)!==Ut.INTERSECTING))return t;if(e.geometryType!==dt.NONE)switch(e.geometryType){case dt.POLYLINES:Ue(t);break;case dt.TRIANGLES:ie(t);break;case dt.LINES:se(t);break}else Le(e),e.primitiveType===D.TRIANGLES?ie(t):e.primitiveType===D.LINES&&se(t);return t};var Pn=k;export{Pn as a};
@@ -1,26 +0,0 @@
1
- /**
2
- * @license
3
- * Cesium - https://github.com/CesiumGS/cesium
4
- * Version 1.140.0
5
- *
6
- * Copyright 2011-2022 Cesium Contributors
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- *
20
- * Columbus View (Pat. Pend.)
21
- *
22
- * Portions licensed separately.
23
- * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
24
- */
25
-
26
- import{a as _}from"./chunk-CUUSNIVQ.js";import{j as U}from"./chunk-BXMEEOCS.js";import{b as Z}from"./chunk-23ZQ2IVV.js";import{a as v,c as N}from"./chunk-FFBVWF2L.js";import{a as n,b as A}from"./chunk-QKUIYMGC.js";import{a as on}from"./chunk-WBOV35NL.js";import{a as en,b as h}from"./chunk-TNSUQXWK.js";import{e as x}from"./chunk-ILRYTWTP.js";function W(e){this._ellipsoid=e??N.default,this._semimajorAxis=this._ellipsoid.maximumRadius,this._oneOverSemimajorAxis=1/this._semimajorAxis}Object.defineProperties(W.prototype,{ellipsoid:{get:function(){return this._ellipsoid}}});W.prototype.project=function(e,t){let o=this._semimajorAxis,c=e.longitude*o,r=e.latitude*o,d=e.height;return x(t)?(t.x=c,t.y=r,t.z=d,t):new n(c,r,d)};W.prototype.unproject=function(e,t){if(!x(e))throw new en("cartesian is required");let o=this._oneOverSemimajorAxis,c=e.x*o,r=e.y*o,d=e.z;return x(t)?(t.longitude=c,t.latitude=r,t.height=d,t):new v(c,r,d)};var V=W;function sn(e,t){this.start=e??0,this.stop=t??0}var cn=sn;function a(e,t){this.center=n.clone(e??n.ZERO),this.radius=t??0}var F=new n,Y=new n,I=new n,J=new n,K=new n,Q=new n,$=new n,b=new n,L=new n,H=new n,nn=new n,tn=new n,mn=4/3*on.PI;a.fromPoints=function(e,t){if(x(t)||(t=new a),!x(e)||e.length===0)return t.center=n.clone(n.ZERO,t.center),t.radius=0,t;let o=n.clone(e[0],$),c=n.clone(o,F),r=n.clone(o,Y),d=n.clone(o,I),f=n.clone(o,J),s=n.clone(o,K),m=n.clone(o,Q),z=e.length,y;for(y=1;y<z;y++){n.clone(e[y],o);let R=o.x,M=o.y,w=o.z;R<c.x&&n.clone(o,c),R>f.x&&n.clone(o,f),M<r.y&&n.clone(o,r),M>s.y&&n.clone(o,s),w<d.z&&n.clone(o,d),w>m.z&&n.clone(o,m)}let u=n.magnitudeSquared(n.subtract(f,c,b)),i=n.magnitudeSquared(n.subtract(s,r,b)),E=n.magnitudeSquared(n.subtract(m,d,b)),C=c,q=f,O=u;i>O&&(O=i,C=r,q=s),E>O&&(O=E,C=d,q=m);let p=L;p.x=(C.x+q.x)*.5,p.y=(C.y+q.y)*.5,p.z=(C.z+q.z)*.5;let S=n.magnitudeSquared(n.subtract(q,p,b)),l=Math.sqrt(S),j=H;j.x=c.x,j.y=r.y,j.z=d.z;let P=nn;P.x=f.x,P.y=s.y,P.z=m.z;let B=n.midpoint(j,P,tn),D=0;for(y=0;y<z;y++){n.clone(e[y],o);let R=n.magnitude(n.subtract(o,B,b));R>D&&(D=R);let M=n.magnitudeSquared(n.subtract(o,p,b));if(M>S){let w=Math.sqrt(M);l=(l+w)*.5,S=l*l;let g=w-l;p.x=(l*p.x+g*o.x)/w,p.y=(l*p.y+g*o.y)/w,p.z=(l*p.z+g*o.z)/w}}return l<D?(n.clone(p,t.center),t.radius=l):(n.clone(B,t.center),t.radius=D),t};var rn=new V,un=new n,xn=new n,G=new v,X=new v;a.fromRectangle2D=function(e,t,o){return a.fromRectangleWithHeights2D(e,t,0,0,o)};a.fromRectangleWithHeights2D=function(e,t,o,c,r){if(x(r)||(r=new a),!x(e))return r.center=n.clone(n.ZERO,r.center),r.radius=0,r;rn._ellipsoid=N.default,t=t??rn,U.southwest(e,G),G.height=o,U.northeast(e,X),X.height=c;let d=t.project(G,un),f=t.project(X,xn),s=f.x-d.x,m=f.y-d.y,z=f.z-d.z;r.radius=Math.sqrt(s*s+m*m+z*z)*.5;let y=r.center;return y.x=d.x+s*.5,y.y=d.y+m*.5,y.z=d.z+z*.5,r};var yn=[];a.fromRectangle3D=function(e,t,o,c){if(t=t??N.default,o=o??0,x(c)||(c=new a),!x(e))return c.center=n.clone(n.ZERO,c.center),c.radius=0,c;let r=U.subsample(e,t,o,yn);return a.fromPoints(r,c)};a.fromVertices=function(e,t,o,c){if(x(c)||(c=new a),!x(e)||e.length===0)return c.center=n.clone(n.ZERO,c.center),c.radius=0,c;t=t??n.ZERO,o=o??3,h.typeOf.number.greaterThanOrEquals("stride",o,3);let r=$;r.x=e[0]+t.x,r.y=e[1]+t.y,r.z=e[2]+t.z;let d=n.clone(r,F),f=n.clone(r,Y),s=n.clone(r,I),m=n.clone(r,J),z=n.clone(r,K),y=n.clone(r,Q),u=e.length,i;for(i=0;i<u;i+=o){let w=e[i]+t.x,g=e[i+1]+t.y,T=e[i+2]+t.z;r.x=w,r.y=g,r.z=T,w<d.x&&n.clone(r,d),w>m.x&&n.clone(r,m),g<f.y&&n.clone(r,f),g>z.y&&n.clone(r,z),T<s.z&&n.clone(r,s),T>y.z&&n.clone(r,y)}let E=n.magnitudeSquared(n.subtract(m,d,b)),C=n.magnitudeSquared(n.subtract(z,f,b)),q=n.magnitudeSquared(n.subtract(y,s,b)),O=d,p=m,S=E;C>S&&(S=C,O=f,p=z),q>S&&(S=q,O=s,p=y);let l=L;l.x=(O.x+p.x)*.5,l.y=(O.y+p.y)*.5,l.z=(O.z+p.z)*.5;let j=n.magnitudeSquared(n.subtract(p,l,b)),P=Math.sqrt(j),B=H;B.x=d.x,B.y=f.y,B.z=s.z;let D=nn;D.x=m.x,D.y=z.y,D.z=y.z;let R=n.midpoint(B,D,tn),M=0;for(i=0;i<u;i+=o){r.x=e[i]+t.x,r.y=e[i+1]+t.y,r.z=e[i+2]+t.z;let w=n.magnitude(n.subtract(r,R,b));w>M&&(M=w);let g=n.magnitudeSquared(n.subtract(r,l,b));if(g>j){let T=Math.sqrt(g);P=(P+T)*.5,j=P*P;let k=T-P;l.x=(P*l.x+k*r.x)/T,l.y=(P*l.y+k*r.y)/T,l.z=(P*l.z+k*r.z)/T}}return P<M?(n.clone(l,c.center),c.radius=P):(n.clone(R,c.center),c.radius=M),c};a.fromEncodedCartesianVertices=function(e,t,o){if(x(o)||(o=new a),!x(e)||!x(t)||e.length!==t.length||e.length===0)return o.center=n.clone(n.ZERO,o.center),o.radius=0,o;let c=$;c.x=e[0]+t[0],c.y=e[1]+t[1],c.z=e[2]+t[2];let r=n.clone(c,F),d=n.clone(c,Y),f=n.clone(c,I),s=n.clone(c,J),m=n.clone(c,K),z=n.clone(c,Q),y=e.length,u;for(u=0;u<y;u+=3){let M=e[u]+t[u],w=e[u+1]+t[u+1],g=e[u+2]+t[u+2];c.x=M,c.y=w,c.z=g,M<r.x&&n.clone(c,r),M>s.x&&n.clone(c,s),w<d.y&&n.clone(c,d),w>m.y&&n.clone(c,m),g<f.z&&n.clone(c,f),g>z.z&&n.clone(c,z)}let i=n.magnitudeSquared(n.subtract(s,r,b)),E=n.magnitudeSquared(n.subtract(m,d,b)),C=n.magnitudeSquared(n.subtract(z,f,b)),q=r,O=s,p=i;E>p&&(p=E,q=d,O=m),C>p&&(p=C,q=f,O=z);let S=L;S.x=(q.x+O.x)*.5,S.y=(q.y+O.y)*.5,S.z=(q.z+O.z)*.5;let l=n.magnitudeSquared(n.subtract(O,S,b)),j=Math.sqrt(l),P=H;P.x=r.x,P.y=d.y,P.z=f.z;let B=nn;B.x=s.x,B.y=m.y,B.z=z.z;let D=n.midpoint(P,B,tn),R=0;for(u=0;u<y;u+=3){c.x=e[u]+t[u],c.y=e[u+1]+t[u+1],c.z=e[u+2]+t[u+2];let M=n.magnitude(n.subtract(c,D,b));M>R&&(R=M);let w=n.magnitudeSquared(n.subtract(c,S,b));if(w>l){let g=Math.sqrt(w);j=(j+g)*.5,l=j*j;let T=g-j;S.x=(j*S.x+T*c.x)/g,S.y=(j*S.y+T*c.y)/g,S.z=(j*S.z+T*c.z)/g}}return j<R?(n.clone(S,o.center),o.radius=j):(n.clone(D,o.center),o.radius=R),o};a.fromCornerPoints=function(e,t,o){h.typeOf.object("corner",e),h.typeOf.object("oppositeCorner",t),x(o)||(o=new a);let c=n.midpoint(e,t,o.center);return o.radius=n.distance(c,t),o};a.fromEllipsoid=function(e,t){return h.typeOf.object("ellipsoid",e),x(t)||(t=new a),n.clone(n.ZERO,t.center),t.radius=e.maximumRadius,t};var ln=new n;a.fromBoundingSpheres=function(e,t){if(x(t)||(t=new a),!x(e)||e.length===0)return t.center=n.clone(n.ZERO,t.center),t.radius=0,t;let o=e.length;if(o===1)return a.clone(e[0],t);if(o===2)return a.union(e[0],e[1],t);let c=[],r;for(r=0;r<o;r++)c.push(e[r].center);t=a.fromPoints(c,t);let d=t.center,f=t.radius;for(r=0;r<o;r++){let s=e[r];f=Math.max(f,n.distance(d,s.center,ln)+s.radius)}return t.radius=f,t};var pn=new n,hn=new n,zn=new n;a.fromOrientedBoundingBox=function(e,t){h.defined("orientedBoundingBox",e),x(t)||(t=new a);let o=e.halfAxes,c=A.getColumn(o,0,pn),r=A.getColumn(o,1,hn),d=A.getColumn(o,2,zn);return n.add(c,r,c),n.add(c,d,c),t.center=n.clone(e.center,t.center),t.radius=n.magnitude(c),t};var Sn=new n,wn=new n;a.fromTransformation=function(e,t){h.typeOf.object("transformation",e),x(t)||(t=new a);let o=Z.getTranslation(e,Sn),c=Z.getScale(e,wn),r=.5*n.magnitude(c);return t.center=n.clone(o,t.center),t.radius=r,t};a.clone=function(e,t){if(x(e))return x(t)?(t.center=n.clone(e.center,t.center),t.radius=e.radius,t):new a(e.center,e.radius)};a.packedLength=4;a.pack=function(e,t,o){h.typeOf.object("value",e),h.defined("array",t),o=o??0;let c=e.center;return t[o++]=c.x,t[o++]=c.y,t[o++]=c.z,t[o]=e.radius,t};a.unpack=function(e,t,o){h.defined("array",e),t=t??0,x(o)||(o=new a);let c=o.center;return c.x=e[t++],c.y=e[t++],c.z=e[t++],o.radius=e[t],o};var Pn=new n,gn=new n;a.union=function(e,t,o){h.typeOf.object("left",e),h.typeOf.object("right",t),x(o)||(o=new a);let c=e.center,r=e.radius,d=t.center,f=t.radius,s=n.subtract(d,c,Pn),m=n.magnitude(s);if(r>=m+f)return e.clone(o),o;if(f>=m+r)return t.clone(o),o;let z=(r+m+f)*.5,y=n.multiplyByScalar(s,(-r+z)/m,gn);return n.add(y,c,y),n.clone(y,o.center),o.radius=z,o};var On=new n;a.expand=function(e,t,o){h.typeOf.object("sphere",e),h.typeOf.object("point",t),o=a.clone(e,o);let c=n.magnitude(n.subtract(t,o.center,On));return c>o.radius&&(o.radius=c),o};a.intersectPlane=function(e,t){h.typeOf.object("sphere",e),h.typeOf.object("plane",t);let o=e.center,c=e.radius,r=t.normal,d=n.dot(r,o)+t.distance;return d<-c?_.OUTSIDE:d<c?_.INTERSECTING:_.INSIDE};a.transform=function(e,t,o){return h.typeOf.object("sphere",e),h.typeOf.object("transform",t),x(o)||(o=new a),o.center=Z.multiplyByPoint(t,e.center,o.center),o.radius=Z.getMaximumScale(t)*e.radius,o};var jn=new n;a.distanceSquaredTo=function(e,t){h.typeOf.object("sphere",e),h.typeOf.object("cartesian",t);let o=n.subtract(e.center,t,jn),c=n.magnitude(o)-e.radius;return c<=0?0:c*c};a.transformWithoutScale=function(e,t,o){return h.typeOf.object("sphere",e),h.typeOf.object("transform",t),x(o)||(o=new a),o.center=Z.multiplyByPoint(t,e.center,o.center),o.radius=e.radius,o};var bn=new n;a.computePlaneDistances=function(e,t,o,c){h.typeOf.object("sphere",e),h.typeOf.object("position",t),h.typeOf.object("direction",o),x(c)||(c=new cn);let r=n.subtract(e.center,t,bn),d=n.dot(o,r);return c.start=d-e.radius,c.stop=d+e.radius,c};var an=new n,qn=new n,Mn=new n,Cn=new n,Rn=new n,Tn=new v,fn=new Array(8);for(let e=0;e<8;++e)fn[e]=new n;var dn=new V;a.projectTo2D=function(e,t,o){h.typeOf.object("sphere",e),dn._ellipsoid=N.default,t=t??dn;let c=t.ellipsoid,r=e.center,d=e.radius,f;n.equals(r,n.ZERO)?f=n.clone(n.UNIT_X,an):f=c.geodeticSurfaceNormal(r,an);let s=n.cross(n.UNIT_Z,f,qn);n.normalize(s,s);let m=n.cross(f,s,Mn);n.normalize(m,m),n.multiplyByScalar(f,d,f),n.multiplyByScalar(m,d,m),n.multiplyByScalar(s,d,s);let z=n.negate(m,Rn),y=n.negate(s,Cn),u=fn,i=u[0];n.add(f,m,i),n.add(i,s,i),i=u[1],n.add(f,m,i),n.add(i,y,i),i=u[2],n.add(f,z,i),n.add(i,y,i),i=u[3],n.add(f,z,i),n.add(i,s,i),n.negate(f,f),i=u[4],n.add(f,m,i),n.add(i,s,i),i=u[5],n.add(f,m,i),n.add(i,y,i),i=u[6],n.add(f,z,i),n.add(i,y,i),i=u[7],n.add(f,z,i),n.add(i,s,i);let E=u.length;for(let p=0;p<E;++p){let S=u[p];n.add(r,S,S);let l=c.cartesianToCartographic(S,Tn);t.project(l,S)}o=a.fromPoints(u,o),r=o.center;let C=r.x,q=r.y,O=r.z;return r.x=O,r.y=C,r.z=q,o};a.isOccluded=function(e,t){return h.typeOf.object("sphere",e),h.typeOf.object("occluder",t),!t.isBoundingSphereVisible(e)};a.equals=function(e,t){return e===t||x(e)&&x(t)&&n.equals(e.center,t.center)&&e.radius===t.radius};a.prototype.intersectPlane=function(e){return a.intersectPlane(this,e)};a.prototype.distanceSquaredTo=function(e){return a.distanceSquaredTo(this,e)};a.prototype.computePlaneDistances=function(e,t,o){return a.computePlaneDistances(this,e,t,o)};a.prototype.isOccluded=function(e){return a.isOccluded(this,e)};a.prototype.equals=function(e){return a.equals(this,e)};a.prototype.clone=function(e){return a.clone(this,e)};a.prototype.volume=function(){let e=this.radius;return mn*e*e*e};var Qn=a;export{V as a,cn as b,Qn as c};