@esri/solutions-components 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of @esri/solutions-components might be problematic. Click here for more details.

Files changed (892) hide show
  1. package/README.md +6 -5
  2. package/dist/cjs/CalciteExpandToggle-3e4e3b6c.js +0 -2
  3. package/dist/cjs/CalciteHeading-d765addc.js +0 -2
  4. package/dist/cjs/_commonjsHelpers-84e109b5.js +26 -0
  5. package/dist/cjs/array-cd6c0c32.js +0 -2
  6. package/dist/cjs/calcite-accordion-item.cjs.entry.js +0 -2
  7. package/dist/cjs/calcite-accordion.cjs.entry.js +0 -2
  8. package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -2
  9. package/dist/cjs/calcite-action-group.cjs.entry.js +0 -2
  10. package/dist/cjs/calcite-action-menu_3.cjs.entry.js +0 -2
  11. package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -2
  12. package/dist/cjs/calcite-action.cjs.entry.js +0 -2
  13. package/dist/cjs/calcite-alert.cjs.entry.js +0 -2
  14. package/dist/cjs/calcite-avatar.cjs.entry.js +0 -2
  15. package/dist/cjs/calcite-block-section.cjs.entry.js +0 -2
  16. package/dist/cjs/calcite-block.cjs.entry.js +0 -2
  17. package/dist/cjs/calcite-button.cjs.entry.js +0 -2
  18. package/dist/cjs/calcite-card.cjs.entry.js +0 -2
  19. package/dist/cjs/calcite-checkbox_4.cjs.entry.js +0 -2
  20. package/dist/cjs/calcite-chip.cjs.entry.js +0 -2
  21. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +3 -4
  22. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +2 -3
  23. package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -4
  24. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +0 -2
  25. package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -2
  26. package/dist/cjs/calcite-combobox.cjs.entry.js +0 -2
  27. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -2
  28. package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -2
  29. package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -2
  30. package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -2
  31. package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -2
  32. package/dist/cjs/calcite-fab.cjs.entry.js +0 -2
  33. package/dist/cjs/calcite-filter.cjs.entry.js +0 -2
  34. package/dist/cjs/calcite-flow.cjs.entry.js +0 -2
  35. package/dist/cjs/calcite-graph.cjs.entry.js +0 -2
  36. package/dist/cjs/calcite-handle.cjs.entry.js +0 -2
  37. package/dist/cjs/calcite-icon.cjs.entry.js +0 -2
  38. package/dist/cjs/calcite-inline-editable.cjs.entry.js +0 -2
  39. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -2
  40. package/dist/cjs/calcite-input-message.cjs.entry.js +0 -2
  41. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +0 -2
  42. package/dist/cjs/calcite-input_2.cjs.entry.js +0 -2
  43. package/dist/cjs/calcite-label.cjs.entry.js +0 -2
  44. package/dist/cjs/calcite-link.cjs.entry.js +0 -2
  45. package/dist/cjs/calcite-list-item-group.cjs.entry.js +0 -2
  46. package/dist/cjs/calcite-list-item.cjs.entry.js +0 -2
  47. package/dist/cjs/calcite-list.cjs.entry.js +0 -2
  48. package/dist/cjs/calcite-loader.cjs.entry.js +0 -2
  49. package/dist/cjs/calcite-modal.cjs.entry.js +0 -2
  50. package/dist/cjs/calcite-notice.cjs.entry.js +0 -2
  51. package/dist/cjs/calcite-option-group.cjs.entry.js +0 -2
  52. package/dist/cjs/calcite-option.cjs.entry.js +0 -2
  53. package/dist/cjs/calcite-pagination.cjs.entry.js +0 -2
  54. package/dist/cjs/calcite-panel_14.cjs.entry.js +41 -8
  55. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +0 -2
  56. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +0 -2
  57. package/dist/cjs/calcite-pick-list.cjs.entry.js +0 -2
  58. package/dist/cjs/calcite-popover-manager.cjs.entry.js +0 -2
  59. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +0 -2
  60. package/dist/cjs/calcite-radio-button.cjs.entry.js +0 -2
  61. package/dist/cjs/calcite-radio-group-item.cjs.entry.js +0 -2
  62. package/dist/cjs/calcite-radio-group.cjs.entry.js +0 -2
  63. package/dist/cjs/calcite-radio.cjs.entry.js +0 -2
  64. package/dist/cjs/calcite-rating.cjs.entry.js +0 -2
  65. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -2
  66. package/dist/cjs/calcite-select.cjs.entry.js +0 -2
  67. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +0 -2
  68. package/dist/cjs/calcite-slider.cjs.entry.js +0 -2
  69. package/dist/cjs/calcite-sortable-list.cjs.entry.js +0 -2
  70. package/dist/cjs/calcite-split-button.cjs.entry.js +0 -2
  71. package/dist/cjs/calcite-stepper-item.cjs.entry.js +0 -2
  72. package/dist/cjs/calcite-stepper.cjs.entry.js +0 -2
  73. package/dist/cjs/calcite-switch.cjs.entry.js +0 -2
  74. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +0 -2
  75. package/dist/cjs/calcite-tile-select.cjs.entry.js +0 -2
  76. package/dist/cjs/calcite-tile.cjs.entry.js +0 -2
  77. package/dist/cjs/calcite-time-picker.cjs.entry.js +0 -2
  78. package/dist/cjs/calcite-tip-group.cjs.entry.js +0 -2
  79. package/dist/cjs/calcite-tip-manager.cjs.entry.js +0 -2
  80. package/dist/cjs/calcite-tip.cjs.entry.js +0 -2
  81. package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -2
  82. package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -2
  83. package/dist/cjs/calcite-value-list.cjs.entry.js +0 -2
  84. package/dist/cjs/common-a4edb52d.js +216 -0
  85. package/dist/cjs/date-0554c4d1.js +0 -2
  86. package/dist/cjs/debounce-df22462b.js +0 -2
  87. package/dist/cjs/dom-62511f59.js +0 -2
  88. package/dist/cjs/editStore-36fc36e6.js +2024 -0
  89. package/dist/cjs/forIn-6a1c2f6d.js +0 -2
  90. package/dist/cjs/form-0b5b2d4e.js +0 -2
  91. package/dist/cjs/generalHelpers-cee7d0da.js +168 -0
  92. package/dist/cjs/guid-c6be9504.js +0 -2
  93. package/dist/cjs/{index-706750dc.js → index-69e74dd7.js} +5 -19
  94. package/dist/cjs/index-81c17948.js +0 -2
  95. package/dist/cjs/index.cjs.js +0 -2
  96. package/dist/cjs/interfaces-5ba2c1a7.js +0 -2
  97. package/dist/cjs/key-2a6290c8.js +0 -2
  98. package/dist/cjs/label-46482470.js +0 -2
  99. package/dist/cjs/loader.cjs.js +1 -3
  100. package/dist/cjs/locale-0db34680.js +0 -2
  101. package/dist/cjs/math-71f8de66.js +0 -2
  102. package/dist/cjs/number-697ce34c.js +0 -2
  103. package/dist/cjs/observers-88bbd6ef.js +0 -2
  104. package/dist/cjs/popper-8c8dc960.js +0 -2
  105. package/dist/cjs/request-6905140c.js +550 -0
  106. package/dist/cjs/resources-20f88094.js +0 -2
  107. package/dist/cjs/resources-27c22d8a.js +0 -2
  108. package/dist/cjs/{resources-369e7421.js → resources-2a401414.js} +1 -3
  109. package/dist/cjs/resources-46af0638.js +0 -2
  110. package/dist/cjs/resources-509951f9.js +0 -2
  111. package/dist/cjs/resources-5b7958e4.js +0 -2
  112. package/dist/cjs/resources-a265534b.js +0 -2
  113. package/dist/cjs/resources-e231446d.js +0 -2
  114. package/dist/cjs/resources-ef6c71a1.js +0 -2
  115. package/dist/cjs/shared-list-render-63d3ea89.js +0 -2
  116. package/dist/cjs/solution-configuration.cjs.entry.js +172 -14
  117. package/dist/cjs/solution-contents_3.cjs.entry.js +42 -68
  118. package/dist/cjs/solutions.cjs.js +1 -3
  119. package/dist/cjs/sortable.esm-14548a17.js +0 -2
  120. package/dist/cjs/store-manager.cjs.entry.js +17 -8
  121. package/dist/cjs/templates-a0242ced.js +422 -0
  122. package/dist/cjs/time-c87dc79e.js +0 -2
  123. package/dist/cjs/utils-c19d354a.js +0 -2
  124. package/dist/cjs/utils-cb7373e6.js +0 -2
  125. package/dist/collection/assets/nls/fr/strings.js +2 -0
  126. package/dist/collection/assets/nls/strings.js +2 -0
  127. package/dist/collection/collection-manifest.json +9 -9
  128. package/dist/collection/components/json-editor/json-editor.js +40 -2
  129. package/dist/collection/components/solution-configuration/solution-configuration.js +251 -24
  130. package/dist/collection/components/solution-contents/solution-contents.js +12 -3
  131. package/dist/collection/components/solution-item/solution-item.css +1 -0
  132. package/dist/collection/components/solution-item/solution-item.js +2 -2
  133. package/dist/collection/components/solution-item-details/solution-item-details.js +4 -3
  134. package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -1
  135. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +2 -2
  136. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +2 -2
  137. package/dist/collection/components/solution-resource-item/solution-resource-item.js +2 -2
  138. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +68 -68
  139. package/dist/collection/components/solution-spatial-ref/spatialreferences.js +0 -2
  140. package/dist/collection/components/solution-template-data/solution-template-data.js +4 -4
  141. package/dist/collection/components/solution-variables/solution-variables.js +2 -2
  142. package/dist/collection/components/store-manager/store-manager.js +49 -5
  143. package/dist/collection/demos/browse-solutions.html +136 -54
  144. package/dist/collection/demos/solution-configuration.html +139 -12
  145. package/dist/collection/demos/solution-spatial-ref.html +1 -1
  146. package/dist/collection/index.js +0 -1
  147. package/dist/collection/utils/common.js +25 -77
  148. package/dist/collection/utils/common.ts +42 -73
  149. package/dist/collection/utils/editStore.js +0 -1
  150. package/dist/{solutions/p-ecbfddde.js → collection/utils/interfaces.js} +16 -17
  151. package/dist/collection/utils/interfaces.ts +126 -0
  152. package/dist/collection/utils/templates.js +8 -6
  153. package/dist/collection/utils/templates.ts +19 -33
  154. package/dist/custom-elements/index.js +3161 -152
  155. package/dist/esm/CalciteExpandToggle-5df46988.js +0 -2
  156. package/dist/esm/CalciteHeading-79b4b347.js +0 -2
  157. package/dist/esm/_commonjsHelpers-84c626bc.js +22 -0
  158. package/dist/esm/array-71e0c501.js +0 -2
  159. package/dist/esm/calcite-accordion-item.entry.js +0 -2
  160. package/dist/esm/calcite-accordion.entry.js +0 -2
  161. package/dist/esm/calcite-action-bar.entry.js +0 -2
  162. package/dist/esm/calcite-action-group.entry.js +0 -2
  163. package/dist/esm/calcite-action-menu_3.entry.js +0 -2
  164. package/dist/esm/calcite-action-pad.entry.js +0 -2
  165. package/dist/esm/calcite-action.entry.js +0 -2
  166. package/dist/esm/calcite-alert.entry.js +0 -2
  167. package/dist/esm/calcite-avatar.entry.js +0 -2
  168. package/dist/esm/calcite-block-section.entry.js +0 -2
  169. package/dist/esm/calcite-block.entry.js +0 -2
  170. package/dist/esm/calcite-button.entry.js +0 -2
  171. package/dist/esm/calcite-card.entry.js +0 -2
  172. package/dist/esm/calcite-checkbox_4.entry.js +0 -2
  173. package/dist/esm/calcite-chip.entry.js +0 -2
  174. package/dist/esm/calcite-color-picker-hex-input.entry.js +3 -4
  175. package/dist/esm/calcite-color-picker-swatch.entry.js +2 -3
  176. package/dist/esm/calcite-color-picker.entry.js +3 -4
  177. package/dist/esm/calcite-combobox-item-group.entry.js +0 -2
  178. package/dist/esm/calcite-combobox-item.entry.js +0 -2
  179. package/dist/esm/calcite-combobox.entry.js +0 -2
  180. package/dist/esm/calcite-date-picker-day_3.entry.js +0 -2
  181. package/dist/esm/calcite-date-picker.entry.js +0 -2
  182. package/dist/esm/calcite-dropdown-group.entry.js +0 -2
  183. package/dist/esm/calcite-dropdown-item.entry.js +0 -2
  184. package/dist/esm/calcite-dropdown.entry.js +0 -2
  185. package/dist/esm/calcite-fab.entry.js +0 -2
  186. package/dist/esm/calcite-filter.entry.js +0 -2
  187. package/dist/esm/calcite-flow.entry.js +0 -2
  188. package/dist/esm/calcite-graph.entry.js +0 -2
  189. package/dist/esm/calcite-handle.entry.js +0 -2
  190. package/dist/esm/calcite-icon.entry.js +0 -2
  191. package/dist/esm/calcite-inline-editable.entry.js +0 -2
  192. package/dist/esm/calcite-input-date-picker.entry.js +0 -2
  193. package/dist/esm/calcite-input-message.entry.js +0 -2
  194. package/dist/esm/calcite-input-time-picker.entry.js +0 -2
  195. package/dist/esm/calcite-input_2.entry.js +0 -2
  196. package/dist/esm/calcite-label.entry.js +0 -2
  197. package/dist/esm/calcite-link.entry.js +0 -2
  198. package/dist/esm/calcite-list-item-group.entry.js +0 -2
  199. package/dist/esm/calcite-list-item.entry.js +0 -2
  200. package/dist/esm/calcite-list.entry.js +0 -2
  201. package/dist/esm/calcite-loader.entry.js +0 -2
  202. package/dist/esm/calcite-modal.entry.js +0 -2
  203. package/dist/esm/calcite-notice.entry.js +0 -2
  204. package/dist/esm/calcite-option-group.entry.js +0 -2
  205. package/dist/esm/calcite-option.entry.js +0 -2
  206. package/dist/esm/calcite-pagination.entry.js +0 -2
  207. package/dist/esm/calcite-panel_14.entry.js +37 -4
  208. package/dist/esm/calcite-pick-list-group.entry.js +0 -2
  209. package/dist/esm/calcite-pick-list-item.entry.js +0 -2
  210. package/dist/esm/calcite-pick-list.entry.js +0 -2
  211. package/dist/esm/calcite-popover-manager.entry.js +0 -2
  212. package/dist/esm/calcite-radio-button-group.entry.js +0 -2
  213. package/dist/esm/calcite-radio-button.entry.js +0 -2
  214. package/dist/esm/calcite-radio-group-item.entry.js +0 -2
  215. package/dist/esm/calcite-radio-group.entry.js +0 -2
  216. package/dist/esm/calcite-radio.entry.js +0 -2
  217. package/dist/esm/calcite-rating.entry.js +0 -2
  218. package/dist/esm/calcite-scrim.entry.js +0 -2
  219. package/dist/esm/calcite-select.entry.js +0 -2
  220. package/dist/esm/calcite-shell-center-row.entry.js +0 -2
  221. package/dist/esm/calcite-slider.entry.js +0 -2
  222. package/dist/esm/calcite-sortable-list.entry.js +0 -2
  223. package/dist/esm/calcite-split-button.entry.js +0 -2
  224. package/dist/esm/calcite-stepper-item.entry.js +0 -2
  225. package/dist/esm/calcite-stepper.entry.js +0 -2
  226. package/dist/esm/calcite-switch.entry.js +0 -2
  227. package/dist/esm/calcite-tile-select-group.entry.js +0 -2
  228. package/dist/esm/calcite-tile-select.entry.js +0 -2
  229. package/dist/esm/calcite-tile.entry.js +0 -2
  230. package/dist/esm/calcite-time-picker.entry.js +0 -2
  231. package/dist/esm/calcite-tip-group.entry.js +0 -2
  232. package/dist/esm/calcite-tip-manager.entry.js +0 -2
  233. package/dist/esm/calcite-tip.entry.js +0 -2
  234. package/dist/esm/calcite-tooltip.entry.js +0 -2
  235. package/dist/esm/calcite-value-list-item.entry.js +0 -2
  236. package/dist/esm/calcite-value-list.entry.js +0 -2
  237. package/dist/esm/common-70333fb9.js +213 -0
  238. package/dist/esm/date-5d75460a.js +0 -2
  239. package/dist/esm/debounce-23ad5849.js +0 -2
  240. package/dist/esm/dom-1cc617ae.js +0 -2
  241. package/dist/esm/editStore-197be454.js +2022 -0
  242. package/dist/esm/forIn-c922d47c.js +0 -2
  243. package/dist/esm/form-636dfed1.js +0 -2
  244. package/dist/esm/generalHelpers-91e92dc0.js +161 -0
  245. package/dist/esm/guid-740f1f1a.js +0 -2
  246. package/dist/esm/index-a3c3e3db.js +0 -2
  247. package/dist/esm/{index-934f242e.js → index-c1264d13.js} +3 -17
  248. package/dist/esm/index.js +0 -2
  249. package/dist/esm/interfaces-4f07beec.js +0 -2
  250. package/dist/esm/key-1748eb79.js +0 -2
  251. package/dist/esm/label-851f8926.js +0 -2
  252. package/dist/esm/loader.js +1 -3
  253. package/dist/esm/locale-31c8d43b.js +0 -2
  254. package/dist/esm/math-d8795f31.js +0 -2
  255. package/dist/esm/number-47ecb380.js +0 -2
  256. package/dist/esm/observers-b13ff24b.js +0 -2
  257. package/dist/esm/popper-25874f2f.js +0 -2
  258. package/dist/esm/request-9c2c9a49.js +548 -0
  259. package/dist/esm/resources-12c3b829.js +0 -2
  260. package/dist/esm/resources-32d7dd89.js +0 -2
  261. package/dist/esm/resources-466ccf86.js +0 -2
  262. package/dist/esm/resources-4cc0ef44.js +0 -2
  263. package/dist/esm/resources-861d0240.js +0 -2
  264. package/dist/esm/resources-b023c30a.js +0 -2
  265. package/dist/esm/{resources-c537bacb.js → resources-d7e09977.js} +1 -3
  266. package/dist/esm/resources-e56b6e53.js +0 -2
  267. package/dist/esm/resources-ec79cfd7.js +0 -2
  268. package/dist/esm/shared-list-render-b5dacd2e.js +0 -2
  269. package/dist/esm/solution-configuration.entry.js +172 -14
  270. package/dist/esm/solution-contents_3.entry.js +42 -68
  271. package/dist/esm/solutions.js +1 -3
  272. package/dist/esm/sortable.esm-7856912e.js +0 -2
  273. package/dist/esm/store-manager.entry.js +17 -8
  274. package/dist/esm/templates-c15e0de2.js +414 -0
  275. package/dist/esm/time-a3b29c35.js +0 -2
  276. package/dist/esm/utils-021cb956.js +0 -2
  277. package/dist/esm/utils-5fdd203c.js +0 -2
  278. package/dist/solutions/assets/nls/fr/strings.js +2 -0
  279. package/dist/solutions/assets/nls/strings.js +2 -0
  280. package/dist/solutions/demos/browse-solutions.html +136 -54
  281. package/dist/solutions/demos/solution-configuration.html +139 -12
  282. package/dist/solutions/demos/solution-spatial-ref.html +1 -1
  283. package/dist/solutions/index.esm.js +0 -2
  284. package/dist/solutions/p-03c9247d.entry.js +10 -0
  285. package/dist/solutions/p-03da5f23.entry.js +6 -0
  286. package/dist/solutions/p-054256c8.entry.js +10 -0
  287. package/dist/solutions/p-05c73b7d.js +1 -2
  288. package/dist/solutions/p-06c2b347.entry.js +6 -0
  289. package/dist/solutions/p-09a06209.entry.js +6 -0
  290. package/dist/solutions/p-09e5283f.entry.js +6 -0
  291. package/dist/solutions/p-0a0ca7d3.entry.js +6 -0
  292. package/dist/solutions/p-0b8525e2.js +1 -2
  293. package/dist/solutions/p-0bddf168.entry.js +10 -0
  294. package/dist/solutions/p-0dd00bd7.entry.js +6 -0
  295. package/dist/solutions/p-0f8fd0f8.entry.js +10 -0
  296. package/dist/solutions/p-1345c0c8.js +6 -0
  297. package/dist/solutions/p-1387e8ef.entry.js +10 -0
  298. package/dist/solutions/p-17195493.entry.js +6 -0
  299. package/dist/solutions/p-172b8454.js +38 -0
  300. package/dist/solutions/p-173c3a97.entry.js +10 -0
  301. package/dist/solutions/p-175fe700.entry.js +6 -0
  302. package/dist/solutions/p-17f21116.entry.js +6 -0
  303. package/dist/solutions/p-18657c74.entry.js +10 -0
  304. package/dist/solutions/p-20c8a31e.entry.js +14 -0
  305. package/dist/solutions/p-228131f3.js +3 -3
  306. package/dist/solutions/p-2480c2c3.entry.js +10 -0
  307. package/dist/solutions/p-291cbb4f.js +1 -2
  308. package/dist/solutions/p-29d230fb.entry.js +6 -0
  309. package/dist/solutions/p-2de43402.entry.js +10 -0
  310. package/dist/solutions/p-2e1cd889.js +1 -2
  311. package/dist/solutions/p-386bc1f5.entry.js +10 -0
  312. package/dist/solutions/p-3956acc6.entry.js +6 -0
  313. package/dist/solutions/p-3ce922dd.js +20 -0
  314. package/dist/solutions/p-3e67ed97.js +1 -2
  315. package/dist/solutions/p-3eac2c21.entry.js +10 -0
  316. package/dist/solutions/p-3fd65329.entry.js +6 -0
  317. package/dist/solutions/p-41c2e1cc.js +1 -2
  318. package/dist/solutions/p-42f5b6d1.entry.js +10 -0
  319. package/dist/solutions/p-44e661a2.js +1 -2
  320. package/dist/solutions/p-4847f326.entry.js +10 -0
  321. package/dist/solutions/p-4a5b86a0.entry.js +10 -0
  322. package/dist/solutions/p-4f8cae93.entry.js +10 -0
  323. package/dist/solutions/p-51c9f2db.entry.js +10 -0
  324. package/dist/solutions/p-52d835be.entry.js +10 -0
  325. package/dist/solutions/p-55dddf06.entry.js +10 -0
  326. package/dist/solutions/p-56a376ea.entry.js +6 -0
  327. package/dist/solutions/p-57e5029a.entry.js +6 -0
  328. package/dist/solutions/p-58b7f4aa.entry.js +10 -0
  329. package/dist/solutions/p-5cd9ccc3.entry.js +22 -0
  330. package/dist/solutions/p-5dd4cf97.entry.js +6 -0
  331. package/dist/solutions/p-5edf418e.entry.js +10 -0
  332. package/dist/solutions/p-64711824.entry.js +10 -0
  333. package/dist/solutions/p-68bf7243.entry.js +11 -0
  334. package/dist/solutions/p-7096464e.js +3 -4
  335. package/dist/solutions/p-720922e5.entry.js +10 -0
  336. package/dist/solutions/p-73e2d13f.js +1 -2
  337. package/dist/solutions/p-73e8d41c.entry.js +10 -0
  338. package/dist/solutions/p-7804ce97.js +1 -2
  339. package/dist/solutions/p-79064f42.entry.js +6 -0
  340. package/dist/solutions/p-7976d171.entry.js +6 -0
  341. package/dist/solutions/p-7a98627f.entry.js +10 -0
  342. package/dist/solutions/p-7aaed3f1.entry.js +10 -0
  343. package/dist/solutions/p-7cc9c6af.js +2 -7
  344. package/dist/solutions/p-7df393df.js +1 -2
  345. package/dist/solutions/p-7f93b2dd.entry.js +6 -0
  346. package/dist/solutions/p-82ab483b.entry.js +10 -0
  347. package/dist/solutions/p-8565f0c1.entry.js +10 -0
  348. package/dist/solutions/p-85cf288c.js +1 -2
  349. package/dist/solutions/p-8701d184.entry.js +10 -0
  350. package/dist/solutions/p-946521e1.js +2 -3
  351. package/dist/solutions/p-974d27a4.entry.js +10 -0
  352. package/dist/solutions/p-9c08ce38.entry.js +6 -0
  353. package/dist/solutions/p-9deb6df3.js +36 -0
  354. package/dist/solutions/p-9df9ac35.js +1 -2
  355. package/dist/solutions/p-9ed0c781.entry.js +6 -0
  356. package/dist/solutions/p-9f3fa133.entry.js +10 -0
  357. package/dist/solutions/p-a10dc180.js +1 -2
  358. package/dist/solutions/p-a201c2ea.entry.js +6 -0
  359. package/dist/solutions/p-a598cbb6.entry.js +10 -0
  360. package/dist/solutions/p-a59dfe85.entry.js +6 -0
  361. package/dist/solutions/p-a5fbf459.entry.js +11 -0
  362. package/dist/solutions/p-a6faf819.entry.js +10 -0
  363. package/dist/solutions/p-a8b4d400.entry.js +10 -0
  364. package/dist/solutions/p-a93a4772.entry.js +10 -0
  365. package/dist/solutions/{p-07099311.entry.js → p-a9dd9571.entry.js} +1 -2
  366. package/dist/solutions/p-a9df64c4.js +1 -2
  367. package/dist/solutions/p-aa11e35b.entry.js +10 -0
  368. package/dist/solutions/p-ae4a329c.entry.js +6 -0
  369. package/dist/solutions/p-af9be2ca.js +1 -2
  370. package/dist/solutions/p-b16a91ae.entry.js +6 -0
  371. package/dist/solutions/p-b5693287.entry.js +6 -0
  372. package/dist/solutions/p-b5bbe558.entry.js +10 -0
  373. package/dist/solutions/p-b81ebd54.entry.js +10 -0
  374. package/dist/solutions/p-b85c1b6a.entry.js +6 -0
  375. package/dist/solutions/p-bb3adfc7.entry.js +10 -0
  376. package/dist/solutions/p-c11b966c.entry.js +10 -0
  377. package/dist/solutions/p-c1e7f656.entry.js +6 -0
  378. package/dist/solutions/p-c27b17b8.entry.js +10 -0
  379. package/dist/solutions/p-c34e0641.js +1 -2
  380. package/dist/solutions/p-c5216bba.entry.js +10 -0
  381. package/dist/solutions/p-c8a69756.entry.js +10 -0
  382. package/dist/solutions/p-cb35cbb3.entry.js +6 -0
  383. package/dist/solutions/p-cb5cb9a8.js +1 -2
  384. package/dist/solutions/p-cef98db7.js +6 -0
  385. package/dist/solutions/p-d69bc5fd.entry.js +10 -0
  386. package/dist/solutions/p-de45b192.entry.js +6 -0
  387. package/dist/solutions/p-e4edca3b.js +1 -2
  388. package/dist/solutions/p-e581f631.js +1 -2
  389. package/dist/solutions/p-e762b2d1.js +3 -3
  390. package/dist/solutions/p-eb2efc0f.js +1 -2
  391. package/dist/solutions/p-ec178ea9.js +1 -2
  392. package/dist/solutions/p-ed17446f.entry.js +6 -0
  393. package/dist/solutions/p-edd6d948.entry.js +10 -0
  394. package/dist/solutions/p-ee6eca93.js +18 -0
  395. package/dist/solutions/{p-4573d7c2.js → p-f1867a12.js} +2 -3
  396. package/dist/solutions/p-f187755e.js +1 -2
  397. package/dist/solutions/p-f49bc4a8.js +1 -2
  398. package/dist/solutions/p-f75876eb.js +21 -0
  399. package/dist/solutions/p-f780039d.js +1 -2
  400. package/dist/solutions/p-fa58627d.entry.js +10 -0
  401. package/dist/solutions/p-fbdf3e06.js +2 -3
  402. package/dist/solutions/p-fc1c8168.js +3 -3
  403. package/dist/solutions/p-fd2712a3.entry.js +10 -0
  404. package/dist/solutions/solutions.esm.js +1 -2
  405. package/dist/solutions/utils/common.ts +42 -73
  406. package/dist/solutions/utils/interfaces.ts +126 -0
  407. package/dist/solutions/utils/templates.ts +19 -33
  408. package/dist/types/components/json-editor/json-editor.d.ts +11 -0
  409. package/dist/types/components/solution-configuration/solution-configuration.d.ts +73 -9
  410. package/dist/types/components/solution-contents/solution-contents.d.ts +2 -9
  411. package/dist/types/components/solution-item/solution-item.d.ts +1 -11
  412. package/dist/types/components/solution-item-details/solution-item-details.d.ts +1 -10
  413. package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +1 -8
  414. package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +1 -5
  415. package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +1 -4
  416. package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +14 -26
  417. package/dist/types/components/solution-spatial-ref/spatialreferences.d.ts +1 -4
  418. package/dist/types/components/solution-template-data/solution-template-data.d.ts +1 -7
  419. package/dist/types/components/solution-variables/solution-variables.d.ts +1 -7
  420. package/dist/types/components/store-manager/store-manager.d.ts +9 -0
  421. package/dist/types/components.d.ts +49 -17
  422. package/dist/types/utils/common.d.ts +13 -38
  423. package/dist/types/utils/interfaces.d.ts +111 -0
  424. package/dist/types/utils/templates.d.ts +2 -25
  425. package/package.json +4 -3
  426. package/dist/cjs/CalciteExpandToggle-3e4e3b6c.js.map +0 -1
  427. package/dist/cjs/CalciteHeading-d765addc.js.map +0 -1
  428. package/dist/cjs/array-cd6c0c32.js.map +0 -1
  429. package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +0 -1
  430. package/dist/cjs/calcite-accordion.cjs.entry.js.map +0 -1
  431. package/dist/cjs/calcite-action-bar.cjs.entry.js.map +0 -1
  432. package/dist/cjs/calcite-action-group.cjs.entry.js.map +0 -1
  433. package/dist/cjs/calcite-action-menu_3.cjs.entry.js.map +0 -1
  434. package/dist/cjs/calcite-action-pad.cjs.entry.js.map +0 -1
  435. package/dist/cjs/calcite-action.cjs.entry.js.map +0 -1
  436. package/dist/cjs/calcite-alert.cjs.entry.js.map +0 -1
  437. package/dist/cjs/calcite-avatar.cjs.entry.js.map +0 -1
  438. package/dist/cjs/calcite-block-section.cjs.entry.js.map +0 -1
  439. package/dist/cjs/calcite-block.cjs.entry.js.map +0 -1
  440. package/dist/cjs/calcite-button.cjs.entry.js.map +0 -1
  441. package/dist/cjs/calcite-card.cjs.entry.js.map +0 -1
  442. package/dist/cjs/calcite-checkbox_4.cjs.entry.js.map +0 -1
  443. package/dist/cjs/calcite-chip.cjs.entry.js.map +0 -1
  444. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +0 -1
  445. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +0 -1
  446. package/dist/cjs/calcite-color-picker.cjs.entry.js.map +0 -1
  447. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +0 -1
  448. package/dist/cjs/calcite-combobox-item.cjs.entry.js.map +0 -1
  449. package/dist/cjs/calcite-combobox.cjs.entry.js.map +0 -1
  450. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +0 -1
  451. package/dist/cjs/calcite-date-picker.cjs.entry.js.map +0 -1
  452. package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +0 -1
  453. package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +0 -1
  454. package/dist/cjs/calcite-dropdown.cjs.entry.js.map +0 -1
  455. package/dist/cjs/calcite-fab.cjs.entry.js.map +0 -1
  456. package/dist/cjs/calcite-filter.cjs.entry.js.map +0 -1
  457. package/dist/cjs/calcite-flow.cjs.entry.js.map +0 -1
  458. package/dist/cjs/calcite-graph.cjs.entry.js.map +0 -1
  459. package/dist/cjs/calcite-handle.cjs.entry.js.map +0 -1
  460. package/dist/cjs/calcite-icon.cjs.entry.js.map +0 -1
  461. package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +0 -1
  462. package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +0 -1
  463. package/dist/cjs/calcite-input-message.cjs.entry.js.map +0 -1
  464. package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +0 -1
  465. package/dist/cjs/calcite-input_2.cjs.entry.js.map +0 -1
  466. package/dist/cjs/calcite-label.cjs.entry.js.map +0 -1
  467. package/dist/cjs/calcite-link.cjs.entry.js.map +0 -1
  468. package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +0 -1
  469. package/dist/cjs/calcite-list-item.cjs.entry.js.map +0 -1
  470. package/dist/cjs/calcite-list.cjs.entry.js.map +0 -1
  471. package/dist/cjs/calcite-loader.cjs.entry.js.map +0 -1
  472. package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
  473. package/dist/cjs/calcite-notice.cjs.entry.js.map +0 -1
  474. package/dist/cjs/calcite-option-group.cjs.entry.js.map +0 -1
  475. package/dist/cjs/calcite-option.cjs.entry.js.map +0 -1
  476. package/dist/cjs/calcite-pagination.cjs.entry.js.map +0 -1
  477. package/dist/cjs/calcite-panel_14.cjs.entry.js.map +0 -1
  478. package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +0 -1
  479. package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +0 -1
  480. package/dist/cjs/calcite-pick-list.cjs.entry.js.map +0 -1
  481. package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +0 -1
  482. package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +0 -1
  483. package/dist/cjs/calcite-radio-button.cjs.entry.js.map +0 -1
  484. package/dist/cjs/calcite-radio-group-item.cjs.entry.js.map +0 -1
  485. package/dist/cjs/calcite-radio-group.cjs.entry.js.map +0 -1
  486. package/dist/cjs/calcite-radio.cjs.entry.js.map +0 -1
  487. package/dist/cjs/calcite-rating.cjs.entry.js.map +0 -1
  488. package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
  489. package/dist/cjs/calcite-select.cjs.entry.js.map +0 -1
  490. package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +0 -1
  491. package/dist/cjs/calcite-slider.cjs.entry.js.map +0 -1
  492. package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +0 -1
  493. package/dist/cjs/calcite-split-button.cjs.entry.js.map +0 -1
  494. package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +0 -1
  495. package/dist/cjs/calcite-stepper.cjs.entry.js.map +0 -1
  496. package/dist/cjs/calcite-switch.cjs.entry.js.map +0 -1
  497. package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +0 -1
  498. package/dist/cjs/calcite-tile-select.cjs.entry.js.map +0 -1
  499. package/dist/cjs/calcite-tile.cjs.entry.js.map +0 -1
  500. package/dist/cjs/calcite-time-picker.cjs.entry.js.map +0 -1
  501. package/dist/cjs/calcite-tip-group.cjs.entry.js.map +0 -1
  502. package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +0 -1
  503. package/dist/cjs/calcite-tip.cjs.entry.js.map +0 -1
  504. package/dist/cjs/calcite-tooltip.cjs.entry.js.map +0 -1
  505. package/dist/cjs/calcite-value-list-item.cjs.entry.js.map +0 -1
  506. package/dist/cjs/calcite-value-list.cjs.entry.js.map +0 -1
  507. package/dist/cjs/common-df66d950.js +0 -53
  508. package/dist/cjs/common-df66d950.js.map +0 -1
  509. package/dist/cjs/date-0554c4d1.js.map +0 -1
  510. package/dist/cjs/debounce-df22462b.js.map +0 -1
  511. package/dist/cjs/dom-62511f59.js.map +0 -1
  512. package/dist/cjs/editStore-7a250b85.js +0 -227
  513. package/dist/cjs/editStore-7a250b85.js.map +0 -1
  514. package/dist/cjs/forIn-6a1c2f6d.js.map +0 -1
  515. package/dist/cjs/form-0b5b2d4e.js.map +0 -1
  516. package/dist/cjs/guid-c6be9504.js.map +0 -1
  517. package/dist/cjs/index-706750dc.js.map +0 -1
  518. package/dist/cjs/index-81c17948.js.map +0 -1
  519. package/dist/cjs/index.cjs.js.map +0 -1
  520. package/dist/cjs/interfaces-5ba2c1a7.js.map +0 -1
  521. package/dist/cjs/key-2a6290c8.js.map +0 -1
  522. package/dist/cjs/label-46482470.js.map +0 -1
  523. package/dist/cjs/loader.cjs.js.map +0 -1
  524. package/dist/cjs/locale-0db34680.js.map +0 -1
  525. package/dist/cjs/math-71f8de66.js.map +0 -1
  526. package/dist/cjs/number-697ce34c.js.map +0 -1
  527. package/dist/cjs/observers-88bbd6ef.js.map +0 -1
  528. package/dist/cjs/popper-8c8dc960.js.map +0 -1
  529. package/dist/cjs/resources-20f88094.js.map +0 -1
  530. package/dist/cjs/resources-27c22d8a.js.map +0 -1
  531. package/dist/cjs/resources-369e7421.js.map +0 -1
  532. package/dist/cjs/resources-46af0638.js.map +0 -1
  533. package/dist/cjs/resources-509951f9.js.map +0 -1
  534. package/dist/cjs/resources-5b7958e4.js.map +0 -1
  535. package/dist/cjs/resources-a265534b.js.map +0 -1
  536. package/dist/cjs/resources-e231446d.js.map +0 -1
  537. package/dist/cjs/resources-ef6c71a1.js.map +0 -1
  538. package/dist/cjs/shared-list-render-63d3ea89.js.map +0 -1
  539. package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
  540. package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
  541. package/dist/cjs/solutions.cjs.js.map +0 -1
  542. package/dist/cjs/sortable.esm-14548a17.js.map +0 -1
  543. package/dist/cjs/store-manager.cjs.entry.js.map +0 -1
  544. package/dist/cjs/templates-fe6dd431.js +0 -237
  545. package/dist/cjs/templates-fe6dd431.js.map +0 -1
  546. package/dist/cjs/time-c87dc79e.js.map +0 -1
  547. package/dist/cjs/utils-c19d354a.js.map +0 -1
  548. package/dist/cjs/utils-cb7373e6.js.map +0 -1
  549. package/dist/collection/components/json-editor/json-editor.js.map +0 -1
  550. package/dist/collection/components/solution-configuration/solution-configuration.js.map +0 -1
  551. package/dist/collection/components/solution-contents/solution-contents.js.map +0 -1
  552. package/dist/collection/components/solution-item/solution-item.js.map +0 -1
  553. package/dist/collection/components/solution-item-details/solution-item-details.js.map +0 -1
  554. package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +0 -1
  555. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +0 -1
  556. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +0 -1
  557. package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +0 -1
  558. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +0 -1
  559. package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +0 -1
  560. package/dist/collection/components/solution-template-data/solution-template-data.js.map +0 -1
  561. package/dist/collection/components/solution-variables/solution-variables.js.map +0 -1
  562. package/dist/collection/components/store-manager/store-manager.js.map +0 -1
  563. package/dist/collection/index.js.map +0 -1
  564. package/dist/collection/utils/common.js.map +0 -1
  565. package/dist/collection/utils/editStore.js.map +0 -1
  566. package/dist/collection/utils/templates.js.map +0 -1
  567. package/dist/custom-elements/index.js.map +0 -1
  568. package/dist/esm/CalciteExpandToggle-5df46988.js.map +0 -1
  569. package/dist/esm/CalciteHeading-79b4b347.js.map +0 -1
  570. package/dist/esm/array-71e0c501.js.map +0 -1
  571. package/dist/esm/calcite-accordion-item.entry.js.map +0 -1
  572. package/dist/esm/calcite-accordion.entry.js.map +0 -1
  573. package/dist/esm/calcite-action-bar.entry.js.map +0 -1
  574. package/dist/esm/calcite-action-group.entry.js.map +0 -1
  575. package/dist/esm/calcite-action-menu_3.entry.js.map +0 -1
  576. package/dist/esm/calcite-action-pad.entry.js.map +0 -1
  577. package/dist/esm/calcite-action.entry.js.map +0 -1
  578. package/dist/esm/calcite-alert.entry.js.map +0 -1
  579. package/dist/esm/calcite-avatar.entry.js.map +0 -1
  580. package/dist/esm/calcite-block-section.entry.js.map +0 -1
  581. package/dist/esm/calcite-block.entry.js.map +0 -1
  582. package/dist/esm/calcite-button.entry.js.map +0 -1
  583. package/dist/esm/calcite-card.entry.js.map +0 -1
  584. package/dist/esm/calcite-checkbox_4.entry.js.map +0 -1
  585. package/dist/esm/calcite-chip.entry.js.map +0 -1
  586. package/dist/esm/calcite-color-picker-hex-input.entry.js.map +0 -1
  587. package/dist/esm/calcite-color-picker-swatch.entry.js.map +0 -1
  588. package/dist/esm/calcite-color-picker.entry.js.map +0 -1
  589. package/dist/esm/calcite-combobox-item-group.entry.js.map +0 -1
  590. package/dist/esm/calcite-combobox-item.entry.js.map +0 -1
  591. package/dist/esm/calcite-combobox.entry.js.map +0 -1
  592. package/dist/esm/calcite-date-picker-day_3.entry.js.map +0 -1
  593. package/dist/esm/calcite-date-picker.entry.js.map +0 -1
  594. package/dist/esm/calcite-dropdown-group.entry.js.map +0 -1
  595. package/dist/esm/calcite-dropdown-item.entry.js.map +0 -1
  596. package/dist/esm/calcite-dropdown.entry.js.map +0 -1
  597. package/dist/esm/calcite-fab.entry.js.map +0 -1
  598. package/dist/esm/calcite-filter.entry.js.map +0 -1
  599. package/dist/esm/calcite-flow.entry.js.map +0 -1
  600. package/dist/esm/calcite-graph.entry.js.map +0 -1
  601. package/dist/esm/calcite-handle.entry.js.map +0 -1
  602. package/dist/esm/calcite-icon.entry.js.map +0 -1
  603. package/dist/esm/calcite-inline-editable.entry.js.map +0 -1
  604. package/dist/esm/calcite-input-date-picker.entry.js.map +0 -1
  605. package/dist/esm/calcite-input-message.entry.js.map +0 -1
  606. package/dist/esm/calcite-input-time-picker.entry.js.map +0 -1
  607. package/dist/esm/calcite-input_2.entry.js.map +0 -1
  608. package/dist/esm/calcite-label.entry.js.map +0 -1
  609. package/dist/esm/calcite-link.entry.js.map +0 -1
  610. package/dist/esm/calcite-list-item-group.entry.js.map +0 -1
  611. package/dist/esm/calcite-list-item.entry.js.map +0 -1
  612. package/dist/esm/calcite-list.entry.js.map +0 -1
  613. package/dist/esm/calcite-loader.entry.js.map +0 -1
  614. package/dist/esm/calcite-modal.entry.js.map +0 -1
  615. package/dist/esm/calcite-notice.entry.js.map +0 -1
  616. package/dist/esm/calcite-option-group.entry.js.map +0 -1
  617. package/dist/esm/calcite-option.entry.js.map +0 -1
  618. package/dist/esm/calcite-pagination.entry.js.map +0 -1
  619. package/dist/esm/calcite-panel_14.entry.js.map +0 -1
  620. package/dist/esm/calcite-pick-list-group.entry.js.map +0 -1
  621. package/dist/esm/calcite-pick-list-item.entry.js.map +0 -1
  622. package/dist/esm/calcite-pick-list.entry.js.map +0 -1
  623. package/dist/esm/calcite-popover-manager.entry.js.map +0 -1
  624. package/dist/esm/calcite-radio-button-group.entry.js.map +0 -1
  625. package/dist/esm/calcite-radio-button.entry.js.map +0 -1
  626. package/dist/esm/calcite-radio-group-item.entry.js.map +0 -1
  627. package/dist/esm/calcite-radio-group.entry.js.map +0 -1
  628. package/dist/esm/calcite-radio.entry.js.map +0 -1
  629. package/dist/esm/calcite-rating.entry.js.map +0 -1
  630. package/dist/esm/calcite-scrim.entry.js.map +0 -1
  631. package/dist/esm/calcite-select.entry.js.map +0 -1
  632. package/dist/esm/calcite-shell-center-row.entry.js.map +0 -1
  633. package/dist/esm/calcite-slider.entry.js.map +0 -1
  634. package/dist/esm/calcite-sortable-list.entry.js.map +0 -1
  635. package/dist/esm/calcite-split-button.entry.js.map +0 -1
  636. package/dist/esm/calcite-stepper-item.entry.js.map +0 -1
  637. package/dist/esm/calcite-stepper.entry.js.map +0 -1
  638. package/dist/esm/calcite-switch.entry.js.map +0 -1
  639. package/dist/esm/calcite-tile-select-group.entry.js.map +0 -1
  640. package/dist/esm/calcite-tile-select.entry.js.map +0 -1
  641. package/dist/esm/calcite-tile.entry.js.map +0 -1
  642. package/dist/esm/calcite-time-picker.entry.js.map +0 -1
  643. package/dist/esm/calcite-tip-group.entry.js.map +0 -1
  644. package/dist/esm/calcite-tip-manager.entry.js.map +0 -1
  645. package/dist/esm/calcite-tip.entry.js.map +0 -1
  646. package/dist/esm/calcite-tooltip.entry.js.map +0 -1
  647. package/dist/esm/calcite-value-list-item.entry.js.map +0 -1
  648. package/dist/esm/calcite-value-list.entry.js.map +0 -1
  649. package/dist/esm/common-ccccf04d.js +0 -50
  650. package/dist/esm/common-ccccf04d.js.map +0 -1
  651. package/dist/esm/date-5d75460a.js.map +0 -1
  652. package/dist/esm/debounce-23ad5849.js.map +0 -1
  653. package/dist/esm/dom-1cc617ae.js.map +0 -1
  654. package/dist/esm/editStore-30a293f5.js +0 -225
  655. package/dist/esm/editStore-30a293f5.js.map +0 -1
  656. package/dist/esm/forIn-c922d47c.js.map +0 -1
  657. package/dist/esm/form-636dfed1.js.map +0 -1
  658. package/dist/esm/guid-740f1f1a.js.map +0 -1
  659. package/dist/esm/index-934f242e.js.map +0 -1
  660. package/dist/esm/index-a3c3e3db.js.map +0 -1
  661. package/dist/esm/index.js.map +0 -1
  662. package/dist/esm/interfaces-4f07beec.js.map +0 -1
  663. package/dist/esm/key-1748eb79.js.map +0 -1
  664. package/dist/esm/label-851f8926.js.map +0 -1
  665. package/dist/esm/loader.js.map +0 -1
  666. package/dist/esm/locale-31c8d43b.js.map +0 -1
  667. package/dist/esm/math-d8795f31.js.map +0 -1
  668. package/dist/esm/number-47ecb380.js.map +0 -1
  669. package/dist/esm/observers-b13ff24b.js.map +0 -1
  670. package/dist/esm/popper-25874f2f.js.map +0 -1
  671. package/dist/esm/resources-12c3b829.js.map +0 -1
  672. package/dist/esm/resources-32d7dd89.js.map +0 -1
  673. package/dist/esm/resources-466ccf86.js.map +0 -1
  674. package/dist/esm/resources-4cc0ef44.js.map +0 -1
  675. package/dist/esm/resources-861d0240.js.map +0 -1
  676. package/dist/esm/resources-b023c30a.js.map +0 -1
  677. package/dist/esm/resources-c537bacb.js.map +0 -1
  678. package/dist/esm/resources-e56b6e53.js.map +0 -1
  679. package/dist/esm/resources-ec79cfd7.js.map +0 -1
  680. package/dist/esm/shared-list-render-b5dacd2e.js.map +0 -1
  681. package/dist/esm/solution-configuration.entry.js.map +0 -1
  682. package/dist/esm/solution-contents_3.entry.js.map +0 -1
  683. package/dist/esm/solutions.js.map +0 -1
  684. package/dist/esm/sortable.esm-7856912e.js.map +0 -1
  685. package/dist/esm/store-manager.entry.js.map +0 -1
  686. package/dist/esm/templates-3480c08e.js +0 -230
  687. package/dist/esm/templates-3480c08e.js.map +0 -1
  688. package/dist/esm/time-a3b29c35.js.map +0 -1
  689. package/dist/esm/utils-021cb956.js.map +0 -1
  690. package/dist/esm/utils-5fdd203c.js.map +0 -1
  691. package/dist/solutions/index.esm.js.map +0 -1
  692. package/dist/solutions/p-019fe34e.entry.js +0 -11
  693. package/dist/solutions/p-019fe34e.entry.js.map +0 -1
  694. package/dist/solutions/p-01d537aa.entry.js +0 -11
  695. package/dist/solutions/p-01d537aa.entry.js.map +0 -1
  696. package/dist/solutions/p-05c73b7d.js.map +0 -1
  697. package/dist/solutions/p-05da6de1.entry.js +0 -11
  698. package/dist/solutions/p-05da6de1.entry.js.map +0 -1
  699. package/dist/solutions/p-05eb87fc.entry.js +0 -11
  700. package/dist/solutions/p-05eb87fc.entry.js.map +0 -1
  701. package/dist/solutions/p-07099311.entry.js.map +0 -1
  702. package/dist/solutions/p-07f15398.entry.js +0 -7
  703. package/dist/solutions/p-07f15398.entry.js.map +0 -1
  704. package/dist/solutions/p-093edbdc.entry.js +0 -11
  705. package/dist/solutions/p-093edbdc.entry.js.map +0 -1
  706. package/dist/solutions/p-0b8525e2.js.map +0 -1
  707. package/dist/solutions/p-0c91e100.js +0 -7
  708. package/dist/solutions/p-0c91e100.js.map +0 -1
  709. package/dist/solutions/p-0fcee724.entry.js +0 -7
  710. package/dist/solutions/p-0fcee724.entry.js.map +0 -1
  711. package/dist/solutions/p-17a2150d.entry.js +0 -11
  712. package/dist/solutions/p-17a2150d.entry.js.map +0 -1
  713. package/dist/solutions/p-1aaa9800.entry.js +0 -7
  714. package/dist/solutions/p-1aaa9800.entry.js.map +0 -1
  715. package/dist/solutions/p-228131f3.js.map +0 -1
  716. package/dist/solutions/p-22d67647.entry.js +0 -11
  717. package/dist/solutions/p-22d67647.entry.js.map +0 -1
  718. package/dist/solutions/p-291cbb4f.js.map +0 -1
  719. package/dist/solutions/p-2a5c409a.entry.js +0 -7
  720. package/dist/solutions/p-2a5c409a.entry.js.map +0 -1
  721. package/dist/solutions/p-2aca233c.entry.js +0 -11
  722. package/dist/solutions/p-2aca233c.entry.js.map +0 -1
  723. package/dist/solutions/p-2b6ef800.entry.js +0 -7
  724. package/dist/solutions/p-2b6ef800.entry.js.map +0 -1
  725. package/dist/solutions/p-2bae730e.entry.js +0 -11
  726. package/dist/solutions/p-2bae730e.entry.js.map +0 -1
  727. package/dist/solutions/p-2d59c6d7.entry.js +0 -11
  728. package/dist/solutions/p-2d59c6d7.entry.js.map +0 -1
  729. package/dist/solutions/p-2e1cd889.js.map +0 -1
  730. package/dist/solutions/p-35eafdfb.entry.js +0 -11
  731. package/dist/solutions/p-35eafdfb.entry.js.map +0 -1
  732. package/dist/solutions/p-372da016.entry.js +0 -7
  733. package/dist/solutions/p-372da016.entry.js.map +0 -1
  734. package/dist/solutions/p-37407f95.entry.js +0 -7
  735. package/dist/solutions/p-37407f95.entry.js.map +0 -1
  736. package/dist/solutions/p-3ae90cbb.entry.js +0 -7
  737. package/dist/solutions/p-3ae90cbb.entry.js.map +0 -1
  738. package/dist/solutions/p-3c3ccd03.entry.js +0 -11
  739. package/dist/solutions/p-3c3ccd03.entry.js.map +0 -1
  740. package/dist/solutions/p-3e168893.entry.js +0 -11
  741. package/dist/solutions/p-3e168893.entry.js.map +0 -1
  742. package/dist/solutions/p-3e67ed97.js.map +0 -1
  743. package/dist/solutions/p-3ed5096e.entry.js +0 -11
  744. package/dist/solutions/p-3ed5096e.entry.js.map +0 -1
  745. package/dist/solutions/p-41c2e1cc.js.map +0 -1
  746. package/dist/solutions/p-44e661a2.js.map +0 -1
  747. package/dist/solutions/p-4573d7c2.js.map +0 -1
  748. package/dist/solutions/p-4635ae4a.entry.js +0 -11
  749. package/dist/solutions/p-4635ae4a.entry.js.map +0 -1
  750. package/dist/solutions/p-46bcadbd.entry.js +0 -11
  751. package/dist/solutions/p-46bcadbd.entry.js.map +0 -1
  752. package/dist/solutions/p-4b0b2534.entry.js +0 -11
  753. package/dist/solutions/p-4b0b2534.entry.js.map +0 -1
  754. package/dist/solutions/p-51e4c002.entry.js +0 -7
  755. package/dist/solutions/p-51e4c002.entry.js.map +0 -1
  756. package/dist/solutions/p-520d8443.entry.js +0 -11
  757. package/dist/solutions/p-520d8443.entry.js.map +0 -1
  758. package/dist/solutions/p-591d5666.entry.js +0 -11
  759. package/dist/solutions/p-591d5666.entry.js.map +0 -1
  760. package/dist/solutions/p-5aff6fc3.entry.js +0 -11
  761. package/dist/solutions/p-5aff6fc3.entry.js.map +0 -1
  762. package/dist/solutions/p-5c95f5ee.entry.js +0 -11
  763. package/dist/solutions/p-5c95f5ee.entry.js.map +0 -1
  764. package/dist/solutions/p-606933f1.entry.js +0 -11
  765. package/dist/solutions/p-606933f1.entry.js.map +0 -1
  766. package/dist/solutions/p-62464fb3.entry.js +0 -11
  767. package/dist/solutions/p-62464fb3.entry.js.map +0 -1
  768. package/dist/solutions/p-6e970d4c.entry.js +0 -7
  769. package/dist/solutions/p-6e970d4c.entry.js.map +0 -1
  770. package/dist/solutions/p-6f861da6.entry.js +0 -11
  771. package/dist/solutions/p-6f861da6.entry.js.map +0 -1
  772. package/dist/solutions/p-7096464e.js.map +0 -1
  773. package/dist/solutions/p-73e2d13f.js.map +0 -1
  774. package/dist/solutions/p-745f85bf.entry.js +0 -11
  775. package/dist/solutions/p-745f85bf.entry.js.map +0 -1
  776. package/dist/solutions/p-7480bdae.entry.js +0 -7
  777. package/dist/solutions/p-7480bdae.entry.js.map +0 -1
  778. package/dist/solutions/p-7611d9ad.entry.js +0 -11
  779. package/dist/solutions/p-7611d9ad.entry.js.map +0 -1
  780. package/dist/solutions/p-77b056db.entry.js +0 -7
  781. package/dist/solutions/p-77b056db.entry.js.map +0 -1
  782. package/dist/solutions/p-7804ce97.js.map +0 -1
  783. package/dist/solutions/p-7cc15662.entry.js +0 -15
  784. package/dist/solutions/p-7cc15662.entry.js.map +0 -1
  785. package/dist/solutions/p-7cc9c6af.js.map +0 -1
  786. package/dist/solutions/p-7d84c932.entry.js +0 -11
  787. package/dist/solutions/p-7d84c932.entry.js.map +0 -1
  788. package/dist/solutions/p-7df393df.js.map +0 -1
  789. package/dist/solutions/p-7f49ef40.entry.js +0 -11
  790. package/dist/solutions/p-7f49ef40.entry.js.map +0 -1
  791. package/dist/solutions/p-7f5c2987.entry.js +0 -7
  792. package/dist/solutions/p-7f5c2987.entry.js.map +0 -1
  793. package/dist/solutions/p-7fd90af2.entry.js +0 -11
  794. package/dist/solutions/p-7fd90af2.entry.js.map +0 -1
  795. package/dist/solutions/p-815449b1.entry.js +0 -11
  796. package/dist/solutions/p-815449b1.entry.js.map +0 -1
  797. package/dist/solutions/p-819aff56.entry.js +0 -11
  798. package/dist/solutions/p-819aff56.entry.js.map +0 -1
  799. package/dist/solutions/p-85cf288c.js.map +0 -1
  800. package/dist/solutions/p-87d812ce.entry.js +0 -7
  801. package/dist/solutions/p-87d812ce.entry.js.map +0 -1
  802. package/dist/solutions/p-8b616d33.entry.js +0 -7
  803. package/dist/solutions/p-8b616d33.entry.js.map +0 -1
  804. package/dist/solutions/p-8efca26d.entry.js +0 -7
  805. package/dist/solutions/p-8efca26d.entry.js.map +0 -1
  806. package/dist/solutions/p-946521e1.js.map +0 -1
  807. package/dist/solutions/p-970f1072.js +0 -22
  808. package/dist/solutions/p-970f1072.js.map +0 -1
  809. package/dist/solutions/p-9a953609.entry.js +0 -11
  810. package/dist/solutions/p-9a953609.entry.js.map +0 -1
  811. package/dist/solutions/p-9b381784.entry.js +0 -11
  812. package/dist/solutions/p-9b381784.entry.js.map +0 -1
  813. package/dist/solutions/p-9dad5583.entry.js +0 -11
  814. package/dist/solutions/p-9dad5583.entry.js.map +0 -1
  815. package/dist/solutions/p-9df9ac35.js.map +0 -1
  816. package/dist/solutions/p-9ee74ad4.entry.js +0 -7
  817. package/dist/solutions/p-9ee74ad4.entry.js.map +0 -1
  818. package/dist/solutions/p-9fab6046.entry.js +0 -22
  819. package/dist/solutions/p-9fab6046.entry.js.map +0 -1
  820. package/dist/solutions/p-9fc06fc3.entry.js +0 -15
  821. package/dist/solutions/p-9fc06fc3.entry.js.map +0 -1
  822. package/dist/solutions/p-a10dc180.js.map +0 -1
  823. package/dist/solutions/p-a1c40865.entry.js +0 -11
  824. package/dist/solutions/p-a1c40865.entry.js.map +0 -1
  825. package/dist/solutions/p-a3b16f15.entry.js +0 -7
  826. package/dist/solutions/p-a3b16f15.entry.js.map +0 -1
  827. package/dist/solutions/p-a7906d52.entry.js +0 -11
  828. package/dist/solutions/p-a7906d52.entry.js.map +0 -1
  829. package/dist/solutions/p-a8a106f7.entry.js +0 -7
  830. package/dist/solutions/p-a8a106f7.entry.js.map +0 -1
  831. package/dist/solutions/p-a8d2d1a3.entry.js +0 -7
  832. package/dist/solutions/p-a8d2d1a3.entry.js.map +0 -1
  833. package/dist/solutions/p-a98c5d29.entry.js +0 -11
  834. package/dist/solutions/p-a98c5d29.entry.js.map +0 -1
  835. package/dist/solutions/p-a9df64c4.js.map +0 -1
  836. package/dist/solutions/p-ad54d2e2.entry.js +0 -11
  837. package/dist/solutions/p-ad54d2e2.entry.js.map +0 -1
  838. package/dist/solutions/p-adf3704d.entry.js +0 -11
  839. package/dist/solutions/p-adf3704d.entry.js.map +0 -1
  840. package/dist/solutions/p-af46b00f.entry.js +0 -11
  841. package/dist/solutions/p-af46b00f.entry.js.map +0 -1
  842. package/dist/solutions/p-af9be2ca.js.map +0 -1
  843. package/dist/solutions/p-b797d79b.entry.js +0 -23
  844. package/dist/solutions/p-b797d79b.entry.js.map +0 -1
  845. package/dist/solutions/p-c09fc04d.entry.js +0 -11
  846. package/dist/solutions/p-c09fc04d.entry.js.map +0 -1
  847. package/dist/solutions/p-c11f84d9.entry.js +0 -11
  848. package/dist/solutions/p-c11f84d9.entry.js.map +0 -1
  849. package/dist/solutions/p-c195dbb7.entry.js +0 -7
  850. package/dist/solutions/p-c195dbb7.entry.js.map +0 -1
  851. package/dist/solutions/p-c34e0641.js.map +0 -1
  852. package/dist/solutions/p-c5428bbc.entry.js +0 -11
  853. package/dist/solutions/p-c5428bbc.entry.js.map +0 -1
  854. package/dist/solutions/p-cb5cb9a8.js.map +0 -1
  855. package/dist/solutions/p-ce3e9060.entry.js +0 -11
  856. package/dist/solutions/p-ce3e9060.entry.js.map +0 -1
  857. package/dist/solutions/p-d132d8ad.entry.js +0 -7
  858. package/dist/solutions/p-d132d8ad.entry.js.map +0 -1
  859. package/dist/solutions/p-d320e3a2.entry.js +0 -7
  860. package/dist/solutions/p-d320e3a2.entry.js.map +0 -1
  861. package/dist/solutions/p-d70ef015.entry.js +0 -11
  862. package/dist/solutions/p-d70ef015.entry.js.map +0 -1
  863. package/dist/solutions/p-e4edca3b.js.map +0 -1
  864. package/dist/solutions/p-e581f631.js.map +0 -1
  865. package/dist/solutions/p-e65a8700.entry.js +0 -11
  866. package/dist/solutions/p-e65a8700.entry.js.map +0 -1
  867. package/dist/solutions/p-e762b2d1.js.map +0 -1
  868. package/dist/solutions/p-eb2efc0f.js.map +0 -1
  869. package/dist/solutions/p-ec178ea9.js.map +0 -1
  870. package/dist/solutions/p-ecbfddde.js.map +0 -1
  871. package/dist/solutions/p-eceb11d1.js +0 -22
  872. package/dist/solutions/p-eceb11d1.js.map +0 -1
  873. package/dist/solutions/p-ede2beab.entry.js +0 -7
  874. package/dist/solutions/p-ede2beab.entry.js.map +0 -1
  875. package/dist/solutions/p-f0a6135d.entry.js +0 -11
  876. package/dist/solutions/p-f0a6135d.entry.js.map +0 -1
  877. package/dist/solutions/p-f187755e.js.map +0 -1
  878. package/dist/solutions/p-f3c6b68d.entry.js +0 -7
  879. package/dist/solutions/p-f3c6b68d.entry.js.map +0 -1
  880. package/dist/solutions/p-f49bc4a8.js.map +0 -1
  881. package/dist/solutions/p-f6e8ee98.entry.js +0 -7
  882. package/dist/solutions/p-f6e8ee98.entry.js.map +0 -1
  883. package/dist/solutions/p-f780039d.js.map +0 -1
  884. package/dist/solutions/p-fa40e7e7.entry.js +0 -7
  885. package/dist/solutions/p-fa40e7e7.entry.js.map +0 -1
  886. package/dist/solutions/p-fb25fc4a.entry.js +0 -7
  887. package/dist/solutions/p-fb25fc4a.entry.js.map +0 -1
  888. package/dist/solutions/p-fbdf3e06.js.map +0 -1
  889. package/dist/solutions/p-fc1c8168.js.map +0 -1
  890. package/dist/solutions/p-ff3697a9.entry.js +0 -7
  891. package/dist/solutions/p-ff3697a9.entry.js.map +0 -1
  892. package/dist/solutions/solutions.esm.js.map +0 -1
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * Copyright 2021 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{c as t,a as i,b as n}from"./p-cef98db7.js";import{d as r,f as e}from"./p-2e1cd889.js";t((function(t){
7
+ /*!
8
+
9
+ JSZip v3.7.0 - A JavaScript class for generating and reading zip files
10
+ <http://stuartk.com/jszip>
11
+
12
+ (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
13
+ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
14
+
15
+ JSZip uses the library pako released under the MIT license :
16
+ https://github.com/nodeca/pako/blob/master/LICENSE
17
+ */
18
+ t.exports=function t(i,r,e){function o(f,a){if(!r[f]){if(!i[f]){var u="function"==typeof n&&n;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};i[f][0].call(h.exports,(function(t){return o(i[f][1][t]||t)}),h,h.exports,t,i,r,e)}return r[f].exports}for(var s="function"==typeof n&&n,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,n,r){(function(i){!function(t){"object"==typeof r&&void 0!==n?n.exports=t():("undefined"!=typeof window?window:void 0!==i?i:"undefined"!=typeof self?self:this).JSZip=t()}((function(){return function i(n,r,e){function o(f,a){if(!r[f]){if(!n[f]){var u="function"==typeof t&&t;if(!a&&u)return u(f,!0);if(s)return s(f,!0);var c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,i,n,r,e)}return r[f].exports}for(var s="function"==typeof t&&t,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,i,n){var r=t("./utils"),e=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(t){for(var i,n,e,s,f,a,u=[],c=0,h=t.length,l=h,d="string"!==r.getTypeOf(t);c<t.length;)l=h-c,e=d?(i=t[c++],n=c<h?t[c++]:0,c<h?t[c++]:0):(i=t.charCodeAt(c++),n=c<h?t.charCodeAt(c++):0,c<h?t.charCodeAt(c++):0),s=(3&i)<<4|n>>4,f=1<l?(15&n)<<2|e>>6:64,a=2<l?63&e:64,u.push(o.charAt(i>>2)+o.charAt(s)+o.charAt(f)+o.charAt(a));return u.join("")},n.decode=function(t){var i,n,r,s,f,a,u=0,c=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var h,l=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&l--,t.charAt(t.length-2)===o.charAt(64)&&l--,l%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=e.uint8array?new Uint8Array(0|l):new Array(0|l);u<t.length;)i=o.indexOf(t.charAt(u++))<<2|(s=o.indexOf(t.charAt(u++)))>>4,n=(15&s)<<4|(f=o.indexOf(t.charAt(u++)))>>2,r=(3&f)<<6|(a=o.indexOf(t.charAt(u++))),h[c++]=i,64!==f&&(h[c++]=n),64!==a&&(h[c++]=r);return h}},{"./support":30,"./utils":32}],2:[function(t,i){var n=t("./external"),r=t("./stream/DataWorker"),e=t("./stream/Crc32Probe"),o=t("./stream/DataLengthProbe");function s(t,i,n,r,e){this.compressedSize=t,this.uncompressedSize=i,this.crc32=n,this.compression=r,this.compressedContent=e}s.prototype={getContentWorker:function(){var t=new r(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),i=this;return t.on("end",(function(){if(this.streamInfo.data_length!==i.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new r(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,i,n){return t.pipe(new e).pipe(new o("uncompressedSize")).pipe(i.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",i)},i.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,i,n){var r=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,i){var n=t("./utils"),r=function(){for(var t,i=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;i[n]=t}return i}();i.exports=function(t,i){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,i,n){var e=r,o=0+n;t^=-1;for(var s=0;s<o;s++)t=t>>>8^e[255&(t^i[s])];return-1^t}(0|i,t,t.length):function(t,i,n){var e=r,o=0+n;t^=-1;for(var s=0;s<o;s++)t=t>>>8^e[255&(t^i.charCodeAt(s))];return-1^t}(0|i,t,t.length):0}},{"./utils":32}],5:[function(t,i,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(t,i){var n;n="undefined"!=typeof Promise?Promise:t("lie"),i.exports={Promise:n}},{lie:37}],7:[function(t,i,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,e=t("pako"),o=t("./utils"),s=t("./stream/GenericWorker"),f=r?"uint8array":"array";function a(t,i){s.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=i,this.meta={}}n.magic="\b\0",o.inherits(a,s),a.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(f,t.data),!1)},a.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},a.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},a.prototype._createPako=function(){this._pako=new e[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(i){t.push({data:i,meta:t.meta})}},n.compressWorker=function(t){return new a("Deflate",t)},n.uncompressWorker=function(){return new a("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,i){function n(t,i){var n,r="";for(n=0;n<i;n++)r+=String.fromCharCode(255&t),t>>>=8;return r}function r(t,i,r,o,u,c){var h,l,d=t.file,p=t.compression,v=c!==s.utf8encode,w=e.transformTo("string",c(d.name)),m=e.transformTo("string",s.utf8encode(d.name)),b=d.comment,y=e.transformTo("string",c(b)),g=e.transformTo("string",s.utf8encode(b)),k=m.length!==d.name.length,x=g.length!==b.length,E="",A="",O="",U=d.dir,j=d.date,z={crc32:0,compressedSize:0,uncompressedSize:0};i&&!r||(z.crc32=t.crc32,z.compressedSize=t.compressedSize,z.uncompressedSize=t.uncompressedSize);var S=0;i&&(S|=8),v||!k&&!x||(S|=2048);var _,D=0,N=0;U&&(D|=16),"UNIX"===u?(N=798,D|=((_=d.unixPermissions)||(_=U?16893:33204),(65535&_)<<16)):(N=20,D|=63&(d.dosPermissions||0)),h=j.getUTCHours(),h<<=6,h|=j.getUTCMinutes(),h<<=5,h|=j.getUTCSeconds()/2,l=j.getUTCFullYear()-1980,l<<=4,l|=j.getUTCMonth()+1,l<<=5,l|=j.getUTCDate(),k&&(E+="up"+n((A=n(1,1)+n(f(w),4)+m).length,2)+A),x&&(E+="uc"+n((O=n(1,1)+n(f(y),4)+g).length,2)+O);var C="";return C+="\n\0",C+=n(S,2),C+=p.magic,C+=n(h,2),C+=n(l,2),C+=n(z.crc32,4),C+=n(z.compressedSize,4),C+=n(z.uncompressedSize,4),C+=n(w.length,2),C+=n(E.length,2),{fileRecord:a.LOCAL_FILE_HEADER+C+w+E,dirRecord:a.CENTRAL_FILE_HEADER+n(N,2)+C+n(y.length,2)+"\0\0\0\0"+n(D,4)+n(o,4)+w+E+y}}var e=t("../utils"),o=t("../stream/GenericWorker"),s=t("../utf8"),f=t("../crc32"),a=t("../signature");function u(t,i,n,r){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=i,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}e.inherits(u,o),u.prototype.push=function(t){var i=t.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,o.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(i+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var i=this.streamFiles&&!t.file.dir;if(i){var n=r(t,i,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var i,e=this.streamFiles&&!t.file.dir,o=r(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(o.dirRecord),e)this.push({data:(i=t,a.DATA_DESCRIPTOR+n(i.crc32,4)+n(i.compressedSize,4)+n(i.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:o.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t=this.bytesWritten,i=0;i<this.dirRecords.length;i++)this.push({data:this.dirRecords[i],meta:{percent:100}});var r,o,s,f,u=(r=this.dirRecords.length,o=this.bytesWritten-t,s=t,f=e.transformTo("string",(0,this.encodeFileName)(this.zipComment)),a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(r,2)+n(r,2)+n(o,4)+n(s,4)+n(f.length,2)+f);this.push({data:u,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(t){this._sources.push(t);var i=this;return t.on("data",(function(t){i.processChunk(t)})),t.on("end",(function(){i.closedSource(i.previous.streamInfo),i._sources.length?i.prepareNextSource():i.end()})),t.on("error",(function(t){i.error(t)})),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(t){var i=this._sources;if(!o.prototype.error.call(this,t))return!1;for(var n=0;n<i.length;n++)try{i[n].error(t)}catch(t){}return!0},u.prototype.lock=function(){o.prototype.lock.call(this);for(var t=this._sources,i=0;i<t.length;i++)t[i].lock()},i.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,i,n){var r=t("../compressions"),e=t("./ZipFileWorker");n.generateWorker=function(t,i,n){var o=new e(i.streamFiles,n,i.platform,i.encodeFileName),s=0;try{t.forEach((function(t,n){s++;var e=function(t,i){var n=t||i,e=r[n];if(!e)throw new Error(n+" is not a valid compression method !");return e}(n.options.compression,i.compression),f=n.dir,a=n.date;n._compressWorker(e,n.options.compressionOptions||i.compressionOptions||{}).withStreamInfo("file",{name:t,dir:f,date:a,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)})),o.entriesCount=s}catch(t){o.error(t)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,i){function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files={},this.comment=null,this.root="",this.clone=function(){var t=new n;for(var i in this)"function"!=typeof this[i]&&(t[i]=this[i]);return t}}(n.prototype=t("./object")).loadAsync=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.version="3.5.0",n.loadAsync=function(t,i){return(new n).loadAsync(t,i)},n.external=t("./external"),i.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,i){var n=t("./utils"),r=t("./external"),e=t("./utf8"),o=t("./zipEntries"),s=t("./stream/Crc32Probe"),f=t("./nodejsUtils");function a(t){return new r.Promise((function(i,n){var r=t.decompressed.getContentWorker().pipe(new s);r.on("error",(function(t){n(t)})).on("end",(function(){r.streamInfo.crc32!==t.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):i()})).resume()}))}i.exports=function(t,i){var s=this;return i=n.extend(i||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:e.utf8decode}),f.isNode&&f.isStream(t)?r.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",t,!0,i.optimizedBinaryString,i.base64).then((function(t){var n=new o(i);return n.load(t),n})).then((function(t){var n=[r.Promise.resolve(t)],e=t.files;if(i.checkCRC32)for(var o=0;o<e.length;o++)n.push(a(e[o]));return r.Promise.all(n)})).then((function(t){for(var n=t.shift(),r=n.files,e=0;e<r.length;e++){var o=r[e];s.file(o.fileNameStr,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:i.createFolders})}return n.zipComment.length&&(s.comment=n.zipComment),s}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,i){var n=t("../utils"),r=t("../stream/GenericWorker");function e(t,i){r.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(i)}n.inherits(e,r),e.prototype._bindStream=function(t){var i=this;(this._stream=t).pause(),t.on("data",(function(t){i.push({data:t,meta:{percent:0}})})).on("error",(function(t){i.isPaused?this.generatedError=t:i.error(t)})).on("end",(function(){i.isPaused?i._upstreamEnded=!0:i.end()}))},e.prototype.pause=function(){return!!r.prototype.pause.call(this)&&(this._stream.pause(),!0)},e.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},i.exports=e},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,i){var n=t("readable-stream").Readable;function r(t,i,r){n.call(this,i),this._helper=t;var e=this;t.on("data",(function(t,i){e.push(t)||e._helper.pause(),r&&r(i)})).on("error",(function(t){e.emit("error",t)})).on("end",(function(){e.push(null)}))}t("../utils").inherits(r,n),r.prototype._read=function(){this._helper.resume()},i.exports=r},{"../utils":32,"readable-stream":16}],14:[function(t,i){i.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,i){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,i);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,i)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var i=new Buffer(t);return i.fill(0),i},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,i){function n(t,i,n){var e,f,h=o.getTypeOf(i),v=o.extend(n||{},a);v.date=v.date||new Date,null!==v.compression&&(v.compression=v.compression.toUpperCase()),"string"==typeof v.unixPermissions&&(v.unixPermissions=parseInt(v.unixPermissions,8)),v.unixPermissions&&16384&v.unixPermissions&&(v.dir=!0),v.dosPermissions&&16&v.dosPermissions&&(v.dir=!0),v.dir&&(t=r(t)),v.createFolders&&(e=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var i=t.lastIndexOf("/");return 0<i?t.substring(0,i):""}(t))&&p.call(this,e,!0),n&&void 0!==n.binary||(v.binary=!("string"===h&&!1===v.binary&&!1===v.base64)),(i instanceof u&&0===i.uncompressedSize||v.dir||!i||0===i.length)&&(v.base64=!1,v.binary=!0,i="",v.compression="STORE",h="string"),f=i instanceof u||i instanceof s?i:l.isNode&&l.isStream(i)?new d(t,i):o.prepareContent(t,i,v.binary,v.optimizedBinaryString,v.base64);var w=new c(t,f,v);this.files[t]=w}function r(t){return"/"!==t.slice(-1)&&(t+="/"),t}var e=t("./utf8"),o=t("./utils"),s=t("./stream/GenericWorker"),f=t("./stream/StreamHelper"),a=t("./defaults"),u=t("./compressedObject"),c=t("./zipObject"),h=t("./generate"),l=t("./nodejsUtils"),d=t("./nodejs/NodejsStreamInputAdapter"),p=function(t,i){return i=void 0!==i?i:a.createFolders,t=r(t),this.files[t]||n.call(this,t,null,{dir:!0,createFolders:i}),this.files[t]};function v(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var w={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var i,n,r;for(i in this.files)this.files.hasOwnProperty(i)&&(r=this.files[i],(n=i.slice(this.root.length,i.length))&&i.slice(0,this.root.length)===this.root&&t(n,r))},filter:function(t){var i=[];return this.forEach((function(n,r){t(n,r)&&i.push(r)})),i},file:function(t,i,r){if(1!==arguments.length)return n.call(this,t=this.root+t,i,r),this;if(v(t)){var e=t;return this.filter((function(t,i){return!i.dir&&e.test(t)}))}var o=this.files[this.root+t];return o&&!o.dir?o:null},folder:function(t){if(!t)return this;if(v(t))return this.filter((function(i,n){return n.dir&&t.test(i)}));var i=p.call(this,this.root+t),n=this.clone();return n.root=i.name,n},remove:function(t){var i=this.files[t=this.root+t];if(i||("/"!==t.slice(-1)&&(t+="/"),i=this.files[t]),i&&!i.dir)delete this.files[t];else for(var n=this.filter((function(i,n){return n.name.slice(0,t.length)===t})),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var i,n={};try{if((n=o.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:e.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS"),i=h.generateWorker(this,n,n.comment||this.comment||"")}catch(t){(i=new s("error")).error(t)}return new f(i,n.type||"string",n.mimeType)},generateAsync:function(t,i){return this.generateInternalStream(t).accumulate(i)},generateNodeStream:function(t,i){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(i)}};i.exports=w},{"./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(t,i){i.exports=t("stream")},{stream:void 0}],17:[function(t,i){var n=t("./DataReader");function r(t){n.call(this,t);for(var i=0;i<this.data.length;i++)t[i]=255&t[i]}t("../utils").inherits(r,n),r.prototype.byteAt=function(t){return this.data[this.zero+t]},r.prototype.lastIndexOfSignature=function(t){for(var i=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),e=t.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===i&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===e)return o-this.zero;return-1},r.prototype.readAndCheckSignature=function(t){var i=t.charCodeAt(0),n=t.charCodeAt(1),r=t.charCodeAt(2),e=t.charCodeAt(3),o=this.readData(4);return i===o[0]&&n===o[1]&&r===o[2]&&e===o[3]},r.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var i=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,i},i.exports=r},{"../utils":32,"./DataReader":18}],18:[function(t,i){var n=t("../utils");function r(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}r.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var i,n=0;for(this.checkOffset(t),i=this.index+t-1;i>=this.index;i--)n=(n<<8)+this.byteAt(i);return this.index+=t,n},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},i.exports=r},{"../utils":32}],19:[function(t,i){var n=t("./Uint8ArrayReader");function r(t){n.call(this,t)}t("../utils").inherits(r,n),r.prototype.readData=function(t){this.checkOffset(t);var i=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,i},i.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,i){var n=t("./DataReader");function r(t){n.call(this,t)}t("../utils").inherits(r,n),r.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},r.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},r.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},r.prototype.readData=function(t){this.checkOffset(t);var i=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,i},i.exports=r},{"../utils":32,"./DataReader":18}],21:[function(t,i){var n=t("./ArrayReader");function r(t){n.call(this,t)}t("../utils").inherits(r,n),r.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var i=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,i},i.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(t,i){var n=t("../utils"),r=t("../support"),e=t("./ArrayReader"),o=t("./StringReader"),s=t("./NodeBufferReader"),f=t("./Uint8ArrayReader");i.exports=function(t){var i=n.getTypeOf(t);return n.checkSupport(i),"string"!==i||r.uint8array?"nodebuffer"===i?new s(t):r.uint8array?new f(n.transformTo("uint8array",t)):new e(n.transformTo("array",t)):new o(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,i,n){n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,i){var n=t("./GenericWorker"),r=t("../utils");function e(t){n.call(this,"ConvertWorker to "+t),this.destType=t}r.inherits(e,n),e.prototype.processChunk=function(t){this.push({data:r.transformTo(this.destType,t.data),meta:t.meta})},i.exports=e},{"../utils":32,"./GenericWorker":28}],25:[function(t,i){var n=t("./GenericWorker"),r=t("../crc32");function e(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(e,n),e.prototype.processChunk=function(t){this.streamInfo.crc32=r(t.data,this.streamInfo.crc32||0),this.push(t)},i.exports=e},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,i){var n=t("../utils"),r=t("./GenericWorker");function e(t){r.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(e,r),e.prototype.processChunk=function(t){t&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+t.data.length),r.prototype.processChunk.call(this,t)},i.exports=e},{"../utils":32,"./GenericWorker":28}],27:[function(t,i){var n=t("../utils"),r=t("./GenericWorker");function e(t){r.call(this,"DataWorker");var i=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){i.dataIsReady=!0,i.data=t,i.max=t&&t.length||0,i.type=n.getTypeOf(t),i.isPaused||i._tickAndRepeat()}),(function(t){i.error(t)}))}n.inherits(e,r),e.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},e.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},e.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},e.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,i=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,i);break;case"uint8array":t=this.data.subarray(this.index,i);break;case"array":case"nodebuffer":t=this.data.slice(this.index,i)}return this.index=i,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},i.exports=e},{"../utils":32,"./GenericWorker":28}],28:[function(t,i){function n(t){this.name=t||"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}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,i){return this._listeners[t].push(i),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,i){if(this._listeners[t])for(var n=0;n<this._listeners[t].length;n++)this._listeners[t][n].call(this,i)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var i=this;return t.on("data",(function(t){i.processChunk(t)})),t.on("end",(function(){i.end()})),t.on("error",(function(t){i.error(t)})),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 t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,i){return this.extraStreamInfo[t]=i,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},i.exports=n},{}],29:[function(t,i){var n=t("../utils"),r=t("./ConvertWorker"),e=t("./GenericWorker"),o=t("../base64"),s=t("../support"),f=t("../external"),a=null;if(s.nodestream)try{a=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function u(t,i,o){var s=i;switch(i){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=i,this._mimeType=o,n.checkSupport(s),this._worker=t.pipe(new r(s)),t.lock()}catch(t){this._worker=new e("error"),this._worker.error(t)}}u.prototype={accumulate:function(t){return i=this,r=t,new f.Promise((function(t,e){var s=[],f=i._internalType,a=i._outputType,u=i._mimeType;i.on("data",(function(t,i){s.push(t),r&&r(i)})).on("error",(function(t){s=[],e(t)})).on("end",(function(){try{var i=function(t,i,r){switch(t){case"blob":return n.newBlob(n.transformTo("arraybuffer",i),r);case"base64":return o.encode(i);default:return n.transformTo(t,i)}}(a,function(t,i){var n,r=0,e=null,o=0;for(n=0;n<i.length;n++)o+=i[n].length;switch(t){case"string":return i.join("");case"array":return Array.prototype.concat.apply([],i);case"uint8array":for(e=new Uint8Array(o),n=0;n<i.length;n++)e.set(i[n],r),r+=i[n].length;return e;case"nodebuffer":return Buffer.concat(i);default:throw new Error("concat : unsupported type '"+t+"'")}}(f,s),u);t(i)}catch(i){e(i)}s=[]})).resume()}));var i,r},on:function(t,i){var r=this;return this._worker.on(t,"data"===t?function(t){i.call(r,t.data,t.meta)}:function(){n.delay(i,arguments,r)}),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new a(this,{objectMode:"nodebuffer"!==this._outputType},t)}},i.exports=u},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,i,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof Buffer,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(t){try{var e=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);e.append(r),n.blob=0===e.getBlob("application/zip").size}catch(t){n.blob=!1}}}try{n.nodestream=!!t("readable-stream").Readable}catch(t){n.nodestream=!1}},{"readable-stream":16}],31:[function(t,i,n){for(var r=t("./utils"),e=t("./support"),o=t("./nodejsUtils"),s=t("./stream/GenericWorker"),f=new Array(256),a=0;a<256;a++)f[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function u(){s.call(this,"utf-8 decode"),this.leftOver=null}function c(){s.call(this,"utf-8 encode")}f[254]=f[254]=1,n.utf8encode=function(t){return e.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var i,n,r,o,s,f=t.length,a=0;for(o=0;o<f;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<f&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),a+=n<128?1:n<2048?2:n<65536?3:4;for(i=e.uint8array?new Uint8Array(a):new Array(a),o=s=0;s<a;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<f&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?i[s++]=n:(n<2048?i[s++]=192|n>>>6:(n<65536?i[s++]=224|n>>>12:(i[s++]=240|n>>>18,i[s++]=128|n>>>12&63),i[s++]=128|n>>>6&63),i[s++]=128|63&n);return i}(t)},n.utf8decode=function(t){return e.nodebuffer?r.transformTo("nodebuffer",t).toString("utf-8"):function(t){var i,n,e,o,s=t.length,a=new Array(2*s);for(i=n=0;i<s;)if((e=t[i++])<128)a[n++]=e;else if(4<(o=f[e]))a[n++]=65533,i+=o-1;else{for(e&=2===o?31:3===o?15:7;1<o&&i<s;)e=e<<6|63&t[i++],o--;1<o?a[n++]=65533:e<65536?a[n++]=e:(a[n++]=55296|(e-=65536)>>10&1023,a[n++]=56320|1023&e)}return a.length!==n&&(a.subarray?a=a.subarray(0,n):a.length=n),r.applyFromCharCode(a)}(t=r.transformTo(e.uint8array?"uint8array":"array",t))},r.inherits(u,s),u.prototype.processChunk=function(t){var i=r.transformTo(e.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(e.uint8array){var o=i;(i=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),i.set(o,this.leftOver.length)}else i=this.leftOver.concat(i);this.leftOver=null}var s=function(t,i){var n;for((i=i||t.length)>t.length&&(i=t.length),n=i-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?i:n+f[t[n]]>i?n:i}(i),a=i;s!==i.length&&(e.uint8array?(a=i.subarray(0,s),this.leftOver=i.subarray(s,i.length)):(a=i.slice(0,s),this.leftOver=i.slice(s,i.length))),this.push({data:n.utf8decode(a),meta:t.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=u,r.inherits(c,s),c.prototype.processChunk=function(t){this.push({data:n.utf8encode(t.data),meta:t.meta})},n.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,i,n){var r=t("./support"),e=t("./base64"),o=t("./nodejsUtils"),s=t("set-immediate-shim"),f=t("./external");function a(t){return t}function u(t,i){for(var n=0;n<t.length;++n)i[n]=255&t.charCodeAt(n);return i}n.newBlob=function(t,i){n.checkSupport("blob");try{return new Blob([t],{type:i})}catch(n){try{var r=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return r.append(t),r.getBlob(i)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(t,i,n){var r=[],e=0,o=t.length;if(o<=n)return String.fromCharCode.apply(null,t);for(;e<o;)r.push(String.fromCharCode.apply(null,"array"===i||"nodebuffer"===i?t.slice(e,Math.min(e+n,o)):t.subarray(e,Math.min(e+n,o)))),e+=n;return r.join("")},stringifyByChar:function(t){for(var i="",n=0;n<t.length;n++)i+=String.fromCharCode(t[n]);return i},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function h(t){var i=65536,r=n.getTypeOf(t),e=!0;if("uint8array"===r?e=c.applyCanBeUsed.uint8array:"nodebuffer"===r&&(e=c.applyCanBeUsed.nodebuffer),e)for(;1<i;)try{return c.stringifyByChunk(t,r,i)}catch(t){i=Math.floor(i/2)}return c.stringifyByChar(t)}function l(t,i){for(var n=0;n<t.length;n++)i[n]=t[n];return i}n.applyFromCharCode=h;var d={};d.string={string:a,array:function(t){return u(t,new Array(t.length))},arraybuffer:function(t){return d.string.uint8array(t).buffer},uint8array:function(t){return u(t,new Uint8Array(t.length))},nodebuffer:function(t){return u(t,o.allocBuffer(t.length))}},d.array={string:h,array:a,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(t)}},d.arraybuffer={string:function(t){return h(new Uint8Array(t))},array:function(t){return l(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:a,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(new Uint8Array(t))}},d.uint8array={string:h,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:a,nodebuffer:function(t){return o.newBufferFrom(t)}},d.nodebuffer={string:h,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return d.nodebuffer.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:a},n.transformTo=function(t,i){if(i=i||"",!t)return i;n.checkSupport(t);var r=n.getTypeOf(i);return d[r][t](i)},n.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":r.nodebuffer&&o.isBuffer(t)?"nodebuffer":r.uint8array&&t instanceof Uint8Array?"uint8array":r.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(t){if(!r[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(t){var i,n,r="";for(n=0;n<(t||"").length;n++)r+="\\x"+((i=t.charCodeAt(n))<16?"0":"")+i.toString(16).toUpperCase();return r},n.delay=function(t,i,n){s((function(){t.apply(n||null,i||[])}))},n.inherits=function(t,i){function n(){}n.prototype=i.prototype,t.prototype=new n},n.extend=function(){var t,i,n={};for(t=0;t<arguments.length;t++)for(i in arguments[t])arguments[t].hasOwnProperty(i)&&void 0===n[i]&&(n[i]=arguments[t][i]);return n},n.prepareContent=function(t,i,o,s,a){return f.Promise.resolve(i).then((function(t){return r.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new f.Promise((function(i,n){var r=new FileReader;r.onload=function(t){i(t.target.result)},r.onerror=function(t){n(t.target.error)},r.readAsArrayBuffer(t)})):t})).then((function(i){var c,h=n.getTypeOf(i);return h?("arraybuffer"===h?i=n.transformTo("uint8array",i):"string"===h&&(a?i=e.decode(i):o&&!0!==s&&(i=u(c=i,r.uint8array?new Uint8Array(c.length):new Array(c.length)))),i):f.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(t,i){var n=t("./reader/readerFor"),r=t("./utils"),e=t("./signature"),o=t("./zipEntry"),s=(t("./utf8"),t("./support"));function f(t){this.files=[],this.loadOptions=t}f.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var i=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+r.pretty(i)+", expected "+r.pretty(t)+")")}},isSignature:function(t,i){var n=this.reader.index;this.reader.setIndex(t);var r=this.reader.readString(4)===i;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 t=this.reader.readData(this.zipCommentLength),i=r.transformTo(s.uint8array?"uint8array":"array",t);this.zipComment=this.loadOptions.decodeFileName(i)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,i,n,r=this.zip64EndOfCentralSize-44;0<r;)t=this.reader.readInt(2),i=this.reader.readInt(4),n=this.reader.readData(i),this.zip64ExtensibleData[t]={id:t,length:i,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 new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,i;for(t=0;t<this.files.length;t++)this.reader.setIndex((i=this.files[t]).localHeaderOffset),this.checkSignature(e.LOCAL_FILE_HEADER),i.readLocalPart(this.reader),i.handleUTF8(),i.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(e.CENTRAL_FILE_HEADER);)(t=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(e.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,e.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var i=t;if(this.checkSignature(e.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===r.MAX_VALUE_16BITS||this.diskWithCentralDirStart===r.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===r.MAX_VALUE_16BITS||this.centralDirRecords===r.MAX_VALUE_16BITS||this.centralDirSize===r.MAX_VALUE_32BITS||this.centralDirOffset===r.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(e.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(e.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,e.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(e.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(e.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var o=i-n;if(0<o)this.isSignature(i,e.CENTRAL_FILE_HEADER)||(this.reader.zero=o);else if(o<0)throw new Error("Corrupted zip: missing "+Math.abs(o)+" bytes.")},prepareReader:function(t){this.reader=n(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},i.exports=f},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(t,i){var n=t("./reader/readerFor"),r=t("./utils"),e=t("./compressedObject"),o=t("./crc32"),s=t("./utf8"),f=t("./compressions"),a=t("./support");function u(t,i){this.options=t,this.loadOptions=i}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var i,n;if(t.skip(22),this.fileNameLength=t.readInt(2),n=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(i=function(t){for(var i in f)if(f.hasOwnProperty(i)&&f[i].magic===t)return f[i];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+r.pretty(this.compressionMethod)+" unknown (inner file : "+r.transformTo("string",this.fileName)+")");this.decompressed=new e(this.compressedSize,this.uncompressedSize,this.crc32,i,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var i=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(i),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=n(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var i,n,r,e=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<e;)i=t.readInt(2),n=t.readInt(2),r=t.readData(n),this.extraFields[i]={id:i,length:n,value:r};t.setIndex(e)},handleUTF8:function(){var t=a.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var i=this.findExtraFieldUnicodePath();if(null!==i)this.fileNameStr=i;else{var n=r.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var e=this.findExtraFieldUnicodeComment();if(null!==e)this.fileCommentStr=e;else{var o=r.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var i=n(t.value);return 1!==i.readInt(1)||o(this.fileName)!==i.readInt(4)?null:s.utf8decode(i.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var i=n(t.value);return 1!==i.readInt(1)||o(this.fileComment)!==i.readInt(4)?null:s.utf8decode(i.readData(t.length-5))}return null}},i.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,i){function n(t,i,n){this.name=t,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=i,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var r=t("./stream/StreamHelper"),e=t("./stream/DataWorker"),o=t("./utf8"),s=t("./compressedObject"),f=t("./stream/GenericWorker");n.prototype={internalStream:function(t){var i=null,n="string";try{if(!t)throw new Error("No output type specified.");var e="string"===(n=t.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),i=this._decompressWorker();var s=!this._dataBinary;s&&!e&&(i=i.pipe(new o.Utf8EncodeWorker)),!s&&e&&(i=i.pipe(new o.Utf8DecodeWorker))}catch(t){(i=new f("error")).error(t)}return new r(i,n,"")},async:function(t,i){return this.internalStream(t).accumulate(i)},nodeStream:function(t,i){return this.internalStream(t||"nodebuffer").toNodejsStream(i)},_compressWorker:function(t,i){if(this._data instanceof s&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o.Utf8EncodeWorker)),s.createWorkerFrom(n,t,i)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof f?this._data:new e(this._data)}};for(var a=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},c=0;c<a.length;c++)n.prototype[a[c]]=u;i.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,n){(function(t){var i,r,e=t.MutationObserver||t.WebKitMutationObserver;if(e){var o=0,s=new e(c),f=t.document.createTextNode("");s.observe(f,{characterData:!0}),i=function(){f.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)i="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var i=t.document.createElement("script");i.onreadystatechange=function(){c(),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},t.document.documentElement.appendChild(i)}:function(){setTimeout(c,0)};else{var a=new t.MessageChannel;a.port1.onmessage=c,i=function(){a.port2.postMessage(0)}}var u=[];function c(){var t,i;r=!0;for(var n=u.length;n;){for(i=u,u=[],t=-1;++t<n;)i[t]();n=u.length}r=!1}n.exports=function(t){1!==u.push(t)||r||i()}}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,i){var n=t("immediate");function r(){}var e={},o=["REJECTED"],s=["FULFILLED"],f=["PENDING"];function a(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=f,this.queue=[],this.outcome=void 0,t!==r&&l(this,t)}function u(t,i,n){this.promise=t,"function"==typeof i&&(this.onFulfilled=i,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function c(t,i,r){n((function(){var n;try{n=i(r)}catch(n){return e.reject(t,n)}n===t?e.reject(t,new TypeError("Cannot resolve promise with itself")):e.resolve(t,n)}))}function h(t){var i=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof i)return function(){i.apply(t,arguments)}}function l(t,i){var n=!1;function r(i){n||(n=!0,e.reject(t,i))}function o(i){n||(n=!0,e.resolve(t,i))}var s=d((function(){i(o,r)}));"error"===s.status&&r(s.value)}function d(t,i){var n={};try{n.value=t(i),n.status="success"}catch(t){n.status="error",n.value=t}return n}(i.exports=a).prototype.finally=function(t){if("function"!=typeof t)return this;var i=this.constructor;return this.then((function(n){return i.resolve(t()).then((function(){return n}))}),(function(n){return i.resolve(t()).then((function(){throw n}))}))},a.prototype.catch=function(t){return this.then(null,t)},a.prototype.then=function(t,i){if("function"!=typeof t&&this.state===s||"function"!=typeof i&&this.state===o)return this;var n=new this.constructor(r);return this.state!==f?c(n,this.state===s?t:i,this.outcome):this.queue.push(new u(n,t,i)),n},u.prototype.callFulfilled=function(t){e.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){c(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){e.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){c(this.promise,this.onRejected,t)},e.resolve=function(t,i){var n=d(h,i);if("error"===n.status)return e.reject(t,n.value);var r=n.value;if(r)l(t,r);else{t.state=s,t.outcome=i;for(var o=-1,f=t.queue.length;++o<f;)t.queue[o].callFulfilled(i)}return t},e.reject=function(t,i){t.state=o,t.outcome=i;for(var n=-1,r=t.queue.length;++n<r;)t.queue[n].callRejected(i);return t},a.resolve=function(t){return t instanceof this?t:e.resolve(new this(r),t)},a.reject=function(t){var i=new this(r);return e.reject(i,t)},a.all=function(t){var i=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,o=!1;if(!n)return this.resolve([]);for(var s=new Array(n),f=0,a=-1,u=new this(r);++a<n;)c(t[a],a);return u;function c(t,r){i.resolve(t).then((function(t){s[r]=t,++f!==n||o||(o=!0,e.resolve(u,s))}),(function(t){o||(o=!0,e.reject(u,t))}))}},a.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,n=!1;if(!i)return this.resolve([]);for(var o=-1,s=new this(r);++o<i;)this.resolve(t[o]).then((function(t){n||(n=!0,e.resolve(s,t))}),(function(t){n||(n=!0,e.reject(s,t))}));return s}},{immediate:36}],38:[function(t,i){var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),i.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,i,n){var r=t("./zlib/deflate"),e=t("./utils/common"),o=t("./utils/strings"),s=t("./zlib/messages"),f=t("./zlib/zstream"),a=Object.prototype.toString;function u(t){if(!(this instanceof u))return new u(t);this.options=e.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var i=this.options;i.raw&&0<i.windowBits?i.windowBits=-i.windowBits:i.gzip&&0<i.windowBits&&i.windowBits<16&&(i.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,i.level,i.method,i.windowBits,i.memLevel,i.strategy);if(0!==n)throw new Error(s[n]);if(i.header&&r.deflateSetHeader(this.strm,i.header),i.dictionary){var c;if(c="string"==typeof i.dictionary?o.string2buf(i.dictionary):"[object ArrayBuffer]"===a.call(i.dictionary)?new Uint8Array(i.dictionary):i.dictionary,0!==(n=r.deflateSetDictionary(this.strm,c)))throw new Error(s[n]);this._dict_set=!0}}function c(t,i){var n=new u(i);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}u.prototype.push=function(t,i){var n,s,f=this.strm,u=this.options.chunkSize;if(this.ended)return!1;s=i===~~i?i:!0===i?4:0,f.input="string"==typeof t?o.string2buf(t):"[object ArrayBuffer]"===a.call(t)?new Uint8Array(t):t,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new e.Buf8(u),f.next_out=0,f.avail_out=u),1!==(n=r.deflate(f,s))&&0!==n)return this.onEnd(n),!(this.ended=!0);0!==f.avail_out&&(0!==f.avail_in||4!==s&&2!==s)||this.onData("string"===this.options.to?o.buf2binstring(e.shrinkBuf(f.output,f.next_out)):e.shrinkBuf(f.output,f.next_out))}while((0<f.avail_in||0===f.avail_out)&&1!==n);return 4===s?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==s||(this.onEnd(0),!(f.avail_out=0))},u.prototype.onData=function(t){this.chunks.push(t)},u.prototype.onEnd=function(t){0===t&&(this.result="string"===this.options.to?this.chunks.join(""):e.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Deflate=u,n.deflate=c,n.deflateRaw=function(t,i){return(i=i||{}).raw=!0,c(t,i)},n.gzip=function(t,i){return(i=i||{}).gzip=!0,c(t,i)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,i,n){var r=t("./zlib/inflate"),e=t("./utils/common"),o=t("./utils/strings"),s=t("./zlib/constants"),f=t("./zlib/messages"),a=t("./zlib/zstream"),u=t("./zlib/gzheader"),c=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=e.assign({chunkSize:16384,windowBits:0,to:""},t||{});var i=this.options;i.raw&&0<=i.windowBits&&i.windowBits<16&&(i.windowBits=-i.windowBits,0===i.windowBits&&(i.windowBits=-15)),!(0<=i.windowBits&&i.windowBits<16)||t&&t.windowBits||(i.windowBits+=32),15<i.windowBits&&i.windowBits<48&&0==(15&i.windowBits)&&(i.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,i.windowBits);if(n!==s.Z_OK)throw new Error(f[n]);this.header=new u,r.inflateGetHeader(this.strm,this.header)}function l(t,i){var n=new h(i);if(n.push(t,!0),n.err)throw n.msg||f[n.err];return n.result}h.prototype.push=function(t,i){var n,f,a,u,h,l,d=this.strm,p=this.options.chunkSize,v=this.options.dictionary,w=!1;if(this.ended)return!1;f=i===~~i?i:!0===i?s.Z_FINISH:s.Z_NO_FLUSH,d.input="string"==typeof t?o.binstring2buf(t):"[object ArrayBuffer]"===c.call(t)?new Uint8Array(t):t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new e.Buf8(p),d.next_out=0,d.avail_out=p),(n=r.inflate(d,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&v&&(l="string"==typeof v?o.string2buf(v):"[object ArrayBuffer]"===c.call(v)?new Uint8Array(v):v,n=r.inflateSetDictionary(this.strm,l)),n===s.Z_BUF_ERROR&&!0===w&&(n=s.Z_OK,w=!1),n!==s.Z_STREAM_END&&n!==s.Z_OK)return this.onEnd(n),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&n!==s.Z_STREAM_END&&(0!==d.avail_in||f!==s.Z_FINISH&&f!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(a=o.utf8border(d.output,d.next_out),u=d.next_out-a,h=o.buf2string(d.output,a),d.next_out=u,d.avail_out=p-u,u&&e.arraySet(d.output,d.output,a,u,0),this.onData(h)):this.onData(e.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(w=!0)}while((0<d.avail_in||0===d.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(f=s.Z_FINISH),f===s.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):f!==s.Z_SYNC_FLUSH||(this.onEnd(s.Z_OK),!(d.avail_out=0))},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===s.Z_OK&&(this.result="string"===this.options.to?this.chunks.join(""):e.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Inflate=h,n.inflate=l,n.inflateRaw=function(t,i){return(i=i||{}).raw=!0,l(t,i)},n.ungzip=l},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,i,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var i=Array.prototype.slice.call(arguments,1);i.length;){var n=i.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}}return t},n.shrinkBuf=function(t,i){return t.length===i?t:t.subarray?t.subarray(0,i):(t.length=i,t)};var e={arraySet:function(t,i,n,r,e){if(i.subarray&&t.subarray)t.set(i.subarray(n,n+r),e);else for(var o=0;o<r;o++)t[e+o]=i[n+o]},flattenChunks:function(t){var i,n,r,e,o,s;for(i=r=0,n=t.length;i<n;i++)r+=t[i].length;for(s=new Uint8Array(r),i=e=0,n=t.length;i<n;i++)s.set(o=t[i],e),e+=o.length;return s}},o={arraySet:function(t,i,n,r,e){for(var o=0;o<r;o++)t[e+o]=i[n+o]},flattenChunks:function(t){return[].concat.apply([],t)}};n.setTyped=function(t){t?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,e)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(t,i,n){var r=t("./common"),e=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){e=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var s=new r.Buf8(256),f=0;f<256;f++)s[f]=252<=f?6:248<=f?5:240<=f?4:224<=f?3:192<=f?2:1;function a(t,i){if(i<65537&&(t.subarray&&o||!t.subarray&&e))return String.fromCharCode.apply(null,r.shrinkBuf(t,i));for(var n="",s=0;s<i;s++)n+=String.fromCharCode(t[s]);return n}s[254]=s[254]=1,n.string2buf=function(t){var i,n,e,o,s,f=t.length,a=0;for(o=0;o<f;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<f&&56320==(64512&(e=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(e-56320),o++),a+=n<128?1:n<2048?2:n<65536?3:4;for(i=new r.Buf8(a),o=s=0;s<a;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<f&&56320==(64512&(e=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(e-56320),o++),n<128?i[s++]=n:(n<2048?i[s++]=192|n>>>6:(n<65536?i[s++]=224|n>>>12:(i[s++]=240|n>>>18,i[s++]=128|n>>>12&63),i[s++]=128|n>>>6&63),i[s++]=128|63&n);return i},n.buf2binstring=function(t){return a(t,t.length)},n.binstring2buf=function(t){for(var i=new r.Buf8(t.length),n=0,e=i.length;n<e;n++)i[n]=t.charCodeAt(n);return i},n.buf2string=function(t,i){var n,r,e,o,f=i||t.length,u=new Array(2*f);for(n=r=0;n<f;)if((e=t[n++])<128)u[r++]=e;else if(4<(o=s[e]))u[r++]=65533,n+=o-1;else{for(e&=2===o?31:3===o?15:7;1<o&&n<f;)e=e<<6|63&t[n++],o--;1<o?u[r++]=65533:e<65536?u[r++]=e:(u[r++]=55296|(e-=65536)>>10&1023,u[r++]=56320|1023&e)}return a(u,r)},n.utf8border=function(t,i){var n;for((i=i||t.length)>t.length&&(i=t.length),n=i-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?i:n+s[t[n]]>i?n:i}},{"./common":41}],43:[function(t,i){i.exports=function(t,i,n,r){for(var e=65535&t|0,o=t>>>16&65535|0,s=0;0!==n;){for(n-=s=2e3<n?2e3:n;o=o+(e=e+i[r++]|0)|0,--s;);e%=65521,o%=65521}return e|o<<16|0}},{}],44:[function(t,i){i.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(t,i){var n=function(){for(var t,i=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;i[n]=t}return i}();i.exports=function(t,i,r,e){var o=n,s=e+r;t^=-1;for(var f=e;f<s;f++)t=t>>>8^o[255&(t^i[f])];return-1^t}},{}],46:[function(t,i,n){var r,e=t("../utils/common"),o=t("./trees"),s=t("./adler32"),f=t("./crc32"),a=t("./messages"),u=-2,c=258,h=262,l=113;function d(t,i){return t.msg=a[i],i}function p(t){return(t<<1)-(4<t?9:0)}function v(t){for(var i=t.length;0<=--i;)t[i]=0}function w(t){var i=t.state,n=i.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(e.arraySet(t.output,i.pending_buf,i.pending_out,n,t.next_out),t.next_out+=n,i.pending_out+=n,t.total_out+=n,t.avail_out-=n,i.pending-=n,0===i.pending&&(i.pending_out=0))}function m(t,i){o._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,i),t.block_start=t.strstart,w(t.strm)}function b(t,i){t.pending_buf[t.pending++]=i}function y(t,i){t.pending_buf[t.pending++]=i>>>8&255,t.pending_buf[t.pending++]=255&i}function g(t,i){var n,r,e=t.max_chain_length,o=t.strstart,s=t.prev_length,f=t.nice_match,a=t.strstart>t.w_size-h?t.strstart-(t.w_size-h):0,u=t.window,l=t.w_mask,d=t.prev,p=t.strstart+c,v=u[o+s-1],w=u[o+s];t.prev_length>=t.good_match&&(e>>=2),f>t.lookahead&&(f=t.lookahead);do{if(u[(n=i)+s]===w&&u[n+s-1]===v&&u[n]===u[o]&&u[++n]===u[o+1]){o+=2,n++;do{}while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&o<p);if(r=c-(p-o),o=p-c,s<r){if(t.match_start=i,f<=(s=r))break;v=u[o+s-1],w=u[o+s]}}}while((i=d[i&l])>a&&0!=--e);return s<=t.lookahead?s:t.lookahead}function k(t){var i,n,r,o,a,u,c,l,d,p,v=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=v+(v-h)){for(e.arraySet(t.window,t.window,v,v,0),t.match_start-=v,t.strstart-=v,t.block_start-=v,i=n=t.hash_size;r=t.head[--i],t.head[i]=v<=r?r-v:0,--n;);for(i=n=v;r=t.prev[--i],t.prev[i]=v<=r?r-v:0,--n;);o+=v}if(0===t.strm.avail_in)break;if(c=t.window,l=t.strstart+t.lookahead,p=void 0,(d=o)<(p=(u=t.strm).avail_in)&&(p=d),n=0===p?0:(u.avail_in-=p,e.arraySet(c,u.input,u.next_in,p,l),1===u.state.wrap?u.adler=s(u.adler,c,p,l):2===u.state.wrap&&(u.adler=f(u.adler,c,p,l)),u.next_in+=p,u.total_in+=p,p),t.lookahead+=n,t.lookahead+t.insert>=3)for(t.ins_h=t.window[a=t.strstart-t.insert],t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[a+3-1])&t.hash_mask,t.prev[a&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=a,a++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<h&&0!==t.strm.avail_in)}function x(t,i){for(var n,r;;){if(t.lookahead<h){if(k(t),t.lookahead<h&&0===i)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-h&&(t.match_length=g(t,n)),t.match_length>=3)if(r=o._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(m(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===i?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}function E(t,i){for(var n,r,e;;){if(t.lookahead<h){if(k(t),t.lookahead<h&&0===i)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-h&&(t.match_length=g(t,n),t.match_length<=5&&(1===t.strategy||3===t.match_length&&4096<t.strstart-t.match_start)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){for(e=t.strstart+t.lookahead-3,r=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=e&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=2,t.strstart++,r&&(m(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=o._tr_tally(t,0,t.window[t.strstart-1]))&&m(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===i?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}function A(t,i,n,r,e){this.good_length=t,this.max_lazy=i,this.nice_length=n,this.max_chain=r,this.func=e}function O(){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=8,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 e.Buf16(1146),this.dyn_dtree=new e.Buf16(122),this.bl_tree=new e.Buf16(78),v(this.dyn_ltree),v(this.dyn_dtree),v(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(16),this.heap=new e.Buf16(573),v(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(573),v(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 U(t){var i;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(i=t.state).pending=0,i.pending_out=0,i.wrap<0&&(i.wrap=-i.wrap),i.status=i.wrap?42:l,t.adler=2===i.wrap?0:1,i.last_flush=0,o._tr_init(i),0):d(t,u)}function j(t){var i,n=U(t);return 0===n&&((i=t.state).window_size=2*i.w_size,v(i.head),i.max_lazy_match=r[i.level].max_lazy,i.good_match=r[i.level].good_length,i.nice_match=r[i.level].nice_length,i.max_chain_length=r[i.level].max_chain,i.strstart=0,i.block_start=0,i.lookahead=0,i.insert=0,i.match_length=i.prev_length=2,i.match_available=0,i.ins_h=0),n}function z(t,i,n,r,o,s){if(!t)return u;var f=1;if(-1===i&&(i=6),r<0?(f=0,r=-r):15<r&&(f=2,r-=16),o<1||9<o||8!==n||r<8||15<r||i<0||9<i||s<0||4<s)return d(t,u);8===r&&(r=9);var a=new O;return(t.state=a).strm=t,a.wrap=f,a.gzhead=null,a.w_bits=r,a.w_size=1<<a.w_bits,a.w_mask=a.w_size-1,a.hash_bits=o+7,a.hash_size=1<<a.hash_bits,a.hash_mask=a.hash_size-1,a.hash_shift=~~((a.hash_bits+3-1)/3),a.window=new e.Buf8(2*a.w_size),a.head=new e.Buf16(a.hash_size),a.prev=new e.Buf16(a.w_size),a.lit_bufsize=1<<o+6,a.pending_buf_size=4*a.lit_bufsize,a.pending_buf=new e.Buf8(a.pending_buf_size),a.d_buf=1*a.lit_bufsize,a.l_buf=3*a.lit_bufsize,a.level=i,a.strategy=s,a.method=n,j(t)}r=[new A(0,0,0,0,(function(t,i){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(k(t),0===t.lookahead&&0===i)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,m(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-h&&(m(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===i?(m(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&m(t,!1),1)})),new A(4,4,8,4,x),new A(4,5,16,8,x),new A(4,6,32,32,x),new A(4,4,16,16,E),new A(8,16,32,32,E),new A(8,16,128,128,E),new A(8,32,128,256,E),new A(32,128,258,1024,E),new A(32,258,258,4096,E)],n.deflateInit=function(t,i){return z(t,i,8,15,8,0)},n.deflateInit2=z,n.deflateReset=j,n.deflateResetKeep=U,n.deflateSetHeader=function(t,i){return t&&t.state?2!==t.state.wrap?u:(t.state.gzhead=i,0):u},n.deflate=function(t,i){var n,e,s,a;if(!t||!t.state||5<i||i<0)return t?d(t,u):u;if(e=t.state,!t.output||!t.input&&0!==t.avail_in||666===e.status&&4!==i)return d(t,0===t.avail_out?-5:u);if(e.strm=t,n=e.last_flush,e.last_flush=i,42===e.status)if(2===e.wrap)t.adler=0,b(e,31),b(e,139),b(e,8),e.gzhead?(b(e,(e.gzhead.text?1:0)+(e.gzhead.hcrc?2:0)+(e.gzhead.extra?4:0)+(e.gzhead.name?8:0)+(e.gzhead.comment?16:0)),b(e,255&e.gzhead.time),b(e,e.gzhead.time>>8&255),b(e,e.gzhead.time>>16&255),b(e,e.gzhead.time>>24&255),b(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),b(e,255&e.gzhead.os),e.gzhead.extra&&e.gzhead.extra.length&&(b(e,255&e.gzhead.extra.length),b(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=f(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=69):(b(e,0),b(e,0),b(e,0),b(e,0),b(e,0),b(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),b(e,3),e.status=l);else{var h=8+(e.w_bits-8<<4)<<8;h|=(2<=e.strategy||e.level<2?0:e.level<6?1:6===e.level?2:3)<<6,0!==e.strstart&&(h|=32),h+=31-h%31,e.status=l,y(e,h),0!==e.strstart&&(y(e,t.adler>>>16),y(e,65535&t.adler)),t.adler=1}if(69===e.status)if(e.gzhead.extra){for(s=e.pending;e.gzindex<(65535&e.gzhead.extra.length)&&(e.pending!==e.pending_buf_size||(e.gzhead.hcrc&&e.pending>s&&(t.adler=f(t.adler,e.pending_buf,e.pending-s,s)),w(t),s=e.pending,e.pending!==e.pending_buf_size));)b(e,255&e.gzhead.extra[e.gzindex]),e.gzindex++;e.gzhead.hcrc&&e.pending>s&&(t.adler=f(t.adler,e.pending_buf,e.pending-s,s)),e.gzindex===e.gzhead.extra.length&&(e.gzindex=0,e.status=73)}else e.status=73;if(73===e.status)if(e.gzhead.name){s=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>s&&(t.adler=f(t.adler,e.pending_buf,e.pending-s,s)),w(t),s=e.pending,e.pending===e.pending_buf_size)){a=1;break}a=e.gzindex<e.gzhead.name.length?255&e.gzhead.name.charCodeAt(e.gzindex++):0,b(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>s&&(t.adler=f(t.adler,e.pending_buf,e.pending-s,s)),0===a&&(e.gzindex=0,e.status=91)}else e.status=91;if(91===e.status)if(e.gzhead.comment){s=e.pending;do{if(e.pending===e.pending_buf_size&&(e.gzhead.hcrc&&e.pending>s&&(t.adler=f(t.adler,e.pending_buf,e.pending-s,s)),w(t),s=e.pending,e.pending===e.pending_buf_size)){a=1;break}a=e.gzindex<e.gzhead.comment.length?255&e.gzhead.comment.charCodeAt(e.gzindex++):0,b(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>s&&(t.adler=f(t.adler,e.pending_buf,e.pending-s,s)),0===a&&(e.status=103)}else e.status=103;if(103===e.status&&(e.gzhead.hcrc?(e.pending+2>e.pending_buf_size&&w(t),e.pending+2<=e.pending_buf_size&&(b(e,255&t.adler),b(e,t.adler>>8&255),t.adler=0,e.status=l)):e.status=l),0!==e.pending){if(w(t),0===t.avail_out)return e.last_flush=-1,0}else if(0===t.avail_in&&p(i)<=p(n)&&4!==i)return d(t,-5);if(666===e.status&&0!==t.avail_in)return d(t,-5);if(0!==t.avail_in||0!==e.lookahead||0!==i&&666!==e.status){var g=2===e.strategy?function(t,i){for(var n;;){if(0===t.lookahead&&(k(t),0===t.lookahead)){if(0===i)return 1;break}if(t.match_length=0,n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(m(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===i?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}(e,i):3===e.strategy?function(t,i){for(var n,r,e,s,f=t.window;;){if(t.lookahead<=c){if(k(t),t.lookahead<=c&&0===i)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&0<t.strstart&&(r=f[e=t.strstart-1])===f[++e]&&r===f[++e]&&r===f[++e]){s=t.strstart+c;do{}while(r===f[++e]&&r===f[++e]&&r===f[++e]&&r===f[++e]&&r===f[++e]&&r===f[++e]&&r===f[++e]&&r===f[++e]&&e<s);t.match_length=c-(s-e),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=o._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(m(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===i?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}(e,i):r[e.level].func(e,i);if(3!==g&&4!==g||(e.status=666),1===g||3===g)return 0===t.avail_out&&(e.last_flush=-1),0;if(2===g&&(1===i?o._tr_align(e):5!==i&&(o._tr_stored_block(e,0,0,!1),3===i&&(v(e.head),0===e.lookahead&&(e.strstart=0,e.block_start=0,e.insert=0))),w(t),0===t.avail_out))return e.last_flush=-1,0}return 4!==i?0:e.wrap<=0?1:(2===e.wrap?(b(e,255&t.adler),b(e,t.adler>>8&255),b(e,t.adler>>16&255),b(e,t.adler>>24&255),b(e,255&t.total_in),b(e,t.total_in>>8&255),b(e,t.total_in>>16&255),b(e,t.total_in>>24&255)):(y(e,t.adler>>>16),y(e,65535&t.adler)),w(t),0<e.wrap&&(e.wrap=-e.wrap),0!==e.pending?0:1)},n.deflateEnd=function(t){var i;return t&&t.state?42!==(i=t.state.status)&&69!==i&&73!==i&&91!==i&&103!==i&&i!==l&&666!==i?d(t,u):(t.state=null,i===l?d(t,-3):0):u},n.deflateSetDictionary=function(t,i){var n,r,o,f,a,c,h,l,d=i.length;if(!t||!t.state)return u;if(2===(f=(n=t.state).wrap)||1===f&&42!==n.status||n.lookahead)return u;for(1===f&&(t.adler=s(t.adler,i,d,0)),n.wrap=0,d>=n.w_size&&(0===f&&(v(n.head),n.strstart=0,n.block_start=0,n.insert=0),l=new e.Buf8(n.w_size),e.arraySet(l,i,d-n.w_size,n.w_size,0),i=l,d=n.w_size),a=t.avail_in,c=t.next_in,h=t.input,t.avail_in=d,t.next_in=0,t.input=i,k(n);n.lookahead>=3;){for(r=n.strstart,o=n.lookahead-2;n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=2,k(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=c,t.input=h,t.avail_in=a,n.wrap=f,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,i){i.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(t,i){i.exports=function(t,i){var n,r,e,o,s,f,a,u,c,h,l,d,p,v,w,m,b,y,g,k,x,E,A,O,U;O=t.input,e=(r=t.next_in)+(t.avail_in-5),U=t.output,s=(o=t.next_out)-(i-t.avail_out),f=o+(t.avail_out-257),a=(n=t.state).dmax,u=n.wsize,c=n.whave,h=n.wnext,l=n.window,d=n.hold,p=n.bits,v=n.lencode,w=n.distcode,m=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;t:do{p<15&&(d+=O[r++]<<p,d+=O[r++]<<(p+=8),p+=8),y=v[d&m];i:for(;;){if(d>>>=g=y>>>24,p-=g,0==(g=y>>>16&255))U[o++]=65535&y;else{if(!(16&g)){if(0==(64&g)){y=v[(65535&y)+(d&(1<<g)-1)];continue i}if(32&g){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}k=65535&y,(g&=15)&&(p<g&&(d+=O[r++]<<p,p+=8),k+=d&(1<<g)-1,d>>>=g,p-=g),p<15&&(d+=O[r++]<<p,d+=O[r++]<<(p+=8),p+=8),y=w[d&b];n:for(;;){if(d>>>=g=y>>>24,p-=g,!(16&(g=y>>>16&255))){if(0==(64&g)){y=w[(65535&y)+(d&(1<<g)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(x=65535&y,p<(g&=15)&&(d+=O[r++]<<p,(p+=8)<g&&(d+=O[r++]<<p,p+=8)),a<(x+=d&(1<<g)-1)){t.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=g,p-=g,(g=o-s)<x){if(c<(g=x-g)&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(A=l,(E=0)===h){if(E+=u-g,g<k){for(k-=g;U[o++]=l[E++],--g;);E=o-x,A=U}}else if(h<g){if(E+=u+h-g,(g-=h)<k){for(k-=g;U[o++]=l[E++],--g;);if(E=0,h<k){for(k-=g=h;U[o++]=l[E++],--g;);E=o-x,A=U}}}else if(E+=h-g,g<k){for(k-=g;U[o++]=l[E++],--g;);E=o-x,A=U}for(;2<k;)U[o++]=A[E++],U[o++]=A[E++],U[o++]=A[E++],k-=3;k&&(U[o++]=A[E++],1<k&&(U[o++]=A[E++]))}else{for(E=o-x;U[o++]=U[E++],U[o++]=U[E++],U[o++]=U[E++],2<(k-=3););k&&(U[o++]=U[E++],1<k&&(U[o++]=U[E++]))}break}}break}}while(r<e&&o<f);r-=k=p>>3,d&=(1<<(p-=k<<3))-1,t.next_in=r,t.next_out=o,t.avail_in=r<e?e-r+5:5-(r-e),t.avail_out=o<f?f-o+257:257-(o-f),n.hold=d,n.bits=p}},{}],49:[function(t,i,n){var r=t("../utils/common"),e=t("./adler32"),o=t("./crc32"),s=t("./inffast"),f=t("./inftrees"),a=-2;function u(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new 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 h(t){var i;return t&&t.state?(t.total_in=t.total_out=(i=t.state).total=0,t.msg="",i.wrap&&(t.adler=1&i.wrap),i.mode=1,i.last=0,i.havedict=0,i.dmax=32768,i.head=null,i.hold=0,i.bits=0,i.lencode=i.lendyn=new r.Buf32(852),i.distcode=i.distdyn=new r.Buf32(592),i.sane=1,i.back=-1,0):a}function l(t){var i;return t&&t.state?((i=t.state).wsize=0,i.whave=0,i.wnext=0,h(t)):a}function d(t,i){var n,r;return t&&t.state?(r=t.state,i<0?(n=0,i=-i):(n=1+(i>>4),i<48&&(i&=15)),i&&(i<8||15<i)?a:(null!==r.window&&r.wbits!==i&&(r.window=null),r.wrap=n,r.wbits=i,l(t))):a}function p(t,i){var n,r;return t?(r=new c,(t.state=r).window=null,0!==(n=d(t,i))&&(t.state=null),n):a}var v,w,m=!0;function b(t){if(m){var i;for(v=new r.Buf32(512),w=new r.Buf32(32),i=0;i<144;)t.lens[i++]=8;for(;i<256;)t.lens[i++]=9;for(;i<280;)t.lens[i++]=7;for(;i<288;)t.lens[i++]=8;for(f(1,t.lens,0,288,v,0,t.work,{bits:9}),i=0;i<32;)t.lens[i++]=5;f(2,t.lens,0,32,w,0,t.work,{bits:5}),m=!1}t.lencode=v,t.lenbits=9,t.distcode=w,t.distbits=5}function y(t,i,n,e){var o,s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new r.Buf8(s.wsize)),e>=s.wsize?(r.arraySet(s.window,i,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(e<(o=s.wsize-s.wnext)&&(o=e),r.arraySet(s.window,i,n-e,o,s.wnext),(e-=o)?(r.arraySet(s.window,i,n-e,e,0),s.wnext=e,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=o))),0}n.inflateReset=l,n.inflateReset2=d,n.inflateResetKeep=h,n.inflateInit=function(t){return p(t,15)},n.inflateInit2=p,n.inflate=function(t,i){var n,c,h,l,d,p,v,w,m,g,k,x,E,A,O,U,j,z,S,_,D,N,C,F,T=0,R=new r.Buf8(4),B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return a;12===(n=t.state).mode&&(n.mode=13),d=t.next_out,h=t.output,l=t.next_in,c=t.input,w=n.hold,m=n.bits,g=p=t.avail_in,k=v=t.avail_out,N=0;t:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;m<16;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if(2&n.wrap&&35615===w){R[n.check=0]=255&w,R[1]=w>>>8&255,n.check=o(n.check,R,2,0),m=w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&w)<<8)+(w>>8))%31){t.msg="incorrect header check",n.mode=30;break}if(8!=(15&w)){t.msg="unknown compression method",n.mode=30;break}if(m-=4,D=8+(15&(w>>>=4)),0===n.wbits)n.wbits=D;else if(D>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<D,t.adler=n.check=1,n.mode=512&w?10:12,m=w=0;break;case 2:for(;m<16;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if(n.flags=w,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=w>>8&1),512&n.flags&&(R[0]=255&w,R[1]=w>>>8&255,n.check=o(n.check,R,2,0)),m=w=0,n.mode=3;case 3:for(;m<32;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}n.head&&(n.head.time=w),512&n.flags&&(R[0]=255&w,R[1]=w>>>8&255,R[2]=w>>>16&255,R[3]=w>>>24&255,n.check=o(n.check,R,4,0)),m=w=0,n.mode=4;case 4:for(;m<16;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}n.head&&(n.head.xflags=255&w,n.head.os=w>>8),512&n.flags&&(R[0]=255&w,R[1]=w>>>8&255,n.check=o(n.check,R,2,0)),m=w=0,n.mode=5;case 5:if(1024&n.flags){for(;m<16;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}n.length=w,n.head&&(n.head.extra_len=w),512&n.flags&&(R[0]=255&w,R[1]=w>>>8&255,n.check=o(n.check,R,2,0)),m=w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(p<(x=n.length)&&(x=p),x&&(n.head&&(D=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,c,l,x,D)),512&n.flags&&(n.check=o(n.check,c,x,l)),p-=x,l+=x,n.length-=x),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===p)break t;for(x=0;D=c[l+x++],n.head&&D&&n.length<65536&&(n.head.name+=String.fromCharCode(D)),D&&x<p;);if(512&n.flags&&(n.check=o(n.check,c,x,l)),p-=x,l+=x,D)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===p)break t;for(x=0;D=c[l+x++],n.head&&D&&n.length<65536&&(n.head.comment+=String.fromCharCode(D)),D&&x<p;);if(512&n.flags&&(n.check=o(n.check,c,x,l)),p-=x,l+=x,D)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;m<16;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if(w!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}m=w=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=12;break;case 10:for(;m<32;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}t.adler=n.check=u(w),m=w=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=d,t.avail_out=v,t.next_in=l,t.avail_in=p,n.hold=w,n.bits=m,2;t.adler=n.check=1,n.mode=12;case 12:if(5===i||6===i)break t;case 13:if(n.last){w>>>=7&m,m-=7&m,n.mode=27;break}for(;m<3;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}switch(n.last=1&w,m-=1,3&(w>>>=1)){case 0:n.mode=14;break;case 1:if(b(n),n.mode=20,6!==i)break;w>>>=2,m-=2;break t;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}w>>>=2,m-=2;break;case 14:for(w>>>=7&m,m-=7&m;m<32;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if((65535&w)!=(w>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&w,m=w=0,n.mode=15,6===i)break t;case 15:n.mode=16;case 16:if(x=n.length){if(p<x&&(x=p),v<x&&(x=v),0===x)break t;r.arraySet(h,c,l,x,d),p-=x,l+=x,v-=x,d+=x,n.length-=x;break}n.mode=12;break;case 17:for(;m<14;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if(n.nlen=257+(31&w),m-=5,n.ndist=1+(31&(w>>>=5)),m-=5,n.ncode=4+(15&(w>>>=5)),w>>>=4,m-=4,286<n.nlen||30<n.ndist){t.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(;m<3;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}n.lens[B[n.have++]]=7&w,w>>>=3,m-=3}for(;n.have<19;)n.lens[B[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,N=f(0,n.lens,0,19,n.lencode,0,n.work,C={bits:n.lenbits}),n.lenbits=C.bits,N){t.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(;U=(T=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,j=65535&T,!((O=T>>>24)<=m);){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if(j<16)w>>>=O,m-=O,n.lens[n.have++]=j;else{if(16===j){for(F=O+2;m<F;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if(w>>>=O,m-=O,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}D=n.lens[n.have-1],x=3+(3&w),w>>>=2,m-=2}else if(17===j){for(F=O+3;m<F;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}m-=O,D=0,x=3+(7&(w>>>=O)),w>>>=3,m-=3}else{for(F=O+7;m<F;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}m-=O,D=0,x=11+(127&(w>>>=O)),w>>>=7,m-=7}if(n.have+x>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;x--;)n.lens[n.have++]=D}}if(30===n.mode)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,N=f(1,n.lens,0,n.nlen,n.lencode,0,n.work,C={bits:n.lenbits}),n.lenbits=C.bits,N){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,N=f(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,C={bits:n.distbits}),n.distbits=C.bits,N){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===i)break t;case 20:n.mode=21;case 21:if(6<=p&&258<=v){t.next_out=d,t.avail_out=v,t.next_in=l,t.avail_in=p,n.hold=w,n.bits=m,s(t,k),d=t.next_out,h=t.output,v=t.avail_out,l=t.next_in,c=t.input,p=t.avail_in,w=n.hold,m=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;U=(T=n.lencode[w&(1<<n.lenbits)-1])>>>16&255,j=65535&T,!((O=T>>>24)<=m);){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if(U&&0==(240&U)){for(z=O,S=U,_=j;U=(T=n.lencode[_+((w&(1<<z+S)-1)>>z)])>>>16&255,j=65535&T,!(z+(O=T>>>24)<=m);){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}w>>>=z,m-=z,n.back+=z}if(w>>>=O,m-=O,n.back+=O,n.length=j,0===U){n.mode=26;break}if(32&U){n.back=-1,n.mode=12;break}if(64&U){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&U,n.mode=22;case 22:if(n.extra){for(F=n.extra;m<F;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}n.length+=w&(1<<n.extra)-1,w>>>=n.extra,m-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;U=(T=n.distcode[w&(1<<n.distbits)-1])>>>16&255,j=65535&T,!((O=T>>>24)<=m);){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if(0==(240&U)){for(z=O,S=U,_=j;U=(T=n.distcode[_+((w&(1<<z+S)-1)>>z)])>>>16&255,j=65535&T,!(z+(O=T>>>24)<=m);){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}w>>>=z,m-=z,n.back+=z}if(w>>>=O,m-=O,n.back+=O,64&U){t.msg="invalid distance code",n.mode=30;break}n.offset=j,n.extra=15&U,n.mode=24;case 24:if(n.extra){for(F=n.extra;m<F;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}n.offset+=w&(1<<n.extra)-1,w>>>=n.extra,m-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===v)break t;if(n.offset>(x=k-v)){if((x=n.offset-x)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}E=x>n.wnext?n.wsize-(x-=n.wnext):n.wnext-x,x>n.length&&(x=n.length),A=n.window}else A=h,E=d-n.offset,x=n.length;for(v<x&&(x=v),v-=x,n.length-=x;h[d++]=A[E++],--x;);0===n.length&&(n.mode=21);break;case 26:if(0===v)break t;h[d++]=n.length,v--,n.mode=21;break;case 27:if(n.wrap){for(;m<32;){if(0===p)break t;p--,w|=c[l++]<<m,m+=8}if(t.total_out+=k-=v,n.total+=k,k&&(t.adler=n.check=n.flags?o(n.check,h,k,d-k):e(n.check,h,k,d-k)),k=v,(n.flags?w:u(w))!==n.check){t.msg="incorrect data check",n.mode=30;break}m=w=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;m<32;){if(0===p)break t;p--,w+=c[l++]<<m,m+=8}if(w!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=30;break}m=w=0}n.mode=29;case 29:N=1;break t;case 30:N=-3;break t;case 31:return-4;case 32:default:return a}return t.next_out=d,t.avail_out=v,t.next_in=l,t.avail_in=p,n.hold=w,n.bits=m,(n.wsize||k!==t.avail_out&&n.mode<30&&(n.mode<27||4!==i))&&y(t,t.output,t.next_out,k-t.avail_out)?(n.mode=31,-4):(k-=t.avail_out,t.total_in+=g-=t.avail_in,t.total_out+=k,n.total+=k,n.wrap&&k&&(t.adler=n.check=n.flags?o(n.check,h,k,t.next_out-k):e(n.check,h,k,t.next_out-k)),t.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==g&&0===k||4===i)&&0===N&&(N=-5),N)},n.inflateEnd=function(t){if(!t||!t.state)return a;var i=t.state;return i.window&&(i.window=null),t.state=null,0},n.inflateGetHeader=function(t,i){var n;return t&&t.state?0==(2&(n=t.state).wrap)?a:((n.head=i).done=!1,0):a},n.inflateSetDictionary=function(t,i){var n,r=i.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?a:11===n.mode&&e(1,i,r,0)!==n.check?-3:y(t,i,r,r)?(n.mode=31,-4):(n.havedict=1,0):a},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,i){var n=t("../utils/common"),r=[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],e=[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];i.exports=function(t,i,f,a,u,c,h,l){var d,p,v,w,m,b,y,g,k,x=l.bits,E=0,A=0,O=0,U=0,j=0,z=0,S=0,_=0,D=0,N=0,C=null,F=0,T=new n.Buf16(16),R=new n.Buf16(16),B=null,W=0;for(E=0;E<=15;E++)T[E]=0;for(A=0;A<a;A++)T[i[f+A]]++;for(j=x,U=15;1<=U&&0===T[U];U--);if(U<j&&(j=U),0===U)return u[c++]=20971520,u[c++]=20971520,l.bits=1,0;for(O=1;O<U&&0===T[O];O++);for(j<O&&(j=O),E=_=1;E<=15;E++)if(_<<=1,(_-=T[E])<0)return-1;if(0<_&&(0===t||1!==U))return-1;for(R[1]=0,E=1;E<15;E++)R[E+1]=R[E]+T[E];for(A=0;A<a;A++)0!==i[f+A]&&(h[R[i[f+A]]++]=A);if(b=0===t?(C=B=h,19):1===t?(C=r,F-=257,B=e,W-=257,256):(C=o,B=s,-1),E=O,m=c,S=A=N=0,v=-1,w=(D=1<<(z=j))-1,1===t&&852<D||2===t&&592<D)return 1;for(;;){for(y=E-S,k=h[A]<b?(g=0,h[A]):h[A]>b?(g=B[W+h[A]],C[F+h[A]]):(g=96,0),d=1<<E-S,O=p=1<<z;u[m+(N>>S)+(p-=d)]=y<<24|g<<16|k|0,0!==p;);for(d=1<<E-1;N&d;)d>>=1;if(0!==d?(N&=d-1,N+=d):N=0,A++,0==--T[E]){if(E===U)break;E=i[f+h[A]]}if(j<E&&(N&w)!==v){for(0===S&&(S=j),m+=O,_=1<<(z=E-S);z+S<U&&!((_-=T[z+S])<=0);)z++,_<<=1;if(D+=1<<z,1===t&&852<D||2===t&&592<D)return 1;u[v=N&w]=j<<24|z<<16|m-c|0}}return 0!==N&&(u[m+N]=E-S<<24|64<<16|0),l.bits=j,0}},{"../utils/common":41}],51:[function(t,i){i.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(t,i,n){var r=t("../utils/common");function e(t){for(var i=t.length;0<=--i;)t[i]=0}var o=15,s=[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],f=[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],a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],u=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],c=new Array(576);e(c);var h=new Array(60);e(h);var l=new Array(512);e(l);var d=new Array(256);e(d);var p=new Array(29);e(p);var v,w,m,b=new Array(30);function y(t,i,n,r,e){this.static_tree=t,this.extra_bits=i,this.extra_base=n,this.elems=r,this.max_length=e,this.has_stree=t&&t.length}function g(t,i){this.dyn_tree=t,this.max_code=0,this.stat_desc=i}function k(t){return t<256?l[t]:l[256+(t>>>7)]}function x(t,i){t.pending_buf[t.pending++]=255&i,t.pending_buf[t.pending++]=i>>>8&255}function E(t,i,n){t.bi_valid>16-n?(t.bi_buf|=i<<t.bi_valid&65535,x(t,t.bi_buf),t.bi_buf=i>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=i<<t.bi_valid&65535,t.bi_valid+=n)}function A(t,i,n){E(t,n[2*i],n[2*i+1])}function O(t,i){for(var n=0;n|=1&t,t>>>=1,n<<=1,0<--i;);return n>>>1}function U(t,i,n){var r,e,s=new Array(16),f=0;for(r=1;r<=o;r++)s[r]=f=f+n[r-1]<<1;for(e=0;e<=i;e++){var a=t[2*e+1];0!==a&&(t[2*e]=O(s[a]++,a))}}function j(t){var i;for(i=0;i<286;i++)t.dyn_ltree[2*i]=0;for(i=0;i<30;i++)t.dyn_dtree[2*i]=0;for(i=0;i<19;i++)t.bl_tree[2*i]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function z(t){8<t.bi_valid?x(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function S(t,i,n,r){var e=2*i,o=2*n;return t[e]<t[o]||t[e]===t[o]&&r[i]<=r[n]}function _(t,i,n){for(var r=t.heap[n],e=n<<1;e<=t.heap_len&&(e<t.heap_len&&S(i,t.heap[e+1],t.heap[e],t.depth)&&e++,!S(i,r,t.heap[e],t.depth));)t.heap[n]=t.heap[e],n=e,e<<=1;t.heap[n]=r}function D(t,i,n){var r,e,o,a,u=0;if(0!==t.last_lit)for(;r=t.pending_buf[t.d_buf+2*u]<<8|t.pending_buf[t.d_buf+2*u+1],e=t.pending_buf[t.l_buf+u],u++,0===r?A(t,e,i):(A(t,(o=d[e])+256+1,i),0!==(a=s[o])&&E(t,e-=p[o],a),A(t,o=k(--r),n),0!==(a=f[o])&&E(t,r-=b[o],a)),u<t.last_lit;);A(t,256,i)}function N(t,i){var n,r,e,s=i.dyn_tree,f=i.stat_desc.static_tree,a=i.stat_desc.has_stree,u=i.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<u;n++)0!==s[2*n]?(t.heap[++t.heap_len]=c=n,t.depth[n]=0):s[2*n+1]=0;for(;t.heap_len<2;)s[2*(e=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[e]=0,t.opt_len--,a&&(t.static_len-=f[2*e+1]);for(i.max_code=c,n=t.heap_len>>1;1<=n;n--)_(t,s,n);for(e=u;n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],_(t,s,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,s[2*e]=s[2*n]+s[2*r],t.depth[e]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,s[2*n+1]=s[2*r+1]=e,t.heap[1]=e++,_(t,s,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,i){var n,r,e,s,f,a,u=i.dyn_tree,c=i.max_code,h=i.stat_desc.static_tree,l=i.stat_desc.has_stree,d=i.stat_desc.extra_bits,p=i.stat_desc.extra_base,v=i.stat_desc.max_length,w=0;for(s=0;s<=o;s++)t.bl_count[s]=0;for(u[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)v<(s=u[2*u[2*(r=t.heap[n])+1]+1]+1)&&(s=v,w++),u[2*r+1]=s,c<r||(t.bl_count[s]++,f=0,p<=r&&(f=d[r-p]),t.opt_len+=(a=u[2*r])*(s+f),l&&(t.static_len+=a*(h[2*r+1]+f)));if(0!==w){do{for(s=v-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[v]--,w-=2}while(0<w);for(s=v;0!==s;s--)for(r=t.bl_count[s];0!==r;)c<(e=t.heap[--n])||(u[2*e+1]!==s&&(t.opt_len+=(s-u[2*e+1])*u[2*e],u[2*e+1]=s),r--)}}(t,i),U(s,c,t.bl_count)}function C(t,i,n){var r,e,o=-1,s=i[1],f=0,a=7,u=4;for(0===s&&(a=138,u=3),i[2*(n+1)+1]=65535,r=0;r<=n;r++)e=s,s=i[2*(r+1)+1],++f<a&&e===s||(f<u?t.bl_tree[2*e]+=f:0!==e?(e!==o&&t.bl_tree[2*e]++,t.bl_tree[32]++):f<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=e,u=(f=0)===s?(a=138,3):e===s?(a=6,3):(a=7,4))}function F(t,i,n){var r,e,o=-1,s=i[1],f=0,a=7,u=4;for(0===s&&(a=138,u=3),r=0;r<=n;r++)if(e=s,s=i[2*(r+1)+1],!(++f<a&&e===s)){if(f<u)for(;A(t,e,t.bl_tree),0!=--f;);else 0!==e?(e!==o&&(A(t,e,t.bl_tree),f--),A(t,16,t.bl_tree),E(t,f-3,2)):f<=10?(A(t,17,t.bl_tree),E(t,f-3,3)):(A(t,18,t.bl_tree),E(t,f-11,7));o=e,u=(f=0)===s?(a=138,3):e===s?(a=6,3):(a=7,4)}}e(b);var T=!1;function R(t,i,n,e){var o,s,f;E(t,0+(e?1:0),3),s=i,f=n,z(o=t),x(o,f),x(o,~f),r.arraySet(o.pending_buf,o.window,s,f,o.pending),o.pending+=f}n._tr_init=function(t){T||(function(){var t,i,n,r,e,u=new Array(16);for(r=n=0;r<28;r++)for(p[r]=n,t=0;t<1<<s[r];t++)d[n++]=r;for(d[n-1]=r,r=e=0;r<16;r++)for(b[r]=e,t=0;t<1<<f[r];t++)l[e++]=r;for(e>>=7;r<30;r++)for(b[r]=e<<7,t=0;t<1<<f[r]-7;t++)l[256+e++]=r;for(i=0;i<=o;i++)u[i]=0;for(t=0;t<=143;)c[2*t+1]=8,t++,u[8]++;for(;t<=255;)c[2*t+1]=9,t++,u[9]++;for(;t<=279;)c[2*t+1]=7,t++,u[7]++;for(;t<=287;)c[2*t+1]=8,t++,u[8]++;for(U(c,287,u),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=O(t,5);v=new y(c,s,257,286,o),w=new y(h,f,0,30,o),m=new y(new Array(0),a,0,19,7)}(),T=!0),t.l_desc=new g(t.dyn_ltree,v),t.d_desc=new g(t.dyn_dtree,w),t.bl_desc=new g(t.bl_tree,m),t.bi_buf=0,t.bi_valid=0,j(t)},n._tr_stored_block=R,n._tr_flush_block=function(t,i,n,r){var e,o,s=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var i,n=4093624447;for(i=0;i<=31;i++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*i])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(i=32;i<256;i++)if(0!==t.dyn_ltree[2*i])return 1;return 0}(t)),N(t,t.l_desc),N(t,t.d_desc),s=function(t){var i;for(C(t,t.dyn_ltree,t.l_desc.max_code),C(t,t.dyn_dtree,t.d_desc.max_code),N(t,t.bl_desc),i=18;3<=i&&0===t.bl_tree[2*u[i]+1];i--);return t.opt_len+=3*(i+1)+5+5+4,i}(t),(o=t.static_len+3+7>>>3)<=(e=t.opt_len+3+7>>>3)&&(e=o)):e=o=n+5,n+4<=e&&-1!==i?R(t,i,n,r):4===t.strategy||o===e?(E(t,2+(r?1:0),3),D(t,c,h)):(E(t,4+(r?1:0),3),function(t,i,n,r){var e;for(E(t,i-257,5),E(t,n-1,5),E(t,r-4,4),e=0;e<r;e++)E(t,t.bl_tree[2*u[e]+1],3);F(t,t.dyn_ltree,i-1),F(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),D(t,t.dyn_ltree,t.dyn_dtree)),j(t),r&&z(t)},n._tr_tally=function(t,i,n){return t.pending_buf[t.d_buf+2*t.last_lit]=i>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&i,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===i?t.dyn_ltree[2*n]++:(t.matches++,i--,t.dyn_ltree[2*(d[n]+256+1)]++,t.dyn_dtree[2*k(i)]++),t.last_lit===t.lit_bufsize-1},n._tr_align=function(t){var i;E(t,2,3),A(t,256,c),16===(i=t).bi_valid?(x(i,i.bi_buf),i.bi_buf=0,i.bi_valid=0):8<=i.bi_valid&&(i.pending_buf[i.pending++]=255&i.bi_buf,i.bi_buf>>=8,i.bi_valid-=8)}},{"../utils/common":41}],53:[function(t,i){i.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(t,i){i.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)}))}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1])(1)})),Function.prototype.toString.call(Object);var o={exports:{}},s={},f={exports:{}},a={};function u(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}var c=/javascript\s*\:/gim;a.whiteList={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1},a.getDefaultWhiteList=u,a.onAttr=function(){},a.onIgnoreAttr=function(){},a.safeAttrValue=function(t,i){return c.test(i)?"":i};var h=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},l=function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")},d=a;function p(t){return null==t}function v(t){(t=function(t){var i={};for(var n in t)i[n]=t[n];return i}(t||{})).whiteList=t.whiteList||d.whiteList,t.onAttr=t.onAttr||d.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||d.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||d.safeAttrValue,this.options=t}v.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var i=this.options,n=i.whiteList,r=i.onAttr,e=i.onIgnoreAttr,o=i.safeAttrValue;return function(t,i){";"!==(t=l(t))[t.length-1]&&(t+=";");var n=t.length,r=!1,e=0,o=0,s="";function f(){if(!r){var n=h(t.slice(e,o)),f=n.indexOf(":");if(-1!==f){var a=h(n.slice(0,f)),u=h(n.slice(f+1));if(a){var c=i(e,s.length,a,u,n);c&&(s+=c+"; ")}}}e=o+1}for(;o<n;o++){var a=t[o];if("/"===a&&"*"===t[o+1]){var u=t.indexOf("*/",o+2);if(-1===u)break;e=(o=u+1)+1,r=!1}else"("===a?r=!0:")"===a?r=!1:";"===a?r||f():"\n"===a&&f()}return h(s)}(t,(function(t,i,s,f,a){var u=n[s],c=!1;if(!0===u?c=u:"function"==typeof u?c=u(f):u instanceof RegExp&&(c=u.test(f)),!0!==c&&(c=!1),f=o(s,f)){var h,l={position:i,sourcePosition:t,source:a,isWhite:c};return c?p(h=r(s,f,l))?s+":"+f:h:p(h=e(s,f,l))?void 0:h}}))};var w=v;!function(t,i){var n=a,r=w;for(var e in(i=t.exports=function(t,i){return new r(i).process(t)}).FilterCSS=r,n)i[e]=n[e]}(f,f.exports);var m={indexOf:function(t,i){var n,r;if(Array.prototype.indexOf)return t.indexOf(i);for(n=0,r=t.length;n<r;n++)if(t[n]===i)return n;return-1},forEach:function(t,i,n){var r,e;if(Array.prototype.forEach)return t.forEach(i,n);for(r=0,e=t.length;r<e;r++)i.call(n,t[r],r,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var i=/\s|\n|\t/.exec(t);return i?i.index:-1}},b=f.exports.getDefaultWhiteList,y=m;var g=new(0,f.exports.FilterCSS);function k(t){return t.replace(x,"&lt;").replace(E,"&gt;")}var x=/</g,E=/>/g,A=/"/g,O=/&quot;/g,U=/&#([a-zA-Z0-9]*);?/gim,j=/&colon;?/gim,z=/&newline;?/gim,S=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,_=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,D=/u\s*r\s*l\s*\(.*/gi;function N(t){return t.replace(A,"&quot;")}function C(t){return t.replace(O,'"')}function F(t){return t.replace(U,(function(t,i){return String.fromCharCode("x"===i[0]||"X"===i[0]?parseInt(i.substr(1),16):parseInt(i,10))}))}function T(t){return t.replace(j,":").replace(z," ")}function R(t){for(var i="",n=0,r=t.length;n<r;n++)i+=t.charCodeAt(n)<32?" ":t.charAt(n);return y.trim(i)}function B(t){return R(t=T(t=F(t=C(t))))}function W(t){return k(t=N(t))}s.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},s.getDefaultWhiteList=function(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}},s.onTag=function(){},s.onIgnoreTag=function(){},s.onTagAttr=function(){},s.onIgnoreTagAttr=function(){},s.safeAttrValue=function(t,i,n,r){if(n=B(n),"href"===i||"src"===i){if("#"===(n=y.trim(n)))return"#";if("http://"!==n.substr(0,7)&&"https://"!==n.substr(0,8)&&"mailto:"!==n.substr(0,7)&&"tel:"!==n.substr(0,4)&&"data:image/"!==n.substr(0,11)&&"ftp://"!==n.substr(0,6)&&"./"!==n.substr(0,2)&&"../"!==n.substr(0,3)&&"#"!==n[0]&&"/"!==n[0])return""}else if("background"===i){if(S.lastIndex=0,S.test(n))return""}else if("style"===i){if(_.lastIndex=0,_.test(n))return"";if(D.lastIndex=0,D.test(n)&&(S.lastIndex=0,S.test(n)))return"";!1!==r&&(n=(r=r||g).process(n))}return W(n)},s.escapeHtml=k,s.escapeQuote=N,s.unescapeQuote=C,s.escapeHtmlEntities=F,s.escapeDangerHtml5Entities=T,s.clearNonPrintableCharacter=R,s.friendlyAttrValue=B,s.escapeAttrValue=W,s.onIgnoreTagStripAll=function(){return""},s.StripTagBody=function(t,i){"function"!=typeof i&&(i=function(){});var n=!Array.isArray(t),r=[],e=!1;return{onIgnoreTag:function(o,s,f){if(function(i){return!!n||-1!==y.indexOf(t,i)}(o)){if(f.isClosing){var a="[/removed]";return r.push([!1!==e?e:f.position,f.position+a.length]),e=!1,a}return e||(e=f.position),"[removed]"}return i(o,s,f)},remove:function(t){var i="",n=0;return y.forEach(r,(function(r){i+=t.slice(n,r[0]),n=r[1]})),i+=t.slice(n)}}},s.stripCommentTag=function(t){for(var i="",n=0;n<t.length;){var r=t.indexOf("\x3c!--",n);if(-1===r){i+=t.slice(n);break}i+=t.slice(n,r);var e=t.indexOf("--\x3e",r);if(-1===e)break;n=e+3}return i},s.stripBlankChar=function(t){var i=t.split("");return(i=i.filter((function(t){var i=t.charCodeAt(0);return!(127===i||i<=31&&10!==i&&13!==i)}))).join("")},s.cssFilter=g,s.getDefaultCSSWhiteList=b;var I={},Z=m;function L(t){var i=Z.spaceIndex(t);if(-1===i)var n=t.slice(1,-1);else n=t.slice(1,i+1);return"/"===(n=Z.trim(n).toLowerCase()).slice(0,1)&&(n=n.slice(1)),"/"===n.slice(-1)&&(n=n.slice(0,-1)),n}function P(t){return"</"===t.slice(0,2)}var M=/[^a-zA-Z0-9_:\.\-]/gim;function G(t,i){for(;i<t.length;i++){var n=t[i];if(" "!==n)return"="===n?i:-1}}function H(t,i){for(;i>0;i--){var n=t[i];if(" "!==n)return"="===n?i:-1}}function K(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}I.parseTag=function(t,i,n){var r="",e=0,o=!1,s=!1,f=0,a=t.length,u="",c="";t:for(f=0;f<a;f++){var h=t.charAt(f);if(!1===o){if("<"===h){o=f;continue}}else if(!1===s){if("<"===h){r+=n(t.slice(e,f)),o=f,e=f;continue}if(">"===h){r+=n(t.slice(e,o)),u=L(c=t.slice(o,f+1)),r+=i(o,r.length,u,c,P(c)),e=f+1,o=!1;continue}if('"'===h||"'"===h)for(var l=1,d=t.charAt(f-l);""===d.trim()||"="===d;){if("="===d){s=h;continue t}d=t.charAt(f-++l)}}else if(h===s){s=!1;continue}}return e<t.length&&(r+=n(t.substr(e))),r},I.parseAttr=function(t,i){var n=0,r=[],e=!1,o=t.length;function s(t,n){if(!((t=(t=Z.trim(t)).replace(M,"").toLowerCase()).length<1)){var e=i(t,n||"");e&&r.push(e)}}for(var f=0;f<o;f++){var a,u=t.charAt(f);if(!1!==e||"="!==u)if(!1===e||f!==n||'"'!==u&&"'"!==u||"="!==t.charAt(f-1)){if(/\s|\n|\t/.test(u)){if(t=t.replace(/\s|\n|\t/g," "),!1===e){if(-1===(a=G(t,f))){s(Z.trim(t.slice(n,f))),e=!1,n=f+1;continue}f=a-1;continue}if(-1===(a=H(t,f-1))){s(e,K(Z.trim(t.slice(n,f)))),e=!1,n=f+1;continue}}}else{if(-1===(a=t.indexOf(u,f+1)))break;s(e,Z.trim(t.slice(n+1,a))),e=!1,n=(f=a)+1}else e=t.slice(n,f),n=f+1}return n<t.length&&(!1===e?s(t.slice(n)):s(e,K(Z.trim(t.slice(n))))),Z.trim(r.join(" "))};var J=f.exports.FilterCSS,q=s,X=I.parseTag,Y=I.parseAttr,$=m;function V(t){return null==t}function Q(t){(t=function(t){var i={};for(var n in t)i[n]=t[n];return i}(t||{})).stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=q.onIgnoreTagStripAll),t.whiteList=t.whiteList||q.whiteList,t.onTag=t.onTag||q.onTag,t.onTagAttr=t.onTagAttr||q.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||q.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||q.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||q.safeAttrValue,t.escapeHtml=t.escapeHtml||q.escapeHtml,this.options=t,!1===t.css?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new J(t.css))}Q.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var i=this.options,n=i.whiteList,r=i.onTag,e=i.onIgnoreTag,o=i.onTagAttr,s=i.onIgnoreTagAttr,f=i.safeAttrValue,a=i.escapeHtml,u=this.cssFilter;i.stripBlankChar&&(t=q.stripBlankChar(t)),i.allowCommentTag||(t=q.stripCommentTag(t));var c=!1;i.stripIgnoreTagBody&&(c=q.StripTagBody(i.stripIgnoreTagBody,e),e=c.onIgnoreTag);var h=X(t,(function(t,i,c,h,l){var d,p={sourcePosition:t,position:i,isClosing:l,isWhite:n.hasOwnProperty(c)};if(!V(d=r(c,h,p)))return d;if(p.isWhite){if(p.isClosing)return"</"+c+">";var v=function(t){var i=$.spaceIndex(t);if(-1===i)return{html:"",closing:"/"===t[t.length-2]};var n="/"===(t=$.trim(t.slice(i+1,-1)))[t.length-1];return n&&(t=$.trim(t.slice(0,-1))),{html:t,closing:n}}(h),w=n[c],m=Y(v.html,(function(t,i){var n,r=-1!==$.indexOf(w,t);return V(n=o(c,t,i,r))?r?(i=f(c,t,i,u))?t+'="'+i+'"':t:V(n=s(c,t,i,r))?void 0:n:n}));return h="<"+c,m&&(h+=" "+m),v.closing&&(h+=" /"),h+">"}return V(d=e(c,h,p))?a(h):d}),a);return c&&(h=c.remove(h)),h};var tt,it,nt,rt,et,ot=Q;!function(t,i){var n=s,r=I,e=ot;function o(t,i){return new e(i).process(t)}for(var f in(i=t.exports=o).filterXSS=o,i.FilterXSS=e,n)i[f]=n[f];for(var f in r)i[f]=r[f];"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)}(o,o.exports),function(t){t[t.NotYetVisited=0]="NotYetVisited",t[t.InProgress=1]="InProgress",t[t.Finished=2]="Finished"}(tt||(tt={})),function(t){t[t.Data=0]="Data",t[t.Info=1]="Info",t[t.Metadata=2]="Metadata",t[t.Resource=3]="Resource",t[t.Thumbnail=4]="Thumbnail"}(it||(it={})),function(t){t[t.Data=0]="Data",t[t.Info=1]="Info",t[t.Metadata=2]="Metadata",t[t.Resource=3]="Resource",t[t.Thumbnail=4]="Thumbnail"}(nt||(nt={})),function(t){t[t.Started=0]="Started",t[t.Created=1]="Created",t[t.Cancelled=2]="Cancelled",t[t.Finished=3]="Finished",t[t.Ignored=4]="Ignored",t[t.Failed=5]="Failed",t[t.Unknown=6]="Unknown"}(rt||(rt={})),function(t){t[t.thumbnail=0]="thumbnail",t[t.metadata=1]="metadata",t[t.resource=2]="resource",t[t.data=3]="data",t[t.fakezip=4]="fakezip",t[t.info=5]="info"}(et||(et={}));const st=t=>!("isConnected"in t)||t.isConnected,ft=(()=>{let t;return(...i)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let i of t.keys())t.set(i,t.get(i).filter(st))})(...i)}),2e3)}})(),{state:at,onChange:ut,dispose:ct}=(()=>{const t=((t,i=((t,i)=>t!==i))=>{let n=new Map(Object.entries(null!=t?t:{}));const r={dispose:[],get:[],set:[],reset:[]},e=()=>{n=new Map(Object.entries(null!=t?t:{})),r.reset.forEach((t=>t()))},o=t=>(r.get.forEach((i=>i(t))),n.get(t)),s=(t,e)=>{const o=n.get(t);i(e,o,t)&&(n.set(t,e),r.set.forEach((i=>i(t,e,o))))},f="undefined"==typeof Proxy?{}:new Proxy(t,{get:(t,i)=>o(i),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,i)=>n.has(i),set:(t,i,n)=>(s(i,n),!0)}),a=(t,i)=>(r[t].push(i),()=>{((t,i)=>{const n=t.indexOf(i);n>=0&&(t[n]=t[t.length-1],t.length--)})(r[t],i)});return{state:f,get:o,set:s,on:a,onChange:(i,n)=>{const r=a("set",((t,r)=>{t===i&&n(r)})),e=a("reset",(()=>n(t[i])));return()=>{r(),e()}},use:(...t)=>{const i=t.reduce(((t,i)=>(i.set&&t.push(a("set",i.set)),i.get&&t.push(a("get",i.get)),i.reset&&t.push(a("reset",i.reset)),i.dispose&&t.push(a("dispose",i.dispose)),t)),[]);return()=>i.forEach((t=>t()))},dispose:()=>{r.dispose.forEach((t=>t())),e()},reset:e,forceUpdate:t=>{const i=n.get(t);r.set.forEach((n=>n(t,i,i)))}}})({models:{},featureServices:[],spatialReferenceInfo:{},dispose:()=>ct()},void 0);return t.use((()=>{if("function"!=typeof r)return{};const t=new Map;return{dispose:()=>t.clear(),get:i=>{const n=r();n&&((t,i,n)=>{const r=t.get(i);r?r.includes(n)||r.push(n):t.set(i,[n])})(t,i,n)},set:i=>{const n=t.get(i);n&&t.set(i,n.filter(e)),ft(t)},reset:()=>{t.forEach((t=>t.forEach(e))),ft(t)}}})()),t})(),ht=new CustomEvent("modelsChanged",{bubbles:!0,cancelable:!1,composed:!0});ut("models",(()=>{dispatchEvent(ht)}));export{at as s}
@@ -3,9 +3,8 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import{c as o}from"./p-0c91e100.js";
6
+ import{c as o}from"./p-1345c0c8.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
- */const e={container:"container",controlSection:"control-section",hexOptions:"color-hex-options",section:"section",header:"header",control:"control",splitSection:"section--split",colorModeContainer:"color-mode-container",colorMode:"color-mode",channels:"channels",channel:"channel",savedColors:"saved-colors",savedColorsSection:"saved-colors-section",saveColor:"save-color",deleteColor:"delete-color",savedColorsButtons:"saved-colors-buttons",headerHex:"header--hex",colorFieldAndSlider:"color-field-and-slider",colorFieldAndSliderInteractive:"color-field-and-slider--interactive",colorFieldAndSliderWrap:"color-field-and-slider-wrap",scope:"scope",hueScope:"scope--hue",colorFieldScope:"scope--color-field",savedColor:"saved-color"};const l=o("#007AC2");const r="calcite-color-";const s={r:255,g:255,b:255};const c={h:360,s:100,v:100};const t={b:"B",blue:"Blue",deleteColor:"Delete color",g:"G",green:"Green",h:"H",hsv:"HSV",hex:"Hex",hue:"Hue",noColor:"No color",r:"R",red:"Red",rgb:"RGB",s:"S",saturation:"Saturation",saveColor:"Save color",saved:"Saved",v:"V",value:"Value"};const d={s:{slider:{height:10,width:160},colorField:{height:80,width:160},thumb:{radius:8}},m:{slider:{height:14,width:272},colorField:{height:150,width:272},thumb:{radius:10}},l:{slider:{height:16,width:464},colorField:{height:200,width:464},thumb:{radius:12}}};export{e as C,l as D,c as H,s as R,t as T,d as a,r as b};
11
- //# sourceMappingURL=p-4573d7c2.js.map
10
+ */const e={container:"container",controlSection:"control-section",hexOptions:"color-hex-options",section:"section",header:"header",control:"control",splitSection:"section--split",colorModeContainer:"color-mode-container",colorMode:"color-mode",channels:"channels",channel:"channel",savedColors:"saved-colors",savedColorsSection:"saved-colors-section",saveColor:"save-color",deleteColor:"delete-color",savedColorsButtons:"saved-colors-buttons",headerHex:"header--hex",colorFieldAndSlider:"color-field-and-slider",colorFieldAndSliderInteractive:"color-field-and-slider--interactive",colorFieldAndSliderWrap:"color-field-and-slider-wrap",scope:"scope",hueScope:"scope--hue",colorFieldScope:"scope--color-field",savedColor:"saved-color"},l=o("#007AC2"),r="calcite-color-",c={r:255,g:255,b:255},s={h:360,s:100,v:100},d={b:"B",blue:"Blue",deleteColor:"Delete color",g:"G",green:"Green",h:"H",hsv:"HSV",hex:"Hex",hue:"Hue",noColor:"No color",r:"R",red:"Red",rgb:"RGB",s:"S",saturation:"Saturation",saveColor:"Save color",saved:"Saved",v:"V",value:"Value"},i={s:{slider:{height:10,width:160},colorField:{height:80,width:160},thumb:{radius:8}},m:{slider:{height:14,width:272},colorField:{height:150,width:272},thumb:{radius:10}},l:{slider:{height:16,width:464},colorField:{height:200,width:464},thumb:{radius:12}}};export{e as C,l as D,s as H,c as R,d as T,i as a,r as b}
@@ -7,5 +7,4 @@
7
7
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
8
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
9
9
  */
10
- function n(n,t,e){const r=n.getTime();const s=!(t instanceof Date)||r>=t.getTime();const a=!(e instanceof Date)||r<=e.getTime();return s&&a}function t(n,t,e){if(!(n instanceof Date)){return null}const r=n.getTime();const s=t instanceof Date&&r<t.getTime();const a=e instanceof Date&&r>e.getTime();if(s){return t}if(a){return e}return n}function e(n){if(n instanceof Date){return n}if(!n||typeof n!=="string"){return null}const t=n.split(/[: T-]/).map(parseFloat);const e=new Date(t[0],(t[1]||1)-1,t[2]||1);e.setFullYear(t[0]);if(isNaN(e.getTime())){throw new Error(`Invalid ISO 8601 date: "${n}"`)}return e}function r(n){if(typeof n==="string"){return n}if(n instanceof Date){return new Date(n.getTime()-n.getTimezoneOffset()*6e4).toISOString().split("T")[0]}return""}function s(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function a(n){const t=n.getMonth();const e=new Date(n);e.setMonth(t-1);if(t===e.getMonth()){return new Date(n.getFullYear(),t,0)}return e}function o(n){const t=n.getMonth();const e=new Date(n);e.setMonth(t+1);if((t+2)%7===e.getMonth()%7){return new Date(n.getFullYear(),t+2,0)}return e}function c(n,t){return String(n).split("").map((n=>t.numerals[n])).join("")}function u(n,t){const e="0123456789";return parseInt(n.split("").map((n=>e[t.numerals.indexOf(n)])).filter((n=>n)).join(""))}function i(n,t){const{separator:e,unitOrder:r}=t;const s=D(r);const a=f(n).split(e);return{day:parseInt(a[s.indexOf("d")]),month:parseInt(a[s.indexOf("m")])-1,year:parseInt(a[s.indexOf("y")])}}function f(n=""){return n.replace(/[\u0660-\u0669]/g,(n=>n.charCodeAt(0)-1632)).replace(/[\u06f0-\u06f9]/g,(n=>n.charCodeAt(0)-1776))}function D(n){const t=["d","m","y"];const e=n.toLowerCase();return t.sort(((n,t)=>e.indexOf(n)-e.indexOf(t)))}function p(n,t){const e=n.getTime();const r=t.getTime();return(e-r)/(1e3*3600*24)}export{e as a,t as b,D as c,r as d,a as e,u as f,p as g,n as i,c as l,o as n,i as p,s};
11
- //# sourceMappingURL=p-f187755e.js.map
10
+ function n(n,t,e){const a=n.getTime(),r=!(t instanceof Date)||a>=t.getTime(),s=!(e instanceof Date)||a<=e.getTime();return r&&s}function t(n,t,e){if(!(n instanceof Date))return null;const a=n.getTime(),r=t instanceof Date&&a<t.getTime(),s=e instanceof Date&&a>e.getTime();return r?t:s?e:n}function e(n){if(n instanceof Date)return n;if(!n||"string"!=typeof n)return null;const t=n.split(/[: T-]/).map(parseFloat),e=new Date(t[0],(t[1]||1)-1,t[2]||1);if(e.setFullYear(t[0]),isNaN(e.getTime()))throw new Error(`Invalid ISO 8601 date: "${n}"`);return e}function a(n){return"string"==typeof n?n:n instanceof Date?new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split("T")[0]:""}function r(n,t){return n instanceof Date&&t instanceof Date&&n.getDate()===t.getDate()&&n.getMonth()===t.getMonth()&&n.getFullYear()===t.getFullYear()}function s(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t-1),t===e.getMonth()?new Date(n.getFullYear(),t,0):e}function o(n){const t=n.getMonth(),e=new Date(n);return e.setMonth(t+1),(t+2)%7==e.getMonth()%7?new Date(n.getFullYear(),t+2,0):e}function u(n,t){return String(n).split("").map((n=>t.numerals[n])).join("")}function i(n,t){return parseInt(n.split("").map((n=>"0123456789"[t.numerals.indexOf(n)])).filter((n=>n)).join(""))}function f(n,t){const{separator:e,unitOrder:a}=t,r=c(a),s=function(n=""){return n.replace(/[\u0660-\u0669]/g,(n=>n.charCodeAt(0)-1632)).replace(/[\u06f0-\u06f9]/g,(n=>n.charCodeAt(0)-1776))}(n).split(e);return{day:parseInt(s[r.indexOf("d")]),month:parseInt(s[r.indexOf("m")])-1,year:parseInt(s[r.indexOf("y")])}}function c(n){const t=n.toLowerCase();return["d","m","y"].sort(((n,e)=>t.indexOf(n)-t.indexOf(e)))}function D(n,t){return(n.getTime()-t.getTime())/864e5}export{e as a,t as b,c,a as d,s as e,i as f,D as g,n as i,u as l,o as n,f as p,r as s}
@@ -7,5 +7,4 @@
7
7
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
8
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
9
9
  */
10
- const t=(t,a,n)=>Math.max(a,Math.min(t,n));const a=t=>{const a=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);if(!a){return 0}return Math.max(0,(a[1]?a[1].length:0)-(a[2]?+a[2]:0))};export{t as c,a as d};
11
- //# sourceMappingURL=p-f49bc4a8.js.map
10
+ const t=(t,a,s)=>Math.max(a,Math.min(t,s)),a=t=>{const a=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return a?Math.max(0,(a[1]?a[1].length:0)-(a[2]?+a[2]:0)):0};export{t as c,a as d}
@@ -0,0 +1,21 @@
1
+ /*!
2
+ * Copyright 2021 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import"./p-ee6eca93.js";
7
+ /** @license
8
+ * Copyright 2018 Esri
9
+ *
10
+ * Licensed under the Apache License, Version 2.0 (the "License");
11
+ * you may not use this file except in compliance with the License.
12
+ * You may obtain a copy of the License at
13
+ *
14
+ * http://www.apache.org/licenses/LICENSE-2.0
15
+ *
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS,
18
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ * See the License for the specific language governing permissions and
20
+ * limitations under the License.
21
+ */function n(n){return new Promise((t=>{e(n).then((n=>{try{t(JSON.parse(n))}catch(n){t(null)}}),(()=>t(null)))}))}function e(n){return new Promise((e=>{const t=new FileReader;t.onload=function(n){e(n.target.result||"")},t.readAsText(n)}))}function t(n){let e={};if(Array.isArray(n))e=n.map(t);else if("object"==typeof n)if(n instanceof File)e=new File([n],n.name,n.type?{type:n.type}:void 0);else for(const o in n)e[o]=null!=n[o]&&"object"==typeof n[o]?t(n[o]):n[o];else e=n;return e}function o(n,e){return e.split(".").reduce((function(n,e){return n?n[e]:void 0}),n)}function i(n,e,t){const o=e.split(".");o.reduce(((n,e,i)=>i===o.length-1?(n[e]=t,t):(n[e]||(n[e]={}),n[e])),n)}function c(n,e,t){if(o(n,e)){const o=e.split(".");o.reduce(((n,e,i)=>i===o.length-1?(n[e]=t,t):n[e]),n)}}export{i as a,e as b,t as c,n as d,o as g,c as s}
@@ -7,5 +7,4 @@
7
7
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
8
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
9
9
  */
10
- const t={menu:"menu",defaultTrigger:"default-trigger"};const e={tooltip:"tooltip",trigger:"trigger"};const r={menu:"ellipsis"};export{t as C,r as I,e as S};
11
- //# sourceMappingURL=p-f780039d.js.map
10
+ const e={menu:"menu",defaultTrigger:"default-trigger"},t={tooltip:"tooltip",trigger:"trigger"},r={menu:"ellipsis"};export{e as C,r as I,t as S}
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * Copyright 2021 Esri
3
+ * Licensed under the Apache License, Version 2.0
4
+ * http://www.apache.org/licenses/LICENSE-2.0
5
+ */
6
+ import{r as t,c as i,h as e,H as n,g as a}from"./p-2e1cd889.js";import{T as r,s as o,g as s,a as l,C as c}from"./p-e762b2d1.js";import{g as h,n as u}from"./p-7df393df.js";import{c as d,d as p,g as m}from"./p-cb5cb9a8.js";import{c as b,d as g,H as f}from"./p-0b8525e2.js";import{d as v,g as x,a as y}from"./p-c34e0641.js";import{i as w,p as k,a as z}from"./p-946521e1.js";import{d as j}from"./p-f49bc4a8.js";import"./p-ec178ea9.js";
7
+ /*!
8
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
+ * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
+ */const D={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"};let I=class{constructor(e){t(this,e),this.calciteInputFocus=i(this,"calciteInputFocus",7),this.calciteInputBlur=i(this,"calciteInputBlur",7),this.calciteInputInput=i(this,"calciteInputInput",7),this.calciteInputChange=i(this,"calciteInputChange",7),this.alignment="start",this.autofocus=!1,this.clearable=!1,this.disabled=!1,this.groupSeparator=!1,this.hidden=!1,this.intlLoading=r.loading,this.iconFlipRtl=!1,this.loading=!1,this.locale=document.documentElement.lang||"en",this.localeFormat=!1,this.numberButtonType="vertical",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.editingEnabled=!1,this.type="text",this.childElType="input",this.keyDownHandler=t=>{"ArrowUp"===t.key&&t.preventDefault(),this.readOnly||this.disabled||this.isClearable&&"Escape"===h(t.key)&&(this.clearInputValue(t),t.preventDefault())},this.clearInputValue=t=>{this.setValue(null,t,!0)},this.inputBlurHandler=()=>{"number"===this.type&&this.setLocalizedValue(this.value),this.calciteInputBlur.emit({element:this.childEl,value:this.value}),this.preFocusValue!==this.value&&this.calciteInputChange.emit()},this.inputFocusHandler=t=>{t.target!==this.slottedActionEl&&this.setFocus(),this.calciteInputFocus.emit({element:this.childEl,value:this.value}),this.preFocusValue=this.value},this.inputInputHandler=t=>{this.disabled||this.readOnly||this.setValue(t.target.value,t)},this.inputKeyDownHandler=t=>{this.disabled||this.readOnly||"Enter"===t.key&&this.calciteInputChange.emit()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;const i=t.target.value,e=v(i,this.locale);"insertFromPaste"===t.inputType?(w(e)||t.preventDefault(),this.setValue(k(e),t),this.childNumberEl.value=this.localizedValue):this.setValue(v(i,this.locale),t)},this.inputNumberKeyDownHandler=t=>{if("number"!==this.type||this.disabled||this.readOnly)return;if("ArrowUp"===t.key)return void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...u,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab","-"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(i.includes(t.key)&&(!t.shiftKey||e))return void("Enter"===t.key&&this.calciteInputChange.emit());const n=x(this.locale);if(t.key===n){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(n))return}t.preventDefault()},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat||"number"!==this.type)return;const e=this.maxString?parseFloat(this.maxString):null,n=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,n,i);let a=0;this.nudgeNumberValueIntervalId=setInterval((()=>{0!==a&&this.incrementOrDecrementNumberValue(t,e,n,i),a++}),100)},this.numberButtonMouseUpAndMouseOutHandler=()=>{clearInterval(this.nudgeNumberValueIntervalId)},this.numberButtonMouseDownHandler=t=>{t.preventDefault(),this.nudgeNumberValue(t.target.dataset.adjustment,t)},this.setChildElRef=t=>{this.childEl=t},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setLocalizedValue=t=>{this.localizedValue=y(t,this.locale,this.groupSeparator)},this.setValue=(t,i,e=!1)=>{const n=this.value;if(this.value="number"===this.type?z(t):t,"number"===this.type&&this.setLocalizedValue(this.value),i){if("number"===this.type&&(null==t?void 0:t.endsWith(".")))return;this.calciteInputInput.emit({element:this.childEl,nativeEvent:i,value:t}).defaultPrevented?(this.value=n,this.setLocalizedValue(n)):e&&this.calciteInputChange.emit()}},this.inputKeyUpHandler=()=>{clearInterval(this.nudgeNumberValueIntervalId)}}disabledWatcher(){this.setDisabledAction()}maxWatcher(){var t;this.maxString=(null===(t=this.max)||void 0===t?void 0:t.toString())||null}minWatcher(){var t;this.minString=(null===(t=this.min)||void 0===t?void 0:t.toString())||null}valueWatcher(t){"number"===this.type&&this.localizedValue!==y(t,this.locale)?this.setLocalizedValue(t):this.childEl&&this.childEl.value!==t&&(this.childEl.value=t)}updateRequestedIcon(){this.requestedIcon=o(D,this.icon,this.type)}get isClearable(){var t;return!this.isTextarea&&(this.clearable||"search"===this.type)&&(null===(t=this.value)||void 0===t?void 0:t.length)>0}get isTextarea(){return"textarea"===this.childElType}connectedCallback(){var t;this.scale=s(this.el,"scale",this.scale),this.status=s(this.el,"status",this.status),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.editingEnabled=null===(t=this.inlineEditableEl)||void 0===t?void 0:t.editingEnabled,"number"===this.type&&this.value&&(w(this.value)?this.localizedValue=y(this.value,this.locale,this.groupSeparator):this.value=void 0),d(this),b(this)}disconnectedCallback(){p(this),g(this)}componentWillLoad(){var t,i;this.childElType="textarea"===this.type?"textarea":"input",this.maxString=null===(t=this.max)||void 0===t?void 0:t.toString(),this.minString=null===(i=this.min)||void 0===i?void 0:i.toString(),this.requestedIcon=o(D,this.icon,this.type)}componentDidLoad(){this.slottedActionEl=this.el.querySelector("[slot=action]"),this.setDisabledAction()}componentShouldUpdate(t,i,e){return!("number"===this.type&&"value"===e&&t&&!w(t)&&(this.value=i,1))}async setFocus(){var t,i;"number"===this.type?null===(t=this.childNumberEl)||void 0===t||t.focus():null===(i=this.childEl)||void 0===i||i.focus()}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,n){const{value:a}=this,r="any"===this.step?1:Math.abs(this.step||1),o=a&&""!==a?parseFloat(a):0,s=o+r*("up"===t?1:-1),l="number"==typeof e&&!isNaN(e)&&s<e||"number"==typeof i&&!isNaN(i)&&s>i?o:s,c=j(o),h=j(r);this.setValue(l.toFixed(Math.max(c,h)),n,!0)}onFormReset(){this.setValue(this.defaultValue)}syncHiddenFormInput(t){var i,e,n,a;"number"===this.type?(t.type="number",t.min=null!==(e=null===(i=this.min)||void 0===i?void 0:i.toString(10))&&void 0!==e?e:"",t.max=null!==(a=null===(n=this.max)||void 0===n?void 0:n.toString(10))&&void 0!==a?a:""):"text"===this.type?(t.type="text",null!=this.minLength&&(t.minLength=this.minLength),null!=this.maxLength&&(t.maxLength=this.maxLength)):"password"===this.type&&(t.type="password")}setDisabledAction(){if(!this.slottedActionEl)return;const t=this.slottedActionEl;this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")}render(){const t=l(this.el),i=e("div",{class:"loader"},e("calcite-progress",{label:this.intlLoading,type:"indeterminate"})),a=e("button",{class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:this.disabled?-1:0,type:"button"},e("calcite-icon",{icon:"x",scale:"s"})),r=e("calcite-icon",{class:"icon",dir:t,flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"s"}),o="horizontal"===this.numberButtonType,s=e("button",{class:{"number-button-item":!0,"number-button-item--horizontal":o},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onMouseDown:this.numberButtonMouseDownHandler,onMouseOut:this.numberButtonMouseUpAndMouseOutHandler,onMouseUp:this.numberButtonMouseUpAndMouseOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-up",scale:"s"})),h=e("button",{class:{"number-button-item":!0,"number-button-item--horizontal":o},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onMouseDown:this.numberButtonMouseDownHandler,onMouseOut:this.numberButtonMouseUpAndMouseOutHandler,onMouseUp:this.numberButtonMouseUpAndMouseOutHandler,tabIndex:-1,type:"button"},e("calcite-icon",{icon:"chevron-down",scale:"s"})),u=e("div",{class:"number-button-wrapper"},s,h),d=e("div",{class:"prefix"},this.prefixText),p=e("div",{class:"suffix"},this.suffixText),b="number"===this.type?e("input",{"aria-label":m(this),autofocus:!!this.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint,inputMode:this.el.inputMode,key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,name:void 0,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildNumberElRef,tabIndex:this.disabled?-1:0,type:"text",value:this.localizedValue}):null,g="number"!==this.type?[e(this.childElType,{"aria-label":m(this),autofocus:!!this.autofocus||null,class:{"editing-enabled":this.editingEnabled,"inline-child":!!this.inlineEditableEl},defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint,inputMode:this.el.inputMode,max:this.maxString,maxLength:this.maxLength,min:this.minString,minLength:this.minLength,name:this.name,onBlur:this.inputBlurHandler,onFocus:this.inputFocusHandler,onInput:this.inputInputHandler,onKeyDown:this.inputKeyDownHandler,onKeyUp:this.inputKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildElRef,required:!!this.required||null,step:this.step,tabIndex:this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null,type:this.type,value:this.value}),this.isTextarea?e("div",{class:"resize-icon-wrapper"},e("calcite-icon",{icon:"chevron-down",scale:"s"})):null]:null;return e(n,{onClick:this.inputFocusHandler,onKeyDown:this.keyDownHandler},e("div",{class:{wrapper:!0,[c.rtl]:"rtl"===t},dir:t},"number"===this.type&&"horizontal"===this.numberButtonType?h:null,this.prefixText?d:null,e("div",{class:"element-wrapper"},b,g,this.isClearable?a:null,this.requestedIcon?r:null,this.loading?i:null),e("div",{class:"action-wrapper"},e("slot",{name:"action"})),"number"===this.type&&"vertical"===this.numberButtonType?u:null,this.suffixText?p:null,"number"===this.type&&"horizontal"===this.numberButtonType?s:null,e(f,{component:this})))}get el(){return a(this)}static get watchers(){return{disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],value:["valueWatcher"],icon:["updateRequestedIcon"],type:["updateRequestedIcon"]}}};I.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}:host([disabled]){pointer-events:none}:host([disabled]) .wrapper{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;flex:1 1 0%;display:flex;color:var(--calcite-ui-text-1);box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{left:0.5rem}:host([scale=s]) .calcite--rtl .icon{left:unset;right:0.5rem}:host([scale=m]) .icon{left:0.75rem}:host([scale=m]) .calcite--rtl .icon{left:unset;right:0.75rem}:host([scale=l]) .icon{left:1rem}:host([scale=l]) .calcite--rtl .icon{left:unset;right:1rem}:host([icon][scale=s]) input{padding-left:2rem}:host([icon][scale=s]) .calcite--rtl input{padding-right:2rem;padding-left:0.5rem}:host([icon][scale=m]) input{padding-left:2.5rem}:host([icon][scale=m]) .calcite--rtl input{padding-right:2.5rem;padding-left:0.5rem}:host([icon][scale=l]) input{padding-left:3rem}:host([icon][scale=l]) .calcite--rtl input{padding-right:3rem;padding-left:0.5rem}.element-wrapper{display:inline-flex;align-items:center;flex:1 1 0%;position:relative;order:3}.icon{display:block;position:absolute;pointer-events:none;z-index:10;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:flex;align-self:stretch;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;order:4;margin:0}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.calcite--rtl .clear-button{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.loader{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.action-wrapper{display:flex;order:7}.prefix,.suffix{display:flex;align-items:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;user-select:none;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.prefix{order:2;border-right-width:0}.suffix{order:5;border-left-width:0}.calcite--rtl .prefix{border-right-width:1px;border-left-width:0}.calcite--rtl .suffix{border-left-width:1px;border-right-width:0}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:left}:host([alignment=start]) .calcite--rtl textarea,:host([alignment=start]) .calcite--rtl input{text-align:right}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:right}:host([alignment=end]) .calcite--rtl textarea,:host([alignment=end]) .calcite--rtl input{text-align:left}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{box-sizing:border-box;display:flex;flex-direction:column;pointer-events:none;order:6;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{min-height:100%;max-height:100%;order:1;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=up]{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down],:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]{border-top-width:0}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;display:flex;align-self:center;align-items:center;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s;margin:0}.number-button-item calcite-icon{pointer-events:none;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}:host([number-button-type=vertical]) .calcite--rtl .number-button-item{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.wrapper{display:flex;flex-direction:row;align-items:center;position:relative}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.resize-icon-wrapper{display:none}}.resize-icon-wrapper{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;transform:rotate(-45deg)}.calcite--rtl textarea::-webkit-resizer{right:unset;left:0}.calcite--rtl .resize-icon-wrapper{left:2px;right:unset}.calcite--rtl .resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0}:host(.border-t-color-1) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s;background-color:transparent}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:flex;cursor:pointer;border-color:transparent;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";let _=class{constructor(i){t(this,i),this.type="determinate",this.value=0,this.reversed=!1}render(){return e("div",{"aria-label":this.label||this.text,"aria-valuemax":1,"aria-valuemin":0,"aria-valuenow":this.value,role:"progressbar"},e("div",{class:"track"},e("div",{class:{bar:!0,indeterminate:"indeterminate"===this.type,reversed:this.reversed},style:"determinate"===this.type?{width:100*this.value+"%"}:{}})),this.text?e("div",{class:"text"},this.text):null)}get el(){return a(this)}};_.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{position:relative;display:block;width:100%}.track,.bar{position:absolute;top:0;height:2px}.track{z-index:0;width:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{background-color:var(--calcite-ui-brand);z-index:0}.indeterminate{width:20%;animation:looping-progress-bar-ani 2200ms linear infinite}.reversed{animation-direction:reverse}.text{padding-top:1rem;padding-bottom:0;padding-left:0;padding-right:0;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium)}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%, 0, 0)}50%{width:40%}100%{transform:translate3d(600%, 0, 0)}}";export{I as calcite_input,_ as calcite_progress}
@@ -7,9 +7,8 @@ import{a as n}from"./p-2e1cd889.js";import{l as t}from"./p-c34e0641.js";
7
7
  /*!
8
8
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
9
9
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
10
- */function o(n=""){if(t.indexOf(n)>-1){return n}else{const o=n.split("-")[0];return t.indexOf(o)>-1?o:"en"}}const s={};const e={};async function r(t){const c=o(t);if(s[c]){return s[c]}if(!e[c]){e[c]=fetch(n(`./assets/calcite-date-picker/nls/${c}.json`)).then((n=>n.json())).catch((()=>{console.error(`Translations for "${c}" not found or invalid, falling back to english`);return r("en")}))}const a=await e[c];s[c]=a;return a}
10
+ */const o={},s={};async function e(r){const a=function(n=""){if(t.indexOf(n)>-1)return n;{const o=n.split("-")[0];return t.indexOf(o)>-1?o:"en"}}(r);if(o[a])return o[a];s[a]||(s[a]=fetch(n(`./assets/calcite-date-picker/nls/${a}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${a}" not found or invalid, falling back to english`),e("en")))));const c=await s[a];return o[a]=c,c}
11
11
  /*!
12
12
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
13
13
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
14
- */const c=2;const a={nextMonth:"Next month",prevMonth:"Previous month"};export{c as H,a as T,r as g};
15
- //# sourceMappingURL=p-fbdf3e06.js.map
14
+ */const r=2,a={nextMonth:"Next month",prevMonth:"Previous month"};export{r as H,a as T,e as g}