popost 4.6.0 → 4.6.6

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 (1280) hide show
  1. package/LICENSE +59 -3
  2. package/README.md +25 -10
  3. package/SKILL.md +48 -131
  4. package/THIRD_PARTY_NOTICES +524 -0
  5. package/agents/openai.yaml +2 -2
  6. package/assets/canvas/assets/{dist-Ag5yM9-G.js → dist-BmD8AP0A.js} +1 -1
  7. package/assets/canvas/assets/{es-DzkTYs_E.js → es-CC29Cabv.js} +1 -1
  8. package/assets/canvas/assets/{index-DjfLTPyx.js → index-DhwyFpu2.js} +6 -6
  9. package/assets/canvas/assets/{jszip.min-Cw2BF2G0.js → jszip.min-Bwf_yCrF.js} +1 -1
  10. package/assets/canvas/build-info.json +5 -5
  11. package/assets/canvas/index.html +1 -1
  12. package/assets/video/examples/audio-bars.html +125 -0
  13. package/assets/video/examples/bouncing-ball.html +182 -0
  14. package/assets/video/examples/card-flip.html +92 -0
  15. package/assets/video/examples/catalogue.json +16221 -0
  16. package/assets/video/examples/counter-stat.html +155 -0
  17. package/assets/video/examples/folding-doors.html +94 -0
  18. package/assets/video/examples/glitch-title.html +120 -0
  19. package/assets/video/examples/goo-blobs.html +127 -0
  20. package/assets/video/examples/grid-reveal.html +151 -0
  21. package/assets/video/examples/hf/agent-cursor.html +781 -0
  22. package/assets/video/examples/hf/ai-answer-rank.html +767 -0
  23. package/assets/video/examples/hf/ai-chat-reveal.html +1260 -0
  24. package/assets/video/examples/hf/animated-bar-chart.html +312 -0
  25. package/assets/video/examples/hf/app-showcase.html +1115 -0
  26. package/assets/video/examples/hf/apple-money-count.html +453 -0
  27. package/assets/video/examples/hf/arc-motion-path.html +303 -0
  28. package/assets/video/examples/hf/ascii-render-pass.html +728 -0
  29. package/assets/video/examples/hf/ascii-trail-reveal.html +595 -0
  30. package/assets/video/examples/hf/aurora-drift.html +439 -0
  31. package/assets/video/examples/hf/aurora.html +258 -0
  32. package/assets/video/examples/hf/avatar-cloud.html +667 -0
  33. package/assets/video/examples/hf/avatar-group-hover.html +342 -0
  34. package/assets/video/examples/hf/badge-pop.html +400 -0
  35. package/assets/video/examples/hf/bar-chart-race.html +795 -0
  36. package/assets/video/examples/hf/beat-accent.html +507 -0
  37. package/assets/video/examples/hf/beat-freeze-cut.html +1050 -0
  38. package/assets/video/examples/hf/beat-pulse-background.html +422 -0
  39. package/assets/video/examples/hf/beat-timeline.html +488 -0
  40. package/assets/video/examples/hf/before-after-wipe.html +681 -0
  41. package/assets/video/examples/hf/blob.html +258 -0
  42. package/assets/video/examples/hf/blue-sweater-intro-video.html +1656 -0
  43. package/assets/video/examples/hf/blur-in.html +624 -0
  44. package/assets/video/examples/hf/blur-out-up.html +350 -0
  45. package/assets/video/examples/hf/bottom-up-letters.html +335 -0
  46. package/assets/video/examples/hf/browser-device-stage.html +847 -0
  47. package/assets/video/examples/hf/camcorder-hud.html +371 -0
  48. package/assets/video/examples/hf/camera-dolly-zoom.html +485 -0
  49. package/assets/video/examples/hf/camera-rig-depth-stack.html +246 -0
  50. package/assets/video/examples/hf/camera-scan-gate.html +708 -0
  51. package/assets/video/examples/hf/camera-shake.html +989 -0
  52. package/assets/video/examples/hf/canopy-part-title.html +2549 -0
  53. package/assets/video/examples/hf/caption-blend-difference.html +247 -0
  54. package/assets/video/examples/hf/caption-camera-follow.html +537 -0
  55. package/assets/video/examples/hf/caption-clip-wipe.html +363 -0
  56. package/assets/video/examples/hf/caption-editorial-emphasis.html +615 -0
  57. package/assets/video/examples/hf/caption-emoji-pop.html +623 -0
  58. package/assets/video/examples/hf/caption-glitch-rgb.html +475 -0
  59. package/assets/video/examples/hf/caption-gradient-fill.html +392 -0
  60. package/assets/video/examples/hf/caption-highlight.html +433 -0
  61. package/assets/video/examples/hf/caption-kinetic-slam.html +334 -0
  62. package/assets/video/examples/hf/caption-matrix-decode.html +399 -0
  63. package/assets/video/examples/hf/caption-neon-accent.html +684 -0
  64. package/assets/video/examples/hf/caption-neon-glow.html +373 -0
  65. package/assets/video/examples/hf/caption-parallax-layers.html +530 -0
  66. package/assets/video/examples/hf/caption-particle-burst.html +454 -0
  67. package/assets/video/examples/hf/caption-pill-karaoke.html +517 -0
  68. package/assets/video/examples/hf/caption-texture.html +368 -0
  69. package/assets/video/examples/hf/caption-weight-shift.html +566 -0
  70. package/assets/video/examples/hf/card-resize.html +435 -0
  71. package/assets/video/examples/hf/caret-swap.html +601 -0
  72. package/assets/video/examples/hf/carousel-circle-1.html +1175 -0
  73. package/assets/video/examples/hf/carousel-circle-2.html +1175 -0
  74. package/assets/video/examples/hf/carousel-circle-3.html +1175 -0
  75. package/assets/video/examples/hf/carousel-circle-4.html +1175 -0
  76. package/assets/video/examples/hf/carousel-circle-5.html +1175 -0
  77. package/assets/video/examples/hf/carousel-orbit-1.html +1198 -0
  78. package/assets/video/examples/hf/carousel-orbit-2.html +1198 -0
  79. package/assets/video/examples/hf/carousel-orbit-3.html +1198 -0
  80. package/assets/video/examples/hf/carousel-orbit-4.html +1214 -0
  81. package/assets/video/examples/hf/carousel-orbit-5.html +1198 -0
  82. package/assets/video/examples/hf/carousel-path-1.html +1219 -0
  83. package/assets/video/examples/hf/carousel-path-2.html +1176 -0
  84. package/assets/video/examples/hf/carousel-path-3.html +1190 -0
  85. package/assets/video/examples/hf/carousel-path-4.html +1219 -0
  86. package/assets/video/examples/hf/carousel-path-5.html +1218 -0
  87. package/assets/video/examples/hf/carousel-vision-1.html +1180 -0
  88. package/assets/video/examples/hf/carousel-vision-2.html +1180 -0
  89. package/assets/video/examples/hf/carousel-vision-3.html +1180 -0
  90. package/assets/video/examples/hf/carousel-vision-4.html +1187 -0
  91. package/assets/video/examples/hf/carousel-vision-5.html +1180 -0
  92. package/assets/video/examples/hf/char-slam-explode.html +546 -0
  93. package/assets/video/examples/hf/chart-story.html +973 -0
  94. package/assets/video/examples/hf/chat-message.html +635 -0
  95. package/assets/video/examples/hf/chat-thread.html +953 -0
  96. package/assets/video/examples/hf/chatgpt-exchange.html +1620 -0
  97. package/assets/video/examples/hf/chromatic-radial-split.html +613 -0
  98. package/assets/video/examples/hf/chrome-orb.html +258 -0
  99. package/assets/video/examples/hf/cinemagraph.html +422 -0
  100. package/assets/video/examples/hf/cinematic-zoom.html +613 -0
  101. package/assets/video/examples/hf/claude-exchange.html +1845 -0
  102. package/assets/video/examples/hf/code-3d-extrude.html +755 -0
  103. package/assets/video/examples/hf/code-diff.html +956 -0
  104. package/assets/video/examples/hf/code-highlight.html +885 -0
  105. package/assets/video/examples/hf/code-morph.html +1357 -0
  106. package/assets/video/examples/hf/code-particle-assemble.html +622 -0
  107. package/assets/video/examples/hf/code-scroll.html +1700 -0
  108. package/assets/video/examples/hf/code-shader-dissolve.html +677 -0
  109. package/assets/video/examples/hf/code-slice-hero.html +1276 -0
  110. package/assets/video/examples/hf/code-snippet-apple-terminal-pro.html +388 -0
  111. package/assets/video/examples/hf/code-snippet-dark-2026.html +1231 -0
  112. package/assets/video/examples/hf/code-snippet-dark-modern.html +1227 -0
  113. package/assets/video/examples/hf/code-terminal-run.html +766 -0
  114. package/assets/video/examples/hf/code-typing.html +903 -0
  115. package/assets/video/examples/hf/color-wheel.html +258 -0
  116. package/assets/video/examples/hf/colorama-wipe.html +503 -0
  117. package/assets/video/examples/hf/comparison-split.html +657 -0
  118. package/assets/video/examples/hf/confetti.html +349 -0
  119. package/assets/video/examples/hf/conic-progress-ring.html +441 -0
  120. package/assets/video/examples/hf/constellation-hub.html +662 -0
  121. package/assets/video/examples/hf/cosmic-orb.html +643 -0
  122. package/assets/video/examples/hf/count-up.html +552 -0
  123. package/assets/video/examples/hf/cross-warp-morph.html +624 -0
  124. package/assets/video/examples/hf/cta-close.html +492 -0
  125. package/assets/video/examples/hf/cta-lockup.html +470 -0
  126. package/assets/video/examples/hf/cuboid-carousel.html +2385 -0
  127. package/assets/video/examples/hf/cursor-annotate.html +827 -0
  128. package/assets/video/examples/hf/cursor-context-menu.html +757 -0
  129. package/assets/video/examples/hf/cursor-drag-drop.html +656 -0
  130. package/assets/video/examples/hf/cursor-glyph-trail.html +904 -0
  131. package/assets/video/examples/hf/cursor-marquee-select.html +1266 -0
  132. package/assets/video/examples/hf/cursor-text-select.html +638 -0
  133. package/assets/video/examples/hf/cursor-zoom-follow.html +973 -0
  134. package/assets/video/examples/hf/curtain-reveal.html +590 -0
  135. package/assets/video/examples/hf/cut-the-curve.html +715 -0
  136. package/assets/video/examples/hf/dart-cursor.html +863 -0
  137. package/assets/video/examples/hf/data-chart.html +666 -0
  138. package/assets/video/examples/hf/decision-tree.html +655 -0
  139. package/assets/video/examples/hf/decline-chart.html +485 -0
  140. package/assets/video/examples/hf/device-frame-stage.html +661 -0
  141. package/assets/video/examples/hf/domain-warp-dissolve.html +627 -0
  142. package/assets/video/examples/hf/drift-hold.html +392 -0
  143. package/assets/video/examples/hf/dynamic-grid.html +336 -0
  144. package/assets/video/examples/hf/echo-smear.html +994 -0
  145. package/assets/video/examples/hf/echo-trail.html +557 -0
  146. package/assets/video/examples/hf/editorial-flash-overlay.html +337 -0
  147. package/assets/video/examples/hf/exploded-stack.html +761 -0
  148. package/assets/video/examples/hf/extended-keyframe.html +715 -0
  149. package/assets/video/examples/hf/extruded-logo.html +757 -0
  150. package/assets/video/examples/hf/facet-morph.html +746 -0
  151. package/assets/video/examples/hf/fade-through.html +443 -0
  152. package/assets/video/examples/hf/falling-lines.html +259 -0
  153. package/assets/video/examples/hf/filmed-screen.html +1065 -0
  154. package/assets/video/examples/hf/flash-through-white.html +613 -0
  155. package/assets/video/examples/hf/flowchart-vertical.html +631 -0
  156. package/assets/video/examples/hf/flowchart.html +630 -0
  157. package/assets/video/examples/hf/flowing-gradient.html +258 -0
  158. package/assets/video/examples/hf/focus-blur-resolve.html +321 -0
  159. package/assets/video/examples/hf/focus-rack.html +542 -0
  160. package/assets/video/examples/hf/focus-swap.html +496 -0
  161. package/assets/video/examples/hf/fractal-noise.html +258 -0
  162. package/assets/video/examples/hf/freeze-frame-dressing.html +357 -0
  163. package/assets/video/examples/hf/frost.html +258 -0
  164. package/assets/video/examples/hf/gabor-noise.html +258 -0
  165. package/assets/video/examples/hf/gallery-tunnel.html +652 -0
  166. package/assets/video/examples/hf/gesture-tap.html +604 -0
  167. package/assets/video/examples/hf/glass-hero.html +505 -0
  168. package/assets/video/examples/hf/glass-shard-title.html +1618 -0
  169. package/assets/video/examples/hf/glitch.html +613 -0
  170. package/assets/video/examples/hf/gloss-sweep.html +418 -0
  171. package/assets/video/examples/hf/godrays.html +257 -0
  172. package/assets/video/examples/hf/goo.html +258 -0
  173. package/assets/video/examples/hf/gooey-split.html +1092 -0
  174. package/assets/video/examples/hf/grain-field.html +377 -0
  175. package/assets/video/examples/hf/grain-overlay.html +295 -0
  176. package/assets/video/examples/hf/gravitational-lens.html +612 -0
  177. package/assets/video/examples/hf/grid-card-assemble.html +671 -0
  178. package/assets/video/examples/hf/grid-pixelate-wipe.html +314 -0
  179. package/assets/video/examples/hf/halftone-dissolve.html +696 -0
  180. package/assets/video/examples/hf/halftone-field.html +598 -0
  181. package/assets/video/examples/hf/headline-slam.html +455 -0
  182. package/assets/video/examples/hf/heatmap.html +258 -0
  183. package/assets/video/examples/hf/heygen-avatar-promo-card.html +627 -0
  184. package/assets/video/examples/hf/hologram.html +258 -0
  185. package/assets/video/examples/hf/holographic.html +258 -0
  186. package/assets/video/examples/hf/hw-arrow.html +835 -0
  187. package/assets/video/examples/hf/hw-boil.html +632 -0
  188. package/assets/video/examples/hf/hw-box-label.html +741 -0
  189. package/assets/video/examples/hf/hw-callout-circle.html +820 -0
  190. package/assets/video/examples/hf/hw-frame.html +455 -0
  191. package/assets/video/examples/hf/hw-path-text.html +349 -0
  192. package/assets/video/examples/hf/hw-pipeline.html +472 -0
  193. package/assets/video/examples/hf/hw-scribble-transition.html +291 -0
  194. package/assets/video/examples/hf/hw-text-cloud.html +439 -0
  195. package/assets/video/examples/hf/hw-title.html +412 -0
  196. package/assets/video/examples/hf/hw-underline.html +403 -0
  197. package/assets/video/examples/hf/hw-write-title.html +1389 -0
  198. package/assets/video/examples/hf/icon-morph-beat.html +463 -0
  199. package/assets/video/examples/hf/icon-swap.html +380 -0
  200. package/assets/video/examples/hf/ink-bleed-reveal.html +659 -0
  201. package/assets/video/examples/hf/inline-highlight.html +322 -0
  202. package/assets/video/examples/hf/input-feedback.html +419 -0
  203. package/assets/video/examples/hf/instagram-follow.html +460 -0
  204. package/assets/video/examples/hf/ios26-liquid-glass.html +1597 -0
  205. package/assets/video/examples/hf/iris-reveal.html +684 -0
  206. package/assets/video/examples/hf/keyframe-scrub-stack.html +326 -0
  207. package/assets/video/examples/hf/kinetic-center-build.html +538 -0
  208. package/assets/video/examples/hf/kinetic-type-swap.html +610 -0
  209. package/assets/video/examples/hf/kinetic-type.html +862 -0
  210. package/assets/video/examples/hf/lens-flare.html +258 -0
  211. package/assets/video/examples/hf/light-edge.html +259 -0
  212. package/assets/video/examples/hf/light-leak.html +612 -0
  213. package/assets/video/examples/hf/light-sweep-pass.html +684 -0
  214. package/assets/video/examples/hf/line-by-line-slide.html +345 -0
  215. package/assets/video/examples/hf/line-swap.html +526 -0
  216. package/assets/video/examples/hf/liquid-glass-notification.html +1898 -0
  217. package/assets/video/examples/hf/liquid-glass-widgets.html +2175 -0
  218. package/assets/video/examples/hf/liquid-metal.html +259 -0
  219. package/assets/video/examples/hf/locked-nucleus-orbit.html +564 -0
  220. package/assets/video/examples/hf/logo-brand-close.html +598 -0
  221. package/assets/video/examples/hf/logo-outro.html +397 -0
  222. package/assets/video/examples/hf/logo-sting.html +378 -0
  223. package/assets/video/examples/hf/logo-wall.html +502 -0
  224. package/assets/video/examples/hf/lottie-character-walk.html +407 -0
  225. package/assets/video/examples/hf/lt-accent-underline.html +247 -0
  226. package/assets/video/examples/hf/lt-bold-block.html +249 -0
  227. package/assets/video/examples/hf/lt-clean-bar.html +251 -0
  228. package/assets/video/examples/hf/lt-color-block.html +241 -0
  229. package/assets/video/examples/hf/lt-dark-card.html +251 -0
  230. package/assets/video/examples/hf/lt-kicker-name.html +254 -0
  231. package/assets/video/examples/hf/lt-mask-reveal.html +260 -0
  232. package/assets/video/examples/hf/lt-neon-border.html +604 -0
  233. package/assets/video/examples/hf/lt-side-rule.html +254 -0
  234. package/assets/video/examples/hf/lt-soft-pill.html +259 -0
  235. package/assets/video/examples/hf/lt-stack-bars.html +249 -0
  236. package/assets/video/examples/hf/macos-notification.html +372 -0
  237. package/assets/video/examples/hf/macos-tahoe-liquid-glass.html +1701 -0
  238. package/assets/video/examples/hf/magnetic-cursor.html +684 -0
  239. package/assets/video/examples/hf/marble.html +257 -0
  240. package/assets/video/examples/hf/marker-checklist-card.html +727 -0
  241. package/assets/video/examples/hf/marker-highlight.html +589 -0
  242. package/assets/video/examples/hf/match-cut.html +505 -0
  243. package/assets/video/examples/hf/matrix-decode.html +363 -0
  244. package/assets/video/examples/hf/menu-morph.html +420 -0
  245. package/assets/video/examples/hf/mesh-gradient-bg.html +329 -0
  246. package/assets/video/examples/hf/mesh-gradient.html +257 -0
  247. package/assets/video/examples/hf/message-thread-reveal.html +1913 -0
  248. package/assets/video/examples/hf/micro-transitions.html +631 -0
  249. package/assets/video/examples/hf/mk-background.html +376 -0
  250. package/assets/video/examples/hf/mk-callout-highlight.html +322 -0
  251. package/assets/video/examples/hf/mk-clone-wall-transition.html +364 -0
  252. package/assets/video/examples/hf/mk-emphasis-type.html +235 -0
  253. package/assets/video/examples/hf/mk-line-graph.html +432 -0
  254. package/assets/video/examples/hf/mk-placeholder-grid.html +373 -0
  255. package/assets/video/examples/hf/mk-progress-stat.html +324 -0
  256. package/assets/video/examples/hf/mk-specs-list.html +362 -0
  257. package/assets/video/examples/hf/mk-usage-arc.html +297 -0
  258. package/assets/video/examples/hf/modal-morph.html +727 -0
  259. package/assets/video/examples/hf/morph-swap.html +590 -0
  260. package/assets/video/examples/hf/morph-text.html +409 -0
  261. package/assets/video/examples/hf/multi-device-splay.html +934 -0
  262. package/assets/video/examples/hf/multiplayer-cursors.html +642 -0
  263. package/assets/video/examples/hf/native-notification-pop.html +670 -0
  264. package/assets/video/examples/hf/nebula.html +258 -0
  265. package/assets/video/examples/hf/news-ticker.html +548 -0
  266. package/assets/video/examples/hf/north-korea-locked-down.html +447 -0
  267. package/assets/video/examples/hf/notes-reveal.html +2028 -0
  268. package/assets/video/examples/hf/notes-typing.html +631 -0
  269. package/assets/video/examples/hf/notification-cascade.html +740 -0
  270. package/assets/video/examples/hf/notification-pileup.html +667 -0
  271. package/assets/video/examples/hf/notification-stack.html +610 -0
  272. package/assets/video/examples/hf/number-pop-in.html +362 -0
  273. package/assets/video/examples/hf/number-wheel.html +378 -0
  274. package/assets/video/examples/hf/nyc-paris-flight.html +659 -0
  275. package/assets/video/examples/hf/nyt-graph.html +715 -0
  276. package/assets/video/examples/hf/obsidian.html +258 -0
  277. package/assets/video/examples/hf/offset-path-traveler.html +511 -0
  278. package/assets/video/examples/hf/onboarding-stepper-flow.html +292 -0
  279. package/assets/video/examples/hf/orbit-card.html +2457 -0
  280. package/assets/video/examples/hf/ordered-dither-pass.html +753 -0
  281. package/assets/video/examples/hf/organic-light-leak-overlay.html +336 -0
  282. package/assets/video/examples/hf/oscilloscope-trace.html +718 -0
  283. package/assets/video/examples/hf/outline-draw.html +394 -0
  284. package/assets/video/examples/hf/oversized-cursor.html +851 -0
  285. package/assets/video/examples/hf/overwhelm-surround.html +557 -0
  286. package/assets/video/examples/hf/page-slide.html +377 -0
  287. package/assets/video/examples/hf/pan-stations.html +555 -0
  288. package/assets/video/examples/hf/panel-reveal.html +370 -0
  289. package/assets/video/examples/hf/paper-collage-reveal.html +737 -0
  290. package/assets/video/examples/hf/parallax-device-dive.html +647 -0
  291. package/assets/video/examples/hf/parallax-unzoom.html +499 -0
  292. package/assets/video/examples/hf/parallax-zoom.html +515 -0
  293. package/assets/video/examples/hf/particle-image-reveal.html +595 -0
  294. package/assets/video/examples/hf/particle-text-dissolve.html +615 -0
  295. package/assets/video/examples/hf/path-traced-3d.html +508 -0
  296. package/assets/video/examples/hf/pendulum-swing.html +364 -0
  297. package/assets/video/examples/hf/per-word-crossfade.html +398 -0
  298. package/assets/video/examples/hf/per-word-rise.html +556 -0
  299. package/assets/video/examples/hf/perspective-marquee.html +366 -0
  300. package/assets/video/examples/hf/physical-exit.html +459 -0
  301. package/assets/video/examples/hf/plasma.html +258 -0
  302. package/assets/video/examples/hf/plastic.html +258 -0
  303. package/assets/video/examples/hf/play-mode.html +1035 -0
  304. package/assets/video/examples/hf/press-ripple.html +675 -0
  305. package/assets/video/examples/hf/prism.html +258 -0
  306. package/assets/video/examples/hf/product-promo.html +1311 -0
  307. package/assets/video/examples/hf/product-turntable.html +4569 -0
  308. package/assets/video/examples/hf/pull-back-reveal.html +546 -0
  309. package/assets/video/examples/hf/pull-to-refresh.html +861 -0
  310. package/assets/video/examples/hf/push-in.html +379 -0
  311. package/assets/video/examples/hf/rack-focus.html +779 -0
  312. package/assets/video/examples/hf/radial-surround.html +653 -0
  313. package/assets/video/examples/hf/reddit-post.html +515 -0
  314. package/assets/video/examples/hf/rgb-glitch-text.html +353 -0
  315. package/assets/video/examples/hf/ridged-burn.html +624 -0
  316. package/assets/video/examples/hf/ripple-waves.html +613 -0
  317. package/assets/video/examples/hf/ripples.html +259 -0
  318. package/assets/video/examples/hf/rubber-band-bumper.html +534 -0
  319. package/assets/video/examples/hf/scan-band.html +415 -0
  320. package/assets/video/examples/hf/scramble-reveal.html +510 -0
  321. package/assets/video/examples/hf/screen-flow-carousel.html +779 -0
  322. package/assets/video/examples/hf/scroll-camera-story.html +988 -0
  323. package/assets/video/examples/hf/scroll-feed.html +602 -0
  324. package/assets/video/examples/hf/sdf-iris.html +613 -0
  325. package/assets/video/examples/hf/segmentation-flood.html +748 -0
  326. package/assets/video/examples/hf/separator.html +620 -0
  327. package/assets/video/examples/hf/settings-toggle-flow.html +286 -0
  328. package/assets/video/examples/hf/share-sheet-carousel.html +591 -0
  329. package/assets/video/examples/hf/shared-axis-y.html +370 -0
  330. package/assets/video/examples/hf/shared-axis-z.html +514 -0
  331. package/assets/video/examples/hf/sheet-spring-up.html +681 -0
  332. package/assets/video/examples/hf/shimmer-sweep.html +301 -0
  333. package/assets/video/examples/hf/signup-flow.html +276 -0
  334. package/assets/video/examples/hf/sine-wave.html +258 -0
  335. package/assets/video/examples/hf/skeleton-reveal.html +373 -0
  336. package/assets/video/examples/hf/slack-notification-ad.html +901 -0
  337. package/assets/video/examples/hf/slit-scan-reveal.html +540 -0
  338. package/assets/video/examples/hf/slot-machine-roll.html +391 -0
  339. package/assets/video/examples/hf/snow.html +499 -0
  340. package/assets/video/examples/hf/social-proof-card.html +534 -0
  341. package/assets/video/examples/hf/soft-blur-in.html +322 -0
  342. package/assets/video/examples/hf/spain-map.html +583 -0
  343. package/assets/video/examples/hf/spiral-galaxy.html +507 -0
  344. package/assets/video/examples/hf/spiral.html +258 -0
  345. package/assets/video/examples/hf/split-flap-board.html +537 -0
  346. package/assets/video/examples/hf/split-tilt-cards.html +775 -0
  347. package/assets/video/examples/hf/spotify-card.html +470 -0
  348. package/assets/video/examples/hf/spotlight-card.html +328 -0
  349. package/assets/video/examples/hf/spring-pop.html +406 -0
  350. package/assets/video/examples/hf/spring-stack-shuffle.html +791 -0
  351. package/assets/video/examples/hf/stagger-cascade.html +465 -0
  352. package/assets/video/examples/hf/stagger-lattice.html +278 -0
  353. package/assets/video/examples/hf/staggered-fade-up.html +368 -0
  354. package/assets/video/examples/hf/star-rating-fill.html +511 -0
  355. package/assets/video/examples/hf/starfield.html +450 -0
  356. package/assets/video/examples/hf/state-chip-rail.html +585 -0
  357. package/assets/video/examples/hf/sticky-mock-swap.html +664 -0
  358. package/assets/video/examples/hf/stitched-text-draw.html +1053 -0
  359. package/assets/video/examples/hf/stop-motion-cadence.html +670 -0
  360. package/assets/video/examples/hf/store-badge-lockup.html +521 -0
  361. package/assets/video/examples/hf/strands.html +258 -0
  362. package/assets/video/examples/hf/streaming-text.html +581 -0
  363. package/assets/video/examples/hf/strikethrough-replace.html +356 -0
  364. package/assets/video/examples/hf/stripes.html +258 -0
  365. package/assets/video/examples/hf/success-check.html +390 -0
  366. package/assets/video/examples/hf/sun-burst.html +258 -0
  367. package/assets/video/examples/hf/svg-line-draw-loader.html +257 -0
  368. package/assets/video/examples/hf/svg-mask-reveal.html +523 -0
  369. package/assets/video/examples/hf/svg-stroke-trace.html +465 -0
  370. package/assets/video/examples/hf/swipe-rail.html +564 -0
  371. package/assets/video/examples/hf/swirl-vortex.html +623 -0
  372. package/assets/video/examples/hf/swirl.html +258 -0
  373. package/assets/video/examples/hf/swiss-grid.html +837 -0
  374. package/assets/video/examples/hf/tabs-slide-indicator.html +424 -0
  375. package/assets/video/examples/hf/telemetry-hud.html +760 -0
  376. package/assets/video/examples/hf/terminal-simulator.html +293 -0
  377. package/assets/video/examples/hf/testimonial-card.html +545 -0
  378. package/assets/video/examples/hf/testimonial-proof-card.html +720 -0
  379. package/assets/video/examples/hf/text-match-cut.html +1345 -0
  380. package/assets/video/examples/hf/text-shimmer.html +394 -0
  381. package/assets/video/examples/hf/text-stagger.html +373 -0
  382. package/assets/video/examples/hf/text-state-swap.html +421 -0
  383. package/assets/video/examples/hf/thermal-distortion.html +624 -0
  384. package/assets/video/examples/hf/thin-film.html +258 -0
  385. package/assets/video/examples/hf/thread-message-stack.html +377 -0
  386. package/assets/video/examples/hf/three-orbiting-cards.html +322 -0
  387. package/assets/video/examples/hf/ticker-takeover.html +534 -0
  388. package/assets/video/examples/hf/tiktok-follow.html +435 -0
  389. package/assets/video/examples/hf/tilt-card.html +406 -0
  390. package/assets/video/examples/hf/titlecard-calm.html +388 -0
  391. package/assets/video/examples/hf/titlecard-lockup.html +546 -0
  392. package/assets/video/examples/hf/toggle-flip.html +601 -0
  393. package/assets/video/examples/hf/top-down-letters.html +326 -0
  394. package/assets/video/examples/hf/torn-paper-rip.html +762 -0
  395. package/assets/video/examples/hf/touch-indicator.html +777 -0
  396. package/assets/video/examples/hf/tracing-beam.html +608 -0
  397. package/assets/video/examples/hf/tracking-in.html +317 -0
  398. package/assets/video/examples/hf/transitions-3d.html +434 -0
  399. package/assets/video/examples/hf/transitions-blur.html +524 -0
  400. package/assets/video/examples/hf/transitions-cover.html +508 -0
  401. package/assets/video/examples/hf/transitions-destruction.html +551 -0
  402. package/assets/video/examples/hf/transitions-dissolve.html +529 -0
  403. package/assets/video/examples/hf/transitions-distortion.html +522 -0
  404. package/assets/video/examples/hf/transitions-grid.html +442 -0
  405. package/assets/video/examples/hf/transitions-light.html +528 -0
  406. package/assets/video/examples/hf/transitions-mechanical.html +560 -0
  407. package/assets/video/examples/hf/transitions-other.html +532 -0
  408. package/assets/video/examples/hf/transitions-push.html +520 -0
  409. package/assets/video/examples/hf/transitions-radial.html +492 -0
  410. package/assets/video/examples/hf/transitions-scale.html +487 -0
  411. package/assets/video/examples/hf/trust-strip.html +445 -0
  412. package/assets/video/examples/hf/typed-prompt.html +619 -0
  413. package/assets/video/examples/hf/typewriter.html +350 -0
  414. package/assets/video/examples/hf/typing-indicator.html +702 -0
  415. package/assets/video/examples/hf/ui-3d-reveal.html +2929 -0
  416. package/assets/video/examples/hf/ui-focus-zoom.html +786 -0
  417. package/assets/video/examples/hf/us-map-bubble.html +669 -0
  418. package/assets/video/examples/hf/us-map-flow.html +621 -0
  419. package/assets/video/examples/hf/us-map-hex.html +733 -0
  420. package/assets/video/examples/hf/us-map.html +591 -0
  421. package/assets/video/examples/hf/variable-font-flex.html +538 -0
  422. package/assets/video/examples/hf/vector-editor-rig.html +977 -0
  423. package/assets/video/examples/hf/vfx-anamorphic-flare.html +572 -0
  424. package/assets/video/examples/hf/vfx-iphone-device.html +1089 -0
  425. package/assets/video/examples/hf/vfx-liquid-background.html +1479 -0
  426. package/assets/video/examples/hf/vfx-liquid-glass.html +2054 -0
  427. package/assets/video/examples/hf/vfx-magnetic.html +660 -0
  428. package/assets/video/examples/hf/vfx-portal.html +1090 -0
  429. package/assets/video/examples/hf/vfx-shatter.html +1382 -0
  430. package/assets/video/examples/hf/vignette.html +385 -0
  431. package/assets/video/examples/hf/voronoi.html +258 -0
  432. package/assets/video/examples/hf/vox-annotate.html +707 -0
  433. package/assets/video/examples/hf/vpn-youtube-spot.html +1118 -0
  434. package/assets/video/examples/hf/water.html +258 -0
  435. package/assets/video/examples/hf/waveform.html +258 -0
  436. package/assets/video/examples/hf/week-in-merges.html +673 -0
  437. package/assets/video/examples/hf/weight-wave.html +531 -0
  438. package/assets/video/examples/hf/whip-pan-cut.html +668 -0
  439. package/assets/video/examples/hf/whip-pan.html +613 -0
  440. package/assets/video/examples/hf/whiteboard-ink.html +763 -0
  441. package/assets/video/examples/hf/wireframe-portal-title.html +3840 -0
  442. package/assets/video/examples/hf/wordmark-tiles.html +559 -0
  443. package/assets/video/examples/hf/world-map.html +623 -0
  444. package/assets/video/examples/hf/worley-noise.html +259 -0
  445. package/assets/video/examples/hf/x-follow-card.html +286 -0
  446. package/assets/video/examples/hf/x-post.html +611 -0
  447. package/assets/video/examples/hf/yt-camera-move.html +308 -0
  448. package/assets/video/examples/hf/yt-circle-pointer.html +301 -0
  449. package/assets/video/examples/hf/yt-comment-card.html +458 -0
  450. package/assets/video/examples/hf/yt-feather-highlight.html +279 -0
  451. package/assets/video/examples/hf/yt-lcd-background.html +446 -0
  452. package/assets/video/examples/hf/yt-logo-intro.html +390 -0
  453. package/assets/video/examples/hf/yt-lower-third.html +414 -0
  454. package/assets/video/examples/hf/yt-prism-title.html +343 -0
  455. package/assets/video/examples/hf/yt-screen-warp.html +257 -0
  456. package/assets/video/examples/hf/yt-vertical-fill.html +367 -0
  457. package/assets/video/examples/kinetic-type.html +137 -0
  458. package/assets/video/examples/motion-blur-streak.html +119 -0
  459. package/assets/video/examples/object-reveal.html +107 -0
  460. package/assets/video/examples/parallax-layers.html +130 -0
  461. package/assets/video/examples/particle-burst.html +157 -0
  462. package/assets/video/examples/pen-draw.html +146 -0
  463. package/assets/video/examples/shape-morph.html +151 -0
  464. package/assets/video/examples/slam-title.html +125 -0
  465. package/assets/video/examples/speed-lines.html +123 -0
  466. package/assets/video/examples/spring-pop.html +129 -0
  467. package/assets/video/examples/streak-wipe.html +78 -0
  468. package/assets/video/examples/three-chrome-knot.html +155 -0
  469. package/assets/video/examples/three-clay.html +138 -0
  470. package/assets/video/examples/three-cube-wave.html +140 -0
  471. package/assets/video/examples/three-extruded-shape.html +148 -0
  472. package/assets/video/examples/type-on.html +128 -0
  473. package/assets/video/motion.js +991 -0
  474. package/assets/video/screen.js +298 -0
  475. package/assets/video/sfx/catalogue.json +2283 -0
  476. package/dist/cli.js +38185 -3485
  477. package/dist/index.js +37910 -3428
  478. package/dist/types/args.d.ts +2 -0
  479. package/dist/types/broken-pipe.d.ts +13 -0
  480. package/dist/types/cloud/service.d.ts +13 -0
  481. package/dist/types/commands/usage.d.ts +2 -0
  482. package/dist/types/commands/video.d.ts +10 -0
  483. package/dist/types/core/error-text.d.ts +26 -0
  484. package/dist/types/core/errors.d.ts +5 -3
  485. package/dist/types/core/image-info.d.ts +1 -1
  486. package/dist/types/core/image.d.ts +3 -5
  487. package/dist/types/core/project.d.ts +8 -7
  488. package/dist/types/core/util.d.ts +1 -2
  489. package/dist/types/cpu-budget.d.ts +43 -0
  490. package/dist/types/credentials.d.ts +0 -10
  491. package/dist/types/editor/http-types.d.ts +1 -0
  492. package/dist/types/i18n.d.ts +11 -0
  493. package/dist/types/images/batch-jobs.d.ts +2 -0
  494. package/dist/types/images/batch-run.d.ts +2 -1
  495. package/dist/types/images/jobs.d.ts +7 -0
  496. package/dist/types/images/pending.d.ts +40 -0
  497. package/dist/types/images/retry.d.ts +4 -1
  498. package/dist/types/images/run.d.ts +9 -1
  499. package/dist/types/main.d.ts +4 -1
  500. package/dist/types/node-runtime.d.ts +6 -1
  501. package/dist/types/profile.d.ts +2 -0
  502. package/dist/types/providers/api-errors.d.ts +2 -2
  503. package/dist/types/providers/api.d.ts +13 -5
  504. package/dist/types/providers/base.d.ts +2 -0
  505. package/dist/types/providers/cli-generate.d.ts +5 -1
  506. package/dist/types/providers/cli-pending.d.ts +24 -0
  507. package/dist/types/providers/errors.d.ts +7 -2
  508. package/dist/types/providers/ledger.d.ts +10 -6
  509. package/dist/types/providers/popost-async.d.ts +35 -0
  510. package/dist/types/providers/popost-tasks.d.ts +16 -5
  511. package/dist/types/providers/popost-validate.d.ts +0 -1
  512. package/dist/types/providers/popost.d.ts +16 -1
  513. package/dist/types/providers/task.d.ts +43 -0
  514. package/dist/types/render/audit-script.d.ts +2 -1
  515. package/dist/types/render/audit.d.ts +2 -0
  516. package/dist/types/render/browser.d.ts +16 -2
  517. package/dist/types/runtime.d.ts +73 -2
  518. package/dist/types/version.d.ts +1 -1
  519. package/dist/types/video/align/index.d.ts +43 -0
  520. package/dist/types/video/capture/director.d.ts +70 -0
  521. package/dist/types/video/capture/index.d.ts +141 -0
  522. package/dist/types/video/capture/stage.d.ts +99 -0
  523. package/dist/types/video/capture/steps.d.ts +138 -0
  524. package/dist/types/video/commands/cast.d.ts +3 -0
  525. package/dist/types/video/commands/clips.d.ts +2 -0
  526. package/dist/types/video/commands/compare-scope.d.ts +7 -0
  527. package/dist/types/video/commands/credits.d.ts +19 -0
  528. package/dist/types/video/commands/elements.d.ts +22 -0
  529. package/dist/types/video/commands/eval.d.ts +2 -0
  530. package/dist/types/video/commands/example.d.ts +1 -0
  531. package/dist/types/video/commands/generate.d.ts +14 -0
  532. package/dist/types/video/commands/loop-shared.d.ts +12 -0
  533. package/dist/types/video/commands/loop.d.ts +4 -0
  534. package/dist/types/video/commands/make.d.ts +9 -0
  535. package/dist/types/video/commands/materials.d.ts +1 -0
  536. package/dist/types/video/commands/measure.d.ts +2 -0
  537. package/dist/types/video/commands/media.d.ts +2 -0
  538. package/dist/types/video/commands/music-plan.d.ts +1 -0
  539. package/dist/types/video/commands/music.d.ts +2 -0
  540. package/dist/types/video/commands/read.d.ts +19 -0
  541. package/dist/types/video/commands/replication.d.ts +2 -0
  542. package/dist/types/video/commands/sfx-extract.d.ts +2 -0
  543. package/dist/types/video/commands/sfx-place.d.ts +3 -0
  544. package/dist/types/video/commands/sfx.d.ts +2 -0
  545. package/dist/types/video/commands/shared.d.ts +39 -0
  546. package/dist/types/video/commands/source.d.ts +2 -0
  547. package/dist/types/video/commands/speech-check.d.ts +1 -0
  548. package/dist/types/video/commands/speech-kind.d.ts +6 -0
  549. package/dist/types/video/commands/template.d.ts +10 -0
  550. package/dist/types/video/commands/voice-profile.d.ts +2 -0
  551. package/dist/types/video/commands/voice-sample.d.ts +1 -0
  552. package/dist/types/video/compile/footage.d.ts +36 -0
  553. package/dist/types/video/compile/index.d.ts +30 -0
  554. package/dist/types/video/compile/page-bundle.d.ts +1 -0
  555. package/dist/types/video/compile/page.d.ts +10 -0
  556. package/dist/types/video/compile/words.d.ts +9 -0
  557. package/dist/types/video/describe/aim.d.ts +20 -0
  558. package/dist/types/video/describe/beats.d.ts +53 -0
  559. package/dist/types/video/describe/curves.d.ts +27 -0
  560. package/dist/types/video/describe/frames.d.ts +62 -0
  561. package/dist/types/video/describe/index.d.ts +34 -0
  562. package/dist/types/video/describe/inset.d.ts +83 -0
  563. package/dist/types/video/describe/kind.d.ts +29 -0
  564. package/dist/types/video/describe/known.d.ts +31 -0
  565. package/dist/types/video/describe/movement.d.ts +17 -0
  566. package/dist/types/video/describe/parts.d.ts +50 -0
  567. package/dist/types/video/describe/paths.d.ts +21 -0
  568. package/dist/types/video/describe/speech-kind.d.ts +144 -0
  569. package/dist/types/video/describe/unrecovered.d.ts +29 -0
  570. package/dist/types/video/draft/build.d.ts +34 -0
  571. package/dist/types/video/draft/export.d.ts +19 -0
  572. package/dist/types/video/draft/lifecycle.d.ts +9 -0
  573. package/dist/types/video/draft/native.d.ts +27 -0
  574. package/dist/types/video/draft/schema.d.ts +316 -0
  575. package/dist/types/video/draft/targets.d.ts +19 -0
  576. package/dist/types/video/elements/caption-reading.d.ts +9 -0
  577. package/dist/types/video/elements/caption-roles.d.ts +6 -0
  578. package/dist/types/video/elements/carry.d.ts +45 -0
  579. package/dist/types/video/elements/check.d.ts +14 -0
  580. package/dist/types/video/elements/findings.d.ts +49 -0
  581. package/dist/types/video/elements/main.d.ts +54 -0
  582. package/dist/types/video/elements/picture.d.ts +31 -0
  583. package/dist/types/video/elements/questions.d.ts +35 -0
  584. package/dist/types/video/elements/read.d.ts +14 -0
  585. package/dist/types/video/elements/status.d.ts +23 -0
  586. package/dist/types/video/elements/types.d.ts +120 -0
  587. package/dist/types/video/eval/contrast.d.ts +136 -0
  588. package/dist/types/video/eval/dataset.d.ts +21 -0
  589. package/dist/types/video/eval/floor.d.ts +27 -0
  590. package/dist/types/video/eval/ledger.d.ts +27 -0
  591. package/dist/types/video/eval/legibility.d.ts +33 -0
  592. package/dist/types/video/eval/readback-frames.d.ts +41 -0
  593. package/dist/types/video/eval/readback-run.d.ts +54 -0
  594. package/dist/types/video/eval/readback.d.ts +48 -0
  595. package/dist/types/video/eval/roundtrip.d.ts +71 -0
  596. package/dist/types/video/generate/approved.d.ts +74 -0
  597. package/dist/types/video/generate/cast.d.ts +56 -0
  598. package/dist/types/video/generate/character.d.ts +14 -0
  599. package/dist/types/video/generate/clip-sound.d.ts +63 -0
  600. package/dist/types/video/generate/cloud-image.d.ts +12 -0
  601. package/dist/types/video/generate/cloud.d.ts +67 -0
  602. package/dist/types/video/generate/dialogue.d.ts +116 -0
  603. package/dist/types/video/generate/index.d.ts +265 -0
  604. package/dist/types/video/generate/provenance.d.ts +11 -0
  605. package/dist/types/video/generate/speech-lock.d.ts +4 -0
  606. package/dist/types/video/generate/speech.d.ts +20 -0
  607. package/dist/types/video/host.d.ts +42 -0
  608. package/dist/types/video/hosted-api.d.ts +161 -0
  609. package/dist/types/video/look/index.d.ts +67 -0
  610. package/dist/types/video/look/like.d.ts +18 -0
  611. package/dist/types/video/look/sheets.d.ts +58 -0
  612. package/dist/types/video/measure/align.d.ts +33 -0
  613. package/dist/types/video/measure/amount.d.ts +52 -0
  614. package/dist/types/video/measure/bars.d.ts +22 -0
  615. package/dist/types/video/measure/boundaries.d.ts +18 -0
  616. package/dist/types/video/measure/cache.d.ts +6 -0
  617. package/dist/types/video/measure/camera.d.ts +21 -0
  618. package/dist/types/video/measure/colour.d.ts +12 -0
  619. package/dist/types/video/measure/curve.d.ts +29 -0
  620. package/dist/types/video/measure/cuts.d.ts +17 -0
  621. package/dist/types/video/measure/easing.d.ts +52 -0
  622. package/dist/types/video/measure/fill.d.ts +20 -0
  623. package/dist/types/video/measure/fits.d.ts +80 -0
  624. package/dist/types/video/measure/gradual.d.ts +23 -0
  625. package/dist/types/video/measure/index.d.ts +28 -0
  626. package/dist/types/video/measure/kinds.d.ts +71 -0
  627. package/dist/types/video/measure/motion.d.ts +26 -0
  628. package/dist/types/video/measure/move.d.ts +90 -0
  629. package/dist/types/video/measure/moves.d.ts +22 -0
  630. package/dist/types/video/measure/orientation.d.ts +11 -0
  631. package/dist/types/video/measure/pixels.d.ts +41 -0
  632. package/dist/types/video/measure/profile.d.ts +53 -0
  633. package/dist/types/video/measure/reveal.d.ts +48 -0
  634. package/dist/types/video/measure/rhythm.d.ts +7 -0
  635. package/dist/types/video/measure/robust.d.ts +18 -0
  636. package/dist/types/video/measure/signals.d.ts +48 -0
  637. package/dist/types/video/measure/signature.d.ts +10 -0
  638. package/dist/types/video/measure/span.d.ts +28 -0
  639. package/dist/types/video/measure/still-shots.d.ts +40 -0
  640. package/dist/types/video/measure/switch.d.ts +101 -0
  641. package/dist/types/video/measure/tracks.d.ts +20 -0
  642. package/dist/types/video/measure/unmix.d.ts +20 -0
  643. package/dist/types/video/media/decode.d.ts +59 -0
  644. package/dist/types/video/media/ffmpeg.d.ts +48 -0
  645. package/dist/types/video/media/footage.d.ts +53 -0
  646. package/dist/types/video/media/screenshot.d.ts +26 -0
  647. package/dist/types/video/media/selection.d.ts +4 -0
  648. package/dist/types/video/media/wav.d.ts +26 -0
  649. package/dist/types/video/music/hosted.d.ts +110 -0
  650. package/dist/types/video/music/plan.d.ts +103 -0
  651. package/dist/types/video/music/provenance.d.ts +86 -0
  652. package/dist/types/video/page/apply.d.ts +9 -0
  653. package/dist/types/video/page/contract.d.ts +150 -0
  654. package/dist/types/video/page/css.d.ts +9 -0
  655. package/dist/types/video/page/dom.d.ts +51 -0
  656. package/dist/types/video/page/fit.d.ts +13 -0
  657. package/dist/types/video/page/layout.d.ts +8 -0
  658. package/dist/types/video/page/main.d.ts +1 -0
  659. package/dist/types/video/page/scene.d.ts +38 -0
  660. package/dist/types/video/page/texts.d.ts +10 -0
  661. package/dist/types/video/page/words.d.ts +39 -0
  662. package/dist/types/video/paid-download.d.ts +19 -0
  663. package/dist/types/video/plan/ask.d.ts +77 -0
  664. package/dist/types/video/plan/generated.d.ts +29 -0
  665. package/dist/types/video/plan/index.d.ts +6 -0
  666. package/dist/types/video/plan/materials.d.ts +22 -0
  667. package/dist/types/video/plan/model.d.ts +59 -0
  668. package/dist/types/video/plan/prompt.d.ts +41 -0
  669. package/dist/types/video/plan/see.d.ts +35 -0
  670. package/dist/types/video/presets/camera.d.ts +27 -0
  671. package/dist/types/video/presets/easing.d.ts +11 -0
  672. package/dist/types/video/presets/fill.d.ts +16 -0
  673. package/dist/types/video/presets/loop.d.ts +20 -0
  674. package/dist/types/video/presets/motion.d.ts +47 -0
  675. package/dist/types/video/presets/spoken.d.ts +35 -0
  676. package/dist/types/video/presets/text-styles.d.ts +44 -0
  677. package/dist/types/video/presets/transition.d.ts +66 -0
  678. package/dist/types/video/preview/cloud.d.ts +13 -0
  679. package/dist/types/video/preview/edit/check.d.ts +15 -0
  680. package/dist/types/video/preview/edit/editor.d.ts +52 -0
  681. package/dist/types/video/preview/edit/ops.d.ts +52 -0
  682. package/dist/types/video/preview/edit/render.d.ts +11 -0
  683. package/dist/types/video/preview/edit/retime.d.ts +2 -0
  684. package/dist/types/video/preview/edit/routes.d.ts +1106 -0
  685. package/dist/types/video/preview/export-settings.d.ts +25 -0
  686. package/dist/types/video/preview/files.d.ts +25 -0
  687. package/dist/types/video/preview/html.d.ts +9 -0
  688. package/dist/types/video/preview/index.d.ts +20 -0
  689. package/dist/types/video/preview/project.d.ts +48 -0
  690. package/dist/types/video/preview/protocol.d.ts +91 -0
  691. package/dist/types/video/preview/server.d.ts +21 -0
  692. package/dist/types/video/preview/shell/app.d.ts +81 -0
  693. package/dist/types/video/preview/shell/dom.d.ts +40 -0
  694. package/dist/types/video/preview/shell/edit/controller.d.ts +32 -0
  695. package/dist/types/video/preview/shell/edit/fields.d.ts +49 -0
  696. package/dist/types/video/preview/shell/edit/form-parts.d.ts +17 -0
  697. package/dist/types/video/preview/shell/edit/form.d.ts +17 -0
  698. package/dist/types/video/preview/shell/edit/inline.d.ts +4 -0
  699. package/dist/types/video/preview/shell/edit/lanes-edit.d.ts +31 -0
  700. package/dist/types/video/preview/shell/edit/layer-order.d.ts +4 -0
  701. package/dist/types/video/preview/shell/edit/remove.d.ts +4 -0
  702. package/dist/types/video/preview/shell/edit/reveal.d.ts +4 -0
  703. package/dist/types/video/preview/shell/edit/scenes.d.ts +7 -0
  704. package/dist/types/video/preview/shell/edit/schema.d.ts +30 -0
  705. package/dist/types/video/preview/shell/edit/source.d.ts +83 -0
  706. package/dist/types/video/preview/shell/edit/split.d.ts +8 -0
  707. package/dist/types/video/preview/shell/edit/stage-edit.d.ts +21 -0
  708. package/dist/types/video/preview/shell/edit/text-fit.d.ts +4 -0
  709. package/dist/types/video/preview/shell/edit/toolbar.d.ts +14 -0
  710. package/dist/types/video/preview/shell/footage.d.ts +6 -0
  711. package/dist/types/video/preview/shell/i18n.d.ts +176 -0
  712. package/dist/types/video/preview/shell/lanes.d.ts +2 -0
  713. package/dist/types/video/preview/shell/main.d.ts +1 -0
  714. package/dist/types/video/preview/shell/model.d.ts +85 -0
  715. package/dist/types/video/preview/shell/panel.d.ts +3 -0
  716. package/dist/types/video/preview/shell/readonly.d.ts +1 -0
  717. package/dist/types/video/preview/shell/stage.d.ts +7 -0
  718. package/dist/types/video/preview/shell/studio/audio.d.ts +3 -0
  719. package/dist/types/video/preview/shell/studio/cloud.d.ts +3 -0
  720. package/dist/types/video/preview/shell/studio/code.d.ts +6 -0
  721. package/dist/types/video/preview/shell/studio/copy.d.ts +159 -0
  722. package/dist/types/video/preview/shell/studio/draft-result.d.ts +3 -0
  723. package/dist/types/video/preview/shell/studio/export.d.ts +3 -0
  724. package/dist/types/video/preview/shell/studio/scene-selection.d.ts +19 -0
  725. package/dist/types/video/preview/shell/studio/sidebar.d.ts +27 -0
  726. package/dist/types/video/preview/shell/studio/style.d.ts +2 -0
  727. package/dist/types/video/preview/shell/studio/timeline.d.ts +3 -0
  728. package/dist/types/video/preview/shell/studio/ui.d.ts +16 -0
  729. package/dist/types/video/preview/shell/studio/workspace.d.ts +11 -0
  730. package/dist/types/video/preview/shell/style.d.ts +5 -0
  731. package/dist/types/video/preview/shell/transport.d.ts +6 -0
  732. package/dist/types/video/preview/shell-bundle.d.ts +1 -0
  733. package/dist/types/video/preview/studio-actions.d.ts +4 -0
  734. package/dist/types/video/preview/studio-data.d.ts +32 -0
  735. package/dist/types/video/preview/thumbnails.d.ts +5 -0
  736. package/dist/types/video/preview/watch.d.ts +23 -0
  737. package/dist/types/video/progress.d.ts +28 -0
  738. package/dist/types/video/project/check-camera.d.ts +8 -0
  739. package/dist/types/video/project/check-caption.d.ts +8 -0
  740. package/dist/types/video/project/check-common.d.ts +25 -0
  741. package/dist/types/video/project/check-footage.d.ts +22 -0
  742. package/dist/types/video/project/check-look.d.ts +19 -0
  743. package/dist/types/video/project/check-sound.d.ts +54 -0
  744. package/dist/types/video/project/check-span.d.ts +11 -0
  745. package/dist/types/video/project/check-tracks.d.ts +8 -0
  746. package/dist/types/video/project/check-transition.d.ts +11 -0
  747. package/dist/types/video/project/check-words.d.ts +32 -0
  748. package/dist/types/video/project/check.d.ts +42 -0
  749. package/dist/types/video/project/issues.d.ts +43 -0
  750. package/dist/types/video/project/schema.d.ts +2074 -0
  751. package/dist/types/video/project/suggest.d.ts +4 -0
  752. package/dist/types/video/project/words.d.ts +6 -0
  753. package/dist/types/video/render/browser-step.d.ts +5 -0
  754. package/dist/types/video/render/encode.d.ts +49 -0
  755. package/dist/types/video/render/index.d.ts +90 -0
  756. package/dist/types/video/render/layout.d.ts +26 -0
  757. package/dist/types/video/render/record.d.ts +80 -0
  758. package/dist/types/video/render/session.d.ts +64 -0
  759. package/dist/types/video/render/verify.d.ts +16 -0
  760. package/dist/types/video/replication/audio-provenance.d.ts +36 -0
  761. package/dist/types/video/replication/browser.d.ts +1 -0
  762. package/dist/types/video/replication/check.d.ts +19 -0
  763. package/dist/types/video/replication/contract.d.ts +683 -0
  764. package/dist/types/video/replication/io.d.ts +22 -0
  765. package/dist/types/video/replication/motion-bundle.d.ts +1 -0
  766. package/dist/types/video/replication/motion.d.ts +109 -0
  767. package/dist/types/video/replication/pairs.d.ts +69 -0
  768. package/dist/types/video/replication/prefill.d.ts +34 -0
  769. package/dist/types/video/replication/production.d.ts +163 -0
  770. package/dist/types/video/replication/revision.d.ts +2 -0
  771. package/dist/types/video/replication/schema.d.ts +56 -0
  772. package/dist/types/video/replication/source-clock.d.ts +24 -0
  773. package/dist/types/video/replication/speech-observed.d.ts +121 -0
  774. package/dist/types/video/replication/voice-spans.d.ts +3 -0
  775. package/dist/types/video/retarget/caption-look.d.ts +14 -0
  776. package/dist/types/video/retarget/fps.d.ts +7 -0
  777. package/dist/types/video/retarget/index.d.ts +248 -0
  778. package/dist/types/video/retarget/items.d.ts +44 -0
  779. package/dist/types/video/retarget/marks.d.ts +12 -0
  780. package/dist/types/video/retarget/pace.d.ts +36 -0
  781. package/dist/types/video/retarget/speak.d.ts +41 -0
  782. package/dist/types/video/retarget/tempo.d.ts +40 -0
  783. package/dist/types/video/retarget/titles.d.ts +76 -0
  784. package/dist/types/video/retarget/words.d.ts +39 -0
  785. package/dist/types/video/scene/author.d.ts +74 -0
  786. package/dist/types/video/scene/check.d.ts +64 -0
  787. package/dist/types/video/scene/copied.d.ts +30 -0
  788. package/dist/types/video/scene/cues.d.ts +40 -0
  789. package/dist/types/video/scene/examples.d.ts +129 -0
  790. package/dist/types/video/scene/findings.d.ts +71 -0
  791. package/dist/types/video/scene/fonts.d.ts +19 -0
  792. package/dist/types/video/scene/items.d.ts +23 -0
  793. package/dist/types/video/scene/library.d.ts +41 -0
  794. package/dist/types/video/scene/lint.d.ts +15 -0
  795. package/dist/types/video/scene/numbers.d.ts +39 -0
  796. package/dist/types/video/scene/pictures.d.ts +12 -0
  797. package/dist/types/video/scene/write.d.ts +41 -0
  798. package/dist/types/video/score/index.d.ts +13 -0
  799. package/dist/types/video/score/pair.d.ts +43 -0
  800. package/dist/types/video/score/picture.d.ts +14 -0
  801. package/dist/types/video/score/project-windows.d.ts +9 -0
  802. package/dist/types/video/score/shot-transition.d.ts +62 -0
  803. package/dist/types/video/score/shots.d.ts +101 -0
  804. package/dist/types/video/score/time.d.ts +22 -0
  805. package/dist/types/video/score/tracks.d.ts +42 -0
  806. package/dist/types/video/score/weights.d.ts +19 -0
  807. package/dist/types/video/sfx/cache.d.ts +16 -0
  808. package/dist/types/video/sfx/catalogue.d.ts +64 -0
  809. package/dist/types/video/sfx/extract.d.ts +65 -0
  810. package/dist/types/video/sfx/levels.d.ts +39 -0
  811. package/dist/types/video/sfx/library.d.ts +26 -0
  812. package/dist/types/video/sfx/place.d.ts +82 -0
  813. package/dist/types/video/sfx/project.d.ts +36 -0
  814. package/dist/types/video/sound/analysis.d.ts +46 -0
  815. package/dist/types/video/sound/breaks.d.ts +84 -0
  816. package/dist/types/video/sound/measure.d.ts +106 -0
  817. package/dist/types/video/sound/modes.d.ts +75 -0
  818. package/dist/types/video/sound/pcm.d.ts +21 -0
  819. package/dist/types/video/sound/reading.d.ts +124 -0
  820. package/dist/types/video/sound/speech-check.d.ts +76 -0
  821. package/dist/types/video/source/collect.d.ts +64 -0
  822. package/dist/types/video/source/read.d.ts +57 -0
  823. package/dist/types/video/source/used.d.ts +4 -0
  824. package/dist/types/video/speech/hosted.d.ts +36 -0
  825. package/dist/types/video/speech/index.d.ts +83 -0
  826. package/dist/types/video/speech/types.d.ts +41 -0
  827. package/dist/types/video/submit-retry.d.ts +15 -0
  828. package/dist/types/video/synth/generate.d.ts +53 -0
  829. package/dist/types/video/synth/truth.d.ts +8 -0
  830. package/dist/types/video/synth/write.d.ts +13 -0
  831. package/dist/types/video/template/capacity.d.ts +37 -0
  832. package/dist/types/video/template/card-elements.d.ts +17 -0
  833. package/dist/types/video/template/card.d.ts +22 -0
  834. package/dist/types/video/template/check-captions.d.ts +11 -0
  835. package/dist/types/video/template/check.d.ts +40 -0
  836. package/dist/types/video/template/facts.d.ts +90 -0
  837. package/dist/types/video/template/fill.d.ts +51 -0
  838. package/dist/types/video/template/fingerprint.d.ts +2 -0
  839. package/dist/types/video/template/fit.d.ts +60 -0
  840. package/dist/types/video/template/index.d.ts +8 -0
  841. package/dist/types/video/template/project.d.ts +21 -0
  842. package/dist/types/video/template/save.d.ts +52 -0
  843. package/dist/types/video/template/slots.d.ts +26 -0
  844. package/dist/types/video/template/speech-rules.d.ts +61 -0
  845. package/dist/types/video/template/split.d.ts +10 -0
  846. package/dist/types/video/template/structure.d.ts +81 -0
  847. package/dist/types/video/template/swap.d.ts +33 -0
  848. package/dist/types/video/template/types.d.ts +387 -0
  849. package/dist/types/video/text/bar.d.ts +63 -0
  850. package/dist/types/video/text/change.d.ts +19 -0
  851. package/dist/types/video/text/core.d.ts +25 -0
  852. package/dist/types/video/text/cues.d.ts +26 -0
  853. package/dist/types/video/text/fold.d.ts +9 -0
  854. package/dist/types/video/text/frame.d.ts +41 -0
  855. package/dist/types/video/text/highlight.d.ts +19 -0
  856. package/dist/types/video/text/index.d.ts +67 -0
  857. package/dist/types/video/text/letters.d.ts +85 -0
  858. package/dist/types/video/text/look.d.ts +53 -0
  859. package/dist/types/video/text/reader-command.d.ts +26 -0
  860. package/dist/types/video/text/reveal.d.ts +37 -0
  861. package/dist/types/video/text/rings.d.ts +39 -0
  862. package/dist/types/video/text/shadow.d.ts +44 -0
  863. package/dist/types/video/text/share.d.ts +2 -0
  864. package/dist/types/video/text/speech.d.ts +15 -0
  865. package/dist/types/video/text/strokes.d.ts +30 -0
  866. package/dist/types/video/text/types.d.ts +147 -0
  867. package/dist/types/video/timeline/cue-words.d.ts +27 -0
  868. package/dist/types/video/timeline/footage.d.ts +25 -0
  869. package/dist/types/video/timeline/frame.d.ts +55 -0
  870. package/dist/types/video/timeline/items.d.ts +28 -0
  871. package/dist/types/video/timeline/mix.d.ts +67 -0
  872. package/dist/types/video/timeline/resolve.d.ts +20 -0
  873. package/dist/types/video/timeline/spans.d.ts +32 -0
  874. package/dist/types/video/timeline/words.d.ts +64 -0
  875. package/dist/types/video/tool.d.ts +29 -0
  876. package/dist/types/video/types.d.ts +1057 -0
  877. package/dist/types/video/voice/create.d.ts +43 -0
  878. package/dist/types/video/voice/hosted.d.ts +36 -0
  879. package/dist/types/video/voice/index.d.ts +61 -0
  880. package/dist/types/video/voice/pace.d.ts +37 -0
  881. package/dist/types/video/voice/profile.d.ts +26 -0
  882. package/dist/types/video/voice/sample.d.ts +46 -0
  883. package/dist/types/video/wallet.d.ts +38 -0
  884. package/dist/types/video/work.d.ts +10 -0
  885. package/dist/types/workflow/build.d.ts +1 -1
  886. package/dist/types/workflow/errors.d.ts +1 -1
  887. package/dist/types/workflow/io.d.ts +1 -1
  888. package/dist/types/workflow/post-bundle.d.ts +8 -3
  889. package/dist/types/workflow/series-plan.d.ts +5 -2
  890. package/dist/types/workflow/template-plugins.d.ts +0 -8
  891. package/package.json +13 -4
  892. package/references/image-workflow.md +111 -0
  893. package/references/onboarding.md +50 -19
  894. package/references/post-bundle.md +2 -2
  895. package/references/providers.md +6 -3
  896. package/references/video-draft-export.md +13 -0
  897. package/references/video-editing.md +43 -0
  898. package/references/video-effects.md +605 -0
  899. package/references/video-elements.md +199 -0
  900. package/references/video-examples/showcase/assets/pattern.svg +18 -0
  901. package/references/video-examples/showcase/assets/voice.sbg +4 -0
  902. package/references/video-examples/showcase/assets/voice.words.json +68 -0
  903. package/references/video-examples/showcase/video.json +550 -0
  904. package/references/video-examples/template-demo/TEMPLATE.md +30 -0
  905. package/references/video-examples/template-demo/fill.json +29 -0
  906. package/references/video-examples/template-demo/slots.json +210 -0
  907. package/references/video-examples/template-demo/template.json +105 -0
  908. package/references/video-motion.md +315 -0
  909. package/references/video-native-observation.md +37 -0
  910. package/references/video-performers.md +86 -0
  911. package/references/video-project.md +63 -0
  912. package/references/video-replication.md +276 -0
  913. package/references/video-scenes.md +366 -0
  914. package/references/video-sfx.md +109 -0
  915. package/references/video-sound.md +207 -0
  916. package/references/video-templates.md +177 -0
  917. package/references/video-tools.md +560 -0
  918. package/references/video.md +756 -0
  919. package/templates/community/README.md +274 -1
  920. package/templates/community/index.json +3829 -0
  921. package/templates/community/instagram-age-expectations/README.md +14 -0
  922. package/templates/community/instagram-age-expectations/SKILL.md +52 -0
  923. package/templates/community/instagram-age-expectations/source.json +9 -0
  924. package/templates/community/instagram-age-expectations/template.json +53 -0
  925. package/templates/community/instagram-artwork-detail/README.md +19 -0
  926. package/templates/community/instagram-artwork-detail/SKILL.md +53 -0
  927. package/templates/community/instagram-artwork-detail/source.json +9 -0
  928. package/templates/community/instagram-artwork-detail/template.json +61 -0
  929. package/templates/community/instagram-balanced-traits/README.md +12 -0
  930. package/templates/community/instagram-balanced-traits/SKILL.md +52 -0
  931. package/templates/community/instagram-balanced-traits/source.json +9 -0
  932. package/templates/community/instagram-balanced-traits/template.json +53 -0
  933. package/templates/community/instagram-behind-the-scenes/README.md +12 -0
  934. package/templates/community/instagram-behind-the-scenes/SKILL.md +53 -0
  935. package/templates/community/instagram-behind-the-scenes/source.json +9 -0
  936. package/templates/community/instagram-behind-the-scenes/template.json +52 -0
  937. package/templates/community/instagram-brand-personification/README.md +26 -0
  938. package/templates/community/instagram-brand-personification/SKILL.md +53 -0
  939. package/templates/community/instagram-brand-personification/source.json +9 -0
  940. package/templates/community/instagram-brand-personification/template.json +66 -0
  941. package/templates/community/instagram-brand-system/README.md +17 -0
  942. package/templates/community/instagram-brand-system/SKILL.md +53 -0
  943. package/templates/community/instagram-brand-system/source.json +9 -0
  944. package/templates/community/instagram-brand-system/template.json +60 -0
  945. package/templates/community/instagram-calendar-cheat-sheet/README.md +8 -0
  946. package/templates/community/instagram-calendar-cheat-sheet/SKILL.md +53 -0
  947. package/templates/community/instagram-calendar-cheat-sheet/source.json +9 -0
  948. package/templates/community/instagram-calendar-cheat-sheet/template.json +47 -0
  949. package/templates/community/instagram-capacity-planning/README.md +12 -0
  950. package/templates/community/instagram-capacity-planning/SKILL.md +53 -0
  951. package/templates/community/instagram-capacity-planning/source.json +9 -0
  952. package/templates/community/instagram-capacity-planning/template.json +55 -0
  953. package/templates/community/instagram-category-use-guide/README.md +14 -0
  954. package/templates/community/instagram-category-use-guide/SKILL.md +53 -0
  955. package/templates/community/instagram-category-use-guide/source.json +9 -0
  956. package/templates/community/instagram-category-use-guide/template.json +55 -0
  957. package/templates/community/instagram-character-led-tour/README.md +17 -0
  958. package/templates/community/instagram-character-led-tour/SKILL.md +53 -0
  959. package/templates/community/instagram-character-led-tour/source.json +9 -0
  960. package/templates/community/instagram-character-led-tour/template.json +56 -0
  961. package/templates/community/instagram-comic-dialogue/README.md +16 -0
  962. package/templates/community/instagram-comic-dialogue/SKILL.md +53 -0
  963. package/templates/community/instagram-comic-dialogue/source.json +9 -0
  964. package/templates/community/instagram-comic-dialogue/template.json +59 -0
  965. package/templates/community/instagram-command-shortcuts/README.md +13 -0
  966. package/templates/community/instagram-command-shortcuts/SKILL.md +53 -0
  967. package/templates/community/instagram-command-shortcuts/source.json +9 -0
  968. package/templates/community/instagram-command-shortcuts/template.json +52 -0
  969. package/templates/community/instagram-context-changes-meaning/README.md +11 -0
  970. package/templates/community/instagram-context-changes-meaning/SKILL.md +53 -0
  971. package/templates/community/instagram-context-changes-meaning/source.json +9 -0
  972. package/templates/community/instagram-context-changes-meaning/template.json +54 -0
  973. package/templates/community/instagram-continuous-canvas/README.md +16 -0
  974. package/templates/community/instagram-continuous-canvas/SKILL.md +52 -0
  975. package/templates/community/instagram-continuous-canvas/source.json +9 -0
  976. package/templates/community/instagram-continuous-canvas/template.json +59 -0
  977. package/templates/community/instagram-conversation-questions/README.md +12 -0
  978. package/templates/community/instagram-conversation-questions/SKILL.md +52 -0
  979. package/templates/community/instagram-conversation-questions/source.json +9 -0
  980. package/templates/community/instagram-conversation-questions/template.json +51 -0
  981. package/templates/community/instagram-copy-alternatives/README.md +11 -0
  982. package/templates/community/instagram-copy-alternatives/SKILL.md +53 -0
  983. package/templates/community/instagram-copy-alternatives/source.json +9 -0
  984. package/templates/community/instagram-copy-alternatives/template.json +50 -0
  985. package/templates/community/instagram-copyable-notes/README.md +13 -0
  986. package/templates/community/instagram-copyable-notes/SKILL.md +52 -0
  987. package/templates/community/instagram-copyable-notes/source.json +9 -0
  988. package/templates/community/instagram-copyable-notes/template.json +51 -0
  989. package/templates/community/instagram-curated-resources/README.md +13 -0
  990. package/templates/community/instagram-curated-resources/SKILL.md +52 -0
  991. package/templates/community/instagram-curated-resources/source.json +9 -0
  992. package/templates/community/instagram-curated-resources/template.json +54 -0
  993. package/templates/community/instagram-destination-costs/README.md +17 -0
  994. package/templates/community/instagram-destination-costs/SKILL.md +52 -0
  995. package/templates/community/instagram-destination-costs/source.json +9 -0
  996. package/templates/community/instagram-destination-costs/template.json +56 -0
  997. package/templates/community/instagram-diagram-reference/README.md +10 -0
  998. package/templates/community/instagram-diagram-reference/SKILL.md +53 -0
  999. package/templates/community/instagram-diagram-reference/source.json +9 -0
  1000. package/templates/community/instagram-diagram-reference/template.json +52 -0
  1001. package/templates/community/instagram-different-perspectives/README.md +15 -0
  1002. package/templates/community/instagram-different-perspectives/SKILL.md +53 -0
  1003. package/templates/community/instagram-different-perspectives/source.json +9 -0
  1004. package/templates/community/instagram-different-perspectives/template.json +55 -0
  1005. package/templates/community/instagram-document-reveal/README.md +8 -0
  1006. package/templates/community/instagram-document-reveal/SKILL.md +53 -0
  1007. package/templates/community/instagram-document-reveal/source.json +9 -0
  1008. package/templates/community/instagram-document-reveal/template.json +46 -0
  1009. package/templates/community/instagram-effect-breakdown/README.md +14 -0
  1010. package/templates/community/instagram-effect-breakdown/SKILL.md +53 -0
  1011. package/templates/community/instagram-effect-breakdown/source.json +9 -0
  1012. package/templates/community/instagram-effect-breakdown/template.json +55 -0
  1013. package/templates/community/instagram-effort-and-outcome/README.md +13 -0
  1014. package/templates/community/instagram-effort-and-outcome/SKILL.md +52 -0
  1015. package/templates/community/instagram-effort-and-outcome/source.json +9 -0
  1016. package/templates/community/instagram-effort-and-outcome/template.json +54 -0
  1017. package/templates/community/instagram-emotion-and-meaning/README.md +16 -0
  1018. package/templates/community/instagram-emotion-and-meaning/SKILL.md +52 -0
  1019. package/templates/community/instagram-emotion-and-meaning/source.json +9 -0
  1020. package/templates/community/instagram-emotion-and-meaning/template.json +56 -0
  1021. package/templates/community/instagram-everyday-interface-story/README.md +12 -0
  1022. package/templates/community/instagram-everyday-interface-story/SKILL.md +53 -0
  1023. package/templates/community/instagram-everyday-interface-story/source.json +9 -0
  1024. package/templates/community/instagram-everyday-interface-story/template.json +51 -0
  1025. package/templates/community/instagram-everyday-photo-diary/README.md +16 -0
  1026. package/templates/community/instagram-everyday-photo-diary/SKILL.md +52 -0
  1027. package/templates/community/instagram-everyday-photo-diary/source.json +9 -0
  1028. package/templates/community/instagram-everyday-photo-diary/template.json +61 -0
  1029. package/templates/community/instagram-evidence-to-method/README.md +13 -0
  1030. package/templates/community/instagram-evidence-to-method/SKILL.md +53 -0
  1031. package/templates/community/instagram-evidence-to-method/source.json +9 -0
  1032. package/templates/community/instagram-evidence-to-method/template.json +56 -0
  1033. package/templates/community/instagram-expectation-reality-review/README.md +18 -0
  1034. package/templates/community/instagram-expectation-reality-review/SKILL.md +53 -0
  1035. package/templates/community/instagram-expectation-reality-review/source.json +9 -0
  1036. package/templates/community/instagram-expectation-reality-review/template.json +57 -0
  1037. package/templates/community/instagram-experiment-story/README.md +20 -0
  1038. package/templates/community/instagram-experiment-story/SKILL.md +54 -0
  1039. package/templates/community/instagram-experiment-story/source.json +9 -0
  1040. package/templates/community/instagram-experiment-story/template.json +58 -0
  1041. package/templates/community/instagram-fill-in-speech/README.md +14 -0
  1042. package/templates/community/instagram-fill-in-speech/SKILL.md +53 -0
  1043. package/templates/community/instagram-fill-in-speech/source.json +9 -0
  1044. package/templates/community/instagram-fill-in-speech/template.json +53 -0
  1045. package/templates/community/instagram-fill-in-workbook/README.md +16 -0
  1046. package/templates/community/instagram-fill-in-workbook/SKILL.md +53 -0
  1047. package/templates/community/instagram-fill-in-workbook/source.json +9 -0
  1048. package/templates/community/instagram-fill-in-workbook/template.json +57 -0
  1049. package/templates/community/instagram-font-pairing/README.md +14 -0
  1050. package/templates/community/instagram-font-pairing/SKILL.md +52 -0
  1051. package/templates/community/instagram-font-pairing/source.json +9 -0
  1052. package/templates/community/instagram-font-pairing/template.json +53 -0
  1053. package/templates/community/instagram-goal-benchmarks/README.md +12 -0
  1054. package/templates/community/instagram-goal-benchmarks/SKILL.md +53 -0
  1055. package/templates/community/instagram-goal-benchmarks/source.json +9 -0
  1056. package/templates/community/instagram-goal-benchmarks/template.json +51 -0
  1057. package/templates/community/instagram-identity-match/README.md +19 -0
  1058. package/templates/community/instagram-identity-match/SKILL.md +52 -0
  1059. package/templates/community/instagram-identity-match/source.json +9 -0
  1060. package/templates/community/instagram-identity-match/template.json +64 -0
  1061. package/templates/community/instagram-illustrated-opinion/README.md +16 -0
  1062. package/templates/community/instagram-illustrated-opinion/SKILL.md +52 -0
  1063. package/templates/community/instagram-illustrated-opinion/source.json +9 -0
  1064. package/templates/community/instagram-illustrated-opinion/template.json +56 -0
  1065. package/templates/community/instagram-illustrated-story-explainer/README.md +14 -0
  1066. package/templates/community/instagram-illustrated-story-explainer/SKILL.md +53 -0
  1067. package/templates/community/instagram-illustrated-story-explainer/source.json +9 -0
  1068. package/templates/community/instagram-illustrated-story-explainer/template.json +55 -0
  1069. package/templates/community/instagram-image-to-palette/README.md +17 -0
  1070. package/templates/community/instagram-image-to-palette/SKILL.md +53 -0
  1071. package/templates/community/instagram-image-to-palette/source.json +9 -0
  1072. package/templates/community/instagram-image-to-palette/template.json +58 -0
  1073. package/templates/community/instagram-incremental-assembly/README.md +15 -0
  1074. package/templates/community/instagram-incremental-assembly/SKILL.md +52 -0
  1075. package/templates/community/instagram-incremental-assembly/source.json +9 -0
  1076. package/templates/community/instagram-incremental-assembly/template.json +55 -0
  1077. package/templates/community/instagram-interview-storyboard/README.md +25 -0
  1078. package/templates/community/instagram-interview-storyboard/SKILL.md +53 -0
  1079. package/templates/community/instagram-interview-storyboard/source.json +9 -0
  1080. package/templates/community/instagram-interview-storyboard/template.json +65 -0
  1081. package/templates/community/instagram-launch-news/README.md +9 -0
  1082. package/templates/community/instagram-launch-news/SKILL.md +53 -0
  1083. package/templates/community/instagram-launch-news/source.json +9 -0
  1084. package/templates/community/instagram-launch-news/template.json +55 -0
  1085. package/templates/community/instagram-layout-anatomy/README.md +12 -0
  1086. package/templates/community/instagram-layout-anatomy/SKILL.md +53 -0
  1087. package/templates/community/instagram-layout-anatomy/source.json +9 -0
  1088. package/templates/community/instagram-layout-anatomy/template.json +54 -0
  1089. package/templates/community/instagram-learning-path/README.md +14 -0
  1090. package/templates/community/instagram-learning-path/SKILL.md +53 -0
  1091. package/templates/community/instagram-learning-path/source.json +9 -0
  1092. package/templates/community/instagram-learning-path/template.json +55 -0
  1093. package/templates/community/instagram-local-picks/README.md +16 -0
  1094. package/templates/community/instagram-local-picks/SKILL.md +52 -0
  1095. package/templates/community/instagram-local-picks/source.json +9 -0
  1096. package/templates/community/instagram-local-picks/template.json +55 -0
  1097. package/templates/community/instagram-matched-test/README.md +10 -0
  1098. package/templates/community/instagram-matched-test/SKILL.md +53 -0
  1099. package/templates/community/instagram-matched-test/source.json +9 -0
  1100. package/templates/community/instagram-matched-test/template.json +49 -0
  1101. package/templates/community/instagram-metric-formulas/README.md +15 -0
  1102. package/templates/community/instagram-metric-formulas/SKILL.md +53 -0
  1103. package/templates/community/instagram-metric-formulas/source.json +9 -0
  1104. package/templates/community/instagram-metric-formulas/template.json +55 -0
  1105. package/templates/community/instagram-milestones-and-feelings/README.md +13 -0
  1106. package/templates/community/instagram-milestones-and-feelings/SKILL.md +52 -0
  1107. package/templates/community/instagram-milestones-and-feelings/source.json +9 -0
  1108. package/templates/community/instagram-milestones-and-feelings/template.json +56 -0
  1109. package/templates/community/instagram-mistakes-and-alternatives/README.md +12 -0
  1110. package/templates/community/instagram-mistakes-and-alternatives/SKILL.md +52 -0
  1111. package/templates/community/instagram-mistakes-and-alternatives/source.json +9 -0
  1112. package/templates/community/instagram-mistakes-and-alternatives/template.json +53 -0
  1113. package/templates/community/instagram-myth-and-fact/README.md +12 -0
  1114. package/templates/community/instagram-myth-and-fact/SKILL.md +53 -0
  1115. package/templates/community/instagram-myth-and-fact/source.json +9 -0
  1116. package/templates/community/instagram-myth-and-fact/template.json +51 -0
  1117. package/templates/community/instagram-news-digest/README.md +13 -0
  1118. package/templates/community/instagram-news-digest/SKILL.md +53 -0
  1119. package/templates/community/instagram-news-digest/source.json +9 -0
  1120. package/templates/community/instagram-news-digest/template.json +52 -0
  1121. package/templates/community/instagram-numbers-at-human-scale/README.md +12 -0
  1122. package/templates/community/instagram-numbers-at-human-scale/SKILL.md +53 -0
  1123. package/templates/community/instagram-numbers-at-human-scale/source.json +9 -0
  1124. package/templates/community/instagram-numbers-at-human-scale/template.json +52 -0
  1125. package/templates/community/instagram-object-led-activities/README.md +16 -0
  1126. package/templates/community/instagram-object-led-activities/SKILL.md +53 -0
  1127. package/templates/community/instagram-object-led-activities/source.json +9 -0
  1128. package/templates/community/instagram-object-led-activities/template.json +56 -0
  1129. package/templates/community/instagram-object-name-origins/README.md +11 -0
  1130. package/templates/community/instagram-object-name-origins/SKILL.md +52 -0
  1131. package/templates/community/instagram-object-name-origins/source.json +9 -0
  1132. package/templates/community/instagram-object-name-origins/template.json +52 -0
  1133. package/templates/community/instagram-one-input-many-results/README.md +14 -0
  1134. package/templates/community/instagram-one-input-many-results/SKILL.md +53 -0
  1135. package/templates/community/instagram-one-input-many-results/source.json +9 -0
  1136. package/templates/community/instagram-one-input-many-results/template.json +52 -0
  1137. package/templates/community/instagram-one-variable-comparison/README.md +11 -0
  1138. package/templates/community/instagram-one-variable-comparison/SKILL.md +53 -0
  1139. package/templates/community/instagram-one-variable-comparison/source.json +9 -0
  1140. package/templates/community/instagram-one-variable-comparison/template.json +52 -0
  1141. package/templates/community/instagram-opportunity-guide/README.md +18 -0
  1142. package/templates/community/instagram-opportunity-guide/SKILL.md +53 -0
  1143. package/templates/community/instagram-opportunity-guide/source.json +9 -0
  1144. package/templates/community/instagram-opportunity-guide/template.json +57 -0
  1145. package/templates/community/instagram-palette-application-board/README.md +11 -0
  1146. package/templates/community/instagram-palette-application-board/SKILL.md +52 -0
  1147. package/templates/community/instagram-palette-application-board/source.json +9 -0
  1148. package/templates/community/instagram-palette-application-board/template.json +52 -0
  1149. package/templates/community/instagram-personal-budget-case/README.md +14 -0
  1150. package/templates/community/instagram-personal-budget-case/SKILL.md +53 -0
  1151. package/templates/community/instagram-personal-budget-case/source.json +9 -0
  1152. package/templates/community/instagram-personal-budget-case/template.json +53 -0
  1153. package/templates/community/instagram-personal-experiment/README.md +11 -0
  1154. package/templates/community/instagram-personal-experiment/SKILL.md +53 -0
  1155. package/templates/community/instagram-personal-experiment/source.json +9 -0
  1156. package/templates/community/instagram-personal-experiment/template.json +52 -0
  1157. package/templates/community/instagram-photo-and-technical-sketch/README.md +10 -0
  1158. package/templates/community/instagram-photo-and-technical-sketch/SKILL.md +53 -0
  1159. package/templates/community/instagram-photo-and-technical-sketch/source.json +9 -0
  1160. package/templates/community/instagram-photo-and-technical-sketch/template.json +49 -0
  1161. package/templates/community/instagram-photo-moment-story/README.md +12 -0
  1162. package/templates/community/instagram-photo-moment-story/SKILL.md +53 -0
  1163. package/templates/community/instagram-photo-moment-story/source.json +9 -0
  1164. package/templates/community/instagram-photo-moment-story/template.json +53 -0
  1165. package/templates/community/instagram-product-change/README.md +9 -0
  1166. package/templates/community/instagram-product-change/SKILL.md +53 -0
  1167. package/templates/community/instagram-product-change/source.json +10 -0
  1168. package/templates/community/instagram-product-change/template.json +53 -0
  1169. package/templates/community/instagram-prompt-result-reference/README.md +26 -0
  1170. package/templates/community/instagram-prompt-result-reference/SKILL.md +53 -0
  1171. package/templates/community/instagram-prompt-result-reference/source.json +9 -0
  1172. package/templates/community/instagram-prompt-result-reference/template.json +68 -0
  1173. package/templates/community/instagram-public-follow-up/README.md +15 -0
  1174. package/templates/community/instagram-public-follow-up/SKILL.md +53 -0
  1175. package/templates/community/instagram-public-follow-up/source.json +9 -0
  1176. package/templates/community/instagram-public-follow-up/template.json +54 -0
  1177. package/templates/community/instagram-reader-question-answer/README.md +10 -0
  1178. package/templates/community/instagram-reader-question-answer/SKILL.md +53 -0
  1179. package/templates/community/instagram-reader-question-answer/source.json +9 -0
  1180. package/templates/community/instagram-reader-question-answer/template.json +48 -0
  1181. package/templates/community/instagram-remaining-capacity/README.md +11 -0
  1182. package/templates/community/instagram-remaining-capacity/SKILL.md +52 -0
  1183. package/templates/community/instagram-remaining-capacity/source.json +9 -0
  1184. package/templates/community/instagram-remaining-capacity/template.json +52 -0
  1185. package/templates/community/instagram-research-brief/README.md +16 -0
  1186. package/templates/community/instagram-research-brief/SKILL.md +53 -0
  1187. package/templates/community/instagram-research-brief/source.json +9 -0
  1188. package/templates/community/instagram-research-brief/template.json +54 -0
  1189. package/templates/community/instagram-result-and-recipe/README.md +17 -0
  1190. package/templates/community/instagram-result-and-recipe/SKILL.md +53 -0
  1191. package/templates/community/instagram-result-and-recipe/source.json +9 -0
  1192. package/templates/community/instagram-result-and-recipe/template.json +56 -0
  1193. package/templates/community/instagram-result-to-steps/README.md +13 -0
  1194. package/templates/community/instagram-result-to-steps/SKILL.md +53 -0
  1195. package/templates/community/instagram-result-to-steps/source.json +9 -0
  1196. package/templates/community/instagram-result-to-steps/template.json +51 -0
  1197. package/templates/community/instagram-reverse-instruction/README.md +15 -0
  1198. package/templates/community/instagram-reverse-instruction/SKILL.md +53 -0
  1199. package/templates/community/instagram-reverse-instruction/source.json +9 -0
  1200. package/templates/community/instagram-reverse-instruction/template.json +54 -0
  1201. package/templates/community/instagram-said-and-meant/README.md +9 -0
  1202. package/templates/community/instagram-said-and-meant/SKILL.md +52 -0
  1203. package/templates/community/instagram-said-and-meant/source.json +10 -0
  1204. package/templates/community/instagram-said-and-meant/template.json +46 -0
  1205. package/templates/community/instagram-same-budget-choices/README.md +12 -0
  1206. package/templates/community/instagram-same-budget-choices/SKILL.md +53 -0
  1207. package/templates/community/instagram-same-budget-choices/source.json +9 -0
  1208. package/templates/community/instagram-same-budget-choices/template.json +52 -0
  1209. package/templates/community/instagram-screenshot-walkthrough/README.md +12 -0
  1210. package/templates/community/instagram-screenshot-walkthrough/SKILL.md +53 -0
  1211. package/templates/community/instagram-screenshot-walkthrough/source.json +9 -0
  1212. package/templates/community/instagram-screenshot-walkthrough/template.json +58 -0
  1213. package/templates/community/instagram-searchable-asset-index/README.md +13 -0
  1214. package/templates/community/instagram-searchable-asset-index/SKILL.md +52 -0
  1215. package/templates/community/instagram-searchable-asset-index/source.json +9 -0
  1216. package/templates/community/instagram-searchable-asset-index/template.json +53 -0
  1217. package/templates/community/instagram-similar-concepts/README.md +15 -0
  1218. package/templates/community/instagram-similar-concepts/SKILL.md +52 -0
  1219. package/templates/community/instagram-similar-concepts/source.json +9 -0
  1220. package/templates/community/instagram-similar-concepts/template.json +54 -0
  1221. package/templates/community/instagram-single-event-news/README.md +14 -0
  1222. package/templates/community/instagram-single-event-news/SKILL.md +53 -0
  1223. package/templates/community/instagram-single-event-news/source.json +9 -0
  1224. package/templates/community/instagram-single-event-news/template.json +56 -0
  1225. package/templates/community/instagram-style-assembly/README.md +13 -0
  1226. package/templates/community/instagram-style-assembly/SKILL.md +53 -0
  1227. package/templates/community/instagram-style-assembly/source.json +9 -0
  1228. package/templates/community/instagram-style-assembly/template.json +53 -0
  1229. package/templates/community/instagram-style-choice/README.md +14 -0
  1230. package/templates/community/instagram-style-choice/SKILL.md +53 -0
  1231. package/templates/community/instagram-style-choice/source.json +9 -0
  1232. package/templates/community/instagram-style-choice/template.json +58 -0
  1233. package/templates/community/instagram-symbolism-in-artifact/README.md +9 -0
  1234. package/templates/community/instagram-symbolism-in-artifact/SKILL.md +52 -0
  1235. package/templates/community/instagram-symbolism-in-artifact/source.json +9 -0
  1236. package/templates/community/instagram-symbolism-in-artifact/template.json +47 -0
  1237. package/templates/community/instagram-taste-matched-recommendations/README.md +17 -0
  1238. package/templates/community/instagram-taste-matched-recommendations/SKILL.md +52 -0
  1239. package/templates/community/instagram-taste-matched-recommendations/source.json +9 -0
  1240. package/templates/community/instagram-taste-matched-recommendations/template.json +56 -0
  1241. package/templates/community/instagram-then-now-pairs/README.md +14 -0
  1242. package/templates/community/instagram-then-now-pairs/SKILL.md +52 -0
  1243. package/templates/community/instagram-then-now-pairs/source.json +9 -0
  1244. package/templates/community/instagram-then-now-pairs/template.json +52 -0
  1245. package/templates/community/instagram-timed-action-plan/README.md +15 -0
  1246. package/templates/community/instagram-timed-action-plan/SKILL.md +53 -0
  1247. package/templates/community/instagram-timed-action-plan/source.json +9 -0
  1248. package/templates/community/instagram-timed-action-plan/template.json +60 -0
  1249. package/templates/community/instagram-tools-by-task/README.md +13 -0
  1250. package/templates/community/instagram-tools-by-task/SKILL.md +53 -0
  1251. package/templates/community/instagram-tools-by-task/source.json +9 -0
  1252. package/templates/community/instagram-tools-by-task/template.json +57 -0
  1253. package/templates/community/instagram-two-perspectives/README.md +8 -0
  1254. package/templates/community/instagram-two-perspectives/SKILL.md +52 -0
  1255. package/templates/community/instagram-two-perspectives/source.json +9 -0
  1256. package/templates/community/instagram-two-perspectives/template.json +47 -0
  1257. package/templates/community/instagram-two-views-one-dataset/README.md +8 -0
  1258. package/templates/community/instagram-two-views-one-dataset/SKILL.md +53 -0
  1259. package/templates/community/instagram-two-views-one-dataset/source.json +9 -0
  1260. package/templates/community/instagram-two-views-one-dataset/template.json +51 -0
  1261. package/templates/community/instagram-version-change-audit/README.md +10 -0
  1262. package/templates/community/instagram-version-change-audit/SKILL.md +53 -0
  1263. package/templates/community/instagram-version-change-audit/source.json +9 -0
  1264. package/templates/community/instagram-version-change-audit/template.json +51 -0
  1265. package/templates/community/instagram-visual-analogy/README.md +13 -0
  1266. package/templates/community/instagram-visual-analogy/SKILL.md +53 -0
  1267. package/templates/community/instagram-visual-analogy/source.json +9 -0
  1268. package/templates/community/instagram-visual-analogy/template.json +53 -0
  1269. package/templates/community/instagram-visual-guess/README.md +15 -0
  1270. package/templates/community/instagram-visual-guess/SKILL.md +53 -0
  1271. package/templates/community/instagram-visual-guess/source.json +9 -0
  1272. package/templates/community/instagram-visual-guess/template.json +54 -0
  1273. package/templates/community/instagram-visual-technique-reference/README.md +18 -0
  1274. package/templates/community/instagram-visual-technique-reference/SKILL.md +53 -0
  1275. package/templates/community/instagram-visual-technique-reference/source.json +9 -0
  1276. package/templates/community/instagram-visual-technique-reference/template.json +60 -0
  1277. package/templates/community/instagram-worked-examples/README.md +13 -0
  1278. package/templates/community/instagram-worked-examples/SKILL.md +52 -0
  1279. package/templates/community/instagram-worked-examples/source.json +9 -0
  1280. package/templates/community/instagram-worked-examples/template.json +57 -0
@@ -1,2 +1,2 @@
1
- import{n as e,t}from"./index-DjfLTPyx.js";var n=t(((t,n)=>{(function(e){typeof t==`object`&&n!==void 0?n.exports=e():typeof define==`function`&&define.amd?define([],e):(typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this).JSZip=e()})(function(){return function t(n,r,i){function a(s,c){if(!r[s]){if(!n[s]){var l=typeof e==`function`&&e;if(!c&&l)return l(s,!0);if(o)return o(s,!0);var u=Error(`Cannot find module '`+s+`'`);throw u.code=`MODULE_NOT_FOUND`,u}var d=r[s]={exports:{}};n[s][0].call(d.exports,function(e){var t=n[s][1][e];return a(t||e)},d,d.exports,t,n,r,i)}return r[s].exports}for(var o=typeof e==`function`&&e,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(e,t,n){var r=e(`./utils`),i=e(`./support`),a=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;n.encode=function(e){for(var t,n,i,o,s,c,l,u=[],d=0,f=e.length,p=f,m=r.getTypeOf(e)!==`string`;d<e.length;)p=f-d,i=m?(t=e[d++],n=d<f?e[d++]:0,d<f?e[d++]:0):(t=e.charCodeAt(d++),n=d<f?e.charCodeAt(d++):0,d<f?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|n>>4,c=1<p?(15&n)<<2|i>>6:64,l=2<p?63&i:64,u.push(a.charAt(o)+a.charAt(s)+a.charAt(c)+a.charAt(l));return u.join(``)},n.decode=function(e){var t,n,r,o,s,c,l=0,u=0,d=`data:`;if(e.substr(0,d.length)===d)throw Error(`Invalid base64 input, it looks like a data url.`);var f,p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,``)).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&p--,e.charAt(e.length-2)===a.charAt(64)&&p--,p%1!=0)throw Error(`Invalid base64 input, bad content length.`);for(f=i.uint8array?new Uint8Array(0|p):Array(0|p);l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(o=a.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(s=a.indexOf(e.charAt(l++)))>>2,r=(3&s)<<6|(c=a.indexOf(e.charAt(l++))),f[u++]=t,s!==64&&(f[u++]=n),c!==64&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e(`./external`),i=e(`./stream/DataWorker`),a=e(`./stream/Crc32Probe`),o=e(`./stream/DataLengthProbe`);function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o(`data_length`)),t=this;return e.on(`end`,function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error(`Bug : uncompressed data size mismatch`)}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo(`compressedSize`,this.compressedSize).withStreamInfo(`uncompressedSize`,this.uncompressedSize).withStreamInfo(`crc32`,this.crc32).withStreamInfo(`compression`,this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new o(`uncompressedSize`)).pipe(t.compressWorker(n)).pipe(new o(`compressedSize`)).withStreamInfo(`compression`,t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e(`./stream/GenericWorker`);n.STORE={magic:`\0\0`,compressWorker:function(){return new r(`STORE compression`)},uncompressWorker:function(){return new r(`STORE decompression`)}},n.DEFLATE=e(`./flate`)},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e(`./utils`),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return e!==void 0&&e.length?r.getTypeOf(e)===`string`?function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r=null;r=typeof Promise<`u`?Promise:e(`lie`),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Uint32Array<`u`,i=e(`pako`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=r?`uint8array`:`array`;function c(e,t){o.call(this,`FlateWorker/`+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic=`\b\0`,a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c(`Deflate`,e)},n.uncompressWorker=function(){return new c(`Inflate`,{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r=``;for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,o,u){var d,f,p=e.file,m=e.compression,h=u!==s.utf8encode,g=a.transformTo(`string`,u(p.name)),_=a.transformTo(`string`,s.utf8encode(p.name)),v=p.comment,y=a.transformTo(`string`,u(v)),b=a.transformTo(`string`,s.utf8encode(v)),x=_.length!==p.name.length,S=b.length!==v.length,C=``,w=``,T=``,E=p.dir,D=p.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var k=0;t&&(k|=8),h||!x&&!S||(k|=2048);var A=0,j=0;E&&(A|=16),o===`UNIX`?(j=798,A|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,E)):(j=20,A|=function(e){return 63&(e||0)}(p.dosPermissions)),d=D.getUTCHours(),d<<=6,d|=D.getUTCMinutes(),d<<=5,d|=D.getUTCSeconds()/2,f=D.getUTCFullYear()-1980,f<<=4,f|=D.getUTCMonth()+1,f<<=5,f|=D.getUTCDate(),x&&(w=r(1,1)+r(c(g),4)+_,C+=`up`+r(w.length,2)+w),S&&(T=r(1,1)+r(c(y),4)+b,C+=`uc`+r(T.length,2)+T);var M=``;return M+=`
1
+ import{n as e,t}from"./index-DhwyFpu2.js";var n=t(((t,n)=>{(function(e){typeof t==`object`&&n!==void 0?n.exports=e():typeof define==`function`&&define.amd?define([],e):(typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:this).JSZip=e()})(function(){return function t(n,r,i){function a(s,c){if(!r[s]){if(!n[s]){var l=typeof e==`function`&&e;if(!c&&l)return l(s,!0);if(o)return o(s,!0);var u=Error(`Cannot find module '`+s+`'`);throw u.code=`MODULE_NOT_FOUND`,u}var d=r[s]={exports:{}};n[s][0].call(d.exports,function(e){var t=n[s][1][e];return a(t||e)},d,d.exports,t,n,r,i)}return r[s].exports}for(var o=typeof e==`function`&&e,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(e,t,n){var r=e(`./utils`),i=e(`./support`),a=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`;n.encode=function(e){for(var t,n,i,o,s,c,l,u=[],d=0,f=e.length,p=f,m=r.getTypeOf(e)!==`string`;d<e.length;)p=f-d,i=m?(t=e[d++],n=d<f?e[d++]:0,d<f?e[d++]:0):(t=e.charCodeAt(d++),n=d<f?e.charCodeAt(d++):0,d<f?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|n>>4,c=1<p?(15&n)<<2|i>>6:64,l=2<p?63&i:64,u.push(a.charAt(o)+a.charAt(s)+a.charAt(c)+a.charAt(l));return u.join(``)},n.decode=function(e){var t,n,r,o,s,c,l=0,u=0,d=`data:`;if(e.substr(0,d.length)===d)throw Error(`Invalid base64 input, it looks like a data url.`);var f,p=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,``)).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&p--,e.charAt(e.length-2)===a.charAt(64)&&p--,p%1!=0)throw Error(`Invalid base64 input, bad content length.`);for(f=i.uint8array?new Uint8Array(0|p):Array(0|p);l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(o=a.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(s=a.indexOf(e.charAt(l++)))>>2,r=(3&s)<<6|(c=a.indexOf(e.charAt(l++))),f[u++]=t,s!==64&&(f[u++]=n),c!==64&&(f[u++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e(`./external`),i=e(`./stream/DataWorker`),a=e(`./stream/Crc32Probe`),o=e(`./stream/DataLengthProbe`);function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o(`data_length`)),t=this;return e.on(`end`,function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error(`Bug : uncompressed data size mismatch`)}),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo(`compressedSize`,this.compressedSize).withStreamInfo(`uncompressedSize`,this.uncompressedSize).withStreamInfo(`crc32`,this.crc32).withStreamInfo(`compression`,this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new o(`uncompressedSize`)).pipe(t.compressWorker(n)).pipe(new o(`compressedSize`)).withStreamInfo(`compression`,t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e(`./stream/GenericWorker`);n.STORE={magic:`\0\0`,compressWorker:function(){return new r(`STORE compression`)},uncompressWorker:function(){return new r(`STORE decompression`)}},n.DEFLATE=e(`./flate`)},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e(`./utils`),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return e!==void 0&&e.length?r.getTypeOf(e)===`string`?function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var a=i,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r=null;r=typeof Promise<`u`?Promise:e(`lie`),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Uint32Array<`u`,i=e(`pako`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=r?`uint8array`:`array`;function c(e,t){o.call(this,`FlateWorker/`+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic=`\b\0`,a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new c(`Deflate`,e)},n.uncompressWorker=function(){return new c(`Inflate`,{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r=``;for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,n,i,o,u){var d,f,p=e.file,m=e.compression,h=u!==s.utf8encode,g=a.transformTo(`string`,u(p.name)),_=a.transformTo(`string`,s.utf8encode(p.name)),v=p.comment,y=a.transformTo(`string`,u(v)),b=a.transformTo(`string`,s.utf8encode(v)),x=_.length!==p.name.length,S=b.length!==v.length,C=``,w=``,T=``,E=p.dir,D=p.date,O={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(O.crc32=e.crc32,O.compressedSize=e.compressedSize,O.uncompressedSize=e.uncompressedSize);var k=0;t&&(k|=8),h||!x&&!S||(k|=2048);var A=0,j=0;E&&(A|=16),o===`UNIX`?(j=798,A|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,E)):(j=20,A|=function(e){return 63&(e||0)}(p.dosPermissions)),d=D.getUTCHours(),d<<=6,d|=D.getUTCMinutes(),d<<=5,d|=D.getUTCSeconds()/2,f=D.getUTCFullYear()-1980,f<<=4,f|=D.getUTCMonth()+1,f<<=5,f|=D.getUTCDate(),x&&(w=r(1,1)+r(c(g),4)+_,C+=`up`+r(w.length,2)+w),S&&(T=r(1,1)+r(c(y),4)+b,C+=`uc`+r(T.length,2)+T);var M=``;return M+=`
2
2
  \0`,M+=r(k,2),M+=m.magic,M+=r(d,2),M+=r(f,2),M+=r(O.crc32,4),M+=r(O.compressedSize,4),M+=r(O.uncompressedSize,4),M+=r(g.length,2),M+=r(C.length,2),{fileRecord:l.LOCAL_FILE_HEADER+M+g+C,dirRecord:l.CENTRAL_FILE_HEADER+r(j,2)+M+r(y.length,2)+`\0\0\0\0`+r(A,4)+r(i,4)+g+C+y}}var a=e(`../utils`),o=e(`../stream/GenericWorker`),s=e(`../utf8`),c=e(`../crc32`),l=e(`../signature`);function u(e,t,n,r){o.call(this,`ZipFileWorker`),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(u,o),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,i=function(e,t,n,i,o){var s=a.transformTo(`string`,o(i));return l.CENTRAL_DIRECTORY_END+`\0\0\0\0`+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on(`data`,function(e){t.processChunk(e)}),e.on(`end`,function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on(`error`,function(e){t.error(e)}),this},u.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch{}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e(`../compressions`),i=e(`./ZipFileWorker`);n.generateWorker=function(e,t,n){var a=new i(t.streamFiles,n,t.platform,t.encodeFileName),o=0;try{e.forEach(function(e,n){o++;var i=function(e,t){var n=e||t,i=r[n];if(!i)throw Error(n+` is not a valid compression method !`);return i}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},c=n.dir,l=n.date;n._compressWorker(i,s).withStreamInfo(`file`,{name:e,dir:c,date:l,comment:n.comment||``,unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(a)}),a.entriesCount=o}catch(e){a.error(e)}return a}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw 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 e=new r;for(var t in this)typeof this[t]!=`function`&&(e[t]=this[t]);return e}}(r.prototype=e(`./object`)).loadAsync=e(`./load`),r.support=e(`./support`),r.defaults=e(`./defaults`),r.version=`3.10.2`,r.loadAsync=function(e,t){return new r().loadAsync(e,t)},r.external=e(`./external`),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e(`./utils`),i=e(`./external`),a=e(`./utf8`),o=e(`./zipEntries`),s=e(`./stream/Crc32Probe`),c=e(`./nodejsUtils`);function l(e){return new i.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on(`error`,function(e){n(e)}).on(`end`,function(){r.streamInfo.crc32===e.decompressed.crc32?t():n(Error(`Corrupted zip : CRC32 mismatch`))}).resume()})}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),c.isNode&&c.isStream(e)?i.Promise.reject(Error(`JSZip can't accept a stream when loading a zip file.`)):r.prepareContent(`the loaded zip file`,e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new o(t);return n.load(e),n}).then(function(e){var n=[i.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var a=0;a<r.length;a++)n.push(l(r[a]));return i.Promise.all(n)}).then(function(e){for(var i=e.shift(),a=i.files,o=0;o<a.length;o++){var s=a[o],c=s.fileNameStr,l=r.resolve(s.fileNameStr);n.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(l).unsafeOriginalName=c)}return i.zipComment.length&&(n.comment=i.zipComment),n})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){var r=e(`../utils`),i=e(`../stream/GenericWorker`);function a(e,t){i.call(this,`Nodejs stream input adapter for `+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(a,i),a.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on(`data`,function(e){t.push({data:e,meta:{percent:0}})}).on(`error`,function(e){t.isPaused?this.generatedError=e:t.error(e)}).on(`end`,function(){t.isPaused?t._upstreamEnded=!0:t.end()})},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){var r=e(`readable-stream`).Readable;function i(e,t,n){r.call(this,t),this._helper=e;var i=this;e.on(`data`,function(e,t){i.push(e)||i._helper.pause(),n&&n(t)}).on(`error`,function(e){i.emit(`error`,e)}).on(`end`,function(){i.push(null)})}e(`../utils`).inherits(i,r),i.prototype._read=function(){this._helper.resume()},t.exports=i},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){t.exports={isNode:typeof Buffer<`u`,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if(typeof e==`number`)throw Error(`The "data" argument must not be a number`);return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&typeof e.on==`function`&&typeof e.pause==`function`&&typeof e.resume==`function`}}},{}],15:[function(e,t,n){function r(e,t,n){var r,i=a.getTypeOf(t),s=a.extend(n||{},c);s.date=s.date||new Date,s.compression!==null&&(s.compression=s.compression.toUpperCase()),typeof s.unixPermissions==`string`&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=h(e)),s.createFolders&&(r=m(e))&&g.call(this,r,!0);var d=i===`string`&&!1===s.binary&&!1===s.base64;n&&n.binary!==void 0||(s.binary=!d),(t instanceof l&&t.uncompressedSize===0||s.dir||!t||t.length===0)&&(s.base64=!1,s.binary=!0,t=``,s.compression=`STORE`,i=`string`);var _=null;_=t instanceof l||t instanceof o?t:f.isNode&&f.isStream(t)?new p(e,t):a.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var v=new u(e,_,s);this.files[e]=v}var i=e(`./utf8`),a=e(`./utils`),o=e(`./stream/GenericWorker`),s=e(`./stream/StreamHelper`),c=e(`./defaults`),l=e(`./compressedObject`),u=e(`./zipObject`),d=e(`./generate`),f=e(`./nodejsUtils`),p=e(`./nodejs/NodejsStreamInputAdapter`),m=function(e){e.slice(-1)===`/`&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf(`/`);return 0<t?e.substring(0,t):``},h=function(e){return e.slice(-1)!==`/`&&(e+=`/`),e},g=function(e,t){return t=t===void 0?c.createFolders:t,e=h(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function _(e){return Object.prototype.toString.call(e)===`[object RegExp]`}t.exports={load:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length!==1)return e=this.root+e,r.call(this,e,t,n),this;if(_(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var a=this.files[this.root+e];return a&&!a.dir?a:null},folder:function(e){if(!e)return this;if(_(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||=(e.slice(-1)!==`/`&&(e+=`/`),this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},generateInternalStream:function(e){var t,n={};try{if((n=a.extend(e||{},{streamFiles:!1,compression:`STORE`,compressionOptions:null,type:``,platform:`DOS`,comment:null,mimeType:`application/zip`,encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),n.type===`binarystring`&&(n.type=`string`),!n.type)throw Error(`No output type specified.`);a.checkSupport(n.type),n.platform!==`darwin`&&n.platform!==`freebsd`&&n.platform!==`linux`&&n.platform!==`sunos`||(n.platform=`UNIX`),n.platform===`win32`&&(n.platform=`DOS`);var r=n.comment||this.comment||``;t=d.generateWorker(this,n,r)}catch(e){(t=new o(`error`)).error(e)}return new s(t,n.type||`string`,n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e||={}).type||(e.type=`nodebuffer`),this.generateInternalStream(e).toNodejsStream(t)}}},{"./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(e,t,n){t.exports=e(`stream`)},{stream:void 0}],17:[function(e,t,n){var r=e(`./DataReader`);function i(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e(`../utils`).inherits(i,r),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;0<=a;--a)if(this.data[a]===t&&this.data[a+1]===n&&this.data[a+2]===r&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&n===a[1]&&r===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){var r=e(`../utils`);function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw Error(`End of data reached (data length = `+this.length+`, asked index = `+e+`). Corrupted zip ?`)},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo(`string`,this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){var r=e(`./Uint8ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var r=e(`./DataReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var r=e(`./ArrayReader`);function i(e){r.call(this,e)}e(`../utils`).inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array;var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var r=e(`../utils`),i=e(`../support`),a=e(`./ArrayReader`),o=e(`./StringReader`),s=e(`./NodeBufferReader`),c=e(`./Uint8ArrayReader`);t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),t!==`string`||i.uint8array?t===`nodebuffer`?new s(e):i.uint8array?new c(r.transformTo(`uint8array`,e)):new a(r.transformTo(`array`,e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER=`PK`,n.CENTRAL_FILE_HEADER=`PK`,n.CENTRAL_DIRECTORY_END=`PK`,n.ZIP64_CENTRAL_DIRECTORY_LOCATOR=`PK\x07`,n.ZIP64_CENTRAL_DIRECTORY_END=`PK`,n.DATA_DESCRIPTOR=`PK\x07\b`},{}],24:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../utils`);function a(e){r.call(this,`ConvertWorker to `+e),this.destType=e}i.inherits(a,r),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var r=e(`./GenericWorker`),i=e(`../crc32`);function a(){r.call(this,`Crc32Probe`),this.withStreamInfo(`crc32`,0)}e(`../utils`).inherits(a,r),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataLengthProbe for `+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var r=e(`../utils`),i=e(`./GenericWorker`);function a(e){i.call(this,`DataWorker`);var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=``,this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case`string`:e=this.data.substring(this.index,t);break;case`uint8array`:e=this.data.subarray(this.index,t);break;case`array`:case`nodebuffer`:e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function r(e){this.name=e||`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}r.prototype={push:function(e){this.emit(`data`,e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(`end`),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(`error`,e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(`error`,e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw Error(`The stream '`+this+`' has already been used.`);this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on(`data`,function(e){t.processChunk(e)}),e.on(`end`,function(){t.end()}),e.on(`error`,function(e){t.error(e)}),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 e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw Error(`The stream '`+this+`' has already been used.`);this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e=`Worker `+this.name;return this.previous?this.previous+` -> `+e:e}},t.exports=r},{}],29:[function(e,t,n){var r=e(`../utils`),i=e(`./ConvertWorker`),a=e(`./GenericWorker`),o=e(`../base64`),s=e(`../support`),c=e(`../external`),l=null;if(s.nodestream)try{l=e(`../nodejs/NodejsStreamOutputAdapter`)}catch{}function u(e,t){return new c.Promise(function(n,i){var a=[],s=e._internalType,c=e._outputType,l=e._mimeType;e.on(`data`,function(e,n){a.push(e),t&&t(n)}).on(`error`,function(e){a=[],i(e)}).on(`end`,function(){try{n(function(e,t,n){switch(e){case`blob`:return r.newBlob(r.transformTo(`arraybuffer`,t),n);case`base64`:return o.encode(t);default:return r.transformTo(e,t)}}(c,function(e,t){var n,r=0,i=null,a=0;for(n=0;n<t.length;n++)a+=t[n].length;switch(e){case`string`:return t.join(``);case`array`:return Array.prototype.concat.apply([],t);case`uint8array`:for(i=new Uint8Array(a),n=0;n<t.length;n++)i.set(t[n],r),r+=t[n].length;return i;case`nodebuffer`:return Buffer.concat(t);default:throw Error(`concat : unsupported type '`+e+`'`)}}(s,a),l))}catch(e){i(e)}a=[]}).resume()})}function d(e,t,n){var o=t;switch(t){case`blob`:case`arraybuffer`:o=`uint8array`;break;case`base64`:o=`string`}try{this._internalType=o,this._outputType=t,this._mimeType=n,r.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new a(`error`),this._worker.error(e)}}d.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var n=this;return e===`data`?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){r.delay(t,arguments,n)}),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(r.checkSupport(`nodestream`),this._outputType!==`nodebuffer`)throw Error(this._outputType+` is not supported by this method`);return new l(this,{objectMode:this._outputType!==`nodebuffer`},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer=typeof ArrayBuffer<`u`&&typeof Uint8Array<`u`,n.nodebuffer=typeof Buffer<`u`,n.uint8array=typeof Uint8Array<`u`,typeof ArrayBuffer>`u`)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=new Blob([r],{type:`application/zip`}).size===0}catch{try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(r),n.blob=i.getBlob(`application/zip`).size===0}catch{n.blob=!1}}}try{n.nodestream=!!e(`readable-stream`).Readable}catch{n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var r=e(`./utils`),i=e(`./support`),a=e(`./nodejsUtils`),o=e(`./stream/GenericWorker`),s=Array(256),c=0;c<256;c++)s[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;s[254]=s[254]=1;function l(){o.call(this,`utf-8 decode`),this.leftOver=null}function u(){o.call(this,`utf-8 encode`)}n.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,`utf-8`):function(e){var t,n,r,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=i.uint8array?new Uint8Array(c):Array(c),a=o=0;o<c;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(r=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(r-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo(`nodebuffer`,e).toString(`utf-8`):function(e){var t,n,i,a,o=e.length,c=Array(2*o);for(t=n=0;t<o;)if((i=e[t++])<128)c[n++]=i;else if(4<(a=s[i]))c[n++]=65533,t+=a-1;else{for(i&=a===2?31:a===3?15:7;1<a&&t<o;)i=i<<6|63&e[t++],a--;1<a?c[n++]=65533:i<65536?c[n++]=i:(i-=65536,c[n++]=55296|i>>10&1023,c[n++]=56320|1023&i)}return c.length!==n&&(c.subarray?c=c.subarray(0,n):c.length=n),r.applyFromCharCode(c)}(e=r.transformTo(i.uint8array?`uint8array`:`array`,e))},r.inherits(l,o),l.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?`uint8array`:`array`,e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+s[e[n]]>t?n:t}(t),c=t;o!==t.length&&(i.uint8array?(c=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(c=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=l,r.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e(`./support`),i=e(`./base64`),a=e(`./nodejsUtils`),o=e(`./external`);function s(e){return e}function c(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e(`setimmediate`),n.newBlob=function(e,t){n.checkSupport(`blob`);try{return new Blob([e],{type:t})}catch{try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(e),r.getBlob(t)}catch{throw Error(`Bug : can't construct the Blob.`)}}};var l={stringifyByChunk:function(e,t,n){var r=[],i=0,a=e.length;if(a<=n)return String.fromCharCode.apply(null,e);for(;i<a;)t===`array`||t===`nodebuffer`?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,a)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,a)))),i+=n;return r.join(``)},stringifyByChar:function(e){for(var t=``,n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&String.fromCharCode.apply(null,a.allocBuffer(1)).length===1}catch{return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),i=!0;if(r===`uint8array`?i=l.applyCanBeUsed.uint8array:r===`nodebuffer`&&(i=l.applyCanBeUsed.nodebuffer),i)for(;1<t;)try{return l.stringifyByChunk(e,r,t)}catch{t=Math.floor(t/2)}return l.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var f={};f.string={string:s,array:function(e){return c(e,Array(e.length))},arraybuffer:function(e){return f.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,a.allocBuffer(e.length))}},f.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},f.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},f.uint8array={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},f.nodebuffer={string:u,array:function(e){return d(e,Array(e.length))},arraybuffer:function(e){return f.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){return t||=``,e?(n.checkSupport(e),f[n.getTypeOf(t)][e](t)):t},n.resolve=function(e){for(var t=e.split(`/`),n=[],r=0;r<t.length;r++){var i=t[r];i===`.`||i===``&&r!==0&&r!==t.length-1||(i===`..`?n.pop():n.push(i))}return n.join(`/`)},n.getTypeOf=function(e){if(typeof e==`string`)return`string`;var t=Object.prototype.toString.call(e);return t===`[object Array]`?`array`:r.nodebuffer&&a.isBuffer(e)?`nodebuffer`:r.uint8array&&t===`[object Uint8Array]`?`uint8array`:r.arraybuffer&&t===`[object ArrayBuffer]`?`arraybuffer`:void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw Error(e+` is not supported by this platform`)},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r=``;for(n=0;n<(e||``).length;n++)r+=`\\x`+((t=e.charCodeAt(n))<16?`0`:``)+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&n[t]===void 0&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,a,s,l){return o.Promise.resolve(t).then(function(t){return r.blob&&(t instanceof Blob||[`[object File]`,`[object Blob]`].indexOf(Object.prototype.toString.call(t))!==-1)?Blob.prototype.arrayBuffer===void 0?typeof FileReader<`u`?new o.Promise(function(e,n){var r=new FileReader;r.onload=function(t){e(t.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(t)}):o.Promise.reject(Error(e+` is a Blob, but we have no way of reading it.`)):t.arrayBuffer():t}).then(function(t){var u=n.getTypeOf(t);return u?(u===`arraybuffer`?t=n.transformTo(`uint8array`,t):u===`string`&&(l?t=i.decode(t):a&&!0!==s&&(t=function(e){return c(e,r.uint8array?new Uint8Array(e.length):Array(e.length))}(t))),t):o.Promise.reject(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(e,t,n){var r=e(`./reader/readerFor`),i=e(`./utils`),a=e(`./signature`),o=e(`./zipEntry`),s=e(`./support`);function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw Error(`Corrupted zip or bug: unexpected signature (`+i.pretty(t)+`, expected `+i.pretty(e)+`)`)}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},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 e=this.reader.readData(this.zipCommentLength),t=s.uint8array?`uint8array`:`array`,n=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},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 e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},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 Error(`Multi-volumes zip are not supported`)},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw Error(`Corrupted zip or bug: expected `+this.centralDirRecords+` records in central dir, got `+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?Error(`Corrupted zip: can't find end of central directory`):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(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw Error(`Corrupted zip: can't find the ZIP64 end of central directory locator`);if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw Error(`Corrupted zip: can't find the ZIP64 end of central directory`);this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw Error(`Corrupted zip: missing `+Math.abs(r)+` bytes.`)},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){var r=e(`./reader/readerFor`),i=e(`./utils`),a=e(`./compressedObject`),o=e(`./crc32`),s=e(`./utf8`),c=e(`./compressions`),l=e(`./support`);function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw Error(`Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)`);if((t=function(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod))===null)throw Error(`Corrupted zip : compression `+i.pretty(this.compressionMethod)+` unknown (inner file : `+i.transformTo(`string`,this.fileName)+`)`);this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw Error(`Encrypted zip are not supported`);e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),e==0&&(this.dosPermissions=63&this.externalFileAttributes),e==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!==`/`||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||={};e.index+4<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(i)},handleUTF8:function(){var e=l.uint8array?`uint8array`:`array`;if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(t!==null)this.fileNameStr=t;else{var n=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(r!==null)this.fileCommentStr=r;else{var a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return t.readInt(1)===1&&o(this.fileName)===t.readInt(4)?s.utf8decode(t.readData(e.length-5)):null}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return t.readInt(1)===1&&o(this.fileComment)===t.readInt(4)?s.utf8decode(t.readData(e.length-5)):null}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=e(`./stream/StreamHelper`),a=e(`./stream/DataWorker`),o=e(`./utf8`),s=e(`./compressedObject`),c=e(`./stream/GenericWorker`);r.prototype={internalStream:function(e){var t=null,n=`string`;try{if(!e)throw Error(`No output type specified.`);var r=(n=e.toLowerCase())===`string`||n===`text`;n!==`binarystring`&&n!==`text`||(n=`string`),t=this._decompressWorker();var a=!this._dataBinary;a&&!r&&(t=t.pipe(new o.Utf8EncodeWorker)),!a&&r&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){(t=new c(`error`)).error(e)}return new i(t,n,``)},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||`nodebuffer`).toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof c?this._data:new a(this._data)}};for(var l=[`asText`,`asBinary`,`asNodeBuffer`,`asUint8Array`,`asArrayBuffer`],u=function(){throw Error(`This method has been removed in JSZip 3.0, please check the upgrade guide.`)},d=0;d<l.length;d++)r.prototype[l[d]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,o=new i(u),s=e.document.createTextNode(``);o.observe(s,{characterData:!0}),n=function(){s.data=a=++a%2}}else if(e.setImmediate||e.MessageChannel===void 0)n=`document`in e&&`onreadystatechange`in e.document.createElement(`script`)?function(){var t=e.document.createElement(`script`);t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var c=new e.MessageChannel;c.port1.onmessage=u,n=function(){c.port2.postMessage(0)}}var l=[];function u(){var e,t;r=!0;for(var n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}r=!1}t.exports=function(e){l.push(e)!==1||r||n()}}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}],37:[function(e,t,n){var r=e(`immediate`);function i(){}var a={},o=[`REJECTED`],s=[`FULFILLED`],c=[`PENDING`];function l(e){if(typeof e!=`function`)throw TypeError(`resolver must be a function`);this.state=c,this.queue=[],this.outcome=void 0,e!==i&&p(this,e)}function u(e,t,n){this.promise=e,typeof t==`function`&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),typeof n==`function`&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r(function(){var r;try{r=t(n)}catch(t){return a.reject(e,t)}r===e?a.reject(e,TypeError(`Cannot resolve promise with itself`)):a.resolve(e,r)})}function f(e){var t=e&&e.then;if(e&&(typeof e==`object`||typeof e==`function`)&&typeof t==`function`)return function(){t.apply(e,arguments)}}function p(e,t){var n=!1;function r(t){n||(n=!0,a.reject(e,t))}function i(t){n||(n=!0,a.resolve(e,t))}var o=m(function(){t(i,r)});o.status===`error`&&r(o.value)}function m(e,t){var n={};try{n.value=e(t),n.status=`success`}catch(e){n.status=`error`,n.value=e}return n}(t.exports=l).prototype.finally=function(e){if(typeof e!=`function`)return this;var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},l.prototype.catch=function(e){return this.then(null,e)},l.prototype.then=function(e,t){if(typeof e!=`function`&&this.state===s||typeof t!=`function`&&this.state===o)return this;var n=new this.constructor(i);return this.state===c?this.queue.push(new u(n,e,t)):d(n,this.state===s?e:t,this.outcome),n},u.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){a.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},a.resolve=function(e,t){var n=m(f,t);if(n.status===`error`)return a.reject(e,n.value);var r=n.value;if(r)p(e,r);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},l.resolve=function(e){return e instanceof this?e:a.resolve(new this(i),e)},l.reject=function(e){var t=new this(i);return a.reject(t,e)},l.all=function(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=Array(n),s=0,c=-1,l=new this(i);++c<n;)u(e[c],c);return l;function u(e,i){t.resolve(e).then(function(e){o[i]=e,++s!==n||r||(r=!0,a.resolve(l,o))},function(e){r||(r=!0,a.reject(l,e))})}},l.race=function(e){var t=this;if(Object.prototype.toString.call(e)!==`[object Array]`)return this.reject(TypeError(`must be an array`));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var o=-1,s=new this(i);++o<n;)c=e[o],t.resolve(c).then(function(e){r||(r=!0,a.resolve(s,e))},function(e){r||(r=!0,a.reject(s,e))});var c;return s}},{immediate:36}],38:[function(e,t,n){var r={};(0,e(`./lib/utils/common`).assign)(r,e(`./lib/deflate`),e(`./lib/inflate`),e(`./lib/zlib/constants`)),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){var r=e(`./zlib/deflate`),i=e(`./utils/common`),a=e(`./utils/strings`),o=e(`./zlib/messages`),s=e(`./zlib/zstream`),c=Object.prototype.toString,l=0,u=-1,d=0,f=8;function p(e){if(!(this instanceof p))return new p(e);this.options=i.assign({level:u,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:``},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg=``,this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==l)throw Error(o[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var m;if(m=typeof t.dictionary==`string`?a.string2buf(t.dictionary):c.call(t.dictionary)===`[object ArrayBuffer]`?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,m))!==l)throw Error(o[n]);this._dict_set=!0}}function m(e,t){var n=new p(t);if(n.push(e,!0),n.err)throw n.msg||o[n.err];return n.result}p.prototype.push=function(e,t){var n,o,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,s.input=typeof e==`string`?a.string2buf(e):c.call(e)===`[object ArrayBuffer]`?new Uint8Array(e):e,s.next_in=0,s.avail_in=s.input.length;do{if(s.avail_out===0&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),(n=r.deflate(s,o))!==1&&n!==l)return this.onEnd(n),!(this.ended=!0);s.avail_out!==0&&(s.avail_in!==0||o!==4&&o!==2)||(this.options.to===`string`?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||s.avail_out===0)&&n!==1);return o===4?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l):o!==2||(this.onEnd(l),!(s.avail_out=0))},p.prototype.onData=function(e){this.chunks.push(e)},p.prototype.onEnd=function(e){e===l&&(this.result=this.options.to===`string`?this.chunks.join(``):i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=p,n.deflate=m,n.deflateRaw=function(e,t){return(t||={}).raw=!0,m(e,t)},n.gzip=function(e,t){return(t||={}).gzip=!0,m(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){var r=e(`./zlib/inflate`),i=e(`./utils/common`),a=e(`./utils/strings`),o=e(`./zlib/constants`),s=e(`./zlib/messages`),c=e(`./zlib/zstream`),l=e(`./zlib/gzheader`),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:``},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg=``,this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK)throw Error(s[n]);this.header=new l,r.inflateGetHeader(this.strm,this.header)}function f(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,c,l,d,f,p=this.strm,m=this.options.chunkSize,h=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,p.input=typeof e==`string`?a.binstring2buf(e):u.call(e)===`[object ArrayBuffer]`?new Uint8Array(e):e,p.next_in=0,p.avail_in=p.input.length;do{if(p.avail_out===0&&(p.output=new i.Buf8(m),p.next_out=0,p.avail_out=m),(n=r.inflate(p,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&h&&(f=typeof h==`string`?a.string2buf(h):u.call(h)===`[object ArrayBuffer]`?new Uint8Array(h):h,n=r.inflateSetDictionary(this.strm,f)),n===o.Z_BUF_ERROR&&!0===g&&(n=o.Z_OK,g=!1),n!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),!(this.ended=!0);p.next_out&&(p.avail_out!==0&&n!==o.Z_STREAM_END&&(p.avail_in!==0||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||(this.options.to===`string`?(c=a.utf8border(p.output,p.next_out),l=p.next_out-c,d=a.buf2string(p.output,c),p.next_out=l,p.avail_out=m-l,l&&i.arraySet(p.output,p.output,c,l,0),this.onData(d)):this.onData(i.shrinkBuf(p.output,p.next_out)))),p.avail_in===0&&p.avail_out===0&&(g=!0)}while((0<p.avail_in||p.avail_out===0)&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(p.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&(this.result=this.options.to===`string`?this.chunks.join(``):i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=f,n.inflateRaw=function(e,t){return(t||={}).raw=!0,f(e,t)},n.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){var r=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Int32Array<`u`;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if(typeof n!=`object`)throw TypeError(n+`must be non-object`);for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r,i,a,o;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),t=i=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,i)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,a))},n.setTyped(r)},{}],42:[function(e,t,n){var r=e(`./common`),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch{i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{a=!1}for(var o=new r.Buf8(256),s=0;s<256;s++)o[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function c(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n=``,o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,n.string2buf=function(e){var t,n,i,a,o,s=e.length,c=0;for(a=0;a<s;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(c),a=o=0;o<c;a++)(64512&(n=e.charCodeAt(a)))==55296&&a+1<s&&(64512&(i=e.charCodeAt(a+1)))==56320&&(n=65536+(n-55296<<10)+(i-56320),a++),n<128?t[o++]=n:(n<2048?t[o++]=192|n>>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return c(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,i,a,s=t||e.length,l=Array(2*s);for(n=r=0;n<s;)if((i=e[n++])<128)l[r++]=i;else if(4<(a=o[i]))l[r++]=65533,n+=a-1;else{for(i&=a===2?31:a===3?15:7;1<a&&n<s;)i=i<<6|63&e[n++],a--;1<a?l[r++]=65533:i<65536?l[r++]=i:(i-=65536,l[r++]=55296|i>>10&1023,l[r++]=56320|1023&i)}return c(l,r)},n.utf8border=function(e,t){var n;for((t||=e.length)>e.length&&(t=e.length),n=t-1;0<=n&&(192&e[n])==128;)n--;return n<0||n===0?t:n+o[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;n!==0;){for(n-=o=2e3<n?2e3:n;a=a+(i=i+t[r++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16|0}},{}],44:[function(e,t,n){t.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(e,t,n){var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){var r,i=e(`../utils/common`),a=e(`./trees`),o=e(`./adler32`),s=e(`./crc32`),c=e(`./messages`),l=0,u=4,d=0,f=-2,p=-1,m=4,h=2,g=8,_=9,v=286,y=30,b=19,x=2*v+1,S=15,C=3,w=258,T=w+C+1,E=42,D=113,O=1,k=2,A=3,j=4;function M(e,t){return e.msg=c[t],t}function N(e){return(e<<1)-(4<e?9:0)}function P(e){for(var t=e.length;0<=--t;)e[t]=0}function F(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function I(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function L(e,t){e.pending_buf[e.pending++]=t}function R(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function z(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-T?e.strstart-(e.w_size-T):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+w,p=l[a+o-1],m=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do if(l[(n=t)+o]===m&&l[n+o-1]===p&&l[n]===l[a]&&l[++n]===l[a+1]){a+=2,n++;do;while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&a<f);if(r=w-(f-a),a=f-w,o<r){if(e.match_start=t,s<=(o=r))break;p=l[a+o-1],m=l[a+o]}}while((t=d[t&u])>c&&--i!=0);return o<=e.lookahead?o:e.lookahead}function B(e){var t,n,r,a,c,l,u,d,f,p,m=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-T)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);a+=m}if(e.strm.avail_in===0)break;if(l=e.strm,u=e.window,d=e.strstart+e.lookahead,f=a,p=void 0,p=l.avail_in,f<p&&(p=f),n=p===0?0:(l.avail_in-=p,i.arraySet(u,l.input,l.next_in,p,d),l.state.wrap===1?l.adler=o(l.adler,u,p,d):l.state.wrap===2&&(l.adler=s(l.adler,u,p,d)),l.next_in+=p,l.total_in+=p,p),e.lookahead+=n,e.lookahead+e.insert>=C)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+C-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<C)););}while(e.lookahead<T&&e.strm.avail_in!==0)}function V(e,t){for(var n,r;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===l)return O;if(e.lookahead===0)break}if(n=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-T&&(e.match_length=z(e,n)),e.match_length>=C){if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-C),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=C){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,--e.match_length!=0;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask}else r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=e.strstart<C-1?e.strstart:C-1,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}function H(e,t){for(var n,r,i;;){if(e.lookahead<T){if(B(e),e.lookahead<T&&t===l)return O;if(e.lookahead===0)break}if(n=0,e.lookahead>=C&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=C-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-T&&(e.match_length=z(e,n),e.match_length<=5&&(e.strategy===1||e.match_length===C&&4096<e.strstart-e.match_start)&&(e.match_length=C-1)),e.prev_length>=C&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-C,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-C),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+C-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),--e.prev_length!=0;);if(e.match_available=0,e.match_length=C-1,e.strstart++,r&&(I(e,!1),e.strm.avail_out===0))return O}else if(e.match_available){if((r=a._tr_tally(e,0,e.window[e.strstart-1]))&&I(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return O}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&=(r=a._tr_tally(e,0,e.window[e.strstart-1]),0),e.insert=e.strstart<C-1?e.strstart:C-1,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}function U(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function W(){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=g,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 i.Buf16(2*x),this.dyn_dtree=new i.Buf16(2*(2*y+1)),this.bl_tree=new i.Buf16(2*(2*b+1)),P(this.dyn_ltree),P(this.dyn_dtree),P(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(S+1),this.heap=new i.Buf16(2*v+1),P(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*v+1),P(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 G(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=h,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?E:D,e.adler=t.wrap===2?0:1,t.last_flush=l,a._tr_init(t),d):M(e,f)}function K(e){var t=G(e);return t===d&&function(e){e.window_size=2*e.w_size,P(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=C-1,e.match_available=0,e.ins_h=0}(e.state),t}function q(e,t,n,r,a,o){if(!e)return f;var s=1;if(t===p&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),a<1||_<a||n!==g||r<8||15<r||t<0||9<t||o<0||m<o)return M(e,f);r===8&&(r=9);var c=new W;return(e.state=c).strm=e,c.wrap=s,c.gzhead=null,c.w_bits=r,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+C-1)/C),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=n,K(e)}r=[new U(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(B(e),e.lookahead===0&&t===l)return O;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,I(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-T&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):(e.strstart>e.block_start&&(I(e,!1),e.strm.avail_out),O)}),new U(4,4,8,4,V),new U(4,5,16,8,V),new U(4,6,32,32,V),new U(4,4,16,16,H),new U(8,16,32,32,H),new U(8,16,128,128,H),new U(8,32,128,256,H),new U(32,128,258,1024,H),new U(32,258,258,4096,H)],n.deflateInit=function(e,t){return q(e,t,g,15,8,0)},n.deflateInit2=q,n.deflateReset=K,n.deflateResetKeep=G,n.deflateSetHeader=function(e,t){return e&&e.state&&e.state.wrap===2?(e.state.gzhead=t,d):f},n.deflate=function(e,t){var n,i,o,c;if(!e||!e.state||5<t||t<0)return e?M(e,f):f;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===666&&t!==u)return M(e,e.avail_out===0?-5:f);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===E){if(i.wrap===2)e.adler=0,L(i,31),L(i,139),L(i,8),i.gzhead?(L(i,+!!i.gzhead.text+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),L(i,255&i.gzhead.time),L(i,i.gzhead.time>>8&255),L(i,i.gzhead.time>>16&255),L(i,i.gzhead.time>>24&255),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(L(i,255&i.gzhead.extra.length),L(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(L(i,0),L(i,0),L(i,0),L(i,0),L(i,0),L(i,i.level===9?2:2<=i.strategy||i.level<2?4:0),L(i,3),i.status=D);else{var p=g+(i.w_bits-8<<4)<<8;p|=(2<=i.strategy||i.level<2?0:i.level<6?1:i.level===6?2:3)<<6,i.strstart!==0&&(p|=32),p+=31-p%31,i.status=D,R(i,p),i.strstart!==0&&(R(i,e.adler>>>16),R(i,65535&e.adler)),e.adler=1}}if(i.status===69){if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending!==i.pending_buf_size));)L(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73}if(i.status===73){if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,L(i,c)}while(c!==0);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.gzindex=0,i.status=91)}else i.status=91}if(i.status===91){if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),F(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,L(i,c)}while(c!==0);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),c===0&&(i.status=103)}else i.status=103}if(i.status===103&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&F(e),i.pending+2<=i.pending_buf_size&&(L(i,255&e.adler),L(i,e.adler>>8&255),e.adler=0,i.status=D)):i.status=D),i.pending!==0){if(F(e),e.avail_out===0)return i.last_flush=-1,d}else if(e.avail_in===0&&N(t)<=N(n)&&t!==u)return M(e,-5);if(i.status===666&&e.avail_in!==0)return M(e,-5);if(e.avail_in!==0||i.lookahead!==0||t!==l&&i.status!==666){var m=i.strategy===2?function(e,t){for(var n;;){if(e.lookahead===0&&(B(e),e.lookahead===0)){if(t===l)return O;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):i.strategy===3?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=w){if(B(e),e.lookahead<=w&&t===l)return O;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=C&&0<e.strstart&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){o=e.strstart+w;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<o);e.match_length=w-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=C?(n=a._tr_tally(e,1,e.match_length-C),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(I(e,!1),e.strm.avail_out===0))return O}return e.insert=0,t===u?(I(e,!0),e.strm.avail_out===0?A:j):e.last_lit&&(I(e,!1),e.strm.avail_out===0)?O:k}(i,t):r[i.level].func(i,t);if(m!==A&&m!==j||(i.status=666),m===O||m===A)return e.avail_out===0&&(i.last_flush=-1),d;if(m===k&&(t===1?a._tr_align(i):t!==5&&(a._tr_stored_block(i,0,0,!1),t===3&&(P(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),F(e),e.avail_out===0))return i.last_flush=-1,d}return t===u?i.wrap<=0?1:(i.wrap===2?(L(i,255&e.adler),L(i,e.adler>>8&255),L(i,e.adler>>16&255),L(i,e.adler>>24&255),L(i,255&e.total_in),L(i,e.total_in>>8&255),L(i,e.total_in>>16&255),L(i,e.total_in>>24&255)):(R(i,e.adler>>>16),R(i,65535&e.adler)),F(e),0<i.wrap&&(i.wrap=-i.wrap),i.pending===0?1:d):d},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==E&&t!==69&&t!==73&&t!==91&&t!==103&&t!==D&&t!==666?M(e,f):(e.state=null,t===D?M(e,-3):d):f},n.deflateSetDictionary=function(e,t){var n,r,a,s,c,l,u,p,m=t.length;if(!e||!e.state||(s=(n=e.state).wrap)===2||s===1&&n.status!==E||n.lookahead)return f;for(s===1&&(e.adler=o(e.adler,t,m,0)),n.wrap=0,m>=n.w_size&&(s===0&&(P(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new i.Buf8(n.w_size),i.arraySet(p,t,m-n.w_size,n.w_size,0),t=p,m=n.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=m,e.next_in=0,e.input=t,B(n);n.lookahead>=C;){for(r=n.strstart,a=n.lookahead-(C-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+C-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--a;);n.strstart=r,n.lookahead=C-1,B(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=C-1,n.match_available=0,e.next_in=l,e.input=u,e.avail_in=c,n.wrap=s,d},n.deflateInfo=`pako deflate (from Nodeca project)`},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){t.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(e,t,n){t.exports=function(e,t){var n=e.state,r=e.next_in,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T=e.input,E;i=r+(e.avail_in-5),a=e.next_out,E=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),c=n.dmax,l=n.wsize,u=n.whave,d=n.wnext,f=n.window,p=n.hold,m=n.bits,h=n.lencode,g=n.distcode,_=(1<<n.lenbits)-1,v=(1<<n.distbits)-1;e:do{m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=h[p&_];t:for(;;){if(p>>>=b=y>>>24,m-=b,(b=y>>>16&255)==0)E[a++]=65535&y;else{if(!(16&b)){if(!(64&b)){y=h[(65535&y)+(p&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg=`invalid literal/length code`,n.mode=30;break e}x=65535&y,(b&=15)&&(m<b&&(p+=T[r++]<<m,m+=8),x+=p&(1<<b)-1,p>>>=b,m-=b),m<15&&(p+=T[r++]<<m,m+=8,p+=T[r++]<<m,m+=8),y=g[p&v];r:for(;;){if(p>>>=b=y>>>24,m-=b,!(16&(b=y>>>16&255))){if(!(64&b)){y=g[(65535&y)+(p&(1<<b)-1)];continue r}e.msg=`invalid distance code`,n.mode=30;break e}if(S=65535&y,m<(b&=15)&&(p+=T[r++]<<m,(m+=8)<b&&(p+=T[r++]<<m,m+=8)),c<(S+=p&(1<<b)-1)){e.msg=`invalid distance too far back`,n.mode=30;break e}if(p>>>=b,m-=b,(b=a-o)<S){if(u<(b=S-b)&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break e}if(w=f,(C=0)===d){if(C+=l-b,b<x){for(x-=b;E[a++]=f[C++],--b;);C=a-S,w=E}}else if(d<b){if(C+=l+d-b,(b-=d)<x){for(x-=b;E[a++]=f[C++],--b;);if(C=0,d<x){for(x-=b=d;E[a++]=f[C++],--b;);C=a-S,w=E}}}else if(C+=d-b,b<x){for(x-=b;E[a++]=f[C++],--b;);C=a-S,w=E}for(;2<x;)E[a++]=w[C++],E[a++]=w[C++],E[a++]=w[C++],x-=3;x&&(E[a++]=w[C++],1<x&&(E[a++]=w[C++]))}else{for(C=a-S;E[a++]=E[C++],E[a++]=E[C++],E[a++]=E[C++],2<(x-=3););x&&(E[a++]=E[C++],1<x&&(E[a++]=E[C++]))}break}}break}}while(r<i&&a<s);r-=x=m>>3,p&=(1<<(m-=x<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=a<s?s-a+257:257-(a-s),n.hold=p,n.bits=m}},{}],49:[function(e,t,n){var r=e(`../utils/common`),i=e(`./adler32`),a=e(`./crc32`),o=e(`./inffast`),s=e(`./inftrees`),c=1,l=2,u=0,d=-2,f=1,p=852,m=592;function h(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){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 r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=``,t.wrap&&(e.adler=1&t.wrap),t.mode=f,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(p),t.distcode=t.distdyn=new r.Buf32(m),t.sane=1,t.back=-1,u):d}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,_(e)):d}function y(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,v(e))):d}function b(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=y(e,t))!==u&&(e.state=null),n):d}var x,S,C=!0;function w(e){if(C){var t;for(x=new r.Buf32(512),S=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,x,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(l,e.lens,0,32,S,0,e.work,{bits:5}),C=!1}e.lencode=x,e.lenbits=9,e.distcode=S,e.distbits=5}function T(e,t,n,i){var a,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new r.Buf8(o.wsize)),i>=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}n.inflateReset=v,n.inflateReset2=y,n.inflateResetKeep=_,n.inflateInit=function(e){return b(e,15)},n.inflateInit2=b,n.inflate=function(e,t){var n,p,m,g,_,v,y,b,x,S,C,E,D,O,k,A,j,M,N,P,F,I,L,R,z=0,B=new r.Buf8(4),V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return d;(n=e.state).mode===12&&(n.mode=13),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,S=v,C=y,I=u;e:for(;;)switch(n.mode){case f:if(n.wrap===0){n.mode=13;break}for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(2&n.wrap&&b===35615){B[n.check=0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0),x=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg=`incorrect header check`,n.mode=30;break}if((15&b)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(x-=4,F=8+(15&(b>>>=4)),n.wbits===0)n.wbits=F;else if(F>n.wbits){e.msg=`invalid window size`,n.mode=30;break}n.dmax=1<<F,e.adler=n.check=1,n.mode=512&b?10:12,x=b=0;break;case 2:for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(n.flags=b,(255&n.flags)!=8){e.msg=`unknown compression method`,n.mode=30;break}if(57344&n.flags){e.msg=`unknown header flags set`,n.mode=30;break}n.head&&(n.head.text=b>>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=3;case 3:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.head&&(n.head.time=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=a(n.check,B,4,0)),x=b=0,n.mode=4;case 4:for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.head&&(n.head.xflags=255&b,n.head.os=b>>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0,n.mode=5;case 5:if(1024&n.flags){for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.length=b,n.head&&(n.head.extra_len=b),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),x=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(E=n.length)&&(E=v),E&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),r.arraySet(n.head.extra,p,g,E,F)),512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,n.length-=E),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(v===0)break e;for(E=0;F=p[g+E++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&E<v;);if(512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,F)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(v===0)break e;for(E=0;F=p[g+E++],n.head&&F&&n.length<65536&&(n.head.comment+=String.fromCharCode(F)),F&&E<v;);if(512&n.flags&&(n.check=a(n.check,p,E,g)),v-=E,g+=E,F)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;x<16;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(b!==(65535&n.check)){e.msg=`header crc mismatch`,n.mode=30;break}x=b=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}e.adler=n.check=h(b),x=b=0,n.mode=11;case 11:if(n.havedict===0)return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,2;e.adler=n.check=1,n.mode=12;case 12:if(t===5||t===6)break e;case 13:if(n.last){b>>>=7&x,x-=7&x,n.mode=27;break}for(;x<3;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}switch(n.last=1&b,--x,3&(b>>>=1)){case 0:n.mode=14;break;case 1:if(w(n),n.mode=20,t!==6)break;b>>>=2,x-=2;break e;case 2:n.mode=17;break;case 3:e.msg=`invalid block type`,n.mode=30}b>>>=2,x-=2;break;case 14:for(b>>>=7&x,x-=7&x;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if((65535&b)!=(b>>>16^65535)){e.msg=`invalid stored block lengths`,n.mode=30;break}if(n.length=65535&b,x=b=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(E=n.length){if(v<E&&(E=v),y<E&&(E=y),E===0)break e;r.arraySet(m,p,g,E,_),v-=E,g+=E,y-=E,_+=E,n.length-=E;break}n.mode=12;break;case 17:for(;x<14;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(n.nlen=257+(31&b),b>>>=5,x-=5,n.ndist=1+(31&b),b>>>=5,x-=5,n.ncode=4+(15&b),b>>>=4,x-=4,286<n.nlen||30<n.ndist){e.msg=`too many length or distance symbols`,n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;x<3;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.lens[V[n.have++]]=7&b,b>>>=3,x-=3}for(;n.have<19;)n.lens[V[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,L={bits:n.lenbits},I=s(0,n.lens,0,19,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid code lengths set`,n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;A=(z=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(j<16)b>>>=k,x-=k,n.lens[n.have++]=j;else{if(j===16){for(R=k+2;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(b>>>=k,x-=k,n.have===0){e.msg=`invalid bit length repeat`,n.mode=30;break}F=n.lens[n.have-1],E=3+(3&b),b>>>=2,x-=2}else if(j===17){for(R=k+3;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}x-=k,F=0,E=3+(7&(b>>>=k)),b>>>=3,x-=3}else{for(R=k+7;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}x-=k,F=0,E=11+(127&(b>>>=k)),b>>>=7,x-=7}if(n.have+E>n.nlen+n.ndist){e.msg=`invalid bit length repeat`,n.mode=30;break}for(;E--;)n.lens[n.have++]=F}}if(n.mode===30)break;if(n.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,n.mode=30;break}if(n.lenbits=9,L={bits:n.lenbits},I=s(c,n.lens,0,n.nlen,n.lencode,0,n.work,L),n.lenbits=L.bits,I){e.msg=`invalid literal/lengths set`,n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,L={bits:n.distbits},I=s(l,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,L),n.distbits=L.bits,I){e.msg=`invalid distances set`,n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(6<=v&&258<=y){e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,o(e,C),_=e.next_out,m=e.output,y=e.avail_out,g=e.next_in,p=e.input,v=e.avail_in,b=n.hold,x=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;A=(z=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(A&&!(240&A)){for(M=k,N=A,P=j;A=(z=n.lencode[P+((b&(1<<M+N)-1)>>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}b>>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,n.length=j,A===0){n.mode=26;break}if(32&A){n.back=-1,n.mode=12;break}if(64&A){e.msg=`invalid literal/length code`,n.mode=30;break}n.extra=15&A,n.mode=22;case 22:if(n.extra){for(R=n.extra;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.length+=b&(1<<n.extra)-1,b>>>=n.extra,x-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;A=(z=n.distcode[b&(1<<n.distbits)-1])>>>16&255,j=65535&z,!((k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(!(240&A)){for(M=k,N=A,P=j;A=(z=n.distcode[P+((b&(1<<M+N)-1)>>M)])>>>16&255,j=65535&z,!(M+(k=z>>>24)<=x);){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}b>>>=M,x-=M,n.back+=M}if(b>>>=k,x-=k,n.back+=k,64&A){e.msg=`invalid distance code`,n.mode=30;break}n.offset=j,n.extra=15&A,n.mode=24;case 24:if(n.extra){for(R=n.extra;x<R;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}n.offset+=b&(1<<n.extra)-1,b>>>=n.extra,x-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=`invalid distance too far back`,n.mode=30;break}n.mode=25;case 25:if(y===0)break e;if(E=C-y,n.offset>E){if((E=n.offset-E)>n.whave&&n.sane){e.msg=`invalid distance too far back`,n.mode=30;break}D=E>n.wnext?(E-=n.wnext,n.wsize-E):n.wnext-E,E>n.length&&(E=n.length),O=n.window}else O=m,D=_-n.offset,E=n.length;for(y<E&&(E=y),y-=E,n.length-=E;m[_++]=O[D++],--E;);n.length===0&&(n.mode=21);break;case 26:if(y===0)break e;m[_++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;x<32;){if(v===0)break e;v--,b|=p[g++]<<x,x+=8}if(C-=y,e.total_out+=C,n.total+=C,C&&(e.adler=n.check=n.flags?a(n.check,m,C,_-C):i(n.check,m,C,_-C)),C=y,(n.flags?b:h(b))!==n.check){e.msg=`incorrect data check`,n.mode=30;break}x=b=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;x<32;){if(v===0)break e;v--,b+=p[g++]<<x,x+=8}if(b!==(4294967295&n.total)){e.msg=`incorrect length check`,n.mode=30;break}x=b=0}n.mode=29;case 29:I=1;break e;case 30:I=-3;break e;case 31:return-4;default:return d}return e.next_out=_,e.avail_out=y,e.next_in=g,e.avail_in=v,n.hold=b,n.bits=x,(n.wsize||C!==e.avail_out&&n.mode<30&&(n.mode<27||t!==4))&&T(e,e.output,e.next_out,C-e.avail_out)?(n.mode=31,-4):(S-=e.avail_in,C-=e.avail_out,e.total_in+=S,e.total_out+=C,n.total+=C,n.wrap&&C&&(e.adler=n.check=n.flags?a(n.check,m,C,e.next_out-C):i(n.check,m,C,e.next_out-C)),e.data_type=n.bits+(n.last?64:0)+(n.mode===12?128:0)+(n.mode===20||n.mode===15?256:0),(S==0&&C===0||t===4)&&I===u&&(I=-5),I)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&=null,e.state=null,u},n.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?((n.head=t).done=!1,u):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?(n=e.state).wrap!==0&&n.mode!==11?d:n.mode===11&&i(1,t,r,0)!==n.check?-3:T(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,u):d},n.inflateInfo=`pako inflate (from Nodeca project)`},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){var r=e(`../utils/common`),i=[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],a=[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],o=[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],s=[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];t.exports=function(e,t,n,c,l,u,d,f){var p,m,h,g,_,v,y,b,x,S=f.bits,C=0,w=0,T=0,E=0,D=0,O=0,k=0,A=0,j=0,M=0,N=null,P=0,F=new r.Buf16(16),I=new r.Buf16(16),L=null,R=0;for(C=0;C<=15;C++)F[C]=0;for(w=0;w<c;w++)F[t[n+w]]++;for(D=S,E=15;1<=E&&F[E]===0;E--);if(E<D&&(D=E),E===0)return l[u++]=20971520,l[u++]=20971520,f.bits=1,0;for(T=1;T<E&&F[T]===0;T++);for(D<T&&(D=T),C=A=1;C<=15;C++)if(A<<=1,(A-=F[C])<0)return-1;if(0<A&&(e===0||E!==1))return-1;for(I[1]=0,C=1;C<15;C++)I[C+1]=I[C]+F[C];for(w=0;w<c;w++)t[n+w]!==0&&(d[I[t[n+w]]++]=w);if(v=e===0?(N=L=d,19):e===1?(N=i,P-=257,L=a,R-=257,256):(N=o,L=s,-1),C=T,_=u,k=w=M=0,h=-1,g=(j=1<<(O=D))-1,e===1&&852<j||e===2&&592<j)return 1;for(;;){for(y=C-k,x=d[w]<v?(b=0,d[w]):d[w]>v?(b=L[R+d[w]],N[P+d[w]]):(b=96,0),p=1<<C-k,T=m=1<<O;l[_+(M>>k)+(m-=p)]=y<<24|b<<16|x|0,m!==0;);for(p=1<<C-1;M&p;)p>>=1;if(p===0?M=0:(M&=p-1,M+=p),w++,--F[C]==0){if(C===E)break;C=t[n+d[w]]}if(D<C&&(M&g)!==h){for(k===0&&(k=D),_+=T,A=1<<(O=C-k);O+k<E&&!((A-=F[O+k])<=0);)O++,A<<=1;if(j+=1<<O,e===1&&852<j||e===2&&592<j)return 1;l[h=M&g]=D<<24|O<<16|_-u|0}}return M!==0&&(l[_+M]=C-k<<24|4194304),f.bits=D,0}},{"../utils/common":41}],51:[function(e,t,n){t.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(e,t,n){var r=e(`../utils/common`),i=0,a=1;function o(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,c=29,l=256,u=l+1+c,d=30,f=19,p=2*u+1,m=15,h=16,g=7,_=256,v=16,y=17,b=18,x=[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],S=[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],C=[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],T=Array(2*(u+2));o(T);var E=Array(2*d);o(E);var D=Array(512);o(D);var O=Array(256);o(O);var k=Array(c);o(k);var A,j,M,N=Array(d);function P(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function F(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function I(e){return e<256?D[e]:D[256+(e>>>7)]}function L(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function R(e,t,n){e.bi_valid>h-n?(e.bi_buf|=t<<e.bi_valid&65535,L(e,e.bi_buf),e.bi_buf=t>>h-e.bi_valid,e.bi_valid+=n-h):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function z(e,t,n){R(e,n[2*t],n[2*t+1])}function B(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function V(e,t,n){var r,i,a=Array(m+1),o=0;for(r=1;r<=m;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];s!==0&&(e[2*i]=B(a[s]++,s))}}function H(e){var t;for(t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<f;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*_]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function U(e){8<e.bi_valid?L(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function W(e,t,n,r){var i=2*t,a=2*n;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function G(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&W(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!W(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function K(e,t,n){var r,i,a,o,s=0;if(e.last_lit!==0)for(;r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,r===0?z(e,i,t):(z(e,(a=O[i])+l+1,t),(o=x[a])!==0&&R(e,i-=k[a],o),z(e,a=I(--r),n),(o=S[a])!==0&&R(e,r-=N[a],o)),s<e.last_lit;);z(e,_,t)}function q(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=p,n=0;n<c;n++)a[2*n]===0?a[2*n+1]=0:(e.heap[++e.heap_len]=l=n,e.depth[n]=0);for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;1<=n;n--)G(e,a,n);for(i=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,G(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,g=t.stat_desc.max_length,_=0;for(a=0;a<=m;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<p;n++)g<(a=c[2*c[2*(r=e.heap[n])+1]+1]+1)&&(a=g,_++),c[2*r+1]=a,l<r||(e.bl_count[a]++,o=0,h<=r&&(o=f[r-h]),s=c[2*r],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(u[2*r+1]+o)));if(_!==0){do{for(a=g-1;e.bl_count[a]===0;)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[g]--,_-=2}while(0<_);for(a=g;a!==0;a--)for(r=e.bl_count[a];r!==0;)l<(i=e.heap[--n])||(c[2*i+1]!==a&&(e.opt_len+=(a-c[2*i+1])*c[2*i],c[2*i+1]=a),r--)}}(e,t),V(a,l,e.bl_count)}function J(e,t,n){var r,i,a=-1,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=o,o=t[2*(r+1)+1],++s<c&&i===o||(s<l?e.bl_tree[2*i]+=s:i===0?s<=10?e.bl_tree[2*y]++:e.bl_tree[2*b]++:(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*v]++),a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4))}function Y(e,t,n){var r,i,a=-1,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),r=0;r<=n;r++)if(i=o,o=t[2*(r+1)+1],!(++s<c&&i===o)){if(s<l)for(;z(e,i,e.bl_tree),--s!=0;);else i===0?s<=10?(z(e,y,e.bl_tree),R(e,s-3,3)):(z(e,b,e.bl_tree),R(e,s-11,7)):(i!==a&&(z(e,i,e.bl_tree),s--),z(e,v,e.bl_tree),R(e,s-3,2));a=i,l=(s=0)===o?(c=138,3):i===o?(c=6,3):(c=7,4)}}o(N);var X=!1;function Z(e,t,n,i){R(e,(s<<1)+ +!!i,3),function(e,t,n,i){U(e),i&&(L(e,n),L(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}n._tr_init=function(e){X||=(function(){var e,t,n,r,i,a=Array(m+1);for(r=n=0;r<c-1;r++)for(k[r]=n,e=0;e<1<<x[r];e++)O[n++]=r;for(O[n-1]=r,r=i=0;r<16;r++)for(N[r]=i,e=0;e<1<<S[r];e++)D[i++]=r;for(i>>=7;r<d;r++)for(N[r]=i<<7,e=0;e<1<<S[r]-7;e++)D[256+i++]=r;for(t=0;t<=m;t++)a[t]=0;for(e=0;e<=143;)T[2*e+1]=8,e++,a[8]++;for(;e<=255;)T[2*e+1]=9,e++,a[9]++;for(;e<=279;)T[2*e+1]=7,e++,a[7]++;for(;e<=287;)T[2*e+1]=8,e++,a[8]++;for(V(T,u+1,a),e=0;e<d;e++)E[2*e+1]=5,E[2*e]=B(e,5);A=new P(T,x,l+1,u,m),j=new P(E,S,0,d,m),M=new P([],C,0,f,g)}(),!0),e.l_desc=new F(e.dyn_ltree,A),e.d_desc=new F(e.dyn_dtree,j),e.bl_desc=new F(e.bl_tree,M),e.bi_buf=0,e.bi_valid=0,H(e)},n._tr_stored_block=Z,n._tr_flush_block=function(e,t,n,r){var o,s,c=0;0<e.level?(e.strm.data_type===2&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&e.dyn_ltree[2*t]!==0)return i;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return a;for(t=32;t<l;t++)if(e.dyn_ltree[2*t]!==0)return a;return i}(e)),q(e,e.l_desc),q(e,e.d_desc),c=function(e){var t;for(J(e,e.dyn_ltree,e.l_desc.max_code),J(e,e.dyn_dtree,e.d_desc.max_code),q(e,e.bl_desc),t=f-1;3<=t&&e.bl_tree[2*w[t]+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=n+5,n+4<=o&&t!==-1?Z(e,t,n,r):e.strategy===4||s===o?(R(e,2+ +!!r,3),K(e,T,E)):(R(e,4+ +!!r,3),function(e,t,n,r){var i;for(R(e,t-257,5),R(e,n-1,5),R(e,r-4,4),i=0;i<r;i++)R(e,e.bl_tree[2*w[i]+1],3);Y(e,e.dyn_ltree,t-1),Y(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,c+1),K(e,e.dyn_ltree,e.dyn_dtree)),H(e),r&&U(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(O[n]+l+1)]++,e.dyn_dtree[2*I(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){R(e,2,3),z(e,_,T),function(e){e.bi_valid===16?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){t.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(e,t,n){(function(e){(function(e,t){if(!e.setImmediate){var n,r,i,a,o=1,s={},c=!1,l=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,n={}.toString.call(e.process)===`[object process]`?function(e){process.nextTick(function(){f(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(``,`*`),e.onmessage=n,t}}()?(a=`setImmediate$`+Math.random()+`$`,e.addEventListener?e.addEventListener(`message`,p,!1):e.attachEvent(`onmessage`,p),function(t){e.postMessage(a+t,`*`)}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},function(e){i.port2.postMessage(e)}):l&&`onreadystatechange`in l.createElement(`script`)?(r=l.documentElement,function(e){var t=l.createElement(`script`);t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(f,0,e)},u.setImmediate=function(e){typeof e!=`function`&&(e=Function(``+e));for(var t=Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];return s[o]={callback:e,args:t},n(o),o++},u.clearImmediate=d}function d(e){delete s[e]}function f(e){if(c)setTimeout(f,0,e);else{var n=s[e];if(n){c=!0;try{(function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}})(n)}finally{d(e),c=!1}}}}function p(t){t.source===e&&typeof t.data==`string`&&t.data.indexOf(a)===0&&f(+t.data.slice(a.length))}})(typeof self>`u`?e===void 0?this:e:self)}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}]},{},[10])(10)})}));export default n();
@@ -3,12 +3,12 @@
3
3
  "version": "4.1.2",
4
4
  "files": {
5
5
  "THIRD_PARTY_LICENSES.txt": "e8ce43dcfb49481444e6bbb92c6c5cfed7bd5ee1adfcae3d7cfe6daa135d575e",
6
- "assets/dist-Ag5yM9-G.js": "a3d8d0d35a220c1cae99a255d697edbd828de4b14f21d19f026837eef8b12bea",
6
+ "assets/dist-BmD8AP0A.js": "8248d4ba7d3395ed55b1e4666881d4e396269c85c1e7af64c8ddf1d0e27dcc53",
7
+ "assets/es-CC29Cabv.js": "d61bb206c56a424ec7c2f22340740cd8d4c0070dee50b04e6d4b17e2a348a72f",
7
8
  "assets/es-C_Ha8SM2.js": "e0cb5a04d9d1333b81d46388c7385553e994735cc75d0d532cc8c1d42b8ed448",
8
- "assets/es-DzkTYs_E.js": "d19c54019a6c0b6f2f67171e05280158ada26f60c4d880399dce7b3ce2377096",
9
9
  "assets/index-DS6BKqT0.css": "ae4cb6325d9cdcfc9bf30bfd0a7ad23e81243c8fe1f2beabbba139c5e4026c84",
10
- "assets/index-DjfLTPyx.js": "1eb9798cb9f697f59ad184e2e17bed6c31b15c9e567b013d2af441d8fa02bee3",
11
- "assets/jszip.min-Cw2BF2G0.js": "40896bb500a187110f75da6b6c58bef4625d20e37aa0239a73518af77fc57d09",
12
- "index.html": "83279f3844c9d52740042941e2751b03cfb7f24a35e7e1135a10835e695ff9cd"
10
+ "assets/index-DhwyFpu2.js": "6e7edb3567e57a4d17934615066c24c4a708c36a232cc1087f4446a816c12a7d",
11
+ "assets/jszip.min-Bwf_yCrF.js": "a5a551099b73b7b26b824ad94c2b9da74efeda30b5f10a0f0d5deeda531eb701",
12
+ "index.html": "f53a43d7890ee3750374f776163aa798bf6772b2ea01c8797f85067799500075"
13
13
  }
14
14
  }
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <title>Popost</title>
7
- <script type="module" crossorigin src="./assets/index-DjfLTPyx.js"></script>
7
+ <script type="module" crossorigin src="./assets/index-DhwyFpu2.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="./assets/index-DS6BKqT0.css">
9
9
  </head>
10
10
  <body data-doc-state="loading">
@@ -0,0 +1,125 @@
1
+ <!doctype html>
2
+ <html><head><meta charset="utf-8"><title>Bars that follow a sound</title>
3
+ <style>
4
+ html, body { margin: 0; width: 1280px; height: 720px; overflow: hidden; }
5
+ #bars { position: absolute; left: 8%; top: 22%; width: 84%; height: 56%; }
6
+ </style></head>
7
+ <body>
8
+ <div id="bars"></div>
9
+ <script type="application/json" id="popost-params">
10
+ {
11
+ "about": "A row of bars driven by a sound's envelope (a list of levels a second): every bar reads it a little apart and is smoothed, so the row moves like a spectrum. Give the envelope of the project's own sound; a pattern stands in for it here.",
12
+ "class": "audio",
13
+ "seconds": 4,
14
+ "tags": [
15
+ "audio",
16
+ "bars",
17
+ "spectrum",
18
+ "equalizer",
19
+ "waveform",
20
+ "music",
21
+ "beat",
22
+ "reactive"
23
+ ],
24
+ "params": [
25
+ {
26
+ "name": "pattern",
27
+ "type": "choice",
28
+ "default": "beat",
29
+ "options": [
30
+ "beat",
31
+ "speech",
32
+ "swell",
33
+ "steady"
34
+ ],
35
+ "what": "the stand-in envelope, until the scene is given a real one"
36
+ },
37
+ {
38
+ "name": "bpm",
39
+ "type": "number",
40
+ "default": 120,
41
+ "min": 40,
42
+ "max": 220,
43
+ "what": "the tempo of the stand-in beat"
44
+ },
45
+ {
46
+ "name": "bars",
47
+ "type": "number",
48
+ "default": 28,
49
+ "min": 4,
50
+ "max": 96,
51
+ "what": "how many bars"
52
+ },
53
+ {
54
+ "name": "align",
55
+ "type": "choice",
56
+ "default": "bottom",
57
+ "options": [
58
+ "bottom",
59
+ "center"
60
+ ],
61
+ "what": "whether the bars grow from the floor or from the middle"
62
+ },
63
+ {
64
+ "name": "gap",
65
+ "type": "number",
66
+ "default": 6,
67
+ "min": 0,
68
+ "max": 40,
69
+ "what": "the space between bars",
70
+ "unit": "pixels at 720 high"
71
+ },
72
+ {
73
+ "name": "seed",
74
+ "type": "number",
75
+ "default": 4,
76
+ "min": 1,
77
+ "max": 999,
78
+ "what": "how the bars differ"
79
+ },
80
+ {
81
+ "name": "color",
82
+ "type": "colour",
83
+ "default": "#80ffdb",
84
+ "what": "the bars"
85
+ },
86
+ {
87
+ "name": "ground",
88
+ "type": "colour",
89
+ "default": "#03071e",
90
+ "what": "the background"
91
+ },
92
+ {
93
+ "name": "delay",
94
+ "type": "number",
95
+ "default": 0.2,
96
+ "min": 0,
97
+ "max": 20,
98
+ "unit": "seconds",
99
+ "what": "when the effect starts, from the start of the shot"
100
+ }
101
+ ],
102
+ "values": {}
103
+ }
104
+ </script>
105
+ <script src="../lib/popost-motion.js"></script>
106
+ <script>
107
+ // The parameters of this copy: the declared defaults, then what "values" sets.
108
+ var P = (function () { var b = JSON.parse(document.getElementById('popost-params').textContent), v = {}; b.params.forEach(function (p) { v[p.name] = p['default']; }); for (var k in b.values) v[k] = b.values[k]; return v; })();
109
+ // The canvas, from the size this file declares for html and body: a scene of a later shot loads in a layer that
110
+ // is not displayed, where the page itself measures 0 until its first frame.
111
+ var SIZE = /html, body \{ margin: 0; width: (\d+)px; height: (\d+)px;/.exec(document.querySelector('style').textContent), W = Number(SIZE[1]), H = Number(SIZE[2]), U = Math.min(W, H) / 720;
112
+ var M = popostMotion, RATE = 30, env = [], beat = 60 / P.bpm;
113
+ document.body.style.background = P.ground;
114
+ // A stand-in envelope at 30 levels a second, 60 seconds long. Replace it by the levels of the project's sound:
115
+ // window.__popostEnvelope = { rate: 30, levels: [...] } before this script, or edit this list.
116
+ for (var i = 0; i < 60 * RATE; i++) {
117
+ var t = i / RATE, u = (t % beat) / beat;
118
+ env.push(P.pattern === 'beat' ? 0.25 + 0.75 * Math.exp(-5 * u) * (Math.floor(t / beat) % 4 === 0 ? 1 : 0.7)
119
+ : P.pattern === 'speech' ? Math.max(0, 0.55 + 0.45 * M.noise(t * 6, 3)) * (M.noise(t * 0.9, 9) > -0.35 ? 1 : 0.08)
120
+ : P.pattern === 'swell' ? 0.5 - 0.5 * Math.cos(t * 0.9) : 0.6);
121
+ }
122
+ var given = window.__popostEnvelope;
123
+ M.bars('#bars', given ? given.levels : env, { rate: given ? given.rate : RATE, count: P.bars, color: P.color, gap: P.gap * U, align: P.align, seed: P.seed });
124
+ </script>
125
+ </body></html>
@@ -0,0 +1,182 @@
1
+ <!doctype html>
2
+ <html><head><meta charset="utf-8"><title>Bouncing ball</title>
3
+ <style>
4
+ html, body { margin: 0; width: 1280px; height: 720px; overflow: hidden; }
5
+ #floor { position: absolute; left: 0; width: 100%; bottom: 0; }
6
+ #ball { border-radius: 50%; }
7
+ </style></head>
8
+ <body>
9
+ <div id="floor"></div>
10
+ <div id="ball"></div>
11
+ <script type="application/json" id="popost-params">
12
+ {
13
+ "about": "A ball is dropped and bounces: parabolic arcs with restitution, squash only on the frames it touches, stretch along its fall, a contact shadow that tightens as it comes down, a ghost trail, and a ring on the floor at the first landing.",
14
+ "class": "motion",
15
+ "seconds": 2.4,
16
+ "tags": [
17
+ "bounce",
18
+ "ball",
19
+ "squash",
20
+ "stretch",
21
+ "physics",
22
+ "gravity",
23
+ "trail",
24
+ "shadow",
25
+ "on twos"
26
+ ],
27
+ "params": [
28
+ {
29
+ "name": "startX",
30
+ "type": "number",
31
+ "default": 0.3,
32
+ "min": 0,
33
+ "max": 1,
34
+ "what": "where the ball is released, across",
35
+ "unit": "fraction of the canvas width"
36
+ },
37
+ {
38
+ "name": "startY",
39
+ "type": "number",
40
+ "default": 0.12,
41
+ "min": 0,
42
+ "max": 1,
43
+ "what": "where the ball is released, down",
44
+ "unit": "fraction of the canvas height"
45
+ },
46
+ {
47
+ "name": "endX",
48
+ "type": "number",
49
+ "default": 0.7,
50
+ "min": 0,
51
+ "max": 1,
52
+ "what": "where it has travelled to when it rests",
53
+ "unit": "fraction of the canvas width"
54
+ },
55
+ {
56
+ "name": "floor",
57
+ "type": "number",
58
+ "default": 0.82,
59
+ "min": 0.2,
60
+ "max": 1,
61
+ "what": "the height of the floor",
62
+ "unit": "fraction of the canvas height"
63
+ },
64
+ {
65
+ "name": "size",
66
+ "type": "number",
67
+ "default": 0.14,
68
+ "min": 0.02,
69
+ "max": 0.6,
70
+ "what": "the ball's diameter",
71
+ "unit": "fraction of the canvas height"
72
+ },
73
+ {
74
+ "name": "bounces",
75
+ "type": "number",
76
+ "default": 3,
77
+ "min": 0,
78
+ "max": 8,
79
+ "what": "how many times it bounces after the first landing"
80
+ },
81
+ {
82
+ "name": "restitution",
83
+ "type": "number",
84
+ "default": 0.6,
85
+ "min": 0.1,
86
+ "max": 0.95,
87
+ "what": "the share of its speed it keeps at each bounce: 0.35 heavy, 0.6 rubber, 0.8 lively"
88
+ },
89
+ {
90
+ "name": "squash",
91
+ "type": "number",
92
+ "default": 0.3,
93
+ "min": 0,
94
+ "max": 0.6,
95
+ "what": "how flat it gets on the frames it touches"
96
+ },
97
+ {
98
+ "name": "stretch",
99
+ "type": "number",
100
+ "default": 0.25,
101
+ "min": 0,
102
+ "max": 0.6,
103
+ "what": "how long it gets along its fall at full speed"
104
+ },
105
+ {
106
+ "name": "trail",
107
+ "type": "number",
108
+ "default": 4,
109
+ "min": 0,
110
+ "max": 10,
111
+ "what": "ghost copies behind it"
112
+ },
113
+ {
114
+ "name": "duration",
115
+ "type": "number",
116
+ "default": 1.6,
117
+ "min": 0.3,
118
+ "max": 10,
119
+ "what": "from the release to the last landing",
120
+ "unit": "seconds"
121
+ },
122
+ {
123
+ "name": "hold",
124
+ "type": "choice",
125
+ "default": 1,
126
+ "options": [
127
+ 1,
128
+ 2,
129
+ 3
130
+ ],
131
+ "what": "frames each drawing is held: 1 smooth, 2 \"on twos\" as hand-drawn animation"
132
+ },
133
+ {
134
+ "name": "color",
135
+ "type": "colour",
136
+ "default": "#fca311",
137
+ "what": "the ball"
138
+ },
139
+ {
140
+ "name": "ground",
141
+ "type": "colour",
142
+ "default": "#14213d",
143
+ "what": "the background"
144
+ },
145
+ {
146
+ "name": "floorColor",
147
+ "type": "colour",
148
+ "default": "#0b1326",
149
+ "what": "the floor"
150
+ },
151
+ {
152
+ "name": "delay",
153
+ "type": "number",
154
+ "default": 0.2,
155
+ "min": 0,
156
+ "max": 20,
157
+ "unit": "seconds",
158
+ "what": "when the effect starts, from the start of the shot"
159
+ }
160
+ ],
161
+ "values": {}
162
+ }
163
+ </script>
164
+ <script src="../lib/popost-motion.js"></script>
165
+ <script>
166
+ // The parameters of this copy: the declared defaults, then what "values" sets.
167
+ var P = (function () { var b = JSON.parse(document.getElementById('popost-params').textContent), v = {}; b.params.forEach(function (p) { v[p.name] = p['default']; }); for (var k in b.values) v[k] = b.values[k]; return v; })();
168
+ // The canvas, from the size this file declares for html and body: a scene of a later shot loads in a layer that
169
+ // is not displayed, where the page itself measures 0 until its first frame.
170
+ var SIZE = /html, body \{ margin: 0; width: (\d+)px; height: (\d+)px;/.exec(document.querySelector('style').textContent), W = Number(SIZE[1]), H = Number(SIZE[2]), U = Math.min(W, H) / 720;
171
+ var M = popostMotion, size = P.size * H, floor = P.floor * H;
172
+ document.body.style.background = P.ground;
173
+ var f = document.getElementById('floor'); f.style.top = floor + 'px'; f.style.background = P.floorColor;
174
+ var ball = document.getElementById('ball'); ball.style.width = ball.style.height = size + 'px'; ball.style.background = P.color;
175
+ var b = M.bounce('#ball', { at: P.delay, 'for': P.duration, from: [P.startX * W, P.startY * H], to: [P.endX * W], floor: floor, size: size, bounces: P.bounces, restitution: P.restitution, squash: P.squash, stretch: P.stretch, trail: P.trail, shadow: true });
176
+ // The floor answers the first landing; the later ones are too soft for a ring.
177
+ var firstX = P.startX * W + (P.endX - P.startX) * W * ((b.contacts[0] - P.delay) / P.duration);
178
+ M.shockwave({ at: b.contacts[0], x: firstX, y: floor, radius: size * 1.6, flat: 0.22, width: 8 * U, cue: false });
179
+ // "On twos": the engine's render is wrapped so that the time itself is held.
180
+ if (P.hold > 1) { var draw = window.__popostScene.render; window.__popostScene.render = function (s, fps) { draw(M.stepped(s, fps, P.hold), fps); }; }
181
+ </script>
182
+ </body></html>