@postnord/pn-marketweb-components 2.3.12 → 2.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (945) hide show
  1. package/cjs/{index-e3e27c79.js → index-4199ff85.js} +828 -278
  2. package/cjs/{index-28bbc937.js → index-95e5b7f9.js} +1 -1
  3. package/cjs/loader.cjs.js +3 -2
  4. package/cjs/pn-animated-tile.cjs.entry.js +5 -5
  5. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
  6. package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
  7. package/cjs/pn-breakpoints.cjs.entry.js +2 -2
  8. package/cjs/pn-chart.cjs.entry.js +3 -2
  9. package/cjs/pn-charts-card.cjs.entry.js +10 -3
  10. package/cjs/pn-choice-button.cjs.entry.js +5 -2
  11. package/cjs/pn-customernumber-selector-option.cjs.entry.js +2 -2
  12. package/cjs/pn-customernumber-selector.cjs.entry.js +2 -2
  13. package/cjs/pn-filter-checkbox.cjs.entry.js +5 -2
  14. package/cjs/pn-find-price-result.cjs.entry.js +7 -4
  15. package/cjs/{pn-find-price-store-a91ce3f6.js → pn-find-price-store-e0d1e412.js} +1 -1
  16. package/cjs/pn-find-price.cjs.entry.js +4 -4
  17. package/cjs/pn-find-service-and-price-result.cjs.entry.js +4 -4
  18. package/cjs/{pn-find-service-and-price-store-16a7936c.js → pn-find-service-and-price-store-6e26630d.js} +1 -1
  19. package/cjs/pn-find-service-and-price.cjs.entry.js +4 -4
  20. package/cjs/pn-language-selector_9.cjs.entry.js +18 -42
  21. package/cjs/pn-line-shape.cjs.entry.js +2 -2
  22. package/cjs/pn-mainnav-link.cjs.entry.js +4 -10
  23. package/cjs/{pn-mainnav-store-61a75ea0.js → pn-mainnav-store-8c337865.js} +1 -1
  24. package/cjs/pn-market-web-components.cjs.js +6 -2
  25. package/cjs/pn-marketweb-input.cjs.entry.js +2 -7
  26. package/cjs/pn-marketweb-search.cjs.entry.js +2 -6
  27. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +10 -15
  28. package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +12 -10
  29. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
  30. package/cjs/{pn-marketweb-siteheader-store-e29ad918.js → pn-marketweb-siteheader-store-5ced6902.js} +1 -1
  31. package/cjs/pn-marketweb-siteheader.cjs.entry.js +10 -38
  32. package/cjs/pn-multi-formfield.cjs.entry.js +10 -10
  33. package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
  34. package/cjs/pn-pex-pricefinder.cjs.entry.js +2 -5
  35. package/cjs/pn-product-card_3.cjs.entry.js +15 -4
  36. package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
  37. package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
  38. package/cjs/pn-product-tile-info_2.cjs.entry.js +10 -3
  39. package/cjs/pn-product-tile.cjs.entry.js +2 -2
  40. package/cjs/pn-profile-modal-customernumber.cjs.entry.js +2 -2
  41. package/cjs/pn-profile-modal-profile.cjs.entry.js +4 -4
  42. package/cjs/{pn-profile-modal-store-6117e304.js → pn-profile-modal-store-947b08ae.js} +1 -1
  43. package/cjs/pn-profile-modal-type.cjs.entry.js +4 -4
  44. package/cjs/pn-profile-modal.cjs.entry.js +4 -4
  45. package/cjs/pn-profile-selector-option.cjs.entry.js +2 -2
  46. package/cjs/pn-profile-selector.cjs.entry.js +5 -5
  47. package/cjs/pn-proxio-findprice-result.cjs.entry.js +5 -2
  48. package/cjs/pn-proxio-findprice.cjs.entry.js +4 -4
  49. package/cjs/pn-proxio-pricegroup.cjs.entry.js +3 -5
  50. package/cjs/pn-proxio-productcard_4.cjs.entry.js +12 -5
  51. package/cjs/pn-quick-cta.cjs.entry.js +2 -2
  52. package/cjs/pn-quote-card.cjs.entry.js +2 -3
  53. package/cjs/pn-scroll.cjs.entry.js +2 -2
  54. package/cjs/pn-share-item.cjs.entry.js +2 -2
  55. package/cjs/pn-share.cjs.entry.js +3 -2
  56. package/cjs/pn-sidenav-level.cjs.entry.js +4 -4
  57. package/cjs/pn-sidenav-link.cjs.entry.js +4 -12
  58. package/cjs/{pn-sidenav-store-d9bd9e00.js → pn-sidenav-store-d2389306.js} +1 -1
  59. package/cjs/pn-sidenav-togglebutton.cjs.entry.js +4 -5
  60. package/cjs/pn-sidenav.cjs.entry.js +4 -6
  61. package/cjs/pn-site-footer_2.cjs.entry.js +3 -4
  62. package/cjs/pn-spotlight.cjs.entry.js +2 -2
  63. package/cjs/pn-stats-info-data.cjs.entry.js +8 -8
  64. package/cjs/pn-stats-info.cjs.entry.js +3 -2
  65. package/cjs/pn-teaser-card.cjs.entry.js +3 -4
  66. package/cjs/pn-titletag.cjs.entry.js +2 -4
  67. package/collection/collection-manifest.json +2 -2
  68. package/collection/components/animation/pn-animated-tile/pn-animated-tile.js +28 -26
  69. package/collection/components/animation/pn-scroll/pn-scroll.js +92 -86
  70. package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.js +12 -11
  71. package/collection/components/cards/pn-quote-card/pn-quote-card.js +68 -79
  72. package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +109 -113
  73. package/collection/components/charts/pn-chart/pn-chart.js +83 -74
  74. package/collection/components/charts/pn-charts-card/pn-charts-card.js +162 -169
  75. package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.js +133 -128
  76. package/collection/components/cta/pn-quick-cta/pn-quick-cta.js +51 -49
  77. package/collection/components/cta/pn-share/pn-share-item.js +51 -50
  78. package/collection/components/cta/pn-share/pn-share.js +65 -60
  79. package/collection/components/cta/pn-spotlight/pn-spotlight.js +73 -71
  80. package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.js +120 -115
  81. package/collection/components/data-visualization/pn-stats-info/pn-stats-info.js +82 -78
  82. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.js +93 -87
  83. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js +193 -195
  84. package/collection/components/input/pn-choice-button/pn-choice-button.js +145 -137
  85. package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.js +128 -122
  86. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +347 -355
  87. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +258 -260
  88. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter-types.js +0 -3
  89. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +201 -221
  90. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +34 -29
  91. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js +101 -101
  92. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js +110 -105
  93. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js +51 -45
  94. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +174 -181
  95. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +259 -256
  96. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +170 -172
  97. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +84 -75
  98. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +509 -560
  99. package/collection/components/layout-components/pn-multi-formfield/pn-multi-formfield.js +105 -99
  100. package/collection/components/minor/pn-titletag/pn-titletag.js +51 -49
  101. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +119 -123
  102. package/collection/components/navigation/pn-language-selector/pn-language-selector.js +71 -64
  103. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +58 -58
  104. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +92 -97
  105. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +39 -33
  106. package/collection/components/navigation/pn-mainnav/pn-mainnav.js +182 -183
  107. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +29 -22
  108. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +128 -134
  109. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +39 -34
  110. package/collection/components/navigation/pn-sidenav/pn-sidenav.js +71 -66
  111. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +34 -29
  112. package/collection/components/navigation/pn-site-footer/pn-site-footer.js +68 -75
  113. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +85 -89
  114. package/collection/components/navigation/pn-site-selector/pn-site-selector.js +73 -73
  115. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +68 -67
  116. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +90 -90
  117. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +85 -79
  118. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +182 -188
  119. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +91 -84
  120. package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +116 -115
  121. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +68 -67
  122. package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +78 -76
  123. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +48 -42
  124. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +163 -179
  125. package/collection/components/widgets/pn-find-price/pn-find-price.js +99 -113
  126. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +66 -67
  127. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +133 -148
  128. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +87 -102
  129. package/collection/components/widgets/pn-product-card/pn-product-card-info.js +92 -94
  130. package/collection/components/widgets/pn-product-card/pn-product-card-price.js +138 -131
  131. package/collection/components/widgets/pn-product-card/pn-product-card.js +12 -21
  132. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +101 -108
  133. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +137 -140
  134. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +70 -62
  135. package/collection/components/widgets/pn-product-tile/pn-product-tile-price.js +87 -83
  136. package/collection/components/widgets/pn-product-tile/pn-product-tile.js +12 -16
  137. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +205 -206
  138. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +134 -152
  139. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +130 -145
  140. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +87 -82
  141. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +55 -57
  142. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js +85 -81
  143. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +12 -20
  144. package/components/MarketWebContextService.js +318 -0
  145. package/components/_commonjsHelpers.js +32 -0
  146. package/components/convert.js +1823 -0
  147. package/components/data.js +37 -0
  148. package/components/index.d.ts +105 -0
  149. package/components/index.js +76 -0
  150. package/components/index2.js +59 -0
  151. package/components/index3.js +187 -0
  152. package/components/pn-animated-tile.d.ts +11 -0
  153. package/components/pn-animated-tile.js +52 -0
  154. package/components/pn-bonus-progressbar-level.d.ts +11 -0
  155. package/components/pn-bonus-progressbar-level.js +65 -0
  156. package/components/pn-bonus-progressbar.d.ts +11 -0
  157. package/components/pn-bonus-progressbar.js +128 -0
  158. package/components/pn-breakpoints.d.ts +11 -0
  159. package/components/pn-breakpoints.js +45 -0
  160. package/components/pn-chart.d.ts +11 -0
  161. package/components/pn-chart.js +22151 -0
  162. package/components/pn-charts-card.d.ts +11 -0
  163. package/components/pn-charts-card.js +57 -0
  164. package/components/pn-choice-button.d.ts +11 -0
  165. package/components/pn-choice-button.js +6 -0
  166. package/components/pn-choice-button2.js +61 -0
  167. package/components/pn-customernumber-selector-option.d.ts +11 -0
  168. package/components/pn-customernumber-selector-option.js +41 -0
  169. package/components/pn-customernumber-selector.d.ts +11 -0
  170. package/components/pn-customernumber-selector.js +77 -0
  171. package/components/pn-filter-checkbox.d.ts +11 -0
  172. package/components/pn-filter-checkbox.js +93 -0
  173. package/components/pn-find-price-result.d.ts +11 -0
  174. package/components/pn-find-price-result.js +6 -0
  175. package/components/pn-find-price-result2.js +192 -0
  176. package/components/pn-find-price.d.ts +11 -0
  177. package/components/pn-find-price.js +281 -0
  178. package/components/pn-find-service-and-price-result.d.ts +11 -0
  179. package/components/pn-find-service-and-price-result.js +6 -0
  180. package/components/pn-find-service-and-price-result2.js +96 -0
  181. package/components/pn-find-service-and-price.d.ts +11 -0
  182. package/components/pn-find-service-and-price.js +314 -0
  183. package/components/pn-language-selector-option.d.ts +11 -0
  184. package/components/pn-language-selector-option.js +6 -0
  185. package/components/pn-language-selector-option2.js +51 -0
  186. package/components/pn-language-selector.d.ts +11 -0
  187. package/components/pn-language-selector.js +6 -0
  188. package/components/pn-language-selector2.js +142 -0
  189. package/components/pn-line-shape.d.ts +11 -0
  190. package/components/pn-line-shape.js +35 -0
  191. package/components/pn-mainnav-level.d.ts +11 -0
  192. package/components/pn-mainnav-level.js +6 -0
  193. package/components/pn-mainnav-level2.js +117 -0
  194. package/components/pn-mainnav-link.d.ts +11 -0
  195. package/components/pn-mainnav-link.js +6 -0
  196. package/components/pn-mainnav-link2.js +57 -0
  197. package/components/pn-mainnav-list.d.ts +11 -0
  198. package/components/pn-mainnav-list.js +6 -0
  199. package/components/pn-mainnav-list2.js +39 -0
  200. package/{esm/pn-mainnav-store-28571e54.js → components/pn-mainnav-store.js} +1 -1
  201. package/components/pn-mainnav.d.ts +11 -0
  202. package/components/pn-mainnav.js +6 -0
  203. package/components/pn-mainnav2.js +120 -0
  204. package/components/pn-marketweb-input.d.ts +11 -0
  205. package/components/pn-marketweb-input.js +6 -0
  206. package/components/pn-marketweb-input2.js +102 -0
  207. package/components/pn-marketweb-search.d.ts +11 -0
  208. package/components/pn-marketweb-search.js +129 -0
  209. package/components/pn-marketweb-sitefooter.d.ts +11 -0
  210. package/components/pn-marketweb-sitefooter.js +335 -0
  211. package/components/pn-marketweb-siteheader-login-button.d.ts +11 -0
  212. package/components/pn-marketweb-siteheader-login-button.js +6 -0
  213. package/components/pn-marketweb-siteheader-login-button2.js +79 -0
  214. package/components/pn-marketweb-siteheader-login-linklist.d.ts +11 -0
  215. package/components/pn-marketweb-siteheader-login-linklist.js +6 -0
  216. package/components/pn-marketweb-siteheader-login-linklist2.js +105 -0
  217. package/components/pn-marketweb-siteheader-login-links.d.ts +11 -0
  218. package/components/pn-marketweb-siteheader-login-links.js +6 -0
  219. package/components/pn-marketweb-siteheader-login-links2.js +116 -0
  220. package/components/pn-marketweb-siteheader-login-mypage-button.d.ts +11 -0
  221. package/components/pn-marketweb-siteheader-login-mypage-button.js +6 -0
  222. package/components/pn-marketweb-siteheader-login-mypage-button2.js +36 -0
  223. package/components/pn-marketweb-siteheader-login-profileselection.d.ts +11 -0
  224. package/components/pn-marketweb-siteheader-login-profileselection.js +6 -0
  225. package/components/pn-marketweb-siteheader-login-profileselection2.js +244 -0
  226. package/components/pn-marketweb-siteheader-login.d.ts +11 -0
  227. package/components/pn-marketweb-siteheader-login.js +6 -0
  228. package/components/pn-marketweb-siteheader-login2.js +589 -0
  229. package/components/pn-marketweb-siteheader-search.d.ts +11 -0
  230. package/components/pn-marketweb-siteheader-search.js +6 -0
  231. package/components/pn-marketweb-siteheader-search2.js +131 -0
  232. package/components/pn-marketweb-siteheader-unified-login.d.ts +11 -0
  233. package/components/pn-marketweb-siteheader-unified-login.js +6 -0
  234. package/components/pn-marketweb-siteheader-unified-login2.js +52 -0
  235. package/components/pn-marketweb-siteheader.d.ts +11 -0
  236. package/components/pn-marketweb-siteheader.js +560 -0
  237. package/components/pn-multi-formfield.d.ts +11 -0
  238. package/components/pn-multi-formfield.js +277 -0
  239. package/components/pn-parcel-tracker.d.ts +11 -0
  240. package/components/pn-parcel-tracker.js +58 -0
  241. package/components/pn-pex-pricefinder.d.ts +11 -0
  242. package/components/pn-pex-pricefinder.js +156 -0
  243. package/components/pn-product-card-info.d.ts +11 -0
  244. package/components/pn-product-card-info.js +6 -0
  245. package/components/pn-product-card-info2.js +45 -0
  246. package/components/pn-product-card-price.d.ts +11 -0
  247. package/components/pn-product-card-price.js +6 -0
  248. package/components/pn-product-card-price2.js +48 -0
  249. package/components/pn-product-card.d.ts +11 -0
  250. package/components/pn-product-card.js +6 -0
  251. package/components/pn-product-card2.js +30 -0
  252. package/components/pn-product-pricelist-result.d.ts +11 -0
  253. package/components/pn-product-pricelist-result.js +130 -0
  254. package/components/pn-product-pricelist.d.ts +11 -0
  255. package/components/pn-product-pricelist.js +259 -0
  256. package/components/pn-product-tile-info.d.ts +11 -0
  257. package/components/pn-product-tile-info.js +6 -0
  258. package/components/pn-product-tile-info2.js +38 -0
  259. package/components/pn-product-tile-price.d.ts +11 -0
  260. package/components/pn-product-tile-price.js +6 -0
  261. package/components/pn-product-tile-price2.js +42 -0
  262. package/components/pn-product-tile.d.ts +11 -0
  263. package/components/pn-product-tile.js +33 -0
  264. package/components/pn-profile-modal-customernumber.d.ts +11 -0
  265. package/components/pn-profile-modal-customernumber.js +46 -0
  266. package/components/pn-profile-modal-profile.d.ts +11 -0
  267. package/components/pn-profile-modal-profile.js +71 -0
  268. package/{esm/pn-profile-modal-store-ae9e0d5a.js → components/pn-profile-modal-store.js} +1 -1
  269. package/components/pn-profile-modal-type.d.ts +11 -0
  270. package/components/pn-profile-modal-type.js +56 -0
  271. package/components/pn-profile-modal.d.ts +11 -0
  272. package/components/pn-profile-modal.js +92 -0
  273. package/components/pn-profile-selector-option.d.ts +11 -0
  274. package/components/pn-profile-selector-option.js +41 -0
  275. package/components/pn-profile-selector.d.ts +11 -0
  276. package/components/pn-profile-selector.js +79 -0
  277. package/components/pn-proxio-findprice-result.d.ts +11 -0
  278. package/components/pn-proxio-findprice-result.js +6 -0
  279. package/components/pn-proxio-findprice-result2.js +124 -0
  280. package/components/pn-proxio-findprice.d.ts +11 -0
  281. package/components/pn-proxio-findprice.js +454 -0
  282. package/components/pn-proxio-pricegroup.d.ts +11 -0
  283. package/components/pn-proxio-pricegroup.js +194 -0
  284. package/components/pn-proxio-productcard-description.d.ts +11 -0
  285. package/components/pn-proxio-productcard-description.js +6 -0
  286. package/components/pn-proxio-productcard-description2.js +43 -0
  287. package/components/pn-proxio-productcard-information.d.ts +11 -0
  288. package/components/pn-proxio-productcard-information.js +6 -0
  289. package/components/pn-proxio-productcard-information2.js +37 -0
  290. package/components/pn-proxio-productcard-pricelink.d.ts +11 -0
  291. package/components/pn-proxio-productcard-pricelink.js +6 -0
  292. package/components/pn-proxio-productcard-pricelink2.js +40 -0
  293. package/components/pn-proxio-productcard.d.ts +11 -0
  294. package/components/pn-proxio-productcard.js +6 -0
  295. package/components/pn-proxio-productcard2.js +30 -0
  296. package/components/pn-quick-cta.d.ts +11 -0
  297. package/components/pn-quick-cta.js +39 -0
  298. package/components/pn-quote-card.d.ts +11 -0
  299. package/components/pn-quote-card.js +41 -0
  300. package/components/pn-scroll.d.ts +11 -0
  301. package/components/pn-scroll.js +79 -0
  302. package/components/pn-share-item.d.ts +11 -0
  303. package/components/pn-share-item.js +6 -0
  304. package/components/pn-share-item2.js +36 -0
  305. package/components/pn-share.d.ts +11 -0
  306. package/components/pn-share.js +89 -0
  307. package/components/pn-sidenav-level.d.ts +11 -0
  308. package/components/pn-sidenav-level.js +84 -0
  309. package/components/pn-sidenav-link.d.ts +11 -0
  310. package/components/pn-sidenav-link.js +87 -0
  311. package/{esm/pn-sidenav-store-50b186d6.js → components/pn-sidenav-store.js} +1 -1
  312. package/components/pn-sidenav-togglebutton.d.ts +11 -0
  313. package/components/pn-sidenav-togglebutton.js +45 -0
  314. package/components/pn-sidenav.d.ts +11 -0
  315. package/components/pn-sidenav.js +95 -0
  316. package/components/pn-site-footer-col.d.ts +11 -0
  317. package/components/pn-site-footer-col.js +6 -0
  318. package/components/pn-site-footer-col2.js +33 -0
  319. package/components/pn-site-footer.d.ts +11 -0
  320. package/components/pn-site-footer.js +6 -0
  321. package/components/pn-site-footer2.js +38 -0
  322. package/components/pn-site-selector-item.d.ts +11 -0
  323. package/components/pn-site-selector-item.js +6 -0
  324. package/components/pn-site-selector-item2.js +39 -0
  325. package/components/pn-site-selector.d.ts +11 -0
  326. package/components/pn-site-selector.js +6 -0
  327. package/components/pn-site-selector2.js +69 -0
  328. package/components/pn-spotlight.d.ts +11 -0
  329. package/components/pn-spotlight.js +47 -0
  330. package/components/pn-stats-info-data.d.ts +11 -0
  331. package/components/pn-stats-info-data.js +6 -0
  332. package/components/pn-stats-info-data2.js +93 -0
  333. package/components/pn-stats-info.d.ts +11 -0
  334. package/components/pn-stats-info.js +59 -0
  335. package/components/pn-teaser-card.d.ts +11 -0
  336. package/components/pn-teaser-card.js +56 -0
  337. package/components/pn-titletag.d.ts +11 -0
  338. package/components/pn-titletag.js +6 -0
  339. package/components/pn-titletag2.js +36 -0
  340. package/components/translations.js +19 -0
  341. package/components/v4.js +66 -0
  342. package/esm/{index-7b21ecff.js → index-7f77b0ba.js} +1 -1
  343. package/esm/{index-5397620b.js → index-c118284d.js} +828 -279
  344. package/esm/loader.js +3 -2
  345. package/esm/pn-animated-tile.entry.js +5 -5
  346. package/esm/pn-bonus-progressbar-level.entry.js +2 -2
  347. package/esm/pn-bonus-progressbar.entry.js +2 -2
  348. package/esm/pn-breakpoints.entry.js +2 -2
  349. package/esm/pn-chart.entry.js +3 -2
  350. package/esm/pn-charts-card.entry.js +10 -3
  351. package/esm/pn-choice-button.entry.js +5 -2
  352. package/esm/pn-customernumber-selector-option.entry.js +2 -2
  353. package/esm/pn-customernumber-selector.entry.js +2 -2
  354. package/esm/pn-filter-checkbox.entry.js +5 -2
  355. package/esm/pn-find-price-result.entry.js +7 -4
  356. package/esm/{pn-find-price-store-bde5071d.js → pn-find-price-store-e13b6651.js} +1 -1
  357. package/esm/pn-find-price.entry.js +4 -4
  358. package/esm/pn-find-service-and-price-result.entry.js +4 -4
  359. package/esm/{pn-find-service-and-price-store-65df46a0.js → pn-find-service-and-price-store-f09ca219.js} +1 -1
  360. package/esm/pn-find-service-and-price.entry.js +4 -4
  361. package/esm/pn-language-selector_9.entry.js +18 -42
  362. package/esm/pn-line-shape.entry.js +2 -2
  363. package/esm/pn-mainnav-link.entry.js +4 -10
  364. package/esm/pn-mainnav-store-5d91f523.js +17 -0
  365. package/esm/pn-market-web-components.js +3 -2
  366. package/esm/pn-marketweb-input.entry.js +2 -7
  367. package/esm/pn-marketweb-search.entry.js +2 -6
  368. package/esm/pn-marketweb-sitefooter.entry.js +10 -15
  369. package/esm/pn-marketweb-siteheader-login-button_5.entry.js +12 -10
  370. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
  371. package/esm/{pn-marketweb-siteheader-store-cd0a1dab.js → pn-marketweb-siteheader-store-9df5290d.js} +1 -1
  372. package/esm/pn-marketweb-siteheader.entry.js +10 -38
  373. package/esm/pn-multi-formfield.entry.js +10 -10
  374. package/esm/pn-parcel-tracker.entry.js +2 -2
  375. package/esm/pn-pex-pricefinder.entry.js +2 -5
  376. package/esm/pn-product-card_3.entry.js +15 -4
  377. package/esm/pn-product-pricelist-result.entry.js +3 -3
  378. package/esm/pn-product-pricelist.entry.js +4 -4
  379. package/esm/pn-product-tile-info_2.entry.js +10 -3
  380. package/esm/pn-product-tile.entry.js +2 -2
  381. package/esm/pn-profile-modal-customernumber.entry.js +2 -2
  382. package/esm/pn-profile-modal-profile.entry.js +4 -4
  383. package/esm/pn-profile-modal-store-81f53310.js +15 -0
  384. package/esm/pn-profile-modal-type.entry.js +4 -4
  385. package/esm/pn-profile-modal.entry.js +4 -4
  386. package/esm/pn-profile-selector-option.entry.js +2 -2
  387. package/esm/pn-profile-selector.entry.js +5 -5
  388. package/esm/pn-proxio-findprice-result.entry.js +5 -2
  389. package/esm/pn-proxio-findprice.entry.js +4 -4
  390. package/esm/pn-proxio-pricegroup.entry.js +3 -5
  391. package/esm/pn-proxio-productcard_4.entry.js +12 -5
  392. package/esm/pn-quick-cta.entry.js +2 -2
  393. package/esm/pn-quote-card.entry.js +2 -3
  394. package/esm/pn-scroll.entry.js +2 -2
  395. package/esm/pn-share-item.entry.js +2 -2
  396. package/esm/pn-share.entry.js +3 -2
  397. package/esm/pn-sidenav-level.entry.js +4 -4
  398. package/esm/pn-sidenav-link.entry.js +4 -12
  399. package/esm/pn-sidenav-store-94be19c8.js +14 -0
  400. package/esm/pn-sidenav-togglebutton.entry.js +4 -5
  401. package/esm/pn-sidenav.entry.js +4 -6
  402. package/esm/pn-site-footer_2.entry.js +3 -4
  403. package/esm/pn-spotlight.entry.js +2 -2
  404. package/esm/pn-stats-info-data.entry.js +8 -8
  405. package/esm/pn-stats-info.entry.js +3 -2
  406. package/esm/pn-teaser-card.entry.js +3 -4
  407. package/esm/pn-titletag.entry.js +2 -4
  408. package/esm/polyfills/css-shim.js +1 -1
  409. package/esm-es5/MarketWebContextService-3ed3fe80.js +1 -1
  410. package/esm-es5/convert-f6377d13.js +1 -1
  411. package/esm-es5/{index-7b21ecff.js → index-7f77b0ba.js} +1 -1
  412. package/esm-es5/index-c118284d.js +1 -0
  413. package/esm-es5/loader.js +1 -1
  414. package/esm-es5/pn-animated-tile.entry.js +1 -1
  415. package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
  416. package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
  417. package/esm-es5/pn-breakpoints.entry.js +1 -1
  418. package/esm-es5/pn-chart.entry.js +2 -2
  419. package/esm-es5/pn-charts-card.entry.js +1 -1
  420. package/esm-es5/pn-choice-button.entry.js +1 -1
  421. package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
  422. package/esm-es5/pn-customernumber-selector.entry.js +1 -1
  423. package/esm-es5/pn-filter-checkbox.entry.js +1 -1
  424. package/esm-es5/pn-find-price-result.entry.js +1 -1
  425. package/esm-es5/{pn-find-price-store-bde5071d.js → pn-find-price-store-e13b6651.js} +1 -1
  426. package/esm-es5/pn-find-price.entry.js +1 -1
  427. package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
  428. package/esm-es5/{pn-find-service-and-price-store-65df46a0.js → pn-find-service-and-price-store-f09ca219.js} +1 -1
  429. package/esm-es5/pn-find-service-and-price.entry.js +1 -1
  430. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  431. package/esm-es5/pn-line-shape.entry.js +1 -1
  432. package/esm-es5/pn-mainnav-link.entry.js +1 -1
  433. package/esm-es5/{pn-mainnav-store-28571e54.js → pn-mainnav-store-5d91f523.js} +1 -1
  434. package/esm-es5/pn-market-web-components.js +1 -1
  435. package/esm-es5/pn-marketweb-input.entry.js +1 -1
  436. package/esm-es5/pn-marketweb-search.entry.js +1 -1
  437. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  438. package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
  439. package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
  440. package/esm-es5/pn-marketweb-siteheader-store-9df5290d.js +1 -0
  441. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  442. package/esm-es5/pn-multi-formfield.entry.js +1 -1
  443. package/esm-es5/pn-parcel-tracker.entry.js +1 -1
  444. package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
  445. package/esm-es5/pn-product-card_3.entry.js +1 -1
  446. package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
  447. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  448. package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
  449. package/esm-es5/pn-product-tile.entry.js +1 -1
  450. package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
  451. package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
  452. package/esm-es5/{pn-profile-modal-store-ae9e0d5a.js → pn-profile-modal-store-81f53310.js} +1 -1
  453. package/esm-es5/pn-profile-modal-type.entry.js +1 -1
  454. package/esm-es5/pn-profile-modal.entry.js +1 -1
  455. package/esm-es5/pn-profile-selector-option.entry.js +1 -1
  456. package/esm-es5/pn-profile-selector.entry.js +1 -1
  457. package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
  458. package/esm-es5/pn-proxio-findprice.entry.js +1 -1
  459. package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
  460. package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
  461. package/esm-es5/pn-quick-cta.entry.js +1 -1
  462. package/esm-es5/pn-quote-card.entry.js +1 -1
  463. package/esm-es5/pn-scroll.entry.js +1 -1
  464. package/esm-es5/pn-share-item.entry.js +1 -1
  465. package/esm-es5/pn-share.entry.js +1 -1
  466. package/esm-es5/pn-sidenav-level.entry.js +1 -1
  467. package/esm-es5/pn-sidenav-link.entry.js +1 -1
  468. package/esm-es5/{pn-sidenav-store-50b186d6.js → pn-sidenav-store-94be19c8.js} +1 -1
  469. package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
  470. package/esm-es5/pn-sidenav.entry.js +1 -1
  471. package/esm-es5/pn-site-footer_2.entry.js +1 -1
  472. package/esm-es5/pn-spotlight.entry.js +1 -1
  473. package/esm-es5/pn-stats-info-data.entry.js +1 -1
  474. package/esm-es5/pn-stats-info.entry.js +1 -1
  475. package/esm-es5/pn-teaser-card.entry.js +1 -1
  476. package/esm-es5/pn-titletag.entry.js +1 -1
  477. package/loader/cdn.js +3 -0
  478. package/loader/index.cjs.js +3 -0
  479. package/loader/index.d.ts +21 -0
  480. package/loader/index.es2017.js +3 -0
  481. package/{umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js → loader/index.js} +4 -1
  482. package/loader/package.json +11 -0
  483. package/package.json +7 -5
  484. package/pn-market-web-components/{p-3d05a6c1.system.entry.js → p-0159804c.system.entry.js} +1 -1
  485. package/pn-market-web-components/{p-13baed17.system.entry.js → p-02632961.system.entry.js} +1 -1
  486. package/pn-market-web-components/p-0f1115aa.entry.js +1 -0
  487. package/pn-market-web-components/p-0fbcacf3.system.entry.js +1 -0
  488. package/pn-market-web-components/p-12f461db.entry.js +1 -0
  489. package/pn-market-web-components/{p-3738a2df.system.js → p-13d2d138.system.js} +1 -1
  490. package/pn-market-web-components/p-14d288d5.entry.js +1 -0
  491. package/pn-market-web-components/p-1545fb34.entry.js +1 -0
  492. package/pn-market-web-components/p-156fedd7.entry.js +1 -0
  493. package/pn-market-web-components/p-15e680a8.entry.js +1 -0
  494. package/pn-market-web-components/p-1646c170.system.entry.js +1 -0
  495. package/pn-market-web-components/p-17fb8d9e.entry.js +1 -0
  496. package/pn-market-web-components/p-186266ae.system.entry.js +1 -0
  497. package/pn-market-web-components/p-18abec91.entry.js +1 -0
  498. package/pn-market-web-components/p-1a064ded.entry.js +1 -0
  499. package/pn-market-web-components/p-1a9b2a0e.system.entry.js +1 -0
  500. package/pn-market-web-components/p-1c382898.entry.js +1 -0
  501. package/pn-market-web-components/{p-fc1083d2.system.entry.js → p-1d50340b.system.entry.js} +1 -1
  502. package/pn-market-web-components/p-1d9de480.system.entry.js +1 -0
  503. package/pn-market-web-components/{p-1ce871c5.system.entry.js → p-1fb4eae4.system.entry.js} +1 -1
  504. package/pn-market-web-components/{p-80dce81e.system.entry.js → p-2145d5e0.system.entry.js} +1 -1
  505. package/pn-market-web-components/{p-a1cf4618.system.entry.js → p-2844f3b2.system.entry.js} +1 -1
  506. package/pn-market-web-components/{p-8e890ab1.system.entry.js → p-29d0ec91.system.entry.js} +1 -1
  507. package/pn-market-web-components/p-2a5cd298.entry.js +1 -0
  508. package/pn-market-web-components/{p-c9fb0f01.system.entry.js → p-2e507907.system.entry.js} +2 -2
  509. package/pn-market-web-components/p-31b703f9.entry.js +1 -0
  510. package/pn-market-web-components/p-34c0b146.entry.js +1 -0
  511. package/pn-market-web-components/p-368dbf3c.system.entry.js +1 -0
  512. package/pn-market-web-components/p-37d26cef.entry.js +1 -0
  513. package/pn-market-web-components/p-38f135fd.entry.js +1 -0
  514. package/pn-market-web-components/{p-a5f75560.system.js → p-396b254a.system.js} +1 -1
  515. package/pn-market-web-components/{p-94958580.system.js → p-3a450371.system.js} +1 -1
  516. package/pn-market-web-components/p-3d8925bd.entry.js +1 -0
  517. package/pn-market-web-components/p-3d89445b.entry.js +1 -0
  518. package/pn-market-web-components/{p-add7d76c.system.js → p-441249d9.system.js} +1 -1
  519. package/pn-market-web-components/p-44c05fba.entry.js +1 -0
  520. package/pn-market-web-components/p-44f58f15.js +1 -0
  521. package/pn-market-web-components/p-47d717a3.entry.js +1 -0
  522. package/pn-market-web-components/p-48c74c53.entry.js +1 -0
  523. package/pn-market-web-components/p-49f60496.entry.js +1 -0
  524. package/pn-market-web-components/p-4b2e76e9.entry.js +1 -0
  525. package/pn-market-web-components/{p-7079df88.system.entry.js → p-4d561de4.system.entry.js} +1 -1
  526. package/pn-market-web-components/p-4ef54288.entry.js +1 -0
  527. package/pn-market-web-components/p-507f8886.entry.js +1 -0
  528. package/pn-market-web-components/p-530be6fe.entry.js +1 -0
  529. package/pn-market-web-components/p-54544560.system.entry.js +1 -0
  530. package/pn-market-web-components/{p-74d35edf.system.entry.js → p-545a40a7.system.entry.js} +1 -1
  531. package/pn-market-web-components/p-5521aeaa.entry.js +1 -0
  532. package/pn-market-web-components/{p-4a03854b.system.entry.js → p-589a9a4c.system.entry.js} +1 -1
  533. package/pn-market-web-components/p-59024d31.entry.js +1 -0
  534. package/pn-market-web-components/{p-c62a91ba.system.entry.js → p-5a41c1bb.system.entry.js} +1 -1
  535. package/pn-market-web-components/{p-723b9901.system.entry.js → p-5a506356.system.entry.js} +1 -1
  536. package/pn-market-web-components/p-5a6761da.js +1 -0
  537. package/pn-market-web-components/p-5e768b73.entry.js +1 -0
  538. package/pn-market-web-components/{p-f782ce94.system.entry.js → p-658f6ff7.system.entry.js} +1 -1
  539. package/pn-market-web-components/{p-8117b79e.system.entry.js → p-68324e6f.system.entry.js} +1 -1
  540. package/pn-market-web-components/{p-9c3de760.system.entry.js → p-6a4ae9af.system.entry.js} +1 -1
  541. package/pn-market-web-components/p-6b5ff47f.entry.js +1 -0
  542. package/pn-market-web-components/{p-7b9fb94f.system.entry.js → p-6d050c3a.system.entry.js} +1 -1
  543. package/pn-market-web-components/{p-02ea55ad.system.js → p-6f1d6a1a.system.js} +1 -1
  544. package/pn-market-web-components/p-73ee3141.entry.js +1 -0
  545. package/pn-market-web-components/{p-ecf712bb.system.entry.js → p-752616b7.system.entry.js} +1 -1
  546. package/pn-market-web-components/p-7620beb6.entry.js +1 -0
  547. package/pn-market-web-components/p-773b59c0.entry.js +24 -0
  548. package/pn-market-web-components/p-7c1b31e8.js +2 -0
  549. package/pn-market-web-components/p-7d992089.entry.js +1 -0
  550. package/pn-market-web-components/p-7dff99ed.entry.js +1 -0
  551. package/pn-market-web-components/p-8079dfd5.system.entry.js +1 -0
  552. package/pn-market-web-components/p-82db879c.entry.js +1 -0
  553. package/pn-market-web-components/p-833bab34.entry.js +1 -0
  554. package/pn-market-web-components/{p-290d5824.system.entry.js → p-853e6559.system.entry.js} +1 -1
  555. package/pn-market-web-components/{p-f58bde56.js → p-8666d14d.js} +1 -1
  556. package/pn-market-web-components/p-8766fa86.system.js +1 -1
  557. package/pn-market-web-components/p-87fd21d8.entry.js +1 -0
  558. package/pn-market-web-components/{p-054f8b3a.system.entry.js → p-8805bc30.system.entry.js} +1 -1
  559. package/pn-market-web-components/{p-086a72ca.system.entry.js → p-893a4a26.system.entry.js} +1 -1
  560. package/pn-market-web-components/{p-450cbe76.system.entry.js → p-8ca063a9.system.entry.js} +1 -1
  561. package/pn-market-web-components/{p-9edaf6b6.system.entry.js → p-8cefd900.system.entry.js} +1 -1
  562. package/pn-market-web-components/p-8e62ef84.system.entry.js +1 -0
  563. package/pn-market-web-components/p-8f32fa2b.system.entry.js +1 -0
  564. package/pn-market-web-components/{p-58a57436.system.entry.js → p-8fee0115.system.entry.js} +1 -1
  565. package/pn-market-web-components/{p-aa271997.system.entry.js → p-9010c32a.system.entry.js} +1 -1
  566. package/pn-market-web-components/{p-f312ff98.system.entry.js → p-939b5792.system.entry.js} +1 -1
  567. package/pn-market-web-components/p-97564852.entry.js +1 -0
  568. package/pn-market-web-components/p-9a1c267d.entry.js +1 -0
  569. package/pn-market-web-components/p-9ed7a18f.entry.js +1 -0
  570. package/pn-market-web-components/{p-4f67721e.system.entry.js → p-9f95b3c9.system.entry.js} +1 -1
  571. package/pn-market-web-components/{p-0cacf9fb.js → p-a1a58fe4.js} +1 -1
  572. package/pn-market-web-components/p-a5faec68.system.js +2 -0
  573. package/pn-market-web-components/p-a799fee1.entry.js +1 -0
  574. package/pn-market-web-components/p-aaa94bee.system.entry.js +1 -0
  575. package/pn-market-web-components/{p-2718b89a.system.entry.js → p-abfed655.system.entry.js} +1 -1
  576. package/pn-market-web-components/p-ac62dc33.entry.js +1 -0
  577. package/pn-market-web-components/p-ad1f57dc.entry.js +1 -0
  578. package/pn-market-web-components/{p-dbe032f7.system.js → p-ad836c55.system.js} +1 -1
  579. package/pn-market-web-components/p-b0102ff6.entry.js +1 -0
  580. package/pn-market-web-components/{p-625fb7fb.system.entry.js → p-b890f3f9.system.entry.js} +1 -1
  581. package/pn-market-web-components/{p-d790293c.system.entry.js → p-bab17118.system.entry.js} +1 -1
  582. package/pn-market-web-components/p-bdd1ec55.entry.js +1 -0
  583. package/pn-market-web-components/p-beefd9f7.entry.js +1 -0
  584. package/pn-market-web-components/p-bfe239ca.js +1 -1
  585. package/pn-market-web-components/p-c0db1ffd.js +1 -0
  586. package/pn-market-web-components/p-c1d9a064.entry.js +1 -0
  587. package/pn-market-web-components/{p-84699999.js → p-c5727e83.js} +1 -1
  588. package/pn-market-web-components/{p-447ef543.system.entry.js → p-c576ac3e.system.entry.js} +1 -1
  589. package/pn-market-web-components/p-c668f453.entry.js +1 -0
  590. package/pn-market-web-components/p-cb53b67f.system.js +1 -1
  591. package/pn-market-web-components/{p-879c0887.system.entry.js → p-cccb53f2.system.entry.js} +1 -1
  592. package/pn-market-web-components/p-d295ef71.system.js +1 -0
  593. package/pn-market-web-components/{p-825b8fb8.system.js → p-d34c9be2.system.js} +1 -1
  594. package/pn-market-web-components/p-d3c1d6f0.entry.js +1 -0
  595. package/pn-market-web-components/p-d5ae9797.entry.js +1 -0
  596. package/pn-market-web-components/p-d6ee168b.system.entry.js +1 -0
  597. package/pn-market-web-components/p-d70e685c.entry.js +1 -0
  598. package/pn-market-web-components/p-dbd7837e.entry.js +1 -0
  599. package/pn-market-web-components/p-dc598ef8.entry.js +1 -0
  600. package/pn-market-web-components/p-dce8a335.system.entry.js +1 -0
  601. package/pn-market-web-components/p-e0e45eb0.system.entry.js +1 -0
  602. package/pn-market-web-components/p-e2abebd7.entry.js +1 -0
  603. package/pn-market-web-components/{p-36a1b8e1.system.entry.js → p-e4961116.system.entry.js} +1 -1
  604. package/pn-market-web-components/p-e4fbd06c.entry.js +1 -0
  605. package/pn-market-web-components/p-e54c80d8.system.entry.js +1 -0
  606. package/pn-market-web-components/{p-93cecc43.system.entry.js → p-e737c51d.system.entry.js} +1 -1
  607. package/pn-market-web-components/p-e7f43cc2.entry.js +1 -0
  608. package/pn-market-web-components/{p-86f06e26.js → p-ecaad0c1.js} +1 -1
  609. package/pn-market-web-components/p-ed5e91eb.system.entry.js +1 -0
  610. package/pn-market-web-components/{p-e6fa11ad.system.entry.js → p-ef721555.system.entry.js} +1 -1
  611. package/pn-market-web-components/{p-41220f82.system.entry.js → p-f2817445.system.entry.js} +1 -1
  612. package/pn-market-web-components/{p-1151bf60.system.entry.js → p-f7cb2ef9.system.entry.js} +1 -1
  613. package/pn-market-web-components/{p-a864fbed.system.entry.js → p-fca11f16.system.entry.js} +1 -1
  614. package/pn-market-web-components/{p-47f4f5b5.system.entry.js → p-fe0d832d.system.entry.js} +1 -1
  615. package/pn-market-web-components/{p-b88337dd.system.entry.js → p-ffe18938.system.entry.js} +1 -1
  616. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  617. package/pn-market-web-components/pn-market-web-components.js +2 -1
  618. package/types/components.d.ts +58 -22
  619. package/types/stencil-public-runtime.d.ts +79 -7
  620. package/custom-elements/index.d.ts +0 -489
  621. package/custom-elements/index.js +0 -30532
  622. package/esm-es5/index-5397620b.js +0 -1
  623. package/esm-es5/pn-marketweb-siteheader-store-cd0a1dab.js +0 -1
  624. package/pn-market-web-components/p-0796f9b2.entry.js +0 -1
  625. package/pn-market-web-components/p-07ca420d.entry.js +0 -1
  626. package/pn-market-web-components/p-138b1e76.entry.js +0 -1
  627. package/pn-market-web-components/p-15112837.entry.js +0 -1
  628. package/pn-market-web-components/p-16c4bc50.entry.js +0 -1
  629. package/pn-market-web-components/p-17c4004f.entry.js +0 -1
  630. package/pn-market-web-components/p-1ca41ab1.entry.js +0 -1
  631. package/pn-market-web-components/p-21c01c47.entry.js +0 -1
  632. package/pn-market-web-components/p-227e1d46.entry.js +0 -1
  633. package/pn-market-web-components/p-2da8e5e8.system.entry.js +0 -1
  634. package/pn-market-web-components/p-2e2dfb79.entry.js +0 -1
  635. package/pn-market-web-components/p-2e3bde56.entry.js +0 -1
  636. package/pn-market-web-components/p-3343610e.entry.js +0 -1
  637. package/pn-market-web-components/p-35fcd76c.system.entry.js +0 -1
  638. package/pn-market-web-components/p-36654f2a.system.js +0 -1
  639. package/pn-market-web-components/p-381b3ec0.entry.js +0 -1
  640. package/pn-market-web-components/p-381c034b.entry.js +0 -1
  641. package/pn-market-web-components/p-3969ec4d.entry.js +0 -1
  642. package/pn-market-web-components/p-397514bc.system.entry.js +0 -1
  643. package/pn-market-web-components/p-3f4a0538.entry.js +0 -1
  644. package/pn-market-web-components/p-468025b2.system.entry.js +0 -1
  645. package/pn-market-web-components/p-479b970a.entry.js +0 -1
  646. package/pn-market-web-components/p-499bb3ac.entry.js +0 -1
  647. package/pn-market-web-components/p-4bef1bf3.entry.js +0 -1
  648. package/pn-market-web-components/p-4de40b15.entry.js +0 -1
  649. package/pn-market-web-components/p-557328e3.system.entry.js +0 -1
  650. package/pn-market-web-components/p-5776275b.entry.js +0 -1
  651. package/pn-market-web-components/p-58e8d7d5.js +0 -1
  652. package/pn-market-web-components/p-5f0acbbd.entry.js +0 -1
  653. package/pn-market-web-components/p-61dbe832.entry.js +0 -1
  654. package/pn-market-web-components/p-67380aa4.entry.js +0 -1
  655. package/pn-market-web-components/p-67887512.system.js +0 -1
  656. package/pn-market-web-components/p-6f28cfba.entry.js +0 -1
  657. package/pn-market-web-components/p-715d1ef7.entry.js +0 -1
  658. package/pn-market-web-components/p-77c907d9.entry.js +0 -1
  659. package/pn-market-web-components/p-7ce41d14.entry.js +0 -1
  660. package/pn-market-web-components/p-81d764a0.entry.js +0 -1
  661. package/pn-market-web-components/p-861def61.entry.js +0 -1
  662. package/pn-market-web-components/p-88185835.entry.js +0 -1
  663. package/pn-market-web-components/p-885bc8d7.system.entry.js +0 -1
  664. package/pn-market-web-components/p-8b684578.entry.js +0 -1
  665. package/pn-market-web-components/p-8e146205.entry.js +0 -1
  666. package/pn-market-web-components/p-8e4d292f.entry.js +0 -1
  667. package/pn-market-web-components/p-8f1b7c70.system.entry.js +0 -1
  668. package/pn-market-web-components/p-906719be.system.entry.js +0 -1
  669. package/pn-market-web-components/p-91c5cd79.entry.js +0 -1
  670. package/pn-market-web-components/p-9344cd23.js +0 -1
  671. package/pn-market-web-components/p-93d454ea.entry.js +0 -1
  672. package/pn-market-web-components/p-951861fa.entry.js +0 -1
  673. package/pn-market-web-components/p-98a7ddd1.system.entry.js +0 -1
  674. package/pn-market-web-components/p-996d8a6a.entry.js +0 -1
  675. package/pn-market-web-components/p-9b855b11.entry.js +0 -24
  676. package/pn-market-web-components/p-9c2c1aa2.entry.js +0 -1
  677. package/pn-market-web-components/p-a247058b.system.entry.js +0 -1
  678. package/pn-market-web-components/p-a5171cb9.system.entry.js +0 -1
  679. package/pn-market-web-components/p-a7bb94a0.entry.js +0 -1
  680. package/pn-market-web-components/p-a921d3fd.system.entry.js +0 -1
  681. package/pn-market-web-components/p-b1474b9e.entry.js +0 -1
  682. package/pn-market-web-components/p-b9a84e67.entry.js +0 -1
  683. package/pn-market-web-components/p-bb4f0673.system.entry.js +0 -1
  684. package/pn-market-web-components/p-bb626ab4.js +0 -1
  685. package/pn-market-web-components/p-bd22aaac.entry.js +0 -1
  686. package/pn-market-web-components/p-c2e55f38.entry.js +0 -1
  687. package/pn-market-web-components/p-c5179a9b.system.entry.js +0 -1
  688. package/pn-market-web-components/p-c714a790.entry.js +0 -1
  689. package/pn-market-web-components/p-d0155ddf.entry.js +0 -1
  690. package/pn-market-web-components/p-d7e3d918.entry.js +0 -1
  691. package/pn-market-web-components/p-e32dc098.entry.js +0 -1
  692. package/pn-market-web-components/p-e9576f26.entry.js +0 -1
  693. package/pn-market-web-components/p-e9fe5c54.entry.js +0 -1
  694. package/pn-market-web-components/p-ecdf2b69.system.entry.js +0 -1
  695. package/pn-market-web-components/p-ee589138.entry.js +0 -1
  696. package/pn-market-web-components/p-f008015e.system.entry.js +0 -1
  697. package/pn-market-web-components/p-f61342c3.js +0 -1
  698. package/pn-market-web-components/p-f774e2cc.entry.js +0 -1
  699. package/pn-market-web-components/p-f82c5d08.entry.js +0 -1
  700. package/pn-market-web-components/p-fc974bca.entry.js +0 -1
  701. package/pn-market-web-components/p-fea72975.entry.js +0 -1
  702. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/LICENSE.md +0 -27
  703. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +0 -57
  704. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/config-flags.d.ts +0 -122
  705. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +0 -2609
  706. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.d.ts +0 -19
  707. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +0 -2583
  708. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +0 -14
  709. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.d.ts +0 -24
  710. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.d.ts +0 -18505
  711. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.iterable.d.ts +0 -341
  712. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.collection.d.ts +0 -150
  713. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.core.d.ts +0 -559
  714. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.d.ts +0 -30
  715. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.generator.d.ts +0 -79
  716. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.iterable.d.ts +0 -498
  717. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.promise.d.ts +0 -83
  718. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.proxy.d.ts +0 -130
  719. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.reflect.d.ts +0 -146
  720. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.d.ts +0 -48
  721. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.wellknown.d.ts +0 -324
  722. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.array.include.d.ts +0 -118
  723. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.d.ts +0 -22
  724. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.full.d.ts +0 -25
  725. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.d.ts +0 -26
  726. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.full.d.ts +0 -25
  727. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.intl.d.ts +0 -47
  728. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.object.d.ts +0 -51
  729. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.sharedmemory.d.ts +0 -137
  730. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.string.d.ts +0 -47
  731. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.typedarrays.d.ts +0 -55
  732. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asyncgenerator.d.ts +0 -79
  733. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asynciterable.d.ts +0 -45
  734. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.d.ts +0 -26
  735. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.full.d.ts +0 -25
  736. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.intl.d.ts +0 -73
  737. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.promise.d.ts +0 -32
  738. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.regexp.d.ts +0 -39
  739. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.array.d.ts +0 -85
  740. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.d.ts +0 -26
  741. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.full.d.ts +0 -25
  742. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.intl.d.ts +0 -25
  743. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.object.d.ts +0 -35
  744. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.string.d.ts +0 -39
  745. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.symbol.d.ts +0 -26
  746. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.bigint.d.ts +0 -730
  747. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.d.ts +0 -29
  748. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.date.d.ts +0 -44
  749. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.full.d.ts +0 -25
  750. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.intl.d.ts +0 -433
  751. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.number.d.ts +0 -30
  752. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.promise.d.ts +0 -49
  753. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.sharedmemory.d.ts +0 -99
  754. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.string.d.ts +0 -30
  755. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.symbol.wellknown.d.ts +0 -39
  756. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.d.ts +0 -25
  757. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.full.d.ts +0 -25
  758. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.intl.d.ts +0 -154
  759. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.promise.d.ts +0 -50
  760. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.string.d.ts +0 -35
  761. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.weakref.d.ts +0 -75
  762. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.array.d.ts +0 -123
  763. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.d.ts +0 -27
  764. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.error.d.ts +0 -75
  765. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.full.d.ts +0 -25
  766. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.intl.d.ts +0 -111
  767. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.object.d.ts +0 -28
  768. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.sharedmemory.d.ts +0 -27
  769. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.string.d.ts +0 -27
  770. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es5.d.ts +0 -4526
  771. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es6.d.ts +0 -25
  772. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.d.ts +0 -22
  773. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.full.d.ts +0 -25
  774. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.intl.d.ts +0 -30
  775. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.promise.d.ts +0 -43
  776. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.string.d.ts +0 -35
  777. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.weakref.d.ts +0 -75
  778. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.scripthost.d.ts +0 -327
  779. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.d.ts +0 -6192
  780. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.importscripts.d.ts +0 -26
  781. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.iterable.d.ts +0 -175
  782. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +0 -8
  783. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.d.ts +0 -73
  784. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +0 -70673
  785. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.min.js +0 -4
  786. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/sys/in-memory-fs.d.ts +0 -218
  787. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/transpile.d.ts +0 -32
  788. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dependencies.json +0 -120
  789. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/app-error.d.ts +0 -18
  790. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/events.d.ts +0 -6
  791. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-components.d.ts +0 -1
  792. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-external-styles.d.ts +0 -1
  793. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-images.d.ts +0 -1
  794. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-inline-styles.d.ts +0 -1
  795. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-util.d.ts +0 -9
  796. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-window.d.ts +0 -10
  797. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.d.ts +0 -6
  798. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +0 -808
  799. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/logger.d.ts +0 -5
  800. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +0 -8
  801. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/progress.d.ts +0 -3
  802. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/status.d.ts +0 -4
  803. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/hmr-util.spec.d.ts +0 -1
  804. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/status.spec.d.ts +0 -1
  805. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +0 -6
  806. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.d.ts +0 -3
  807. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +0 -264
  808. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/open-in-editor-api.js +0 -1
  809. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +0 -8
  810. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +0 -1799
  811. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-worker-thread.js +0 -39
  812. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
  813. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +0 -132
  814. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/initial-load.html +0 -160
  815. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/visualstudio.vbs +0 -82
  816. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/ws.js +0 -1
  817. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +0 -1066
  818. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.cjs +0 -92
  819. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.d.ts +0 -4
  820. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.js +0 -88
  821. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +0 -15
  822. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/css-shim.js +0 -4
  823. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/dom.js +0 -73
  824. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +0 -3371
  825. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +0 -8
  826. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +0 -142
  827. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-esm.js +0 -23
  828. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +0 -11
  829. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/css-shim.js +0 -1
  830. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +0 -79
  831. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +0 -34
  832. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +0 -6
  833. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +0 -387
  834. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +0 -1143
  835. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +0 -7
  836. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.d.ts +0 -217
  837. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +0 -777
  838. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/shadow-css.js +0 -143
  839. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.d.ts +0 -4
  840. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.js +0 -2
  841. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +0 -9
  842. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.cjs +0 -1
  843. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +0 -51
  844. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.js +0 -16
  845. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +0 -41
  846. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +0 -2268
  847. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +0 -2338
  848. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +0 -140
  849. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +0 -1637
  850. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +0 -1105
  851. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +0 -7
  852. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/shadow-css.js +0 -143
  853. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +0 -4858
  854. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +0 -1020
  855. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +0 -4822
  856. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +0 -15
  857. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +0 -190
  858. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/readme.md +0 -99
  859. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/favicon.ico +0 -0
  860. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/logo.png +0 -0
  861. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.css +0 -1
  862. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.esm.js +0 -1
  863. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.js +0 -33
  864. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/index.esm.js +0 -0
  865. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-081b0641.js +0 -1
  866. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-227a1e18.entry.js +0 -1
  867. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-2c298727.entry.js +0 -1
  868. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-5479268c.entry.js +0 -1
  869. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-573ec8a4.entry.js +0 -1
  870. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6ba08604.entry.js +0 -1
  871. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6bc63295.entry.js +0 -1
  872. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7a3759fd.entry.js +0 -1
  873. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7b4e3ba7.js +0 -1
  874. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-988eb362.css +0 -1
  875. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-9b6a9315.js +0 -1
  876. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-b4cc611c.entry.js +0 -1
  877. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-d1bf53f5.entry.js +0 -1
  878. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e2efe0df.js +0 -1
  879. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e8ca6d97.entry.js +0 -1
  880. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-ec2f13e0.entry.js +0 -1
  881. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f0b99977.entry.js +0 -1
  882. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f4745c2f.entry.js +0 -1
  883. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-fbbae598.js +0 -1
  884. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/host.config.json +0 -15
  885. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/index.html +0 -1
  886. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/manifest.json +0 -13
  887. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/connector.js +0 -2
  888. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +0 -661
  889. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/local-connector.js +0 -2
  890. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +0 -15
  891. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +0 -2807
  892. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +0 -8
  893. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +0 -1
  894. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +0 -1
  895. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.d.ts +0 -22
  896. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +0 -6121
  897. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +0 -1
  898. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +0 -8
  899. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +0 -1
  900. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +0 -52
  901. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.d.ts +0 -12
  902. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +0 -4155
  903. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-config.d.ts +0 -16
  904. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-environment.d.ts +0 -15
  905. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-preprocessor.d.ts +0 -59
  906. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-runner.d.ts +0 -10
  907. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-screenshot.d.ts +0 -2
  908. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-serializer.d.ts +0 -4
  909. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-setup-test-framework.d.ts +0 -1
  910. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-config.spec.d.ts +0 -1
  911. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-preprocessor.spec.d.ts +0 -1
  912. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-runner.spec.d.ts +0 -1
  913. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-serializer.spec.d.ts +0 -1
  914. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-environment.js +0 -3
  915. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preprocessor.js +0 -3
  916. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preset.js +0 -37
  917. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-runner.js +0 -3
  918. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-setuptestframework.js +0 -3
  919. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/attributes.d.ts +0 -14
  920. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/class-list.d.ts +0 -12
  921. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/events.d.ts +0 -21
  922. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/html.d.ts +0 -12
  923. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/index.d.ts +0 -23
  924. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/screenshot.d.ts +0 -5
  925. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/text.d.ts +0 -4
  926. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mock-fetch.d.ts +0 -11
  927. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mocks.d.ts +0 -56
  928. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +0 -8
  929. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/index.d.ts +0 -2
  930. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-browser.d.ts +0 -6
  931. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-declarations.d.ts +0 -429
  932. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-element.d.ts +0 -67
  933. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-emulate.d.ts +0 -2
  934. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-events.d.ts +0 -21
  935. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-page.d.ts +0 -2
  936. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-screenshot.d.ts +0 -4
  937. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/reset-build-conditionals.d.ts +0 -2
  938. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/spec-page.d.ts +0 -2
  939. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test/testing-utils.spec.d.ts +0 -1
  940. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test-transpile.d.ts +0 -2
  941. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-logger.d.ts +0 -25
  942. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-sys.d.ts +0 -6
  943. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-utils.d.ts +0 -79
  944. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing.d.ts +0 -2
  945. /package/{custom-elements → components}/mockresponse.js +0 -0
@@ -10,4 +10,4 @@ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/js
10
10
  JSZip uses the library pako released under the MIT license :
11
11
  https://github.com/nodeca/pako/blob/master/LICENSE
12
12
  */
13
- t.exports=function t(r,i,e){function o(u,a){if(!i[u]){if(!r[u]){var f="function"==typeof n&&n;if(!a&&f)return f(u,!0);if(s)return s(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[u]={exports:{}};r[u][0].call(h.exports,(function(t){return o(r[u][1][t]||t)}),h,h.exports,t,r,i,e)}return i[u].exports}for(var s="function"==typeof n&&n,u=0;u<e.length;u++)o(e[u]);return o}({1:[function(t,r,n){var i=t("./utils"),e=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(t){for(var r,n,e,s,u,a,f=[],c=0,h=t.length,l=h,d="string"!==i.getTypeOf(t);c<t.length;)l=h-c,e=d?(r=t[c++],n=c<h?t[c++]:0,c<h?t[c++]:0):(r=t.charCodeAt(c++),n=c<h?t.charCodeAt(c++):0,c<h?t.charCodeAt(c++):0),s=(3&r)<<4|n>>4,u=1<l?(15&n)<<2|e>>6:64,a=2<l?63&e:64,f.push(o.charAt(r>>2)+o.charAt(s)+o.charAt(u)+o.charAt(a));return f.join("")},n.decode=function(t){var r,n,i,s,u,a,f=0,c=0,h="data:";if(t.substr(0,h.length)===h)throw new Error("Invalid base64 input, it looks like a data url.");var l,d=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&d--,t.charAt(t.length-2)===o.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=e.uint8array?new Uint8Array(0|d):new Array(0|d);f<t.length;)r=o.indexOf(t.charAt(f++))<<2|(s=o.indexOf(t.charAt(f++)))>>4,n=(15&s)<<4|(u=o.indexOf(t.charAt(f++)))>>2,i=(3&u)<<6|(a=o.indexOf(t.charAt(f++))),l[c++]=r,64!==u&&(l[c++]=n),64!==a&&(l[c++]=i);return l}},{"./support":30,"./utils":32}],2:[function(t,r){var n=t("./external"),i=t("./stream/DataWorker"),e=t("./stream/Crc32Probe"),o=t("./stream/DataLengthProbe");function s(t,r,n,i,e){this.compressedSize=t,this.uncompressedSize=r,this.crc32=n,this.compression=i,this.compressedContent=e}s.prototype={getContentWorker:function(){var t=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),r=this;return t.on("end",(function(){if(this.streamInfo.data_length!==r.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(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,r,n){return t.pipe(new e).pipe(new o("uncompressedSize")).pipe(r.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",r)},r.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,r,n){var i=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,r){var n=t("./utils"),i=function(){for(var t,r=[],n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;r[n]=t}return r}();r.exports=function(t,r){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,r,n){var e=i,o=0+n;t^=-1;for(var s=0;s<o;s++)t=t>>>8^e[255&(t^r[s])];return-1^t}(0|r,t,t.length):function(t,r,n){var e=i,o=0+n;t^=-1;for(var s=0;s<o;s++)t=t>>>8^e[255&(t^r.charCodeAt(s))];return-1^t}(0|r,t,t.length):0}},{"./utils":32}],5:[function(t,r,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,r){var n;n="undefined"!=typeof Promise?Promise:t("lie"),r.exports={Promise:n}},{lie:37}],7:[function(t,r,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,e=t("pako"),o=t("./utils"),s=t("./stream/GenericWorker"),u=i?"uint8array":"array";function a(t,r){s.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=r,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(u,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(r){t.push({data:r,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,r){function n(t,r){var n,i="";for(n=0;n<r;n++)i+=String.fromCharCode(255&t),t>>>=8;return i}function i(t,r,i,o,f,c){var h,l,d=t.file,v=t.compression,b=c!==s.utf8encode,y=e.transformTo("string",c(d.name)),m=e.transformTo("string",s.utf8encode(d.name)),p=d.comment,w=e.transformTo("string",c(p)),k=e.transformTo("string",s.utf8encode(p)),g=m.length!==d.name.length,A=k.length!==p.length,S="",j="",O="",E=d.dir,U=d.date,I={crc32:0,compressedSize:0,uncompressedSize:0};r&&!i||(I.crc32=t.crc32,I.compressedSize=t.compressedSize,I.uncompressedSize=t.uncompressedSize);var z=0;r&&(z|=8),b||!g&&!A||(z|=2048);var C=0,T=0;E&&(C|=16),"UNIX"===f?(T=798,C|=function(t,r){var n=t;return t||(n=r?16893:33204),(65535&n)<<16}(d.unixPermissions,E)):(T=20,C|=function(t){return 63&(t||0)}(d.dosPermissions)),h=U.getUTCHours(),h<<=6,h|=U.getUTCMinutes(),h<<=5,h|=U.getUTCSeconds()/2,l=U.getUTCFullYear()-1980,l<<=4,l|=U.getUTCMonth()+1,l<<=5,l|=U.getUTCDate(),g&&(j=n(1,1)+n(u(y),4)+m,S+="up"+n(j.length,2)+j),A&&(O=n(1,1)+n(u(w),4)+k,S+="uc"+n(O.length,2)+O);var R="";return R+="\n\0",R+=n(z,2),R+=v.magic,R+=n(h,2),R+=n(l,2),R+=n(I.crc32,4),R+=n(I.compressedSize,4),R+=n(I.uncompressedSize,4),R+=n(y.length,2),R+=n(S.length,2),{fileRecord:a.LOCAL_FILE_HEADER+R+y+S,dirRecord:a.CENTRAL_FILE_HEADER+n(T,2)+R+n(w.length,2)+"\0\0\0\0"+n(C,4)+n(o,4)+y+S+w}}var e=t("../utils"),o=t("../stream/GenericWorker"),s=t("../utf8"),u=t("../crc32"),a=t("../signature");function f(t,r,n,i){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=r,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}e.inherits(f,o),f.prototype.push=function(t){var r=t.meta.percent||0,n=this.entriesCount,i=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?(r+100*(n-i-1))/n:100}}))},f.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var r=this.streamFiles&&!t.file.dir;if(r){var n=i(t,r,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(t){this.accumulate=!1;var r=this.streamFiles&&!t.file.dir,e=i(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(e.dirRecord),r)this.push({data:function(t){return a.DATA_DESCRIPTOR+n(t.crc32,4)+n(t.compressedSize,4)+n(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:e.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var t=this.bytesWritten,r=0;r<this.dirRecords.length;r++)this.push({data:this.dirRecords[r],meta:{percent:100}});var i=function(t,r,i,o,s){var u=e.transformTo("string",s(o));return a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(t,2)+n(t,2)+n(r,4)+n(i,4)+n(u.length,2)+u}(this.dirRecords.length,this.bytesWritten-t,t,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(t){this._sources.push(t);var r=this;return t.on("data",(function(t){r.processChunk(t)})),t.on("end",(function(){r.closedSource(r.previous.streamInfo),r._sources.length?r.prepareNextSource():r.end()})),t.on("error",(function(t){r.error(t)})),this},f.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))},f.prototype.error=function(t){var r=this._sources;if(!o.prototype.error.call(this,t))return!1;for(var n=0;n<r.length;n++)try{r[n].error(t)}catch(t){}return!0},f.prototype.lock=function(){o.prototype.lock.call(this);for(var t=this._sources,r=0;r<t.length;r++)t[r].lock()},r.exports=f},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,r,n){var i=t("../compressions"),e=t("./ZipFileWorker");n.generateWorker=function(t,r,n){var o=new e(r.streamFiles,n,r.platform,r.encodeFileName),s=0;try{t.forEach((function(t,n){s++;var e=function(t,r){var n=t||r,e=i[n];if(!e)throw new Error(n+" is not a valid compression method !");return e}(n.options.compression,r.compression),u=n.dir,a=n.date;n._compressWorker(e,n.options.compressionOptions||r.compressionOptions||{}).withStreamInfo("file",{name:t,dir:u,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,r){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=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new n;for(var r in this)"function"!=typeof this[r]&&(t[r]=this[r]);return t}}(n.prototype=t("./object")).loadAsync=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.version="3.7.1",n.loadAsync=function(t,r){return(new n).loadAsync(t,r)},n.external=t("./external"),r.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,r){var n=t("./utils"),i=t("./external"),e=t("./utf8"),o=t("./zipEntries"),s=t("./stream/Crc32Probe"),u=t("./nodejsUtils");function a(t){return new i.Promise((function(r,n){var i=t.decompressed.getContentWorker().pipe(new s);i.on("error",(function(t){n(t)})).on("end",(function(){i.streamInfo.crc32!==t.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):r()})).resume()}))}r.exports=function(t,r){var s=this;return r=n.extend(r||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:e.utf8decode}),u.isNode&&u.isStream(t)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",t,!0,r.optimizedBinaryString,r.base64).then((function(t){var n=new o(r);return n.load(t),n})).then((function(t){var n=[i.Promise.resolve(t)],e=t.files;if(r.checkCRC32)for(var o=0;o<e.length;o++)n.push(a(e[o]));return i.Promise.all(n)})).then((function(t){for(var n=t.shift(),i=n.files,e=0;e<i.length;e++){var o=i[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:r.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,r){var n=t("../utils"),i=t("../stream/GenericWorker");function e(t,r){i.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(r)}n.inherits(e,i),e.prototype._bindStream=function(t){var r=this;(this._stream=t).pause(),t.on("data",(function(t){r.push({data:t,meta:{percent:0}})})).on("error",(function(t){r.isPaused?this.generatedError=t:r.error(t)})).on("end",(function(){r.isPaused?r._upstreamEnded=!0:r.end()}))},e.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},e.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=e},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,r){var n=t("readable-stream").Readable;function i(t,r,i){n.call(this,r),this._helper=t;var e=this;t.on("data",(function(t,r){e.push(t)||e._helper.pause(),i&&i(r)})).on("error",(function(t){e.emit("error",t)})).on("end",(function(){e.push(null)}))}t("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},r.exports=i},{"../utils":32,"readable-stream":16}],14:[function(t,r){r.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,r){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,r);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,r)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var r=new Buffer(t);return r.fill(0),r},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,r){function n(t,r,n){var i,s=e.getTypeOf(r),c=e.extend(n||{},u);c.date=c.date||new Date,null!==c.compression&&(c.compression=c.compression.toUpperCase()),"string"==typeof c.unixPermissions&&(c.unixPermissions=parseInt(c.unixPermissions,8)),c.unixPermissions&&16384&c.unixPermissions&&(c.dir=!0),c.dosPermissions&&16&c.dosPermissions&&(c.dir=!0),c.dir&&(t=v(t)),c.createFolders&&(i=d(t))&&b.call(this,i,!0),n&&void 0!==n.binary||(c.binary=!("string"===s&&!1===c.binary&&!1===c.base64)),(r instanceof a&&0===r.uncompressedSize||c.dir||!r||0===r.length)&&(c.base64=!1,c.binary=!0,r="",c.compression="STORE",s="string");var y;y=r instanceof a||r instanceof o?r:h.isNode&&h.isStream(r)?new l(t,r):e.prepareContent(t,r,c.binary,c.optimizedBinaryString,c.base64);var m=new f(t,y,c);this.files[t]=m}var i=t("./utf8"),e=t("./utils"),o=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),u=t("./defaults"),a=t("./compressedObject"),f=t("./zipObject"),c=t("./generate"),h=t("./nodejsUtils"),l=t("./nodejs/NodejsStreamInputAdapter"),d=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var r=t.lastIndexOf("/");return 0<r?t.substring(0,r):""},v=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},b=function(t,r){return r=void 0!==r?r:u.createFolders,t=v(t),this.files[t]||n.call(this,t,null,{dir:!0,createFolders:r}),this.files[t]};function y(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var m={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var r,n,i;for(r in this.files)i=this.files[r],(n=r.slice(this.root.length,r.length))&&r.slice(0,this.root.length)===this.root&&t(n,i)},filter:function(t){var r=[];return this.forEach((function(n,i){t(n,i)&&r.push(i)})),r},file:function(t,r,i){if(1!==arguments.length)return n.call(this,t=this.root+t,r,i),this;if(y(t)){var e=t;return this.filter((function(t,r){return!r.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(y(t))return this.filter((function(r,n){return n.dir&&t.test(r)}));var r=b.call(this,this.root+t),n=this.clone();return n.root=r.name,n},remove:function(t){var r=this.files[t=this.root+t];if(r||("/"!==t.slice(-1)&&(t+="/"),r=this.files[t]),r&&!r.dir)delete this.files[t];else for(var n=this.filter((function(r,n){return n.name.slice(0,t.length)===t})),i=0;i<n.length;i++)delete this.files[n[i].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 r,n={};try{if((n=e.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");e.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS"),r=c.generateWorker(this,n,n.comment||this.comment||"")}catch(t){(r=new o("error")).error(t)}return new s(r,n.type||"string",n.mimeType)},generateAsync:function(t,r){return this.generateInternalStream(t).accumulate(r)},generateNodeStream:function(t,r){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(r)}};r.exports=m},{"./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,r){r.exports=t("stream")},{stream:void 0}],17:[function(t,r){var n=t("./DataReader");function i(t){n.call(this,t);for(var r=0;r<this.data.length;r++)t[r]=255&t[r]}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data[this.zero+t]},i.prototype.lastIndexOfSignature=function(t){for(var r=t.charCodeAt(0),n=t.charCodeAt(1),i=t.charCodeAt(2),e=t.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===r&&this.data[o+1]===n&&this.data[o+2]===i&&this.data[o+3]===e)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(t){var r=t.charCodeAt(0),n=t.charCodeAt(1),i=t.charCodeAt(2),e=t.charCodeAt(3),o=this.readData(4);return r===o[0]&&n===o[1]&&i===o[2]&&e===o[3]},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=i},{"../utils":32,"./DataReader":18}],18:[function(t,r){var n=t("../utils");function i(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}i.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 r,n=0;for(this.checkOffset(t),r=this.index+t-1;r>=this.index;r--)n=(n<<8)+this.byteAt(r);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))}},r.exports=i},{"../utils":32}],19:[function(t,r){var n=t("./Uint8ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){this.checkOffset(t);var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,r){var n=t("./DataReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=i},{"../utils":32,"./DataReader":18}],21:[function(t,r){var n=t("./ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var r=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(t,r){var n=t("../utils"),i=t("../support"),e=t("./ArrayReader"),o=t("./StringReader"),s=t("./NodeBufferReader"),u=t("./Uint8ArrayReader");r.exports=function(t){var r=n.getTypeOf(t);return n.checkSupport(r),"string"!==r||i.uint8array?"nodebuffer"===r?new s(t):i.uint8array?new u(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,r,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,r){var n=t("./GenericWorker"),i=t("../utils");function e(t){n.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(e,n),e.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},r.exports=e},{"../utils":32,"./GenericWorker":28}],25:[function(t,r){var n=t("./GenericWorker"),i=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=i(t.data,this.streamInfo.crc32||0),this.push(t)},r.exports=e},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,r){var n=t("../utils"),i=t("./GenericWorker");function e(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(e,i),e.prototype.processChunk=function(t){t&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+t.data.length),i.prototype.processChunk.call(this,t)},r.exports=e},{"../utils":32,"./GenericWorker":28}],27:[function(t,r){var n=t("../utils"),i=t("./GenericWorker");function e(t){i.call(this,"DataWorker");var r=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){r.dataIsReady=!0,r.data=t,r.max=t&&t.length||0,r.type=n.getTypeOf(t),r.isPaused||r._tickAndRepeat()}),(function(t){r.error(t)}))}n.inherits(e,i),e.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},e.prototype.resume=function(){return!!i.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,r=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,r);break;case"uint8array":t=this.data.subarray(this.index,r);break;case"array":case"nodebuffer":t=this.data.slice(this.index,r)}return this.index=r,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=e},{"../utils":32,"./GenericWorker":28}],28:[function(t,r){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,r){return this._listeners[t].push(r),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,r){if(this._listeners[t])for(var n=0;n<this._listeners[t].length;n++)this._listeners[t][n].call(this,r)},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 r=this;return t.on("data",(function(t){r.processChunk(t)})),t.on("end",(function(){r.end()})),t.on("error",(function(t){r.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,r){return this.extraStreamInfo[t]=r,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}},r.exports=n},{}],29:[function(t,r){var n=t("../utils"),i=t("./ConvertWorker"),e=t("./GenericWorker"),o=t("../base64"),s=t("../support"),u=t("../external"),a=null;if(s.nodestream)try{a=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function f(t,r,o){var s=r;switch(r){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=r,this._mimeType=o,n.checkSupport(s),this._worker=t.pipe(new i(s)),t.lock()}catch(t){this._worker=new e("error"),this._worker.error(t)}}f.prototype={accumulate:function(t){return function(t,r){return new u.Promise((function(i,e){var s=[],u=t._internalType,a=t._outputType,f=t._mimeType;t.on("data",(function(t,n){s.push(t),r&&r(n)})).on("error",(function(t){s=[],e(t)})).on("end",(function(){try{var t=function(t,r,i){switch(t){case"blob":return n.newBlob(n.transformTo("arraybuffer",r),i);case"base64":return o.encode(r);default:return n.transformTo(t,r)}}(a,function(t,r){var n,i=0,e=null,o=0;for(n=0;n<r.length;n++)o+=r[n].length;switch(t){case"string":return r.join("");case"array":return Array.prototype.concat.apply([],r);case"uint8array":for(e=new Uint8Array(o),n=0;n<r.length;n++)e.set(r[n],i),i+=r[n].length;return e;case"nodebuffer":return Buffer.concat(r);default:throw new Error("concat : unsupported type '"+t+"'")}}(u,s),f);i(t)}catch(t){e(t)}s=[]})).resume()}))}(this,t)},on:function(t,r){var i=this;return this._worker.on(t,"data"===t?function(t){r.call(i,t.data,t.meta)}:function(){n.delay(r,arguments,i)}),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)}},r.exports=f},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,r,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 i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(t){try{var e=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);e.append(i),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,r,n){for(var i=t("./utils"),e=t("./support"),o=t("./nodejsUtils"),s=t("./stream/GenericWorker"),u=new Array(256),a=0;a<256;a++)u[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function f(){s.call(this,"utf-8 decode"),this.leftOver=null}function c(){s.call(this,"utf-8 encode")}u[254]=u[254]=1,n.utf8encode=function(t){return e.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var r,n,i,o,s,u=t.length,a=0;for(o=0;o<u;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),a+=n<128?1:n<2048?2:n<65536?3:4;for(r=e.uint8array?new Uint8Array(a):new Array(a),o=s=0;s<a;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?r[s++]=n:(n<2048?r[s++]=192|n>>>6:(n<65536?r[s++]=224|n>>>12:(r[s++]=240|n>>>18,r[s++]=128|n>>>12&63),r[s++]=128|n>>>6&63),r[s++]=128|63&n);return r}(t)},n.utf8decode=function(t){return e.nodebuffer?i.transformTo("nodebuffer",t).toString("utf-8"):function(t){var r,n,e,o,s=t.length,a=new Array(2*s);for(r=n=0;r<s;)if((e=t[r++])<128)a[n++]=e;else if(4<(o=u[e]))a[n++]=65533,r+=o-1;else{for(e&=2===o?31:3===o?15:7;1<o&&r<s;)e=e<<6|63&t[r++],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),i.applyFromCharCode(a)}(t=i.transformTo(e.uint8array?"uint8array":"array",t))},i.inherits(f,s),f.prototype.processChunk=function(t){var r=i.transformTo(e.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(e.uint8array){var o=r;(r=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),r.set(o,this.leftOver.length)}else r=this.leftOver.concat(r);this.leftOver=null}var s=function(t,r){var n;for((r=r||t.length)>t.length&&(r=t.length),n=r-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?r:n+u[t[n]]>r?n:r}(r),a=r;s!==r.length&&(e.uint8array?(a=r.subarray(0,s),this.leftOver=r.subarray(s,r.length)):(a=r.slice(0,s),this.leftOver=r.slice(s,r.length))),this.push({data:n.utf8decode(a),meta:t.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=f,i.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,r,n){var i=t("./support"),e=t("./base64"),o=t("./nodejsUtils"),s=t("set-immediate-shim"),u=t("./external");function a(t){return t}function f(t,r){for(var n=0;n<t.length;++n)r[n]=255&t.charCodeAt(n);return r}n.newBlob=function(r,i){n.checkSupport("blob");try{return new Blob([r],{type:i})}catch(t){try{var e=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return e.append(r),e.getBlob(i)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(t,r,n){var i=[],e=0,o=t.length;if(o<=n)return String.fromCharCode.apply(null,t);for(;e<o;)i.push(String.fromCharCode.apply(null,"array"===r||"nodebuffer"===r?t.slice(e,Math.min(e+n,o)):t.subarray(e,Math.min(e+n,o)))),e+=n;return i.join("")},stringifyByChar:function(t){for(var r="",n=0;n<t.length;n++)r+=String.fromCharCode(t[n]);return r},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function h(t){var r=65536,i=n.getTypeOf(t),e=!0;if("uint8array"===i?e=c.applyCanBeUsed.uint8array:"nodebuffer"===i&&(e=c.applyCanBeUsed.nodebuffer),e)for(;1<r;)try{return c.stringifyByChunk(t,i,r)}catch(t){r=Math.floor(r/2)}return c.stringifyByChar(t)}function l(t,r){for(var n=0;n<t.length;n++)r[n]=t[n];return r}n.applyFromCharCode=h;var d={};d.string={string:a,array:function(t){return f(t,new Array(t.length))},arraybuffer:function(t){return d.string.uint8array(t).buffer},uint8array:function(t){return f(t,new Uint8Array(t.length))},nodebuffer:function(t){return f(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,r){if(r=r||"",!t)return r;n.checkSupport(t);var i=n.getTypeOf(r);return d[i][t](r)},n.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":i.nodebuffer&&o.isBuffer(t)?"nodebuffer":i.uint8array&&t instanceof Uint8Array?"uint8array":i.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(t){if(!i[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 r,n,i="";for(n=0;n<(t||"").length;n++)i+="\\x"+((r=t.charCodeAt(n))<16?"0":"")+r.toString(16).toUpperCase();return i},n.delay=function(t,r,n){s((function(){t.apply(n||null,r||[])}))},n.inherits=function(t,r){function n(){}n.prototype=r.prototype,t.prototype=new n},n.extend=function(){var t,r,n={};for(t=0;t<arguments.length;t++)for(r in arguments[t])arguments[t].hasOwnProperty(r)&&void 0===n[r]&&(n[r]=arguments[t][r]);return n},n.prepareContent=function(t,r,o,s,a){return u.Promise.resolve(r).then((function(t){return i.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new u.Promise((function(r,n){var i=new FileReader;i.onload=function(t){r(t.target.result)},i.onerror=function(t){n(t.target.error)},i.readAsArrayBuffer(t)})):t})).then((function(r){var c=n.getTypeOf(r);return c?("arraybuffer"===c?r=n.transformTo("uint8array",r):"string"===c&&(a?r=e.decode(r):o&&!0!==s&&(r=function(t){return f(t,i.uint8array?new Uint8Array(t.length):new Array(t.length))}(r))),r):u.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,r){var n=t("./reader/readerFor"),i=t("./utils"),e=t("./signature"),o=t("./zipEntry"),s=(t("./utf8"),t("./support"));function u(t){this.files=[],this.loadOptions=t}u.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var r=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(r)+", expected "+i.pretty(t)+")")}},isSignature:function(t,r){var n=this.reader.index;this.reader.setIndex(t);var i=this.reader.readString(4)===r;return this.reader.setIndex(n),i},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),r=i.transformTo(s.uint8array?"uint8array":"array",t);this.zipComment=this.loadOptions.decodeFileName(r)},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,r,n,i=this.zip64EndOfCentralSize-44;0<i;)t=this.reader.readInt(2),r=this.reader.readInt(4),n=this.reader.readData(r),this.zip64ExtensibleData[t]={id:t,length:r,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,r;for(t=0;t<this.files.length;t++)this.reader.setIndex((r=this.files[t]).localHeaderOffset),this.checkSignature(e.LOCAL_FILE_HEADER),r.readLocalPart(this.reader),r.handleUTF8(),r.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 r=t;if(this.checkSignature(e.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(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=r-n;if(0<o)this.isSignature(r,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()}},r.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(t,r){var n=t("./reader/readerFor"),i=t("./utils"),e=t("./compressedObject"),o=t("./crc32"),s=t("./utf8"),u=t("./compressions"),a=t("./support");function f(t,r){this.options=t,this.loadOptions=r}f.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var r,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===(r=function(t){for(var r in u)if(u.hasOwnProperty(r)&&u[r].magic===t)return u[r];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new e(this.compressedSize,this.uncompressedSize,this.crc32,r,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 r=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(r),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===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var r,n,i,e=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<e;)r=t.readInt(2),n=t.readInt(2),i=t.readData(n),this.extraFields[r]={id:r,length:n,value:i};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 r=this.findExtraFieldUnicodePath();if(null!==r)this.fileNameStr=r;else{var n=i.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var e=this.findExtraFieldUnicodeComment();if(null!==e)this.fileCommentStr=e;else{var o=i.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var r=n(t.value);return 1!==r.readInt(1)||o(this.fileName)!==r.readInt(4)?null:s.utf8decode(r.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var r=n(t.value);return 1!==r.readInt(1)||o(this.fileComment)!==r.readInt(4)?null:s.utf8decode(r.readData(t.length-5))}return null}},r.exports=f},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,r){function n(t,r,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=r,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=t("./stream/StreamHelper"),e=t("./stream/DataWorker"),o=t("./utf8"),s=t("./compressedObject"),u=t("./stream/GenericWorker");n.prototype={internalStream:function(t){var r=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"),r=this._decompressWorker();var s=!this._dataBinary;s&&!e&&(r=r.pipe(new o.Utf8EncodeWorker)),!s&&e&&(r=r.pipe(new o.Utf8DecodeWorker))}catch(t){(r=new u("error")).error(t)}return new i(r,n,"")},async:function(t,r){return this.internalStream(t).accumulate(r)},nodeStream:function(t,r){return this.internalStream(t||"nodebuffer").toNodejsStream(r)},_compressWorker:function(t,r){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,r)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof u?this._data:new e(this._data)}};for(var a=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],f=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]]=f;r.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,n){(function(t){var r,i,e=t.MutationObserver||t.WebKitMutationObserver;if(e){var o=0,s=new e(c),u=t.document.createTextNode("");s.observe(u,{characterData:!0}),r=function(){u.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var r=t.document.createElement("script");r.onreadystatechange=function(){c(),r.onreadystatechange=null,r.parentNode.removeChild(r),r=null},t.document.documentElement.appendChild(r)}:function(){setTimeout(c,0)};else{var a=new t.MessageChannel;a.port1.onmessage=c,r=function(){a.port2.postMessage(0)}}var f=[];function c(){var t,r;i=!0;for(var n=f.length;n;){for(r=f,f=[],t=-1;++t<n;)r[t]();n=f.length}i=!1}n.exports=function(t){1!==f.push(t)||i||r()}}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,r){var n=t("immediate");function i(){}var e={},o=["REJECTED"],s=["FULFILLED"],u=["PENDING"];function a(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,t!==i&&l(this,t)}function f(t,r,n){this.promise=t,"function"==typeof r&&(this.onFulfilled=r,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function c(t,r,i){n((function(){var n;try{n=r(i)}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 r=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof r)return function(){r.apply(t,arguments)}}function l(t,r){var n=!1;function i(r){n||(n=!0,e.reject(t,r))}function o(r){n||(n=!0,e.resolve(t,r))}var s=d((function(){r(o,i)}));"error"===s.status&&i(s.value)}function d(t,r){var n={};try{n.value=t(r),n.status="success"}catch(t){n.status="error",n.value=t}return n}(r.exports=a).prototype.finally=function(t){if("function"!=typeof t)return this;var r=this.constructor;return this.then((function(n){return r.resolve(t()).then((function(){return n}))}),(function(n){return r.resolve(t()).then((function(){throw n}))}))},a.prototype.catch=function(t){return this.then(null,t)},a.prototype.then=function(t,r){if("function"!=typeof t&&this.state===s||"function"!=typeof r&&this.state===o)return this;var n=new this.constructor(i);return this.state!==u?c(n,this.state===s?t:r,this.outcome):this.queue.push(new f(n,t,r)),n},f.prototype.callFulfilled=function(t){e.resolve(this.promise,t)},f.prototype.otherCallFulfilled=function(t){c(this.promise,this.onFulfilled,t)},f.prototype.callRejected=function(t){e.reject(this.promise,t)},f.prototype.otherCallRejected=function(t){c(this.promise,this.onRejected,t)},e.resolve=function(t,r){var n=d(h,r);if("error"===n.status)return e.reject(t,n.value);var i=n.value;if(i)l(t,i);else{t.state=s,t.outcome=r;for(var o=-1,u=t.queue.length;++o<u;)t.queue[o].callFulfilled(r)}return t},e.reject=function(t,r){t.state=o,t.outcome=r;for(var n=-1,i=t.queue.length;++n<i;)t.queue[n].callRejected(r);return t},a.resolve=function(t){return t instanceof this?t:e.resolve(new this(i),t)},a.reject=function(t){var r=new this(i);return e.reject(r,t)},a.all=function(t){var r=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),u=0,a=-1,f=new this(i);++a<n;)c(t[a],a);return f;function c(t,i){r.resolve(t).then((function(t){s[i]=t,++u!==n||o||(o=!0,e.resolve(f,s))}),(function(t){o||(o=!0,e.reject(f,t))}))}},a.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,n=!1;if(!r)return this.resolve([]);for(var o=-1,s=new this(i);++o<r;)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,r){var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),r.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,r,n){var i=t("./zlib/deflate"),e=t("./utils/common"),o=t("./utils/strings"),s=t("./zlib/messages"),u=t("./zlib/zstream"),a=Object.prototype.toString;function f(t){if(!(this instanceof f))return new f(t);this.options=e.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var r=this.options;r.raw&&0<r.windowBits?r.windowBits=-r.windowBits:r.gzip&&0<r.windowBits&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var n=i.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(0!==n)throw new Error(s[n]);if(r.header&&i.deflateSetHeader(this.strm,r.header),r.dictionary){var c;if(c="string"==typeof r.dictionary?o.string2buf(r.dictionary):"[object ArrayBuffer]"===a.call(r.dictionary)?new Uint8Array(r.dictionary):r.dictionary,0!==(n=i.deflateSetDictionary(this.strm,c)))throw new Error(s[n]);this._dict_set=!0}}function c(t,r){var n=new f(r);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}f.prototype.push=function(t,r){var n,s,u=this.strm,f=this.options.chunkSize;if(this.ended)return!1;s=r===~~r?r:!0===r?4:0,u.input="string"==typeof t?o.string2buf(t):"[object ArrayBuffer]"===a.call(t)?new Uint8Array(t):t,u.next_in=0,u.avail_in=u.input.length;do{if(0===u.avail_out&&(u.output=new e.Buf8(f),u.next_out=0,u.avail_out=f),1!==(n=i.deflate(u,s))&&0!==n)return this.onEnd(n),!(this.ended=!0);0!==u.avail_out&&(0!==u.avail_in||4!==s&&2!==s)||this.onData("string"===this.options.to?o.buf2binstring(e.shrinkBuf(u.output,u.next_out)):e.shrinkBuf(u.output,u.next_out))}while((0<u.avail_in||0===u.avail_out)&&1!==n);return 4===s?(n=i.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==s||(this.onEnd(0),!(u.avail_out=0))},f.prototype.onData=function(t){this.chunks.push(t)},f.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=f,n.deflate=c,n.deflateRaw=function(t,r){return(r=r||{}).raw=!0,c(t,r)},n.gzip=function(t,r){return(r=r||{}).gzip=!0,c(t,r)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,r,n){var i=t("./zlib/inflate"),e=t("./utils/common"),o=t("./utils/strings"),s=t("./zlib/constants"),u=t("./zlib/messages"),a=t("./zlib/zstream"),f=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 r=this.options;r.raw&&0<=r.windowBits&&r.windowBits<16&&(r.windowBits=-r.windowBits,0===r.windowBits&&(r.windowBits=-15)),!(0<=r.windowBits&&r.windowBits<16)||t&&t.windowBits||(r.windowBits+=32),15<r.windowBits&&r.windowBits<48&&0==(15&r.windowBits)&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=i.inflateInit2(this.strm,r.windowBits);if(n!==s.Z_OK)throw new Error(u[n]);this.header=new f,i.inflateGetHeader(this.strm,this.header)}function l(t,r){var n=new h(r);if(n.push(t,!0),n.err)throw n.msg||u[n.err];return n.result}h.prototype.push=function(t,r){var n,u,a,f,h,l,d=this.strm,v=this.options.chunkSize,b=this.options.dictionary,y=!1;if(this.ended)return!1;u=r===~~r?r:!0===r?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(v),d.next_out=0,d.avail_out=v),(n=i.inflate(d,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&b&&(l="string"==typeof b?o.string2buf(b):"[object ArrayBuffer]"===c.call(b)?new Uint8Array(b):b,n=i.inflateSetDictionary(this.strm,l)),n===s.Z_BUF_ERROR&&!0===y&&(n=s.Z_OK,y=!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||u!==s.Z_FINISH&&u!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(a=o.utf8border(d.output,d.next_out),f=d.next_out-a,h=o.buf2string(d.output,a),d.next_out=f,d.avail_out=v-f,f&&e.arraySet(d.output,d.output,a,f,0),this.onData(h)):this.onData(e.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(y=!0)}while((0<d.avail_in||0===d.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(u=s.Z_FINISH),u===s.Z_FINISH?(n=i.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):u!==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,r){return(r=r||{}).raw=!0,l(t,r)},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,r,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var n=r.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i])}}return t},n.shrinkBuf=function(t,r){return t.length===r?t:t.subarray?t.subarray(0,r):(t.length=r,t)};var e={arraySet:function(t,r,n,i,e){if(r.subarray&&t.subarray)t.set(r.subarray(n,n+i),e);else for(var o=0;o<i;o++)t[e+o]=r[n+o]},flattenChunks:function(t){var r,n,i,e,o,s;for(r=i=0,n=t.length;r<n;r++)i+=t[r].length;for(s=new Uint8Array(i),r=e=0,n=t.length;r<n;r++)s.set(o=t[r],e),e+=o.length;return s}},o={arraySet:function(t,r,n,i,e){for(var o=0;o<i;o++)t[e+o]=r[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(i)},{}],42:[function(t,r,n){var i=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 i.Buf8(256),u=0;u<256;u++)s[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function a(t,r){if(r<65537&&(t.subarray&&o||!t.subarray&&e))return String.fromCharCode.apply(null,i.shrinkBuf(t,r));for(var n="",s=0;s<r;s++)n+=String.fromCharCode(t[s]);return n}s[254]=s[254]=1,n.string2buf=function(t){var r,n,e,o,s,u=t.length,a=0;for(o=0;o<u;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&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(r=new i.Buf8(a),o=s=0;s<a;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(e=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(e-56320),o++),n<128?r[s++]=n:(n<2048?r[s++]=192|n>>>6:(n<65536?r[s++]=224|n>>>12:(r[s++]=240|n>>>18,r[s++]=128|n>>>12&63),r[s++]=128|n>>>6&63),r[s++]=128|63&n);return r},n.buf2binstring=function(t){return a(t,t.length)},n.binstring2buf=function(t){for(var r=new i.Buf8(t.length),n=0,e=r.length;n<e;n++)r[n]=t.charCodeAt(n);return r},n.buf2string=function(t,r){var n,i,e,o,u=r||t.length,f=new Array(2*u);for(n=i=0;n<u;)if((e=t[n++])<128)f[i++]=e;else if(4<(o=s[e]))f[i++]=65533,n+=o-1;else{for(e&=2===o?31:3===o?15:7;1<o&&n<u;)e=e<<6|63&t[n++],o--;1<o?f[i++]=65533:e<65536?f[i++]=e:(f[i++]=55296|(e-=65536)>>10&1023,f[i++]=56320|1023&e)}return a(f,i)},n.utf8border=function(t,r){var n;for((r=r||t.length)>t.length&&(r=t.length),n=r-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?r:n+s[t[n]]>r?n:r}},{"./common":41}],43:[function(t,r){r.exports=function(t,r,n,i){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+r[i++]|0)|0,--s;);e%=65521,o%=65521}return e|o<<16|0}},{}],44:[function(t,r){r.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,r){var n=function(){for(var t,r=[],n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;r[n]=t}return r}();r.exports=function(t,r,i,e){var o=n,s=e+i;t^=-1;for(var u=e;u<s;u++)t=t>>>8^o[255&(t^r[u])];return-1^t}},{}],46:[function(t,r,n){var i,e=t("../utils/common"),o=t("./trees"),s=t("./adler32"),u=t("./crc32"),a=t("./messages"),f=-2,c=258,h=262,l=113;function d(t,r){return t.msg=a[r],r}function v(t){return(t<<1)-(4<t?9:0)}function b(t){for(var r=t.length;0<=--r;)t[r]=0}function y(t){var r=t.state,n=r.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(e.arraySet(t.output,r.pending_buf,r.pending_out,n,t.next_out),t.next_out+=n,r.pending_out+=n,t.total_out+=n,t.avail_out-=n,r.pending-=n,0===r.pending&&(r.pending_out=0))}function m(t,r){o._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,r),t.block_start=t.strstart,y(t.strm)}function p(t,r){t.pending_buf[t.pending++]=r}function w(t,r){t.pending_buf[t.pending++]=r>>>8&255,t.pending_buf[t.pending++]=255&r}function k(t,r){var n,i,e=t.max_chain_length,o=t.strstart,s=t.prev_length,u=t.nice_match,a=t.strstart>t.w_size-h?t.strstart-(t.w_size-h):0,f=t.window,l=t.w_mask,d=t.prev,v=t.strstart+c,b=f[o+s-1],y=f[o+s];t.prev_length>=t.good_match&&(e>>=2),u>t.lookahead&&(u=t.lookahead);do{if(f[(n=r)+s]===y&&f[n+s-1]===b&&f[n]===f[o]&&f[++n]===f[o+1]){o+=2,n++;do{}while(f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&o<v);if(i=c-(v-o),o=v-c,s<i){if(t.match_start=r,u<=(s=i))break;b=f[o+s-1],y=f[o+s]}}}while((r=d[r&l])>a&&0!=--e);return s<=t.lookahead?s:t.lookahead}function g(t){var r,n,i,o,a,f,c,l,d,v,b=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=b+(b-h)){for(e.arraySet(t.window,t.window,b,b,0),t.match_start-=b,t.strstart-=b,t.block_start-=b,r=n=t.hash_size;i=t.head[--r],t.head[r]=b<=i?i-b:0,--n;);for(r=n=b;i=t.prev[--r],t.prev[r]=b<=i?i-b:0,--n;);o+=b}if(0===t.strm.avail_in)break;if(c=t.window,l=t.strstart+t.lookahead,v=void 0,(d=o)<(v=(f=t.strm).avail_in)&&(v=d),n=0===v?0:(f.avail_in-=v,e.arraySet(c,f.input,f.next_in,v,l),1===f.state.wrap?f.adler=s(f.adler,c,v,l):2===f.state.wrap&&(f.adler=u(f.adler,c,v,l)),f.next_in+=v,f.total_in+=v,v),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 A(t,r){for(var n,i;;){if(t.lookahead<h){if(g(t),t.lookahead<h&&0===r)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=k(t,n)),t.match_length>=3)if(i=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 i=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(m(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===r?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}function S(t,r){for(var n,i,e;;){if(t.lookahead<h){if(g(t),t.lookahead<h&&0===r)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=k(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,i=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++,i&&(m(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((i=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&&(i=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===r?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}function j(t,r,n,i,e){this.good_length=t,this.max_lazy=r,this.nice_length=n,this.max_chain=i,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),b(this.dyn_ltree),b(this.dyn_dtree),b(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),b(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(573),b(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 E(t){var r;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(r=t.state).pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap?42:l,t.adler=2===r.wrap?0:1,r.last_flush=0,o._tr_init(r),0):d(t,f)}function U(t){var r=E(t);return 0===r&&function(t){t.window_size=2*t.w_size,b(t.head),t.max_lazy_match=i[t.level].max_lazy,t.good_match=i[t.level].good_length,t.nice_match=i[t.level].nice_length,t.max_chain_length=i[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0}(t.state),r}function I(t,r,n,i,o,s){if(!t)return f;var u=1;if(-1===r&&(r=6),i<0?(u=0,i=-i):15<i&&(u=2,i-=16),o<1||9<o||8!==n||i<8||15<i||r<0||9<r||s<0||4<s)return d(t,f);8===i&&(i=9);var a=new O;return(t.state=a).strm=t,a.wrap=u,a.gzhead=null,a.w_bits=i,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=r,a.strategy=s,a.method=n,U(t)}i=[new j(0,0,0,0,(function(t,r){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(g(t),0===t.lookahead&&0===r)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+n;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,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===r?(m(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&m(t,!1),1)})),new j(4,4,8,4,A),new j(4,5,16,8,A),new j(4,6,32,32,A),new j(4,4,16,16,S),new j(8,16,32,32,S),new j(8,16,128,128,S),new j(8,32,128,256,S),new j(32,128,258,1024,S),new j(32,258,258,4096,S)],n.deflateInit=function(t,r){return I(t,r,8,15,8,0)},n.deflateInit2=I,n.deflateReset=U,n.deflateResetKeep=E,n.deflateSetHeader=function(t,r){return t&&t.state?2!==t.state.wrap?f:(t.state.gzhead=r,0):f},n.deflate=function(t,r){var n,e,s,a;if(!t||!t.state||5<r||r<0)return t?d(t,f):f;if(e=t.state,!t.output||!t.input&&0!==t.avail_in||666===e.status&&4!==r)return d(t,0===t.avail_out?-5:f);if(e.strm=t,n=e.last_flush,e.last_flush=r,42===e.status)if(2===e.wrap)t.adler=0,p(e,31),p(e,139),p(e,8),e.gzhead?(p(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)),p(e,255&e.gzhead.time),p(e,e.gzhead.time>>8&255),p(e,e.gzhead.time>>16&255),p(e,e.gzhead.time>>24&255),p(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),p(e,255&e.gzhead.os),e.gzhead.extra&&e.gzhead.extra.length&&(p(e,255&e.gzhead.extra.length),p(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=u(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=69):(p(e,0),p(e,0),p(e,0),p(e,0),p(e,0),p(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),p(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,w(e,h),0!==e.strstart&&(w(e,t.adler>>>16),w(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=u(t.adler,e.pending_buf,e.pending-s,s)),y(t),s=e.pending,e.pending!==e.pending_buf_size));)p(e,255&e.gzhead.extra[e.gzindex]),e.gzindex++;e.gzhead.hcrc&&e.pending>s&&(t.adler=u(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=u(t.adler,e.pending_buf,e.pending-s,s)),y(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,p(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>s&&(t.adler=u(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=u(t.adler,e.pending_buf,e.pending-s,s)),y(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,p(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>s&&(t.adler=u(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&&y(t),e.pending+2<=e.pending_buf_size&&(p(e,255&t.adler),p(e,t.adler>>8&255),t.adler=0,e.status=l)):e.status=l),0!==e.pending){if(y(t),0===t.avail_out)return e.last_flush=-1,0}else if(0===t.avail_in&&v(r)<=v(n)&&4!==r)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!==r&&666!==e.status){var k=2===e.strategy?function(t,r){for(var n;;){if(0===t.lookahead&&(g(t),0===t.lookahead)){if(0===r)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===r?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}(e,r):3===e.strategy?function(t,r){for(var n,i,e,s,u=t.window;;){if(t.lookahead<=c){if(g(t),t.lookahead<=c&&0===r)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&0<t.strstart&&(i=u[e=t.strstart-1])===u[++e]&&i===u[++e]&&i===u[++e]){s=t.strstart+c;do{}while(i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++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===r?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}(e,r):i[e.level].func(e,r);if(3!==k&&4!==k||(e.status=666),1===k||3===k)return 0===t.avail_out&&(e.last_flush=-1),0;if(2===k&&(1===r?o._tr_align(e):5!==r&&(o._tr_stored_block(e,0,0,!1),3===r&&(b(e.head),0===e.lookahead&&(e.strstart=0,e.block_start=0,e.insert=0))),y(t),0===t.avail_out))return e.last_flush=-1,0}return 4!==r?0:e.wrap<=0?1:(2===e.wrap?(p(e,255&t.adler),p(e,t.adler>>8&255),p(e,t.adler>>16&255),p(e,t.adler>>24&255),p(e,255&t.total_in),p(e,t.total_in>>8&255),p(e,t.total_in>>16&255),p(e,t.total_in>>24&255)):(w(e,t.adler>>>16),w(e,65535&t.adler)),y(t),0<e.wrap&&(e.wrap=-e.wrap),0!==e.pending?0:1)},n.deflateEnd=function(t){var r;return t&&t.state?42!==(r=t.state.status)&&69!==r&&73!==r&&91!==r&&103!==r&&r!==l&&666!==r?d(t,f):(t.state=null,r===l?d(t,-3):0):f},n.deflateSetDictionary=function(t,r){var n,i,o,u,a,c,h,l,d=r.length;if(!t||!t.state)return f;if(2===(u=(n=t.state).wrap)||1===u&&42!==n.status||n.lookahead)return f;for(1===u&&(t.adler=s(t.adler,r,d,0)),n.wrap=0,d>=n.w_size&&(0===u&&(b(n.head),n.strstart=0,n.block_start=0,n.insert=0),l=new e.Buf8(n.w_size),e.arraySet(l,r,d-n.w_size,n.w_size,0),r=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=r,g(n);n.lookahead>=3;){for(i=n.strstart,o=n.lookahead-2;n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+3-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++,--o;);n.strstart=i,n.lookahead=2,g(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=u,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,r){r.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,r){r.exports=function(t,r){var n,i,e,o,s,u,a,f,c,h,l,d,v,b,y,m,p,w,k,g,A,S,j,O,E;O=t.input,e=(i=t.next_in)+(t.avail_in-5),E=t.output,s=(o=t.next_out)-(r-t.avail_out),u=o+(t.avail_out-257),a=(n=t.state).dmax,f=n.wsize,c=n.whave,h=n.wnext,l=n.window,d=n.hold,v=n.bits,b=n.lencode,y=n.distcode,m=(1<<n.lenbits)-1,p=(1<<n.distbits)-1;t:do{v<15&&(d+=O[i++]<<v,d+=O[i++]<<(v+=8),v+=8),w=b[d&m];r:for(;;){if(d>>>=k=w>>>24,v-=k,0==(k=w>>>16&255))E[o++]=65535&w;else{if(!(16&k)){if(0==(64&k)){w=b[(65535&w)+(d&(1<<k)-1)];continue r}if(32&k){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}g=65535&w,(k&=15)&&(v<k&&(d+=O[i++]<<v,v+=8),g+=d&(1<<k)-1,d>>>=k,v-=k),v<15&&(d+=O[i++]<<v,d+=O[i++]<<(v+=8),v+=8),w=y[d&p];n:for(;;){if(d>>>=k=w>>>24,v-=k,!(16&(k=w>>>16&255))){if(0==(64&k)){w=y[(65535&w)+(d&(1<<k)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(A=65535&w,v<(k&=15)&&(d+=O[i++]<<v,(v+=8)<k&&(d+=O[i++]<<v,v+=8)),a<(A+=d&(1<<k)-1)){t.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=k,v-=k,(k=o-s)<A){if(c<(k=A-k)&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(j=l,(S=0)===h){if(S+=f-k,k<g){for(g-=k;E[o++]=l[S++],--k;);S=o-A,j=E}}else if(h<k){if(S+=f+h-k,(k-=h)<g){for(g-=k;E[o++]=l[S++],--k;);if(S=0,h<g){for(g-=k=h;E[o++]=l[S++],--k;);S=o-A,j=E}}}else if(S+=h-k,k<g){for(g-=k;E[o++]=l[S++],--k;);S=o-A,j=E}for(;2<g;)E[o++]=j[S++],E[o++]=j[S++],E[o++]=j[S++],g-=3;g&&(E[o++]=j[S++],1<g&&(E[o++]=j[S++]))}else{for(S=o-A;E[o++]=E[S++],E[o++]=E[S++],E[o++]=E[S++],2<(g-=3););g&&(E[o++]=E[S++],1<g&&(E[o++]=E[S++]))}break}}break}}while(i<e&&o<u);i-=g=v>>3,d&=(1<<(v-=g<<3))-1,t.next_in=i,t.next_out=o,t.avail_in=i<e?e-i+5:5-(i-e),t.avail_out=o<u?u-o+257:257-(o-u),n.hold=d,n.bits=v}},{}],49:[function(t,r,n){var i=t("../utils/common"),e=t("./adler32"),o=t("./crc32"),s=t("./inffast"),u=t("./inftrees"),a=-2;function f(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 i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function h(t){var r;return t&&t.state?(t.total_in=t.total_out=(r=t.state).total=0,t.msg="",r.wrap&&(t.adler=1&r.wrap),r.mode=1,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new i.Buf32(852),r.distcode=r.distdyn=new i.Buf32(592),r.sane=1,r.back=-1,0):a}function l(t){var r;return t&&t.state?((r=t.state).wsize=0,r.whave=0,r.wnext=0,h(t)):a}function d(t,r){var n,i;return t&&t.state?(i=t.state,r<0?(n=0,r=-r):(n=1+(r>>4),r<48&&(r&=15)),r&&(r<8||15<r)?a:(null!==i.window&&i.wbits!==r&&(i.window=null),i.wrap=n,i.wbits=r,l(t))):a}function v(t,r){var n,i;return t?(i=new c,(t.state=i).window=null,0!==(n=d(t,r))&&(t.state=null),n):a}var b,y,m=!0;function p(t){if(m){var r;for(b=new i.Buf32(512),y=new i.Buf32(32),r=0;r<144;)t.lens[r++]=8;for(;r<256;)t.lens[r++]=9;for(;r<280;)t.lens[r++]=7;for(;r<288;)t.lens[r++]=8;for(u(1,t.lens,0,288,b,0,t.work,{bits:9}),r=0;r<32;)t.lens[r++]=5;u(2,t.lens,0,32,y,0,t.work,{bits:5}),m=!1}t.lencode=b,t.lenbits=9,t.distcode=y,t.distbits=5}function w(t,r,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 i.Buf8(s.wsize)),e>=s.wsize?(i.arraySet(s.window,r,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(e<(o=s.wsize-s.wnext)&&(o=e),i.arraySet(s.window,r,n-e,o,s.wnext),(e-=o)?(i.arraySet(s.window,r,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 v(t,15)},n.inflateInit2=v,n.inflate=function(t,r){var n,c,h,l,d,v,b,y,m,k,g,A,S,j,O,E,U,I,z,C,T,R,F,B,_=0,D=new i.Buf8(4),x=[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,y=n.hold,m=n.bits,k=v=t.avail_in,g=b=t.avail_out,R=0;t:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(2&n.wrap&&35615===y){D[n.check=0]=255&y,D[1]=y>>>8&255,n.check=o(n.check,D,2,0),m=y=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&y)<<8)+(y>>8))%31){t.msg="incorrect header check",n.mode=30;break}if(8!=(15&y)){t.msg="unknown compression method",n.mode=30;break}if(m-=4,T=8+(15&(y>>>=4)),0===n.wbits)n.wbits=T;else if(T>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<T,t.adler=n.check=1,n.mode=512&y?10:12,m=y=0;break;case 2:for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(n.flags=y,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=y>>8&1),512&n.flags&&(D[0]=255&y,D[1]=y>>>8&255,n.check=o(n.check,D,2,0)),m=y=0,n.mode=3;case 3:for(;m<32;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.head&&(n.head.time=y),512&n.flags&&(D[0]=255&y,D[1]=y>>>8&255,D[2]=y>>>16&255,D[3]=y>>>24&255,n.check=o(n.check,D,4,0)),m=y=0,n.mode=4;case 4:for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.head&&(n.head.xflags=255&y,n.head.os=y>>8),512&n.flags&&(D[0]=255&y,D[1]=y>>>8&255,n.check=o(n.check,D,2,0)),m=y=0,n.mode=5;case 5:if(1024&n.flags){for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.length=y,n.head&&(n.head.extra_len=y),512&n.flags&&(D[0]=255&y,D[1]=y>>>8&255,n.check=o(n.check,D,2,0)),m=y=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(A=n.length)&&(A=v),A&&(n.head&&(T=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,c,l,A,T)),512&n.flags&&(n.check=o(n.check,c,A,l)),v-=A,l+=A,n.length-=A),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break t;for(A=0;T=c[l+A++],n.head&&T&&n.length<65536&&(n.head.name+=String.fromCharCode(T)),T&&A<v;);if(512&n.flags&&(n.check=o(n.check,c,A,l)),v-=A,l+=A,T)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===v)break t;for(A=0;T=c[l+A++],n.head&&T&&n.length<65536&&(n.head.comment+=String.fromCharCode(T)),T&&A<v;);if(512&n.flags&&(n.check=o(n.check,c,A,l)),v-=A,l+=A,T)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(y!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}m=y=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===v)break t;v--,y+=c[l++]<<m,m+=8}t.adler=n.check=f(y),m=y=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=d,t.avail_out=b,t.next_in=l,t.avail_in=v,n.hold=y,n.bits=m,2;t.adler=n.check=1,n.mode=12;case 12:if(5===r||6===r)break t;case 13:if(n.last){y>>>=7&m,m-=7&m,n.mode=27;break}for(;m<3;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}switch(n.last=1&y,m-=1,3&(y>>>=1)){case 0:n.mode=14;break;case 1:if(p(n),n.mode=20,6!==r)break;y>>>=2,m-=2;break t;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}y>>>=2,m-=2;break;case 14:for(y>>>=7&m,m-=7&m;m<32;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if((65535&y)!=(y>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&y,m=y=0,n.mode=15,6===r)break t;case 15:n.mode=16;case 16:if(A=n.length){if(v<A&&(A=v),b<A&&(A=b),0===A)break t;i.arraySet(h,c,l,A,d),v-=A,l+=A,b-=A,d+=A,n.length-=A;break}n.mode=12;break;case 17:for(;m<14;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(n.nlen=257+(31&y),m-=5,n.ndist=1+(31&(y>>>=5)),m-=5,n.ncode=4+(15&(y>>>=5)),y>>>=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===v)break t;v--,y+=c[l++]<<m,m+=8}n.lens[x[n.have++]]=7&y,y>>>=3,m-=3}for(;n.have<19;)n.lens[x[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,R=u(0,n.lens,0,19,n.lencode,0,n.work,F={bits:n.lenbits}),n.lenbits=F.bits,R){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(;E=(_=n.lencode[y&(1<<n.lenbits)-1])>>>16&255,U=65535&_,!((O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(U<16)y>>>=O,m-=O,n.lens[n.have++]=U;else{if(16===U){for(B=O+2;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(y>>>=O,m-=O,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}T=n.lens[n.have-1],A=3+(3&y),y>>>=2,m-=2}else if(17===U){for(B=O+3;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}m-=O,T=0,A=3+(7&(y>>>=O)),y>>>=3,m-=3}else{for(B=O+7;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}m-=O,T=0,A=11+(127&(y>>>=O)),y>>>=7,m-=7}if(n.have+A>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;A--;)n.lens[n.have++]=T}}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,R=u(1,n.lens,0,n.nlen,n.lencode,0,n.work,F={bits:n.lenbits}),n.lenbits=F.bits,R){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,R=u(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,F={bits:n.distbits}),n.distbits=F.bits,R){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===r)break t;case 20:n.mode=21;case 21:if(6<=v&&258<=b){t.next_out=d,t.avail_out=b,t.next_in=l,t.avail_in=v,n.hold=y,n.bits=m,s(t,g),d=t.next_out,h=t.output,b=t.avail_out,l=t.next_in,c=t.input,v=t.avail_in,y=n.hold,m=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;E=(_=n.lencode[y&(1<<n.lenbits)-1])>>>16&255,U=65535&_,!((O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(E&&0==(240&E)){for(I=O,z=E,C=U;E=(_=n.lencode[C+((y&(1<<I+z)-1)>>I)])>>>16&255,U=65535&_,!(I+(O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}y>>>=I,m-=I,n.back+=I}if(y>>>=O,m-=O,n.back+=O,n.length=U,0===E){n.mode=26;break}if(32&E){n.back=-1,n.mode=12;break}if(64&E){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&E,n.mode=22;case 22:if(n.extra){for(B=n.extra;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.length+=y&(1<<n.extra)-1,y>>>=n.extra,m-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;E=(_=n.distcode[y&(1<<n.distbits)-1])>>>16&255,U=65535&_,!((O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(0==(240&E)){for(I=O,z=E,C=U;E=(_=n.distcode[C+((y&(1<<I+z)-1)>>I)])>>>16&255,U=65535&_,!(I+(O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}y>>>=I,m-=I,n.back+=I}if(y>>>=O,m-=O,n.back+=O,64&E){t.msg="invalid distance code",n.mode=30;break}n.offset=U,n.extra=15&E,n.mode=24;case 24:if(n.extra){for(B=n.extra;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.offset+=y&(1<<n.extra)-1,y>>>=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===b)break t;if(n.offset>(A=g-b)){if((A=n.offset-A)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}S=A>n.wnext?n.wsize-(A-=n.wnext):n.wnext-A,A>n.length&&(A=n.length),j=n.window}else j=h,S=d-n.offset,A=n.length;for(b<A&&(A=b),b-=A,n.length-=A;h[d++]=j[S++],--A;);0===n.length&&(n.mode=21);break;case 26:if(0===b)break t;h[d++]=n.length,b--,n.mode=21;break;case 27:if(n.wrap){for(;m<32;){if(0===v)break t;v--,y|=c[l++]<<m,m+=8}if(t.total_out+=g-=b,n.total+=g,g&&(t.adler=n.check=n.flags?o(n.check,h,g,d-g):e(n.check,h,g,d-g)),g=b,(n.flags?y:f(y))!==n.check){t.msg="incorrect data check",n.mode=30;break}m=y=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;m<32;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(y!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=30;break}m=y=0}n.mode=29;case 29:R=1;break t;case 30:R=-3;break t;case 31:return-4;case 32:default:return a}return t.next_out=d,t.avail_out=b,t.next_in=l,t.avail_in=v,n.hold=y,n.bits=m,(n.wsize||g!==t.avail_out&&n.mode<30&&(n.mode<27||4!==r))&&w(t,t.output,t.next_out,g-t.avail_out)?(n.mode=31,-4):(g-=t.avail_out,t.total_in+=k-=t.avail_in,t.total_out+=g,n.total+=g,n.wrap&&g&&(t.adler=n.check=n.flags?o(n.check,h,g,t.next_out-g):e(n.check,h,g,t.next_out-g)),t.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==k&&0===g||4===r)&&0===R&&(R=-5),R)},n.inflateEnd=function(t){if(!t||!t.state)return a;var r=t.state;return r.window&&(r.window=null),t.state=null,0},n.inflateGetHeader=function(t,r){var n;return t&&t.state?0==(2&(n=t.state).wrap)?a:((n.head=r).done=!1,0):a},n.inflateSetDictionary=function(t,r){var n,i=r.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?a:11===n.mode&&e(1,r,i,0)!==n.check?-3:w(t,r,i,i)?(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,r){var n=t("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],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];r.exports=function(t,r,u,a,f,c,h,l){var d,v,b,y,m,p,w,k,g,A=l.bits,S=0,j=0,O=0,E=0,U=0,I=0,z=0,C=0,T=0,R=0,F=null,B=0,_=new n.Buf16(16),D=new n.Buf16(16),x=null,N=0;for(S=0;S<=15;S++)_[S]=0;for(j=0;j<a;j++)_[r[u+j]]++;for(U=A,E=15;1<=E&&0===_[E];E--);if(E<U&&(U=E),0===E)return f[c++]=20971520,f[c++]=20971520,l.bits=1,0;for(O=1;O<E&&0===_[O];O++);for(U<O&&(U=O),S=C=1;S<=15;S++)if(C<<=1,(C-=_[S])<0)return-1;if(0<C&&(0===t||1!==E))return-1;for(D[1]=0,S=1;S<15;S++)D[S+1]=D[S]+_[S];for(j=0;j<a;j++)0!==r[u+j]&&(h[D[r[u+j]]++]=j);if(p=0===t?(F=x=h,19):1===t?(F=i,B-=257,x=e,N-=257,256):(F=o,x=s,-1),S=O,m=c,z=j=R=0,b=-1,y=(T=1<<(I=U))-1,1===t&&852<T||2===t&&592<T)return 1;for(;;){for(w=S-z,g=h[j]<p?(k=0,h[j]):h[j]>p?(k=x[N+h[j]],F[B+h[j]]):(k=96,0),d=1<<S-z,O=v=1<<I;f[m+(R>>z)+(v-=d)]=w<<24|k<<16|g|0,0!==v;);for(d=1<<S-1;R&d;)d>>=1;if(0!==d?(R&=d-1,R+=d):R=0,j++,0==--_[S]){if(S===E)break;S=r[u+h[j]]}if(U<S&&(R&y)!==b){for(0===z&&(z=U),m+=O,C=1<<(I=S-z);I+z<E&&!((C-=_[I+z])<=0);)I++,C<<=1;if(T+=1<<I,1===t&&852<T||2===t&&592<T)return 1;f[b=R&y]=U<<24|I<<16|m-c|0}}return 0!==R&&(f[m+R]=S-z<<24|64<<16|0),l.bits=U,0}},{"../utils/common":41}],51:[function(t,r){r.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,r,n){var i=t("../utils/common");function e(t){for(var r=t.length;0<=--r;)t[r]=0}var o=256,s=286,u=30,a=15,f=[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],c=[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],h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d=new Array(576);e(d);var v=new Array(60);e(v);var b=new Array(512);e(b);var y=new Array(256);e(y);var m=new Array(29);e(m);var p,w,k,g=new Array(u);function A(t,r,n,i,e){this.static_tree=t,this.extra_bits=r,this.extra_base=n,this.elems=i,this.max_length=e,this.has_stree=t&&t.length}function S(t,r){this.dyn_tree=t,this.max_code=0,this.stat_desc=r}function j(t){return t<256?b[t]:b[256+(t>>>7)]}function O(t,r){t.pending_buf[t.pending++]=255&r,t.pending_buf[t.pending++]=r>>>8&255}function E(t,r,n){t.bi_valid>16-n?(t.bi_buf|=r<<t.bi_valid&65535,O(t,t.bi_buf),t.bi_buf=r>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=r<<t.bi_valid&65535,t.bi_valid+=n)}function U(t,r,n){E(t,n[2*r],n[2*r+1])}function I(t,r){for(var n=0;n|=1&t,t>>>=1,n<<=1,0<--r;);return n>>>1}function z(t,r,n){var i,e,o=new Array(16),s=0;for(i=1;i<=a;i++)o[i]=s=s+n[i-1]<<1;for(e=0;e<=r;e++){var u=t[2*e+1];0!==u&&(t[2*e]=I(o[u]++,u))}}function C(t){var r;for(r=0;r<s;r++)t.dyn_ltree[2*r]=0;for(r=0;r<u;r++)t.dyn_dtree[2*r]=0;for(r=0;r<19;r++)t.bl_tree[2*r]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8<t.bi_valid?O(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 R(t,r,n,i){var e=2*r,o=2*n;return t[e]<t[o]||t[e]===t[o]&&i[r]<=i[n]}function F(t,r,n){for(var i=t.heap[n],e=n<<1;e<=t.heap_len&&(e<t.heap_len&&R(r,t.heap[e+1],t.heap[e],t.depth)&&e++,!R(r,i,t.heap[e],t.depth));)t.heap[n]=t.heap[e],n=e,e<<=1;t.heap[n]=i}function B(t,r,n){var i,e,s,u,a=0;if(0!==t.last_lit)for(;i=t.pending_buf[t.d_buf+2*a]<<8|t.pending_buf[t.d_buf+2*a+1],e=t.pending_buf[t.l_buf+a],a++,0===i?U(t,e,r):(U(t,(s=y[e])+o+1,r),0!==(u=f[s])&&E(t,e-=m[s],u),U(t,s=j(--i),n),0!==(u=c[s])&&E(t,i-=g[s],u)),a<t.last_lit;);U(t,256,r)}function _(t,r){var n,i,e,o=r.dyn_tree,s=r.stat_desc.static_tree,u=r.stat_desc.has_stree,f=r.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<f;n++)0!==o[2*n]?(t.heap[++t.heap_len]=c=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)o[2*(e=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[e]=0,t.opt_len--,u&&(t.static_len-=s[2*e+1]);for(r.max_code=c,n=t.heap_len>>1;1<=n;n--)F(t,o,n);for(e=f;n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],F(t,o,1),i=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=i,o[2*e]=o[2*n]+o[2*i],t.depth[e]=(t.depth[n]>=t.depth[i]?t.depth[n]:t.depth[i])+1,o[2*n+1]=o[2*i+1]=e,t.heap[1]=e++,F(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,r){var n,i,e,o,s,u,f=r.dyn_tree,c=r.max_code,h=r.stat_desc.static_tree,l=r.stat_desc.has_stree,d=r.stat_desc.extra_bits,v=r.stat_desc.extra_base,b=r.stat_desc.max_length,y=0;for(o=0;o<=a;o++)t.bl_count[o]=0;for(f[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)b<(o=f[2*f[2*(i=t.heap[n])+1]+1]+1)&&(o=b,y++),f[2*i+1]=o,c<i||(t.bl_count[o]++,s=0,v<=i&&(s=d[i-v]),t.opt_len+=(u=f[2*i])*(o+s),l&&(t.static_len+=u*(h[2*i+1]+s)));if(0!==y){do{for(o=b-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[b]--,y-=2}while(0<y);for(o=b;0!==o;o--)for(i=t.bl_count[o];0!==i;)c<(e=t.heap[--n])||(f[2*e+1]!==o&&(t.opt_len+=(o-f[2*e+1])*f[2*e],f[2*e+1]=o),i--)}}(t,r),z(o,c,t.bl_count)}function D(t,r,n){var i,e,o=-1,s=r[1],u=0,a=7,f=4;for(0===s&&(a=138,f=3),r[2*(n+1)+1]=65535,i=0;i<=n;i++)e=s,s=r[2*(i+1)+1],++u<a&&e===s||(u<f?t.bl_tree[2*e]+=u:0!==e?(e!==o&&t.bl_tree[2*e]++,t.bl_tree[32]++):u<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=e,f=(u=0)===s?(a=138,3):e===s?(a=6,3):(a=7,4))}function x(t,r,n){var i,e,o=-1,s=r[1],u=0,a=7,f=4;for(0===s&&(a=138,f=3),i=0;i<=n;i++)if(e=s,s=r[2*(i+1)+1],!(++u<a&&e===s)){if(u<f)for(;U(t,e,t.bl_tree),0!=--u;);else 0!==e?(e!==o&&(U(t,e,t.bl_tree),u--),U(t,16,t.bl_tree),E(t,u-3,2)):u<=10?(U(t,17,t.bl_tree),E(t,u-3,3)):(U(t,18,t.bl_tree),E(t,u-11,7));o=e,f=(u=0)===s?(a=138,3):e===s?(a=6,3):(a=7,4)}}e(g);var N=!1;function W(t,r,n,e){E(t,0+(e?1:0),3),function(t,r,n){T(t),O(t,n),O(t,~n),i.arraySet(t.pending_buf,t.window,r,n,t.pending),t.pending+=n}(t,r,n)}n._tr_init=function(t){N||(function(){var t,r,n,i,e,o=new Array(16);for(i=n=0;i<28;i++)for(m[i]=n,t=0;t<1<<f[i];t++)y[n++]=i;for(y[n-1]=i,i=e=0;i<16;i++)for(g[i]=e,t=0;t<1<<c[i];t++)b[e++]=i;for(e>>=7;i<u;i++)for(g[i]=e<<7,t=0;t<1<<c[i]-7;t++)b[256+e++]=i;for(r=0;r<=a;r++)o[r]=0;for(t=0;t<=143;)d[2*t+1]=8,t++,o[8]++;for(;t<=255;)d[2*t+1]=9,t++,o[9]++;for(;t<=279;)d[2*t+1]=7,t++,o[7]++;for(;t<=287;)d[2*t+1]=8,t++,o[8]++;for(z(d,287,o),t=0;t<u;t++)v[2*t+1]=5,v[2*t]=I(t,5);p=new A(d,f,257,s,a),w=new A(v,c,0,u,a),k=new A(new Array(0),h,0,19,7)}(),N=!0),t.l_desc=new S(t.dyn_ltree,p),t.d_desc=new S(t.dyn_dtree,w),t.bl_desc=new S(t.bl_tree,k),t.bi_buf=0,t.bi_valid=0,C(t)},n._tr_stored_block=W,n._tr_flush_block=function(t,r,n,i){var e,s,u=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var r,n=4093624447;for(r=0;r<=31;r++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<o;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),_(t,t.l_desc),_(t,t.d_desc),u=function(t){var r;for(D(t,t.dyn_ltree,t.l_desc.max_code),D(t,t.dyn_dtree,t.d_desc.max_code),_(t,t.bl_desc),r=18;3<=r&&0===t.bl_tree[2*l[r]+1];r--);return t.opt_len+=3*(r+1)+5+5+4,r}(t),(s=t.static_len+3+7>>>3)<=(e=t.opt_len+3+7>>>3)&&(e=s)):e=s=n+5,n+4<=e&&-1!==r?W(t,r,n,i):4===t.strategy||s===e?(E(t,2+(i?1:0),3),B(t,d,v)):(E(t,4+(i?1:0),3),function(t,r,n,i){var e;for(E(t,r-257,5),E(t,n-1,5),E(t,i-4,4),e=0;e<i;e++)E(t,t.bl_tree[2*l[e]+1],3);x(t,t.dyn_ltree,r-1),x(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,u+1),B(t,t.dyn_ltree,t.dyn_dtree)),C(t),i&&T(t)},n._tr_tally=function(t,r,n){return t.pending_buf[t.d_buf+2*t.last_lit]=r>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&r,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===r?t.dyn_ltree[2*n]++:(t.matches++,r--,t.dyn_ltree[2*(y[n]+o+1)]++,t.dyn_dtree[2*j(r)]++),t.last_lit===t.lit_bufsize-1},n._tr_align=function(t){E(t,2,3),U(t,256,d),function(t){16===t.bi_valid?(O(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":41}],53:[function(t,r){r.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,r){r.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)}));function o(t){return e.loadAsync(t).then((function(t){var r=[];t.forEach((function(t,n){n.dir||r.push(n.name)}));var n={};return Promise.all(r.map((function(r){return t.file(r).async("string").then((function(t){return n[r]=t}))}))).then((function(){return n}))}))}function s(t,r){for(var n=0;n<t.childNodes.length;){var i=t.childNodes[n];if(1===i.nodeType&&c(i)===r)return i;n++}}function u(t,r){for(var n=[],i=0;i<t.childNodes.length;){var e=t.childNodes[i];1===e.nodeType&&c(e)===r&&n.push(e),i++}return n}function a(t,r,n){for(var i=0;i<t.childNodes.length;){var e=t.childNodes[i];r?1===e.nodeType&&c(e)===r&&n(e,i):n(e,i),i++}}var f=/.+\:/;function c(t){return t.tagName.replace(f,"")}function h(t,r){var n,i=r.createDocument(t),e={},o=s(i.documentElement,"workbookPr");return o&&"1"===o.getAttribute("date1904")&&(e.epoch1904=!0),e.sheets=[],(n=i,u(s(n.documentElement,"sheets"),"sheet")).forEach((function(t){t.getAttribute("name")&&e.sheets.push({id:t.getAttribute("sheetId"),name:t.getAttribute("name"),relationId:t.getAttribute("r:id")})})),e}function l(t,r){var n=r.createDocument(t),i={sheets:{},sharedStrings:void 0,styles:void 0};return function(t){return u(t.documentElement,"Relationship")}(n).forEach((function(t){var r=t.getAttribute("Target");switch(t.getAttribute("Type")){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles":i.styles=d(r);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings":i.sharedStrings=d(r);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet":i.sheets[t.getAttribute("Id")]=d(r)}})),i}function d(t){return"/"===t[0]?t.slice("/".length):"xl/"+t}function v(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,i)}return n}function b(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?v(Object(n),!0).forEach((function(r){y(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function y(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function m(t,r){if(!t)return{};var n,i,e=r.createDocument(t),o=(n=e,i=s(n.documentElement,"cellStyleXfs"),i?u(i,"xf"):[]).map(w),a=function(t){var r=s(t.documentElement,"numFmts");return r?u(r,"numFmt"):[]}(e).map(p).reduce((function(t,r){return t[r.id]=r,t}),[]);return function(t){var r=s(t.documentElement,"cellXfs");return r?u(r,"xf"):[]}(e).map((function(t){return t.hasAttribute("xfId")?b(b({},o[t.xfId]),w(t,a)):w(t,a)}))}function p(t){return{id:t.getAttribute("numFmtId"),template:t.getAttribute("formatCode")}}function w(t,r){var n={};if(t.hasAttribute("numFmtId")){var i=t.getAttribute("numFmtId");n.numberFormat=r[i]?r[i]:{id:i}}return n}function k(t,r){return t?(n=r.createDocument(t),i=function(t){var r=s(t,"t");if(r)return r.textContent;var n="";return a(t,"r",(function(t){n+=s(t,"t").textContent})),n},e=[],a(n.documentElement,"si",(function(t){e.push(i(t))})),e):[];var n,i,e}function g(t,r){return r&&r.epoch1904&&(t+=1462),new Date(Math.round(24*(t-25569)*36e5))}function A(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}var S=[14,15,16,17,18,19,20,21,22,27,30,36,45,46,47,50,57];function j(t,r,n){var i=n.getInlineStringValue,e=n.getStyleId,o=n.styles,s=n.values,u=n.properties,a=n.options;switch(r||(r="n"),r){case"str":""===(t=t.trim())&&(t=void 0);break;case"inlineStr":if(void 0===(t=i()))throw new Error('Unsupported "inline string" cell value structure');""===(t=t.trim())&&(t=void 0);break;case"s":""===(t=(t=s[parseInt(t)]).trim())&&(t=void 0);break;case"b":t="1"===t;break;case"z":t=void 0;break;case"e":t=function(t){switch(t){case 0:return"#NULL!";case 7:return"#DIV/0!";case 15:return"#VALUE!";case 23:return"#REF!";case 29:return"#NAME?";case 36:return"#NUM!";case 42:return"#N/A";case 43:return"#GETTING_DATA";default:return"#ERROR_".concat(t)}}(t);break;case"d":if(void 0===t)break;t=new Date(t);break;case"n":if(void 0===t)break;t=parseFloat(t);var f=e();if(f){var c=o[f];if(!c)throw new Error("Cell style not found: ".concat(f));(S.indexOf(parseInt(c.numberFormat.id))>=0||a.dateFormat&&c.numberFormat.template===a.dateFormat||!1!==a.smartDateParser&&c.numberFormat.template&&function(t){for(var r,n=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return A(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}((t=t.toLowerCase()).split(/\W+/));!(r=n()).done;)if(O.indexOf(r.value)<0)return!1;return!0}(c.numberFormat.template))&&(t=g(t,u))}break;default:throw new TypeError("Cell type not supported: ".concat(r))}return void 0===t&&(t=null),t}var O=["ss","mm","h","hh","am","pm","d","dd","m","mm","mmm","mmmm","yy","yyyy"],E=["","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function U(t){for(var r=0,n=0;n<t.length;)r*=26,r+=E.indexOf(t[n]),n++;return r}function I(t){return t=t.split(/(\d+)/),[parseInt(t[1]),U(t[0].trim())]}function z(t,r,n,i,e,o){var u=function(t){var r=s(t.documentElement,"sheetData"),n=[];return a(r,"row",(function(t){a(t,"c",(function(t){n.push(t)}))})),n}(t);return 0===u.length?[]:u.map((function(t){return function(t,r,n,i,e,o,u){var a,f=I(t.getAttribute("r")),h=function(t,r){return s(r,"v")}(0,t),l=h&&h.textContent;return t.hasAttribute("t")&&(a=t.getAttribute("t")),{row:f[0],column:f[1],value:j(l,a,{getInlineStringValue:function(){return function(t,r){if(r.firstChild&&"is"===c(r.firstChild)&&r.firstChild.firstChild&&"t"===c(r.firstChild.firstChild))return r.firstChild.firstChild.textContent}(0,t)},getStyleId:function(){return t.getAttribute("s")},styles:e,values:i,properties:o,options:u})}}(t,0,0,n,i,e,o)}))}function C(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function T(t){var r=function(t){var r=s(t.documentElement,"dimension");if(r)return r.getAttribute("ref")}(t);if(r)return 1===(r=r.split(":").map(I).map((function(t){var r,n,i=(n=2,function(t){if(Array.isArray(t))return t}(r=t)||function(t,r){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var i,e,o=[],s=!0,u=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!r||o.length!==r);s=!0);}catch(a){u=!0,e=a}finally{try{s||null==n.return||n.return()}finally{if(u)throw e}}return o}}(r,n)||function(t,r){if(t){if("string"==typeof t)return C(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(t,r):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return{row:i[0],column:i[1]}}))).length&&(r=[r[0],r[0]]),r}function R(t,r,n,i,e,o){var s=r.createDocument(t),u=z(s,0,n,i,e,o),a=T(s)||function(t){var r=function(t,r){return t-r},n=t.map((function(t){return t.row})).sort(r),i=t.map((function(t){return t.column})).sort(r);return[{row:n[0],column:i[0]},{row:n[n.length-1],column:i[i.length-1]}]}(u);return{cells:u,dimensions:a}}function F(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return B(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function _(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return D(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function x(t,r){if(t){if("string"==typeof t)return N(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(t,r):void 0}}function N(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function W(t,r){var n=t.cells;if(0===n.length)return[];for(var i=function(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var i,e,o=[],s=!0,u=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!r||o.length!==r);s=!0);}catch(a){u=!0,e=a}finally{try{s||null==n.return||n.return()}finally{if(u)throw e}}return o}}(t,r)||x(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.dimensions,2)[1],e=i.column,o=i.row,s=new Array(o),u=0;u<o;){s[u]=new Array(e);for(var a=0;a<e;)s[u][a]=null,a++;u++}for(var f,c=function(t){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=x(t))){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(f=c()).done;){var h=f.value,l=h.row-1,d=h.column-1;d<e&&l<o&&(s[l][d]=h.value)}var v=r.rowMap;if(v)for(var b=0;b<s.length;)v[b]=b,b++;return s=function(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.rowMap,i=r.accessor,e=void 0===i?function(t){return t}:i,o=r.onlyTrimAtTheEnd,s=t.length-1;s>=0;){for(var u,a=!0,f=F(t[s]);!(u=f()).done;)if(null!==e(u.value)){a=!1;break}if(a)t.splice(s,1),n&&n.splice(s,1);else if(o)break;s--}return t}(function(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.accessor,i=void 0===n?function(t){return t}:n,e=r.onlyTrimAtTheEnd,o=t[0].length-1;o>=0;){for(var s,u=!0,a=_(t);!(s=a()).done;)if(null!==i(s.value[o])){u=!1;break}if(u)for(var f=0;f<t.length;)t[f].splice(o,1),f++;else if(e)break;o--}return t}(s,{onlyTrimAtTheEnd:!0}),{onlyTrimAtTheEnd:!0,rowMap:v}),r.transformData&&(s=r.transformData(s)),s}function Z(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function P(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,i)}return n}function G(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?P(Object(n),!0).forEach((function(r){L(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function L(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function M(t,r){if("number"==typeof t){var n=r[t-1];return n&&n.relationId}for(var i,e=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return Z(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r);!(i=e()).done;){var o=i.value;if(o.name===t)return o.relationId}}function H(t,r){var n=r&&r.map((function(t,r){return'"'.concat(t.name,'" (#').concat(r+1,")")})).join(", ");return new Error("Sheet ".concat("number"==typeof t?"#"+t:'"'+t+'"'," not found in the *.xlsx file.").concat(r?" Available sheets: "+n+".":""))}function K(){}function J(){}var $=/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)*(?:[a-z\u00a1-\uffff]{2,}))(?::\d{2,5})?(?:[/?#]\S*)?$/i;function X(){}var Y=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i;function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function q(t,r){if(t){if("string"==typeof t)return Q(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(t,r):void 0}}function Q(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function tt(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,i)}return n}function rt(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?tt(Object(n),!0).forEach((function(r){nt(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function nt(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var it={isColumnOriented:!1};function et(t,r,n,i,e,o){for(var s={},u=function(){var u=f[a],c=t[u],h="object"===V(c.type)&&!Array.isArray(c.type),l=r[i.indexOf(u)];void 0===l&&(l=null);var d=void 0,v=void 0;if(h)d=et(c.type,r,n,i,e,o);else if(null===l)d=null;else if(Array.isArray(c.type)){var b=!1,y=function(t){for(var r,n,i=[],e=0;e<t.length;){var o=(r=ut(t,",",e),n=2,function(t){if(Array.isArray(t))return t}(r)||function(t,r){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var i,e,o=[],s=!0,u=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!r||o.length!==r);s=!0);}catch(a){u=!0,e=a}finally{try{s||null==n.return||n.return()}finally{if(u)throw e}}return o}}(r,n)||q(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());e+=o[1]+",".length,i.push(o[0].trim())}return i}(l).map((function(t){var r=ot(t,c,o);return r.error&&(d=t,v=r.error),null!==r.value&&(b=!0),r.value}));v||(d=b?y:null)}else{var m=ot(l,c,o);d=(v=m.error)?l:m.value}!v&&null===d&&c.required&&(v="required"),v?(v={error:v,row:n+1,column:u,value:d},c.type&&(v.type=c.type),e.push(v)):null!==d&&(s[c.prop]=d)},a=0,f=Object.keys(t);a<f.length;a++)u();return Object.keys(s).length>0?s:null}function ot(t,r,n){if(null===t)return{value:null};var i;if((i=r.parse?st(t,r.parse):r.type?function(t,r,n){switch(r){case String:return"string"==typeof t?{value:t}:"number"==typeof t&&isFinite(t)?{value:String(t)}:{error:"invalid"};case Number:case K:if("string"==typeof t){var i=t;if(t=parseFloat(t),String(t)!==i)return{error:"invalid"}}else if("number"!=typeof t)return{error:"invalid"};return isFinite(t)?r===K&&(0|(o=t))!==o?{error:"invalid"}:{value:t}:{error:"invalid"};case J:return"string"==typeof t&&function(t){return $.test(t)}(t)?{value:t}:{error:"invalid"};case X:return"string"==typeof t&&function(t){return Y.test(t)}(t)?{value:t}:{error:"invalid"};case Date:if(t instanceof Date)return{value:t};if("number"==typeof t){if(!isFinite(t))return{error:"invalid"};var e=g(t=parseInt(t),n.properties);return e?{value:e}:{error:"invalid"}}return{error:"invalid"};case Boolean:return"boolean"==typeof t?{value:t}:{error:"invalid"};default:if("function"==typeof r)return st(t,r);throw new Error("Unknown schema type: ".concat(r&&r.name||r))}var o}(t,Array.isArray(r.type)?r.type[0]:r.type,n):{value:t}).error)return i;if(null!==i.value){if(r.oneOf&&r.oneOf.indexOf(i.value)<0)return{error:"invalid"};if(r.validate)try{r.validate(i.value)}catch(e){return{error:e.message}}}return i}function st(t,r){try{return void 0===(t=r(t))?{value:null}:{value:t}}catch(n){return{error:n.message}}}function ut(t,r,n){for(var i=0,e="";n+i<t.length;){var o=t[n+i];if(o===r)return[e,i];if('"'===o){var s=ut(t,'"',n+i+1);e+=s[0],i+='"'.length+s[1]+'"'.length}else e+=o,i++}return[e,i]}var at=function(t){return t[0].map((function(r,n){return t.map((function(t){return t[n]}))}))};function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ct(t){for(var r={},n=0,i=Object.keys(t);n<i.length;n++){var e=i[n],o=t[e],s=void 0;"object"===ft(o)&&(o=Object.keys(t[e])[0],s=ct(t[e][o])),r[e]={prop:o},s&&(r[e].type=s)}return r}var ht=["schema","map"];function lt(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,i)}return n}function dt(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?lt(Object(n),!0).forEach((function(r){vt(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function vt(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function bt(t,r,n){var i=n.schema,e=n.map,o=function(t,r){if(null==t)return{};var n,i,e=function(t,r){if(null==t)return{};var n,i,e={},o=Object.keys(t);for(i=0;i<o.length;i++)r.indexOf(n=o[i])>=0||(e[n]=t[n]);return e}(t,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r.indexOf(n=o[i])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(e[n]=t[n])}return e}(n,ht);!i&&e&&(i=ct(e));var s=function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.sheet||(n=G({sheet:1},n));var i=function(r){if(!t[r])throw new Error('"'.concat(r,'" file not found inside the *.xlsx file zip archive'));return t[r]},e=l(i("xl/_rels/workbook.xml.rels"),r),o=e.sharedStrings?k(i(e.sharedStrings),r):[],s=e.styles?m(i(e.styles),r):{},u=h(i("xl/workbook.xml"),r);if(n.getSheets)return u.sheets.map((function(t){return{name:t.name}}));var a=M(n.sheet,u.sheets);if(!a||!e.sheets[a])throw H(n.sheet,u.sheets);var f=W(R(i(e.sheets[a]),r,o,s,u,n),n);return n.properties?{data:f,properties:u}:f}(t,r,dt(dt({},o),{},{properties:i||o.properties}));return i?function(t,r,n){var i=(n=n?rt(rt({},it),n):it).isColumnOriented,e=n.rowMap;!function(t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];if(!t[i].prop)throw new Error('"prop" not defined for schema entry "'.concat(i,'".'))}}(r),i&&(t=at(t));for(var o=t[0],s=[],u=[],a=1;a<t.length;a++){var f=et(r,t[a],a-1,o,u,n);f&&s.push(f)}if(e)for(var c,h=function(t){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=q(t))){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(u);!(c=h()).done;){var l=c.value;l.row=e[l.row]+1}return{rows:s,errors:u}}(s.data,i,dt(dt({},o),{},{properties:s.properties})):s}function yt(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(t).then((function(t){return bt(t,i,r)}))}async function mt(t,r=["what","deliveryscope"]){const n=t=>t.toLowerCase().replace(/\s+/g,""),i=await yt(t,{getSheets:!0});let e=[],o=await Promise.all(i.map((async r=>await yt(t,{sheet:r.name})))),s={};return o.forEach((t=>{const i=t.shift().map((t=>n(t)));i.forEach((t=>{void 0===s[t]&&r.includes(t)&&(s[t]=[])})),t.forEach((t=>{const o={};i.forEach((async(i,e)=>{const u=t[e];if(o[i]=u,r.includes(i)){const t=n(u);o[i]=t,s[i].includes(t)||s[i].push(t)}})),e.push(o)}))})),{types:s,data:e}}async function pt(t,r=["sizecategory"]){const n=t=>t.toLowerCase().replace(/\s+/g,""),i=await yt(t,{getSheets:!0});let e,o=[],s=await Promise.all(i.map((async r=>await yt(t,{sheet:r.name})))),u={};return s.forEach((t=>{const i=t.shift().map((t=>n(t)));i.forEach(((t,n)=>{void 0===u[t]&&r.includes(t)&&(u[t]=[]),"sizecategory"===t&&(e=n)})),t.forEach((t=>{t[e].split("/").forEach((s=>{const a={};i.forEach((async(i,o)=>{const f=o===e?s:t[o];if(a[i]=f,r.includes(i)){const t=n(f);a[i]=t,u[i].includes(t)||u[i].push(t)}})),o.push(a)}))}))})),{types:u,data:o}}export{mt as a,pt as c}
13
+ t.exports=function t(r,i,e){function o(u,a){if(!i[u]){if(!r[u]){var f="function"==typeof n&&n;if(!a&&f)return f(u,!0);if(s)return s(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[u]={exports:{}};r[u][0].call(h.exports,(function(t){return o(r[u][1][t]||t)}),h,h.exports,t,r,i,e)}return i[u].exports}for(var s="function"==typeof n&&n,u=0;u<e.length;u++)o(e[u]);return o}({1:[function(t,r,n){var i=t("./utils"),e=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(t){for(var r,n,e,s,u,a,f=[],c=0,h=t.length,l=h,d="string"!==i.getTypeOf(t);c<t.length;)l=h-c,e=d?(r=t[c++],n=c<h?t[c++]:0,c<h?t[c++]:0):(r=t.charCodeAt(c++),n=c<h?t.charCodeAt(c++):0,c<h?t.charCodeAt(c++):0),s=(3&r)<<4|n>>4,u=1<l?(15&n)<<2|e>>6:64,a=2<l?63&e:64,f.push(o.charAt(r>>2)+o.charAt(s)+o.charAt(u)+o.charAt(a));return f.join("")},n.decode=function(t){var r,n,i,s,u,a,f=0,c=0,h="data:";if(t.substr(0,h.length)===h)throw new Error("Invalid base64 input, it looks like a data url.");var l,d=3*(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&d--,t.charAt(t.length-2)===o.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=e.uint8array?new Uint8Array(0|d):new Array(0|d);f<t.length;)r=o.indexOf(t.charAt(f++))<<2|(s=o.indexOf(t.charAt(f++)))>>4,n=(15&s)<<4|(u=o.indexOf(t.charAt(f++)))>>2,i=(3&u)<<6|(a=o.indexOf(t.charAt(f++))),l[c++]=r,64!==u&&(l[c++]=n),64!==a&&(l[c++]=i);return l}},{"./support":30,"./utils":32}],2:[function(t,r){var n=t("./external"),i=t("./stream/DataWorker"),e=t("./stream/Crc32Probe"),o=t("./stream/DataLengthProbe");function s(t,r,n,i,e){this.compressedSize=t,this.uncompressedSize=r,this.crc32=n,this.compression=i,this.compressedContent=e}s.prototype={getContentWorker:function(){var t=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),r=this;return t.on("end",(function(){if(this.streamInfo.data_length!==r.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(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,r,n){return t.pipe(new e).pipe(new o("uncompressedSize")).pipe(r.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",r)},r.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,r,n){var i=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,r){var n=t("./utils"),i=function(){for(var t,r=[],n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;r[n]=t}return r}();r.exports=function(t,r){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,r,n){var e=i,o=0+n;t^=-1;for(var s=0;s<o;s++)t=t>>>8^e[255&(t^r[s])];return-1^t}(0|r,t,t.length):function(t,r,n){var e=i,o=0+n;t^=-1;for(var s=0;s<o;s++)t=t>>>8^e[255&(t^r.charCodeAt(s))];return-1^t}(0|r,t,t.length):0}},{"./utils":32}],5:[function(t,r,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,r){var n;n="undefined"!=typeof Promise?Promise:t("lie"),r.exports={Promise:n}},{lie:37}],7:[function(t,r,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,e=t("pako"),o=t("./utils"),s=t("./stream/GenericWorker"),u=i?"uint8array":"array";function a(t,r){s.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=r,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(u,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(r){t.push({data:r,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,r){function n(t,r){var n,i="";for(n=0;n<r;n++)i+=String.fromCharCode(255&t),t>>>=8;return i}function i(t,r,i,o,f,c){var h,l,d=t.file,v=t.compression,b=c!==s.utf8encode,y=e.transformTo("string",c(d.name)),m=e.transformTo("string",s.utf8encode(d.name)),p=d.comment,w=e.transformTo("string",c(p)),k=e.transformTo("string",s.utf8encode(p)),g=m.length!==d.name.length,A=k.length!==p.length,S="",j="",O="",E=d.dir,U=d.date,I={crc32:0,compressedSize:0,uncompressedSize:0};r&&!i||(I.crc32=t.crc32,I.compressedSize=t.compressedSize,I.uncompressedSize=t.uncompressedSize);var z=0;r&&(z|=8),b||!g&&!A||(z|=2048);var C=0,T=0;E&&(C|=16),"UNIX"===f?(T=798,C|=function(t,r){var n=t;return t||(n=r?16893:33204),(65535&n)<<16}(d.unixPermissions,E)):(T=20,C|=function(t){return 63&(t||0)}(d.dosPermissions)),h=U.getUTCHours(),h<<=6,h|=U.getUTCMinutes(),h<<=5,h|=U.getUTCSeconds()/2,l=U.getUTCFullYear()-1980,l<<=4,l|=U.getUTCMonth()+1,l<<=5,l|=U.getUTCDate(),g&&(j=n(1,1)+n(u(y),4)+m,S+="up"+n(j.length,2)+j),A&&(O=n(1,1)+n(u(w),4)+k,S+="uc"+n(O.length,2)+O);var R="";return R+="\n\0",R+=n(z,2),R+=v.magic,R+=n(h,2),R+=n(l,2),R+=n(I.crc32,4),R+=n(I.compressedSize,4),R+=n(I.uncompressedSize,4),R+=n(y.length,2),R+=n(S.length,2),{fileRecord:a.LOCAL_FILE_HEADER+R+y+S,dirRecord:a.CENTRAL_FILE_HEADER+n(T,2)+R+n(w.length,2)+"\0\0\0\0"+n(C,4)+n(o,4)+y+S+w}}var e=t("../utils"),o=t("../stream/GenericWorker"),s=t("../utf8"),u=t("../crc32"),a=t("../signature");function f(t,r,n,i){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=r,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}e.inherits(f,o),f.prototype.push=function(t){var r=t.meta.percent||0,n=this.entriesCount,i=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?(r+100*(n-i-1))/n:100}}))},f.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var r=this.streamFiles&&!t.file.dir;if(r){var n=i(t,r,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(t){this.accumulate=!1;var r=this.streamFiles&&!t.file.dir,e=i(t,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(e.dirRecord),r)this.push({data:function(t){return a.DATA_DESCRIPTOR+n(t.crc32,4)+n(t.compressedSize,4)+n(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:e.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var t=this.bytesWritten,r=0;r<this.dirRecords.length;r++)this.push({data:this.dirRecords[r],meta:{percent:100}});var i=function(t,r,i,o,s){var u=e.transformTo("string",s(o));return a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(t,2)+n(t,2)+n(r,4)+n(i,4)+n(u.length,2)+u}(this.dirRecords.length,this.bytesWritten-t,t,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(t){this._sources.push(t);var r=this;return t.on("data",(function(t){r.processChunk(t)})),t.on("end",(function(){r.closedSource(r.previous.streamInfo),r._sources.length?r.prepareNextSource():r.end()})),t.on("error",(function(t){r.error(t)})),this},f.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))},f.prototype.error=function(t){var r=this._sources;if(!o.prototype.error.call(this,t))return!1;for(var n=0;n<r.length;n++)try{r[n].error(t)}catch(t){}return!0},f.prototype.lock=function(){o.prototype.lock.call(this);for(var t=this._sources,r=0;r<t.length;r++)t[r].lock()},r.exports=f},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,r,n){var i=t("../compressions"),e=t("./ZipFileWorker");n.generateWorker=function(t,r,n){var o=new e(r.streamFiles,n,r.platform,r.encodeFileName),s=0;try{t.forEach((function(t,n){s++;var e=function(t,r){var n=t||r,e=i[n];if(!e)throw new Error(n+" is not a valid compression method !");return e}(n.options.compression,r.compression),u=n.dir,a=n.date;n._compressWorker(e,n.options.compressionOptions||r.compressionOptions||{}).withStreamInfo("file",{name:t,dir:u,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,r){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=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new n;for(var r in this)"function"!=typeof this[r]&&(t[r]=this[r]);return t}}(n.prototype=t("./object")).loadAsync=t("./load"),n.support=t("./support"),n.defaults=t("./defaults"),n.version="3.7.1",n.loadAsync=function(t,r){return(new n).loadAsync(t,r)},n.external=t("./external"),r.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,r){var n=t("./utils"),i=t("./external"),e=t("./utf8"),o=t("./zipEntries"),s=t("./stream/Crc32Probe"),u=t("./nodejsUtils");function a(t){return new i.Promise((function(r,n){var i=t.decompressed.getContentWorker().pipe(new s);i.on("error",(function(t){n(t)})).on("end",(function(){i.streamInfo.crc32!==t.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):r()})).resume()}))}r.exports=function(t,r){var s=this;return r=n.extend(r||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:e.utf8decode}),u.isNode&&u.isStream(t)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",t,!0,r.optimizedBinaryString,r.base64).then((function(t){var n=new o(r);return n.load(t),n})).then((function(t){var n=[i.Promise.resolve(t)],e=t.files;if(r.checkCRC32)for(var o=0;o<e.length;o++)n.push(a(e[o]));return i.Promise.all(n)})).then((function(t){for(var n=t.shift(),i=n.files,e=0;e<i.length;e++){var o=i[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:r.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,r){var n=t("../utils"),i=t("../stream/GenericWorker");function e(t,r){i.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(r)}n.inherits(e,i),e.prototype._bindStream=function(t){var r=this;(this._stream=t).pause(),t.on("data",(function(t){r.push({data:t,meta:{percent:0}})})).on("error",(function(t){r.isPaused?this.generatedError=t:r.error(t)})).on("end",(function(){r.isPaused?r._upstreamEnded=!0:r.end()}))},e.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},e.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=e},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,r){var n=t("readable-stream").Readable;function i(t,r,i){n.call(this,r),this._helper=t;var e=this;t.on("data",(function(t,r){e.push(t)||e._helper.pause(),i&&i(r)})).on("error",(function(t){e.emit("error",t)})).on("end",(function(){e.push(null)}))}t("../utils").inherits(i,n),i.prototype._read=function(){this._helper.resume()},r.exports=i},{"../utils":32,"readable-stream":16}],14:[function(t,r){r.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,r){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,r);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,r)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var r=new Buffer(t);return r.fill(0),r},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,r){function n(t,r,n){var i,s=e.getTypeOf(r),c=e.extend(n||{},u);c.date=c.date||new Date,null!==c.compression&&(c.compression=c.compression.toUpperCase()),"string"==typeof c.unixPermissions&&(c.unixPermissions=parseInt(c.unixPermissions,8)),c.unixPermissions&&16384&c.unixPermissions&&(c.dir=!0),c.dosPermissions&&16&c.dosPermissions&&(c.dir=!0),c.dir&&(t=v(t)),c.createFolders&&(i=d(t))&&b.call(this,i,!0),n&&void 0!==n.binary||(c.binary=!("string"===s&&!1===c.binary&&!1===c.base64)),(r instanceof a&&0===r.uncompressedSize||c.dir||!r||0===r.length)&&(c.base64=!1,c.binary=!0,r="",c.compression="STORE",s="string");var y;y=r instanceof a||r instanceof o?r:h.isNode&&h.isStream(r)?new l(t,r):e.prepareContent(t,r,c.binary,c.optimizedBinaryString,c.base64);var m=new f(t,y,c);this.files[t]=m}var i=t("./utf8"),e=t("./utils"),o=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),u=t("./defaults"),a=t("./compressedObject"),f=t("./zipObject"),c=t("./generate"),h=t("./nodejsUtils"),l=t("./nodejs/NodejsStreamInputAdapter"),d=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var r=t.lastIndexOf("/");return 0<r?t.substring(0,r):""},v=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},b=function(t,r){return r=void 0!==r?r:u.createFolders,t=v(t),this.files[t]||n.call(this,t,null,{dir:!0,createFolders:r}),this.files[t]};function y(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var m={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var r,n,i;for(r in this.files)i=this.files[r],(n=r.slice(this.root.length,r.length))&&r.slice(0,this.root.length)===this.root&&t(n,i)},filter:function(t){var r=[];return this.forEach((function(n,i){t(n,i)&&r.push(i)})),r},file:function(t,r,i){if(1!==arguments.length)return n.call(this,t=this.root+t,r,i),this;if(y(t)){var e=t;return this.filter((function(t,r){return!r.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(y(t))return this.filter((function(r,n){return n.dir&&t.test(r)}));var r=b.call(this,this.root+t),n=this.clone();return n.root=r.name,n},remove:function(t){var r=this.files[t=this.root+t];if(r||("/"!==t.slice(-1)&&(t+="/"),r=this.files[t]),r&&!r.dir)delete this.files[t];else for(var n=this.filter((function(r,n){return n.name.slice(0,t.length)===t})),i=0;i<n.length;i++)delete this.files[n[i].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 r,n={};try{if((n=e.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:i.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");e.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS"),r=c.generateWorker(this,n,n.comment||this.comment||"")}catch(t){(r=new o("error")).error(t)}return new s(r,n.type||"string",n.mimeType)},generateAsync:function(t,r){return this.generateInternalStream(t).accumulate(r)},generateNodeStream:function(t,r){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(r)}};r.exports=m},{"./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,r){r.exports=t("stream")},{stream:void 0}],17:[function(t,r){var n=t("./DataReader");function i(t){n.call(this,t);for(var r=0;r<this.data.length;r++)t[r]=255&t[r]}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data[this.zero+t]},i.prototype.lastIndexOfSignature=function(t){for(var r=t.charCodeAt(0),n=t.charCodeAt(1),i=t.charCodeAt(2),e=t.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===r&&this.data[o+1]===n&&this.data[o+2]===i&&this.data[o+3]===e)return o-this.zero;return-1},i.prototype.readAndCheckSignature=function(t){var r=t.charCodeAt(0),n=t.charCodeAt(1),i=t.charCodeAt(2),e=t.charCodeAt(3),o=this.readData(4);return r===o[0]&&n===o[1]&&i===o[2]&&e===o[3]},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=i},{"../utils":32,"./DataReader":18}],18:[function(t,r){var n=t("../utils");function i(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}i.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 r,n=0;for(this.checkOffset(t),r=this.index+t-1;r>=this.index;r--)n=(n<<8)+this.byteAt(r);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))}},r.exports=i},{"../utils":32}],19:[function(t,r){var n=t("./Uint8ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){this.checkOffset(t);var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,r){var n=t("./DataReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var r=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=i},{"../utils":32,"./DataReader":18}],21:[function(t,r){var n=t("./ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var r=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,r},r.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(t,r){var n=t("../utils"),i=t("../support"),e=t("./ArrayReader"),o=t("./StringReader"),s=t("./NodeBufferReader"),u=t("./Uint8ArrayReader");r.exports=function(t){var r=n.getTypeOf(t);return n.checkSupport(r),"string"!==r||i.uint8array?"nodebuffer"===r?new s(t):i.uint8array?new u(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,r,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,r){var n=t("./GenericWorker"),i=t("../utils");function e(t){n.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(e,n),e.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},r.exports=e},{"../utils":32,"./GenericWorker":28}],25:[function(t,r){var n=t("./GenericWorker"),i=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=i(t.data,this.streamInfo.crc32||0),this.push(t)},r.exports=e},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,r){var n=t("../utils"),i=t("./GenericWorker");function e(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(e,i),e.prototype.processChunk=function(t){t&&(this.streamInfo[this.propName]=(this.streamInfo[this.propName]||0)+t.data.length),i.prototype.processChunk.call(this,t)},r.exports=e},{"../utils":32,"./GenericWorker":28}],27:[function(t,r){var n=t("../utils"),i=t("./GenericWorker");function e(t){i.call(this,"DataWorker");var r=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){r.dataIsReady=!0,r.data=t,r.max=t&&t.length||0,r.type=n.getTypeOf(t),r.isPaused||r._tickAndRepeat()}),(function(t){r.error(t)}))}n.inherits(e,i),e.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},e.prototype.resume=function(){return!!i.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,r=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,r);break;case"uint8array":t=this.data.subarray(this.index,r);break;case"array":case"nodebuffer":t=this.data.slice(this.index,r)}return this.index=r,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=e},{"../utils":32,"./GenericWorker":28}],28:[function(t,r){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,r){return this._listeners[t].push(r),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,r){if(this._listeners[t])for(var n=0;n<this._listeners[t].length;n++)this._listeners[t][n].call(this,r)},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 r=this;return t.on("data",(function(t){r.processChunk(t)})),t.on("end",(function(){r.end()})),t.on("error",(function(t){r.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,r){return this.extraStreamInfo[t]=r,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}},r.exports=n},{}],29:[function(t,r){var n=t("../utils"),i=t("./ConvertWorker"),e=t("./GenericWorker"),o=t("../base64"),s=t("../support"),u=t("../external"),a=null;if(s.nodestream)try{a=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function f(t,r,o){var s=r;switch(r){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=r,this._mimeType=o,n.checkSupport(s),this._worker=t.pipe(new i(s)),t.lock()}catch(t){this._worker=new e("error"),this._worker.error(t)}}f.prototype={accumulate:function(t){return function(t,r){return new u.Promise((function(i,e){var s=[],u=t._internalType,a=t._outputType,f=t._mimeType;t.on("data",(function(t,n){s.push(t),r&&r(n)})).on("error",(function(t){s=[],e(t)})).on("end",(function(){try{var t=function(t,r,i){switch(t){case"blob":return n.newBlob(n.transformTo("arraybuffer",r),i);case"base64":return o.encode(r);default:return n.transformTo(t,r)}}(a,function(t,r){var n,i=0,e=null,o=0;for(n=0;n<r.length;n++)o+=r[n].length;switch(t){case"string":return r.join("");case"array":return Array.prototype.concat.apply([],r);case"uint8array":for(e=new Uint8Array(o),n=0;n<r.length;n++)e.set(r[n],i),i+=r[n].length;return e;case"nodebuffer":return Buffer.concat(r);default:throw new Error("concat : unsupported type '"+t+"'")}}(u,s),f);i(t)}catch(t){e(t)}s=[]})).resume()}))}(this,t)},on:function(t,r){var i=this;return this._worker.on(t,"data"===t?function(t){r.call(i,t.data,t.meta)}:function(){n.delay(r,arguments,i)}),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)}},r.exports=f},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,r,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 i=new ArrayBuffer(0);try{n.blob=0===new Blob([i],{type:"application/zip"}).size}catch(t){try{var e=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);e.append(i),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,r,n){for(var i=t("./utils"),e=t("./support"),o=t("./nodejsUtils"),s=t("./stream/GenericWorker"),u=new Array(256),a=0;a<256;a++)u[a]=252<=a?6:248<=a?5:240<=a?4:224<=a?3:192<=a?2:1;function f(){s.call(this,"utf-8 decode"),this.leftOver=null}function c(){s.call(this,"utf-8 encode")}u[254]=u[254]=1,n.utf8encode=function(t){return e.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var r,n,i,o,s,u=t.length,a=0;for(o=0;o<u;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),a+=n<128?1:n<2048?2:n<65536?3:4;for(r=e.uint8array?new Uint8Array(a):new Array(a),o=s=0;s<a;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?r[s++]=n:(n<2048?r[s++]=192|n>>>6:(n<65536?r[s++]=224|n>>>12:(r[s++]=240|n>>>18,r[s++]=128|n>>>12&63),r[s++]=128|n>>>6&63),r[s++]=128|63&n);return r}(t)},n.utf8decode=function(t){return e.nodebuffer?i.transformTo("nodebuffer",t).toString("utf-8"):function(t){var r,n,e,o,s=t.length,a=new Array(2*s);for(r=n=0;r<s;)if((e=t[r++])<128)a[n++]=e;else if(4<(o=u[e]))a[n++]=65533,r+=o-1;else{for(e&=2===o?31:3===o?15:7;1<o&&r<s;)e=e<<6|63&t[r++],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),i.applyFromCharCode(a)}(t=i.transformTo(e.uint8array?"uint8array":"array",t))},i.inherits(f,s),f.prototype.processChunk=function(t){var r=i.transformTo(e.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(e.uint8array){var o=r;(r=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),r.set(o,this.leftOver.length)}else r=this.leftOver.concat(r);this.leftOver=null}var s=function(t,r){var n;for((r=r||t.length)>t.length&&(r=t.length),n=r-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?r:n+u[t[n]]>r?n:r}(r),a=r;s!==r.length&&(e.uint8array?(a=r.subarray(0,s),this.leftOver=r.subarray(s,r.length)):(a=r.slice(0,s),this.leftOver=r.slice(s,r.length))),this.push({data:n.utf8decode(a),meta:t.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=f,i.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,r,n){var i=t("./support"),e=t("./base64"),o=t("./nodejsUtils"),s=t("set-immediate-shim"),u=t("./external");function a(t){return t}function f(t,r){for(var n=0;n<t.length;++n)r[n]=255&t.charCodeAt(n);return r}n.newBlob=function(r,i){n.checkSupport("blob");try{return new Blob([r],{type:i})}catch(t){try{var e=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return e.append(r),e.getBlob(i)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(t,r,n){var i=[],e=0,o=t.length;if(o<=n)return String.fromCharCode.apply(null,t);for(;e<o;)i.push(String.fromCharCode.apply(null,"array"===r||"nodebuffer"===r?t.slice(e,Math.min(e+n,o)):t.subarray(e,Math.min(e+n,o)))),e+=n;return i.join("")},stringifyByChar:function(t){for(var r="",n=0;n<t.length;n++)r+=String.fromCharCode(t[n]);return r},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function h(t){var r=65536,i=n.getTypeOf(t),e=!0;if("uint8array"===i?e=c.applyCanBeUsed.uint8array:"nodebuffer"===i&&(e=c.applyCanBeUsed.nodebuffer),e)for(;1<r;)try{return c.stringifyByChunk(t,i,r)}catch(t){r=Math.floor(r/2)}return c.stringifyByChar(t)}function l(t,r){for(var n=0;n<t.length;n++)r[n]=t[n];return r}n.applyFromCharCode=h;var d={};d.string={string:a,array:function(t){return f(t,new Array(t.length))},arraybuffer:function(t){return d.string.uint8array(t).buffer},uint8array:function(t){return f(t,new Uint8Array(t.length))},nodebuffer:function(t){return f(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,r){if(r=r||"",!t)return r;n.checkSupport(t);var i=n.getTypeOf(r);return d[i][t](r)},n.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":i.nodebuffer&&o.isBuffer(t)?"nodebuffer":i.uint8array&&t instanceof Uint8Array?"uint8array":i.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(t){if(!i[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 r,n,i="";for(n=0;n<(t||"").length;n++)i+="\\x"+((r=t.charCodeAt(n))<16?"0":"")+r.toString(16).toUpperCase();return i},n.delay=function(t,r,n){s((function(){t.apply(n||null,r||[])}))},n.inherits=function(t,r){function n(){}n.prototype=r.prototype,t.prototype=new n},n.extend=function(){var t,r,n={};for(t=0;t<arguments.length;t++)for(r in arguments[t])arguments[t].hasOwnProperty(r)&&void 0===n[r]&&(n[r]=arguments[t][r]);return n},n.prepareContent=function(t,r,o,s,a){return u.Promise.resolve(r).then((function(t){return i.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new u.Promise((function(r,n){var i=new FileReader;i.onload=function(t){r(t.target.result)},i.onerror=function(t){n(t.target.error)},i.readAsArrayBuffer(t)})):t})).then((function(r){var c=n.getTypeOf(r);return c?("arraybuffer"===c?r=n.transformTo("uint8array",r):"string"===c&&(a?r=e.decode(r):o&&!0!==s&&(r=function(t){return f(t,i.uint8array?new Uint8Array(t.length):new Array(t.length))}(r))),r):u.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,r){var n=t("./reader/readerFor"),i=t("./utils"),e=t("./signature"),o=t("./zipEntry"),s=(t("./utf8"),t("./support"));function u(t){this.files=[],this.loadOptions=t}u.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var r=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(r)+", expected "+i.pretty(t)+")")}},isSignature:function(t,r){var n=this.reader.index;this.reader.setIndex(t);var i=this.reader.readString(4)===r;return this.reader.setIndex(n),i},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),r=i.transformTo(s.uint8array?"uint8array":"array",t);this.zipComment=this.loadOptions.decodeFileName(r)},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,r,n,i=this.zip64EndOfCentralSize-44;0<i;)t=this.reader.readInt(2),r=this.reader.readInt(4),n=this.reader.readData(r),this.zip64ExtensibleData[t]={id:t,length:r,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,r;for(t=0;t<this.files.length;t++)this.reader.setIndex((r=this.files[t]).localHeaderOffset),this.checkSignature(e.LOCAL_FILE_HEADER),r.readLocalPart(this.reader),r.handleUTF8(),r.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 r=t;if(this.checkSignature(e.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(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=r-n;if(0<o)this.isSignature(r,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()}},r.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(t,r){var n=t("./reader/readerFor"),i=t("./utils"),e=t("./compressedObject"),o=t("./crc32"),s=t("./utf8"),u=t("./compressions"),a=t("./support");function f(t,r){this.options=t,this.loadOptions=r}f.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var r,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===(r=function(t){for(var r in u)if(u.hasOwnProperty(r)&&u[r].magic===t)return u[r];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new e(this.compressedSize,this.uncompressedSize,this.crc32,r,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 r=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(r),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===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var r,n,i,e=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<e;)r=t.readInt(2),n=t.readInt(2),i=t.readData(n),this.extraFields[r]={id:r,length:n,value:i};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 r=this.findExtraFieldUnicodePath();if(null!==r)this.fileNameStr=r;else{var n=i.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var e=this.findExtraFieldUnicodeComment();if(null!==e)this.fileCommentStr=e;else{var o=i.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var r=n(t.value);return 1!==r.readInt(1)||o(this.fileName)!==r.readInt(4)?null:s.utf8decode(r.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var r=n(t.value);return 1!==r.readInt(1)||o(this.fileComment)!==r.readInt(4)?null:s.utf8decode(r.readData(t.length-5))}return null}},r.exports=f},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,r){function n(t,r,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=r,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var i=t("./stream/StreamHelper"),e=t("./stream/DataWorker"),o=t("./utf8"),s=t("./compressedObject"),u=t("./stream/GenericWorker");n.prototype={internalStream:function(t){var r=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"),r=this._decompressWorker();var s=!this._dataBinary;s&&!e&&(r=r.pipe(new o.Utf8EncodeWorker)),!s&&e&&(r=r.pipe(new o.Utf8DecodeWorker))}catch(t){(r=new u("error")).error(t)}return new i(r,n,"")},async:function(t,r){return this.internalStream(t).accumulate(r)},nodeStream:function(t,r){return this.internalStream(t||"nodebuffer").toNodejsStream(r)},_compressWorker:function(t,r){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,r)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof u?this._data:new e(this._data)}};for(var a=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],f=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]]=f;r.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,n){(function(t){var r,i,e=t.MutationObserver||t.WebKitMutationObserver;if(e){var o=0,s=new e(c),u=t.document.createTextNode("");s.observe(u,{characterData:!0}),r=function(){u.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)r="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var r=t.document.createElement("script");r.onreadystatechange=function(){c(),r.onreadystatechange=null,r.parentNode.removeChild(r),r=null},t.document.documentElement.appendChild(r)}:function(){setTimeout(c,0)};else{var a=new t.MessageChannel;a.port1.onmessage=c,r=function(){a.port2.postMessage(0)}}var f=[];function c(){var t,r;i=!0;for(var n=f.length;n;){for(r=f,f=[],t=-1;++t<n;)r[t]();n=f.length}i=!1}n.exports=function(t){1!==f.push(t)||i||r()}}).call(this,void 0!==r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,r){var n=t("immediate");function i(){}var e={},o=["REJECTED"],s=["FULFILLED"],u=["PENDING"];function a(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,t!==i&&l(this,t)}function f(t,r,n){this.promise=t,"function"==typeof r&&(this.onFulfilled=r,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function c(t,r,i){n((function(){var n;try{n=r(i)}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 r=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof r)return function(){r.apply(t,arguments)}}function l(t,r){var n=!1;function i(r){n||(n=!0,e.reject(t,r))}function o(r){n||(n=!0,e.resolve(t,r))}var s=d((function(){r(o,i)}));"error"===s.status&&i(s.value)}function d(t,r){var n={};try{n.value=t(r),n.status="success"}catch(t){n.status="error",n.value=t}return n}(r.exports=a).prototype.finally=function(t){if("function"!=typeof t)return this;var r=this.constructor;return this.then((function(n){return r.resolve(t()).then((function(){return n}))}),(function(n){return r.resolve(t()).then((function(){throw n}))}))},a.prototype.catch=function(t){return this.then(null,t)},a.prototype.then=function(t,r){if("function"!=typeof t&&this.state===s||"function"!=typeof r&&this.state===o)return this;var n=new this.constructor(i);return this.state!==u?c(n,this.state===s?t:r,this.outcome):this.queue.push(new f(n,t,r)),n},f.prototype.callFulfilled=function(t){e.resolve(this.promise,t)},f.prototype.otherCallFulfilled=function(t){c(this.promise,this.onFulfilled,t)},f.prototype.callRejected=function(t){e.reject(this.promise,t)},f.prototype.otherCallRejected=function(t){c(this.promise,this.onRejected,t)},e.resolve=function(t,r){var n=d(h,r);if("error"===n.status)return e.reject(t,n.value);var i=n.value;if(i)l(t,i);else{t.state=s,t.outcome=r;for(var o=-1,u=t.queue.length;++o<u;)t.queue[o].callFulfilled(r)}return t},e.reject=function(t,r){t.state=o,t.outcome=r;for(var n=-1,i=t.queue.length;++n<i;)t.queue[n].callRejected(r);return t},a.resolve=function(t){return t instanceof this?t:e.resolve(new this(i),t)},a.reject=function(t){var r=new this(i);return e.reject(r,t)},a.all=function(t){var r=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),u=0,a=-1,f=new this(i);++a<n;)c(t[a],a);return f;function c(t,i){r.resolve(t).then((function(t){s[i]=t,++u!==n||o||(o=!0,e.resolve(f,s))}),(function(t){o||(o=!0,e.reject(f,t))}))}},a.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,n=!1;if(!r)return this.resolve([]);for(var o=-1,s=new this(i);++o<r;)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,r){var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),r.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,r,n){var i=t("./zlib/deflate"),e=t("./utils/common"),o=t("./utils/strings"),s=t("./zlib/messages"),u=t("./zlib/zstream"),a=Object.prototype.toString;function f(t){if(!(this instanceof f))return new f(t);this.options=e.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var r=this.options;r.raw&&0<r.windowBits?r.windowBits=-r.windowBits:r.gzip&&0<r.windowBits&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var n=i.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(0!==n)throw new Error(s[n]);if(r.header&&i.deflateSetHeader(this.strm,r.header),r.dictionary){var c;if(c="string"==typeof r.dictionary?o.string2buf(r.dictionary):"[object ArrayBuffer]"===a.call(r.dictionary)?new Uint8Array(r.dictionary):r.dictionary,0!==(n=i.deflateSetDictionary(this.strm,c)))throw new Error(s[n]);this._dict_set=!0}}function c(t,r){var n=new f(r);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}f.prototype.push=function(t,r){var n,s,u=this.strm,f=this.options.chunkSize;if(this.ended)return!1;s=r===~~r?r:!0===r?4:0,u.input="string"==typeof t?o.string2buf(t):"[object ArrayBuffer]"===a.call(t)?new Uint8Array(t):t,u.next_in=0,u.avail_in=u.input.length;do{if(0===u.avail_out&&(u.output=new e.Buf8(f),u.next_out=0,u.avail_out=f),1!==(n=i.deflate(u,s))&&0!==n)return this.onEnd(n),!(this.ended=!0);0!==u.avail_out&&(0!==u.avail_in||4!==s&&2!==s)||this.onData("string"===this.options.to?o.buf2binstring(e.shrinkBuf(u.output,u.next_out)):e.shrinkBuf(u.output,u.next_out))}while((0<u.avail_in||0===u.avail_out)&&1!==n);return 4===s?(n=i.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==s||(this.onEnd(0),!(u.avail_out=0))},f.prototype.onData=function(t){this.chunks.push(t)},f.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=f,n.deflate=c,n.deflateRaw=function(t,r){return(r=r||{}).raw=!0,c(t,r)},n.gzip=function(t,r){return(r=r||{}).gzip=!0,c(t,r)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,r,n){var i=t("./zlib/inflate"),e=t("./utils/common"),o=t("./utils/strings"),s=t("./zlib/constants"),u=t("./zlib/messages"),a=t("./zlib/zstream"),f=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 r=this.options;r.raw&&0<=r.windowBits&&r.windowBits<16&&(r.windowBits=-r.windowBits,0===r.windowBits&&(r.windowBits=-15)),!(0<=r.windowBits&&r.windowBits<16)||t&&t.windowBits||(r.windowBits+=32),15<r.windowBits&&r.windowBits<48&&0==(15&r.windowBits)&&(r.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var n=i.inflateInit2(this.strm,r.windowBits);if(n!==s.Z_OK)throw new Error(u[n]);this.header=new f,i.inflateGetHeader(this.strm,this.header)}function l(t,r){var n=new h(r);if(n.push(t,!0),n.err)throw n.msg||u[n.err];return n.result}h.prototype.push=function(t,r){var n,u,a,f,h,l,d=this.strm,v=this.options.chunkSize,b=this.options.dictionary,y=!1;if(this.ended)return!1;u=r===~~r?r:!0===r?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(v),d.next_out=0,d.avail_out=v),(n=i.inflate(d,s.Z_NO_FLUSH))===s.Z_NEED_DICT&&b&&(l="string"==typeof b?o.string2buf(b):"[object ArrayBuffer]"===c.call(b)?new Uint8Array(b):b,n=i.inflateSetDictionary(this.strm,l)),n===s.Z_BUF_ERROR&&!0===y&&(n=s.Z_OK,y=!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||u!==s.Z_FINISH&&u!==s.Z_SYNC_FLUSH)||("string"===this.options.to?(a=o.utf8border(d.output,d.next_out),f=d.next_out-a,h=o.buf2string(d.output,a),d.next_out=f,d.avail_out=v-f,f&&e.arraySet(d.output,d.output,a,f,0),this.onData(h)):this.onData(e.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(y=!0)}while((0<d.avail_in||0===d.avail_out)&&n!==s.Z_STREAM_END);return n===s.Z_STREAM_END&&(u=s.Z_FINISH),u===s.Z_FINISH?(n=i.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===s.Z_OK):u!==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,r){return(r=r||{}).raw=!0,l(t,r)},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,r,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var r=Array.prototype.slice.call(arguments,1);r.length;){var n=r.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i])}}return t},n.shrinkBuf=function(t,r){return t.length===r?t:t.subarray?t.subarray(0,r):(t.length=r,t)};var e={arraySet:function(t,r,n,i,e){if(r.subarray&&t.subarray)t.set(r.subarray(n,n+i),e);else for(var o=0;o<i;o++)t[e+o]=r[n+o]},flattenChunks:function(t){var r,n,i,e,o,s;for(r=i=0,n=t.length;r<n;r++)i+=t[r].length;for(s=new Uint8Array(i),r=e=0,n=t.length;r<n;r++)s.set(o=t[r],e),e+=o.length;return s}},o={arraySet:function(t,r,n,i,e){for(var o=0;o<i;o++)t[e+o]=r[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(i)},{}],42:[function(t,r,n){var i=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 i.Buf8(256),u=0;u<256;u++)s[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function a(t,r){if(r<65537&&(t.subarray&&o||!t.subarray&&e))return String.fromCharCode.apply(null,i.shrinkBuf(t,r));for(var n="",s=0;s<r;s++)n+=String.fromCharCode(t[s]);return n}s[254]=s[254]=1,n.string2buf=function(t){var r,n,e,o,s,u=t.length,a=0;for(o=0;o<u;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&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(r=new i.Buf8(a),o=s=0;s<a;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<u&&56320==(64512&(e=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(e-56320),o++),n<128?r[s++]=n:(n<2048?r[s++]=192|n>>>6:(n<65536?r[s++]=224|n>>>12:(r[s++]=240|n>>>18,r[s++]=128|n>>>12&63),r[s++]=128|n>>>6&63),r[s++]=128|63&n);return r},n.buf2binstring=function(t){return a(t,t.length)},n.binstring2buf=function(t){for(var r=new i.Buf8(t.length),n=0,e=r.length;n<e;n++)r[n]=t.charCodeAt(n);return r},n.buf2string=function(t,r){var n,i,e,o,u=r||t.length,f=new Array(2*u);for(n=i=0;n<u;)if((e=t[n++])<128)f[i++]=e;else if(4<(o=s[e]))f[i++]=65533,n+=o-1;else{for(e&=2===o?31:3===o?15:7;1<o&&n<u;)e=e<<6|63&t[n++],o--;1<o?f[i++]=65533:e<65536?f[i++]=e:(f[i++]=55296|(e-=65536)>>10&1023,f[i++]=56320|1023&e)}return a(f,i)},n.utf8border=function(t,r){var n;for((r=r||t.length)>t.length&&(r=t.length),n=r-1;0<=n&&128==(192&t[n]);)n--;return n<0||0===n?r:n+s[t[n]]>r?n:r}},{"./common":41}],43:[function(t,r){r.exports=function(t,r,n,i){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+r[i++]|0)|0,--s;);e%=65521,o%=65521}return e|o<<16|0}},{}],44:[function(t,r){r.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,r){var n=function(){for(var t,r=[],n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;r[n]=t}return r}();r.exports=function(t,r,i,e){var o=n,s=e+i;t^=-1;for(var u=e;u<s;u++)t=t>>>8^o[255&(t^r[u])];return-1^t}},{}],46:[function(t,r,n){var i,e=t("../utils/common"),o=t("./trees"),s=t("./adler32"),u=t("./crc32"),a=t("./messages"),f=-2,c=258,h=262,l=113;function d(t,r){return t.msg=a[r],r}function v(t){return(t<<1)-(4<t?9:0)}function b(t){for(var r=t.length;0<=--r;)t[r]=0}function y(t){var r=t.state,n=r.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(e.arraySet(t.output,r.pending_buf,r.pending_out,n,t.next_out),t.next_out+=n,r.pending_out+=n,t.total_out+=n,t.avail_out-=n,r.pending-=n,0===r.pending&&(r.pending_out=0))}function m(t,r){o._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,r),t.block_start=t.strstart,y(t.strm)}function p(t,r){t.pending_buf[t.pending++]=r}function w(t,r){t.pending_buf[t.pending++]=r>>>8&255,t.pending_buf[t.pending++]=255&r}function k(t,r){var n,i,e=t.max_chain_length,o=t.strstart,s=t.prev_length,u=t.nice_match,a=t.strstart>t.w_size-h?t.strstart-(t.w_size-h):0,f=t.window,l=t.w_mask,d=t.prev,v=t.strstart+c,b=f[o+s-1],y=f[o+s];t.prev_length>=t.good_match&&(e>>=2),u>t.lookahead&&(u=t.lookahead);do{if(f[(n=r)+s]===y&&f[n+s-1]===b&&f[n]===f[o]&&f[++n]===f[o+1]){o+=2,n++;do{}while(f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&f[++o]===f[++n]&&o<v);if(i=c-(v-o),o=v-c,s<i){if(t.match_start=r,u<=(s=i))break;b=f[o+s-1],y=f[o+s]}}}while((r=d[r&l])>a&&0!=--e);return s<=t.lookahead?s:t.lookahead}function g(t){var r,n,i,o,a,f,c,l,d,v,b=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=b+(b-h)){for(e.arraySet(t.window,t.window,b,b,0),t.match_start-=b,t.strstart-=b,t.block_start-=b,r=n=t.hash_size;i=t.head[--r],t.head[r]=b<=i?i-b:0,--n;);for(r=n=b;i=t.prev[--r],t.prev[r]=b<=i?i-b:0,--n;);o+=b}if(0===t.strm.avail_in)break;if(c=t.window,l=t.strstart+t.lookahead,v=void 0,(d=o)<(v=(f=t.strm).avail_in)&&(v=d),n=0===v?0:(f.avail_in-=v,e.arraySet(c,f.input,f.next_in,v,l),1===f.state.wrap?f.adler=s(f.adler,c,v,l):2===f.state.wrap&&(f.adler=u(f.adler,c,v,l)),f.next_in+=v,f.total_in+=v,v),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 A(t,r){for(var n,i;;){if(t.lookahead<h){if(g(t),t.lookahead<h&&0===r)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=k(t,n)),t.match_length>=3)if(i=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 i=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(m(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===r?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}function S(t,r){for(var n,i,e;;){if(t.lookahead<h){if(g(t),t.lookahead<h&&0===r)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=k(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,i=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++,i&&(m(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((i=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&&(i=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===r?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}function j(t,r,n,i,e){this.good_length=t,this.max_lazy=r,this.nice_length=n,this.max_chain=i,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),b(this.dyn_ltree),b(this.dyn_dtree),b(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),b(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(573),b(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 E(t){var r;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(r=t.state).pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap?42:l,t.adler=2===r.wrap?0:1,r.last_flush=0,o._tr_init(r),0):d(t,f)}function U(t){var r=E(t);return 0===r&&function(t){t.window_size=2*t.w_size,b(t.head),t.max_lazy_match=i[t.level].max_lazy,t.good_match=i[t.level].good_length,t.nice_match=i[t.level].nice_length,t.max_chain_length=i[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0}(t.state),r}function I(t,r,n,i,o,s){if(!t)return f;var u=1;if(-1===r&&(r=6),i<0?(u=0,i=-i):15<i&&(u=2,i-=16),o<1||9<o||8!==n||i<8||15<i||r<0||9<r||s<0||4<s)return d(t,f);8===i&&(i=9);var a=new O;return(t.state=a).strm=t,a.wrap=u,a.gzhead=null,a.w_bits=i,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=r,a.strategy=s,a.method=n,U(t)}i=[new j(0,0,0,0,(function(t,r){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(g(t),0===t.lookahead&&0===r)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+n;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,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===r?(m(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&m(t,!1),1)})),new j(4,4,8,4,A),new j(4,5,16,8,A),new j(4,6,32,32,A),new j(4,4,16,16,S),new j(8,16,32,32,S),new j(8,16,128,128,S),new j(8,32,128,256,S),new j(32,128,258,1024,S),new j(32,258,258,4096,S)],n.deflateInit=function(t,r){return I(t,r,8,15,8,0)},n.deflateInit2=I,n.deflateReset=U,n.deflateResetKeep=E,n.deflateSetHeader=function(t,r){return t&&t.state?2!==t.state.wrap?f:(t.state.gzhead=r,0):f},n.deflate=function(t,r){var n,e,s,a;if(!t||!t.state||5<r||r<0)return t?d(t,f):f;if(e=t.state,!t.output||!t.input&&0!==t.avail_in||666===e.status&&4!==r)return d(t,0===t.avail_out?-5:f);if(e.strm=t,n=e.last_flush,e.last_flush=r,42===e.status)if(2===e.wrap)t.adler=0,p(e,31),p(e,139),p(e,8),e.gzhead?(p(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)),p(e,255&e.gzhead.time),p(e,e.gzhead.time>>8&255),p(e,e.gzhead.time>>16&255),p(e,e.gzhead.time>>24&255),p(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),p(e,255&e.gzhead.os),e.gzhead.extra&&e.gzhead.extra.length&&(p(e,255&e.gzhead.extra.length),p(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=u(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=69):(p(e,0),p(e,0),p(e,0),p(e,0),p(e,0),p(e,9===e.level?2:2<=e.strategy||e.level<2?4:0),p(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,w(e,h),0!==e.strstart&&(w(e,t.adler>>>16),w(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=u(t.adler,e.pending_buf,e.pending-s,s)),y(t),s=e.pending,e.pending!==e.pending_buf_size));)p(e,255&e.gzhead.extra[e.gzindex]),e.gzindex++;e.gzhead.hcrc&&e.pending>s&&(t.adler=u(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=u(t.adler,e.pending_buf,e.pending-s,s)),y(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,p(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>s&&(t.adler=u(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=u(t.adler,e.pending_buf,e.pending-s,s)),y(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,p(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>s&&(t.adler=u(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&&y(t),e.pending+2<=e.pending_buf_size&&(p(e,255&t.adler),p(e,t.adler>>8&255),t.adler=0,e.status=l)):e.status=l),0!==e.pending){if(y(t),0===t.avail_out)return e.last_flush=-1,0}else if(0===t.avail_in&&v(r)<=v(n)&&4!==r)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!==r&&666!==e.status){var k=2===e.strategy?function(t,r){for(var n;;){if(0===t.lookahead&&(g(t),0===t.lookahead)){if(0===r)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===r?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}(e,r):3===e.strategy?function(t,r){for(var n,i,e,s,u=t.window;;){if(t.lookahead<=c){if(g(t),t.lookahead<=c&&0===r)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&0<t.strstart&&(i=u[e=t.strstart-1])===u[++e]&&i===u[++e]&&i===u[++e]){s=t.strstart+c;do{}while(i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++e]&&i===u[++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===r?(m(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(m(t,!1),0===t.strm.avail_out)?1:2}(e,r):i[e.level].func(e,r);if(3!==k&&4!==k||(e.status=666),1===k||3===k)return 0===t.avail_out&&(e.last_flush=-1),0;if(2===k&&(1===r?o._tr_align(e):5!==r&&(o._tr_stored_block(e,0,0,!1),3===r&&(b(e.head),0===e.lookahead&&(e.strstart=0,e.block_start=0,e.insert=0))),y(t),0===t.avail_out))return e.last_flush=-1,0}return 4!==r?0:e.wrap<=0?1:(2===e.wrap?(p(e,255&t.adler),p(e,t.adler>>8&255),p(e,t.adler>>16&255),p(e,t.adler>>24&255),p(e,255&t.total_in),p(e,t.total_in>>8&255),p(e,t.total_in>>16&255),p(e,t.total_in>>24&255)):(w(e,t.adler>>>16),w(e,65535&t.adler)),y(t),0<e.wrap&&(e.wrap=-e.wrap),0!==e.pending?0:1)},n.deflateEnd=function(t){var r;return t&&t.state?42!==(r=t.state.status)&&69!==r&&73!==r&&91!==r&&103!==r&&r!==l&&666!==r?d(t,f):(t.state=null,r===l?d(t,-3):0):f},n.deflateSetDictionary=function(t,r){var n,i,o,u,a,c,h,l,d=r.length;if(!t||!t.state)return f;if(2===(u=(n=t.state).wrap)||1===u&&42!==n.status||n.lookahead)return f;for(1===u&&(t.adler=s(t.adler,r,d,0)),n.wrap=0,d>=n.w_size&&(0===u&&(b(n.head),n.strstart=0,n.block_start=0,n.insert=0),l=new e.Buf8(n.w_size),e.arraySet(l,r,d-n.w_size,n.w_size,0),r=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=r,g(n);n.lookahead>=3;){for(i=n.strstart,o=n.lookahead-2;n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+3-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++,--o;);n.strstart=i,n.lookahead=2,g(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=u,0},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,r){r.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,r){r.exports=function(t,r){var n,i,e,o,s,u,a,f,c,h,l,d,v,b,y,m,p,w,k,g,A,S,j,O,E;O=t.input,e=(i=t.next_in)+(t.avail_in-5),E=t.output,s=(o=t.next_out)-(r-t.avail_out),u=o+(t.avail_out-257),a=(n=t.state).dmax,f=n.wsize,c=n.whave,h=n.wnext,l=n.window,d=n.hold,v=n.bits,b=n.lencode,y=n.distcode,m=(1<<n.lenbits)-1,p=(1<<n.distbits)-1;t:do{v<15&&(d+=O[i++]<<v,d+=O[i++]<<(v+=8),v+=8),w=b[d&m];r:for(;;){if(d>>>=k=w>>>24,v-=k,0==(k=w>>>16&255))E[o++]=65535&w;else{if(!(16&k)){if(0==(64&k)){w=b[(65535&w)+(d&(1<<k)-1)];continue r}if(32&k){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}g=65535&w,(k&=15)&&(v<k&&(d+=O[i++]<<v,v+=8),g+=d&(1<<k)-1,d>>>=k,v-=k),v<15&&(d+=O[i++]<<v,d+=O[i++]<<(v+=8),v+=8),w=y[d&p];n:for(;;){if(d>>>=k=w>>>24,v-=k,!(16&(k=w>>>16&255))){if(0==(64&k)){w=y[(65535&w)+(d&(1<<k)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(A=65535&w,v<(k&=15)&&(d+=O[i++]<<v,(v+=8)<k&&(d+=O[i++]<<v,v+=8)),a<(A+=d&(1<<k)-1)){t.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=k,v-=k,(k=o-s)<A){if(c<(k=A-k)&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(j=l,(S=0)===h){if(S+=f-k,k<g){for(g-=k;E[o++]=l[S++],--k;);S=o-A,j=E}}else if(h<k){if(S+=f+h-k,(k-=h)<g){for(g-=k;E[o++]=l[S++],--k;);if(S=0,h<g){for(g-=k=h;E[o++]=l[S++],--k;);S=o-A,j=E}}}else if(S+=h-k,k<g){for(g-=k;E[o++]=l[S++],--k;);S=o-A,j=E}for(;2<g;)E[o++]=j[S++],E[o++]=j[S++],E[o++]=j[S++],g-=3;g&&(E[o++]=j[S++],1<g&&(E[o++]=j[S++]))}else{for(S=o-A;E[o++]=E[S++],E[o++]=E[S++],E[o++]=E[S++],2<(g-=3););g&&(E[o++]=E[S++],1<g&&(E[o++]=E[S++]))}break}}break}}while(i<e&&o<u);i-=g=v>>3,d&=(1<<(v-=g<<3))-1,t.next_in=i,t.next_out=o,t.avail_in=i<e?e-i+5:5-(i-e),t.avail_out=o<u?u-o+257:257-(o-u),n.hold=d,n.bits=v}},{}],49:[function(t,r,n){var i=t("../utils/common"),e=t("./adler32"),o=t("./crc32"),s=t("./inffast"),u=t("./inftrees"),a=-2;function f(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 i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function h(t){var r;return t&&t.state?(t.total_in=t.total_out=(r=t.state).total=0,t.msg="",r.wrap&&(t.adler=1&r.wrap),r.mode=1,r.last=0,r.havedict=0,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new i.Buf32(852),r.distcode=r.distdyn=new i.Buf32(592),r.sane=1,r.back=-1,0):a}function l(t){var r;return t&&t.state?((r=t.state).wsize=0,r.whave=0,r.wnext=0,h(t)):a}function d(t,r){var n,i;return t&&t.state?(i=t.state,r<0?(n=0,r=-r):(n=1+(r>>4),r<48&&(r&=15)),r&&(r<8||15<r)?a:(null!==i.window&&i.wbits!==r&&(i.window=null),i.wrap=n,i.wbits=r,l(t))):a}function v(t,r){var n,i;return t?(i=new c,(t.state=i).window=null,0!==(n=d(t,r))&&(t.state=null),n):a}var b,y,m=!0;function p(t){if(m){var r;for(b=new i.Buf32(512),y=new i.Buf32(32),r=0;r<144;)t.lens[r++]=8;for(;r<256;)t.lens[r++]=9;for(;r<280;)t.lens[r++]=7;for(;r<288;)t.lens[r++]=8;for(u(1,t.lens,0,288,b,0,t.work,{bits:9}),r=0;r<32;)t.lens[r++]=5;u(2,t.lens,0,32,y,0,t.work,{bits:5}),m=!1}t.lencode=b,t.lenbits=9,t.distcode=y,t.distbits=5}function w(t,r,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 i.Buf8(s.wsize)),e>=s.wsize?(i.arraySet(s.window,r,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(e<(o=s.wsize-s.wnext)&&(o=e),i.arraySet(s.window,r,n-e,o,s.wnext),(e-=o)?(i.arraySet(s.window,r,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 v(t,15)},n.inflateInit2=v,n.inflate=function(t,r){var n,c,h,l,d,v,b,y,m,k,g,A,S,j,O,E,U,I,z,C,T,R,F,B,_=0,D=new i.Buf8(4),x=[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,y=n.hold,m=n.bits,k=v=t.avail_in,g=b=t.avail_out,R=0;t:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(2&n.wrap&&35615===y){D[n.check=0]=255&y,D[1]=y>>>8&255,n.check=o(n.check,D,2,0),m=y=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&y)<<8)+(y>>8))%31){t.msg="incorrect header check",n.mode=30;break}if(8!=(15&y)){t.msg="unknown compression method",n.mode=30;break}if(m-=4,T=8+(15&(y>>>=4)),0===n.wbits)n.wbits=T;else if(T>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<T,t.adler=n.check=1,n.mode=512&y?10:12,m=y=0;break;case 2:for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(n.flags=y,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=y>>8&1),512&n.flags&&(D[0]=255&y,D[1]=y>>>8&255,n.check=o(n.check,D,2,0)),m=y=0,n.mode=3;case 3:for(;m<32;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.head&&(n.head.time=y),512&n.flags&&(D[0]=255&y,D[1]=y>>>8&255,D[2]=y>>>16&255,D[3]=y>>>24&255,n.check=o(n.check,D,4,0)),m=y=0,n.mode=4;case 4:for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.head&&(n.head.xflags=255&y,n.head.os=y>>8),512&n.flags&&(D[0]=255&y,D[1]=y>>>8&255,n.check=o(n.check,D,2,0)),m=y=0,n.mode=5;case 5:if(1024&n.flags){for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.length=y,n.head&&(n.head.extra_len=y),512&n.flags&&(D[0]=255&y,D[1]=y>>>8&255,n.check=o(n.check,D,2,0)),m=y=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(v<(A=n.length)&&(A=v),A&&(n.head&&(T=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,c,l,A,T)),512&n.flags&&(n.check=o(n.check,c,A,l)),v-=A,l+=A,n.length-=A),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===v)break t;for(A=0;T=c[l+A++],n.head&&T&&n.length<65536&&(n.head.name+=String.fromCharCode(T)),T&&A<v;);if(512&n.flags&&(n.check=o(n.check,c,A,l)),v-=A,l+=A,T)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===v)break t;for(A=0;T=c[l+A++],n.head&&T&&n.length<65536&&(n.head.comment+=String.fromCharCode(T)),T&&A<v;);if(512&n.flags&&(n.check=o(n.check,c,A,l)),v-=A,l+=A,T)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;m<16;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(y!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}m=y=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===v)break t;v--,y+=c[l++]<<m,m+=8}t.adler=n.check=f(y),m=y=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=d,t.avail_out=b,t.next_in=l,t.avail_in=v,n.hold=y,n.bits=m,2;t.adler=n.check=1,n.mode=12;case 12:if(5===r||6===r)break t;case 13:if(n.last){y>>>=7&m,m-=7&m,n.mode=27;break}for(;m<3;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}switch(n.last=1&y,m-=1,3&(y>>>=1)){case 0:n.mode=14;break;case 1:if(p(n),n.mode=20,6!==r)break;y>>>=2,m-=2;break t;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}y>>>=2,m-=2;break;case 14:for(y>>>=7&m,m-=7&m;m<32;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if((65535&y)!=(y>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&y,m=y=0,n.mode=15,6===r)break t;case 15:n.mode=16;case 16:if(A=n.length){if(v<A&&(A=v),b<A&&(A=b),0===A)break t;i.arraySet(h,c,l,A,d),v-=A,l+=A,b-=A,d+=A,n.length-=A;break}n.mode=12;break;case 17:for(;m<14;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(n.nlen=257+(31&y),m-=5,n.ndist=1+(31&(y>>>=5)),m-=5,n.ncode=4+(15&(y>>>=5)),y>>>=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===v)break t;v--,y+=c[l++]<<m,m+=8}n.lens[x[n.have++]]=7&y,y>>>=3,m-=3}for(;n.have<19;)n.lens[x[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,R=u(0,n.lens,0,19,n.lencode,0,n.work,F={bits:n.lenbits}),n.lenbits=F.bits,R){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(;E=(_=n.lencode[y&(1<<n.lenbits)-1])>>>16&255,U=65535&_,!((O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(U<16)y>>>=O,m-=O,n.lens[n.have++]=U;else{if(16===U){for(B=O+2;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(y>>>=O,m-=O,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}T=n.lens[n.have-1],A=3+(3&y),y>>>=2,m-=2}else if(17===U){for(B=O+3;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}m-=O,T=0,A=3+(7&(y>>>=O)),y>>>=3,m-=3}else{for(B=O+7;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}m-=O,T=0,A=11+(127&(y>>>=O)),y>>>=7,m-=7}if(n.have+A>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;A--;)n.lens[n.have++]=T}}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,R=u(1,n.lens,0,n.nlen,n.lencode,0,n.work,F={bits:n.lenbits}),n.lenbits=F.bits,R){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,R=u(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,F={bits:n.distbits}),n.distbits=F.bits,R){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===r)break t;case 20:n.mode=21;case 21:if(6<=v&&258<=b){t.next_out=d,t.avail_out=b,t.next_in=l,t.avail_in=v,n.hold=y,n.bits=m,s(t,g),d=t.next_out,h=t.output,b=t.avail_out,l=t.next_in,c=t.input,v=t.avail_in,y=n.hold,m=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;E=(_=n.lencode[y&(1<<n.lenbits)-1])>>>16&255,U=65535&_,!((O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(E&&0==(240&E)){for(I=O,z=E,C=U;E=(_=n.lencode[C+((y&(1<<I+z)-1)>>I)])>>>16&255,U=65535&_,!(I+(O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}y>>>=I,m-=I,n.back+=I}if(y>>>=O,m-=O,n.back+=O,n.length=U,0===E){n.mode=26;break}if(32&E){n.back=-1,n.mode=12;break}if(64&E){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&E,n.mode=22;case 22:if(n.extra){for(B=n.extra;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.length+=y&(1<<n.extra)-1,y>>>=n.extra,m-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;E=(_=n.distcode[y&(1<<n.distbits)-1])>>>16&255,U=65535&_,!((O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(0==(240&E)){for(I=O,z=E,C=U;E=(_=n.distcode[C+((y&(1<<I+z)-1)>>I)])>>>16&255,U=65535&_,!(I+(O=_>>>24)<=m);){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}y>>>=I,m-=I,n.back+=I}if(y>>>=O,m-=O,n.back+=O,64&E){t.msg="invalid distance code",n.mode=30;break}n.offset=U,n.extra=15&E,n.mode=24;case 24:if(n.extra){for(B=n.extra;m<B;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}n.offset+=y&(1<<n.extra)-1,y>>>=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===b)break t;if(n.offset>(A=g-b)){if((A=n.offset-A)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}S=A>n.wnext?n.wsize-(A-=n.wnext):n.wnext-A,A>n.length&&(A=n.length),j=n.window}else j=h,S=d-n.offset,A=n.length;for(b<A&&(A=b),b-=A,n.length-=A;h[d++]=j[S++],--A;);0===n.length&&(n.mode=21);break;case 26:if(0===b)break t;h[d++]=n.length,b--,n.mode=21;break;case 27:if(n.wrap){for(;m<32;){if(0===v)break t;v--,y|=c[l++]<<m,m+=8}if(t.total_out+=g-=b,n.total+=g,g&&(t.adler=n.check=n.flags?o(n.check,h,g,d-g):e(n.check,h,g,d-g)),g=b,(n.flags?y:f(y))!==n.check){t.msg="incorrect data check",n.mode=30;break}m=y=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;m<32;){if(0===v)break t;v--,y+=c[l++]<<m,m+=8}if(y!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=30;break}m=y=0}n.mode=29;case 29:R=1;break t;case 30:R=-3;break t;case 31:return-4;default:return a}return t.next_out=d,t.avail_out=b,t.next_in=l,t.avail_in=v,n.hold=y,n.bits=m,(n.wsize||g!==t.avail_out&&n.mode<30&&(n.mode<27||4!==r))&&w(t,t.output,t.next_out,g-t.avail_out)?(n.mode=31,-4):(g-=t.avail_out,t.total_in+=k-=t.avail_in,t.total_out+=g,n.total+=g,n.wrap&&g&&(t.adler=n.check=n.flags?o(n.check,h,g,t.next_out-g):e(n.check,h,g,t.next_out-g)),t.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==k&&0===g||4===r)&&0===R&&(R=-5),R)},n.inflateEnd=function(t){if(!t||!t.state)return a;var r=t.state;return r.window&&(r.window=null),t.state=null,0},n.inflateGetHeader=function(t,r){var n;return t&&t.state?0==(2&(n=t.state).wrap)?a:((n.head=r).done=!1,0):a},n.inflateSetDictionary=function(t,r){var n,i=r.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?a:11===n.mode&&e(1,r,i,0)!==n.check?-3:w(t,r,i,i)?(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,r){var n=t("../utils/common"),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],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];r.exports=function(t,r,u,a,f,c,h,l){var d,v,b,y,m,p,w,k,g,A=l.bits,S=0,j=0,O=0,E=0,U=0,I=0,z=0,C=0,T=0,R=0,F=null,B=0,_=new n.Buf16(16),D=new n.Buf16(16),x=null,N=0;for(S=0;S<=15;S++)_[S]=0;for(j=0;j<a;j++)_[r[u+j]]++;for(U=A,E=15;1<=E&&0===_[E];E--);if(E<U&&(U=E),0===E)return f[c++]=20971520,f[c++]=20971520,l.bits=1,0;for(O=1;O<E&&0===_[O];O++);for(U<O&&(U=O),S=C=1;S<=15;S++)if(C<<=1,(C-=_[S])<0)return-1;if(0<C&&(0===t||1!==E))return-1;for(D[1]=0,S=1;S<15;S++)D[S+1]=D[S]+_[S];for(j=0;j<a;j++)0!==r[u+j]&&(h[D[r[u+j]]++]=j);if(p=0===t?(F=x=h,19):1===t?(F=i,B-=257,x=e,N-=257,256):(F=o,x=s,-1),S=O,m=c,z=j=R=0,b=-1,y=(T=1<<(I=U))-1,1===t&&852<T||2===t&&592<T)return 1;for(;;){for(w=S-z,g=h[j]<p?(k=0,h[j]):h[j]>p?(k=x[N+h[j]],F[B+h[j]]):(k=96,0),d=1<<S-z,O=v=1<<I;f[m+(R>>z)+(v-=d)]=w<<24|k<<16|g|0,0!==v;);for(d=1<<S-1;R&d;)d>>=1;if(0!==d?(R&=d-1,R+=d):R=0,j++,0==--_[S]){if(S===E)break;S=r[u+h[j]]}if(U<S&&(R&y)!==b){for(0===z&&(z=U),m+=O,C=1<<(I=S-z);I+z<E&&!((C-=_[I+z])<=0);)I++,C<<=1;if(T+=1<<I,1===t&&852<T||2===t&&592<T)return 1;f[b=R&y]=U<<24|I<<16|m-c|0}}return 0!==R&&(f[m+R]=S-z<<24|64<<16|0),l.bits=U,0}},{"../utils/common":41}],51:[function(t,r){r.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,r,n){var i=t("../utils/common");function e(t){for(var r=t.length;0<=--r;)t[r]=0}var o=256,s=286,u=30,a=15,f=[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],c=[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],h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],l=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],d=new Array(576);e(d);var v=new Array(60);e(v);var b=new Array(512);e(b);var y=new Array(256);e(y);var m=new Array(29);e(m);var p,w,k,g=new Array(u);function A(t,r,n,i,e){this.static_tree=t,this.extra_bits=r,this.extra_base=n,this.elems=i,this.max_length=e,this.has_stree=t&&t.length}function S(t,r){this.dyn_tree=t,this.max_code=0,this.stat_desc=r}function j(t){return t<256?b[t]:b[256+(t>>>7)]}function O(t,r){t.pending_buf[t.pending++]=255&r,t.pending_buf[t.pending++]=r>>>8&255}function E(t,r,n){t.bi_valid>16-n?(t.bi_buf|=r<<t.bi_valid&65535,O(t,t.bi_buf),t.bi_buf=r>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=r<<t.bi_valid&65535,t.bi_valid+=n)}function U(t,r,n){E(t,n[2*r],n[2*r+1])}function I(t,r){for(var n=0;n|=1&t,t>>>=1,n<<=1,0<--r;);return n>>>1}function z(t,r,n){var i,e,o=new Array(16),s=0;for(i=1;i<=a;i++)o[i]=s=s+n[i-1]<<1;for(e=0;e<=r;e++){var u=t[2*e+1];0!==u&&(t[2*e]=I(o[u]++,u))}}function C(t){var r;for(r=0;r<s;r++)t.dyn_ltree[2*r]=0;for(r=0;r<u;r++)t.dyn_dtree[2*r]=0;for(r=0;r<19;r++)t.bl_tree[2*r]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function T(t){8<t.bi_valid?O(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 R(t,r,n,i){var e=2*r,o=2*n;return t[e]<t[o]||t[e]===t[o]&&i[r]<=i[n]}function F(t,r,n){for(var i=t.heap[n],e=n<<1;e<=t.heap_len&&(e<t.heap_len&&R(r,t.heap[e+1],t.heap[e],t.depth)&&e++,!R(r,i,t.heap[e],t.depth));)t.heap[n]=t.heap[e],n=e,e<<=1;t.heap[n]=i}function B(t,r,n){var i,e,s,u,a=0;if(0!==t.last_lit)for(;i=t.pending_buf[t.d_buf+2*a]<<8|t.pending_buf[t.d_buf+2*a+1],e=t.pending_buf[t.l_buf+a],a++,0===i?U(t,e,r):(U(t,(s=y[e])+o+1,r),0!==(u=f[s])&&E(t,e-=m[s],u),U(t,s=j(--i),n),0!==(u=c[s])&&E(t,i-=g[s],u)),a<t.last_lit;);U(t,256,r)}function _(t,r){var n,i,e,o=r.dyn_tree,s=r.stat_desc.static_tree,u=r.stat_desc.has_stree,f=r.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<f;n++)0!==o[2*n]?(t.heap[++t.heap_len]=c=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)o[2*(e=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[e]=0,t.opt_len--,u&&(t.static_len-=s[2*e+1]);for(r.max_code=c,n=t.heap_len>>1;1<=n;n--)F(t,o,n);for(e=f;n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],F(t,o,1),i=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=i,o[2*e]=o[2*n]+o[2*i],t.depth[e]=(t.depth[n]>=t.depth[i]?t.depth[n]:t.depth[i])+1,o[2*n+1]=o[2*i+1]=e,t.heap[1]=e++,F(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,r){var n,i,e,o,s,u,f=r.dyn_tree,c=r.max_code,h=r.stat_desc.static_tree,l=r.stat_desc.has_stree,d=r.stat_desc.extra_bits,v=r.stat_desc.extra_base,b=r.stat_desc.max_length,y=0;for(o=0;o<=a;o++)t.bl_count[o]=0;for(f[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)b<(o=f[2*f[2*(i=t.heap[n])+1]+1]+1)&&(o=b,y++),f[2*i+1]=o,c<i||(t.bl_count[o]++,s=0,v<=i&&(s=d[i-v]),t.opt_len+=(u=f[2*i])*(o+s),l&&(t.static_len+=u*(h[2*i+1]+s)));if(0!==y){do{for(o=b-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[b]--,y-=2}while(0<y);for(o=b;0!==o;o--)for(i=t.bl_count[o];0!==i;)c<(e=t.heap[--n])||(f[2*e+1]!==o&&(t.opt_len+=(o-f[2*e+1])*f[2*e],f[2*e+1]=o),i--)}}(t,r),z(o,c,t.bl_count)}function D(t,r,n){var i,e,o=-1,s=r[1],u=0,a=7,f=4;for(0===s&&(a=138,f=3),r[2*(n+1)+1]=65535,i=0;i<=n;i++)e=s,s=r[2*(i+1)+1],++u<a&&e===s||(u<f?t.bl_tree[2*e]+=u:0!==e?(e!==o&&t.bl_tree[2*e]++,t.bl_tree[32]++):u<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=e,f=(u=0)===s?(a=138,3):e===s?(a=6,3):(a=7,4))}function x(t,r,n){var i,e,o=-1,s=r[1],u=0,a=7,f=4;for(0===s&&(a=138,f=3),i=0;i<=n;i++)if(e=s,s=r[2*(i+1)+1],!(++u<a&&e===s)){if(u<f)for(;U(t,e,t.bl_tree),0!=--u;);else 0!==e?(e!==o&&(U(t,e,t.bl_tree),u--),U(t,16,t.bl_tree),E(t,u-3,2)):u<=10?(U(t,17,t.bl_tree),E(t,u-3,3)):(U(t,18,t.bl_tree),E(t,u-11,7));o=e,f=(u=0)===s?(a=138,3):e===s?(a=6,3):(a=7,4)}}e(g);var N=!1;function W(t,r,n,e){E(t,0+(e?1:0),3),function(t,r,n){T(t),O(t,n),O(t,~n),i.arraySet(t.pending_buf,t.window,r,n,t.pending),t.pending+=n}(t,r,n)}n._tr_init=function(t){N||(function(){var t,r,n,i,e,o=new Array(16);for(i=n=0;i<28;i++)for(m[i]=n,t=0;t<1<<f[i];t++)y[n++]=i;for(y[n-1]=i,i=e=0;i<16;i++)for(g[i]=e,t=0;t<1<<c[i];t++)b[e++]=i;for(e>>=7;i<u;i++)for(g[i]=e<<7,t=0;t<1<<c[i]-7;t++)b[256+e++]=i;for(r=0;r<=a;r++)o[r]=0;for(t=0;t<=143;)d[2*t+1]=8,t++,o[8]++;for(;t<=255;)d[2*t+1]=9,t++,o[9]++;for(;t<=279;)d[2*t+1]=7,t++,o[7]++;for(;t<=287;)d[2*t+1]=8,t++,o[8]++;for(z(d,287,o),t=0;t<u;t++)v[2*t+1]=5,v[2*t]=I(t,5);p=new A(d,f,257,s,a),w=new A(v,c,0,u,a),k=new A(new Array(0),h,0,19,7)}(),N=!0),t.l_desc=new S(t.dyn_ltree,p),t.d_desc=new S(t.dyn_dtree,w),t.bl_desc=new S(t.bl_tree,k),t.bi_buf=0,t.bi_valid=0,C(t)},n._tr_stored_block=W,n._tr_flush_block=function(t,r,n,i){var e,s,u=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var r,n=4093624447;for(r=0;r<=31;r++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*r])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(r=32;r<o;r++)if(0!==t.dyn_ltree[2*r])return 1;return 0}(t)),_(t,t.l_desc),_(t,t.d_desc),u=function(t){var r;for(D(t,t.dyn_ltree,t.l_desc.max_code),D(t,t.dyn_dtree,t.d_desc.max_code),_(t,t.bl_desc),r=18;3<=r&&0===t.bl_tree[2*l[r]+1];r--);return t.opt_len+=3*(r+1)+5+5+4,r}(t),(s=t.static_len+3+7>>>3)<=(e=t.opt_len+3+7>>>3)&&(e=s)):e=s=n+5,n+4<=e&&-1!==r?W(t,r,n,i):4===t.strategy||s===e?(E(t,2+(i?1:0),3),B(t,d,v)):(E(t,4+(i?1:0),3),function(t,r,n,i){var e;for(E(t,r-257,5),E(t,n-1,5),E(t,i-4,4),e=0;e<i;e++)E(t,t.bl_tree[2*l[e]+1],3);x(t,t.dyn_ltree,r-1),x(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,u+1),B(t,t.dyn_ltree,t.dyn_dtree)),C(t),i&&T(t)},n._tr_tally=function(t,r,n){return t.pending_buf[t.d_buf+2*t.last_lit]=r>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&r,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===r?t.dyn_ltree[2*n]++:(t.matches++,r--,t.dyn_ltree[2*(y[n]+o+1)]++,t.dyn_dtree[2*j(r)]++),t.last_lit===t.lit_bufsize-1},n._tr_align=function(t){E(t,2,3),U(t,256,d),function(t){16===t.bi_valid?(O(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":41}],53:[function(t,r){r.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,r){r.exports="function"==typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},{}]},{},[10])(10)}));function o(t){return e.loadAsync(t).then((function(t){var r=[];t.forEach((function(t,n){n.dir||r.push(n.name)}));var n={};return Promise.all(r.map((function(r){return t.file(r).async("string").then((function(t){return n[r]=t}))}))).then((function(){return n}))}))}function s(t,r){for(var n=0;n<t.childNodes.length;){var i=t.childNodes[n];if(1===i.nodeType&&c(i)===r)return i;n++}}function u(t,r){for(var n=[],i=0;i<t.childNodes.length;){var e=t.childNodes[i];1===e.nodeType&&c(e)===r&&n.push(e),i++}return n}function a(t,r,n){for(var i=0;i<t.childNodes.length;){var e=t.childNodes[i];r?1===e.nodeType&&c(e)===r&&n(e,i):n(e,i),i++}}var f=/.+\:/;function c(t){return t.tagName.replace(f,"")}function h(t,r){var n,i=r.createDocument(t),e={},o=s(i.documentElement,"workbookPr");return o&&"1"===o.getAttribute("date1904")&&(e.epoch1904=!0),e.sheets=[],(n=i,u(s(n.documentElement,"sheets"),"sheet")).forEach((function(t){t.getAttribute("name")&&e.sheets.push({id:t.getAttribute("sheetId"),name:t.getAttribute("name"),relationId:t.getAttribute("r:id")})})),e}function l(t,r){var n=r.createDocument(t),i={sheets:{},sharedStrings:void 0,styles:void 0};return function(t){return u(t.documentElement,"Relationship")}(n).forEach((function(t){var r=t.getAttribute("Target");switch(t.getAttribute("Type")){case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles":i.styles=d(r);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings":i.sharedStrings=d(r);break;case"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet":i.sheets[t.getAttribute("Id")]=d(r)}})),i}function d(t){return"/"===t[0]?t.slice("/".length):"xl/"+t}function v(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,i)}return n}function b(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?v(Object(n),!0).forEach((function(r){y(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function y(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function m(t,r){if(!t)return{};var n,i,e=r.createDocument(t),o=(n=e,i=s(n.documentElement,"cellStyleXfs"),i?u(i,"xf"):[]).map(w),a=function(t){var r=s(t.documentElement,"numFmts");return r?u(r,"numFmt"):[]}(e).map(p).reduce((function(t,r){return t[r.id]=r,t}),[]);return function(t){var r=s(t.documentElement,"cellXfs");return r?u(r,"xf"):[]}(e).map((function(t){return t.hasAttribute("xfId")?b(b({},o[t.xfId]),w(t,a)):w(t,a)}))}function p(t){return{id:t.getAttribute("numFmtId"),template:t.getAttribute("formatCode")}}function w(t,r){var n={};if(t.hasAttribute("numFmtId")){var i=t.getAttribute("numFmtId");n.numberFormat=r[i]?r[i]:{id:i}}return n}function k(t,r){return t?(n=r.createDocument(t),i=function(t){var r=s(t,"t");if(r)return r.textContent;var n="";return a(t,"r",(function(t){n+=s(t,"t").textContent})),n},e=[],a(n.documentElement,"si",(function(t){e.push(i(t))})),e):[];var n,i,e}function g(t,r){return r&&r.epoch1904&&(t+=1462),new Date(Math.round(24*(t-25569)*36e5))}function A(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}var S=[14,15,16,17,18,19,20,21,22,27,30,36,45,46,47,50,57];function j(t,r,n){var i=n.getInlineStringValue,e=n.getStyleId,o=n.styles,s=n.values,u=n.properties,a=n.options;switch(r||(r="n"),r){case"str":""===(t=t.trim())&&(t=void 0);break;case"inlineStr":if(void 0===(t=i()))throw new Error('Unsupported "inline string" cell value structure');""===(t=t.trim())&&(t=void 0);break;case"s":""===(t=(t=s[parseInt(t)]).trim())&&(t=void 0);break;case"b":t="1"===t;break;case"z":t=void 0;break;case"e":t=function(t){switch(t){case 0:return"#NULL!";case 7:return"#DIV/0!";case 15:return"#VALUE!";case 23:return"#REF!";case 29:return"#NAME?";case 36:return"#NUM!";case 42:return"#N/A";case 43:return"#GETTING_DATA";default:return"#ERROR_".concat(t)}}(t);break;case"d":if(void 0===t)break;t=new Date(t);break;case"n":if(void 0===t)break;t=parseFloat(t);var f=e();if(f){var c=o[f];if(!c)throw new Error("Cell style not found: ".concat(f));(S.indexOf(parseInt(c.numberFormat.id))>=0||a.dateFormat&&c.numberFormat.template===a.dateFormat||!1!==a.smartDateParser&&c.numberFormat.template&&function(t){for(var r,n=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return A(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}((t=t.toLowerCase()).split(/\W+/));!(r=n()).done;)if(O.indexOf(r.value)<0)return!1;return!0}(c.numberFormat.template))&&(t=g(t,u))}break;default:throw new TypeError("Cell type not supported: ".concat(r))}return void 0===t&&(t=null),t}var O=["ss","mm","h","hh","am","pm","d","dd","m","mm","mmm","mmmm","yy","yyyy"],E=["","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function U(t){for(var r=0,n=0;n<t.length;)r*=26,r+=E.indexOf(t[n]),n++;return r}function I(t){return t=t.split(/(\d+)/),[parseInt(t[1]),U(t[0].trim())]}function z(t,r,n,i,e,o){var u=function(t){var r=s(t.documentElement,"sheetData"),n=[];return a(r,"row",(function(t){a(t,"c",(function(t){n.push(t)}))})),n}(t);return 0===u.length?[]:u.map((function(t){return function(t,r,n,i,e,o,u){var a,f=I(t.getAttribute("r")),h=function(t,r){return s(r,"v")}(0,t),l=h&&h.textContent;return t.hasAttribute("t")&&(a=t.getAttribute("t")),{row:f[0],column:f[1],value:j(l,a,{getInlineStringValue:function(){return function(t,r){if(r.firstChild&&"is"===c(r.firstChild)&&r.firstChild.firstChild&&"t"===c(r.firstChild.firstChild))return r.firstChild.firstChild.textContent}(0,t)},getStyleId:function(){return t.getAttribute("s")},styles:e,values:i,properties:o,options:u})}}(t,0,0,n,i,e,o)}))}function C(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function T(t){var r=function(t){var r=s(t.documentElement,"dimension");if(r)return r.getAttribute("ref")}(t);if(r)return 1===(r=r.split(":").map(I).map((function(t){var r,n,i=(n=2,function(t){if(Array.isArray(t))return t}(r=t)||function(t,r){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var i,e,o=[],s=!0,u=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!r||o.length!==r);s=!0);}catch(a){u=!0,e=a}finally{try{s||null==n.return||n.return()}finally{if(u)throw e}}return o}}(r,n)||function(t,r){if(t){if("string"==typeof t)return C(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(t,r):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return{row:i[0],column:i[1]}}))).length&&(r=[r[0],r[0]]),r}function R(t,r,n,i,e,o){var s=r.createDocument(t),u=z(s,0,n,i,e,o),a=T(s)||function(t){var r=function(t,r){return t-r},n=t.map((function(t){return t.row})).sort(r),i=t.map((function(t){return t.column})).sort(r);return[{row:n[0],column:i[0]},{row:n[n.length-1],column:i[i.length-1]}]}(u);return{cells:u,dimensions:a}}function F(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return B(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function _(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return D(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function D(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function x(t,r){if(t){if("string"==typeof t)return N(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?N(t,r):void 0}}function N(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function W(t,r){var n=t.cells;if(0===n.length)return[];for(var i=function(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var i,e,o=[],s=!0,u=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!r||o.length!==r);s=!0);}catch(a){u=!0,e=a}finally{try{s||null==n.return||n.return()}finally{if(u)throw e}}return o}}(t,r)||x(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.dimensions,2)[1],e=i.column,o=i.row,s=new Array(o),u=0;u<o;){s[u]=new Array(e);for(var a=0;a<e;)s[u][a]=null,a++;u++}for(var f,c=function(t){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=x(t))){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(f=c()).done;){var h=f.value,l=h.row-1,d=h.column-1;d<e&&l<o&&(s[l][d]=h.value)}var v=r.rowMap;if(v)for(var b=0;b<s.length;)v[b]=b,b++;return s=function(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.rowMap,i=r.accessor,e=void 0===i?function(t){return t}:i,o=r.onlyTrimAtTheEnd,s=t.length-1;s>=0;){for(var u,a=!0,f=F(t[s]);!(u=f()).done;)if(null!==e(u.value)){a=!1;break}if(a)t.splice(s,1),n&&n.splice(s,1);else if(o)break;s--}return t}(function(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.accessor,i=void 0===n?function(t){return t}:n,e=r.onlyTrimAtTheEnd,o=t[0].length-1;o>=0;){for(var s,u=!0,a=_(t);!(s=a()).done;)if(null!==i(s.value[o])){u=!1;break}if(u)for(var f=0;f<t.length;)t[f].splice(o,1),f++;else if(e)break;o--}return t}(s,{onlyTrimAtTheEnd:!0}),{onlyTrimAtTheEnd:!0,rowMap:v}),r.transformData&&(s=r.transformData(s)),s}function Z(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function P(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,i)}return n}function G(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?P(Object(n),!0).forEach((function(r){L(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function L(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function M(t,r){if("number"==typeof t){var n=r[t-1];return n&&n.relationId}for(var i,e=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return Z(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r);!(i=e()).done;){var o=i.value;if(o.name===t)return o.relationId}}function H(t,r){var n=r&&r.map((function(t,r){return'"'.concat(t.name,'" (#').concat(r+1,")")})).join(", ");return new Error("Sheet ".concat("number"==typeof t?"#"+t:'"'+t+'"'," not found in the *.xlsx file.").concat(r?" Available sheets: "+n+".":""))}function K(){}function J(){}var $=/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)*(?:[a-z\u00a1-\uffff]{2,}))(?::\d{2,5})?(?:[/?#]\S*)?$/i;function X(){}var Y=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i;function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function q(t,r){if(t){if("string"==typeof t)return Q(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(t,r):void 0}}function Q(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,i=new Array(r);n<r;n++)i[n]=t[n];return i}function tt(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,i)}return n}function rt(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?tt(Object(n),!0).forEach((function(r){nt(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tt(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function nt(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var it={isColumnOriented:!1};function et(t,r,n,i,e,o){for(var s={},u=function(){var u=f[a],c=t[u],h="object"===V(c.type)&&!Array.isArray(c.type),l=r[i.indexOf(u)];void 0===l&&(l=null);var d=void 0,v=void 0;if(h)d=et(c.type,r,n,i,e,o);else if(null===l)d=null;else if(Array.isArray(c.type)){var b=!1,y=function(t){for(var r,n,i=[],e=0;e<t.length;){var o=(r=ut(t,",",e),n=2,function(t){if(Array.isArray(t))return t}(r)||function(t,r){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var i,e,o=[],s=!0,u=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!r||o.length!==r);s=!0);}catch(a){u=!0,e=a}finally{try{s||null==n.return||n.return()}finally{if(u)throw e}}return o}}(r,n)||q(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());e+=o[1]+",".length,i.push(o[0].trim())}return i}(l).map((function(t){var r=ot(t,c,o);return r.error&&(d=t,v=r.error),null!==r.value&&(b=!0),r.value}));v||(d=b?y:null)}else{var m=ot(l,c,o);d=(v=m.error)?l:m.value}!v&&null===d&&c.required&&(v="required"),v?(v={error:v,row:n+1,column:u,value:d},c.type&&(v.type=c.type),e.push(v)):null!==d&&(s[c.prop]=d)},a=0,f=Object.keys(t);a<f.length;a++)u();return Object.keys(s).length>0?s:null}function ot(t,r,n){if(null===t)return{value:null};var i;if(i=r.parse?st(t,r.parse):r.type?function(t,r,n){switch(r){case String:return"string"==typeof t?{value:t}:"number"==typeof t&&isFinite(t)?{value:String(t)}:{error:"invalid"};case Number:case K:if("string"==typeof t){var i=t;if(t=parseFloat(t),String(t)!==i)return{error:"invalid"}}else if("number"!=typeof t)return{error:"invalid"};return isFinite(t)?r===K&&(0|(o=t))!==o?{error:"invalid"}:{value:t}:{error:"invalid"};case J:return"string"==typeof t&&function(t){return $.test(t)}(t)?{value:t}:{error:"invalid"};case X:return"string"==typeof t&&function(t){return Y.test(t)}(t)?{value:t}:{error:"invalid"};case Date:if(t instanceof Date)return{value:t};if("number"==typeof t){if(!isFinite(t))return{error:"invalid"};var e=g(t=parseInt(t),n.properties);return e?{value:e}:{error:"invalid"}}return{error:"invalid"};case Boolean:return"boolean"==typeof t?{value:t}:{error:"invalid"};default:if("function"==typeof r)return st(t,r);throw new Error("Unknown schema type: ".concat(r&&r.name||r))}var o}(t,Array.isArray(r.type)?r.type[0]:r.type,n):{value:t},i.error)return i;if(null!==i.value){if(r.oneOf&&r.oneOf.indexOf(i.value)<0)return{error:"invalid"};if(r.validate)try{r.validate(i.value)}catch(e){return{error:e.message}}}return i}function st(t,r){try{return void 0===(t=r(t))?{value:null}:{value:t}}catch(n){return{error:n.message}}}function ut(t,r,n){for(var i=0,e="";n+i<t.length;){var o=t[n+i];if(o===r)return[e,i];if('"'===o){var s=ut(t,'"',n+i+1);e+=s[0],i+='"'.length+s[1]+'"'.length}else e+=o,i++}return[e,i]}var at=function(t){return t[0].map((function(r,n){return t.map((function(t){return t[n]}))}))};function ft(t){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(t)}function ct(t){for(var r={},n=0,i=Object.keys(t);n<i.length;n++){var e=i[n],o=t[e],s=void 0;"object"===ft(o)&&(o=Object.keys(t[e])[0],s=ct(t[e][o])),r[e]={prop:o},s&&(r[e].type=s)}return r}var ht=["schema","map"];function lt(t,r){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);r&&(i=i.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),n.push.apply(n,i)}return n}function dt(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?lt(Object(n),!0).forEach((function(r){vt(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function vt(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function bt(t,r,n){var i=n.schema,e=n.map,o=function(t,r){if(null==t)return{};var n,i,e=function(t,r){if(null==t)return{};var n,i,e={},o=Object.keys(t);for(i=0;i<o.length;i++)r.indexOf(n=o[i])>=0||(e[n]=t[n]);return e}(t,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)r.indexOf(n=o[i])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(e[n]=t[n])}return e}(n,ht);!i&&e&&(i=ct(e));var s=function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.sheet||(n=G({sheet:1},n));var i=function(r){if(!t[r])throw new Error('"'.concat(r,'" file not found inside the *.xlsx file zip archive'));return t[r]},e=l(i("xl/_rels/workbook.xml.rels"),r),o=e.sharedStrings?k(i(e.sharedStrings),r):[],s=e.styles?m(i(e.styles),r):{},u=h(i("xl/workbook.xml"),r);if(n.getSheets)return u.sheets.map((function(t){return{name:t.name}}));var a=M(n.sheet,u.sheets);if(!a||!e.sheets[a])throw H(n.sheet,u.sheets);var f=R(i(e.sheets[a]),r,o,s,u,n),c=W(f,n);return n.properties?{data:c,properties:u}:c}(t,r,dt(dt({},o),{},{properties:i||o.properties}));return i?function(t,r,n){var i=(n=n?rt(rt({},it),n):it).isColumnOriented,e=n.rowMap;!function(t){for(var r=0,n=Object.keys(t);r<n.length;r++){var i=n[r];if(!t[i].prop)throw new Error('"prop" not defined for schema entry "'.concat(i,'".'))}}(r),i&&(t=at(t));for(var o=t[0],s=[],u=[],a=1;a<t.length;a++){var f=et(r,t[a],a-1,o,u,n);f&&s.push(f)}if(e)for(var c,h=function(t){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=q(t))){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(u);!(c=h()).done;){var l=c.value;l.row=e[l.row]+1}return{rows:s,errors:u}}(s.data,i,dt(dt({},o),{},{properties:s.properties})):s}function yt(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(t).then((function(t){return bt(t,i,r)}))}async function mt(t,r=["what","deliveryscope"]){const n=t=>t.toLowerCase().replace(/\s+/g,""),i=await yt(t,{getSheets:!0});let e=[],o=await Promise.all(i.map((async r=>await yt(t,{sheet:r.name})))),s={};return o.forEach((t=>{const i=t.shift().map((t=>n(t)));i.forEach((t=>{void 0===s[t]&&r.includes(t)&&(s[t]=[])})),t.forEach((t=>{const o={};i.forEach((async(i,e)=>{const u=t[e];if(o[i]=u,r.includes(i)){const t=n(u);o[i]=t,s[i].includes(t)||s[i].push(t)}})),e.push(o)}))})),{types:s,data:e}}async function pt(t,r=["sizecategory"]){const n=t=>t.toLowerCase().replace(/\s+/g,""),i=await yt(t,{getSheets:!0});let e,o=[],s=await Promise.all(i.map((async r=>await yt(t,{sheet:r.name})))),u={};return s.forEach((t=>{const i=t.shift().map((t=>n(t)));i.forEach(((t,n)=>{void 0===u[t]&&r.includes(t)&&(u[t]=[]),"sizecategory"===t&&(e=n)})),t.forEach((t=>{t[e].split("/").forEach((s=>{const a={};i.forEach((async(i,o)=>{const f=o===e?s:t[o];if(a[i]=f,r.includes(i)){const t=n(f);a[i]=t,u[i].includes(t)||u[i].push(t)}})),o.push(a)}))}))})),{types:u,data:o}}export{mt as a,pt as c}